1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libdiscid 0.6.2. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='libdiscid' 589PACKAGE_TARNAME='libdiscid' 590PACKAGE_VERSION='0.6.2' 591PACKAGE_STRING='libdiscid 0.6.2' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595ac_unique_file="src/disc.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_MUSICBRAINZ5_FALSE 637HAVE_MUSICBRAINZ5_TRUE 638RUN_TESTS_FALSE 639RUN_TESTS_TRUE 640RC 641CPP 642LT_SYS_LIBRARY_PATH 643OTOOL64 644OTOOL 645LIPO 646NMEDIT 647DSYMUTIL 648MANIFEST_TOOL 649RANLIB 650LN_S 651NM 652ac_ct_DUMPBIN 653DUMPBIN 654LD 655FGREP 656EGREP 657GREP 658SED 659LIBTOOL 660OBJDUMP 661DLLTOOL 662AS 663OS_WIN32_FALSE 664OS_WIN32_TRUE 665OS_SOLARIS_FALSE 666OS_SOLARIS_TRUE 667OS_NETBSD_FALSE 668OS_NETBSD_TRUE 669OS_LINUX_FALSE 670OS_LINUX_TRUE 671OS_GENERIC_FALSE 672OS_GENERIC_TRUE 673OS_FREEBSD_FALSE 674OS_FREEBSD_TRUE 675OS_DARWIN_FALSE 676OS_DARWIN_TRUE 677host_os 678host_vendor 679host_cpu 680host 681build_os 682build_vendor 683build_cpu 684build 685libdiscid_PATCH 686libdiscid_MINOR 687libdiscid_MAJOR 688libdiscid_VERSION_NUM 689libdiscid_VERSION_RC 690libdiscid_VERSION_LT 691am__fastdepCC_FALSE 692am__fastdepCC_TRUE 693CCDEPMODE 694am__nodep 695AMDEPBACKSLASH 696AMDEP_FALSE 697AMDEP_TRUE 698am__quote 699am__include 700DEPDIR 701OBJEXT 702EXEEXT 703ac_ct_CC 704CPPFLAGS 705LDFLAGS 706CFLAGS 707CC 708ac_ct_AR 709AR 710AM_BACKSLASH 711AM_DEFAULT_VERBOSITY 712AM_DEFAULT_V 713AM_V 714am__untar 715am__tar 716AMTAR 717am__leading_dot 718SET_MAKE 719AWK 720mkdir_p 721MKDIR_P 722INSTALL_STRIP_PROGRAM 723STRIP 724install_sh 725MAKEINFO 726AUTOHEADER 727AUTOMAKE 728AUTOCONF 729ACLOCAL 730VERSION 731PACKAGE 732CYGPATH_W 733am__isrc 734INSTALL_DATA 735INSTALL_SCRIPT 736INSTALL_PROGRAM 737target_alias 738host_alias 739build_alias 740LIBS 741ECHO_T 742ECHO_N 743ECHO_C 744DEFS 745mandir 746localedir 747libdir 748psdir 749pdfdir 750dvidir 751htmldir 752infodir 753docdir 754oldincludedir 755includedir 756localstatedir 757sharedstatedir 758sysconfdir 759datadir 760datarootdir 761libexecdir 762sbindir 763bindir 764program_transform_name 765prefix 766exec_prefix 767PACKAGE_URL 768PACKAGE_BUGREPORT 769PACKAGE_STRING 770PACKAGE_VERSION 771PACKAGE_TARNAME 772PACKAGE_NAME 773PATH_SEPARATOR 774SHELL' 775ac_subst_files='' 776ac_user_opts=' 777enable_option_checking 778enable_silent_rules 779enable_dependency_tracking 780enable_shared 781enable_static 782with_pic 783enable_fast_install 784with_aix_soname 785with_gnu_ld 786with_sysroot 787enable_libtool_lock 788' 789 ac_precious_vars='build_alias 790host_alias 791target_alias 792CC 793CFLAGS 794LDFLAGS 795LIBS 796CPPFLAGS 797LT_SYS_LIBRARY_PATH 798CPP' 799 800 801# Initialize some variables set by options. 802ac_init_help= 803ac_init_version=false 804ac_unrecognized_opts= 805ac_unrecognized_sep= 806# The variables have the same names as the options, with 807# dashes changed to underlines. 808cache_file=/dev/null 809exec_prefix=NONE 810no_create= 811no_recursion= 812prefix=NONE 813program_prefix=NONE 814program_suffix=NONE 815program_transform_name=s,x,x, 816silent= 817site= 818srcdir= 819verbose= 820x_includes=NONE 821x_libraries=NONE 822 823# Installation directory options. 824# These are left unexpanded so users can "make install exec_prefix=/foo" 825# and all the variables that are supposed to be based on exec_prefix 826# by default will actually change. 827# Use braces instead of parens because sh, perl, etc. also accept them. 828# (The list follows the same order as the GNU Coding Standards.) 829bindir='${exec_prefix}/bin' 830sbindir='${exec_prefix}/sbin' 831libexecdir='${exec_prefix}/libexec' 832datarootdir='${prefix}/share' 833datadir='${datarootdir}' 834sysconfdir='${prefix}/etc' 835sharedstatedir='${prefix}/com' 836localstatedir='${prefix}/var' 837includedir='${prefix}/include' 838oldincludedir='/usr/include' 839docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 840infodir='${datarootdir}/info' 841htmldir='${docdir}' 842dvidir='${docdir}' 843pdfdir='${docdir}' 844psdir='${docdir}' 845libdir='${exec_prefix}/lib' 846localedir='${datarootdir}/locale' 847mandir='${datarootdir}/man' 848 849ac_prev= 850ac_dashdash= 851for ac_option 852do 853 # If the previous option needs an argument, assign it. 854 if test -n "$ac_prev"; then 855 eval $ac_prev=\$ac_option 856 ac_prev= 857 continue 858 fi 859 860 case $ac_option in 861 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 862 *=) ac_optarg= ;; 863 *) ac_optarg=yes ;; 864 esac 865 866 # Accept the important Cygnus configure options, so we can diagnose typos. 867 868 case $ac_dashdash$ac_option in 869 --) 870 ac_dashdash=yes ;; 871 872 -bindir | --bindir | --bindi | --bind | --bin | --bi) 873 ac_prev=bindir ;; 874 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 875 bindir=$ac_optarg ;; 876 877 -build | --build | --buil | --bui | --bu) 878 ac_prev=build_alias ;; 879 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 880 build_alias=$ac_optarg ;; 881 882 -cache-file | --cache-file | --cache-fil | --cache-fi \ 883 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 884 ac_prev=cache_file ;; 885 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 886 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 887 cache_file=$ac_optarg ;; 888 889 --config-cache | -C) 890 cache_file=config.cache ;; 891 892 -datadir | --datadir | --datadi | --datad) 893 ac_prev=datadir ;; 894 -datadir=* | --datadir=* | --datadi=* | --datad=*) 895 datadir=$ac_optarg ;; 896 897 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 898 | --dataroo | --dataro | --datar) 899 ac_prev=datarootdir ;; 900 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 901 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 902 datarootdir=$ac_optarg ;; 903 904 -disable-* | --disable-*) 905 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 906 # Reject names that are not valid shell variable names. 907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 908 as_fn_error $? "invalid feature name: $ac_useropt" 909 ac_useropt_orig=$ac_useropt 910 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 911 case $ac_user_opts in 912 *" 913"enable_$ac_useropt" 914"*) ;; 915 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 916 ac_unrecognized_sep=', ';; 917 esac 918 eval enable_$ac_useropt=no ;; 919 920 -docdir | --docdir | --docdi | --doc | --do) 921 ac_prev=docdir ;; 922 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 923 docdir=$ac_optarg ;; 924 925 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 926 ac_prev=dvidir ;; 927 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 928 dvidir=$ac_optarg ;; 929 930 -enable-* | --enable-*) 931 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 932 # Reject names that are not valid shell variable names. 933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 934 as_fn_error $? "invalid feature name: $ac_useropt" 935 ac_useropt_orig=$ac_useropt 936 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 937 case $ac_user_opts in 938 *" 939"enable_$ac_useropt" 940"*) ;; 941 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 942 ac_unrecognized_sep=', ';; 943 esac 944 eval enable_$ac_useropt=\$ac_optarg ;; 945 946 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 947 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 948 | --exec | --exe | --ex) 949 ac_prev=exec_prefix ;; 950 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 951 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 952 | --exec=* | --exe=* | --ex=*) 953 exec_prefix=$ac_optarg ;; 954 955 -gas | --gas | --ga | --g) 956 # Obsolete; use --with-gas. 957 with_gas=yes ;; 958 959 -help | --help | --hel | --he | -h) 960 ac_init_help=long ;; 961 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 962 ac_init_help=recursive ;; 963 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 964 ac_init_help=short ;; 965 966 -host | --host | --hos | --ho) 967 ac_prev=host_alias ;; 968 -host=* | --host=* | --hos=* | --ho=*) 969 host_alias=$ac_optarg ;; 970 971 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 972 ac_prev=htmldir ;; 973 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 974 | --ht=*) 975 htmldir=$ac_optarg ;; 976 977 -includedir | --includedir | --includedi | --included | --include \ 978 | --includ | --inclu | --incl | --inc) 979 ac_prev=includedir ;; 980 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 981 | --includ=* | --inclu=* | --incl=* | --inc=*) 982 includedir=$ac_optarg ;; 983 984 -infodir | --infodir | --infodi | --infod | --info | --inf) 985 ac_prev=infodir ;; 986 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 987 infodir=$ac_optarg ;; 988 989 -libdir | --libdir | --libdi | --libd) 990 ac_prev=libdir ;; 991 -libdir=* | --libdir=* | --libdi=* | --libd=*) 992 libdir=$ac_optarg ;; 993 994 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 995 | --libexe | --libex | --libe) 996 ac_prev=libexecdir ;; 997 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 998 | --libexe=* | --libex=* | --libe=*) 999 libexecdir=$ac_optarg ;; 1000 1001 -localedir | --localedir | --localedi | --localed | --locale) 1002 ac_prev=localedir ;; 1003 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1004 localedir=$ac_optarg ;; 1005 1006 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1007 | --localstate | --localstat | --localsta | --localst | --locals) 1008 ac_prev=localstatedir ;; 1009 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1010 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1011 localstatedir=$ac_optarg ;; 1012 1013 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1014 ac_prev=mandir ;; 1015 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1016 mandir=$ac_optarg ;; 1017 1018 -nfp | --nfp | --nf) 1019 # Obsolete; use --without-fp. 1020 with_fp=no ;; 1021 1022 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1023 | --no-cr | --no-c | -n) 1024 no_create=yes ;; 1025 1026 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1027 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1028 no_recursion=yes ;; 1029 1030 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1031 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1032 | --oldin | --oldi | --old | --ol | --o) 1033 ac_prev=oldincludedir ;; 1034 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1035 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1036 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1037 oldincludedir=$ac_optarg ;; 1038 1039 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1040 ac_prev=prefix ;; 1041 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1042 prefix=$ac_optarg ;; 1043 1044 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1045 | --program-pre | --program-pr | --program-p) 1046 ac_prev=program_prefix ;; 1047 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1048 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1049 program_prefix=$ac_optarg ;; 1050 1051 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1052 | --program-suf | --program-su | --program-s) 1053 ac_prev=program_suffix ;; 1054 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1055 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1056 program_suffix=$ac_optarg ;; 1057 1058 -program-transform-name | --program-transform-name \ 1059 | --program-transform-nam | --program-transform-na \ 1060 | --program-transform-n | --program-transform- \ 1061 | --program-transform | --program-transfor \ 1062 | --program-transfo | --program-transf \ 1063 | --program-trans | --program-tran \ 1064 | --progr-tra | --program-tr | --program-t) 1065 ac_prev=program_transform_name ;; 1066 -program-transform-name=* | --program-transform-name=* \ 1067 | --program-transform-nam=* | --program-transform-na=* \ 1068 | --program-transform-n=* | --program-transform-=* \ 1069 | --program-transform=* | --program-transfor=* \ 1070 | --program-transfo=* | --program-transf=* \ 1071 | --program-trans=* | --program-tran=* \ 1072 | --progr-tra=* | --program-tr=* | --program-t=*) 1073 program_transform_name=$ac_optarg ;; 1074 1075 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1076 ac_prev=pdfdir ;; 1077 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1078 pdfdir=$ac_optarg ;; 1079 1080 -psdir | --psdir | --psdi | --psd | --ps) 1081 ac_prev=psdir ;; 1082 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1083 psdir=$ac_optarg ;; 1084 1085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1086 | -silent | --silent | --silen | --sile | --sil) 1087 silent=yes ;; 1088 1089 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1090 ac_prev=sbindir ;; 1091 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1092 | --sbi=* | --sb=*) 1093 sbindir=$ac_optarg ;; 1094 1095 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1096 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1097 | --sharedst | --shareds | --shared | --share | --shar \ 1098 | --sha | --sh) 1099 ac_prev=sharedstatedir ;; 1100 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1101 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1102 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1103 | --sha=* | --sh=*) 1104 sharedstatedir=$ac_optarg ;; 1105 1106 -site | --site | --sit) 1107 ac_prev=site ;; 1108 -site=* | --site=* | --sit=*) 1109 site=$ac_optarg ;; 1110 1111 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1112 ac_prev=srcdir ;; 1113 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1114 srcdir=$ac_optarg ;; 1115 1116 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1117 | --syscon | --sysco | --sysc | --sys | --sy) 1118 ac_prev=sysconfdir ;; 1119 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1120 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1121 sysconfdir=$ac_optarg ;; 1122 1123 -target | --target | --targe | --targ | --tar | --ta | --t) 1124 ac_prev=target_alias ;; 1125 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1126 target_alias=$ac_optarg ;; 1127 1128 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1129 verbose=yes ;; 1130 1131 -version | --version | --versio | --versi | --vers | -V) 1132 ac_init_version=: ;; 1133 1134 -with-* | --with-*) 1135 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 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--with-$ac_useropt_orig" 1146 ac_unrecognized_sep=', ';; 1147 esac 1148 eval with_$ac_useropt=\$ac_optarg ;; 1149 1150 -without-* | --without-*) 1151 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1152 # Reject names that are not valid shell variable names. 1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1154 as_fn_error $? "invalid package name: $ac_useropt" 1155 ac_useropt_orig=$ac_useropt 1156 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1157 case $ac_user_opts in 1158 *" 1159"with_$ac_useropt" 1160"*) ;; 1161 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1162 ac_unrecognized_sep=', ';; 1163 esac 1164 eval with_$ac_useropt=no ;; 1165 1166 --x) 1167 # Obsolete; use --with-x. 1168 with_x=yes ;; 1169 1170 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1171 | --x-incl | --x-inc | --x-in | --x-i) 1172 ac_prev=x_includes ;; 1173 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1174 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1175 x_includes=$ac_optarg ;; 1176 1177 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1178 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1179 ac_prev=x_libraries ;; 1180 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1181 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1182 x_libraries=$ac_optarg ;; 1183 1184 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1185Try \`$0 --help' for more information" 1186 ;; 1187 1188 *=*) 1189 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1190 # Reject names that are not valid shell variable names. 1191 case $ac_envvar in #( 1192 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1193 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1194 esac 1195 eval $ac_envvar=\$ac_optarg 1196 export $ac_envvar ;; 1197 1198 *) 1199 # FIXME: should be removed in autoconf 3.0. 1200 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1202 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1203 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1204 ;; 1205 1206 esac 1207done 1208 1209if test -n "$ac_prev"; then 1210 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1211 as_fn_error $? "missing argument to $ac_option" 1212fi 1213 1214if test -n "$ac_unrecognized_opts"; then 1215 case $enable_option_checking in 1216 no) ;; 1217 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1218 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1219 esac 1220fi 1221 1222# Check all directory arguments for consistency. 1223for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1224 datadir sysconfdir sharedstatedir localstatedir includedir \ 1225 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1226 libdir localedir mandir 1227do 1228 eval ac_val=\$$ac_var 1229 # Remove trailing slashes. 1230 case $ac_val in 1231 */ ) 1232 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1233 eval $ac_var=\$ac_val;; 1234 esac 1235 # Be sure to have absolute directory names. 1236 case $ac_val in 1237 [\\/$]* | ?:[\\/]* ) continue;; 1238 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1239 esac 1240 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1241done 1242 1243# There might be people who depend on the old broken behavior: `$host' 1244# used to hold the argument of --host etc. 1245# FIXME: To remove some day. 1246build=$build_alias 1247host=$host_alias 1248target=$target_alias 1249 1250# FIXME: To remove some day. 1251if test "x$host_alias" != x; then 1252 if test "x$build_alias" = x; then 1253 cross_compiling=maybe 1254 elif test "x$build_alias" != "x$host_alias"; then 1255 cross_compiling=yes 1256 fi 1257fi 1258 1259ac_tool_prefix= 1260test -n "$host_alias" && ac_tool_prefix=$host_alias- 1261 1262test "$silent" = yes && exec 6>/dev/null 1263 1264 1265ac_pwd=`pwd` && test -n "$ac_pwd" && 1266ac_ls_di=`ls -di .` && 1267ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1268 as_fn_error $? "working directory cannot be determined" 1269test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1270 as_fn_error $? "pwd does not report name of working directory" 1271 1272 1273# Find the source files, if location was not specified. 1274if test -z "$srcdir"; then 1275 ac_srcdir_defaulted=yes 1276 # Try the directory containing this script, then the parent directory. 1277 ac_confdir=`$as_dirname -- "$as_myself" || 1278$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1279 X"$as_myself" : 'X\(//\)[^/]' \| \ 1280 X"$as_myself" : 'X\(//\)$' \| \ 1281 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1282$as_echo X"$as_myself" | 1283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1284 s//\1/ 1285 q 1286 } 1287 /^X\(\/\/\)[^/].*/{ 1288 s//\1/ 1289 q 1290 } 1291 /^X\(\/\/\)$/{ 1292 s//\1/ 1293 q 1294 } 1295 /^X\(\/\).*/{ 1296 s//\1/ 1297 q 1298 } 1299 s/.*/./; q'` 1300 srcdir=$ac_confdir 1301 if test ! -r "$srcdir/$ac_unique_file"; then 1302 srcdir=.. 1303 fi 1304else 1305 ac_srcdir_defaulted=no 1306fi 1307if test ! -r "$srcdir/$ac_unique_file"; then 1308 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1309 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1310fi 1311ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1312ac_abs_confdir=`( 1313 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1314 pwd)` 1315# When building in place, set srcdir=. 1316if test "$ac_abs_confdir" = "$ac_pwd"; then 1317 srcdir=. 1318fi 1319# Remove unnecessary trailing slashes from srcdir. 1320# Double slashes in file names in object file debugging info 1321# mess up M-x gdb in Emacs. 1322case $srcdir in 1323*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1324esac 1325for ac_var in $ac_precious_vars; do 1326 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1327 eval ac_env_${ac_var}_value=\$${ac_var} 1328 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1329 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1330done 1331 1332# 1333# Report the --help message. 1334# 1335if test "$ac_init_help" = "long"; then 1336 # Omit some internal or obsolete options to make the list less imposing. 1337 # This message is too long to be a string in the A/UX 3.1 sh. 1338 cat <<_ACEOF 1339\`configure' configures libdiscid 0.6.2 to adapt to many kinds of systems. 1340 1341Usage: $0 [OPTION]... [VAR=VALUE]... 1342 1343To assign environment variables (e.g., CC, CFLAGS...), specify them as 1344VAR=VALUE. See below for descriptions of some of the useful variables. 1345 1346Defaults for the options are specified in brackets. 1347 1348Configuration: 1349 -h, --help display this help and exit 1350 --help=short display options specific to this package 1351 --help=recursive display the short help of all the included packages 1352 -V, --version display version information and exit 1353 -q, --quiet, --silent do not print \`checking ...' messages 1354 --cache-file=FILE cache test results in FILE [disabled] 1355 -C, --config-cache alias for \`--cache-file=config.cache' 1356 -n, --no-create do not create output files 1357 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1358 1359Installation directories: 1360 --prefix=PREFIX install architecture-independent files in PREFIX 1361 [$ac_default_prefix] 1362 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1363 [PREFIX] 1364 1365By default, \`make install' will install all the files in 1366\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1367an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1368for instance \`--prefix=\$HOME'. 1369 1370For better control, use the options below. 1371 1372Fine tuning of the installation directories: 1373 --bindir=DIR user executables [EPREFIX/bin] 1374 --sbindir=DIR system admin executables [EPREFIX/sbin] 1375 --libexecdir=DIR program executables [EPREFIX/libexec] 1376 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1377 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1378 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1379 --libdir=DIR object code libraries [EPREFIX/lib] 1380 --includedir=DIR C header files [PREFIX/include] 1381 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1382 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1383 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1384 --infodir=DIR info documentation [DATAROOTDIR/info] 1385 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1386 --mandir=DIR man documentation [DATAROOTDIR/man] 1387 --docdir=DIR documentation root [DATAROOTDIR/doc/libdiscid] 1388 --htmldir=DIR html documentation [DOCDIR] 1389 --dvidir=DIR dvi documentation [DOCDIR] 1390 --pdfdir=DIR pdf documentation [DOCDIR] 1391 --psdir=DIR ps documentation [DOCDIR] 1392_ACEOF 1393 1394 cat <<\_ACEOF 1395 1396Program names: 1397 --program-prefix=PREFIX prepend PREFIX to installed program names 1398 --program-suffix=SUFFIX append SUFFIX to installed program names 1399 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1400 1401System types: 1402 --build=BUILD configure for building on BUILD [guessed] 1403 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1404_ACEOF 1405fi 1406 1407if test -n "$ac_init_help"; then 1408 case $ac_init_help in 1409 short | recursive ) echo "Configuration of libdiscid 0.6.2:";; 1410 esac 1411 cat <<\_ACEOF 1412 1413Optional Features: 1414 --disable-option-checking ignore unrecognized --enable/--with options 1415 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1416 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1417 --enable-silent-rules less verbose build output (undo: "make V=1") 1418 --disable-silent-rules verbose build output (undo: "make V=0") 1419 --enable-dependency-tracking 1420 do not reject slow dependency extractors 1421 --disable-dependency-tracking 1422 speeds up one-time build 1423 --enable-shared[=PKGS] build shared libraries [default=yes] 1424 --enable-static[=PKGS] build static libraries [default=yes] 1425 --enable-fast-install[=PKGS] 1426 optimize for fast installation [default=yes] 1427 --disable-libtool-lock avoid locking (might break parallel builds) 1428 1429Optional Packages: 1430 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1431 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1432 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1433 both] 1434 --with-aix-soname=aix|svr4|both 1435 shared library versioning (aka "SONAME") variant to 1436 provide on AIX, [default=aix]. 1437 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1438 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1439 compiler's sysroot if not specified). 1440 1441Some influential environment variables: 1442 CC C compiler command 1443 CFLAGS C compiler flags 1444 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1445 nonstandard directory <lib dir> 1446 LIBS libraries to pass to the linker, e.g. -l<library> 1447 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1448 you have headers in a nonstandard directory <include dir> 1449 LT_SYS_LIBRARY_PATH 1450 User-defined run-time library search path. 1451 CPP C preprocessor 1452 1453Use these variables to override the choices made by `configure' or to help 1454it to find libraries and programs with nonstandard names/locations. 1455 1456Report bugs to the package provider. 1457_ACEOF 1458ac_status=$? 1459fi 1460 1461if test "$ac_init_help" = "recursive"; then 1462 # If there are subdirs, report their specific --help. 1463 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1464 test -d "$ac_dir" || 1465 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1466 continue 1467 ac_builddir=. 1468 1469case "$ac_dir" in 1470.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1471*) 1472 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1473 # A ".." for each directory in $ac_dir_suffix. 1474 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1475 case $ac_top_builddir_sub in 1476 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1477 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1478 esac ;; 1479esac 1480ac_abs_top_builddir=$ac_pwd 1481ac_abs_builddir=$ac_pwd$ac_dir_suffix 1482# for backward compatibility: 1483ac_top_builddir=$ac_top_build_prefix 1484 1485case $srcdir in 1486 .) # We are building in place. 1487 ac_srcdir=. 1488 ac_top_srcdir=$ac_top_builddir_sub 1489 ac_abs_top_srcdir=$ac_pwd ;; 1490 [\\/]* | ?:[\\/]* ) # Absolute name. 1491 ac_srcdir=$srcdir$ac_dir_suffix; 1492 ac_top_srcdir=$srcdir 1493 ac_abs_top_srcdir=$srcdir ;; 1494 *) # Relative name. 1495 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1496 ac_top_srcdir=$ac_top_build_prefix$srcdir 1497 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1498esac 1499ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1500 1501 cd "$ac_dir" || { ac_status=$?; continue; } 1502 # Check for guested configure. 1503 if test -f "$ac_srcdir/configure.gnu"; then 1504 echo && 1505 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1506 elif test -f "$ac_srcdir/configure"; then 1507 echo && 1508 $SHELL "$ac_srcdir/configure" --help=recursive 1509 else 1510 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1511 fi || ac_status=$? 1512 cd "$ac_pwd" || { ac_status=$?; break; } 1513 done 1514fi 1515 1516test -n "$ac_init_help" && exit $ac_status 1517if $ac_init_version; then 1518 cat <<\_ACEOF 1519libdiscid configure 0.6.2 1520generated by GNU Autoconf 2.69 1521 1522Copyright (C) 2012 Free Software Foundation, Inc. 1523This configure script is free software; the Free Software Foundation 1524gives unlimited permission to copy, distribute and modify it. 1525_ACEOF 1526 exit 1527fi 1528 1529## ------------------------ ## 1530## Autoconf initialization. ## 1531## ------------------------ ## 1532 1533# ac_fn_c_try_compile LINENO 1534# -------------------------- 1535# Try to compile conftest.$ac_ext, and return whether this succeeded. 1536ac_fn_c_try_compile () 1537{ 1538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1539 rm -f conftest.$ac_objext 1540 if { { ac_try="$ac_compile" 1541case "(($ac_try" in 1542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1543 *) ac_try_echo=$ac_try;; 1544esac 1545eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1546$as_echo "$ac_try_echo"; } >&5 1547 (eval "$ac_compile") 2>conftest.err 1548 ac_status=$? 1549 if test -s conftest.err; then 1550 grep -v '^ *+' conftest.err >conftest.er1 1551 cat conftest.er1 >&5 1552 mv -f conftest.er1 conftest.err 1553 fi 1554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1555 test $ac_status = 0; } && { 1556 test -z "$ac_c_werror_flag" || 1557 test ! -s conftest.err 1558 } && test -s conftest.$ac_objext; then : 1559 ac_retval=0 1560else 1561 $as_echo "$as_me: failed program was:" >&5 1562sed 's/^/| /' conftest.$ac_ext >&5 1563 1564 ac_retval=1 1565fi 1566 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1567 as_fn_set_status $ac_retval 1568 1569} # ac_fn_c_try_compile 1570 1571# ac_fn_c_try_link LINENO 1572# ----------------------- 1573# Try to link conftest.$ac_ext, and return whether this succeeded. 1574ac_fn_c_try_link () 1575{ 1576 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1577 rm -f conftest.$ac_objext conftest$ac_exeext 1578 if { { ac_try="$ac_link" 1579case "(($ac_try" in 1580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1581 *) ac_try_echo=$ac_try;; 1582esac 1583eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1584$as_echo "$ac_try_echo"; } >&5 1585 (eval "$ac_link") 2>conftest.err 1586 ac_status=$? 1587 if test -s conftest.err; then 1588 grep -v '^ *+' conftest.err >conftest.er1 1589 cat conftest.er1 >&5 1590 mv -f conftest.er1 conftest.err 1591 fi 1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1593 test $ac_status = 0; } && { 1594 test -z "$ac_c_werror_flag" || 1595 test ! -s conftest.err 1596 } && test -s conftest$ac_exeext && { 1597 test "$cross_compiling" = yes || 1598 test -x conftest$ac_exeext 1599 }; then : 1600 ac_retval=0 1601else 1602 $as_echo "$as_me: failed program was:" >&5 1603sed 's/^/| /' conftest.$ac_ext >&5 1604 1605 ac_retval=1 1606fi 1607 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1608 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1609 # interfere with the next link command; also delete a directory that is 1610 # left behind by Apple's compiler. We do this before executing the actions. 1611 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1613 as_fn_set_status $ac_retval 1614 1615} # ac_fn_c_try_link 1616 1617# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1618# ------------------------------------------------------- 1619# Tests whether HEADER exists and can be compiled using the include files in 1620# INCLUDES, setting the cache variable VAR accordingly. 1621ac_fn_c_check_header_compile () 1622{ 1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1625$as_echo_n "checking for $2... " >&6; } 1626if eval \${$3+:} false; then : 1627 $as_echo_n "(cached) " >&6 1628else 1629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1630/* end confdefs.h. */ 1631$4 1632#include <$2> 1633_ACEOF 1634if ac_fn_c_try_compile "$LINENO"; then : 1635 eval "$3=yes" 1636else 1637 eval "$3=no" 1638fi 1639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1640fi 1641eval ac_res=\$$3 1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1643$as_echo "$ac_res" >&6; } 1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1645 1646} # ac_fn_c_check_header_compile 1647 1648# ac_fn_c_try_cpp LINENO 1649# ---------------------- 1650# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1651ac_fn_c_try_cpp () 1652{ 1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1654 if { { ac_try="$ac_cpp conftest.$ac_ext" 1655case "(($ac_try" in 1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1657 *) ac_try_echo=$ac_try;; 1658esac 1659eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1660$as_echo "$ac_try_echo"; } >&5 1661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1662 ac_status=$? 1663 if test -s conftest.err; then 1664 grep -v '^ *+' conftest.err >conftest.er1 1665 cat conftest.er1 >&5 1666 mv -f conftest.er1 conftest.err 1667 fi 1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1669 test $ac_status = 0; } > conftest.i && { 1670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1671 test ! -s conftest.err 1672 }; then : 1673 ac_retval=0 1674else 1675 $as_echo "$as_me: failed program was:" >&5 1676sed 's/^/| /' conftest.$ac_ext >&5 1677 1678 ac_retval=1 1679fi 1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1681 as_fn_set_status $ac_retval 1682 1683} # ac_fn_c_try_cpp 1684 1685# ac_fn_c_try_run LINENO 1686# ---------------------- 1687# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1688# that executables *can* be run. 1689ac_fn_c_try_run () 1690{ 1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1692 if { { ac_try="$ac_link" 1693case "(($ac_try" in 1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1695 *) ac_try_echo=$ac_try;; 1696esac 1697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1698$as_echo "$ac_try_echo"; } >&5 1699 (eval "$ac_link") 2>&5 1700 ac_status=$? 1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1702 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1703 { { case "(($ac_try" in 1704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1705 *) ac_try_echo=$ac_try;; 1706esac 1707eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1708$as_echo "$ac_try_echo"; } >&5 1709 (eval "$ac_try") 2>&5 1710 ac_status=$? 1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1712 test $ac_status = 0; }; }; then : 1713 ac_retval=0 1714else 1715 $as_echo "$as_me: program exited with status $ac_status" >&5 1716 $as_echo "$as_me: failed program was:" >&5 1717sed 's/^/| /' conftest.$ac_ext >&5 1718 1719 ac_retval=$ac_status 1720fi 1721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1723 as_fn_set_status $ac_retval 1724 1725} # ac_fn_c_try_run 1726 1727# ac_fn_c_check_func LINENO FUNC VAR 1728# ---------------------------------- 1729# Tests whether FUNC exists, setting the cache variable VAR accordingly 1730ac_fn_c_check_func () 1731{ 1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1734$as_echo_n "checking for $2... " >&6; } 1735if eval \${$3+:} false; then : 1736 $as_echo_n "(cached) " >&6 1737else 1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1739/* end confdefs.h. */ 1740/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1741 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1742#define $2 innocuous_$2 1743 1744/* System header to define __stub macros and hopefully few prototypes, 1745 which can conflict with char $2 (); below. 1746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1747 <limits.h> exists even on freestanding compilers. */ 1748 1749#ifdef __STDC__ 1750# include <limits.h> 1751#else 1752# include <assert.h> 1753#endif 1754 1755#undef $2 1756 1757/* Override any GCC internal prototype to avoid an error. 1758 Use char because int might match the return type of a GCC 1759 builtin and then its argument prototype would still apply. */ 1760#ifdef __cplusplus 1761extern "C" 1762#endif 1763char $2 (); 1764/* The GNU C library defines this for functions which it implements 1765 to always fail with ENOSYS. Some functions are actually named 1766 something starting with __ and the normal name is an alias. */ 1767#if defined __stub_$2 || defined __stub___$2 1768choke me 1769#endif 1770 1771int 1772main () 1773{ 1774return $2 (); 1775 ; 1776 return 0; 1777} 1778_ACEOF 1779if ac_fn_c_try_link "$LINENO"; then : 1780 eval "$3=yes" 1781else 1782 eval "$3=no" 1783fi 1784rm -f core conftest.err conftest.$ac_objext \ 1785 conftest$ac_exeext conftest.$ac_ext 1786fi 1787eval ac_res=\$$3 1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1789$as_echo "$ac_res" >&6; } 1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1791 1792} # ac_fn_c_check_func 1793 1794# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1795# -------------------------------------------- 1796# Tries to find the compile-time value of EXPR in a program that includes 1797# INCLUDES, setting VAR accordingly. Returns whether the value could be 1798# computed 1799ac_fn_c_compute_int () 1800{ 1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1802 if test "$cross_compiling" = yes; then 1803 # Depending upon the size, compute the lo and hi bounds. 1804cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1805/* end confdefs.h. */ 1806$4 1807int 1808main () 1809{ 1810static int test_array [1 - 2 * !(($2) >= 0)]; 1811test_array [0] = 0; 1812return test_array [0]; 1813 1814 ; 1815 return 0; 1816} 1817_ACEOF 1818if ac_fn_c_try_compile "$LINENO"; then : 1819 ac_lo=0 ac_mid=0 1820 while :; do 1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1822/* end confdefs.h. */ 1823$4 1824int 1825main () 1826{ 1827static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1828test_array [0] = 0; 1829return test_array [0]; 1830 1831 ; 1832 return 0; 1833} 1834_ACEOF 1835if ac_fn_c_try_compile "$LINENO"; then : 1836 ac_hi=$ac_mid; break 1837else 1838 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1839 if test $ac_lo -le $ac_mid; then 1840 ac_lo= ac_hi= 1841 break 1842 fi 1843 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1844fi 1845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1846 done 1847else 1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1849/* end confdefs.h. */ 1850$4 1851int 1852main () 1853{ 1854static int test_array [1 - 2 * !(($2) < 0)]; 1855test_array [0] = 0; 1856return test_array [0]; 1857 1858 ; 1859 return 0; 1860} 1861_ACEOF 1862if ac_fn_c_try_compile "$LINENO"; then : 1863 ac_hi=-1 ac_mid=-1 1864 while :; do 1865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1866/* end confdefs.h. */ 1867$4 1868int 1869main () 1870{ 1871static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1872test_array [0] = 0; 1873return test_array [0]; 1874 1875 ; 1876 return 0; 1877} 1878_ACEOF 1879if ac_fn_c_try_compile "$LINENO"; then : 1880 ac_lo=$ac_mid; break 1881else 1882 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1883 if test $ac_mid -le $ac_hi; then 1884 ac_lo= ac_hi= 1885 break 1886 fi 1887 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1888fi 1889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1890 done 1891else 1892 ac_lo= ac_hi= 1893fi 1894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1895fi 1896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1897# Binary search between lo and hi bounds. 1898while test "x$ac_lo" != "x$ac_hi"; do 1899 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1901/* end confdefs.h. */ 1902$4 1903int 1904main () 1905{ 1906static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1907test_array [0] = 0; 1908return test_array [0]; 1909 1910 ; 1911 return 0; 1912} 1913_ACEOF 1914if ac_fn_c_try_compile "$LINENO"; then : 1915 ac_hi=$ac_mid 1916else 1917 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1918fi 1919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1920done 1921case $ac_lo in #(( 1922?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1923'') ac_retval=1 ;; 1924esac 1925 else 1926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1927/* end confdefs.h. */ 1928$4 1929static long int longval () { return $2; } 1930static unsigned long int ulongval () { return $2; } 1931#include <stdio.h> 1932#include <stdlib.h> 1933int 1934main () 1935{ 1936 1937 FILE *f = fopen ("conftest.val", "w"); 1938 if (! f) 1939 return 1; 1940 if (($2) < 0) 1941 { 1942 long int i = longval (); 1943 if (i != ($2)) 1944 return 1; 1945 fprintf (f, "%ld", i); 1946 } 1947 else 1948 { 1949 unsigned long int i = ulongval (); 1950 if (i != ($2)) 1951 return 1; 1952 fprintf (f, "%lu", i); 1953 } 1954 /* Do not output a trailing newline, as this causes \r\n confusion 1955 on some platforms. */ 1956 return ferror (f) || fclose (f) != 0; 1957 1958 ; 1959 return 0; 1960} 1961_ACEOF 1962if ac_fn_c_try_run "$LINENO"; then : 1963 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 1964else 1965 ac_retval=1 1966fi 1967rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1968 conftest.$ac_objext conftest.beam conftest.$ac_ext 1969rm -f conftest.val 1970 1971 fi 1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1973 as_fn_set_status $ac_retval 1974 1975} # ac_fn_c_compute_int 1976 1977# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1978# ------------------------------------------------------- 1979# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1980# the include files in INCLUDES and setting the cache variable VAR 1981# accordingly. 1982ac_fn_c_check_header_mongrel () 1983{ 1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1985 if eval \${$3+:} false; then : 1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1987$as_echo_n "checking for $2... " >&6; } 1988if eval \${$3+:} false; then : 1989 $as_echo_n "(cached) " >&6 1990fi 1991eval ac_res=\$$3 1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1993$as_echo "$ac_res" >&6; } 1994else 1995 # Is the header compilable? 1996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1997$as_echo_n "checking $2 usability... " >&6; } 1998cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1999/* end confdefs.h. */ 2000$4 2001#include <$2> 2002_ACEOF 2003if ac_fn_c_try_compile "$LINENO"; then : 2004 ac_header_compiler=yes 2005else 2006 ac_header_compiler=no 2007fi 2008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2010$as_echo "$ac_header_compiler" >&6; } 2011 2012# Is the header present? 2013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2014$as_echo_n "checking $2 presence... " >&6; } 2015cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2016/* end confdefs.h. */ 2017#include <$2> 2018_ACEOF 2019if ac_fn_c_try_cpp "$LINENO"; then : 2020 ac_header_preproc=yes 2021else 2022 ac_header_preproc=no 2023fi 2024rm -f conftest.err conftest.i conftest.$ac_ext 2025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2026$as_echo "$ac_header_preproc" >&6; } 2027 2028# So? What about this header? 2029case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2030 yes:no: ) 2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2032$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2034$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2035 ;; 2036 no:yes:* ) 2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2038$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2040$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2042$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2044$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2046$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2047 ;; 2048esac 2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2050$as_echo_n "checking for $2... " >&6; } 2051if eval \${$3+:} false; then : 2052 $as_echo_n "(cached) " >&6 2053else 2054 eval "$3=\$ac_header_compiler" 2055fi 2056eval ac_res=\$$3 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2058$as_echo "$ac_res" >&6; } 2059fi 2060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2061 2062} # ac_fn_c_check_header_mongrel 2063cat >config.log <<_ACEOF 2064This file contains any messages produced by compilers while 2065running configure, to aid debugging if configure makes a mistake. 2066 2067It was created by libdiscid $as_me 0.6.2, which was 2068generated by GNU Autoconf 2.69. Invocation command line was 2069 2070 $ $0 $@ 2071 2072_ACEOF 2073exec 5>>config.log 2074{ 2075cat <<_ASUNAME 2076## --------- ## 2077## Platform. ## 2078## --------- ## 2079 2080hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2081uname -m = `(uname -m) 2>/dev/null || echo unknown` 2082uname -r = `(uname -r) 2>/dev/null || echo unknown` 2083uname -s = `(uname -s) 2>/dev/null || echo unknown` 2084uname -v = `(uname -v) 2>/dev/null || echo unknown` 2085 2086/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2087/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2088 2089/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2090/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2091/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2092/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2093/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2094/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2095/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2096 2097_ASUNAME 2098 2099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2100for as_dir in $PATH 2101do 2102 IFS=$as_save_IFS 2103 test -z "$as_dir" && as_dir=. 2104 $as_echo "PATH: $as_dir" 2105 done 2106IFS=$as_save_IFS 2107 2108} >&5 2109 2110cat >&5 <<_ACEOF 2111 2112 2113## ----------- ## 2114## Core tests. ## 2115## ----------- ## 2116 2117_ACEOF 2118 2119 2120# Keep a trace of the command line. 2121# Strip out --no-create and --no-recursion so they do not pile up. 2122# Strip out --silent because we don't want to record it for future runs. 2123# Also quote any args containing shell meta-characters. 2124# Make two passes to allow for proper duplicate-argument suppression. 2125ac_configure_args= 2126ac_configure_args0= 2127ac_configure_args1= 2128ac_must_keep_next=false 2129for ac_pass in 1 2 2130do 2131 for ac_arg 2132 do 2133 case $ac_arg in 2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2136 | -silent | --silent | --silen | --sile | --sil) 2137 continue ;; 2138 *\'*) 2139 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2140 esac 2141 case $ac_pass in 2142 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2143 2) 2144 as_fn_append ac_configure_args1 " '$ac_arg'" 2145 if test $ac_must_keep_next = true; then 2146 ac_must_keep_next=false # Got value, back to normal. 2147 else 2148 case $ac_arg in 2149 *=* | --config-cache | -C | -disable-* | --disable-* \ 2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2152 | -with-* | --with-* | -without-* | --without-* | --x) 2153 case "$ac_configure_args0 " in 2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2155 esac 2156 ;; 2157 -* ) ac_must_keep_next=true ;; 2158 esac 2159 fi 2160 as_fn_append ac_configure_args " '$ac_arg'" 2161 ;; 2162 esac 2163 done 2164done 2165{ ac_configure_args0=; unset ac_configure_args0;} 2166{ ac_configure_args1=; unset ac_configure_args1;} 2167 2168# When interrupted or exit'd, cleanup temporary files, and complete 2169# config.log. We remove comments because anyway the quotes in there 2170# would cause problems or look ugly. 2171# WARNING: Use '\'' to represent an apostrophe within the trap. 2172# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2173trap 'exit_status=$? 2174 # Save into config.log some information that might help in debugging. 2175 { 2176 echo 2177 2178 $as_echo "## ---------------- ## 2179## Cache variables. ## 2180## ---------------- ##" 2181 echo 2182 # The following way of writing the cache mishandles newlines in values, 2183( 2184 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2185 eval ac_val=\$$ac_var 2186 case $ac_val in #( 2187 *${as_nl}*) 2188 case $ac_var in #( 2189 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2190$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2191 esac 2192 case $ac_var in #( 2193 _ | IFS | as_nl) ;; #( 2194 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2195 *) { eval $ac_var=; unset $ac_var;} ;; 2196 esac ;; 2197 esac 2198 done 2199 (set) 2>&1 | 2200 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2201 *${as_nl}ac_space=\ *) 2202 sed -n \ 2203 "s/'\''/'\''\\\\'\'''\''/g; 2204 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2205 ;; #( 2206 *) 2207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2208 ;; 2209 esac | 2210 sort 2211) 2212 echo 2213 2214 $as_echo "## ----------------- ## 2215## Output variables. ## 2216## ----------------- ##" 2217 echo 2218 for ac_var in $ac_subst_vars 2219 do 2220 eval ac_val=\$$ac_var 2221 case $ac_val in 2222 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2223 esac 2224 $as_echo "$ac_var='\''$ac_val'\''" 2225 done | sort 2226 echo 2227 2228 if test -n "$ac_subst_files"; then 2229 $as_echo "## ------------------- ## 2230## File substitutions. ## 2231## ------------------- ##" 2232 echo 2233 for ac_var in $ac_subst_files 2234 do 2235 eval ac_val=\$$ac_var 2236 case $ac_val in 2237 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2238 esac 2239 $as_echo "$ac_var='\''$ac_val'\''" 2240 done | sort 2241 echo 2242 fi 2243 2244 if test -s confdefs.h; then 2245 $as_echo "## ----------- ## 2246## confdefs.h. ## 2247## ----------- ##" 2248 echo 2249 cat confdefs.h 2250 echo 2251 fi 2252 test "$ac_signal" != 0 && 2253 $as_echo "$as_me: caught signal $ac_signal" 2254 $as_echo "$as_me: exit $exit_status" 2255 } >&5 2256 rm -f core *.core core.conftest.* && 2257 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2258 exit $exit_status 2259' 0 2260for ac_signal in 1 2 13 15; do 2261 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2262done 2263ac_signal=0 2264 2265# confdefs.h avoids OS command line length limits that DEFS can exceed. 2266rm -f -r conftest* confdefs.h 2267 2268$as_echo "/* confdefs.h */" > confdefs.h 2269 2270# Predefined preprocessor variables. 2271 2272cat >>confdefs.h <<_ACEOF 2273#define PACKAGE_NAME "$PACKAGE_NAME" 2274_ACEOF 2275 2276cat >>confdefs.h <<_ACEOF 2277#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2278_ACEOF 2279 2280cat >>confdefs.h <<_ACEOF 2281#define PACKAGE_VERSION "$PACKAGE_VERSION" 2282_ACEOF 2283 2284cat >>confdefs.h <<_ACEOF 2285#define PACKAGE_STRING "$PACKAGE_STRING" 2286_ACEOF 2287 2288cat >>confdefs.h <<_ACEOF 2289#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2290_ACEOF 2291 2292cat >>confdefs.h <<_ACEOF 2293#define PACKAGE_URL "$PACKAGE_URL" 2294_ACEOF 2295 2296 2297# Let the site file select an alternate cache file if it wants to. 2298# Prefer an explicitly selected file to automatically selected ones. 2299ac_site_file1=NONE 2300ac_site_file2=NONE 2301if test -n "$CONFIG_SITE"; then 2302 # We do not want a PATH search for config.site. 2303 case $CONFIG_SITE in #(( 2304 -*) ac_site_file1=./$CONFIG_SITE;; 2305 */*) ac_site_file1=$CONFIG_SITE;; 2306 *) ac_site_file1=./$CONFIG_SITE;; 2307 esac 2308elif test "x$prefix" != xNONE; then 2309 ac_site_file1=$prefix/share/config.site 2310 ac_site_file2=$prefix/etc/config.site 2311else 2312 ac_site_file1=$ac_default_prefix/share/config.site 2313 ac_site_file2=$ac_default_prefix/etc/config.site 2314fi 2315for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2316do 2317 test "x$ac_site_file" = xNONE && continue 2318 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2319 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2320$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2321 sed 's/^/| /' "$ac_site_file" >&5 2322 . "$ac_site_file" \ 2323 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2324$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2325as_fn_error $? "failed to load site script $ac_site_file 2326See \`config.log' for more details" "$LINENO" 5; } 2327 fi 2328done 2329 2330if test -r "$cache_file"; then 2331 # Some versions of bash will fail to source /dev/null (special files 2332 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2333 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2334 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2335$as_echo "$as_me: loading cache $cache_file" >&6;} 2336 case $cache_file in 2337 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2338 *) . "./$cache_file";; 2339 esac 2340 fi 2341else 2342 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2343$as_echo "$as_me: creating cache $cache_file" >&6;} 2344 >$cache_file 2345fi 2346 2347# Check that the precious variables saved in the cache have kept the same 2348# value. 2349ac_cache_corrupted=false 2350for ac_var in $ac_precious_vars; do 2351 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2352 eval ac_new_set=\$ac_env_${ac_var}_set 2353 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2354 eval ac_new_val=\$ac_env_${ac_var}_value 2355 case $ac_old_set,$ac_new_set in 2356 set,) 2357 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2358$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2359 ac_cache_corrupted=: ;; 2360 ,set) 2361 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2362$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2363 ac_cache_corrupted=: ;; 2364 ,);; 2365 *) 2366 if test "x$ac_old_val" != "x$ac_new_val"; then 2367 # differences in whitespace do not lead to failure. 2368 ac_old_val_w=`echo x $ac_old_val` 2369 ac_new_val_w=`echo x $ac_new_val` 2370 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2372$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2373 ac_cache_corrupted=: 2374 else 2375 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2376$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2377 eval $ac_var=\$ac_old_val 2378 fi 2379 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2380$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2381 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2382$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2383 fi;; 2384 esac 2385 # Pass precious variables to config.status. 2386 if test "$ac_new_set" = set; then 2387 case $ac_new_val in 2388 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2389 *) ac_arg=$ac_var=$ac_new_val ;; 2390 esac 2391 case " $ac_configure_args " in 2392 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2393 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2394 esac 2395 fi 2396done 2397if $ac_cache_corrupted; then 2398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2399$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2401$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2402 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2403fi 2404## -------------------- ## 2405## Main body of script. ## 2406## -------------------- ## 2407 2408ac_ext=c 2409ac_cpp='$CPP $CPPFLAGS' 2410ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2411ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2412ac_compiler_gnu=$ac_cv_c_compiler_gnu 2413 2414 2415 2416 2417ac_config_headers="$ac_config_headers config.h" 2418 2419ac_aux_dir= 2420for ac_dir in build-aux "$srcdir"/build-aux; do 2421 if test -f "$ac_dir/install-sh"; then 2422 ac_aux_dir=$ac_dir 2423 ac_install_sh="$ac_aux_dir/install-sh -c" 2424 break 2425 elif test -f "$ac_dir/install.sh"; then 2426 ac_aux_dir=$ac_dir 2427 ac_install_sh="$ac_aux_dir/install.sh -c" 2428 break 2429 elif test -f "$ac_dir/shtool"; then 2430 ac_aux_dir=$ac_dir 2431 ac_install_sh="$ac_aux_dir/shtool install -c" 2432 break 2433 fi 2434done 2435if test -z "$ac_aux_dir"; then 2436 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2437fi 2438 2439# These three variables are undocumented and unsupported, 2440# and are intended to be withdrawn in a future Autoconf release. 2441# They can cause serious problems if a builder's source tree is in a directory 2442# whose full name contains unusual characters. 2443ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2444ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2445ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2446 2447 # where to put config.guess etc. 2448am__api_version='1.15' 2449 2450# Find a good install program. We prefer a C program (faster), 2451# so one script is as good as another. But avoid the broken or 2452# incompatible versions: 2453# SysV /etc/install, /usr/sbin/install 2454# SunOS /usr/etc/install 2455# IRIX /sbin/install 2456# AIX /bin/install 2457# AmigaOS /C/install, which installs bootblocks on floppy discs 2458# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2459# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2460# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2461# OS/2's system install, which has a completely different semantic 2462# ./install, which can be erroneously created by make from ./install.sh. 2463# Reject install programs that cannot install multiple files. 2464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2465$as_echo_n "checking for a BSD-compatible install... " >&6; } 2466if test -z "$INSTALL"; then 2467if ${ac_cv_path_install+:} false; then : 2468 $as_echo_n "(cached) " >&6 2469else 2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2471for as_dir in $PATH 2472do 2473 IFS=$as_save_IFS 2474 test -z "$as_dir" && as_dir=. 2475 # Account for people who put trailing slashes in PATH elements. 2476case $as_dir/ in #(( 2477 ./ | .// | /[cC]/* | \ 2478 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2479 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2480 /usr/ucb/* ) ;; 2481 *) 2482 # OSF1 and SCO ODT 3.0 have their own names for install. 2483 # Don't use installbsd from OSF since it installs stuff as root 2484 # by default. 2485 for ac_prog in ginstall scoinst install; do 2486 for ac_exec_ext in '' $ac_executable_extensions; do 2487 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2488 if test $ac_prog = install && 2489 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2490 # AIX install. It has an incompatible calling convention. 2491 : 2492 elif test $ac_prog = install && 2493 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2494 # program-specific install script used by HP pwplus--don't use. 2495 : 2496 else 2497 rm -rf conftest.one conftest.two conftest.dir 2498 echo one > conftest.one 2499 echo two > conftest.two 2500 mkdir conftest.dir 2501 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2502 test -s conftest.one && test -s conftest.two && 2503 test -s conftest.dir/conftest.one && 2504 test -s conftest.dir/conftest.two 2505 then 2506 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2507 break 3 2508 fi 2509 fi 2510 fi 2511 done 2512 done 2513 ;; 2514esac 2515 2516 done 2517IFS=$as_save_IFS 2518 2519rm -rf conftest.one conftest.two conftest.dir 2520 2521fi 2522 if test "${ac_cv_path_install+set}" = set; then 2523 INSTALL=$ac_cv_path_install 2524 else 2525 # As a last resort, use the slow shell script. Don't cache a 2526 # value for INSTALL within a source directory, because that will 2527 # break other packages using the cache if that directory is 2528 # removed, or if the value is a relative name. 2529 INSTALL=$ac_install_sh 2530 fi 2531fi 2532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2533$as_echo "$INSTALL" >&6; } 2534 2535# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2536# It thinks the first close brace ends the variable substitution. 2537test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2538 2539test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2540 2541test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2542 2543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2544$as_echo_n "checking whether build environment is sane... " >&6; } 2545# Reject unsafe characters in $srcdir or the absolute working directory 2546# name. Accept space and tab only in the latter. 2547am_lf=' 2548' 2549case `pwd` in 2550 *[\\\"\#\$\&\'\`$am_lf]*) 2551 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2552esac 2553case $srcdir in 2554 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2555 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2556esac 2557 2558# Do 'set' in a subshell so we don't clobber the current shell's 2559# arguments. Must try -L first in case configure is actually a 2560# symlink; some systems play weird games with the mod time of symlinks 2561# (eg FreeBSD returns the mod time of the symlink's containing 2562# directory). 2563if ( 2564 am_has_slept=no 2565 for am_try in 1 2; do 2566 echo "timestamp, slept: $am_has_slept" > conftest.file 2567 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2568 if test "$*" = "X"; then 2569 # -L didn't work. 2570 set X `ls -t "$srcdir/configure" conftest.file` 2571 fi 2572 if test "$*" != "X $srcdir/configure conftest.file" \ 2573 && test "$*" != "X conftest.file $srcdir/configure"; then 2574 2575 # If neither matched, then we have a broken ls. This can happen 2576 # if, for instance, CONFIG_SHELL is bash and it inherits a 2577 # broken ls alias from the environment. This has actually 2578 # happened. Such a system could not be considered "sane". 2579 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2580 alias in your environment" "$LINENO" 5 2581 fi 2582 if test "$2" = conftest.file || test $am_try -eq 2; then 2583 break 2584 fi 2585 # Just in case. 2586 sleep 1 2587 am_has_slept=yes 2588 done 2589 test "$2" = conftest.file 2590 ) 2591then 2592 # Ok. 2593 : 2594else 2595 as_fn_error $? "newly created file is older than distributed files! 2596Check your system clock" "$LINENO" 5 2597fi 2598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2599$as_echo "yes" >&6; } 2600# If we didn't sleep, we still need to ensure time stamps of config.status and 2601# generated files are strictly newer. 2602am_sleep_pid= 2603if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2604 ( sleep 1 ) & 2605 am_sleep_pid=$! 2606fi 2607 2608rm -f conftest.file 2609 2610test "$program_prefix" != NONE && 2611 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2612# Use a double $ so make ignores it. 2613test "$program_suffix" != NONE && 2614 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2615# Double any \ or $. 2616# By default was `s,x,x', remove it if useless. 2617ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2618program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2619 2620# Expand $ac_aux_dir to an absolute path. 2621am_aux_dir=`cd "$ac_aux_dir" && pwd` 2622 2623if test x"${MISSING+set}" != xset; then 2624 case $am_aux_dir in 2625 *\ * | *\ *) 2626 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2627 *) 2628 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2629 esac 2630fi 2631# Use eval to expand $SHELL 2632if eval "$MISSING --is-lightweight"; then 2633 am_missing_run="$MISSING " 2634else 2635 am_missing_run= 2636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2637$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2638fi 2639 2640if test x"${install_sh+set}" != xset; then 2641 case $am_aux_dir in 2642 *\ * | *\ *) 2643 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2644 *) 2645 install_sh="\${SHELL} $am_aux_dir/install-sh" 2646 esac 2647fi 2648 2649# Installed binaries are usually stripped using 'strip' when the user 2650# run "make install-strip". However 'strip' might not be the right 2651# tool to use in cross-compilation environments, therefore Automake 2652# will honor the 'STRIP' environment variable to overrule this program. 2653if test "$cross_compiling" != no; then 2654 if test -n "$ac_tool_prefix"; then 2655 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2656set dummy ${ac_tool_prefix}strip; ac_word=$2 2657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2658$as_echo_n "checking for $ac_word... " >&6; } 2659if ${ac_cv_prog_STRIP+:} false; then : 2660 $as_echo_n "(cached) " >&6 2661else 2662 if test -n "$STRIP"; then 2663 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2664else 2665as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2666for as_dir in $PATH 2667do 2668 IFS=$as_save_IFS 2669 test -z "$as_dir" && as_dir=. 2670 for ac_exec_ext in '' $ac_executable_extensions; do 2671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2672 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2674 break 2 2675 fi 2676done 2677 done 2678IFS=$as_save_IFS 2679 2680fi 2681fi 2682STRIP=$ac_cv_prog_STRIP 2683if test -n "$STRIP"; then 2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2685$as_echo "$STRIP" >&6; } 2686else 2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2688$as_echo "no" >&6; } 2689fi 2690 2691 2692fi 2693if test -z "$ac_cv_prog_STRIP"; then 2694 ac_ct_STRIP=$STRIP 2695 # Extract the first word of "strip", so it can be a program name with args. 2696set dummy strip; ac_word=$2 2697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2698$as_echo_n "checking for $ac_word... " >&6; } 2699if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2700 $as_echo_n "(cached) " >&6 2701else 2702 if test -n "$ac_ct_STRIP"; then 2703 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2704else 2705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2706for as_dir in $PATH 2707do 2708 IFS=$as_save_IFS 2709 test -z "$as_dir" && as_dir=. 2710 for ac_exec_ext in '' $ac_executable_extensions; do 2711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2712 ac_cv_prog_ac_ct_STRIP="strip" 2713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2714 break 2 2715 fi 2716done 2717 done 2718IFS=$as_save_IFS 2719 2720fi 2721fi 2722ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2723if test -n "$ac_ct_STRIP"; then 2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2725$as_echo "$ac_ct_STRIP" >&6; } 2726else 2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2728$as_echo "no" >&6; } 2729fi 2730 2731 if test "x$ac_ct_STRIP" = x; then 2732 STRIP=":" 2733 else 2734 case $cross_compiling:$ac_tool_warned in 2735yes:) 2736{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2737$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2738ac_tool_warned=yes ;; 2739esac 2740 STRIP=$ac_ct_STRIP 2741 fi 2742else 2743 STRIP="$ac_cv_prog_STRIP" 2744fi 2745 2746fi 2747INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2748 2749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2750$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2751if test -z "$MKDIR_P"; then 2752 if ${ac_cv_path_mkdir+:} false; then : 2753 $as_echo_n "(cached) " >&6 2754else 2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2756for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2757do 2758 IFS=$as_save_IFS 2759 test -z "$as_dir" && as_dir=. 2760 for ac_prog in mkdir gmkdir; do 2761 for ac_exec_ext in '' $ac_executable_extensions; do 2762 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2763 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2764 'mkdir (GNU coreutils) '* | \ 2765 'mkdir (coreutils) '* | \ 2766 'mkdir (fileutils) '4.1*) 2767 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2768 break 3;; 2769 esac 2770 done 2771 done 2772 done 2773IFS=$as_save_IFS 2774 2775fi 2776 2777 test -d ./--version && rmdir ./--version 2778 if test "${ac_cv_path_mkdir+set}" = set; then 2779 MKDIR_P="$ac_cv_path_mkdir -p" 2780 else 2781 # As a last resort, use the slow shell script. Don't cache a 2782 # value for MKDIR_P within a source directory, because that will 2783 # break other packages using the cache if that directory is 2784 # removed, or if the value is a relative name. 2785 MKDIR_P="$ac_install_sh -d" 2786 fi 2787fi 2788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2789$as_echo "$MKDIR_P" >&6; } 2790 2791for ac_prog in gawk mawk nawk awk 2792do 2793 # Extract the first word of "$ac_prog", so it can be a program name with args. 2794set dummy $ac_prog; ac_word=$2 2795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2796$as_echo_n "checking for $ac_word... " >&6; } 2797if ${ac_cv_prog_AWK+:} false; then : 2798 $as_echo_n "(cached) " >&6 2799else 2800 if test -n "$AWK"; then 2801 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2802else 2803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2804for as_dir in $PATH 2805do 2806 IFS=$as_save_IFS 2807 test -z "$as_dir" && as_dir=. 2808 for ac_exec_ext in '' $ac_executable_extensions; do 2809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2810 ac_cv_prog_AWK="$ac_prog" 2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2812 break 2 2813 fi 2814done 2815 done 2816IFS=$as_save_IFS 2817 2818fi 2819fi 2820AWK=$ac_cv_prog_AWK 2821if test -n "$AWK"; then 2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2823$as_echo "$AWK" >&6; } 2824else 2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2826$as_echo "no" >&6; } 2827fi 2828 2829 2830 test -n "$AWK" && break 2831done 2832 2833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2834$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2835set x ${MAKE-make} 2836ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2837if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2838 $as_echo_n "(cached) " >&6 2839else 2840 cat >conftest.make <<\_ACEOF 2841SHELL = /bin/sh 2842all: 2843 @echo '@@@%%%=$(MAKE)=@@@%%%' 2844_ACEOF 2845# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2846case `${MAKE-make} -f conftest.make 2>/dev/null` in 2847 *@@@%%%=?*=@@@%%%*) 2848 eval ac_cv_prog_make_${ac_make}_set=yes;; 2849 *) 2850 eval ac_cv_prog_make_${ac_make}_set=no;; 2851esac 2852rm -f conftest.make 2853fi 2854if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2856$as_echo "yes" >&6; } 2857 SET_MAKE= 2858else 2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2860$as_echo "no" >&6; } 2861 SET_MAKE="MAKE=${MAKE-make}" 2862fi 2863 2864rm -rf .tst 2>/dev/null 2865mkdir .tst 2>/dev/null 2866if test -d .tst; then 2867 am__leading_dot=. 2868else 2869 am__leading_dot=_ 2870fi 2871rmdir .tst 2>/dev/null 2872 2873# Check whether --enable-silent-rules was given. 2874if test "${enable_silent_rules+set}" = set; then : 2875 enableval=$enable_silent_rules; 2876fi 2877 2878case $enable_silent_rules in # ((( 2879 yes) AM_DEFAULT_VERBOSITY=0;; 2880 no) AM_DEFAULT_VERBOSITY=1;; 2881 *) AM_DEFAULT_VERBOSITY=1;; 2882esac 2883am_make=${MAKE-make} 2884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2885$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2886if ${am_cv_make_support_nested_variables+:} false; then : 2887 $as_echo_n "(cached) " >&6 2888else 2889 if $as_echo 'TRUE=$(BAR$(V)) 2890BAR0=false 2891BAR1=true 2892V=1 2893am__doit: 2894 @$(TRUE) 2895.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2896 am_cv_make_support_nested_variables=yes 2897else 2898 am_cv_make_support_nested_variables=no 2899fi 2900fi 2901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2902$as_echo "$am_cv_make_support_nested_variables" >&6; } 2903if test $am_cv_make_support_nested_variables = yes; then 2904 AM_V='$(V)' 2905 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2906else 2907 AM_V=$AM_DEFAULT_VERBOSITY 2908 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2909fi 2910AM_BACKSLASH='\' 2911 2912if test "`cd $srcdir && pwd`" != "`pwd`"; then 2913 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2914 # is not polluted with repeated "-I." 2915 am__isrc=' -I$(srcdir)' 2916 # test to see if srcdir already configured 2917 if test -f $srcdir/config.status; then 2918 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2919 fi 2920fi 2921 2922# test whether we have cygpath 2923if test -z "$CYGPATH_W"; then 2924 if (cygpath --version) >/dev/null 2>/dev/null; then 2925 CYGPATH_W='cygpath -w' 2926 else 2927 CYGPATH_W=echo 2928 fi 2929fi 2930 2931 2932# Define the identity of the package. 2933 PACKAGE='libdiscid' 2934 VERSION='0.6.2' 2935 2936 2937cat >>confdefs.h <<_ACEOF 2938#define PACKAGE "$PACKAGE" 2939_ACEOF 2940 2941 2942cat >>confdefs.h <<_ACEOF 2943#define VERSION "$VERSION" 2944_ACEOF 2945 2946# Some tools Automake needs. 2947 2948ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2949 2950 2951AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2952 2953 2954AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2955 2956 2957AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2958 2959 2960MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2961 2962# For better backward compatibility. To be removed once Automake 1.9.x 2963# dies out for good. For more background, see: 2964# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2965# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2966mkdir_p='$(MKDIR_P)' 2967 2968# We need awk for the "check" target (and possibly the TAP driver). The 2969# system "awk" is bad on some platforms. 2970# Always define AMTAR for backward compatibility. Yes, it's still used 2971# in the wild :-( We should find a proper way to deprecate it ... 2972AMTAR='$${TAR-tar}' 2973 2974 2975# We'll loop over all known methods to create a tar archive until one works. 2976_am_tools='gnutar pax cpio none' 2977 2978am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2979 2980 2981 2982 2983 2984 2985# POSIX will say in a future version that running "rm -f" with no argument 2986# is OK; and we want to be able to make that assumption in our Makefile 2987# recipes. So use an aggressive probe to check that the usage we want is 2988# actually supported "in the wild" to an acceptable degree. 2989# See automake bug#10828. 2990# To make any issue more visible, cause the running configure to be aborted 2991# by default if the 'rm' program in use doesn't match our expectations; the 2992# user can still override this though. 2993if rm -f && rm -fr && rm -rf; then : OK; else 2994 cat >&2 <<'END' 2995Oops! 2996 2997Your 'rm' program seems unable to run without file operands specified 2998on the command line, even when the '-f' option is present. This is contrary 2999to the behaviour of most rm programs out there, and not conforming with 3000the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3001 3002Please tell bug-automake@gnu.org about your system, including the value 3003of your $PATH and any error possibly output before this message. This 3004can help us improve future automake versions. 3005 3006END 3007 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3008 echo 'Configuration will proceed anyway, since you have set the' >&2 3009 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3010 echo >&2 3011 else 3012 cat >&2 <<'END' 3013Aborting the configuration process, to ensure you take notice of the issue. 3014 3015You can download and install GNU coreutils to get an 'rm' implementation 3016that behaves properly: <http://www.gnu.org/software/coreutils/>. 3017 3018If you want to complete the configuration process using your problematic 3019'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3020to "yes", and re-run configure. 3021 3022END 3023 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3024 fi 3025fi 3026 3027DEPDIR="${am__leading_dot}deps" 3028 3029ac_config_commands="$ac_config_commands depfiles" 3030 3031 3032am_make=${MAKE-make} 3033cat > confinc << 'END' 3034am__doit: 3035 @echo this is the am__doit target 3036.PHONY: am__doit 3037END 3038# If we don't find an include directive, just comment out the code. 3039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3040$as_echo_n "checking for style of include used by $am_make... " >&6; } 3041am__include="#" 3042am__quote= 3043_am_result=none 3044# First try GNU make style include. 3045echo "include confinc" > confmf 3046# Ignore all kinds of additional output from 'make'. 3047case `$am_make -s -f confmf 2> /dev/null` in #( 3048*the\ am__doit\ target*) 3049 am__include=include 3050 am__quote= 3051 _am_result=GNU 3052 ;; 3053esac 3054# Now try BSD make style include. 3055if test "$am__include" = "#"; then 3056 echo '.include "confinc"' > confmf 3057 case `$am_make -s -f confmf 2> /dev/null` in #( 3058 *the\ am__doit\ target*) 3059 am__include=.include 3060 am__quote="\"" 3061 _am_result=BSD 3062 ;; 3063 esac 3064fi 3065 3066 3067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3068$as_echo "$_am_result" >&6; } 3069rm -f confinc confmf 3070 3071# Check whether --enable-dependency-tracking was given. 3072if test "${enable_dependency_tracking+set}" = set; then : 3073 enableval=$enable_dependency_tracking; 3074fi 3075 3076if test "x$enable_dependency_tracking" != xno; then 3077 am_depcomp="$ac_aux_dir/depcomp" 3078 AMDEPBACKSLASH='\' 3079 am__nodep='_no' 3080fi 3081 if test "x$enable_dependency_tracking" != xno; then 3082 AMDEP_TRUE= 3083 AMDEP_FALSE='#' 3084else 3085 AMDEP_TRUE='#' 3086 AMDEP_FALSE= 3087fi 3088 3089 3090ac_ext=c 3091ac_cpp='$CPP $CPPFLAGS' 3092ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3093ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3094ac_compiler_gnu=$ac_cv_c_compiler_gnu 3095if test -n "$ac_tool_prefix"; then 3096 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3097set dummy ${ac_tool_prefix}gcc; ac_word=$2 3098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3099$as_echo_n "checking for $ac_word... " >&6; } 3100if ${ac_cv_prog_CC+:} false; then : 3101 $as_echo_n "(cached) " >&6 3102else 3103 if test -n "$CC"; then 3104 ac_cv_prog_CC="$CC" # Let the user override the test. 3105else 3106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3107for as_dir in $PATH 3108do 3109 IFS=$as_save_IFS 3110 test -z "$as_dir" && as_dir=. 3111 for ac_exec_ext in '' $ac_executable_extensions; do 3112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3113 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3115 break 2 3116 fi 3117done 3118 done 3119IFS=$as_save_IFS 3120 3121fi 3122fi 3123CC=$ac_cv_prog_CC 3124if test -n "$CC"; then 3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3126$as_echo "$CC" >&6; } 3127else 3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3129$as_echo "no" >&6; } 3130fi 3131 3132 3133fi 3134if test -z "$ac_cv_prog_CC"; then 3135 ac_ct_CC=$CC 3136 # Extract the first word of "gcc", so it can be a program name with args. 3137set dummy gcc; ac_word=$2 3138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3139$as_echo_n "checking for $ac_word... " >&6; } 3140if ${ac_cv_prog_ac_ct_CC+:} false; then : 3141 $as_echo_n "(cached) " >&6 3142else 3143 if test -n "$ac_ct_CC"; then 3144 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3145else 3146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3147for as_dir in $PATH 3148do 3149 IFS=$as_save_IFS 3150 test -z "$as_dir" && as_dir=. 3151 for ac_exec_ext in '' $ac_executable_extensions; do 3152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3153 ac_cv_prog_ac_ct_CC="gcc" 3154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3155 break 2 3156 fi 3157done 3158 done 3159IFS=$as_save_IFS 3160 3161fi 3162fi 3163ac_ct_CC=$ac_cv_prog_ac_ct_CC 3164if test -n "$ac_ct_CC"; then 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3166$as_echo "$ac_ct_CC" >&6; } 3167else 3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3169$as_echo "no" >&6; } 3170fi 3171 3172 if test "x$ac_ct_CC" = x; then 3173 CC="" 3174 else 3175 case $cross_compiling:$ac_tool_warned in 3176yes:) 3177{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3178$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3179ac_tool_warned=yes ;; 3180esac 3181 CC=$ac_ct_CC 3182 fi 3183else 3184 CC="$ac_cv_prog_CC" 3185fi 3186 3187if test -z "$CC"; then 3188 if test -n "$ac_tool_prefix"; then 3189 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3190set dummy ${ac_tool_prefix}cc; 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_CC+:} false; then : 3194 $as_echo_n "(cached) " >&6 3195else 3196 if test -n "$CC"; then 3197 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}cc" 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 3216CC=$ac_cv_prog_CC 3217if test -n "$CC"; then 3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3219$as_echo "$CC" >&6; } 3220else 3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3222$as_echo "no" >&6; } 3223fi 3224 3225 3226 fi 3227fi 3228if test -z "$CC"; then 3229 # Extract the first word of "cc", so it can be a program name with args. 3230set dummy cc; ac_word=$2 3231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3232$as_echo_n "checking for $ac_word... " >&6; } 3233if ${ac_cv_prog_CC+:} false; then : 3234 $as_echo_n "(cached) " >&6 3235else 3236 if test -n "$CC"; then 3237 ac_cv_prog_CC="$CC" # Let the user override the test. 3238else 3239 ac_prog_rejected=no 3240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3241for as_dir in $PATH 3242do 3243 IFS=$as_save_IFS 3244 test -z "$as_dir" && as_dir=. 3245 for ac_exec_ext in '' $ac_executable_extensions; do 3246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3247 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3248 ac_prog_rejected=yes 3249 continue 3250 fi 3251 ac_cv_prog_CC="cc" 3252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3253 break 2 3254 fi 3255done 3256 done 3257IFS=$as_save_IFS 3258 3259if test $ac_prog_rejected = yes; then 3260 # We found a bogon in the path, so make sure we never use it. 3261 set dummy $ac_cv_prog_CC 3262 shift 3263 if test $# != 0; then 3264 # We chose a different compiler from the bogus one. 3265 # However, it has the same basename, so the bogon will be chosen 3266 # first if we set CC to just the basename; use the full file name. 3267 shift 3268 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3269 fi 3270fi 3271fi 3272fi 3273CC=$ac_cv_prog_CC 3274if test -n "$CC"; then 3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3276$as_echo "$CC" >&6; } 3277else 3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3279$as_echo "no" >&6; } 3280fi 3281 3282 3283fi 3284if test -z "$CC"; then 3285 if test -n "$ac_tool_prefix"; then 3286 for ac_prog in cl.exe 3287 do 3288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3289set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3291$as_echo_n "checking for $ac_word... " >&6; } 3292if ${ac_cv_prog_CC+:} false; then : 3293 $as_echo_n "(cached) " >&6 3294else 3295 if test -n "$CC"; then 3296 ac_cv_prog_CC="$CC" # Let the user override the test. 3297else 3298as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3299for as_dir in $PATH 3300do 3301 IFS=$as_save_IFS 3302 test -z "$as_dir" && as_dir=. 3303 for ac_exec_ext in '' $ac_executable_extensions; do 3304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3305 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3307 break 2 3308 fi 3309done 3310 done 3311IFS=$as_save_IFS 3312 3313fi 3314fi 3315CC=$ac_cv_prog_CC 3316if test -n "$CC"; then 3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3318$as_echo "$CC" >&6; } 3319else 3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3321$as_echo "no" >&6; } 3322fi 3323 3324 3325 test -n "$CC" && break 3326 done 3327fi 3328if test -z "$CC"; then 3329 ac_ct_CC=$CC 3330 for ac_prog in cl.exe 3331do 3332 # Extract the first word of "$ac_prog", so it can be a program name with args. 3333set dummy $ac_prog; ac_word=$2 3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3335$as_echo_n "checking for $ac_word... " >&6; } 3336if ${ac_cv_prog_ac_ct_CC+:} false; then : 3337 $as_echo_n "(cached) " >&6 3338else 3339 if test -n "$ac_ct_CC"; then 3340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3341else 3342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3343for as_dir in $PATH 3344do 3345 IFS=$as_save_IFS 3346 test -z "$as_dir" && as_dir=. 3347 for ac_exec_ext in '' $ac_executable_extensions; do 3348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3349 ac_cv_prog_ac_ct_CC="$ac_prog" 3350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3351 break 2 3352 fi 3353done 3354 done 3355IFS=$as_save_IFS 3356 3357fi 3358fi 3359ac_ct_CC=$ac_cv_prog_ac_ct_CC 3360if test -n "$ac_ct_CC"; then 3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3362$as_echo "$ac_ct_CC" >&6; } 3363else 3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3365$as_echo "no" >&6; } 3366fi 3367 3368 3369 test -n "$ac_ct_CC" && break 3370done 3371 3372 if test "x$ac_ct_CC" = x; then 3373 CC="" 3374 else 3375 case $cross_compiling:$ac_tool_warned in 3376yes:) 3377{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3378$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3379ac_tool_warned=yes ;; 3380esac 3381 CC=$ac_ct_CC 3382 fi 3383fi 3384 3385fi 3386 3387 3388test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3389$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3390as_fn_error $? "no acceptable C compiler found in \$PATH 3391See \`config.log' for more details" "$LINENO" 5; } 3392 3393# Provide some information about the compiler. 3394$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3395set X $ac_compile 3396ac_compiler=$2 3397for ac_option in --version -v -V -qversion; do 3398 { { ac_try="$ac_compiler $ac_option >&5" 3399case "(($ac_try" in 3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3401 *) ac_try_echo=$ac_try;; 3402esac 3403eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3404$as_echo "$ac_try_echo"; } >&5 3405 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3406 ac_status=$? 3407 if test -s conftest.err; then 3408 sed '10a\ 3409... rest of stderr output deleted ... 3410 10q' conftest.err >conftest.er1 3411 cat conftest.er1 >&5 3412 fi 3413 rm -f conftest.er1 conftest.err 3414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3415 test $ac_status = 0; } 3416done 3417 3418cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3419/* end confdefs.h. */ 3420 3421int 3422main () 3423{ 3424 3425 ; 3426 return 0; 3427} 3428_ACEOF 3429ac_clean_files_save=$ac_clean_files 3430ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3431# Try to create an executable without -o first, disregard a.out. 3432# It will help us diagnose broken compilers, and finding out an intuition 3433# of exeext. 3434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3435$as_echo_n "checking whether the C compiler works... " >&6; } 3436ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3437 3438# The possible output files: 3439ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3440 3441ac_rmfiles= 3442for ac_file in $ac_files 3443do 3444 case $ac_file in 3445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3446 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3447 esac 3448done 3449rm -f $ac_rmfiles 3450 3451if { { ac_try="$ac_link_default" 3452case "(($ac_try" in 3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3454 *) ac_try_echo=$ac_try;; 3455esac 3456eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3457$as_echo "$ac_try_echo"; } >&5 3458 (eval "$ac_link_default") 2>&5 3459 ac_status=$? 3460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3461 test $ac_status = 0; }; then : 3462 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3463# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3464# in a Makefile. We should not override ac_cv_exeext if it was cached, 3465# so that the user can short-circuit this test for compilers unknown to 3466# Autoconf. 3467for ac_file in $ac_files '' 3468do 3469 test -f "$ac_file" || continue 3470 case $ac_file in 3471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3472 ;; 3473 [ab].out ) 3474 # We found the default executable, but exeext='' is most 3475 # certainly right. 3476 break;; 3477 *.* ) 3478 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3479 then :; else 3480 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3481 fi 3482 # We set ac_cv_exeext here because the later test for it is not 3483 # safe: cross compilers may not add the suffix if given an `-o' 3484 # argument, so we may need to know it at that point already. 3485 # Even if this section looks crufty: it has the advantage of 3486 # actually working. 3487 break;; 3488 * ) 3489 break;; 3490 esac 3491done 3492test "$ac_cv_exeext" = no && ac_cv_exeext= 3493 3494else 3495 ac_file='' 3496fi 3497if test -z "$ac_file"; then : 3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3499$as_echo "no" >&6; } 3500$as_echo "$as_me: failed program was:" >&5 3501sed 's/^/| /' conftest.$ac_ext >&5 3502 3503{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3504$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3505as_fn_error 77 "C compiler cannot create executables 3506See \`config.log' for more details" "$LINENO" 5; } 3507else 3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3509$as_echo "yes" >&6; } 3510fi 3511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3512$as_echo_n "checking for C compiler default output file name... " >&6; } 3513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3514$as_echo "$ac_file" >&6; } 3515ac_exeext=$ac_cv_exeext 3516 3517rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3518ac_clean_files=$ac_clean_files_save 3519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3520$as_echo_n "checking for suffix of executables... " >&6; } 3521if { { ac_try="$ac_link" 3522case "(($ac_try" in 3523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3524 *) ac_try_echo=$ac_try;; 3525esac 3526eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3527$as_echo "$ac_try_echo"; } >&5 3528 (eval "$ac_link") 2>&5 3529 ac_status=$? 3530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3531 test $ac_status = 0; }; then : 3532 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3533# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3534# work properly (i.e., refer to `conftest.exe'), while it won't with 3535# `rm'. 3536for ac_file in conftest.exe conftest conftest.*; do 3537 test -f "$ac_file" || continue 3538 case $ac_file in 3539 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3540 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3541 break;; 3542 * ) break;; 3543 esac 3544done 3545else 3546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3547$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3548as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3549See \`config.log' for more details" "$LINENO" 5; } 3550fi 3551rm -f conftest conftest$ac_cv_exeext 3552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3553$as_echo "$ac_cv_exeext" >&6; } 3554 3555rm -f conftest.$ac_ext 3556EXEEXT=$ac_cv_exeext 3557ac_exeext=$EXEEXT 3558cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3559/* end confdefs.h. */ 3560#include <stdio.h> 3561int 3562main () 3563{ 3564FILE *f = fopen ("conftest.out", "w"); 3565 return ferror (f) || fclose (f) != 0; 3566 3567 ; 3568 return 0; 3569} 3570_ACEOF 3571ac_clean_files="$ac_clean_files conftest.out" 3572# Check that the compiler produces executables we can run. If not, either 3573# the compiler is broken, or we cross compile. 3574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3575$as_echo_n "checking whether we are cross compiling... " >&6; } 3576if test "$cross_compiling" != yes; then 3577 { { ac_try="$ac_link" 3578case "(($ac_try" in 3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3580 *) ac_try_echo=$ac_try;; 3581esac 3582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3583$as_echo "$ac_try_echo"; } >&5 3584 (eval "$ac_link") 2>&5 3585 ac_status=$? 3586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3587 test $ac_status = 0; } 3588 if { ac_try='./conftest$ac_cv_exeext' 3589 { { case "(($ac_try" in 3590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3591 *) ac_try_echo=$ac_try;; 3592esac 3593eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3594$as_echo "$ac_try_echo"; } >&5 3595 (eval "$ac_try") 2>&5 3596 ac_status=$? 3597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3598 test $ac_status = 0; }; }; then 3599 cross_compiling=no 3600 else 3601 if test "$cross_compiling" = maybe; then 3602 cross_compiling=yes 3603 else 3604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3605$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3606as_fn_error $? "cannot run C compiled programs. 3607If you meant to cross compile, use \`--host'. 3608See \`config.log' for more details" "$LINENO" 5; } 3609 fi 3610 fi 3611fi 3612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3613$as_echo "$cross_compiling" >&6; } 3614 3615rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3616ac_clean_files=$ac_clean_files_save 3617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3618$as_echo_n "checking for suffix of object files... " >&6; } 3619if ${ac_cv_objext+:} false; then : 3620 $as_echo_n "(cached) " >&6 3621else 3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3623/* end confdefs.h. */ 3624 3625int 3626main () 3627{ 3628 3629 ; 3630 return 0; 3631} 3632_ACEOF 3633rm -f conftest.o conftest.obj 3634if { { ac_try="$ac_compile" 3635case "(($ac_try" in 3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3637 *) ac_try_echo=$ac_try;; 3638esac 3639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3640$as_echo "$ac_try_echo"; } >&5 3641 (eval "$ac_compile") 2>&5 3642 ac_status=$? 3643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3644 test $ac_status = 0; }; then : 3645 for ac_file in conftest.o conftest.obj conftest.*; do 3646 test -f "$ac_file" || continue; 3647 case $ac_file in 3648 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3649 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3650 break;; 3651 esac 3652done 3653else 3654 $as_echo "$as_me: failed program was:" >&5 3655sed 's/^/| /' conftest.$ac_ext >&5 3656 3657{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3658$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3659as_fn_error $? "cannot compute suffix of object files: cannot compile 3660See \`config.log' for more details" "$LINENO" 5; } 3661fi 3662rm -f conftest.$ac_cv_objext conftest.$ac_ext 3663fi 3664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3665$as_echo "$ac_cv_objext" >&6; } 3666OBJEXT=$ac_cv_objext 3667ac_objext=$OBJEXT 3668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3669$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3670if ${ac_cv_c_compiler_gnu+:} false; then : 3671 $as_echo_n "(cached) " >&6 3672else 3673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3674/* end confdefs.h. */ 3675 3676int 3677main () 3678{ 3679#ifndef __GNUC__ 3680 choke me 3681#endif 3682 3683 ; 3684 return 0; 3685} 3686_ACEOF 3687if ac_fn_c_try_compile "$LINENO"; then : 3688 ac_compiler_gnu=yes 3689else 3690 ac_compiler_gnu=no 3691fi 3692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3693ac_cv_c_compiler_gnu=$ac_compiler_gnu 3694 3695fi 3696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3697$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3698if test $ac_compiler_gnu = yes; then 3699 GCC=yes 3700else 3701 GCC= 3702fi 3703ac_test_CFLAGS=${CFLAGS+set} 3704ac_save_CFLAGS=$CFLAGS 3705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3706$as_echo_n "checking whether $CC accepts -g... " >&6; } 3707if ${ac_cv_prog_cc_g+:} false; then : 3708 $as_echo_n "(cached) " >&6 3709else 3710 ac_save_c_werror_flag=$ac_c_werror_flag 3711 ac_c_werror_flag=yes 3712 ac_cv_prog_cc_g=no 3713 CFLAGS="-g" 3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3715/* end confdefs.h. */ 3716 3717int 3718main () 3719{ 3720 3721 ; 3722 return 0; 3723} 3724_ACEOF 3725if ac_fn_c_try_compile "$LINENO"; then : 3726 ac_cv_prog_cc_g=yes 3727else 3728 CFLAGS="" 3729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3730/* end confdefs.h. */ 3731 3732int 3733main () 3734{ 3735 3736 ; 3737 return 0; 3738} 3739_ACEOF 3740if ac_fn_c_try_compile "$LINENO"; then : 3741 3742else 3743 ac_c_werror_flag=$ac_save_c_werror_flag 3744 CFLAGS="-g" 3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3746/* end confdefs.h. */ 3747 3748int 3749main () 3750{ 3751 3752 ; 3753 return 0; 3754} 3755_ACEOF 3756if ac_fn_c_try_compile "$LINENO"; then : 3757 ac_cv_prog_cc_g=yes 3758fi 3759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3760fi 3761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3762fi 3763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3764 ac_c_werror_flag=$ac_save_c_werror_flag 3765fi 3766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3767$as_echo "$ac_cv_prog_cc_g" >&6; } 3768if test "$ac_test_CFLAGS" = set; then 3769 CFLAGS=$ac_save_CFLAGS 3770elif test $ac_cv_prog_cc_g = yes; then 3771 if test "$GCC" = yes; then 3772 CFLAGS="-g -O2" 3773 else 3774 CFLAGS="-g" 3775 fi 3776else 3777 if test "$GCC" = yes; then 3778 CFLAGS="-O2" 3779 else 3780 CFLAGS= 3781 fi 3782fi 3783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3784$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3785if ${ac_cv_prog_cc_c89+:} false; then : 3786 $as_echo_n "(cached) " >&6 3787else 3788 ac_cv_prog_cc_c89=no 3789ac_save_CC=$CC 3790cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3791/* end confdefs.h. */ 3792#include <stdarg.h> 3793#include <stdio.h> 3794struct stat; 3795/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3796struct buf { int x; }; 3797FILE * (*rcsopen) (struct buf *, struct stat *, int); 3798static char *e (p, i) 3799 char **p; 3800 int i; 3801{ 3802 return p[i]; 3803} 3804static char *f (char * (*g) (char **, int), char **p, ...) 3805{ 3806 char *s; 3807 va_list v; 3808 va_start (v,p); 3809 s = g (p, va_arg (v,int)); 3810 va_end (v); 3811 return s; 3812} 3813 3814/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3815 function prototypes and stuff, but not '\xHH' hex character constants. 3816 These don't provoke an error unfortunately, instead are silently treated 3817 as 'x'. The following induces an error, until -std is added to get 3818 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3819 array size at least. It's necessary to write '\x00'==0 to get something 3820 that's true only with -std. */ 3821int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3822 3823/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3824 inside strings and character constants. */ 3825#define FOO(x) 'x' 3826int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3827 3828int test (int i, double x); 3829struct s1 {int (*f) (int a);}; 3830struct s2 {int (*f) (double a);}; 3831int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3832int argc; 3833char **argv; 3834int 3835main () 3836{ 3837return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3838 ; 3839 return 0; 3840} 3841_ACEOF 3842for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3843 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3844do 3845 CC="$ac_save_CC $ac_arg" 3846 if ac_fn_c_try_compile "$LINENO"; then : 3847 ac_cv_prog_cc_c89=$ac_arg 3848fi 3849rm -f core conftest.err conftest.$ac_objext 3850 test "x$ac_cv_prog_cc_c89" != "xno" && break 3851done 3852rm -f conftest.$ac_ext 3853CC=$ac_save_CC 3854 3855fi 3856# AC_CACHE_VAL 3857case "x$ac_cv_prog_cc_c89" in 3858 x) 3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3860$as_echo "none needed" >&6; } ;; 3861 xno) 3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3863$as_echo "unsupported" >&6; } ;; 3864 *) 3865 CC="$CC $ac_cv_prog_cc_c89" 3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3867$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3868esac 3869if test "x$ac_cv_prog_cc_c89" != xno; then : 3870 3871fi 3872 3873ac_ext=c 3874ac_cpp='$CPP $CPPFLAGS' 3875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3877ac_compiler_gnu=$ac_cv_c_compiler_gnu 3878 3879ac_ext=c 3880ac_cpp='$CPP $CPPFLAGS' 3881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3883ac_compiler_gnu=$ac_cv_c_compiler_gnu 3884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3885$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3886if ${am_cv_prog_cc_c_o+:} false; then : 3887 $as_echo_n "(cached) " >&6 3888else 3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3890/* end confdefs.h. */ 3891 3892int 3893main () 3894{ 3895 3896 ; 3897 return 0; 3898} 3899_ACEOF 3900 # Make sure it works both with $CC and with simple cc. 3901 # Following AC_PROG_CC_C_O, we do the test twice because some 3902 # compilers refuse to overwrite an existing .o file with -o, 3903 # though they will create one. 3904 am_cv_prog_cc_c_o=yes 3905 for am_i in 1 2; do 3906 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3907 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3908 ac_status=$? 3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3910 (exit $ac_status); } \ 3911 && test -f conftest2.$ac_objext; then 3912 : OK 3913 else 3914 am_cv_prog_cc_c_o=no 3915 break 3916 fi 3917 done 3918 rm -f core conftest* 3919 unset am_i 3920fi 3921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3922$as_echo "$am_cv_prog_cc_c_o" >&6; } 3923if test "$am_cv_prog_cc_c_o" != yes; then 3924 # Losing compiler, so override with the script. 3925 # FIXME: It is wrong to rewrite CC. 3926 # But if we don't then we get into trouble of one sort or another. 3927 # A longer-term fix would be to have automake use am__CC in this case, 3928 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3929 CC="$am_aux_dir/compile $CC" 3930fi 3931ac_ext=c 3932ac_cpp='$CPP $CPPFLAGS' 3933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3935ac_compiler_gnu=$ac_cv_c_compiler_gnu 3936 3937 3938depcc="$CC" am_compiler_list= 3939 3940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3941$as_echo_n "checking dependency style of $depcc... " >&6; } 3942if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3943 $as_echo_n "(cached) " >&6 3944else 3945 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3946 # We make a subdir and do the tests there. Otherwise we can end up 3947 # making bogus files that we don't know about and never remove. For 3948 # instance it was reported that on HP-UX the gcc test will end up 3949 # making a dummy file named 'D' -- because '-MD' means "put the output 3950 # in D". 3951 rm -rf conftest.dir 3952 mkdir conftest.dir 3953 # Copy depcomp to subdir because otherwise we won't find it if we're 3954 # using a relative directory. 3955 cp "$am_depcomp" conftest.dir 3956 cd conftest.dir 3957 # We will build objects and dependencies in a subdirectory because 3958 # it helps to detect inapplicable dependency modes. For instance 3959 # both Tru64's cc and ICC support -MD to output dependencies as a 3960 # side effect of compilation, but ICC will put the dependencies in 3961 # the current directory while Tru64 will put them in the object 3962 # directory. 3963 mkdir sub 3964 3965 am_cv_CC_dependencies_compiler_type=none 3966 if test "$am_compiler_list" = ""; then 3967 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3968 fi 3969 am__universal=false 3970 case " $depcc " in #( 3971 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3972 esac 3973 3974 for depmode in $am_compiler_list; do 3975 # Setup a source with many dependencies, because some compilers 3976 # like to wrap large dependency lists on column 80 (with \), and 3977 # we should not choose a depcomp mode which is confused by this. 3978 # 3979 # We need to recreate these files for each test, as the compiler may 3980 # overwrite some of them when testing with obscure command lines. 3981 # This happens at least with the AIX C compiler. 3982 : > sub/conftest.c 3983 for i in 1 2 3 4 5 6; do 3984 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3985 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3986 # Solaris 10 /bin/sh. 3987 echo '/* dummy */' > sub/conftst$i.h 3988 done 3989 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3990 3991 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3992 # mode. It turns out that the SunPro C++ compiler does not properly 3993 # handle '-M -o', and we need to detect this. Also, some Intel 3994 # versions had trouble with output in subdirs. 3995 am__obj=sub/conftest.${OBJEXT-o} 3996 am__minus_obj="-o $am__obj" 3997 case $depmode in 3998 gcc) 3999 # This depmode causes a compiler race in universal mode. 4000 test "$am__universal" = false || continue 4001 ;; 4002 nosideeffect) 4003 # After this tag, mechanisms are not by side-effect, so they'll 4004 # only be used when explicitly requested. 4005 if test "x$enable_dependency_tracking" = xyes; then 4006 continue 4007 else 4008 break 4009 fi 4010 ;; 4011 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4012 # This compiler won't grok '-c -o', but also, the minuso test has 4013 # not run yet. These depmodes are late enough in the game, and 4014 # so weak that their functioning should not be impacted. 4015 am__obj=conftest.${OBJEXT-o} 4016 am__minus_obj= 4017 ;; 4018 none) break ;; 4019 esac 4020 if depmode=$depmode \ 4021 source=sub/conftest.c object=$am__obj \ 4022 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4023 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4024 >/dev/null 2>conftest.err && 4025 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4026 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4027 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4028 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4029 # icc doesn't choke on unknown options, it will just issue warnings 4030 # or remarks (even with -Werror). So we grep stderr for any message 4031 # that says an option was ignored or not supported. 4032 # When given -MP, icc 7.0 and 7.1 complain thusly: 4033 # icc: Command line warning: ignoring option '-M'; no argument required 4034 # The diagnosis changed in icc 8.0: 4035 # icc: Command line remark: option '-MP' not supported 4036 if (grep 'ignoring option' conftest.err || 4037 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4038 am_cv_CC_dependencies_compiler_type=$depmode 4039 break 4040 fi 4041 fi 4042 done 4043 4044 cd .. 4045 rm -rf conftest.dir 4046else 4047 am_cv_CC_dependencies_compiler_type=none 4048fi 4049 4050fi 4051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4052$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4053CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4054 4055 if 4056 test "x$enable_dependency_tracking" != xno \ 4057 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4058 am__fastdepCC_TRUE= 4059 am__fastdepCC_FALSE='#' 4060else 4061 am__fastdepCC_TRUE='#' 4062 am__fastdepCC_FALSE= 4063fi 4064 4065 4066 4067if test -n "$ac_tool_prefix"; then 4068 for ac_prog in ar lib "link -lib" 4069 do 4070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4071set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4073$as_echo_n "checking for $ac_word... " >&6; } 4074if ${ac_cv_prog_AR+:} false; then : 4075 $as_echo_n "(cached) " >&6 4076else 4077 if test -n "$AR"; then 4078 ac_cv_prog_AR="$AR" # Let the user override the test. 4079else 4080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4081for as_dir in $PATH 4082do 4083 IFS=$as_save_IFS 4084 test -z "$as_dir" && as_dir=. 4085 for ac_exec_ext in '' $ac_executable_extensions; do 4086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4087 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4089 break 2 4090 fi 4091done 4092 done 4093IFS=$as_save_IFS 4094 4095fi 4096fi 4097AR=$ac_cv_prog_AR 4098if test -n "$AR"; then 4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4100$as_echo "$AR" >&6; } 4101else 4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4103$as_echo "no" >&6; } 4104fi 4105 4106 4107 test -n "$AR" && break 4108 done 4109fi 4110if test -z "$AR"; then 4111 ac_ct_AR=$AR 4112 for ac_prog in ar lib "link -lib" 4113do 4114 # Extract the first word of "$ac_prog", so it can be a program name with args. 4115set dummy $ac_prog; ac_word=$2 4116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4117$as_echo_n "checking for $ac_word... " >&6; } 4118if ${ac_cv_prog_ac_ct_AR+:} false; then : 4119 $as_echo_n "(cached) " >&6 4120else 4121 if test -n "$ac_ct_AR"; then 4122 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4123else 4124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4125for as_dir in $PATH 4126do 4127 IFS=$as_save_IFS 4128 test -z "$as_dir" && as_dir=. 4129 for ac_exec_ext in '' $ac_executable_extensions; do 4130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4131 ac_cv_prog_ac_ct_AR="$ac_prog" 4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4133 break 2 4134 fi 4135done 4136 done 4137IFS=$as_save_IFS 4138 4139fi 4140fi 4141ac_ct_AR=$ac_cv_prog_ac_ct_AR 4142if test -n "$ac_ct_AR"; then 4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4144$as_echo "$ac_ct_AR" >&6; } 4145else 4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4147$as_echo "no" >&6; } 4148fi 4149 4150 4151 test -n "$ac_ct_AR" && break 4152done 4153 4154 if test "x$ac_ct_AR" = x; then 4155 AR="false" 4156 else 4157 case $cross_compiling:$ac_tool_warned in 4158yes:) 4159{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4160$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4161ac_tool_warned=yes ;; 4162esac 4163 AR=$ac_ct_AR 4164 fi 4165fi 4166 4167: ${AR=ar} 4168 4169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 4170$as_echo_n "checking the archiver ($AR) interface... " >&6; } 4171if ${am_cv_ar_interface+:} false; then : 4172 $as_echo_n "(cached) " >&6 4173else 4174 ac_ext=c 4175ac_cpp='$CPP $CPPFLAGS' 4176ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4177ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4178ac_compiler_gnu=$ac_cv_c_compiler_gnu 4179 4180 am_cv_ar_interface=ar 4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4182/* end confdefs.h. */ 4183int some_variable = 0; 4184_ACEOF 4185if ac_fn_c_try_compile "$LINENO"; then : 4186 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 4187 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4188 (eval $am_ar_try) 2>&5 4189 ac_status=$? 4190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4191 test $ac_status = 0; } 4192 if test "$ac_status" -eq 0; then 4193 am_cv_ar_interface=ar 4194 else 4195 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 4196 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4197 (eval $am_ar_try) 2>&5 4198 ac_status=$? 4199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4200 test $ac_status = 0; } 4201 if test "$ac_status" -eq 0; then 4202 am_cv_ar_interface=lib 4203 else 4204 am_cv_ar_interface=unknown 4205 fi 4206 fi 4207 rm -f conftest.lib libconftest.a 4208 4209fi 4210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4211 ac_ext=c 4212ac_cpp='$CPP $CPPFLAGS' 4213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4215ac_compiler_gnu=$ac_cv_c_compiler_gnu 4216 4217fi 4218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 4219$as_echo "$am_cv_ar_interface" >&6; } 4220 4221case $am_cv_ar_interface in 4222ar) 4223 ;; 4224lib) 4225 # Microsoft lib, so override with the ar-lib wrapper script. 4226 # FIXME: It is wrong to rewrite AR. 4227 # But if we don't then we get into trouble of one sort or another. 4228 # A longer-term fix would be to have automake use am__AR in this case, 4229 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 4230 # similar. 4231 AR="$am_aux_dir/ar-lib $AR" 4232 ;; 4233unknown) 4234 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 4235 ;; 4236esac 4237 4238 4239libdiscid_MAJOR=0 4240libdiscid_MINOR=6 4241libdiscid_PATCH=2 4242 4243libdiscid_VERSION_LT=${libdiscid_MAJOR}:${libdiscid_MINOR}:${libdiscid_PATCH} 4244libdiscid_VERSION_RC=${libdiscid_MAJOR},${libdiscid_MINOR},${libdiscid_PATCH},0 4245if test $libdiscid_PATCH -lt 10; then 4246 libdiscid_VERSION_NUM=${libdiscid_MINOR}0${libdiscid_PATCH} 4247else 4248 libdiscid_VERSION_NUM=${libdiscid_MINOR}${libdiscid_PATCH} 4249fi 4250 4251 4252 4253 4254 4255 4256 4257 4258# Make sure we can run config.sub. 4259$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4260 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4261 4262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4263$as_echo_n "checking build system type... " >&6; } 4264if ${ac_cv_build+:} false; then : 4265 $as_echo_n "(cached) " >&6 4266else 4267 ac_build_alias=$build_alias 4268test "x$ac_build_alias" = x && 4269 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4270test "x$ac_build_alias" = x && 4271 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4272ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4273 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4274 4275fi 4276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4277$as_echo "$ac_cv_build" >&6; } 4278case $ac_cv_build in 4279*-*-*) ;; 4280*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4281esac 4282build=$ac_cv_build 4283ac_save_IFS=$IFS; IFS='-' 4284set x $ac_cv_build 4285shift 4286build_cpu=$1 4287build_vendor=$2 4288shift; shift 4289# Remember, the first character of IFS is used to create $*, 4290# except with old shells: 4291build_os=$* 4292IFS=$ac_save_IFS 4293case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4294 4295 4296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4297$as_echo_n "checking host system type... " >&6; } 4298if ${ac_cv_host+:} false; then : 4299 $as_echo_n "(cached) " >&6 4300else 4301 if test "x$host_alias" = x; then 4302 ac_cv_host=$ac_cv_build 4303else 4304 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4305 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4306fi 4307 4308fi 4309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4310$as_echo "$ac_cv_host" >&6; } 4311case $ac_cv_host in 4312*-*-*) ;; 4313*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4314esac 4315host=$ac_cv_host 4316ac_save_IFS=$IFS; IFS='-' 4317set x $ac_cv_host 4318shift 4319host_cpu=$1 4320host_vendor=$2 4321shift; shift 4322# Remember, the first character of IFS is used to create $*, 4323# except with old shells: 4324host_os=$* 4325IFS=$ac_save_IFS 4326case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4327 4328 4329 4330 4331$as_echo "#define libdiscid_EXPORTS /**/" >>confdefs.h 4332 4333 4334 4335case "${host_cpu}-${host_os}" in 4336 #*-beos*) os=beos;; 4337 *-mingw*) os=win32;; 4338 *-cygwin*) os=win32;; 4339 *-freebsd*) os=freebsd ;; 4340 *-kfreebsd*) os=freebsd ;; 4341 *-dragonfly*) os=freebsd ;; 4342 *-darwin*) os=darwin;; 4343 *-linux*) os=linux ;; 4344 *-netbsd*) os=netbsd ;; 4345 *-openbsd*) os=netbsd ;; 4346 #*-os2_emx*) os=os2 ;; 4347 *-solaris*) os=solaris ;; 4348 #*-qnx*) os=qnx;; 4349 *) os=generic; 4350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported operating system, no disc reading available!" >&5 4351$as_echo "$as_me: WARNING: unsupported operating system, no disc reading available!" >&2;} ;; 4352esac 4353 4354{ $as_echo "$as_me:${as_lineno-$LINENO}: Using disc read implementation for: $os" >&5 4355$as_echo "$as_me: Using disc read implementation for: $os" >&6;} 4356#AM_CONDITIONAL([OS_BEOS], [test x$os = xbeos]) 4357 if test x$os = xdarwin; then 4358 OS_DARWIN_TRUE= 4359 OS_DARWIN_FALSE='#' 4360else 4361 OS_DARWIN_TRUE='#' 4362 OS_DARWIN_FALSE= 4363fi 4364 4365 if test x$os = xfreebsd; then 4366 OS_FREEBSD_TRUE= 4367 OS_FREEBSD_FALSE='#' 4368else 4369 OS_FREEBSD_TRUE='#' 4370 OS_FREEBSD_FALSE= 4371fi 4372 4373 if test x$os = xgeneric; then 4374 OS_GENERIC_TRUE= 4375 OS_GENERIC_FALSE='#' 4376else 4377 OS_GENERIC_TRUE='#' 4378 OS_GENERIC_FALSE= 4379fi 4380 4381 if test x$os = xlinux; then 4382 OS_LINUX_TRUE= 4383 OS_LINUX_FALSE='#' 4384else 4385 OS_LINUX_TRUE='#' 4386 OS_LINUX_FALSE= 4387fi 4388 4389 if test x$os = xnetbsd; then 4390 OS_NETBSD_TRUE= 4391 OS_NETBSD_FALSE='#' 4392else 4393 OS_NETBSD_TRUE='#' 4394 OS_NETBSD_FALSE= 4395fi 4396 4397#AM_CONDITIONAL([OS_OS2], [test x$os = xos2]) 4398#AM_CONDITIONAL([OS_QNX], [test x$os = xqnx]) 4399 if test x$os = xsolaris; then 4400 OS_SOLARIS_TRUE= 4401 OS_SOLARIS_FALSE='#' 4402else 4403 OS_SOLARIS_TRUE='#' 4404 OS_SOLARIS_FALSE= 4405fi 4406 4407 if test x$os = xwin32; then 4408 OS_WIN32_TRUE= 4409 OS_WIN32_FALSE='#' 4410else 4411 OS_WIN32_TRUE='#' 4412 OS_WIN32_FALSE= 4413fi 4414 4415 4416case `pwd` in 4417 *\ * | *\ *) 4418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4419$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4420esac 4421 4422 4423 4424macro_version='2.4.6' 4425macro_revision='2.4.6' 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439ltmain=$ac_aux_dir/ltmain.sh 4440 4441# Backslashify metacharacters that are still active within 4442# double-quoted strings. 4443sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4444 4445# Same as above, but do not quote variable references. 4446double_quote_subst='s/\(["`\\]\)/\\\1/g' 4447 4448# Sed substitution to delay expansion of an escaped shell variable in a 4449# double_quote_subst'ed string. 4450delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4451 4452# Sed substitution to delay expansion of an escaped single quote. 4453delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4454 4455# Sed substitution to avoid accidental globbing in evaled expressions 4456no_glob_subst='s/\*/\\\*/g' 4457 4458ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4459ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4460ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4461 4462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4463$as_echo_n "checking how to print strings... " >&6; } 4464# Test print first, because it will be a builtin if present. 4465if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4466 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4467 ECHO='print -r --' 4468elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4469 ECHO='printf %s\n' 4470else 4471 # Use this function as a fallback that always works. 4472 func_fallback_echo () 4473 { 4474 eval 'cat <<_LTECHO_EOF 4475$1 4476_LTECHO_EOF' 4477 } 4478 ECHO='func_fallback_echo' 4479fi 4480 4481# func_echo_all arg... 4482# Invoke $ECHO with all args, space-separated. 4483func_echo_all () 4484{ 4485 $ECHO "" 4486} 4487 4488case $ECHO in 4489 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4490$as_echo "printf" >&6; } ;; 4491 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4492$as_echo "print -r" >&6; } ;; 4493 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4494$as_echo "cat" >&6; } ;; 4495esac 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4511$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4512if ${ac_cv_path_SED+:} false; then : 4513 $as_echo_n "(cached) " >&6 4514else 4515 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4516 for ac_i in 1 2 3 4 5 6 7; do 4517 ac_script="$ac_script$as_nl$ac_script" 4518 done 4519 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4520 { ac_script=; unset ac_script;} 4521 if test -z "$SED"; then 4522 ac_path_SED_found=false 4523 # Loop through the user's path and test for each of PROGNAME-LIST 4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4525for as_dir in $PATH 4526do 4527 IFS=$as_save_IFS 4528 test -z "$as_dir" && as_dir=. 4529 for ac_prog in sed gsed; do 4530 for ac_exec_ext in '' $ac_executable_extensions; do 4531 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4532 as_fn_executable_p "$ac_path_SED" || continue 4533# Check for GNU ac_path_SED and select it if it is found. 4534 # Check for GNU $ac_path_SED 4535case `"$ac_path_SED" --version 2>&1` in 4536*GNU*) 4537 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4538*) 4539 ac_count=0 4540 $as_echo_n 0123456789 >"conftest.in" 4541 while : 4542 do 4543 cat "conftest.in" "conftest.in" >"conftest.tmp" 4544 mv "conftest.tmp" "conftest.in" 4545 cp "conftest.in" "conftest.nl" 4546 $as_echo '' >> "conftest.nl" 4547 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4548 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4549 as_fn_arith $ac_count + 1 && ac_count=$as_val 4550 if test $ac_count -gt ${ac_path_SED_max-0}; then 4551 # Best one so far, save it but keep looking for a better one 4552 ac_cv_path_SED="$ac_path_SED" 4553 ac_path_SED_max=$ac_count 4554 fi 4555 # 10*(2^10) chars as input seems more than enough 4556 test $ac_count -gt 10 && break 4557 done 4558 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4559esac 4560 4561 $ac_path_SED_found && break 3 4562 done 4563 done 4564 done 4565IFS=$as_save_IFS 4566 if test -z "$ac_cv_path_SED"; then 4567 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4568 fi 4569else 4570 ac_cv_path_SED=$SED 4571fi 4572 4573fi 4574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4575$as_echo "$ac_cv_path_SED" >&6; } 4576 SED="$ac_cv_path_SED" 4577 rm -f conftest.sed 4578 4579test -z "$SED" && SED=sed 4580Xsed="$SED -e 1s/^X//" 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4593$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4594if ${ac_cv_path_GREP+:} false; then : 4595 $as_echo_n "(cached) " >&6 4596else 4597 if test -z "$GREP"; then 4598 ac_path_GREP_found=false 4599 # Loop through the user's path and test for each of PROGNAME-LIST 4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4601for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4602do 4603 IFS=$as_save_IFS 4604 test -z "$as_dir" && as_dir=. 4605 for ac_prog in grep ggrep; do 4606 for ac_exec_ext in '' $ac_executable_extensions; do 4607 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4608 as_fn_executable_p "$ac_path_GREP" || continue 4609# Check for GNU ac_path_GREP and select it if it is found. 4610 # Check for GNU $ac_path_GREP 4611case `"$ac_path_GREP" --version 2>&1` in 4612*GNU*) 4613 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4614*) 4615 ac_count=0 4616 $as_echo_n 0123456789 >"conftest.in" 4617 while : 4618 do 4619 cat "conftest.in" "conftest.in" >"conftest.tmp" 4620 mv "conftest.tmp" "conftest.in" 4621 cp "conftest.in" "conftest.nl" 4622 $as_echo 'GREP' >> "conftest.nl" 4623 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4624 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4625 as_fn_arith $ac_count + 1 && ac_count=$as_val 4626 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4627 # Best one so far, save it but keep looking for a better one 4628 ac_cv_path_GREP="$ac_path_GREP" 4629 ac_path_GREP_max=$ac_count 4630 fi 4631 # 10*(2^10) chars as input seems more than enough 4632 test $ac_count -gt 10 && break 4633 done 4634 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4635esac 4636 4637 $ac_path_GREP_found && break 3 4638 done 4639 done 4640 done 4641IFS=$as_save_IFS 4642 if test -z "$ac_cv_path_GREP"; then 4643 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4644 fi 4645else 4646 ac_cv_path_GREP=$GREP 4647fi 4648 4649fi 4650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4651$as_echo "$ac_cv_path_GREP" >&6; } 4652 GREP="$ac_cv_path_GREP" 4653 4654 4655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4656$as_echo_n "checking for egrep... " >&6; } 4657if ${ac_cv_path_EGREP+:} false; then : 4658 $as_echo_n "(cached) " >&6 4659else 4660 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4661 then ac_cv_path_EGREP="$GREP -E" 4662 else 4663 if test -z "$EGREP"; then 4664 ac_path_EGREP_found=false 4665 # Loop through the user's path and test for each of PROGNAME-LIST 4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4667for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4668do 4669 IFS=$as_save_IFS 4670 test -z "$as_dir" && as_dir=. 4671 for ac_prog in egrep; do 4672 for ac_exec_ext in '' $ac_executable_extensions; do 4673 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4674 as_fn_executable_p "$ac_path_EGREP" || continue 4675# Check for GNU ac_path_EGREP and select it if it is found. 4676 # Check for GNU $ac_path_EGREP 4677case `"$ac_path_EGREP" --version 2>&1` in 4678*GNU*) 4679 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4680*) 4681 ac_count=0 4682 $as_echo_n 0123456789 >"conftest.in" 4683 while : 4684 do 4685 cat "conftest.in" "conftest.in" >"conftest.tmp" 4686 mv "conftest.tmp" "conftest.in" 4687 cp "conftest.in" "conftest.nl" 4688 $as_echo 'EGREP' >> "conftest.nl" 4689 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4690 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4691 as_fn_arith $ac_count + 1 && ac_count=$as_val 4692 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4693 # Best one so far, save it but keep looking for a better one 4694 ac_cv_path_EGREP="$ac_path_EGREP" 4695 ac_path_EGREP_max=$ac_count 4696 fi 4697 # 10*(2^10) chars as input seems more than enough 4698 test $ac_count -gt 10 && break 4699 done 4700 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4701esac 4702 4703 $ac_path_EGREP_found && break 3 4704 done 4705 done 4706 done 4707IFS=$as_save_IFS 4708 if test -z "$ac_cv_path_EGREP"; then 4709 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4710 fi 4711else 4712 ac_cv_path_EGREP=$EGREP 4713fi 4714 4715 fi 4716fi 4717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4718$as_echo "$ac_cv_path_EGREP" >&6; } 4719 EGREP="$ac_cv_path_EGREP" 4720 4721 4722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4723$as_echo_n "checking for fgrep... " >&6; } 4724if ${ac_cv_path_FGREP+:} false; then : 4725 $as_echo_n "(cached) " >&6 4726else 4727 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4728 then ac_cv_path_FGREP="$GREP -F" 4729 else 4730 if test -z "$FGREP"; then 4731 ac_path_FGREP_found=false 4732 # Loop through the user's path and test for each of PROGNAME-LIST 4733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4734for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4735do 4736 IFS=$as_save_IFS 4737 test -z "$as_dir" && as_dir=. 4738 for ac_prog in fgrep; do 4739 for ac_exec_ext in '' $ac_executable_extensions; do 4740 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4741 as_fn_executable_p "$ac_path_FGREP" || continue 4742# Check for GNU ac_path_FGREP and select it if it is found. 4743 # Check for GNU $ac_path_FGREP 4744case `"$ac_path_FGREP" --version 2>&1` in 4745*GNU*) 4746 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4747*) 4748 ac_count=0 4749 $as_echo_n 0123456789 >"conftest.in" 4750 while : 4751 do 4752 cat "conftest.in" "conftest.in" >"conftest.tmp" 4753 mv "conftest.tmp" "conftest.in" 4754 cp "conftest.in" "conftest.nl" 4755 $as_echo 'FGREP' >> "conftest.nl" 4756 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4757 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4758 as_fn_arith $ac_count + 1 && ac_count=$as_val 4759 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4760 # Best one so far, save it but keep looking for a better one 4761 ac_cv_path_FGREP="$ac_path_FGREP" 4762 ac_path_FGREP_max=$ac_count 4763 fi 4764 # 10*(2^10) chars as input seems more than enough 4765 test $ac_count -gt 10 && break 4766 done 4767 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4768esac 4769 4770 $ac_path_FGREP_found && break 3 4771 done 4772 done 4773 done 4774IFS=$as_save_IFS 4775 if test -z "$ac_cv_path_FGREP"; then 4776 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4777 fi 4778else 4779 ac_cv_path_FGREP=$FGREP 4780fi 4781 4782 fi 4783fi 4784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4785$as_echo "$ac_cv_path_FGREP" >&6; } 4786 FGREP="$ac_cv_path_FGREP" 4787 4788 4789test -z "$GREP" && GREP=grep 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809# Check whether --with-gnu-ld was given. 4810if test "${with_gnu_ld+set}" = set; then : 4811 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4812else 4813 with_gnu_ld=no 4814fi 4815 4816ac_prog=ld 4817if test yes = "$GCC"; then 4818 # Check if gcc -print-prog-name=ld gives a path. 4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4820$as_echo_n "checking for ld used by $CC... " >&6; } 4821 case $host in 4822 *-*-mingw*) 4823 # gcc leaves a trailing carriage return, which upsets mingw 4824 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4825 *) 4826 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4827 esac 4828 case $ac_prog in 4829 # Accept absolute paths. 4830 [\\/]* | ?:[\\/]*) 4831 re_direlt='/[^/][^/]*/\.\./' 4832 # Canonicalize the pathname of ld 4833 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4834 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4835 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4836 done 4837 test -z "$LD" && LD=$ac_prog 4838 ;; 4839 "") 4840 # If it fails, then pretend we aren't using GCC. 4841 ac_prog=ld 4842 ;; 4843 *) 4844 # If it is relative, then search for the first ld in PATH. 4845 with_gnu_ld=unknown 4846 ;; 4847 esac 4848elif test yes = "$with_gnu_ld"; then 4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4850$as_echo_n "checking for GNU ld... " >&6; } 4851else 4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4853$as_echo_n "checking for non-GNU ld... " >&6; } 4854fi 4855if ${lt_cv_path_LD+:} false; then : 4856 $as_echo_n "(cached) " >&6 4857else 4858 if test -z "$LD"; then 4859 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4860 for ac_dir in $PATH; do 4861 IFS=$lt_save_ifs 4862 test -z "$ac_dir" && ac_dir=. 4863 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4864 lt_cv_path_LD=$ac_dir/$ac_prog 4865 # Check to see if the program is GNU ld. I'd rather use --version, 4866 # but apparently some variants of GNU ld only accept -v. 4867 # Break only if it was the GNU/non-GNU ld that we prefer. 4868 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4869 *GNU* | *'with BFD'*) 4870 test no != "$with_gnu_ld" && break 4871 ;; 4872 *) 4873 test yes != "$with_gnu_ld" && break 4874 ;; 4875 esac 4876 fi 4877 done 4878 IFS=$lt_save_ifs 4879else 4880 lt_cv_path_LD=$LD # Let the user override the test with a path. 4881fi 4882fi 4883 4884LD=$lt_cv_path_LD 4885if test -n "$LD"; then 4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4887$as_echo "$LD" >&6; } 4888else 4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4890$as_echo "no" >&6; } 4891fi 4892test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4894$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4895if ${lt_cv_prog_gnu_ld+:} false; then : 4896 $as_echo_n "(cached) " >&6 4897else 4898 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4899case `$LD -v 2>&1 </dev/null` in 4900*GNU* | *'with BFD'*) 4901 lt_cv_prog_gnu_ld=yes 4902 ;; 4903*) 4904 lt_cv_prog_gnu_ld=no 4905 ;; 4906esac 4907fi 4908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4909$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4910with_gnu_ld=$lt_cv_prog_gnu_ld 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4921$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4922if ${lt_cv_path_NM+:} false; then : 4923 $as_echo_n "(cached) " >&6 4924else 4925 if test -n "$NM"; then 4926 # Let the user override the test. 4927 lt_cv_path_NM=$NM 4928else 4929 lt_nm_to_check=${ac_tool_prefix}nm 4930 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4931 lt_nm_to_check="$lt_nm_to_check nm" 4932 fi 4933 for lt_tmp_nm in $lt_nm_to_check; do 4934 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4935 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4936 IFS=$lt_save_ifs 4937 test -z "$ac_dir" && ac_dir=. 4938 tmp_nm=$ac_dir/$lt_tmp_nm 4939 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4940 # Check to see if the nm accepts a BSD-compat flag. 4941 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4942 # nm: unknown option "B" ignored 4943 # Tru64's nm complains that /dev/null is an invalid object file 4944 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4945 case $build_os in 4946 mingw*) lt_bad_file=conftest.nm/nofile ;; 4947 *) lt_bad_file=/dev/null ;; 4948 esac 4949 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4950 *$lt_bad_file* | *'Invalid file or object type'*) 4951 lt_cv_path_NM="$tmp_nm -B" 4952 break 2 4953 ;; 4954 *) 4955 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4956 */dev/null*) 4957 lt_cv_path_NM="$tmp_nm -p" 4958 break 2 4959 ;; 4960 *) 4961 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4962 continue # so that we can try to find one that supports BSD flags 4963 ;; 4964 esac 4965 ;; 4966 esac 4967 fi 4968 done 4969 IFS=$lt_save_ifs 4970 done 4971 : ${lt_cv_path_NM=no} 4972fi 4973fi 4974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4975$as_echo "$lt_cv_path_NM" >&6; } 4976if test no != "$lt_cv_path_NM"; then 4977 NM=$lt_cv_path_NM 4978else 4979 # Didn't find any BSD compatible name lister, look for dumpbin. 4980 if test -n "$DUMPBIN"; then : 4981 # Let the user override the test. 4982 else 4983 if test -n "$ac_tool_prefix"; then 4984 for ac_prog in dumpbin "link -dump" 4985 do 4986 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4987set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4989$as_echo_n "checking for $ac_word... " >&6; } 4990if ${ac_cv_prog_DUMPBIN+:} false; then : 4991 $as_echo_n "(cached) " >&6 4992else 4993 if test -n "$DUMPBIN"; then 4994 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4995else 4996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4997for as_dir in $PATH 4998do 4999 IFS=$as_save_IFS 5000 test -z "$as_dir" && as_dir=. 5001 for ac_exec_ext in '' $ac_executable_extensions; do 5002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5003 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5005 break 2 5006 fi 5007done 5008 done 5009IFS=$as_save_IFS 5010 5011fi 5012fi 5013DUMPBIN=$ac_cv_prog_DUMPBIN 5014if test -n "$DUMPBIN"; then 5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5016$as_echo "$DUMPBIN" >&6; } 5017else 5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5019$as_echo "no" >&6; } 5020fi 5021 5022 5023 test -n "$DUMPBIN" && break 5024 done 5025fi 5026if test -z "$DUMPBIN"; then 5027 ac_ct_DUMPBIN=$DUMPBIN 5028 for ac_prog in dumpbin "link -dump" 5029do 5030 # Extract the first word of "$ac_prog", so it can be a program name with args. 5031set dummy $ac_prog; ac_word=$2 5032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5033$as_echo_n "checking for $ac_word... " >&6; } 5034if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5035 $as_echo_n "(cached) " >&6 5036else 5037 if test -n "$ac_ct_DUMPBIN"; then 5038 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5039else 5040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5041for as_dir in $PATH 5042do 5043 IFS=$as_save_IFS 5044 test -z "$as_dir" && as_dir=. 5045 for ac_exec_ext in '' $ac_executable_extensions; do 5046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5047 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5049 break 2 5050 fi 5051done 5052 done 5053IFS=$as_save_IFS 5054 5055fi 5056fi 5057ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5058if test -n "$ac_ct_DUMPBIN"; then 5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5060$as_echo "$ac_ct_DUMPBIN" >&6; } 5061else 5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5063$as_echo "no" >&6; } 5064fi 5065 5066 5067 test -n "$ac_ct_DUMPBIN" && break 5068done 5069 5070 if test "x$ac_ct_DUMPBIN" = x; then 5071 DUMPBIN=":" 5072 else 5073 case $cross_compiling:$ac_tool_warned in 5074yes:) 5075{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5076$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5077ac_tool_warned=yes ;; 5078esac 5079 DUMPBIN=$ac_ct_DUMPBIN 5080 fi 5081fi 5082 5083 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5084 *COFF*) 5085 DUMPBIN="$DUMPBIN -symbols -headers" 5086 ;; 5087 *) 5088 DUMPBIN=: 5089 ;; 5090 esac 5091 fi 5092 5093 if test : != "$DUMPBIN"; then 5094 NM=$DUMPBIN 5095 fi 5096fi 5097test -z "$NM" && NM=nm 5098 5099 5100 5101 5102 5103 5104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5105$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5106if ${lt_cv_nm_interface+:} false; then : 5107 $as_echo_n "(cached) " >&6 5108else 5109 lt_cv_nm_interface="BSD nm" 5110 echo "int some_variable = 0;" > conftest.$ac_ext 5111 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5112 (eval "$ac_compile" 2>conftest.err) 5113 cat conftest.err >&5 5114 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5115 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5116 cat conftest.err >&5 5117 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5118 cat conftest.out >&5 5119 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5120 lt_cv_nm_interface="MS dumpbin" 5121 fi 5122 rm -f conftest* 5123fi 5124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5125$as_echo "$lt_cv_nm_interface" >&6; } 5126 5127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5128$as_echo_n "checking whether ln -s works... " >&6; } 5129LN_S=$as_ln_s 5130if test "$LN_S" = "ln -s"; then 5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5132$as_echo "yes" >&6; } 5133else 5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5135$as_echo "no, using $LN_S" >&6; } 5136fi 5137 5138# find the maximum length of command line arguments 5139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5140$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5141if ${lt_cv_sys_max_cmd_len+:} false; then : 5142 $as_echo_n "(cached) " >&6 5143else 5144 i=0 5145 teststring=ABCD 5146 5147 case $build_os in 5148 msdosdjgpp*) 5149 # On DJGPP, this test can blow up pretty badly due to problems in libc 5150 # (any single argument exceeding 2000 bytes causes a buffer overrun 5151 # during glob expansion). Even if it were fixed, the result of this 5152 # check would be larger than it should be. 5153 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5154 ;; 5155 5156 gnu*) 5157 # Under GNU Hurd, this test is not required because there is 5158 # no limit to the length of command line arguments. 5159 # Libtool will interpret -1 as no limit whatsoever 5160 lt_cv_sys_max_cmd_len=-1; 5161 ;; 5162 5163 cygwin* | mingw* | cegcc*) 5164 # On Win9x/ME, this test blows up -- it succeeds, but takes 5165 # about 5 minutes as the teststring grows exponentially. 5166 # Worse, since 9x/ME are not pre-emptively multitasking, 5167 # you end up with a "frozen" computer, even though with patience 5168 # the test eventually succeeds (with a max line length of 256k). 5169 # Instead, let's just punt: use the minimum linelength reported by 5170 # all of the supported platforms: 8192 (on NT/2K/XP). 5171 lt_cv_sys_max_cmd_len=8192; 5172 ;; 5173 5174 mint*) 5175 # On MiNT this can take a long time and run out of memory. 5176 lt_cv_sys_max_cmd_len=8192; 5177 ;; 5178 5179 amigaos*) 5180 # On AmigaOS with pdksh, this test takes hours, literally. 5181 # So we just punt and use a minimum line length of 8192. 5182 lt_cv_sys_max_cmd_len=8192; 5183 ;; 5184 5185 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5186 # This has been around since 386BSD, at least. Likely further. 5187 if test -x /sbin/sysctl; then 5188 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5189 elif test -x /usr/sbin/sysctl; then 5190 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5191 else 5192 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5193 fi 5194 # And add a safety zone 5195 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5196 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5197 ;; 5198 5199 interix*) 5200 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5201 lt_cv_sys_max_cmd_len=196608 5202 ;; 5203 5204 os2*) 5205 # The test takes a long time on OS/2. 5206 lt_cv_sys_max_cmd_len=8192 5207 ;; 5208 5209 osf*) 5210 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5211 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5212 # nice to cause kernel panics so lets avoid the loop below. 5213 # First set a reasonable default. 5214 lt_cv_sys_max_cmd_len=16384 5215 # 5216 if test -x /sbin/sysconfig; then 5217 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5218 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5219 esac 5220 fi 5221 ;; 5222 sco3.2v5*) 5223 lt_cv_sys_max_cmd_len=102400 5224 ;; 5225 sysv5* | sco5v6* | sysv4.2uw2*) 5226 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5227 if test -n "$kargmax"; then 5228 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5229 else 5230 lt_cv_sys_max_cmd_len=32768 5231 fi 5232 ;; 5233 *) 5234 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5235 if test -n "$lt_cv_sys_max_cmd_len" && \ 5236 test undefined != "$lt_cv_sys_max_cmd_len"; then 5237 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5238 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5239 else 5240 # Make teststring a little bigger before we do anything with it. 5241 # a 1K string should be a reasonable start. 5242 for i in 1 2 3 4 5 6 7 8; do 5243 teststring=$teststring$teststring 5244 done 5245 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5246 # If test is not a shell built-in, we'll probably end up computing a 5247 # maximum length that is only half of the actual maximum length, but 5248 # we can't tell. 5249 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5250 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5251 test 17 != "$i" # 1/2 MB should be enough 5252 do 5253 i=`expr $i + 1` 5254 teststring=$teststring$teststring 5255 done 5256 # Only check the string length outside the loop. 5257 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5258 teststring= 5259 # Add a significant safety factor because C++ compilers can tack on 5260 # massive amounts of additional arguments before passing them to the 5261 # linker. It appears as though 1/2 is a usable value. 5262 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5263 fi 5264 ;; 5265 esac 5266 5267fi 5268 5269if test -n "$lt_cv_sys_max_cmd_len"; then 5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5271$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5272else 5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5274$as_echo "none" >&6; } 5275fi 5276max_cmd_len=$lt_cv_sys_max_cmd_len 5277 5278 5279 5280 5281 5282 5283: ${CP="cp -f"} 5284: ${MV="mv -f"} 5285: ${RM="rm -f"} 5286 5287if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5288 lt_unset=unset 5289else 5290 lt_unset=false 5291fi 5292 5293 5294 5295 5296 5297# test EBCDIC or ASCII 5298case `echo X|tr X '\101'` in 5299 A) # ASCII based system 5300 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5301 lt_SP2NL='tr \040 \012' 5302 lt_NL2SP='tr \015\012 \040\040' 5303 ;; 5304 *) # EBCDIC based system 5305 lt_SP2NL='tr \100 \n' 5306 lt_NL2SP='tr \r\n \100\100' 5307 ;; 5308esac 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5319$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5320if ${lt_cv_to_host_file_cmd+:} false; then : 5321 $as_echo_n "(cached) " >&6 5322else 5323 case $host in 5324 *-*-mingw* ) 5325 case $build in 5326 *-*-mingw* ) # actually msys 5327 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5328 ;; 5329 *-*-cygwin* ) 5330 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5331 ;; 5332 * ) # otherwise, assume *nix 5333 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5334 ;; 5335 esac 5336 ;; 5337 *-*-cygwin* ) 5338 case $build in 5339 *-*-mingw* ) # actually msys 5340 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5341 ;; 5342 *-*-cygwin* ) 5343 lt_cv_to_host_file_cmd=func_convert_file_noop 5344 ;; 5345 * ) # otherwise, assume *nix 5346 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5347 ;; 5348 esac 5349 ;; 5350 * ) # unhandled hosts (and "normal" native builds) 5351 lt_cv_to_host_file_cmd=func_convert_file_noop 5352 ;; 5353esac 5354 5355fi 5356 5357to_host_file_cmd=$lt_cv_to_host_file_cmd 5358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5359$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5360 5361 5362 5363 5364 5365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5366$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5367if ${lt_cv_to_tool_file_cmd+:} false; then : 5368 $as_echo_n "(cached) " >&6 5369else 5370 #assume ordinary cross tools, or native build. 5371lt_cv_to_tool_file_cmd=func_convert_file_noop 5372case $host in 5373 *-*-mingw* ) 5374 case $build in 5375 *-*-mingw* ) # actually msys 5376 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5377 ;; 5378 esac 5379 ;; 5380esac 5381 5382fi 5383 5384to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5386$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5387 5388 5389 5390 5391 5392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5393$as_echo_n "checking for $LD option to reload object files... " >&6; } 5394if ${lt_cv_ld_reload_flag+:} false; then : 5395 $as_echo_n "(cached) " >&6 5396else 5397 lt_cv_ld_reload_flag='-r' 5398fi 5399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5400$as_echo "$lt_cv_ld_reload_flag" >&6; } 5401reload_flag=$lt_cv_ld_reload_flag 5402case $reload_flag in 5403"" | " "*) ;; 5404*) reload_flag=" $reload_flag" ;; 5405esac 5406reload_cmds='$LD$reload_flag -o $output$reload_objs' 5407case $host_os in 5408 cygwin* | mingw* | pw32* | cegcc*) 5409 if test yes != "$GCC"; then 5410 reload_cmds=false 5411 fi 5412 ;; 5413 darwin*) 5414 if test yes = "$GCC"; then 5415 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5416 else 5417 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5418 fi 5419 ;; 5420esac 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430if test -n "$ac_tool_prefix"; then 5431 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5432set dummy ${ac_tool_prefix}objdump; ac_word=$2 5433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5434$as_echo_n "checking for $ac_word... " >&6; } 5435if ${ac_cv_prog_OBJDUMP+:} false; then : 5436 $as_echo_n "(cached) " >&6 5437else 5438 if test -n "$OBJDUMP"; then 5439 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5440else 5441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5442for as_dir in $PATH 5443do 5444 IFS=$as_save_IFS 5445 test -z "$as_dir" && as_dir=. 5446 for ac_exec_ext in '' $ac_executable_extensions; do 5447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5448 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5450 break 2 5451 fi 5452done 5453 done 5454IFS=$as_save_IFS 5455 5456fi 5457fi 5458OBJDUMP=$ac_cv_prog_OBJDUMP 5459if test -n "$OBJDUMP"; then 5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5461$as_echo "$OBJDUMP" >&6; } 5462else 5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5464$as_echo "no" >&6; } 5465fi 5466 5467 5468fi 5469if test -z "$ac_cv_prog_OBJDUMP"; then 5470 ac_ct_OBJDUMP=$OBJDUMP 5471 # Extract the first word of "objdump", so it can be a program name with args. 5472set dummy objdump; ac_word=$2 5473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5474$as_echo_n "checking for $ac_word... " >&6; } 5475if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5476 $as_echo_n "(cached) " >&6 5477else 5478 if test -n "$ac_ct_OBJDUMP"; then 5479 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5480else 5481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5482for as_dir in $PATH 5483do 5484 IFS=$as_save_IFS 5485 test -z "$as_dir" && as_dir=. 5486 for ac_exec_ext in '' $ac_executable_extensions; do 5487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5488 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5490 break 2 5491 fi 5492done 5493 done 5494IFS=$as_save_IFS 5495 5496fi 5497fi 5498ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5499if test -n "$ac_ct_OBJDUMP"; then 5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5501$as_echo "$ac_ct_OBJDUMP" >&6; } 5502else 5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5504$as_echo "no" >&6; } 5505fi 5506 5507 if test "x$ac_ct_OBJDUMP" = x; then 5508 OBJDUMP="false" 5509 else 5510 case $cross_compiling:$ac_tool_warned in 5511yes:) 5512{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5513$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5514ac_tool_warned=yes ;; 5515esac 5516 OBJDUMP=$ac_ct_OBJDUMP 5517 fi 5518else 5519 OBJDUMP="$ac_cv_prog_OBJDUMP" 5520fi 5521 5522test -z "$OBJDUMP" && OBJDUMP=objdump 5523 5524 5525 5526 5527 5528 5529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5530$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5531if ${lt_cv_deplibs_check_method+:} false; then : 5532 $as_echo_n "(cached) " >&6 5533else 5534 lt_cv_file_magic_cmd='$MAGIC_CMD' 5535lt_cv_file_magic_test_file= 5536lt_cv_deplibs_check_method='unknown' 5537# Need to set the preceding variable on all platforms that support 5538# interlibrary dependencies. 5539# 'none' -- dependencies not supported. 5540# 'unknown' -- same as none, but documents that we really don't know. 5541# 'pass_all' -- all dependencies passed with no checks. 5542# 'test_compile' -- check by making test program. 5543# 'file_magic [[regex]]' -- check by looking for files in library path 5544# that responds to the $file_magic_cmd with a given extended regex. 5545# If you have 'file' or equivalent on your system and you're not sure 5546# whether 'pass_all' will *always* work, you probably want this one. 5547 5548case $host_os in 5549aix[4-9]*) 5550 lt_cv_deplibs_check_method=pass_all 5551 ;; 5552 5553beos*) 5554 lt_cv_deplibs_check_method=pass_all 5555 ;; 5556 5557bsdi[45]*) 5558 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5559 lt_cv_file_magic_cmd='/usr/bin/file -L' 5560 lt_cv_file_magic_test_file=/shlib/libc.so 5561 ;; 5562 5563cygwin*) 5564 # func_win32_libid is a shell function defined in ltmain.sh 5565 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5566 lt_cv_file_magic_cmd='func_win32_libid' 5567 ;; 5568 5569mingw* | pw32*) 5570 # Base MSYS/MinGW do not provide the 'file' command needed by 5571 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5572 # unless we find 'file', for example because we are cross-compiling. 5573 if ( file / ) >/dev/null 2>&1; then 5574 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5575 lt_cv_file_magic_cmd='func_win32_libid' 5576 else 5577 # Keep this pattern in sync with the one in func_win32_libid. 5578 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5579 lt_cv_file_magic_cmd='$OBJDUMP -f' 5580 fi 5581 ;; 5582 5583cegcc*) 5584 # use the weaker test based on 'objdump'. See mingw*. 5585 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5586 lt_cv_file_magic_cmd='$OBJDUMP -f' 5587 ;; 5588 5589darwin* | rhapsody*) 5590 lt_cv_deplibs_check_method=pass_all 5591 ;; 5592 5593freebsd* | dragonfly*) 5594 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5595 case $host_cpu in 5596 i*86 ) 5597 # Not sure whether the presence of OpenBSD here was a mistake. 5598 # Let's accept both of them until this is cleared up. 5599 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5600 lt_cv_file_magic_cmd=/usr/bin/file 5601 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5602 ;; 5603 esac 5604 else 5605 lt_cv_deplibs_check_method=pass_all 5606 fi 5607 ;; 5608 5609haiku*) 5610 lt_cv_deplibs_check_method=pass_all 5611 ;; 5612 5613hpux10.20* | hpux11*) 5614 lt_cv_file_magic_cmd=/usr/bin/file 5615 case $host_cpu in 5616 ia64*) 5617 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5618 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5619 ;; 5620 hppa*64*) 5621 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]' 5622 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5623 ;; 5624 *) 5625 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5626 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5627 ;; 5628 esac 5629 ;; 5630 5631interix[3-9]*) 5632 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5633 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5634 ;; 5635 5636irix5* | irix6* | nonstopux*) 5637 case $LD in 5638 *-32|*"-32 ") libmagic=32-bit;; 5639 *-n32|*"-n32 ") libmagic=N32;; 5640 *-64|*"-64 ") libmagic=64-bit;; 5641 *) libmagic=never-match;; 5642 esac 5643 lt_cv_deplibs_check_method=pass_all 5644 ;; 5645 5646# This must be glibc/ELF. 5647linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5648 lt_cv_deplibs_check_method=pass_all 5649 ;; 5650 5651netbsd*) 5652 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5653 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5654 else 5655 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5656 fi 5657 ;; 5658 5659newos6*) 5660 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5661 lt_cv_file_magic_cmd=/usr/bin/file 5662 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5663 ;; 5664 5665*nto* | *qnx*) 5666 lt_cv_deplibs_check_method=pass_all 5667 ;; 5668 5669openbsd* | bitrig*) 5670 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5671 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5672 else 5673 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5674 fi 5675 ;; 5676 5677osf3* | osf4* | osf5*) 5678 lt_cv_deplibs_check_method=pass_all 5679 ;; 5680 5681rdos*) 5682 lt_cv_deplibs_check_method=pass_all 5683 ;; 5684 5685solaris*) 5686 lt_cv_deplibs_check_method=pass_all 5687 ;; 5688 5689sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5690 lt_cv_deplibs_check_method=pass_all 5691 ;; 5692 5693sysv4 | sysv4.3*) 5694 case $host_vendor in 5695 motorola) 5696 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]' 5697 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5698 ;; 5699 ncr) 5700 lt_cv_deplibs_check_method=pass_all 5701 ;; 5702 sequent) 5703 lt_cv_file_magic_cmd='/bin/file' 5704 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5705 ;; 5706 sni) 5707 lt_cv_file_magic_cmd='/bin/file' 5708 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5709 lt_cv_file_magic_test_file=/lib/libc.so 5710 ;; 5711 siemens) 5712 lt_cv_deplibs_check_method=pass_all 5713 ;; 5714 pc) 5715 lt_cv_deplibs_check_method=pass_all 5716 ;; 5717 esac 5718 ;; 5719 5720tpf*) 5721 lt_cv_deplibs_check_method=pass_all 5722 ;; 5723os2*) 5724 lt_cv_deplibs_check_method=pass_all 5725 ;; 5726esac 5727 5728fi 5729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5730$as_echo "$lt_cv_deplibs_check_method" >&6; } 5731 5732file_magic_glob= 5733want_nocaseglob=no 5734if test "$build" = "$host"; then 5735 case $host_os in 5736 mingw* | pw32*) 5737 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5738 want_nocaseglob=yes 5739 else 5740 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5741 fi 5742 ;; 5743 esac 5744fi 5745 5746file_magic_cmd=$lt_cv_file_magic_cmd 5747deplibs_check_method=$lt_cv_deplibs_check_method 5748test -z "$deplibs_check_method" && deplibs_check_method=unknown 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771if test -n "$ac_tool_prefix"; then 5772 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5773set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5775$as_echo_n "checking for $ac_word... " >&6; } 5776if ${ac_cv_prog_DLLTOOL+:} false; then : 5777 $as_echo_n "(cached) " >&6 5778else 5779 if test -n "$DLLTOOL"; then 5780 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5781else 5782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5783for as_dir in $PATH 5784do 5785 IFS=$as_save_IFS 5786 test -z "$as_dir" && as_dir=. 5787 for ac_exec_ext in '' $ac_executable_extensions; do 5788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5789 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5791 break 2 5792 fi 5793done 5794 done 5795IFS=$as_save_IFS 5796 5797fi 5798fi 5799DLLTOOL=$ac_cv_prog_DLLTOOL 5800if test -n "$DLLTOOL"; then 5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5802$as_echo "$DLLTOOL" >&6; } 5803else 5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5805$as_echo "no" >&6; } 5806fi 5807 5808 5809fi 5810if test -z "$ac_cv_prog_DLLTOOL"; then 5811 ac_ct_DLLTOOL=$DLLTOOL 5812 # Extract the first word of "dlltool", so it can be a program name with args. 5813set dummy dlltool; ac_word=$2 5814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5815$as_echo_n "checking for $ac_word... " >&6; } 5816if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5817 $as_echo_n "(cached) " >&6 5818else 5819 if test -n "$ac_ct_DLLTOOL"; then 5820 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5821else 5822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5823for as_dir in $PATH 5824do 5825 IFS=$as_save_IFS 5826 test -z "$as_dir" && as_dir=. 5827 for ac_exec_ext in '' $ac_executable_extensions; do 5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5829 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5831 break 2 5832 fi 5833done 5834 done 5835IFS=$as_save_IFS 5836 5837fi 5838fi 5839ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5840if test -n "$ac_ct_DLLTOOL"; then 5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5842$as_echo "$ac_ct_DLLTOOL" >&6; } 5843else 5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5845$as_echo "no" >&6; } 5846fi 5847 5848 if test "x$ac_ct_DLLTOOL" = x; then 5849 DLLTOOL="false" 5850 else 5851 case $cross_compiling:$ac_tool_warned in 5852yes:) 5853{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5854$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5855ac_tool_warned=yes ;; 5856esac 5857 DLLTOOL=$ac_ct_DLLTOOL 5858 fi 5859else 5860 DLLTOOL="$ac_cv_prog_DLLTOOL" 5861fi 5862 5863test -z "$DLLTOOL" && DLLTOOL=dlltool 5864 5865 5866 5867 5868 5869 5870 5871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5872$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5873if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5874 $as_echo_n "(cached) " >&6 5875else 5876 lt_cv_sharedlib_from_linklib_cmd='unknown' 5877 5878case $host_os in 5879cygwin* | mingw* | pw32* | cegcc*) 5880 # two different shell functions defined in ltmain.sh; 5881 # decide which one to use based on capabilities of $DLLTOOL 5882 case `$DLLTOOL --help 2>&1` in 5883 *--identify-strict*) 5884 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5885 ;; 5886 *) 5887 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5888 ;; 5889 esac 5890 ;; 5891*) 5892 # fallback: assume linklib IS sharedlib 5893 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5894 ;; 5895esac 5896 5897fi 5898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5899$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5900sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5901test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5902 5903 5904 5905 5906 5907 5908 5909if test -n "$ac_tool_prefix"; then 5910 for ac_prog in ar 5911 do 5912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5913set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5915$as_echo_n "checking for $ac_word... " >&6; } 5916if ${ac_cv_prog_AR+:} false; then : 5917 $as_echo_n "(cached) " >&6 5918else 5919 if test -n "$AR"; then 5920 ac_cv_prog_AR="$AR" # Let the user override the test. 5921else 5922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5923for as_dir in $PATH 5924do 5925 IFS=$as_save_IFS 5926 test -z "$as_dir" && as_dir=. 5927 for ac_exec_ext in '' $ac_executable_extensions; do 5928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5929 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5931 break 2 5932 fi 5933done 5934 done 5935IFS=$as_save_IFS 5936 5937fi 5938fi 5939AR=$ac_cv_prog_AR 5940if test -n "$AR"; then 5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5942$as_echo "$AR" >&6; } 5943else 5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5945$as_echo "no" >&6; } 5946fi 5947 5948 5949 test -n "$AR" && break 5950 done 5951fi 5952if test -z "$AR"; then 5953 ac_ct_AR=$AR 5954 for ac_prog in ar 5955do 5956 # Extract the first word of "$ac_prog", so it can be a program name with args. 5957set dummy $ac_prog; ac_word=$2 5958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5959$as_echo_n "checking for $ac_word... " >&6; } 5960if ${ac_cv_prog_ac_ct_AR+:} false; then : 5961 $as_echo_n "(cached) " >&6 5962else 5963 if test -n "$ac_ct_AR"; then 5964 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5965else 5966as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5967for as_dir in $PATH 5968do 5969 IFS=$as_save_IFS 5970 test -z "$as_dir" && as_dir=. 5971 for ac_exec_ext in '' $ac_executable_extensions; do 5972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5973 ac_cv_prog_ac_ct_AR="$ac_prog" 5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5975 break 2 5976 fi 5977done 5978 done 5979IFS=$as_save_IFS 5980 5981fi 5982fi 5983ac_ct_AR=$ac_cv_prog_ac_ct_AR 5984if test -n "$ac_ct_AR"; then 5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5986$as_echo "$ac_ct_AR" >&6; } 5987else 5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5989$as_echo "no" >&6; } 5990fi 5991 5992 5993 test -n "$ac_ct_AR" && break 5994done 5995 5996 if test "x$ac_ct_AR" = x; then 5997 AR="false" 5998 else 5999 case $cross_compiling:$ac_tool_warned in 6000yes:) 6001{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6002$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6003ac_tool_warned=yes ;; 6004esac 6005 AR=$ac_ct_AR 6006 fi 6007fi 6008 6009: ${AR=ar} 6010: ${AR_FLAGS=cru} 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6023$as_echo_n "checking for archiver @FILE support... " >&6; } 6024if ${lt_cv_ar_at_file+:} false; then : 6025 $as_echo_n "(cached) " >&6 6026else 6027 lt_cv_ar_at_file=no 6028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6029/* end confdefs.h. */ 6030 6031int 6032main () 6033{ 6034 6035 ; 6036 return 0; 6037} 6038_ACEOF 6039if ac_fn_c_try_compile "$LINENO"; then : 6040 echo conftest.$ac_objext > conftest.lst 6041 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6042 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6043 (eval $lt_ar_try) 2>&5 6044 ac_status=$? 6045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6046 test $ac_status = 0; } 6047 if test 0 -eq "$ac_status"; then 6048 # Ensure the archiver fails upon bogus file names. 6049 rm -f conftest.$ac_objext libconftest.a 6050 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6051 (eval $lt_ar_try) 2>&5 6052 ac_status=$? 6053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6054 test $ac_status = 0; } 6055 if test 0 -ne "$ac_status"; then 6056 lt_cv_ar_at_file=@ 6057 fi 6058 fi 6059 rm -f conftest.* libconftest.a 6060 6061fi 6062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6063 6064fi 6065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6066$as_echo "$lt_cv_ar_at_file" >&6; } 6067 6068if test no = "$lt_cv_ar_at_file"; then 6069 archiver_list_spec= 6070else 6071 archiver_list_spec=$lt_cv_ar_at_file 6072fi 6073 6074 6075 6076 6077 6078 6079 6080if test -n "$ac_tool_prefix"; then 6081 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6082set dummy ${ac_tool_prefix}strip; 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_STRIP+:} false; then : 6086 $as_echo_n "(cached) " >&6 6087else 6088 if test -n "$STRIP"; then 6089 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip" 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 6108STRIP=$ac_cv_prog_STRIP 6109if test -n "$STRIP"; then 6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6111$as_echo "$STRIP" >&6; } 6112else 6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6114$as_echo "no" >&6; } 6115fi 6116 6117 6118fi 6119if test -z "$ac_cv_prog_STRIP"; then 6120 ac_ct_STRIP=$STRIP 6121 # Extract the first word of "strip", so it can be a program name with args. 6122set dummy strip; ac_word=$2 6123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6124$as_echo_n "checking for $ac_word... " >&6; } 6125if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6126 $as_echo_n "(cached) " >&6 6127else 6128 if test -n "$ac_ct_STRIP"; then 6129 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6130else 6131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6132for as_dir in $PATH 6133do 6134 IFS=$as_save_IFS 6135 test -z "$as_dir" && as_dir=. 6136 for ac_exec_ext in '' $ac_executable_extensions; do 6137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6138 ac_cv_prog_ac_ct_STRIP="strip" 6139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6140 break 2 6141 fi 6142done 6143 done 6144IFS=$as_save_IFS 6145 6146fi 6147fi 6148ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6149if test -n "$ac_ct_STRIP"; then 6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6151$as_echo "$ac_ct_STRIP" >&6; } 6152else 6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6154$as_echo "no" >&6; } 6155fi 6156 6157 if test "x$ac_ct_STRIP" = x; then 6158 STRIP=":" 6159 else 6160 case $cross_compiling:$ac_tool_warned in 6161yes:) 6162{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6163$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6164ac_tool_warned=yes ;; 6165esac 6166 STRIP=$ac_ct_STRIP 6167 fi 6168else 6169 STRIP="$ac_cv_prog_STRIP" 6170fi 6171 6172test -z "$STRIP" && STRIP=: 6173 6174 6175 6176 6177 6178 6179if test -n "$ac_tool_prefix"; then 6180 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6181set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6183$as_echo_n "checking for $ac_word... " >&6; } 6184if ${ac_cv_prog_RANLIB+:} false; then : 6185 $as_echo_n "(cached) " >&6 6186else 6187 if test -n "$RANLIB"; then 6188 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6189else 6190as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6191for as_dir in $PATH 6192do 6193 IFS=$as_save_IFS 6194 test -z "$as_dir" && as_dir=. 6195 for ac_exec_ext in '' $ac_executable_extensions; do 6196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6197 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6199 break 2 6200 fi 6201done 6202 done 6203IFS=$as_save_IFS 6204 6205fi 6206fi 6207RANLIB=$ac_cv_prog_RANLIB 6208if test -n "$RANLIB"; then 6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6210$as_echo "$RANLIB" >&6; } 6211else 6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6213$as_echo "no" >&6; } 6214fi 6215 6216 6217fi 6218if test -z "$ac_cv_prog_RANLIB"; then 6219 ac_ct_RANLIB=$RANLIB 6220 # Extract the first word of "ranlib", so it can be a program name with args. 6221set dummy ranlib; ac_word=$2 6222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6223$as_echo_n "checking for $ac_word... " >&6; } 6224if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6225 $as_echo_n "(cached) " >&6 6226else 6227 if test -n "$ac_ct_RANLIB"; then 6228 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6229else 6230as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6231for as_dir in $PATH 6232do 6233 IFS=$as_save_IFS 6234 test -z "$as_dir" && as_dir=. 6235 for ac_exec_ext in '' $ac_executable_extensions; do 6236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6237 ac_cv_prog_ac_ct_RANLIB="ranlib" 6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6239 break 2 6240 fi 6241done 6242 done 6243IFS=$as_save_IFS 6244 6245fi 6246fi 6247ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6248if test -n "$ac_ct_RANLIB"; then 6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6250$as_echo "$ac_ct_RANLIB" >&6; } 6251else 6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6253$as_echo "no" >&6; } 6254fi 6255 6256 if test "x$ac_ct_RANLIB" = x; then 6257 RANLIB=":" 6258 else 6259 case $cross_compiling:$ac_tool_warned in 6260yes:) 6261{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6262$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6263ac_tool_warned=yes ;; 6264esac 6265 RANLIB=$ac_ct_RANLIB 6266 fi 6267else 6268 RANLIB="$ac_cv_prog_RANLIB" 6269fi 6270 6271test -z "$RANLIB" && RANLIB=: 6272 6273 6274 6275 6276 6277 6278# Determine commands to create old-style static archives. 6279old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6280old_postinstall_cmds='chmod 644 $oldlib' 6281old_postuninstall_cmds= 6282 6283if test -n "$RANLIB"; then 6284 case $host_os in 6285 bitrig* | openbsd*) 6286 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6287 ;; 6288 *) 6289 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6290 ;; 6291 esac 6292 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6293fi 6294 6295case $host_os in 6296 darwin*) 6297 lock_old_archive_extraction=yes ;; 6298 *) 6299 lock_old_archive_extraction=no ;; 6300esac 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340# If no C compiler was specified, use CC. 6341LTCC=${LTCC-"$CC"} 6342 6343# If no C compiler flags were specified, use CFLAGS. 6344LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6345 6346# Allow CC to be a program name with arguments. 6347compiler=$CC 6348 6349 6350# Check for command to grab the raw symbol name followed by C symbol from nm. 6351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6352$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6353if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6354 $as_echo_n "(cached) " >&6 6355else 6356 6357# These are sane defaults that work on at least a few old systems. 6358# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6359 6360# Character class describing NM global symbol codes. 6361symcode='[BCDEGRST]' 6362 6363# Regexp to match symbols that can be accessed directly from C. 6364sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6365 6366# Define system-specific variables. 6367case $host_os in 6368aix*) 6369 symcode='[BCDT]' 6370 ;; 6371cygwin* | mingw* | pw32* | cegcc*) 6372 symcode='[ABCDGISTW]' 6373 ;; 6374hpux*) 6375 if test ia64 = "$host_cpu"; then 6376 symcode='[ABCDEGRST]' 6377 fi 6378 ;; 6379irix* | nonstopux*) 6380 symcode='[BCDEGRST]' 6381 ;; 6382osf*) 6383 symcode='[BCDEGQRST]' 6384 ;; 6385solaris*) 6386 symcode='[BDRT]' 6387 ;; 6388sco3.2v5*) 6389 symcode='[DT]' 6390 ;; 6391sysv4.2uw2*) 6392 symcode='[DT]' 6393 ;; 6394sysv5* | sco5v6* | unixware* | OpenUNIX*) 6395 symcode='[ABDT]' 6396 ;; 6397sysv4) 6398 symcode='[DFNSTU]' 6399 ;; 6400esac 6401 6402# If we're using GNU nm, then use its standard symbol codes. 6403case `$NM -V 2>&1` in 6404*GNU* | *'with BFD'*) 6405 symcode='[ABCDGIRSTW]' ;; 6406esac 6407 6408if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6409 # Gets list of data symbols to import. 6410 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6411 # Adjust the below global symbol transforms to fixup imported variables. 6412 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6413 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6414 lt_c_name_lib_hook="\ 6415 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6416 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6417else 6418 # Disable hooks by default. 6419 lt_cv_sys_global_symbol_to_import= 6420 lt_cdecl_hook= 6421 lt_c_name_hook= 6422 lt_c_name_lib_hook= 6423fi 6424 6425# Transform an extracted symbol line into a proper C declaration. 6426# Some systems (esp. on ia64) link data and code symbols differently, 6427# so use this general approach. 6428lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6429$lt_cdecl_hook\ 6430" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6431" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6432 6433# Transform an extracted symbol line into symbol name and symbol address 6434lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6435$lt_c_name_hook\ 6436" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6437" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6438 6439# Transform an extracted symbol line into symbol name with lib prefix and 6440# symbol address. 6441lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6442$lt_c_name_lib_hook\ 6443" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6444" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6445" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6446 6447# Handle CRLF in mingw tool chain 6448opt_cr= 6449case $build_os in 6450mingw*) 6451 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6452 ;; 6453esac 6454 6455# Try without a prefix underscore, then with it. 6456for ac_symprfx in "" "_"; do 6457 6458 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6459 symxfrm="\\1 $ac_symprfx\\2 \\2" 6460 6461 # Write the raw and C identifiers. 6462 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6463 # Fake it for dumpbin and say T for any non-static function, 6464 # D for any global variable and I for any imported variable. 6465 # Also find C++ and __fastcall symbols from MSVC++, 6466 # which start with @ or ?. 6467 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6468" {last_section=section; section=\$ 3};"\ 6469" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6470" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6471" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6472" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6473" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6474" \$ 0!~/External *\|/{next};"\ 6475" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6476" {if(hide[section]) next};"\ 6477" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6478" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6479" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6480" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6481" ' prfx=^$ac_symprfx" 6482 else 6483 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6484 fi 6485 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6486 6487 # Check to see that the pipe works correctly. 6488 pipe_works=no 6489 6490 rm -f conftest* 6491 cat > conftest.$ac_ext <<_LT_EOF 6492#ifdef __cplusplus 6493extern "C" { 6494#endif 6495char nm_test_var; 6496void nm_test_func(void); 6497void nm_test_func(void){} 6498#ifdef __cplusplus 6499} 6500#endif 6501int main(){nm_test_var='a';nm_test_func();return(0);} 6502_LT_EOF 6503 6504 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6505 (eval $ac_compile) 2>&5 6506 ac_status=$? 6507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6508 test $ac_status = 0; }; then 6509 # Now try to grab the symbols. 6510 nlist=conftest.nm 6511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6512 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6513 ac_status=$? 6514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6515 test $ac_status = 0; } && test -s "$nlist"; then 6516 # Try sorting and uniquifying the output. 6517 if sort "$nlist" | uniq > "$nlist"T; then 6518 mv -f "$nlist"T "$nlist" 6519 else 6520 rm -f "$nlist"T 6521 fi 6522 6523 # Make sure that we snagged all the symbols we need. 6524 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6525 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6526 cat <<_LT_EOF > conftest.$ac_ext 6527/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6528#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6529/* DATA imports from DLLs on WIN32 can't be const, because runtime 6530 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6531# define LT_DLSYM_CONST 6532#elif defined __osf__ 6533/* This system does not cope well with relocations in const data. */ 6534# define LT_DLSYM_CONST 6535#else 6536# define LT_DLSYM_CONST const 6537#endif 6538 6539#ifdef __cplusplus 6540extern "C" { 6541#endif 6542 6543_LT_EOF 6544 # Now generate the symbol file. 6545 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6546 6547 cat <<_LT_EOF >> conftest.$ac_ext 6548 6549/* The mapping between symbol names and symbols. */ 6550LT_DLSYM_CONST struct { 6551 const char *name; 6552 void *address; 6553} 6554lt__PROGRAM__LTX_preloaded_symbols[] = 6555{ 6556 { "@PROGRAM@", (void *) 0 }, 6557_LT_EOF 6558 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6559 cat <<\_LT_EOF >> conftest.$ac_ext 6560 {0, (void *) 0} 6561}; 6562 6563/* This works around a problem in FreeBSD linker */ 6564#ifdef FREEBSD_WORKAROUND 6565static const void *lt_preloaded_setup() { 6566 return lt__PROGRAM__LTX_preloaded_symbols; 6567} 6568#endif 6569 6570#ifdef __cplusplus 6571} 6572#endif 6573_LT_EOF 6574 # Now try linking the two files. 6575 mv conftest.$ac_objext conftstm.$ac_objext 6576 lt_globsym_save_LIBS=$LIBS 6577 lt_globsym_save_CFLAGS=$CFLAGS 6578 LIBS=conftstm.$ac_objext 6579 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6580 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6581 (eval $ac_link) 2>&5 6582 ac_status=$? 6583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6584 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6585 pipe_works=yes 6586 fi 6587 LIBS=$lt_globsym_save_LIBS 6588 CFLAGS=$lt_globsym_save_CFLAGS 6589 else 6590 echo "cannot find nm_test_func in $nlist" >&5 6591 fi 6592 else 6593 echo "cannot find nm_test_var in $nlist" >&5 6594 fi 6595 else 6596 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6597 fi 6598 else 6599 echo "$progname: failed program was:" >&5 6600 cat conftest.$ac_ext >&5 6601 fi 6602 rm -rf conftest* conftst* 6603 6604 # Do not use the global_symbol_pipe unless it works. 6605 if test yes = "$pipe_works"; then 6606 break 6607 else 6608 lt_cv_sys_global_symbol_pipe= 6609 fi 6610done 6611 6612fi 6613 6614if test -z "$lt_cv_sys_global_symbol_pipe"; then 6615 lt_cv_sys_global_symbol_to_cdecl= 6616fi 6617if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6619$as_echo "failed" >&6; } 6620else 6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6622$as_echo "ok" >&6; } 6623fi 6624 6625# Response file support. 6626if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6627 nm_file_list_spec='@' 6628elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6629 nm_file_list_spec='@' 6630fi 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6669$as_echo_n "checking for sysroot... " >&6; } 6670 6671# Check whether --with-sysroot was given. 6672if test "${with_sysroot+set}" = set; then : 6673 withval=$with_sysroot; 6674else 6675 with_sysroot=no 6676fi 6677 6678 6679lt_sysroot= 6680case $with_sysroot in #( 6681 yes) 6682 if test yes = "$GCC"; then 6683 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6684 fi 6685 ;; #( 6686 /*) 6687 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6688 ;; #( 6689 no|'') 6690 ;; #( 6691 *) 6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6693$as_echo "$with_sysroot" >&6; } 6694 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6695 ;; 6696esac 6697 6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6699$as_echo "${lt_sysroot:-no}" >&6; } 6700 6701 6702 6703 6704 6705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6706$as_echo_n "checking for a working dd... " >&6; } 6707if ${ac_cv_path_lt_DD+:} false; then : 6708 $as_echo_n "(cached) " >&6 6709else 6710 printf 0123456789abcdef0123456789abcdef >conftest.i 6711cat conftest.i conftest.i >conftest2.i 6712: ${lt_DD:=$DD} 6713if test -z "$lt_DD"; then 6714 ac_path_lt_DD_found=false 6715 # Loop through the user's path and test for each of PROGNAME-LIST 6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6717for as_dir in $PATH 6718do 6719 IFS=$as_save_IFS 6720 test -z "$as_dir" && as_dir=. 6721 for ac_prog in dd; do 6722 for ac_exec_ext in '' $ac_executable_extensions; do 6723 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6724 as_fn_executable_p "$ac_path_lt_DD" || continue 6725if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6726 cmp -s conftest.i conftest.out \ 6727 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6728fi 6729 $ac_path_lt_DD_found && break 3 6730 done 6731 done 6732 done 6733IFS=$as_save_IFS 6734 if test -z "$ac_cv_path_lt_DD"; then 6735 : 6736 fi 6737else 6738 ac_cv_path_lt_DD=$lt_DD 6739fi 6740 6741rm -f conftest.i conftest2.i conftest.out 6742fi 6743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6744$as_echo "$ac_cv_path_lt_DD" >&6; } 6745 6746 6747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6748$as_echo_n "checking how to truncate binary pipes... " >&6; } 6749if ${lt_cv_truncate_bin+:} false; then : 6750 $as_echo_n "(cached) " >&6 6751else 6752 printf 0123456789abcdef0123456789abcdef >conftest.i 6753cat conftest.i conftest.i >conftest2.i 6754lt_cv_truncate_bin= 6755if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6756 cmp -s conftest.i conftest.out \ 6757 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6758fi 6759rm -f conftest.i conftest2.i conftest.out 6760test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6761fi 6762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6763$as_echo "$lt_cv_truncate_bin" >&6; } 6764 6765 6766 6767 6768 6769 6770 6771# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6772func_cc_basename () 6773{ 6774 for cc_temp in $*""; do 6775 case $cc_temp in 6776 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6777 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6778 \-*) ;; 6779 *) break;; 6780 esac 6781 done 6782 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6783} 6784 6785# Check whether --enable-libtool-lock was given. 6786if test "${enable_libtool_lock+set}" = set; then : 6787 enableval=$enable_libtool_lock; 6788fi 6789 6790test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6791 6792# Some flags need to be propagated to the compiler or linker for good 6793# libtool support. 6794case $host in 6795ia64-*-hpux*) 6796 # Find out what ABI is being produced by ac_compile, and set mode 6797 # options accordingly. 6798 echo 'int i;' > conftest.$ac_ext 6799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6800 (eval $ac_compile) 2>&5 6801 ac_status=$? 6802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6803 test $ac_status = 0; }; then 6804 case `/usr/bin/file conftest.$ac_objext` in 6805 *ELF-32*) 6806 HPUX_IA64_MODE=32 6807 ;; 6808 *ELF-64*) 6809 HPUX_IA64_MODE=64 6810 ;; 6811 esac 6812 fi 6813 rm -rf conftest* 6814 ;; 6815*-*-irix6*) 6816 # Find out what ABI is being produced by ac_compile, and set linker 6817 # options accordingly. 6818 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6819 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6820 (eval $ac_compile) 2>&5 6821 ac_status=$? 6822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6823 test $ac_status = 0; }; then 6824 if test yes = "$lt_cv_prog_gnu_ld"; then 6825 case `/usr/bin/file conftest.$ac_objext` in 6826 *32-bit*) 6827 LD="${LD-ld} -melf32bsmip" 6828 ;; 6829 *N32*) 6830 LD="${LD-ld} -melf32bmipn32" 6831 ;; 6832 *64-bit*) 6833 LD="${LD-ld} -melf64bmip" 6834 ;; 6835 esac 6836 else 6837 case `/usr/bin/file conftest.$ac_objext` in 6838 *32-bit*) 6839 LD="${LD-ld} -32" 6840 ;; 6841 *N32*) 6842 LD="${LD-ld} -n32" 6843 ;; 6844 *64-bit*) 6845 LD="${LD-ld} -64" 6846 ;; 6847 esac 6848 fi 6849 fi 6850 rm -rf conftest* 6851 ;; 6852 6853mips64*-*linux*) 6854 # Find out what ABI is being produced by ac_compile, and set linker 6855 # options accordingly. 6856 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6858 (eval $ac_compile) 2>&5 6859 ac_status=$? 6860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6861 test $ac_status = 0; }; then 6862 emul=elf 6863 case `/usr/bin/file conftest.$ac_objext` in 6864 *32-bit*) 6865 emul="${emul}32" 6866 ;; 6867 *64-bit*) 6868 emul="${emul}64" 6869 ;; 6870 esac 6871 case `/usr/bin/file conftest.$ac_objext` in 6872 *MSB*) 6873 emul="${emul}btsmip" 6874 ;; 6875 *LSB*) 6876 emul="${emul}ltsmip" 6877 ;; 6878 esac 6879 case `/usr/bin/file conftest.$ac_objext` in 6880 *N32*) 6881 emul="${emul}n32" 6882 ;; 6883 esac 6884 LD="${LD-ld} -m $emul" 6885 fi 6886 rm -rf conftest* 6887 ;; 6888 6889x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6890s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6891 # Find out what ABI is being produced by ac_compile, and set linker 6892 # options accordingly. Note that the listed cases only cover the 6893 # situations where additional linker options are needed (such as when 6894 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6895 # vice versa); the common cases where no linker options are needed do 6896 # not appear in the list. 6897 echo 'int i;' > conftest.$ac_ext 6898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6899 (eval $ac_compile) 2>&5 6900 ac_status=$? 6901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6902 test $ac_status = 0; }; then 6903 case `/usr/bin/file conftest.o` in 6904 *32-bit*) 6905 case $host in 6906 x86_64-*kfreebsd*-gnu) 6907 LD="${LD-ld} -m elf_i386_fbsd" 6908 ;; 6909 x86_64-*linux*) 6910 case `/usr/bin/file conftest.o` in 6911 *x86-64*) 6912 LD="${LD-ld} -m elf32_x86_64" 6913 ;; 6914 *) 6915 LD="${LD-ld} -m elf_i386" 6916 ;; 6917 esac 6918 ;; 6919 powerpc64le-*linux*) 6920 LD="${LD-ld} -m elf32lppclinux" 6921 ;; 6922 powerpc64-*linux*) 6923 LD="${LD-ld} -m elf32ppclinux" 6924 ;; 6925 s390x-*linux*) 6926 LD="${LD-ld} -m elf_s390" 6927 ;; 6928 sparc64-*linux*) 6929 LD="${LD-ld} -m elf32_sparc" 6930 ;; 6931 esac 6932 ;; 6933 *64-bit*) 6934 case $host in 6935 x86_64-*kfreebsd*-gnu) 6936 LD="${LD-ld} -m elf_x86_64_fbsd" 6937 ;; 6938 x86_64-*linux*) 6939 LD="${LD-ld} -m elf_x86_64" 6940 ;; 6941 powerpcle-*linux*) 6942 LD="${LD-ld} -m elf64lppc" 6943 ;; 6944 powerpc-*linux*) 6945 LD="${LD-ld} -m elf64ppc" 6946 ;; 6947 s390*-*linux*|s390*-*tpf*) 6948 LD="${LD-ld} -m elf64_s390" 6949 ;; 6950 sparc*-*linux*) 6951 LD="${LD-ld} -m elf64_sparc" 6952 ;; 6953 esac 6954 ;; 6955 esac 6956 fi 6957 rm -rf conftest* 6958 ;; 6959 6960*-*-sco3.2v5*) 6961 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6962 SAVE_CFLAGS=$CFLAGS 6963 CFLAGS="$CFLAGS -belf" 6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6965$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6966if ${lt_cv_cc_needs_belf+:} false; then : 6967 $as_echo_n "(cached) " >&6 6968else 6969 ac_ext=c 6970ac_cpp='$CPP $CPPFLAGS' 6971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6973ac_compiler_gnu=$ac_cv_c_compiler_gnu 6974 6975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6976/* end confdefs.h. */ 6977 6978int 6979main () 6980{ 6981 6982 ; 6983 return 0; 6984} 6985_ACEOF 6986if ac_fn_c_try_link "$LINENO"; then : 6987 lt_cv_cc_needs_belf=yes 6988else 6989 lt_cv_cc_needs_belf=no 6990fi 6991rm -f core conftest.err conftest.$ac_objext \ 6992 conftest$ac_exeext conftest.$ac_ext 6993 ac_ext=c 6994ac_cpp='$CPP $CPPFLAGS' 6995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6997ac_compiler_gnu=$ac_cv_c_compiler_gnu 6998 6999fi 7000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7001$as_echo "$lt_cv_cc_needs_belf" >&6; } 7002 if test yes != "$lt_cv_cc_needs_belf"; then 7003 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7004 CFLAGS=$SAVE_CFLAGS 7005 fi 7006 ;; 7007*-*solaris*) 7008 # Find out what ABI is being produced by ac_compile, and set linker 7009 # options accordingly. 7010 echo 'int i;' > conftest.$ac_ext 7011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7012 (eval $ac_compile) 2>&5 7013 ac_status=$? 7014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7015 test $ac_status = 0; }; then 7016 case `/usr/bin/file conftest.o` in 7017 *64-bit*) 7018 case $lt_cv_prog_gnu_ld in 7019 yes*) 7020 case $host in 7021 i?86-*-solaris*|x86_64-*-solaris*) 7022 LD="${LD-ld} -m elf_x86_64" 7023 ;; 7024 sparc*-*-solaris*) 7025 LD="${LD-ld} -m elf64_sparc" 7026 ;; 7027 esac 7028 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7029 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7030 LD=${LD-ld}_sol2 7031 fi 7032 ;; 7033 *) 7034 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7035 LD="${LD-ld} -64" 7036 fi 7037 ;; 7038 esac 7039 ;; 7040 esac 7041 fi 7042 rm -rf conftest* 7043 ;; 7044esac 7045 7046need_locks=$enable_libtool_lock 7047 7048if test -n "$ac_tool_prefix"; then 7049 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7050set dummy ${ac_tool_prefix}mt; ac_word=$2 7051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7052$as_echo_n "checking for $ac_word... " >&6; } 7053if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7054 $as_echo_n "(cached) " >&6 7055else 7056 if test -n "$MANIFEST_TOOL"; then 7057 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7058else 7059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7060for as_dir in $PATH 7061do 7062 IFS=$as_save_IFS 7063 test -z "$as_dir" && as_dir=. 7064 for ac_exec_ext in '' $ac_executable_extensions; do 7065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7066 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7068 break 2 7069 fi 7070done 7071 done 7072IFS=$as_save_IFS 7073 7074fi 7075fi 7076MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7077if test -n "$MANIFEST_TOOL"; then 7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7079$as_echo "$MANIFEST_TOOL" >&6; } 7080else 7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7082$as_echo "no" >&6; } 7083fi 7084 7085 7086fi 7087if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7088 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7089 # Extract the first word of "mt", so it can be a program name with args. 7090set dummy mt; ac_word=$2 7091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7092$as_echo_n "checking for $ac_word... " >&6; } 7093if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7094 $as_echo_n "(cached) " >&6 7095else 7096 if test -n "$ac_ct_MANIFEST_TOOL"; then 7097 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7098else 7099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7100for as_dir in $PATH 7101do 7102 IFS=$as_save_IFS 7103 test -z "$as_dir" && as_dir=. 7104 for ac_exec_ext in '' $ac_executable_extensions; do 7105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7106 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7108 break 2 7109 fi 7110done 7111 done 7112IFS=$as_save_IFS 7113 7114fi 7115fi 7116ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7117if test -n "$ac_ct_MANIFEST_TOOL"; then 7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7119$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7120else 7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7122$as_echo "no" >&6; } 7123fi 7124 7125 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7126 MANIFEST_TOOL=":" 7127 else 7128 case $cross_compiling:$ac_tool_warned in 7129yes:) 7130{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7131$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7132ac_tool_warned=yes ;; 7133esac 7134 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7135 fi 7136else 7137 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7138fi 7139 7140test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7142$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7143if ${lt_cv_path_mainfest_tool+:} false; then : 7144 $as_echo_n "(cached) " >&6 7145else 7146 lt_cv_path_mainfest_tool=no 7147 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7148 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7149 cat conftest.err >&5 7150 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7151 lt_cv_path_mainfest_tool=yes 7152 fi 7153 rm -f conftest* 7154fi 7155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7156$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7157if test yes != "$lt_cv_path_mainfest_tool"; then 7158 MANIFEST_TOOL=: 7159fi 7160 7161 7162 7163 7164 7165 7166 case $host_os in 7167 rhapsody* | darwin*) 7168 if test -n "$ac_tool_prefix"; then 7169 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7170set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7172$as_echo_n "checking for $ac_word... " >&6; } 7173if ${ac_cv_prog_DSYMUTIL+:} false; then : 7174 $as_echo_n "(cached) " >&6 7175else 7176 if test -n "$DSYMUTIL"; then 7177 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7178else 7179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7180for as_dir in $PATH 7181do 7182 IFS=$as_save_IFS 7183 test -z "$as_dir" && as_dir=. 7184 for ac_exec_ext in '' $ac_executable_extensions; do 7185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7186 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7188 break 2 7189 fi 7190done 7191 done 7192IFS=$as_save_IFS 7193 7194fi 7195fi 7196DSYMUTIL=$ac_cv_prog_DSYMUTIL 7197if test -n "$DSYMUTIL"; then 7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7199$as_echo "$DSYMUTIL" >&6; } 7200else 7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7202$as_echo "no" >&6; } 7203fi 7204 7205 7206fi 7207if test -z "$ac_cv_prog_DSYMUTIL"; then 7208 ac_ct_DSYMUTIL=$DSYMUTIL 7209 # Extract the first word of "dsymutil", so it can be a program name with args. 7210set dummy dsymutil; ac_word=$2 7211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7212$as_echo_n "checking for $ac_word... " >&6; } 7213if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7214 $as_echo_n "(cached) " >&6 7215else 7216 if test -n "$ac_ct_DSYMUTIL"; then 7217 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7218else 7219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7220for as_dir in $PATH 7221do 7222 IFS=$as_save_IFS 7223 test -z "$as_dir" && as_dir=. 7224 for ac_exec_ext in '' $ac_executable_extensions; do 7225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7226 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7228 break 2 7229 fi 7230done 7231 done 7232IFS=$as_save_IFS 7233 7234fi 7235fi 7236ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7237if test -n "$ac_ct_DSYMUTIL"; then 7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7239$as_echo "$ac_ct_DSYMUTIL" >&6; } 7240else 7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7242$as_echo "no" >&6; } 7243fi 7244 7245 if test "x$ac_ct_DSYMUTIL" = x; then 7246 DSYMUTIL=":" 7247 else 7248 case $cross_compiling:$ac_tool_warned in 7249yes:) 7250{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7251$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7252ac_tool_warned=yes ;; 7253esac 7254 DSYMUTIL=$ac_ct_DSYMUTIL 7255 fi 7256else 7257 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7258fi 7259 7260 if test -n "$ac_tool_prefix"; then 7261 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7262set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7264$as_echo_n "checking for $ac_word... " >&6; } 7265if ${ac_cv_prog_NMEDIT+:} false; then : 7266 $as_echo_n "(cached) " >&6 7267else 7268 if test -n "$NMEDIT"; then 7269 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7270else 7271as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7272for as_dir in $PATH 7273do 7274 IFS=$as_save_IFS 7275 test -z "$as_dir" && as_dir=. 7276 for ac_exec_ext in '' $ac_executable_extensions; do 7277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7278 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7280 break 2 7281 fi 7282done 7283 done 7284IFS=$as_save_IFS 7285 7286fi 7287fi 7288NMEDIT=$ac_cv_prog_NMEDIT 7289if test -n "$NMEDIT"; then 7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7291$as_echo "$NMEDIT" >&6; } 7292else 7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7294$as_echo "no" >&6; } 7295fi 7296 7297 7298fi 7299if test -z "$ac_cv_prog_NMEDIT"; then 7300 ac_ct_NMEDIT=$NMEDIT 7301 # Extract the first word of "nmedit", so it can be a program name with args. 7302set dummy nmedit; ac_word=$2 7303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7304$as_echo_n "checking for $ac_word... " >&6; } 7305if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7306 $as_echo_n "(cached) " >&6 7307else 7308 if test -n "$ac_ct_NMEDIT"; then 7309 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7310else 7311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7312for as_dir in $PATH 7313do 7314 IFS=$as_save_IFS 7315 test -z "$as_dir" && as_dir=. 7316 for ac_exec_ext in '' $ac_executable_extensions; do 7317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7318 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7320 break 2 7321 fi 7322done 7323 done 7324IFS=$as_save_IFS 7325 7326fi 7327fi 7328ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7329if test -n "$ac_ct_NMEDIT"; then 7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7331$as_echo "$ac_ct_NMEDIT" >&6; } 7332else 7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7334$as_echo "no" >&6; } 7335fi 7336 7337 if test "x$ac_ct_NMEDIT" = x; then 7338 NMEDIT=":" 7339 else 7340 case $cross_compiling:$ac_tool_warned in 7341yes:) 7342{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7343$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7344ac_tool_warned=yes ;; 7345esac 7346 NMEDIT=$ac_ct_NMEDIT 7347 fi 7348else 7349 NMEDIT="$ac_cv_prog_NMEDIT" 7350fi 7351 7352 if test -n "$ac_tool_prefix"; then 7353 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7354set dummy ${ac_tool_prefix}lipo; ac_word=$2 7355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7356$as_echo_n "checking for $ac_word... " >&6; } 7357if ${ac_cv_prog_LIPO+:} false; then : 7358 $as_echo_n "(cached) " >&6 7359else 7360 if test -n "$LIPO"; then 7361 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7362else 7363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7364for as_dir in $PATH 7365do 7366 IFS=$as_save_IFS 7367 test -z "$as_dir" && as_dir=. 7368 for ac_exec_ext in '' $ac_executable_extensions; do 7369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7370 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7372 break 2 7373 fi 7374done 7375 done 7376IFS=$as_save_IFS 7377 7378fi 7379fi 7380LIPO=$ac_cv_prog_LIPO 7381if test -n "$LIPO"; then 7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7383$as_echo "$LIPO" >&6; } 7384else 7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7386$as_echo "no" >&6; } 7387fi 7388 7389 7390fi 7391if test -z "$ac_cv_prog_LIPO"; then 7392 ac_ct_LIPO=$LIPO 7393 # Extract the first word of "lipo", so it can be a program name with args. 7394set dummy lipo; ac_word=$2 7395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7396$as_echo_n "checking for $ac_word... " >&6; } 7397if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7398 $as_echo_n "(cached) " >&6 7399else 7400 if test -n "$ac_ct_LIPO"; then 7401 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7402else 7403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7404for as_dir in $PATH 7405do 7406 IFS=$as_save_IFS 7407 test -z "$as_dir" && as_dir=. 7408 for ac_exec_ext in '' $ac_executable_extensions; do 7409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7410 ac_cv_prog_ac_ct_LIPO="lipo" 7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7412 break 2 7413 fi 7414done 7415 done 7416IFS=$as_save_IFS 7417 7418fi 7419fi 7420ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7421if test -n "$ac_ct_LIPO"; then 7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7423$as_echo "$ac_ct_LIPO" >&6; } 7424else 7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7426$as_echo "no" >&6; } 7427fi 7428 7429 if test "x$ac_ct_LIPO" = x; then 7430 LIPO=":" 7431 else 7432 case $cross_compiling:$ac_tool_warned in 7433yes:) 7434{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7435$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7436ac_tool_warned=yes ;; 7437esac 7438 LIPO=$ac_ct_LIPO 7439 fi 7440else 7441 LIPO="$ac_cv_prog_LIPO" 7442fi 7443 7444 if test -n "$ac_tool_prefix"; then 7445 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7446set dummy ${ac_tool_prefix}otool; ac_word=$2 7447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7448$as_echo_n "checking for $ac_word... " >&6; } 7449if ${ac_cv_prog_OTOOL+:} false; then : 7450 $as_echo_n "(cached) " >&6 7451else 7452 if test -n "$OTOOL"; then 7453 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7454else 7455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7456for as_dir in $PATH 7457do 7458 IFS=$as_save_IFS 7459 test -z "$as_dir" && as_dir=. 7460 for ac_exec_ext in '' $ac_executable_extensions; do 7461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7462 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7464 break 2 7465 fi 7466done 7467 done 7468IFS=$as_save_IFS 7469 7470fi 7471fi 7472OTOOL=$ac_cv_prog_OTOOL 7473if test -n "$OTOOL"; then 7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7475$as_echo "$OTOOL" >&6; } 7476else 7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7478$as_echo "no" >&6; } 7479fi 7480 7481 7482fi 7483if test -z "$ac_cv_prog_OTOOL"; then 7484 ac_ct_OTOOL=$OTOOL 7485 # Extract the first word of "otool", so it can be a program name with args. 7486set dummy otool; ac_word=$2 7487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7488$as_echo_n "checking for $ac_word... " >&6; } 7489if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7490 $as_echo_n "(cached) " >&6 7491else 7492 if test -n "$ac_ct_OTOOL"; then 7493 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7494else 7495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7496for as_dir in $PATH 7497do 7498 IFS=$as_save_IFS 7499 test -z "$as_dir" && as_dir=. 7500 for ac_exec_ext in '' $ac_executable_extensions; do 7501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7502 ac_cv_prog_ac_ct_OTOOL="otool" 7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7504 break 2 7505 fi 7506done 7507 done 7508IFS=$as_save_IFS 7509 7510fi 7511fi 7512ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7513if test -n "$ac_ct_OTOOL"; then 7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7515$as_echo "$ac_ct_OTOOL" >&6; } 7516else 7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7518$as_echo "no" >&6; } 7519fi 7520 7521 if test "x$ac_ct_OTOOL" = x; then 7522 OTOOL=":" 7523 else 7524 case $cross_compiling:$ac_tool_warned in 7525yes:) 7526{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7527$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7528ac_tool_warned=yes ;; 7529esac 7530 OTOOL=$ac_ct_OTOOL 7531 fi 7532else 7533 OTOOL="$ac_cv_prog_OTOOL" 7534fi 7535 7536 if test -n "$ac_tool_prefix"; then 7537 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7538set dummy ${ac_tool_prefix}otool64; ac_word=$2 7539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7540$as_echo_n "checking for $ac_word... " >&6; } 7541if ${ac_cv_prog_OTOOL64+:} false; then : 7542 $as_echo_n "(cached) " >&6 7543else 7544 if test -n "$OTOOL64"; then 7545 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7546else 7547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7548for as_dir in $PATH 7549do 7550 IFS=$as_save_IFS 7551 test -z "$as_dir" && as_dir=. 7552 for ac_exec_ext in '' $ac_executable_extensions; do 7553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7554 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7556 break 2 7557 fi 7558done 7559 done 7560IFS=$as_save_IFS 7561 7562fi 7563fi 7564OTOOL64=$ac_cv_prog_OTOOL64 7565if test -n "$OTOOL64"; then 7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7567$as_echo "$OTOOL64" >&6; } 7568else 7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7570$as_echo "no" >&6; } 7571fi 7572 7573 7574fi 7575if test -z "$ac_cv_prog_OTOOL64"; then 7576 ac_ct_OTOOL64=$OTOOL64 7577 # Extract the first word of "otool64", so it can be a program name with args. 7578set dummy otool64; ac_word=$2 7579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7580$as_echo_n "checking for $ac_word... " >&6; } 7581if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7582 $as_echo_n "(cached) " >&6 7583else 7584 if test -n "$ac_ct_OTOOL64"; then 7585 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7586else 7587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7588for as_dir in $PATH 7589do 7590 IFS=$as_save_IFS 7591 test -z "$as_dir" && as_dir=. 7592 for ac_exec_ext in '' $ac_executable_extensions; do 7593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7594 ac_cv_prog_ac_ct_OTOOL64="otool64" 7595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7596 break 2 7597 fi 7598done 7599 done 7600IFS=$as_save_IFS 7601 7602fi 7603fi 7604ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7605if test -n "$ac_ct_OTOOL64"; then 7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7607$as_echo "$ac_ct_OTOOL64" >&6; } 7608else 7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7610$as_echo "no" >&6; } 7611fi 7612 7613 if test "x$ac_ct_OTOOL64" = x; then 7614 OTOOL64=":" 7615 else 7616 case $cross_compiling:$ac_tool_warned in 7617yes:) 7618{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7619$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7620ac_tool_warned=yes ;; 7621esac 7622 OTOOL64=$ac_ct_OTOOL64 7623 fi 7624else 7625 OTOOL64="$ac_cv_prog_OTOOL64" 7626fi 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7655$as_echo_n "checking for -single_module linker flag... " >&6; } 7656if ${lt_cv_apple_cc_single_mod+:} false; then : 7657 $as_echo_n "(cached) " >&6 7658else 7659 lt_cv_apple_cc_single_mod=no 7660 if test -z "$LT_MULTI_MODULE"; then 7661 # By default we will add the -single_module flag. You can override 7662 # by either setting the environment variable LT_MULTI_MODULE 7663 # non-empty at configure time, or by adding -multi_module to the 7664 # link flags. 7665 rm -rf libconftest.dylib* 7666 echo "int foo(void){return 1;}" > conftest.c 7667 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7668-dynamiclib -Wl,-single_module conftest.c" >&5 7669 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7670 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7671 _lt_result=$? 7672 # If there is a non-empty error log, and "single_module" 7673 # appears in it, assume the flag caused a linker warning 7674 if test -s conftest.err && $GREP single_module conftest.err; then 7675 cat conftest.err >&5 7676 # Otherwise, if the output was created with a 0 exit code from 7677 # the compiler, it worked. 7678 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7679 lt_cv_apple_cc_single_mod=yes 7680 else 7681 cat conftest.err >&5 7682 fi 7683 rm -rf libconftest.dylib* 7684 rm -f conftest.* 7685 fi 7686fi 7687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7688$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7689 7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7691$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7692if ${lt_cv_ld_exported_symbols_list+:} false; then : 7693 $as_echo_n "(cached) " >&6 7694else 7695 lt_cv_ld_exported_symbols_list=no 7696 save_LDFLAGS=$LDFLAGS 7697 echo "_main" > conftest.sym 7698 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7700/* end confdefs.h. */ 7701 7702int 7703main () 7704{ 7705 7706 ; 7707 return 0; 7708} 7709_ACEOF 7710if ac_fn_c_try_link "$LINENO"; then : 7711 lt_cv_ld_exported_symbols_list=yes 7712else 7713 lt_cv_ld_exported_symbols_list=no 7714fi 7715rm -f core conftest.err conftest.$ac_objext \ 7716 conftest$ac_exeext conftest.$ac_ext 7717 LDFLAGS=$save_LDFLAGS 7718 7719fi 7720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7721$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7722 7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7724$as_echo_n "checking for -force_load linker flag... " >&6; } 7725if ${lt_cv_ld_force_load+:} false; then : 7726 $as_echo_n "(cached) " >&6 7727else 7728 lt_cv_ld_force_load=no 7729 cat > conftest.c << _LT_EOF 7730int forced_loaded() { return 2;} 7731_LT_EOF 7732 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7733 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7734 echo "$AR cru libconftest.a conftest.o" >&5 7735 $AR cru libconftest.a conftest.o 2>&5 7736 echo "$RANLIB libconftest.a" >&5 7737 $RANLIB libconftest.a 2>&5 7738 cat > conftest.c << _LT_EOF 7739int main() { return 0;} 7740_LT_EOF 7741 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7742 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7743 _lt_result=$? 7744 if test -s conftest.err && $GREP force_load conftest.err; then 7745 cat conftest.err >&5 7746 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7747 lt_cv_ld_force_load=yes 7748 else 7749 cat conftest.err >&5 7750 fi 7751 rm -f conftest.err libconftest.a conftest conftest.c 7752 rm -rf conftest.dSYM 7753 7754fi 7755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7756$as_echo "$lt_cv_ld_force_load" >&6; } 7757 case $host_os in 7758 rhapsody* | darwin1.[012]) 7759 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7760 darwin1.*) 7761 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7762 darwin*) # darwin 5.x on 7763 # if running on 10.5 or later, the deployment target defaults 7764 # to the OS version, if on x86, and 10.4, the deployment 7765 # target defaults to 10.4. Don't you love it? 7766 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7767 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7768 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7769 10.[012][,.]*) 7770 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7771 10.*) 7772 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7773 esac 7774 ;; 7775 esac 7776 if test yes = "$lt_cv_apple_cc_single_mod"; then 7777 _lt_dar_single_mod='$single_module' 7778 fi 7779 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7780 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7781 else 7782 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7783 fi 7784 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7785 _lt_dsymutil='~$DSYMUTIL $lib || :' 7786 else 7787 _lt_dsymutil= 7788 fi 7789 ;; 7790 esac 7791 7792# func_munge_path_list VARIABLE PATH 7793# ----------------------------------- 7794# VARIABLE is name of variable containing _space_ separated list of 7795# directories to be munged by the contents of PATH, which is string 7796# having a format: 7797# "DIR[:DIR]:" 7798# string "DIR[ DIR]" will be prepended to VARIABLE 7799# ":DIR[:DIR]" 7800# string "DIR[ DIR]" will be appended to VARIABLE 7801# "DIRP[:DIRP]::[DIRA:]DIRA" 7802# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7803# "DIRA[ DIRA]" will be appended to VARIABLE 7804# "DIR[:DIR]" 7805# VARIABLE will be replaced by "DIR[ DIR]" 7806func_munge_path_list () 7807{ 7808 case x$2 in 7809 x) 7810 ;; 7811 *:) 7812 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7813 ;; 7814 x:*) 7815 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7816 ;; 7817 *::*) 7818 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7819 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7820 ;; 7821 *) 7822 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7823 ;; 7824 esac 7825} 7826 7827ac_ext=c 7828ac_cpp='$CPP $CPPFLAGS' 7829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7831ac_compiler_gnu=$ac_cv_c_compiler_gnu 7832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7833$as_echo_n "checking how to run the C preprocessor... " >&6; } 7834# On Suns, sometimes $CPP names a directory. 7835if test -n "$CPP" && test -d "$CPP"; then 7836 CPP= 7837fi 7838if test -z "$CPP"; then 7839 if ${ac_cv_prog_CPP+:} false; then : 7840 $as_echo_n "(cached) " >&6 7841else 7842 # Double quotes because CPP needs to be expanded 7843 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7844 do 7845 ac_preproc_ok=false 7846for ac_c_preproc_warn_flag in '' yes 7847do 7848 # Use a header file that comes with gcc, so configuring glibc 7849 # with a fresh cross-compiler works. 7850 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7851 # <limits.h> exists even on freestanding compilers. 7852 # On the NeXT, cc -E runs the code through the compiler's parser, 7853 # not just through cpp. "Syntax error" is here to catch this case. 7854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7855/* end confdefs.h. */ 7856#ifdef __STDC__ 7857# include <limits.h> 7858#else 7859# include <assert.h> 7860#endif 7861 Syntax error 7862_ACEOF 7863if ac_fn_c_try_cpp "$LINENO"; then : 7864 7865else 7866 # Broken: fails on valid input. 7867continue 7868fi 7869rm -f conftest.err conftest.i conftest.$ac_ext 7870 7871 # OK, works on sane cases. Now check whether nonexistent headers 7872 # can be detected and how. 7873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7874/* end confdefs.h. */ 7875#include <ac_nonexistent.h> 7876_ACEOF 7877if ac_fn_c_try_cpp "$LINENO"; then : 7878 # Broken: success on invalid input. 7879continue 7880else 7881 # Passes both tests. 7882ac_preproc_ok=: 7883break 7884fi 7885rm -f conftest.err conftest.i conftest.$ac_ext 7886 7887done 7888# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7889rm -f conftest.i conftest.err conftest.$ac_ext 7890if $ac_preproc_ok; then : 7891 break 7892fi 7893 7894 done 7895 ac_cv_prog_CPP=$CPP 7896 7897fi 7898 CPP=$ac_cv_prog_CPP 7899else 7900 ac_cv_prog_CPP=$CPP 7901fi 7902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7903$as_echo "$CPP" >&6; } 7904ac_preproc_ok=false 7905for ac_c_preproc_warn_flag in '' yes 7906do 7907 # Use a header file that comes with gcc, so configuring glibc 7908 # with a fresh cross-compiler works. 7909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7910 # <limits.h> exists even on freestanding compilers. 7911 # On the NeXT, cc -E runs the code through the compiler's parser, 7912 # not just through cpp. "Syntax error" is here to catch this case. 7913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7914/* end confdefs.h. */ 7915#ifdef __STDC__ 7916# include <limits.h> 7917#else 7918# include <assert.h> 7919#endif 7920 Syntax error 7921_ACEOF 7922if ac_fn_c_try_cpp "$LINENO"; then : 7923 7924else 7925 # Broken: fails on valid input. 7926continue 7927fi 7928rm -f conftest.err conftest.i conftest.$ac_ext 7929 7930 # OK, works on sane cases. Now check whether nonexistent headers 7931 # can be detected and how. 7932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7933/* end confdefs.h. */ 7934#include <ac_nonexistent.h> 7935_ACEOF 7936if ac_fn_c_try_cpp "$LINENO"; then : 7937 # Broken: success on invalid input. 7938continue 7939else 7940 # Passes both tests. 7941ac_preproc_ok=: 7942break 7943fi 7944rm -f conftest.err conftest.i conftest.$ac_ext 7945 7946done 7947# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7948rm -f conftest.i conftest.err conftest.$ac_ext 7949if $ac_preproc_ok; then : 7950 7951else 7952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7953$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7954as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7955See \`config.log' for more details" "$LINENO" 5; } 7956fi 7957 7958ac_ext=c 7959ac_cpp='$CPP $CPPFLAGS' 7960ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7961ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7962ac_compiler_gnu=$ac_cv_c_compiler_gnu 7963 7964 7965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7966$as_echo_n "checking for ANSI C header files... " >&6; } 7967if ${ac_cv_header_stdc+:} false; then : 7968 $as_echo_n "(cached) " >&6 7969else 7970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7971/* end confdefs.h. */ 7972#include <stdlib.h> 7973#include <stdarg.h> 7974#include <string.h> 7975#include <float.h> 7976 7977int 7978main () 7979{ 7980 7981 ; 7982 return 0; 7983} 7984_ACEOF 7985if ac_fn_c_try_compile "$LINENO"; then : 7986 ac_cv_header_stdc=yes 7987else 7988 ac_cv_header_stdc=no 7989fi 7990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7991 7992if test $ac_cv_header_stdc = yes; then 7993 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7995/* end confdefs.h. */ 7996#include <string.h> 7997 7998_ACEOF 7999if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8000 $EGREP "memchr" >/dev/null 2>&1; then : 8001 8002else 8003 ac_cv_header_stdc=no 8004fi 8005rm -f conftest* 8006 8007fi 8008 8009if test $ac_cv_header_stdc = yes; then 8010 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8012/* end confdefs.h. */ 8013#include <stdlib.h> 8014 8015_ACEOF 8016if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8017 $EGREP "free" >/dev/null 2>&1; then : 8018 8019else 8020 ac_cv_header_stdc=no 8021fi 8022rm -f conftest* 8023 8024fi 8025 8026if test $ac_cv_header_stdc = yes; then 8027 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8028 if test "$cross_compiling" = yes; then : 8029 : 8030else 8031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8032/* end confdefs.h. */ 8033#include <ctype.h> 8034#include <stdlib.h> 8035#if ((' ' & 0x0FF) == 0x020) 8036# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8037# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8038#else 8039# define ISLOWER(c) \ 8040 (('a' <= (c) && (c) <= 'i') \ 8041 || ('j' <= (c) && (c) <= 'r') \ 8042 || ('s' <= (c) && (c) <= 'z')) 8043# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8044#endif 8045 8046#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8047int 8048main () 8049{ 8050 int i; 8051 for (i = 0; i < 256; i++) 8052 if (XOR (islower (i), ISLOWER (i)) 8053 || toupper (i) != TOUPPER (i)) 8054 return 2; 8055 return 0; 8056} 8057_ACEOF 8058if ac_fn_c_try_run "$LINENO"; then : 8059 8060else 8061 ac_cv_header_stdc=no 8062fi 8063rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8064 conftest.$ac_objext conftest.beam conftest.$ac_ext 8065fi 8066 8067fi 8068fi 8069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8070$as_echo "$ac_cv_header_stdc" >&6; } 8071if test $ac_cv_header_stdc = yes; then 8072 8073$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8074 8075fi 8076 8077# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8078for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8079 inttypes.h stdint.h unistd.h 8080do : 8081 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8082ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8083" 8084if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8085 cat >>confdefs.h <<_ACEOF 8086#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8087_ACEOF 8088 8089fi 8090 8091done 8092 8093 8094for ac_header in dlfcn.h 8095do : 8096 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8097" 8098if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8099 cat >>confdefs.h <<_ACEOF 8100#define HAVE_DLFCN_H 1 8101_ACEOF 8102 8103fi 8104 8105done 8106 8107 8108 8109 8110 8111# Set options 8112enable_win32_dll=yes 8113 8114case $host in 8115*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 8116 if test -n "$ac_tool_prefix"; then 8117 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 8118set dummy ${ac_tool_prefix}as; ac_word=$2 8119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8120$as_echo_n "checking for $ac_word... " >&6; } 8121if ${ac_cv_prog_AS+:} false; then : 8122 $as_echo_n "(cached) " >&6 8123else 8124 if test -n "$AS"; then 8125 ac_cv_prog_AS="$AS" # Let the user override the test. 8126else 8127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8128for as_dir in $PATH 8129do 8130 IFS=$as_save_IFS 8131 test -z "$as_dir" && as_dir=. 8132 for ac_exec_ext in '' $ac_executable_extensions; do 8133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8134 ac_cv_prog_AS="${ac_tool_prefix}as" 8135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8136 break 2 8137 fi 8138done 8139 done 8140IFS=$as_save_IFS 8141 8142fi 8143fi 8144AS=$ac_cv_prog_AS 8145if test -n "$AS"; then 8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 8147$as_echo "$AS" >&6; } 8148else 8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8150$as_echo "no" >&6; } 8151fi 8152 8153 8154fi 8155if test -z "$ac_cv_prog_AS"; then 8156 ac_ct_AS=$AS 8157 # Extract the first word of "as", so it can be a program name with args. 8158set dummy as; ac_word=$2 8159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8160$as_echo_n "checking for $ac_word... " >&6; } 8161if ${ac_cv_prog_ac_ct_AS+:} false; then : 8162 $as_echo_n "(cached) " >&6 8163else 8164 if test -n "$ac_ct_AS"; then 8165 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 8166else 8167as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8168for as_dir in $PATH 8169do 8170 IFS=$as_save_IFS 8171 test -z "$as_dir" && as_dir=. 8172 for ac_exec_ext in '' $ac_executable_extensions; do 8173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8174 ac_cv_prog_ac_ct_AS="as" 8175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8176 break 2 8177 fi 8178done 8179 done 8180IFS=$as_save_IFS 8181 8182fi 8183fi 8184ac_ct_AS=$ac_cv_prog_ac_ct_AS 8185if test -n "$ac_ct_AS"; then 8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 8187$as_echo "$ac_ct_AS" >&6; } 8188else 8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8190$as_echo "no" >&6; } 8191fi 8192 8193 if test "x$ac_ct_AS" = x; then 8194 AS="false" 8195 else 8196 case $cross_compiling:$ac_tool_warned in 8197yes:) 8198{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8200ac_tool_warned=yes ;; 8201esac 8202 AS=$ac_ct_AS 8203 fi 8204else 8205 AS="$ac_cv_prog_AS" 8206fi 8207 8208 if test -n "$ac_tool_prefix"; then 8209 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8210set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8212$as_echo_n "checking for $ac_word... " >&6; } 8213if ${ac_cv_prog_DLLTOOL+:} false; then : 8214 $as_echo_n "(cached) " >&6 8215else 8216 if test -n "$DLLTOOL"; then 8217 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8218else 8219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8220for as_dir in $PATH 8221do 8222 IFS=$as_save_IFS 8223 test -z "$as_dir" && as_dir=. 8224 for ac_exec_ext in '' $ac_executable_extensions; do 8225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8226 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8228 break 2 8229 fi 8230done 8231 done 8232IFS=$as_save_IFS 8233 8234fi 8235fi 8236DLLTOOL=$ac_cv_prog_DLLTOOL 8237if test -n "$DLLTOOL"; then 8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8239$as_echo "$DLLTOOL" >&6; } 8240else 8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8242$as_echo "no" >&6; } 8243fi 8244 8245 8246fi 8247if test -z "$ac_cv_prog_DLLTOOL"; then 8248 ac_ct_DLLTOOL=$DLLTOOL 8249 # Extract the first word of "dlltool", so it can be a program name with args. 8250set dummy dlltool; ac_word=$2 8251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8252$as_echo_n "checking for $ac_word... " >&6; } 8253if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8254 $as_echo_n "(cached) " >&6 8255else 8256 if test -n "$ac_ct_DLLTOOL"; then 8257 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8258else 8259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8260for as_dir in $PATH 8261do 8262 IFS=$as_save_IFS 8263 test -z "$as_dir" && as_dir=. 8264 for ac_exec_ext in '' $ac_executable_extensions; do 8265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8266 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8268 break 2 8269 fi 8270done 8271 done 8272IFS=$as_save_IFS 8273 8274fi 8275fi 8276ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8277if test -n "$ac_ct_DLLTOOL"; then 8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8279$as_echo "$ac_ct_DLLTOOL" >&6; } 8280else 8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8282$as_echo "no" >&6; } 8283fi 8284 8285 if test "x$ac_ct_DLLTOOL" = x; then 8286 DLLTOOL="false" 8287 else 8288 case $cross_compiling:$ac_tool_warned in 8289yes:) 8290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8292ac_tool_warned=yes ;; 8293esac 8294 DLLTOOL=$ac_ct_DLLTOOL 8295 fi 8296else 8297 DLLTOOL="$ac_cv_prog_DLLTOOL" 8298fi 8299 8300 if test -n "$ac_tool_prefix"; then 8301 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8302set dummy ${ac_tool_prefix}objdump; ac_word=$2 8303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8304$as_echo_n "checking for $ac_word... " >&6; } 8305if ${ac_cv_prog_OBJDUMP+:} false; then : 8306 $as_echo_n "(cached) " >&6 8307else 8308 if test -n "$OBJDUMP"; then 8309 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8310else 8311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8312for as_dir in $PATH 8313do 8314 IFS=$as_save_IFS 8315 test -z "$as_dir" && as_dir=. 8316 for ac_exec_ext in '' $ac_executable_extensions; do 8317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8318 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8320 break 2 8321 fi 8322done 8323 done 8324IFS=$as_save_IFS 8325 8326fi 8327fi 8328OBJDUMP=$ac_cv_prog_OBJDUMP 8329if test -n "$OBJDUMP"; then 8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8331$as_echo "$OBJDUMP" >&6; } 8332else 8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8334$as_echo "no" >&6; } 8335fi 8336 8337 8338fi 8339if test -z "$ac_cv_prog_OBJDUMP"; then 8340 ac_ct_OBJDUMP=$OBJDUMP 8341 # Extract the first word of "objdump", so it can be a program name with args. 8342set dummy objdump; ac_word=$2 8343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8344$as_echo_n "checking for $ac_word... " >&6; } 8345if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8346 $as_echo_n "(cached) " >&6 8347else 8348 if test -n "$ac_ct_OBJDUMP"; then 8349 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8350else 8351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8352for as_dir in $PATH 8353do 8354 IFS=$as_save_IFS 8355 test -z "$as_dir" && as_dir=. 8356 for ac_exec_ext in '' $ac_executable_extensions; do 8357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8358 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8360 break 2 8361 fi 8362done 8363 done 8364IFS=$as_save_IFS 8365 8366fi 8367fi 8368ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8369if test -n "$ac_ct_OBJDUMP"; then 8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8371$as_echo "$ac_ct_OBJDUMP" >&6; } 8372else 8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8374$as_echo "no" >&6; } 8375fi 8376 8377 if test "x$ac_ct_OBJDUMP" = x; then 8378 OBJDUMP="false" 8379 else 8380 case $cross_compiling:$ac_tool_warned in 8381yes:) 8382{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8383$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8384ac_tool_warned=yes ;; 8385esac 8386 OBJDUMP=$ac_ct_OBJDUMP 8387 fi 8388else 8389 OBJDUMP="$ac_cv_prog_OBJDUMP" 8390fi 8391 8392 ;; 8393esac 8394 8395test -z "$AS" && AS=as 8396 8397 8398 8399 8400 8401test -z "$DLLTOOL" && DLLTOOL=dlltool 8402 8403 8404 8405 8406 8407test -z "$OBJDUMP" && OBJDUMP=objdump 8408 8409 8410 8411 8412 8413 8414 8415 enable_dlopen=no 8416 8417 8418 8419 # Check whether --enable-shared was given. 8420if test "${enable_shared+set}" = set; then : 8421 enableval=$enable_shared; p=${PACKAGE-default} 8422 case $enableval in 8423 yes) enable_shared=yes ;; 8424 no) enable_shared=no ;; 8425 *) 8426 enable_shared=no 8427 # Look at the argument we got. We use all the common list separators. 8428 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8429 for pkg in $enableval; do 8430 IFS=$lt_save_ifs 8431 if test "X$pkg" = "X$p"; then 8432 enable_shared=yes 8433 fi 8434 done 8435 IFS=$lt_save_ifs 8436 ;; 8437 esac 8438else 8439 enable_shared=yes 8440fi 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 # Check whether --enable-static was given. 8451if test "${enable_static+set}" = set; then : 8452 enableval=$enable_static; p=${PACKAGE-default} 8453 case $enableval in 8454 yes) enable_static=yes ;; 8455 no) enable_static=no ;; 8456 *) 8457 enable_static=no 8458 # Look at the argument we got. We use all the common list separators. 8459 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8460 for pkg in $enableval; do 8461 IFS=$lt_save_ifs 8462 if test "X$pkg" = "X$p"; then 8463 enable_static=yes 8464 fi 8465 done 8466 IFS=$lt_save_ifs 8467 ;; 8468 esac 8469else 8470 enable_static=yes 8471fi 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482# Check whether --with-pic was given. 8483if test "${with_pic+set}" = set; then : 8484 withval=$with_pic; lt_p=${PACKAGE-default} 8485 case $withval in 8486 yes|no) pic_mode=$withval ;; 8487 *) 8488 pic_mode=default 8489 # Look at the argument we got. We use all the common list separators. 8490 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8491 for lt_pkg in $withval; do 8492 IFS=$lt_save_ifs 8493 if test "X$lt_pkg" = "X$lt_p"; then 8494 pic_mode=yes 8495 fi 8496 done 8497 IFS=$lt_save_ifs 8498 ;; 8499 esac 8500else 8501 pic_mode=default 8502fi 8503 8504 8505 8506 8507 8508 8509 8510 8511 # Check whether --enable-fast-install was given. 8512if test "${enable_fast_install+set}" = set; then : 8513 enableval=$enable_fast_install; p=${PACKAGE-default} 8514 case $enableval in 8515 yes) enable_fast_install=yes ;; 8516 no) enable_fast_install=no ;; 8517 *) 8518 enable_fast_install=no 8519 # Look at the argument we got. We use all the common list separators. 8520 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8521 for pkg in $enableval; do 8522 IFS=$lt_save_ifs 8523 if test "X$pkg" = "X$p"; then 8524 enable_fast_install=yes 8525 fi 8526 done 8527 IFS=$lt_save_ifs 8528 ;; 8529 esac 8530else 8531 enable_fast_install=yes 8532fi 8533 8534 8535 8536 8537 8538 8539 8540 8541 shared_archive_member_spec= 8542case $host,$enable_shared in 8543power*-*-aix[5-9]*,yes) 8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8545$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8546 8547# Check whether --with-aix-soname was given. 8548if test "${with_aix_soname+set}" = set; then : 8549 withval=$with_aix_soname; case $withval in 8550 aix|svr4|both) 8551 ;; 8552 *) 8553 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8554 ;; 8555 esac 8556 lt_cv_with_aix_soname=$with_aix_soname 8557else 8558 if ${lt_cv_with_aix_soname+:} false; then : 8559 $as_echo_n "(cached) " >&6 8560else 8561 lt_cv_with_aix_soname=aix 8562fi 8563 8564 with_aix_soname=$lt_cv_with_aix_soname 8565fi 8566 8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8568$as_echo "$with_aix_soname" >&6; } 8569 if test aix != "$with_aix_soname"; then 8570 # For the AIX way of multilib, we name the shared archive member 8571 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8572 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8573 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8574 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8575 if test 64 = "${OBJECT_MODE-32}"; then 8576 shared_archive_member_spec=shr_64 8577 else 8578 shared_archive_member_spec=shr 8579 fi 8580 fi 8581 ;; 8582*) 8583 with_aix_soname=aix 8584 ;; 8585esac 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596# This can be used to rebuild libtool when needed 8597LIBTOOL_DEPS=$ltmain 8598 8599# Always use our own libtool. 8600LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631test -z "$LN_S" && LN_S="ln -s" 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646if test -n "${ZSH_VERSION+set}"; then 8647 setopt NO_GLOB_SUBST 8648fi 8649 8650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8651$as_echo_n "checking for objdir... " >&6; } 8652if ${lt_cv_objdir+:} false; then : 8653 $as_echo_n "(cached) " >&6 8654else 8655 rm -f .libs 2>/dev/null 8656mkdir .libs 2>/dev/null 8657if test -d .libs; then 8658 lt_cv_objdir=.libs 8659else 8660 # MS-DOS does not allow filenames that begin with a dot. 8661 lt_cv_objdir=_libs 8662fi 8663rmdir .libs 2>/dev/null 8664fi 8665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8666$as_echo "$lt_cv_objdir" >&6; } 8667objdir=$lt_cv_objdir 8668 8669 8670 8671 8672 8673cat >>confdefs.h <<_ACEOF 8674#define LT_OBJDIR "$lt_cv_objdir/" 8675_ACEOF 8676 8677 8678 8679 8680case $host_os in 8681aix3*) 8682 # AIX sometimes has problems with the GCC collect2 program. For some 8683 # reason, if we set the COLLECT_NAMES environment variable, the problems 8684 # vanish in a puff of smoke. 8685 if test set != "${COLLECT_NAMES+set}"; then 8686 COLLECT_NAMES= 8687 export COLLECT_NAMES 8688 fi 8689 ;; 8690esac 8691 8692# Global variables: 8693ofile=libtool 8694can_build_shared=yes 8695 8696# All known linkers require a '.a' archive for static linking (except MSVC, 8697# which needs '.lib'). 8698libext=a 8699 8700with_gnu_ld=$lt_cv_prog_gnu_ld 8701 8702old_CC=$CC 8703old_CFLAGS=$CFLAGS 8704 8705# Set sane defaults for various variables 8706test -z "$CC" && CC=cc 8707test -z "$LTCC" && LTCC=$CC 8708test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8709test -z "$LD" && LD=ld 8710test -z "$ac_objext" && ac_objext=o 8711 8712func_cc_basename $compiler 8713cc_basename=$func_cc_basename_result 8714 8715 8716# Only perform the check for file, if the check method requires it 8717test -z "$MAGIC_CMD" && MAGIC_CMD=file 8718case $deplibs_check_method in 8719file_magic*) 8720 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8722$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8723if ${lt_cv_path_MAGIC_CMD+:} false; then : 8724 $as_echo_n "(cached) " >&6 8725else 8726 case $MAGIC_CMD in 8727[\\/*] | ?:[\\/]*) 8728 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8729 ;; 8730*) 8731 lt_save_MAGIC_CMD=$MAGIC_CMD 8732 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8733 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8734 for ac_dir in $ac_dummy; do 8735 IFS=$lt_save_ifs 8736 test -z "$ac_dir" && ac_dir=. 8737 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8738 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8739 if test -n "$file_magic_test_file"; then 8740 case $deplibs_check_method in 8741 "file_magic "*) 8742 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8743 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8744 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8745 $EGREP "$file_magic_regex" > /dev/null; then 8746 : 8747 else 8748 cat <<_LT_EOF 1>&2 8749 8750*** Warning: the command libtool uses to detect shared libraries, 8751*** $file_magic_cmd, produces output that libtool cannot recognize. 8752*** The result is that libtool may fail to recognize shared libraries 8753*** as such. This will affect the creation of libtool libraries that 8754*** depend on shared libraries, but programs linked with such libtool 8755*** libraries will work regardless of this problem. Nevertheless, you 8756*** may want to report the problem to your system manager and/or to 8757*** bug-libtool@gnu.org 8758 8759_LT_EOF 8760 fi ;; 8761 esac 8762 fi 8763 break 8764 fi 8765 done 8766 IFS=$lt_save_ifs 8767 MAGIC_CMD=$lt_save_MAGIC_CMD 8768 ;; 8769esac 8770fi 8771 8772MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8773if test -n "$MAGIC_CMD"; then 8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8775$as_echo "$MAGIC_CMD" >&6; } 8776else 8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8778$as_echo "no" >&6; } 8779fi 8780 8781 8782 8783 8784 8785if test -z "$lt_cv_path_MAGIC_CMD"; then 8786 if test -n "$ac_tool_prefix"; then 8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8788$as_echo_n "checking for file... " >&6; } 8789if ${lt_cv_path_MAGIC_CMD+:} false; then : 8790 $as_echo_n "(cached) " >&6 8791else 8792 case $MAGIC_CMD in 8793[\\/*] | ?:[\\/]*) 8794 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8795 ;; 8796*) 8797 lt_save_MAGIC_CMD=$MAGIC_CMD 8798 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8799 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8800 for ac_dir in $ac_dummy; do 8801 IFS=$lt_save_ifs 8802 test -z "$ac_dir" && ac_dir=. 8803 if test -f "$ac_dir/file"; then 8804 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8805 if test -n "$file_magic_test_file"; then 8806 case $deplibs_check_method in 8807 "file_magic "*) 8808 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8809 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8810 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8811 $EGREP "$file_magic_regex" > /dev/null; then 8812 : 8813 else 8814 cat <<_LT_EOF 1>&2 8815 8816*** Warning: the command libtool uses to detect shared libraries, 8817*** $file_magic_cmd, produces output that libtool cannot recognize. 8818*** The result is that libtool may fail to recognize shared libraries 8819*** as such. This will affect the creation of libtool libraries that 8820*** depend on shared libraries, but programs linked with such libtool 8821*** libraries will work regardless of this problem. Nevertheless, you 8822*** may want to report the problem to your system manager and/or to 8823*** bug-libtool@gnu.org 8824 8825_LT_EOF 8826 fi ;; 8827 esac 8828 fi 8829 break 8830 fi 8831 done 8832 IFS=$lt_save_ifs 8833 MAGIC_CMD=$lt_save_MAGIC_CMD 8834 ;; 8835esac 8836fi 8837 8838MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8839if test -n "$MAGIC_CMD"; then 8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8841$as_echo "$MAGIC_CMD" >&6; } 8842else 8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8844$as_echo "no" >&6; } 8845fi 8846 8847 8848 else 8849 MAGIC_CMD=: 8850 fi 8851fi 8852 8853 fi 8854 ;; 8855esac 8856 8857# Use C for the default configuration in the libtool script 8858 8859lt_save_CC=$CC 8860ac_ext=c 8861ac_cpp='$CPP $CPPFLAGS' 8862ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8863ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8864ac_compiler_gnu=$ac_cv_c_compiler_gnu 8865 8866 8867# Source file extension for C test sources. 8868ac_ext=c 8869 8870# Object file extension for compiled C test sources. 8871objext=o 8872objext=$objext 8873 8874# Code to be used in simple compile tests 8875lt_simple_compile_test_code="int some_variable = 0;" 8876 8877# Code to be used in simple link tests 8878lt_simple_link_test_code='int main(){return(0);}' 8879 8880 8881 8882 8883 8884 8885 8886# If no C compiler was specified, use CC. 8887LTCC=${LTCC-"$CC"} 8888 8889# If no C compiler flags were specified, use CFLAGS. 8890LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8891 8892# Allow CC to be a program name with arguments. 8893compiler=$CC 8894 8895# Save the default compiler, since it gets overwritten when the other 8896# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8897compiler_DEFAULT=$CC 8898 8899# save warnings/boilerplate of simple test code 8900ac_outfile=conftest.$ac_objext 8901echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8902eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8903_lt_compiler_boilerplate=`cat conftest.err` 8904$RM conftest* 8905 8906ac_outfile=conftest.$ac_objext 8907echo "$lt_simple_link_test_code" >conftest.$ac_ext 8908eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8909_lt_linker_boilerplate=`cat conftest.err` 8910$RM -r conftest* 8911 8912 8913if test -n "$compiler"; then 8914 8915lt_prog_compiler_no_builtin_flag= 8916 8917if test yes = "$GCC"; then 8918 case $cc_basename in 8919 nvcc*) 8920 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8921 *) 8922 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8923 esac 8924 8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8926$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8927if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8928 $as_echo_n "(cached) " >&6 8929else 8930 lt_cv_prog_compiler_rtti_exceptions=no 8931 ac_outfile=conftest.$ac_objext 8932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8933 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8934 # Insert the option either (1) after the last *FLAGS variable, or 8935 # (2) before a word containing "conftest.", or (3) at the end. 8936 # Note that $ac_compile itself does not contain backslashes and begins 8937 # with a dollar sign (not a hyphen), so the echo should work correctly. 8938 # The option is referenced via a variable to avoid confusing sed. 8939 lt_compile=`echo "$ac_compile" | $SED \ 8940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8942 -e 's:$: $lt_compiler_flag:'` 8943 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8944 (eval "$lt_compile" 2>conftest.err) 8945 ac_status=$? 8946 cat conftest.err >&5 8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8948 if (exit $ac_status) && test -s "$ac_outfile"; then 8949 # The compiler can only warn and ignore the option if not recognized 8950 # So say no if there are warnings other than the usual output. 8951 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8952 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8953 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8954 lt_cv_prog_compiler_rtti_exceptions=yes 8955 fi 8956 fi 8957 $RM conftest* 8958 8959fi 8960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8961$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8962 8963if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8964 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8965else 8966 : 8967fi 8968 8969fi 8970 8971 8972 8973 8974 8975 8976 lt_prog_compiler_wl= 8977lt_prog_compiler_pic= 8978lt_prog_compiler_static= 8979 8980 8981 if test yes = "$GCC"; then 8982 lt_prog_compiler_wl='-Wl,' 8983 lt_prog_compiler_static='-static' 8984 8985 case $host_os in 8986 aix*) 8987 # All AIX code is PIC. 8988 if test ia64 = "$host_cpu"; then 8989 # AIX 5 now supports IA64 processor 8990 lt_prog_compiler_static='-Bstatic' 8991 fi 8992 lt_prog_compiler_pic='-fPIC' 8993 ;; 8994 8995 amigaos*) 8996 case $host_cpu in 8997 powerpc) 8998 # see comment about AmigaOS4 .so support 8999 lt_prog_compiler_pic='-fPIC' 9000 ;; 9001 m68k) 9002 # FIXME: we need at least 68020 code to build shared libraries, but 9003 # adding the '-m68020' flag to GCC prevents building anything better, 9004 # like '-m68040'. 9005 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9006 ;; 9007 esac 9008 ;; 9009 9010 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9011 # PIC is the default for these OSes. 9012 ;; 9013 9014 mingw* | cygwin* | pw32* | os2* | cegcc*) 9015 # This hack is so that the source file can tell whether it is being 9016 # built for inclusion in a dll (and should export symbols for example). 9017 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9018 # (--disable-auto-import) libraries 9019 lt_prog_compiler_pic='-DDLL_EXPORT' 9020 case $host_os in 9021 os2*) 9022 lt_prog_compiler_static='$wl-static' 9023 ;; 9024 esac 9025 ;; 9026 9027 darwin* | rhapsody*) 9028 # PIC is the default on this platform 9029 # Common symbols not allowed in MH_DYLIB files 9030 lt_prog_compiler_pic='-fno-common' 9031 ;; 9032 9033 haiku*) 9034 # PIC is the default for Haiku. 9035 # The "-static" flag exists, but is broken. 9036 lt_prog_compiler_static= 9037 ;; 9038 9039 hpux*) 9040 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9041 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9042 # sets the default TLS model and affects inlining. 9043 case $host_cpu in 9044 hppa*64*) 9045 # +Z the default 9046 ;; 9047 *) 9048 lt_prog_compiler_pic='-fPIC' 9049 ;; 9050 esac 9051 ;; 9052 9053 interix[3-9]*) 9054 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9055 # Instead, we relocate shared libraries at runtime. 9056 ;; 9057 9058 msdosdjgpp*) 9059 # Just because we use GCC doesn't mean we suddenly get shared libraries 9060 # on systems that don't support them. 9061 lt_prog_compiler_can_build_shared=no 9062 enable_shared=no 9063 ;; 9064 9065 *nto* | *qnx*) 9066 # QNX uses GNU C++, but need to define -shared option too, otherwise 9067 # it will coredump. 9068 lt_prog_compiler_pic='-fPIC -shared' 9069 ;; 9070 9071 sysv4*MP*) 9072 if test -d /usr/nec; then 9073 lt_prog_compiler_pic=-Kconform_pic 9074 fi 9075 ;; 9076 9077 *) 9078 lt_prog_compiler_pic='-fPIC' 9079 ;; 9080 esac 9081 9082 case $cc_basename in 9083 nvcc*) # Cuda Compiler Driver 2.2 9084 lt_prog_compiler_wl='-Xlinker ' 9085 if test -n "$lt_prog_compiler_pic"; then 9086 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9087 fi 9088 ;; 9089 esac 9090 else 9091 # PORTME Check for flag to pass linker flags through the system compiler. 9092 case $host_os in 9093 aix*) 9094 lt_prog_compiler_wl='-Wl,' 9095 if test ia64 = "$host_cpu"; then 9096 # AIX 5 now supports IA64 processor 9097 lt_prog_compiler_static='-Bstatic' 9098 else 9099 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9100 fi 9101 ;; 9102 9103 darwin* | rhapsody*) 9104 # PIC is the default on this platform 9105 # Common symbols not allowed in MH_DYLIB files 9106 lt_prog_compiler_pic='-fno-common' 9107 case $cc_basename in 9108 nagfor*) 9109 # NAG Fortran compiler 9110 lt_prog_compiler_wl='-Wl,-Wl,,' 9111 lt_prog_compiler_pic='-PIC' 9112 lt_prog_compiler_static='-Bstatic' 9113 ;; 9114 esac 9115 ;; 9116 9117 mingw* | cygwin* | pw32* | os2* | cegcc*) 9118 # This hack is so that the source file can tell whether it is being 9119 # built for inclusion in a dll (and should export symbols for example). 9120 lt_prog_compiler_pic='-DDLL_EXPORT' 9121 case $host_os in 9122 os2*) 9123 lt_prog_compiler_static='$wl-static' 9124 ;; 9125 esac 9126 ;; 9127 9128 hpux9* | hpux10* | hpux11*) 9129 lt_prog_compiler_wl='-Wl,' 9130 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9131 # not for PA HP-UX. 9132 case $host_cpu in 9133 hppa*64*|ia64*) 9134 # +Z the default 9135 ;; 9136 *) 9137 lt_prog_compiler_pic='+Z' 9138 ;; 9139 esac 9140 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9141 lt_prog_compiler_static='$wl-a ${wl}archive' 9142 ;; 9143 9144 irix5* | irix6* | nonstopux*) 9145 lt_prog_compiler_wl='-Wl,' 9146 # PIC (with -KPIC) is the default. 9147 lt_prog_compiler_static='-non_shared' 9148 ;; 9149 9150 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9151 case $cc_basename in 9152 # old Intel for x86_64, which still supported -KPIC. 9153 ecc*) 9154 lt_prog_compiler_wl='-Wl,' 9155 lt_prog_compiler_pic='-KPIC' 9156 lt_prog_compiler_static='-static' 9157 ;; 9158 # icc used to be incompatible with GCC. 9159 # ICC 10 doesn't accept -KPIC any more. 9160 icc* | ifort*) 9161 lt_prog_compiler_wl='-Wl,' 9162 lt_prog_compiler_pic='-fPIC' 9163 lt_prog_compiler_static='-static' 9164 ;; 9165 # Lahey Fortran 8.1. 9166 lf95*) 9167 lt_prog_compiler_wl='-Wl,' 9168 lt_prog_compiler_pic='--shared' 9169 lt_prog_compiler_static='--static' 9170 ;; 9171 nagfor*) 9172 # NAG Fortran compiler 9173 lt_prog_compiler_wl='-Wl,-Wl,,' 9174 lt_prog_compiler_pic='-PIC' 9175 lt_prog_compiler_static='-Bstatic' 9176 ;; 9177 tcc*) 9178 # Fabrice Bellard et al's Tiny C Compiler 9179 lt_prog_compiler_wl='-Wl,' 9180 lt_prog_compiler_pic='-fPIC' 9181 lt_prog_compiler_static='-static' 9182 ;; 9183 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9184 # Portland Group compilers (*not* the Pentium gcc compiler, 9185 # which looks to be a dead project) 9186 lt_prog_compiler_wl='-Wl,' 9187 lt_prog_compiler_pic='-fpic' 9188 lt_prog_compiler_static='-Bstatic' 9189 ;; 9190 ccc*) 9191 lt_prog_compiler_wl='-Wl,' 9192 # All Alpha code is PIC. 9193 lt_prog_compiler_static='-non_shared' 9194 ;; 9195 xl* | bgxl* | bgf* | mpixl*) 9196 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9197 lt_prog_compiler_wl='-Wl,' 9198 lt_prog_compiler_pic='-qpic' 9199 lt_prog_compiler_static='-qstaticlink' 9200 ;; 9201 *) 9202 case `$CC -V 2>&1 | sed 5q` in 9203 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9204 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9205 lt_prog_compiler_pic='-KPIC' 9206 lt_prog_compiler_static='-Bstatic' 9207 lt_prog_compiler_wl='' 9208 ;; 9209 *Sun\ F* | *Sun*Fortran*) 9210 lt_prog_compiler_pic='-KPIC' 9211 lt_prog_compiler_static='-Bstatic' 9212 lt_prog_compiler_wl='-Qoption ld ' 9213 ;; 9214 *Sun\ C*) 9215 # Sun C 5.9 9216 lt_prog_compiler_pic='-KPIC' 9217 lt_prog_compiler_static='-Bstatic' 9218 lt_prog_compiler_wl='-Wl,' 9219 ;; 9220 *Intel*\ [CF]*Compiler*) 9221 lt_prog_compiler_wl='-Wl,' 9222 lt_prog_compiler_pic='-fPIC' 9223 lt_prog_compiler_static='-static' 9224 ;; 9225 *Portland\ Group*) 9226 lt_prog_compiler_wl='-Wl,' 9227 lt_prog_compiler_pic='-fpic' 9228 lt_prog_compiler_static='-Bstatic' 9229 ;; 9230 esac 9231 ;; 9232 esac 9233 ;; 9234 9235 newsos6) 9236 lt_prog_compiler_pic='-KPIC' 9237 lt_prog_compiler_static='-Bstatic' 9238 ;; 9239 9240 *nto* | *qnx*) 9241 # QNX uses GNU C++, but need to define -shared option too, otherwise 9242 # it will coredump. 9243 lt_prog_compiler_pic='-fPIC -shared' 9244 ;; 9245 9246 osf3* | osf4* | osf5*) 9247 lt_prog_compiler_wl='-Wl,' 9248 # All OSF/1 code is PIC. 9249 lt_prog_compiler_static='-non_shared' 9250 ;; 9251 9252 rdos*) 9253 lt_prog_compiler_static='-non_shared' 9254 ;; 9255 9256 solaris*) 9257 lt_prog_compiler_pic='-KPIC' 9258 lt_prog_compiler_static='-Bstatic' 9259 case $cc_basename in 9260 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9261 lt_prog_compiler_wl='-Qoption ld ';; 9262 *) 9263 lt_prog_compiler_wl='-Wl,';; 9264 esac 9265 ;; 9266 9267 sunos4*) 9268 lt_prog_compiler_wl='-Qoption ld ' 9269 lt_prog_compiler_pic='-PIC' 9270 lt_prog_compiler_static='-Bstatic' 9271 ;; 9272 9273 sysv4 | sysv4.2uw2* | sysv4.3*) 9274 lt_prog_compiler_wl='-Wl,' 9275 lt_prog_compiler_pic='-KPIC' 9276 lt_prog_compiler_static='-Bstatic' 9277 ;; 9278 9279 sysv4*MP*) 9280 if test -d /usr/nec; then 9281 lt_prog_compiler_pic='-Kconform_pic' 9282 lt_prog_compiler_static='-Bstatic' 9283 fi 9284 ;; 9285 9286 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9287 lt_prog_compiler_wl='-Wl,' 9288 lt_prog_compiler_pic='-KPIC' 9289 lt_prog_compiler_static='-Bstatic' 9290 ;; 9291 9292 unicos*) 9293 lt_prog_compiler_wl='-Wl,' 9294 lt_prog_compiler_can_build_shared=no 9295 ;; 9296 9297 uts4*) 9298 lt_prog_compiler_pic='-pic' 9299 lt_prog_compiler_static='-Bstatic' 9300 ;; 9301 9302 *) 9303 lt_prog_compiler_can_build_shared=no 9304 ;; 9305 esac 9306 fi 9307 9308case $host_os in 9309 # For platforms that do not support PIC, -DPIC is meaningless: 9310 *djgpp*) 9311 lt_prog_compiler_pic= 9312 ;; 9313 *) 9314 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9315 ;; 9316esac 9317 9318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9319$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9320if ${lt_cv_prog_compiler_pic+:} false; then : 9321 $as_echo_n "(cached) " >&6 9322else 9323 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9324fi 9325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9326$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9327lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9328 9329# 9330# Check to make sure the PIC flag actually works. 9331# 9332if test -n "$lt_prog_compiler_pic"; then 9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9334$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9335if ${lt_cv_prog_compiler_pic_works+:} false; then : 9336 $as_echo_n "(cached) " >&6 9337else 9338 lt_cv_prog_compiler_pic_works=no 9339 ac_outfile=conftest.$ac_objext 9340 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9341 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9342 # Insert the option either (1) after the last *FLAGS variable, or 9343 # (2) before a word containing "conftest.", or (3) at the end. 9344 # Note that $ac_compile itself does not contain backslashes and begins 9345 # with a dollar sign (not a hyphen), so the echo should work correctly. 9346 # The option is referenced via a variable to avoid confusing sed. 9347 lt_compile=`echo "$ac_compile" | $SED \ 9348 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9349 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9350 -e 's:$: $lt_compiler_flag:'` 9351 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9352 (eval "$lt_compile" 2>conftest.err) 9353 ac_status=$? 9354 cat conftest.err >&5 9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9356 if (exit $ac_status) && test -s "$ac_outfile"; then 9357 # The compiler can only warn and ignore the option if not recognized 9358 # So say no if there are warnings other than the usual output. 9359 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9360 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9361 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9362 lt_cv_prog_compiler_pic_works=yes 9363 fi 9364 fi 9365 $RM conftest* 9366 9367fi 9368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9369$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9370 9371if test yes = "$lt_cv_prog_compiler_pic_works"; then 9372 case $lt_prog_compiler_pic in 9373 "" | " "*) ;; 9374 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9375 esac 9376else 9377 lt_prog_compiler_pic= 9378 lt_prog_compiler_can_build_shared=no 9379fi 9380 9381fi 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393# 9394# Check to make sure the static flag actually works. 9395# 9396wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9398$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9399if ${lt_cv_prog_compiler_static_works+:} false; then : 9400 $as_echo_n "(cached) " >&6 9401else 9402 lt_cv_prog_compiler_static_works=no 9403 save_LDFLAGS=$LDFLAGS 9404 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9405 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9406 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9407 # The linker can only warn and ignore the option if not recognized 9408 # So say no if there are warnings 9409 if test -s conftest.err; then 9410 # Append any errors to the config.log. 9411 cat conftest.err 1>&5 9412 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9413 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9414 if diff conftest.exp conftest.er2 >/dev/null; then 9415 lt_cv_prog_compiler_static_works=yes 9416 fi 9417 else 9418 lt_cv_prog_compiler_static_works=yes 9419 fi 9420 fi 9421 $RM -r conftest* 9422 LDFLAGS=$save_LDFLAGS 9423 9424fi 9425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9426$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9427 9428if test yes = "$lt_cv_prog_compiler_static_works"; then 9429 : 9430else 9431 lt_prog_compiler_static= 9432fi 9433 9434 9435 9436 9437 9438 9439 9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9441$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9442if ${lt_cv_prog_compiler_c_o+:} false; then : 9443 $as_echo_n "(cached) " >&6 9444else 9445 lt_cv_prog_compiler_c_o=no 9446 $RM -r conftest 2>/dev/null 9447 mkdir conftest 9448 cd conftest 9449 mkdir out 9450 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9451 9452 lt_compiler_flag="-o out/conftest2.$ac_objext" 9453 # Insert the option either (1) after the last *FLAGS variable, or 9454 # (2) before a word containing "conftest.", or (3) at the end. 9455 # Note that $ac_compile itself does not contain backslashes and begins 9456 # with a dollar sign (not a hyphen), so the echo should work correctly. 9457 lt_compile=`echo "$ac_compile" | $SED \ 9458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9460 -e 's:$: $lt_compiler_flag:'` 9461 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9462 (eval "$lt_compile" 2>out/conftest.err) 9463 ac_status=$? 9464 cat out/conftest.err >&5 9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9466 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9467 then 9468 # The compiler can only warn and ignore the option if not recognized 9469 # So say no if there are warnings 9470 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9471 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9472 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9473 lt_cv_prog_compiler_c_o=yes 9474 fi 9475 fi 9476 chmod u+w . 2>&5 9477 $RM conftest* 9478 # SGI C++ compiler will create directory out/ii_files/ for 9479 # template instantiation 9480 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9481 $RM out/* && rmdir out 9482 cd .. 9483 $RM -r conftest 9484 $RM conftest* 9485 9486fi 9487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9488$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9489 9490 9491 9492 9493 9494 9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9496$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9497if ${lt_cv_prog_compiler_c_o+:} false; then : 9498 $as_echo_n "(cached) " >&6 9499else 9500 lt_cv_prog_compiler_c_o=no 9501 $RM -r conftest 2>/dev/null 9502 mkdir conftest 9503 cd conftest 9504 mkdir out 9505 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9506 9507 lt_compiler_flag="-o out/conftest2.$ac_objext" 9508 # Insert the option either (1) after the last *FLAGS variable, or 9509 # (2) before a word containing "conftest.", or (3) at the end. 9510 # Note that $ac_compile itself does not contain backslashes and begins 9511 # with a dollar sign (not a hyphen), so the echo should work correctly. 9512 lt_compile=`echo "$ac_compile" | $SED \ 9513 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9514 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9515 -e 's:$: $lt_compiler_flag:'` 9516 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9517 (eval "$lt_compile" 2>out/conftest.err) 9518 ac_status=$? 9519 cat out/conftest.err >&5 9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9521 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9522 then 9523 # The compiler can only warn and ignore the option if not recognized 9524 # So say no if there are warnings 9525 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9526 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9527 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9528 lt_cv_prog_compiler_c_o=yes 9529 fi 9530 fi 9531 chmod u+w . 2>&5 9532 $RM conftest* 9533 # SGI C++ compiler will create directory out/ii_files/ for 9534 # template instantiation 9535 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9536 $RM out/* && rmdir out 9537 cd .. 9538 $RM -r conftest 9539 $RM conftest* 9540 9541fi 9542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9543$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9544 9545 9546 9547 9548hard_links=nottested 9549if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9550 # do not overwrite the value of need_locks provided by the user 9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9552$as_echo_n "checking if we can lock with hard links... " >&6; } 9553 hard_links=yes 9554 $RM conftest* 9555 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9556 touch conftest.a 9557 ln conftest.a conftest.b 2>&5 || hard_links=no 9558 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9560$as_echo "$hard_links" >&6; } 9561 if test no = "$hard_links"; then 9562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9563$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9564 need_locks=warn 9565 fi 9566else 9567 need_locks=no 9568fi 9569 9570 9571 9572 9573 9574 9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9576$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9577 9578 runpath_var= 9579 allow_undefined_flag= 9580 always_export_symbols=no 9581 archive_cmds= 9582 archive_expsym_cmds= 9583 compiler_needs_object=no 9584 enable_shared_with_static_runtimes=no 9585 export_dynamic_flag_spec= 9586 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9587 hardcode_automatic=no 9588 hardcode_direct=no 9589 hardcode_direct_absolute=no 9590 hardcode_libdir_flag_spec= 9591 hardcode_libdir_separator= 9592 hardcode_minus_L=no 9593 hardcode_shlibpath_var=unsupported 9594 inherit_rpath=no 9595 link_all_deplibs=unknown 9596 module_cmds= 9597 module_expsym_cmds= 9598 old_archive_from_new_cmds= 9599 old_archive_from_expsyms_cmds= 9600 thread_safe_flag_spec= 9601 whole_archive_flag_spec= 9602 # include_expsyms should be a list of space-separated symbols to be *always* 9603 # included in the symbol list 9604 include_expsyms= 9605 # exclude_expsyms can be an extended regexp of symbols to exclude 9606 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9607 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9608 # as well as any symbol that contains 'd'. 9609 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9610 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9611 # platforms (ab)use it in PIC code, but their linkers get confused if 9612 # the symbol is explicitly referenced. Since portable code cannot 9613 # rely on this symbol name, it's probably fine to never include it in 9614 # preloaded symbol tables. 9615 # Exclude shared library initialization/finalization symbols. 9616 extract_expsyms_cmds= 9617 9618 case $host_os in 9619 cygwin* | mingw* | pw32* | cegcc*) 9620 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9621 # When not using gcc, we currently assume that we are using 9622 # Microsoft Visual C++. 9623 if test yes != "$GCC"; then 9624 with_gnu_ld=no 9625 fi 9626 ;; 9627 interix*) 9628 # we just hope/assume this is gcc and not c89 (= MSVC++) 9629 with_gnu_ld=yes 9630 ;; 9631 openbsd* | bitrig*) 9632 with_gnu_ld=no 9633 ;; 9634 esac 9635 9636 ld_shlibs=yes 9637 9638 # On some targets, GNU ld is compatible enough with the native linker 9639 # that we're better off using the native interface for both. 9640 lt_use_gnu_ld_interface=no 9641 if test yes = "$with_gnu_ld"; then 9642 case $host_os in 9643 aix*) 9644 # The AIX port of GNU ld has always aspired to compatibility 9645 # with the native linker. However, as the warning in the GNU ld 9646 # block says, versions before 2.19.5* couldn't really create working 9647 # shared libraries, regardless of the interface used. 9648 case `$LD -v 2>&1` in 9649 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9650 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9651 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9652 *) 9653 lt_use_gnu_ld_interface=yes 9654 ;; 9655 esac 9656 ;; 9657 *) 9658 lt_use_gnu_ld_interface=yes 9659 ;; 9660 esac 9661 fi 9662 9663 if test yes = "$lt_use_gnu_ld_interface"; then 9664 # If archive_cmds runs LD, not CC, wlarc should be empty 9665 wlarc='$wl' 9666 9667 # Set some defaults for GNU ld with shared library support. These 9668 # are reset later if shared libraries are not supported. Putting them 9669 # here allows them to be overridden if necessary. 9670 runpath_var=LD_RUN_PATH 9671 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9672 export_dynamic_flag_spec='$wl--export-dynamic' 9673 # ancient GNU ld didn't support --whole-archive et. al. 9674 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9675 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9676 else 9677 whole_archive_flag_spec= 9678 fi 9679 supports_anon_versioning=no 9680 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9681 *GNU\ gold*) supports_anon_versioning=yes ;; 9682 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9683 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9684 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9685 *\ 2.11.*) ;; # other 2.11 versions 9686 *) supports_anon_versioning=yes ;; 9687 esac 9688 9689 # See if GNU ld supports shared libraries. 9690 case $host_os in 9691 aix[3-9]*) 9692 # On AIX/PPC, the GNU linker is very broken 9693 if test ia64 != "$host_cpu"; then 9694 ld_shlibs=no 9695 cat <<_LT_EOF 1>&2 9696 9697*** Warning: the GNU linker, at least up to release 2.19, is reported 9698*** to be unable to reliably create shared libraries on AIX. 9699*** Therefore, libtool is disabling shared libraries support. If you 9700*** really care for shared libraries, you may want to install binutils 9701*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9702*** You will then need to restart the configuration process. 9703 9704_LT_EOF 9705 fi 9706 ;; 9707 9708 amigaos*) 9709 case $host_cpu in 9710 powerpc) 9711 # see comment about AmigaOS4 .so support 9712 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9713 archive_expsym_cmds='' 9714 ;; 9715 m68k) 9716 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)' 9717 hardcode_libdir_flag_spec='-L$libdir' 9718 hardcode_minus_L=yes 9719 ;; 9720 esac 9721 ;; 9722 9723 beos*) 9724 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9725 allow_undefined_flag=unsupported 9726 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9727 # support --undefined. This deserves some investigation. FIXME 9728 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9729 else 9730 ld_shlibs=no 9731 fi 9732 ;; 9733 9734 cygwin* | mingw* | pw32* | cegcc*) 9735 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9736 # as there is no search path for DLLs. 9737 hardcode_libdir_flag_spec='-L$libdir' 9738 export_dynamic_flag_spec='$wl--export-all-symbols' 9739 allow_undefined_flag=unsupported 9740 always_export_symbols=no 9741 enable_shared_with_static_runtimes=yes 9742 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' 9743 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9744 9745 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9746 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9747 # If the export-symbols file already is a .def file, use it as 9748 # is; otherwise, prepend EXPORTS... 9749 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9750 cp $export_symbols $output_objdir/$soname.def; 9751 else 9752 echo EXPORTS > $output_objdir/$soname.def; 9753 cat $export_symbols >> $output_objdir/$soname.def; 9754 fi~ 9755 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9756 else 9757 ld_shlibs=no 9758 fi 9759 ;; 9760 9761 haiku*) 9762 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9763 link_all_deplibs=yes 9764 ;; 9765 9766 os2*) 9767 hardcode_libdir_flag_spec='-L$libdir' 9768 hardcode_minus_L=yes 9769 allow_undefined_flag=unsupported 9770 shrext_cmds=.dll 9771 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9772 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9773 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9774 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9775 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9776 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9777 emximp -o $lib $output_objdir/$libname.def' 9778 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9779 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9780 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9781 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9782 prefix_cmds="$SED"~ 9783 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9784 prefix_cmds="$prefix_cmds -e 1d"; 9785 fi~ 9786 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9787 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9788 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9789 emximp -o $lib $output_objdir/$libname.def' 9790 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9791 enable_shared_with_static_runtimes=yes 9792 ;; 9793 9794 interix[3-9]*) 9795 hardcode_direct=no 9796 hardcode_shlibpath_var=no 9797 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9798 export_dynamic_flag_spec='$wl-E' 9799 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9800 # Instead, shared libraries are loaded at an image base (0x10000000 by 9801 # default) and relocated if they conflict, which is a slow very memory 9802 # consuming and fragmenting process. To avoid this, we pick a random, 9803 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9804 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9805 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9806 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' 9807 ;; 9808 9809 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9810 tmp_diet=no 9811 if test linux-dietlibc = "$host_os"; then 9812 case $cc_basename in 9813 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9814 esac 9815 fi 9816 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9817 && test no = "$tmp_diet" 9818 then 9819 tmp_addflag=' $pic_flag' 9820 tmp_sharedflag='-shared' 9821 case $cc_basename,$host_cpu in 9822 pgcc*) # Portland Group C compiler 9823 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' 9824 tmp_addflag=' $pic_flag' 9825 ;; 9826 pgf77* | pgf90* | pgf95* | pgfortran*) 9827 # Portland Group f77 and f90 compilers 9828 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' 9829 tmp_addflag=' $pic_flag -Mnomain' ;; 9830 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9831 tmp_addflag=' -i_dynamic' ;; 9832 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9833 tmp_addflag=' -i_dynamic -nofor_main' ;; 9834 ifc* | ifort*) # Intel Fortran compiler 9835 tmp_addflag=' -nofor_main' ;; 9836 lf95*) # Lahey Fortran 8.1 9837 whole_archive_flag_spec= 9838 tmp_sharedflag='--shared' ;; 9839 nagfor*) # NAGFOR 5.3 9840 tmp_sharedflag='-Wl,-shared' ;; 9841 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9842 tmp_sharedflag='-qmkshrobj' 9843 tmp_addflag= ;; 9844 nvcc*) # Cuda Compiler Driver 2.2 9845 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' 9846 compiler_needs_object=yes 9847 ;; 9848 esac 9849 case `$CC -V 2>&1 | sed 5q` in 9850 *Sun\ C*) # Sun C 5.9 9851 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' 9852 compiler_needs_object=yes 9853 tmp_sharedflag='-G' ;; 9854 *Sun\ F*) # Sun Fortran 8.3 9855 tmp_sharedflag='-G' ;; 9856 esac 9857 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9858 9859 if test yes = "$supports_anon_versioning"; then 9860 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9861 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9862 echo "local: *; };" >> $output_objdir/$libname.ver~ 9863 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9864 fi 9865 9866 case $cc_basename in 9867 tcc*) 9868 export_dynamic_flag_spec='-rdynamic' 9869 ;; 9870 xlf* | bgf* | bgxlf* | mpixlf*) 9871 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9872 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9873 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9874 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9875 if test yes = "$supports_anon_versioning"; then 9876 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9877 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9878 echo "local: *; };" >> $output_objdir/$libname.ver~ 9879 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9880 fi 9881 ;; 9882 esac 9883 else 9884 ld_shlibs=no 9885 fi 9886 ;; 9887 9888 netbsd*) 9889 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9890 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9891 wlarc= 9892 else 9893 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9894 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9895 fi 9896 ;; 9897 9898 solaris*) 9899 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9900 ld_shlibs=no 9901 cat <<_LT_EOF 1>&2 9902 9903*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9904*** create shared libraries on Solaris systems. Therefore, libtool 9905*** is disabling shared libraries support. We urge you to upgrade GNU 9906*** binutils to release 2.9.1 or newer. Another option is to modify 9907*** your PATH or compiler configuration so that the native linker is 9908*** used, and then restart. 9909 9910_LT_EOF 9911 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9912 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9913 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9914 else 9915 ld_shlibs=no 9916 fi 9917 ;; 9918 9919 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9920 case `$LD -v 2>&1` in 9921 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9922 ld_shlibs=no 9923 cat <<_LT_EOF 1>&2 9924 9925*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9926*** reliably create shared libraries on SCO systems. Therefore, libtool 9927*** is disabling shared libraries support. We urge you to upgrade GNU 9928*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9929*** your PATH or compiler configuration so that the native linker is 9930*** used, and then restart. 9931 9932_LT_EOF 9933 ;; 9934 *) 9935 # For security reasons, it is highly recommended that you always 9936 # use absolute paths for naming shared libraries, and exclude the 9937 # DT_RUNPATH tag from executables and libraries. But doing so 9938 # requires that you compile everything twice, which is a pain. 9939 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9940 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9941 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9942 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9943 else 9944 ld_shlibs=no 9945 fi 9946 ;; 9947 esac 9948 ;; 9949 9950 sunos4*) 9951 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9952 wlarc= 9953 hardcode_direct=yes 9954 hardcode_shlibpath_var=no 9955 ;; 9956 9957 *) 9958 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9959 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9960 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9961 else 9962 ld_shlibs=no 9963 fi 9964 ;; 9965 esac 9966 9967 if test no = "$ld_shlibs"; then 9968 runpath_var= 9969 hardcode_libdir_flag_spec= 9970 export_dynamic_flag_spec= 9971 whole_archive_flag_spec= 9972 fi 9973 else 9974 # PORTME fill in a description of your system's linker (not GNU ld) 9975 case $host_os in 9976 aix3*) 9977 allow_undefined_flag=unsupported 9978 always_export_symbols=yes 9979 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' 9980 # Note: this linker hardcodes the directories in LIBPATH if there 9981 # are no directories specified by -L. 9982 hardcode_minus_L=yes 9983 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9984 # Neither direct hardcoding nor static linking is supported with a 9985 # broken collect2. 9986 hardcode_direct=unsupported 9987 fi 9988 ;; 9989 9990 aix[4-9]*) 9991 if test ia64 = "$host_cpu"; then 9992 # On IA64, the linker does run time linking by default, so we don't 9993 # have to do anything special. 9994 aix_use_runtimelinking=no 9995 exp_sym_flag='-Bexport' 9996 no_entry_flag= 9997 else 9998 # If we're using GNU nm, then we don't want the "-C" option. 9999 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10000 # Without the "-l" option, or with the "-B" option, AIX nm treats 10001 # weak defined symbols like other global defined symbols, whereas 10002 # GNU nm marks them as "W". 10003 # While the 'weak' keyword is ignored in the Export File, we need 10004 # it in the Import File for the 'aix-soname' feature, so we have 10005 # to replace the "-B" option with "-P" for AIX nm. 10006 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10007 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' 10008 else 10009 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' 10010 fi 10011 aix_use_runtimelinking=no 10012 10013 # Test if we are trying to use run time linking or normal 10014 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10015 # have runtime linking enabled, and use it for executables. 10016 # For shared libraries, we enable/disable runtime linking 10017 # depending on the kind of the shared library created - 10018 # when "with_aix_soname,aix_use_runtimelinking" is: 10019 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10020 # "aix,yes" lib.so shared, rtl:yes, for executables 10021 # lib.a static archive 10022 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10023 # lib.a(lib.so.V) shared, rtl:no, for executables 10024 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10025 # lib.a(lib.so.V) shared, rtl:no 10026 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10027 # lib.a static archive 10028 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10029 for ld_flag in $LDFLAGS; do 10030 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10031 aix_use_runtimelinking=yes 10032 break 10033 fi 10034 done 10035 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10036 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10037 # so we don't have lib.a shared libs to link our executables. 10038 # We have to force runtime linking in this case. 10039 aix_use_runtimelinking=yes 10040 LDFLAGS="$LDFLAGS -Wl,-brtl" 10041 fi 10042 ;; 10043 esac 10044 10045 exp_sym_flag='-bexport' 10046 no_entry_flag='-bnoentry' 10047 fi 10048 10049 # When large executables or shared objects are built, AIX ld can 10050 # have problems creating the table of contents. If linking a library 10051 # or program results in "error TOC overflow" add -mminimal-toc to 10052 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10053 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10054 10055 archive_cmds='' 10056 hardcode_direct=yes 10057 hardcode_direct_absolute=yes 10058 hardcode_libdir_separator=':' 10059 link_all_deplibs=yes 10060 file_list_spec='$wl-f,' 10061 case $with_aix_soname,$aix_use_runtimelinking in 10062 aix,*) ;; # traditional, no import file 10063 svr4,* | *,yes) # use import file 10064 # The Import File defines what to hardcode. 10065 hardcode_direct=no 10066 hardcode_direct_absolute=no 10067 ;; 10068 esac 10069 10070 if test yes = "$GCC"; then 10071 case $host_os in aix4.[012]|aix4.[012].*) 10072 # We only want to do this on AIX 4.2 and lower, the check 10073 # below for broken collect2 doesn't work under 4.3+ 10074 collect2name=`$CC -print-prog-name=collect2` 10075 if test -f "$collect2name" && 10076 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10077 then 10078 # We have reworked collect2 10079 : 10080 else 10081 # We have old collect2 10082 hardcode_direct=unsupported 10083 # It fails to find uninstalled libraries when the uninstalled 10084 # path is not listed in the libpath. Setting hardcode_minus_L 10085 # to unsupported forces relinking 10086 hardcode_minus_L=yes 10087 hardcode_libdir_flag_spec='-L$libdir' 10088 hardcode_libdir_separator= 10089 fi 10090 ;; 10091 esac 10092 shared_flag='-shared' 10093 if test yes = "$aix_use_runtimelinking"; then 10094 shared_flag="$shared_flag "'$wl-G' 10095 fi 10096 # Need to ensure runtime linking is disabled for the traditional 10097 # shared library, or the linker may eventually find shared libraries 10098 # /with/ Import File - we do not want to mix them. 10099 shared_flag_aix='-shared' 10100 shared_flag_svr4='-shared $wl-G' 10101 else 10102 # not using gcc 10103 if test ia64 = "$host_cpu"; then 10104 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10105 # chokes on -Wl,-G. The following line is correct: 10106 shared_flag='-G' 10107 else 10108 if test yes = "$aix_use_runtimelinking"; then 10109 shared_flag='$wl-G' 10110 else 10111 shared_flag='$wl-bM:SRE' 10112 fi 10113 shared_flag_aix='$wl-bM:SRE' 10114 shared_flag_svr4='$wl-G' 10115 fi 10116 fi 10117 10118 export_dynamic_flag_spec='$wl-bexpall' 10119 # It seems that -bexpall does not export symbols beginning with 10120 # underscore (_), so it is better to generate a list of symbols to export. 10121 always_export_symbols=yes 10122 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10123 # Warning - without using the other runtime loading flags (-brtl), 10124 # -berok will link without error, but may produce a broken library. 10125 allow_undefined_flag='-berok' 10126 # Determine the default libpath from the value encoded in an 10127 # empty executable. 10128 if test set = "${lt_cv_aix_libpath+set}"; then 10129 aix_libpath=$lt_cv_aix_libpath 10130else 10131 if ${lt_cv_aix_libpath_+:} false; then : 10132 $as_echo_n "(cached) " >&6 10133else 10134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10135/* end confdefs.h. */ 10136 10137int 10138main () 10139{ 10140 10141 ; 10142 return 0; 10143} 10144_ACEOF 10145if ac_fn_c_try_link "$LINENO"; then : 10146 10147 lt_aix_libpath_sed=' 10148 /Import File Strings/,/^$/ { 10149 /^0/ { 10150 s/^0 *\([^ ]*\) *$/\1/ 10151 p 10152 } 10153 }' 10154 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10155 # Check for a 64-bit object if we didn't find anything. 10156 if test -z "$lt_cv_aix_libpath_"; then 10157 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10158 fi 10159fi 10160rm -f core conftest.err conftest.$ac_objext \ 10161 conftest$ac_exeext conftest.$ac_ext 10162 if test -z "$lt_cv_aix_libpath_"; then 10163 lt_cv_aix_libpath_=/usr/lib:/lib 10164 fi 10165 10166fi 10167 10168 aix_libpath=$lt_cv_aix_libpath_ 10169fi 10170 10171 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10172 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 10173 else 10174 if test ia64 = "$host_cpu"; then 10175 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10176 allow_undefined_flag="-z nodefs" 10177 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" 10178 else 10179 # Determine the default libpath from the value encoded in an 10180 # empty executable. 10181 if test set = "${lt_cv_aix_libpath+set}"; then 10182 aix_libpath=$lt_cv_aix_libpath 10183else 10184 if ${lt_cv_aix_libpath_+:} false; then : 10185 $as_echo_n "(cached) " >&6 10186else 10187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10188/* end confdefs.h. */ 10189 10190int 10191main () 10192{ 10193 10194 ; 10195 return 0; 10196} 10197_ACEOF 10198if ac_fn_c_try_link "$LINENO"; then : 10199 10200 lt_aix_libpath_sed=' 10201 /Import File Strings/,/^$/ { 10202 /^0/ { 10203 s/^0 *\([^ ]*\) *$/\1/ 10204 p 10205 } 10206 }' 10207 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10208 # Check for a 64-bit object if we didn't find anything. 10209 if test -z "$lt_cv_aix_libpath_"; then 10210 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10211 fi 10212fi 10213rm -f core conftest.err conftest.$ac_objext \ 10214 conftest$ac_exeext conftest.$ac_ext 10215 if test -z "$lt_cv_aix_libpath_"; then 10216 lt_cv_aix_libpath_=/usr/lib:/lib 10217 fi 10218 10219fi 10220 10221 aix_libpath=$lt_cv_aix_libpath_ 10222fi 10223 10224 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10225 # Warning - without using the other run time loading flags, 10226 # -berok will link without error, but may produce a broken library. 10227 no_undefined_flag=' $wl-bernotok' 10228 allow_undefined_flag=' $wl-berok' 10229 if test yes = "$with_gnu_ld"; then 10230 # We only use this code for GNU lds that support --whole-archive. 10231 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10232 else 10233 # Exported symbols can be pulled into shared objects from archives 10234 whole_archive_flag_spec='$convenience' 10235 fi 10236 archive_cmds_need_lc=yes 10237 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10238 # -brtl affects multiple linker settings, -berok does not and is overridden later 10239 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10240 if test svr4 != "$with_aix_soname"; then 10241 # This is similar to how AIX traditionally builds its shared libraries. 10242 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' 10243 fi 10244 if test aix != "$with_aix_soname"; then 10245 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' 10246 else 10247 # used by -dlpreopen to get the symbols 10248 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10249 fi 10250 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10251 fi 10252 fi 10253 ;; 10254 10255 amigaos*) 10256 case $host_cpu in 10257 powerpc) 10258 # see comment about AmigaOS4 .so support 10259 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10260 archive_expsym_cmds='' 10261 ;; 10262 m68k) 10263 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)' 10264 hardcode_libdir_flag_spec='-L$libdir' 10265 hardcode_minus_L=yes 10266 ;; 10267 esac 10268 ;; 10269 10270 bsdi[45]*) 10271 export_dynamic_flag_spec=-rdynamic 10272 ;; 10273 10274 cygwin* | mingw* | pw32* | cegcc*) 10275 # When not using gcc, we currently assume that we are using 10276 # Microsoft Visual C++. 10277 # hardcode_libdir_flag_spec is actually meaningless, as there is 10278 # no search path for DLLs. 10279 case $cc_basename in 10280 cl*) 10281 # Native MSVC 10282 hardcode_libdir_flag_spec=' ' 10283 allow_undefined_flag=unsupported 10284 always_export_symbols=yes 10285 file_list_spec='@' 10286 # Tell ltmain to make .lib files, not .a files. 10287 libext=lib 10288 # Tell ltmain to make .dll files, not .so files. 10289 shrext_cmds=.dll 10290 # FIXME: Setting linknames here is a bad hack. 10291 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10292 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10293 cp "$export_symbols" "$output_objdir/$soname.def"; 10294 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10295 else 10296 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10297 fi~ 10298 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10299 linknames=' 10300 # The linker will not automatically build a static lib if we build a DLL. 10301 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10302 enable_shared_with_static_runtimes=yes 10303 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10304 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10305 # Don't use ranlib 10306 old_postinstall_cmds='chmod 644 $oldlib' 10307 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10308 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10309 case $lt_outputfile in 10310 *.exe|*.EXE) ;; 10311 *) 10312 lt_outputfile=$lt_outputfile.exe 10313 lt_tool_outputfile=$lt_tool_outputfile.exe 10314 ;; 10315 esac~ 10316 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10317 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10318 $RM "$lt_outputfile.manifest"; 10319 fi' 10320 ;; 10321 *) 10322 # Assume MSVC wrapper 10323 hardcode_libdir_flag_spec=' ' 10324 allow_undefined_flag=unsupported 10325 # Tell ltmain to make .lib files, not .a files. 10326 libext=lib 10327 # Tell ltmain to make .dll files, not .so files. 10328 shrext_cmds=.dll 10329 # FIXME: Setting linknames here is a bad hack. 10330 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10331 # The linker will automatically build a .lib file if we build a DLL. 10332 old_archive_from_new_cmds='true' 10333 # FIXME: Should let the user specify the lib program. 10334 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10335 enable_shared_with_static_runtimes=yes 10336 ;; 10337 esac 10338 ;; 10339 10340 darwin* | rhapsody*) 10341 10342 10343 archive_cmds_need_lc=no 10344 hardcode_direct=no 10345 hardcode_automatic=yes 10346 hardcode_shlibpath_var=unsupported 10347 if test yes = "$lt_cv_ld_force_load"; then 10348 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\"`' 10349 10350 else 10351 whole_archive_flag_spec='' 10352 fi 10353 link_all_deplibs=yes 10354 allow_undefined_flag=$_lt_dar_allow_undefined 10355 case $cc_basename in 10356 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10357 *) _lt_dar_can_shared=$GCC ;; 10358 esac 10359 if test yes = "$_lt_dar_can_shared"; then 10360 output_verbose_link_cmd=func_echo_all 10361 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10362 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10363 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" 10364 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" 10365 10366 else 10367 ld_shlibs=no 10368 fi 10369 10370 ;; 10371 10372 dgux*) 10373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10374 hardcode_libdir_flag_spec='-L$libdir' 10375 hardcode_shlibpath_var=no 10376 ;; 10377 10378 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10379 # support. Future versions do this automatically, but an explicit c++rt0.o 10380 # does not break anything, and helps significantly (at the cost of a little 10381 # extra space). 10382 freebsd2.2*) 10383 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10384 hardcode_libdir_flag_spec='-R$libdir' 10385 hardcode_direct=yes 10386 hardcode_shlibpath_var=no 10387 ;; 10388 10389 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10390 freebsd2.*) 10391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10392 hardcode_direct=yes 10393 hardcode_minus_L=yes 10394 hardcode_shlibpath_var=no 10395 ;; 10396 10397 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10398 freebsd* | dragonfly*) 10399 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10400 hardcode_libdir_flag_spec='-R$libdir' 10401 hardcode_direct=yes 10402 hardcode_shlibpath_var=no 10403 ;; 10404 10405 hpux9*) 10406 if test yes = "$GCC"; then 10407 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' 10408 else 10409 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' 10410 fi 10411 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10412 hardcode_libdir_separator=: 10413 hardcode_direct=yes 10414 10415 # hardcode_minus_L: Not really in the search PATH, 10416 # but as the default location of the library. 10417 hardcode_minus_L=yes 10418 export_dynamic_flag_spec='$wl-E' 10419 ;; 10420 10421 hpux10*) 10422 if test yes,no = "$GCC,$with_gnu_ld"; then 10423 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10424 else 10425 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10426 fi 10427 if test no = "$with_gnu_ld"; then 10428 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10429 hardcode_libdir_separator=: 10430 hardcode_direct=yes 10431 hardcode_direct_absolute=yes 10432 export_dynamic_flag_spec='$wl-E' 10433 # hardcode_minus_L: Not really in the search PATH, 10434 # but as the default location of the library. 10435 hardcode_minus_L=yes 10436 fi 10437 ;; 10438 10439 hpux11*) 10440 if test yes,no = "$GCC,$with_gnu_ld"; then 10441 case $host_cpu in 10442 hppa*64*) 10443 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10444 ;; 10445 ia64*) 10446 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10447 ;; 10448 *) 10449 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10450 ;; 10451 esac 10452 else 10453 case $host_cpu in 10454 hppa*64*) 10455 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10456 ;; 10457 ia64*) 10458 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10459 ;; 10460 *) 10461 10462 # Older versions of the 11.00 compiler do not understand -b yet 10463 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10465$as_echo_n "checking if $CC understands -b... " >&6; } 10466if ${lt_cv_prog_compiler__b+:} false; then : 10467 $as_echo_n "(cached) " >&6 10468else 10469 lt_cv_prog_compiler__b=no 10470 save_LDFLAGS=$LDFLAGS 10471 LDFLAGS="$LDFLAGS -b" 10472 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10473 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10474 # The linker can only warn and ignore the option if not recognized 10475 # So say no if there are warnings 10476 if test -s conftest.err; then 10477 # Append any errors to the config.log. 10478 cat conftest.err 1>&5 10479 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10480 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10481 if diff conftest.exp conftest.er2 >/dev/null; then 10482 lt_cv_prog_compiler__b=yes 10483 fi 10484 else 10485 lt_cv_prog_compiler__b=yes 10486 fi 10487 fi 10488 $RM -r conftest* 10489 LDFLAGS=$save_LDFLAGS 10490 10491fi 10492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10493$as_echo "$lt_cv_prog_compiler__b" >&6; } 10494 10495if test yes = "$lt_cv_prog_compiler__b"; then 10496 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10497else 10498 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10499fi 10500 10501 ;; 10502 esac 10503 fi 10504 if test no = "$with_gnu_ld"; then 10505 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10506 hardcode_libdir_separator=: 10507 10508 case $host_cpu in 10509 hppa*64*|ia64*) 10510 hardcode_direct=no 10511 hardcode_shlibpath_var=no 10512 ;; 10513 *) 10514 hardcode_direct=yes 10515 hardcode_direct_absolute=yes 10516 export_dynamic_flag_spec='$wl-E' 10517 10518 # hardcode_minus_L: Not really in the search PATH, 10519 # but as the default location of the library. 10520 hardcode_minus_L=yes 10521 ;; 10522 esac 10523 fi 10524 ;; 10525 10526 irix5* | irix6* | nonstopux*) 10527 if test yes = "$GCC"; then 10528 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' 10529 # Try to use the -exported_symbol ld option, if it does not 10530 # work, assume that -exports_file does not work either and 10531 # implicitly export all symbols. 10532 # This should be the same for all languages, so no per-tag cache variable. 10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10534$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10535if ${lt_cv_irix_exported_symbol+:} false; then : 10536 $as_echo_n "(cached) " >&6 10537else 10538 save_LDFLAGS=$LDFLAGS 10539 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10541/* end confdefs.h. */ 10542int foo (void) { return 0; } 10543_ACEOF 10544if ac_fn_c_try_link "$LINENO"; then : 10545 lt_cv_irix_exported_symbol=yes 10546else 10547 lt_cv_irix_exported_symbol=no 10548fi 10549rm -f core conftest.err conftest.$ac_objext \ 10550 conftest$ac_exeext conftest.$ac_ext 10551 LDFLAGS=$save_LDFLAGS 10552fi 10553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10554$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10555 if test yes = "$lt_cv_irix_exported_symbol"; then 10556 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' 10557 fi 10558 else 10559 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' 10560 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' 10561 fi 10562 archive_cmds_need_lc='no' 10563 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10564 hardcode_libdir_separator=: 10565 inherit_rpath=yes 10566 link_all_deplibs=yes 10567 ;; 10568 10569 linux*) 10570 case $cc_basename in 10571 tcc*) 10572 # Fabrice Bellard et al's Tiny C Compiler 10573 ld_shlibs=yes 10574 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10575 ;; 10576 esac 10577 ;; 10578 10579 netbsd*) 10580 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10581 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10582 else 10583 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10584 fi 10585 hardcode_libdir_flag_spec='-R$libdir' 10586 hardcode_direct=yes 10587 hardcode_shlibpath_var=no 10588 ;; 10589 10590 newsos6) 10591 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10592 hardcode_direct=yes 10593 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10594 hardcode_libdir_separator=: 10595 hardcode_shlibpath_var=no 10596 ;; 10597 10598 *nto* | *qnx*) 10599 ;; 10600 10601 openbsd* | bitrig*) 10602 if test -f /usr/libexec/ld.so; then 10603 hardcode_direct=yes 10604 hardcode_shlibpath_var=no 10605 hardcode_direct_absolute=yes 10606 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10607 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10608 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10609 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10610 export_dynamic_flag_spec='$wl-E' 10611 else 10612 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10613 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10614 fi 10615 else 10616 ld_shlibs=no 10617 fi 10618 ;; 10619 10620 os2*) 10621 hardcode_libdir_flag_spec='-L$libdir' 10622 hardcode_minus_L=yes 10623 allow_undefined_flag=unsupported 10624 shrext_cmds=.dll 10625 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10626 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10627 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10628 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10629 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10630 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10631 emximp -o $lib $output_objdir/$libname.def' 10632 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10633 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10634 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10635 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10636 prefix_cmds="$SED"~ 10637 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10638 prefix_cmds="$prefix_cmds -e 1d"; 10639 fi~ 10640 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10641 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10642 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10643 emximp -o $lib $output_objdir/$libname.def' 10644 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10645 enable_shared_with_static_runtimes=yes 10646 ;; 10647 10648 osf3*) 10649 if test yes = "$GCC"; then 10650 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10651 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' 10652 else 10653 allow_undefined_flag=' -expect_unresolved \*' 10654 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' 10655 fi 10656 archive_cmds_need_lc='no' 10657 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10658 hardcode_libdir_separator=: 10659 ;; 10660 10661 osf4* | osf5*) # as osf3* with the addition of -msym flag 10662 if test yes = "$GCC"; then 10663 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10664 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' 10665 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10666 else 10667 allow_undefined_flag=' -expect_unresolved \*' 10668 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' 10669 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~ 10670 $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' 10671 10672 # Both c and cxx compiler support -rpath directly 10673 hardcode_libdir_flag_spec='-rpath $libdir' 10674 fi 10675 archive_cmds_need_lc='no' 10676 hardcode_libdir_separator=: 10677 ;; 10678 10679 solaris*) 10680 no_undefined_flag=' -z defs' 10681 if test yes = "$GCC"; then 10682 wlarc='$wl' 10683 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10684 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10685 $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' 10686 else 10687 case `$CC -V 2>&1` in 10688 *"Compilers 5.0"*) 10689 wlarc='' 10690 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10691 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10692 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10693 ;; 10694 *) 10695 wlarc='$wl' 10696 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10697 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10698 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10699 ;; 10700 esac 10701 fi 10702 hardcode_libdir_flag_spec='-R$libdir' 10703 hardcode_shlibpath_var=no 10704 case $host_os in 10705 solaris2.[0-5] | solaris2.[0-5].*) ;; 10706 *) 10707 # The compiler driver will combine and reorder linker options, 10708 # but understands '-z linker_flag'. GCC discards it without '$wl', 10709 # but is careful enough not to reorder. 10710 # Supported since Solaris 2.6 (maybe 2.5.1?) 10711 if test yes = "$GCC"; then 10712 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10713 else 10714 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10715 fi 10716 ;; 10717 esac 10718 link_all_deplibs=yes 10719 ;; 10720 10721 sunos4*) 10722 if test sequent = "$host_vendor"; then 10723 # Use $CC to link under sequent, because it throws in some extra .o 10724 # files that make .init and .fini sections work. 10725 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10726 else 10727 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10728 fi 10729 hardcode_libdir_flag_spec='-L$libdir' 10730 hardcode_direct=yes 10731 hardcode_minus_L=yes 10732 hardcode_shlibpath_var=no 10733 ;; 10734 10735 sysv4) 10736 case $host_vendor in 10737 sni) 10738 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10739 hardcode_direct=yes # is this really true??? 10740 ;; 10741 siemens) 10742 ## LD is ld it makes a PLAMLIB 10743 ## CC just makes a GrossModule. 10744 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10745 reload_cmds='$CC -r -o $output$reload_objs' 10746 hardcode_direct=no 10747 ;; 10748 motorola) 10749 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10750 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10751 ;; 10752 esac 10753 runpath_var='LD_RUN_PATH' 10754 hardcode_shlibpath_var=no 10755 ;; 10756 10757 sysv4.3*) 10758 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10759 hardcode_shlibpath_var=no 10760 export_dynamic_flag_spec='-Bexport' 10761 ;; 10762 10763 sysv4*MP*) 10764 if test -d /usr/nec; then 10765 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10766 hardcode_shlibpath_var=no 10767 runpath_var=LD_RUN_PATH 10768 hardcode_runpath_var=yes 10769 ld_shlibs=yes 10770 fi 10771 ;; 10772 10773 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10774 no_undefined_flag='$wl-z,text' 10775 archive_cmds_need_lc=no 10776 hardcode_shlibpath_var=no 10777 runpath_var='LD_RUN_PATH' 10778 10779 if test yes = "$GCC"; then 10780 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10781 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10782 else 10783 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10784 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10785 fi 10786 ;; 10787 10788 sysv5* | sco3.2v5* | sco5v6*) 10789 # Note: We CANNOT use -z defs as we might desire, because we do not 10790 # link with -lc, and that would cause any symbols used from libc to 10791 # always be unresolved, which means just about no library would 10792 # ever link correctly. If we're not using GNU ld we use -z text 10793 # though, which does catch some bad symbols but isn't as heavy-handed 10794 # as -z defs. 10795 no_undefined_flag='$wl-z,text' 10796 allow_undefined_flag='$wl-z,nodefs' 10797 archive_cmds_need_lc=no 10798 hardcode_shlibpath_var=no 10799 hardcode_libdir_flag_spec='$wl-R,$libdir' 10800 hardcode_libdir_separator=':' 10801 link_all_deplibs=yes 10802 export_dynamic_flag_spec='$wl-Bexport' 10803 runpath_var='LD_RUN_PATH' 10804 10805 if test yes = "$GCC"; then 10806 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10807 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10808 else 10809 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10810 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10811 fi 10812 ;; 10813 10814 uts4*) 10815 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10816 hardcode_libdir_flag_spec='-L$libdir' 10817 hardcode_shlibpath_var=no 10818 ;; 10819 10820 *) 10821 ld_shlibs=no 10822 ;; 10823 esac 10824 10825 if test sni = "$host_vendor"; then 10826 case $host in 10827 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10828 export_dynamic_flag_spec='$wl-Blargedynsym' 10829 ;; 10830 esac 10831 fi 10832 fi 10833 10834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10835$as_echo "$ld_shlibs" >&6; } 10836test no = "$ld_shlibs" && can_build_shared=no 10837 10838with_gnu_ld=$with_gnu_ld 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854# 10855# Do we need to explicitly link libc? 10856# 10857case "x$archive_cmds_need_lc" in 10858x|xyes) 10859 # Assume -lc should be added 10860 archive_cmds_need_lc=yes 10861 10862 if test yes,yes = "$GCC,$enable_shared"; then 10863 case $archive_cmds in 10864 *'~'*) 10865 # FIXME: we may have to deal with multi-command sequences. 10866 ;; 10867 '$CC '*) 10868 # Test whether the compiler implicitly links with -lc since on some 10869 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10870 # to ld, don't add -lc before -lgcc. 10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10872$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10873if ${lt_cv_archive_cmds_need_lc+:} false; then : 10874 $as_echo_n "(cached) " >&6 10875else 10876 $RM conftest* 10877 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10878 10879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10880 (eval $ac_compile) 2>&5 10881 ac_status=$? 10882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10883 test $ac_status = 0; } 2>conftest.err; then 10884 soname=conftest 10885 lib=conftest 10886 libobjs=conftest.$ac_objext 10887 deplibs= 10888 wl=$lt_prog_compiler_wl 10889 pic_flag=$lt_prog_compiler_pic 10890 compiler_flags=-v 10891 linker_flags=-v 10892 verstring= 10893 output_objdir=. 10894 libname=conftest 10895 lt_save_allow_undefined_flag=$allow_undefined_flag 10896 allow_undefined_flag= 10897 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10898 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10899 ac_status=$? 10900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10901 test $ac_status = 0; } 10902 then 10903 lt_cv_archive_cmds_need_lc=no 10904 else 10905 lt_cv_archive_cmds_need_lc=yes 10906 fi 10907 allow_undefined_flag=$lt_save_allow_undefined_flag 10908 else 10909 cat conftest.err 1>&5 10910 fi 10911 $RM conftest* 10912 10913fi 10914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10915$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10916 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10917 ;; 10918 esac 10919 fi 10920 ;; 10921esac 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11075$as_echo_n "checking dynamic linker characteristics... " >&6; } 11076 11077if test yes = "$GCC"; then 11078 case $host_os in 11079 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11080 *) lt_awk_arg='/^libraries:/' ;; 11081 esac 11082 case $host_os in 11083 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11084 *) lt_sed_strip_eq='s|=/|/|g' ;; 11085 esac 11086 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11087 case $lt_search_path_spec in 11088 *\;*) 11089 # if the path contains ";" then we assume it to be the separator 11090 # otherwise default to the standard path separator (i.e. ":") - it is 11091 # assumed that no part of a normal pathname contains ";" but that should 11092 # okay in the real world where ";" in dirpaths is itself problematic. 11093 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11094 ;; 11095 *) 11096 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11097 ;; 11098 esac 11099 # Ok, now we have the path, separated by spaces, we can step through it 11100 # and add multilib dir if necessary... 11101 lt_tmp_lt_search_path_spec= 11102 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11103 # ...but if some path component already ends with the multilib dir we assume 11104 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11105 case "$lt_multi_os_dir; $lt_search_path_spec " in 11106 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11107 lt_multi_os_dir= 11108 ;; 11109 esac 11110 for lt_sys_path in $lt_search_path_spec; do 11111 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11112 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11113 elif test -n "$lt_multi_os_dir"; then 11114 test -d "$lt_sys_path" && \ 11115 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11116 fi 11117 done 11118 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11119BEGIN {RS = " "; FS = "/|\n";} { 11120 lt_foo = ""; 11121 lt_count = 0; 11122 for (lt_i = NF; lt_i > 0; lt_i--) { 11123 if ($lt_i != "" && $lt_i != ".") { 11124 if ($lt_i == "..") { 11125 lt_count++; 11126 } else { 11127 if (lt_count == 0) { 11128 lt_foo = "/" $lt_i lt_foo; 11129 } else { 11130 lt_count--; 11131 } 11132 } 11133 } 11134 } 11135 if (lt_foo != "") { lt_freq[lt_foo]++; } 11136 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11137}'` 11138 # AWK program above erroneously prepends '/' to C:/dos/paths 11139 # for these hosts. 11140 case $host_os in 11141 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11142 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11143 esac 11144 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11145else 11146 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11147fi 11148library_names_spec= 11149libname_spec='lib$name' 11150soname_spec= 11151shrext_cmds=.so 11152postinstall_cmds= 11153postuninstall_cmds= 11154finish_cmds= 11155finish_eval= 11156shlibpath_var= 11157shlibpath_overrides_runpath=unknown 11158version_type=none 11159dynamic_linker="$host_os ld.so" 11160sys_lib_dlsearch_path_spec="/lib /usr/lib" 11161need_lib_prefix=unknown 11162hardcode_into_libs=no 11163 11164# when you set need_version to no, make sure it does not cause -set_version 11165# flags to be left without arguments 11166need_version=unknown 11167 11168 11169 11170case $host_os in 11171aix3*) 11172 version_type=linux # correct to gnu/linux during the next big refactor 11173 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11174 shlibpath_var=LIBPATH 11175 11176 # AIX 3 has no versioning support, so we append a major version to the name. 11177 soname_spec='$libname$release$shared_ext$major' 11178 ;; 11179 11180aix[4-9]*) 11181 version_type=linux # correct to gnu/linux during the next big refactor 11182 need_lib_prefix=no 11183 need_version=no 11184 hardcode_into_libs=yes 11185 if test ia64 = "$host_cpu"; then 11186 # AIX 5 supports IA64 11187 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11188 shlibpath_var=LD_LIBRARY_PATH 11189 else 11190 # With GCC up to 2.95.x, collect2 would create an import file 11191 # for dependence libraries. The import file would start with 11192 # the line '#! .'. This would cause the generated library to 11193 # depend on '.', always an invalid library. This was fixed in 11194 # development snapshots of GCC prior to 3.0. 11195 case $host_os in 11196 aix4 | aix4.[01] | aix4.[01].*) 11197 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11198 echo ' yes ' 11199 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11200 : 11201 else 11202 can_build_shared=no 11203 fi 11204 ;; 11205 esac 11206 # Using Import Files as archive members, it is possible to support 11207 # filename-based versioning of shared library archives on AIX. While 11208 # this would work for both with and without runtime linking, it will 11209 # prevent static linking of such archives. So we do filename-based 11210 # shared library versioning with .so extension only, which is used 11211 # when both runtime linking and shared linking is enabled. 11212 # Unfortunately, runtime linking may impact performance, so we do 11213 # not want this to be the default eventually. Also, we use the 11214 # versioned .so libs for executables only if there is the -brtl 11215 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11216 # To allow for filename-based versioning support, we need to create 11217 # libNAME.so.V as an archive file, containing: 11218 # *) an Import File, referring to the versioned filename of the 11219 # archive as well as the shared archive member, telling the 11220 # bitwidth (32 or 64) of that shared object, and providing the 11221 # list of exported symbols of that shared object, eventually 11222 # decorated with the 'weak' keyword 11223 # *) the shared object with the F_LOADONLY flag set, to really avoid 11224 # it being seen by the linker. 11225 # At run time we better use the real file rather than another symlink, 11226 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11227 11228 case $with_aix_soname,$aix_use_runtimelinking in 11229 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11230 # soname into executable. Probably we can add versioning support to 11231 # collect2, so additional links can be useful in future. 11232 aix,yes) # traditional libtool 11233 dynamic_linker='AIX unversionable lib.so' 11234 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11235 # instead of lib<name>.a to let people know that these are not 11236 # typical AIX shared libraries. 11237 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11238 ;; 11239 aix,no) # traditional AIX only 11240 dynamic_linker='AIX lib.a(lib.so.V)' 11241 # We preserve .a as extension for shared libraries through AIX4.2 11242 # and later when we are not doing run time linking. 11243 library_names_spec='$libname$release.a $libname.a' 11244 soname_spec='$libname$release$shared_ext$major' 11245 ;; 11246 svr4,*) # full svr4 only 11247 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11248 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11249 # We do not specify a path in Import Files, so LIBPATH fires. 11250 shlibpath_overrides_runpath=yes 11251 ;; 11252 *,yes) # both, prefer svr4 11253 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11254 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11255 # unpreferred sharedlib libNAME.a needs extra handling 11256 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"' 11257 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"' 11258 # We do not specify a path in Import Files, so LIBPATH fires. 11259 shlibpath_overrides_runpath=yes 11260 ;; 11261 *,no) # both, prefer aix 11262 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11263 library_names_spec='$libname$release.a $libname.a' 11264 soname_spec='$libname$release$shared_ext$major' 11265 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11266 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)' 11267 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"' 11268 ;; 11269 esac 11270 shlibpath_var=LIBPATH 11271 fi 11272 ;; 11273 11274amigaos*) 11275 case $host_cpu in 11276 powerpc) 11277 # Since July 2007 AmigaOS4 officially supports .so libraries. 11278 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11279 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11280 ;; 11281 m68k) 11282 library_names_spec='$libname.ixlibrary $libname.a' 11283 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11284 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' 11285 ;; 11286 esac 11287 ;; 11288 11289beos*) 11290 library_names_spec='$libname$shared_ext' 11291 dynamic_linker="$host_os ld.so" 11292 shlibpath_var=LIBRARY_PATH 11293 ;; 11294 11295bsdi[45]*) 11296 version_type=linux # correct to gnu/linux during the next big refactor 11297 need_version=no 11298 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11299 soname_spec='$libname$release$shared_ext$major' 11300 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11301 shlibpath_var=LD_LIBRARY_PATH 11302 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11303 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11304 # the default ld.so.conf also contains /usr/contrib/lib and 11305 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11306 # libtool to hard-code these into programs 11307 ;; 11308 11309cygwin* | mingw* | pw32* | cegcc*) 11310 version_type=windows 11311 shrext_cmds=.dll 11312 need_version=no 11313 need_lib_prefix=no 11314 11315 case $GCC,$cc_basename in 11316 yes,*) 11317 # gcc 11318 library_names_spec='$libname.dll.a' 11319 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11320 postinstall_cmds='base_file=`basename \$file`~ 11321 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11322 dldir=$destdir/`dirname \$dlpath`~ 11323 test -d \$dldir || mkdir -p \$dldir~ 11324 $install_prog $dir/$dlname \$dldir/$dlname~ 11325 chmod a+x \$dldir/$dlname~ 11326 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11327 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11328 fi' 11329 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11330 dlpath=$dir/\$dldll~ 11331 $RM \$dlpath' 11332 shlibpath_overrides_runpath=yes 11333 11334 case $host_os in 11335 cygwin*) 11336 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11337 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11338 11339 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11340 ;; 11341 mingw* | cegcc*) 11342 # MinGW DLLs use traditional 'lib' prefix 11343 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11344 ;; 11345 pw32*) 11346 # pw32 DLLs use 'pw' prefix rather than 'lib' 11347 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11348 ;; 11349 esac 11350 dynamic_linker='Win32 ld.exe' 11351 ;; 11352 11353 *,cl*) 11354 # Native MSVC 11355 libname_spec='$name' 11356 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11357 library_names_spec='$libname.dll.lib' 11358 11359 case $build_os in 11360 mingw*) 11361 sys_lib_search_path_spec= 11362 lt_save_ifs=$IFS 11363 IFS=';' 11364 for lt_path in $LIB 11365 do 11366 IFS=$lt_save_ifs 11367 # Let DOS variable expansion print the short 8.3 style file name. 11368 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11369 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11370 done 11371 IFS=$lt_save_ifs 11372 # Convert to MSYS style. 11373 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11374 ;; 11375 cygwin*) 11376 # Convert to unix form, then to dos form, then back to unix form 11377 # but this time dos style (no spaces!) so that the unix form looks 11378 # like /cygdrive/c/PROGRA~1:/cygdr... 11379 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11380 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11381 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11382 ;; 11383 *) 11384 sys_lib_search_path_spec=$LIB 11385 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11386 # It is most probably a Windows format PATH. 11387 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11388 else 11389 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11390 fi 11391 # FIXME: find the short name or the path components, as spaces are 11392 # common. (e.g. "Program Files" -> "PROGRA~1") 11393 ;; 11394 esac 11395 11396 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11397 postinstall_cmds='base_file=`basename \$file`~ 11398 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11399 dldir=$destdir/`dirname \$dlpath`~ 11400 test -d \$dldir || mkdir -p \$dldir~ 11401 $install_prog $dir/$dlname \$dldir/$dlname' 11402 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11403 dlpath=$dir/\$dldll~ 11404 $RM \$dlpath' 11405 shlibpath_overrides_runpath=yes 11406 dynamic_linker='Win32 link.exe' 11407 ;; 11408 11409 *) 11410 # Assume MSVC wrapper 11411 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11412 dynamic_linker='Win32 ld.exe' 11413 ;; 11414 esac 11415 # FIXME: first we should search . and the directory the executable is in 11416 shlibpath_var=PATH 11417 ;; 11418 11419darwin* | rhapsody*) 11420 dynamic_linker="$host_os dyld" 11421 version_type=darwin 11422 need_lib_prefix=no 11423 need_version=no 11424 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11425 soname_spec='$libname$release$major$shared_ext' 11426 shlibpath_overrides_runpath=yes 11427 shlibpath_var=DYLD_LIBRARY_PATH 11428 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11429 11430 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11431 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11432 ;; 11433 11434dgux*) 11435 version_type=linux # correct to gnu/linux during the next big refactor 11436 need_lib_prefix=no 11437 need_version=no 11438 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11439 soname_spec='$libname$release$shared_ext$major' 11440 shlibpath_var=LD_LIBRARY_PATH 11441 ;; 11442 11443freebsd* | dragonfly*) 11444 # DragonFly does not have aout. When/if they implement a new 11445 # versioning mechanism, adjust this. 11446 if test -x /usr/bin/objformat; then 11447 objformat=`/usr/bin/objformat` 11448 else 11449 case $host_os in 11450 freebsd[23].*) objformat=aout ;; 11451 *) objformat=elf ;; 11452 esac 11453 fi 11454 version_type=freebsd-$objformat 11455 case $version_type in 11456 freebsd-elf*) 11457 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11458 soname_spec='$libname$release$shared_ext$major' 11459 need_version=no 11460 need_lib_prefix=no 11461 ;; 11462 freebsd-*) 11463 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11464 need_version=yes 11465 ;; 11466 esac 11467 shlibpath_var=LD_LIBRARY_PATH 11468 case $host_os in 11469 freebsd2.*) 11470 shlibpath_overrides_runpath=yes 11471 ;; 11472 freebsd3.[01]* | freebsdelf3.[01]*) 11473 shlibpath_overrides_runpath=yes 11474 hardcode_into_libs=yes 11475 ;; 11476 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11477 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11478 shlibpath_overrides_runpath=no 11479 hardcode_into_libs=yes 11480 ;; 11481 *) # from 4.6 on, and DragonFly 11482 shlibpath_overrides_runpath=yes 11483 hardcode_into_libs=yes 11484 ;; 11485 esac 11486 ;; 11487 11488haiku*) 11489 version_type=linux # correct to gnu/linux during the next big refactor 11490 need_lib_prefix=no 11491 need_version=no 11492 dynamic_linker="$host_os runtime_loader" 11493 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11494 soname_spec='$libname$release$shared_ext$major' 11495 shlibpath_var=LIBRARY_PATH 11496 shlibpath_overrides_runpath=no 11497 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11498 hardcode_into_libs=yes 11499 ;; 11500 11501hpux9* | hpux10* | hpux11*) 11502 # Give a soname corresponding to the major version so that dld.sl refuses to 11503 # link against other versions. 11504 version_type=sunos 11505 need_lib_prefix=no 11506 need_version=no 11507 case $host_cpu in 11508 ia64*) 11509 shrext_cmds='.so' 11510 hardcode_into_libs=yes 11511 dynamic_linker="$host_os dld.so" 11512 shlibpath_var=LD_LIBRARY_PATH 11513 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11514 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11515 soname_spec='$libname$release$shared_ext$major' 11516 if test 32 = "$HPUX_IA64_MODE"; then 11517 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11518 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11519 else 11520 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11521 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11522 fi 11523 ;; 11524 hppa*64*) 11525 shrext_cmds='.sl' 11526 hardcode_into_libs=yes 11527 dynamic_linker="$host_os dld.sl" 11528 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11529 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11530 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11531 soname_spec='$libname$release$shared_ext$major' 11532 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11533 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11534 ;; 11535 *) 11536 shrext_cmds='.sl' 11537 dynamic_linker="$host_os dld.sl" 11538 shlibpath_var=SHLIB_PATH 11539 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11540 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11541 soname_spec='$libname$release$shared_ext$major' 11542 ;; 11543 esac 11544 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11545 postinstall_cmds='chmod 555 $lib' 11546 # or fails outright, so override atomically: 11547 install_override_mode=555 11548 ;; 11549 11550interix[3-9]*) 11551 version_type=linux # correct to gnu/linux during the next big refactor 11552 need_lib_prefix=no 11553 need_version=no 11554 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11555 soname_spec='$libname$release$shared_ext$major' 11556 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11557 shlibpath_var=LD_LIBRARY_PATH 11558 shlibpath_overrides_runpath=no 11559 hardcode_into_libs=yes 11560 ;; 11561 11562irix5* | irix6* | nonstopux*) 11563 case $host_os in 11564 nonstopux*) version_type=nonstopux ;; 11565 *) 11566 if test yes = "$lt_cv_prog_gnu_ld"; then 11567 version_type=linux # correct to gnu/linux during the next big refactor 11568 else 11569 version_type=irix 11570 fi ;; 11571 esac 11572 need_lib_prefix=no 11573 need_version=no 11574 soname_spec='$libname$release$shared_ext$major' 11575 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11576 case $host_os in 11577 irix5* | nonstopux*) 11578 libsuff= shlibsuff= 11579 ;; 11580 *) 11581 case $LD in # libtool.m4 will add one of these switches to LD 11582 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11583 libsuff= shlibsuff= libmagic=32-bit;; 11584 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11585 libsuff=32 shlibsuff=N32 libmagic=N32;; 11586 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11587 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11588 *) libsuff= shlibsuff= libmagic=never-match;; 11589 esac 11590 ;; 11591 esac 11592 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11593 shlibpath_overrides_runpath=no 11594 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11595 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11596 hardcode_into_libs=yes 11597 ;; 11598 11599# No shared lib support for Linux oldld, aout, or coff. 11600linux*oldld* | linux*aout* | linux*coff*) 11601 dynamic_linker=no 11602 ;; 11603 11604linux*android*) 11605 version_type=none # Android doesn't support versioned libraries. 11606 need_lib_prefix=no 11607 need_version=no 11608 library_names_spec='$libname$release$shared_ext' 11609 soname_spec='$libname$release$shared_ext' 11610 finish_cmds= 11611 shlibpath_var=LD_LIBRARY_PATH 11612 shlibpath_overrides_runpath=yes 11613 11614 # This implies no fast_install, which is unacceptable. 11615 # Some rework will be needed to allow for fast_install 11616 # before this can be enabled. 11617 hardcode_into_libs=yes 11618 11619 dynamic_linker='Android linker' 11620 # Don't embed -rpath directories since the linker doesn't support them. 11621 hardcode_libdir_flag_spec='-L$libdir' 11622 ;; 11623 11624# This must be glibc/ELF. 11625linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11626 version_type=linux # correct to gnu/linux during the next big refactor 11627 need_lib_prefix=no 11628 need_version=no 11629 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11630 soname_spec='$libname$release$shared_ext$major' 11631 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11632 shlibpath_var=LD_LIBRARY_PATH 11633 shlibpath_overrides_runpath=no 11634 11635 # Some binutils ld are patched to set DT_RUNPATH 11636 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11637 $as_echo_n "(cached) " >&6 11638else 11639 lt_cv_shlibpath_overrides_runpath=no 11640 save_LDFLAGS=$LDFLAGS 11641 save_libdir=$libdir 11642 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11643 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11645/* end confdefs.h. */ 11646 11647int 11648main () 11649{ 11650 11651 ; 11652 return 0; 11653} 11654_ACEOF 11655if ac_fn_c_try_link "$LINENO"; then : 11656 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11657 lt_cv_shlibpath_overrides_runpath=yes 11658fi 11659fi 11660rm -f core conftest.err conftest.$ac_objext \ 11661 conftest$ac_exeext conftest.$ac_ext 11662 LDFLAGS=$save_LDFLAGS 11663 libdir=$save_libdir 11664 11665fi 11666 11667 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11668 11669 # This implies no fast_install, which is unacceptable. 11670 # Some rework will be needed to allow for fast_install 11671 # before this can be enabled. 11672 hardcode_into_libs=yes 11673 11674 # Ideally, we could use ldconfig to report *all* directores which are 11675 # searched for libraries, however this is still not possible. Aside from not 11676 # being certain /sbin/ldconfig is available, command 11677 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11678 # even though it is searched at run-time. Try to do the best guess by 11679 # appending ld.so.conf contents (and includes) to the search path. 11680 if test -f /etc/ld.so.conf; then 11681 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' ' '` 11682 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11683 fi 11684 11685 # We used to test for /lib/ld.so.1 and disable shared libraries on 11686 # powerpc, because MkLinux only supported shared libraries with the 11687 # GNU dynamic linker. Since this was broken with cross compilers, 11688 # most powerpc-linux boxes support dynamic linking these days and 11689 # people can always --disable-shared, the test was removed, and we 11690 # assume the GNU/Linux dynamic linker is in use. 11691 dynamic_linker='GNU/Linux ld.so' 11692 ;; 11693 11694netbsd*) 11695 version_type=sunos 11696 need_lib_prefix=no 11697 need_version=no 11698 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11699 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11700 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11701 dynamic_linker='NetBSD (a.out) ld.so' 11702 else 11703 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11704 soname_spec='$libname$release$shared_ext$major' 11705 dynamic_linker='NetBSD ld.elf_so' 11706 fi 11707 shlibpath_var=LD_LIBRARY_PATH 11708 shlibpath_overrides_runpath=yes 11709 hardcode_into_libs=yes 11710 ;; 11711 11712newsos6) 11713 version_type=linux # correct to gnu/linux during the next big refactor 11714 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11715 shlibpath_var=LD_LIBRARY_PATH 11716 shlibpath_overrides_runpath=yes 11717 ;; 11718 11719*nto* | *qnx*) 11720 version_type=qnx 11721 need_lib_prefix=no 11722 need_version=no 11723 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11724 soname_spec='$libname$release$shared_ext$major' 11725 shlibpath_var=LD_LIBRARY_PATH 11726 shlibpath_overrides_runpath=no 11727 hardcode_into_libs=yes 11728 dynamic_linker='ldqnx.so' 11729 ;; 11730 11731openbsd* | bitrig*) 11732 version_type=sunos 11733 sys_lib_dlsearch_path_spec=/usr/lib 11734 need_lib_prefix=no 11735 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11736 need_version=no 11737 else 11738 need_version=yes 11739 fi 11740 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11741 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11742 shlibpath_var=LD_LIBRARY_PATH 11743 shlibpath_overrides_runpath=yes 11744 ;; 11745 11746os2*) 11747 libname_spec='$name' 11748 version_type=windows 11749 shrext_cmds=.dll 11750 need_version=no 11751 need_lib_prefix=no 11752 # OS/2 can only load a DLL with a base name of 8 characters or less. 11753 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11754 v=$($ECHO $release$versuffix | tr -d .-); 11755 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11756 $ECHO $n$v`$shared_ext' 11757 library_names_spec='${libname}_dll.$libext' 11758 dynamic_linker='OS/2 ld.exe' 11759 shlibpath_var=BEGINLIBPATH 11760 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11761 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11762 postinstall_cmds='base_file=`basename \$file`~ 11763 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11764 dldir=$destdir/`dirname \$dlpath`~ 11765 test -d \$dldir || mkdir -p \$dldir~ 11766 $install_prog $dir/$dlname \$dldir/$dlname~ 11767 chmod a+x \$dldir/$dlname~ 11768 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11769 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11770 fi' 11771 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11772 dlpath=$dir/\$dldll~ 11773 $RM \$dlpath' 11774 ;; 11775 11776osf3* | osf4* | osf5*) 11777 version_type=osf 11778 need_lib_prefix=no 11779 need_version=no 11780 soname_spec='$libname$release$shared_ext$major' 11781 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11782 shlibpath_var=LD_LIBRARY_PATH 11783 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11784 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11785 ;; 11786 11787rdos*) 11788 dynamic_linker=no 11789 ;; 11790 11791solaris*) 11792 version_type=linux # correct to gnu/linux during the next big refactor 11793 need_lib_prefix=no 11794 need_version=no 11795 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11796 soname_spec='$libname$release$shared_ext$major' 11797 shlibpath_var=LD_LIBRARY_PATH 11798 shlibpath_overrides_runpath=yes 11799 hardcode_into_libs=yes 11800 # ldd complains unless libraries are executable 11801 postinstall_cmds='chmod +x $lib' 11802 ;; 11803 11804sunos4*) 11805 version_type=sunos 11806 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11807 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11808 shlibpath_var=LD_LIBRARY_PATH 11809 shlibpath_overrides_runpath=yes 11810 if test yes = "$with_gnu_ld"; then 11811 need_lib_prefix=no 11812 fi 11813 need_version=yes 11814 ;; 11815 11816sysv4 | sysv4.3*) 11817 version_type=linux # correct to gnu/linux during the next big refactor 11818 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11819 soname_spec='$libname$release$shared_ext$major' 11820 shlibpath_var=LD_LIBRARY_PATH 11821 case $host_vendor in 11822 sni) 11823 shlibpath_overrides_runpath=no 11824 need_lib_prefix=no 11825 runpath_var=LD_RUN_PATH 11826 ;; 11827 siemens) 11828 need_lib_prefix=no 11829 ;; 11830 motorola) 11831 need_lib_prefix=no 11832 need_version=no 11833 shlibpath_overrides_runpath=no 11834 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11835 ;; 11836 esac 11837 ;; 11838 11839sysv4*MP*) 11840 if test -d /usr/nec; then 11841 version_type=linux # correct to gnu/linux during the next big refactor 11842 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11843 soname_spec='$libname$shared_ext.$major' 11844 shlibpath_var=LD_LIBRARY_PATH 11845 fi 11846 ;; 11847 11848sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11849 version_type=sco 11850 need_lib_prefix=no 11851 need_version=no 11852 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11853 soname_spec='$libname$release$shared_ext$major' 11854 shlibpath_var=LD_LIBRARY_PATH 11855 shlibpath_overrides_runpath=yes 11856 hardcode_into_libs=yes 11857 if test yes = "$with_gnu_ld"; then 11858 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11859 else 11860 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11861 case $host_os in 11862 sco3.2v5*) 11863 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11864 ;; 11865 esac 11866 fi 11867 sys_lib_dlsearch_path_spec='/usr/lib' 11868 ;; 11869 11870tpf*) 11871 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11872 version_type=linux # correct to gnu/linux during the next big refactor 11873 need_lib_prefix=no 11874 need_version=no 11875 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11876 shlibpath_var=LD_LIBRARY_PATH 11877 shlibpath_overrides_runpath=no 11878 hardcode_into_libs=yes 11879 ;; 11880 11881uts4*) 11882 version_type=linux # correct to gnu/linux during the next big refactor 11883 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11884 soname_spec='$libname$release$shared_ext$major' 11885 shlibpath_var=LD_LIBRARY_PATH 11886 ;; 11887 11888*) 11889 dynamic_linker=no 11890 ;; 11891esac 11892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11893$as_echo "$dynamic_linker" >&6; } 11894test no = "$dynamic_linker" && can_build_shared=no 11895 11896variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11897if test yes = "$GCC"; then 11898 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11899fi 11900 11901if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11902 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11903fi 11904 11905if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11906 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11907fi 11908 11909# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11910configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11911 11912# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11913func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11914 11915# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11916configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12015$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12016hardcode_action= 12017if test -n "$hardcode_libdir_flag_spec" || 12018 test -n "$runpath_var" || 12019 test yes = "$hardcode_automatic"; then 12020 12021 # We can hardcode non-existent directories. 12022 if test no != "$hardcode_direct" && 12023 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12024 # have to relink, otherwise we might link with an installed library 12025 # when we should be linking with a yet-to-be-installed one 12026 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12027 test no != "$hardcode_minus_L"; then 12028 # Linking always hardcodes the temporary library directory. 12029 hardcode_action=relink 12030 else 12031 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12032 hardcode_action=immediate 12033 fi 12034else 12035 # We cannot hardcode anything, or else we can only hardcode existing 12036 # directories. 12037 hardcode_action=unsupported 12038fi 12039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12040$as_echo "$hardcode_action" >&6; } 12041 12042if test relink = "$hardcode_action" || 12043 test yes = "$inherit_rpath"; then 12044 # Fast installation is not supported 12045 enable_fast_install=no 12046elif test yes = "$shlibpath_overrides_runpath" || 12047 test no = "$enable_shared"; then 12048 # Fast installation is not necessary 12049 enable_fast_install=needless 12050fi 12051 12052 12053 12054 12055 12056 12057 if test yes != "$enable_dlopen"; then 12058 enable_dlopen=unknown 12059 enable_dlopen_self=unknown 12060 enable_dlopen_self_static=unknown 12061else 12062 lt_cv_dlopen=no 12063 lt_cv_dlopen_libs= 12064 12065 case $host_os in 12066 beos*) 12067 lt_cv_dlopen=load_add_on 12068 lt_cv_dlopen_libs= 12069 lt_cv_dlopen_self=yes 12070 ;; 12071 12072 mingw* | pw32* | cegcc*) 12073 lt_cv_dlopen=LoadLibrary 12074 lt_cv_dlopen_libs= 12075 ;; 12076 12077 cygwin*) 12078 lt_cv_dlopen=dlopen 12079 lt_cv_dlopen_libs= 12080 ;; 12081 12082 darwin*) 12083 # if libdl is installed we need to link against it 12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12085$as_echo_n "checking for dlopen in -ldl... " >&6; } 12086if ${ac_cv_lib_dl_dlopen+:} false; then : 12087 $as_echo_n "(cached) " >&6 12088else 12089 ac_check_lib_save_LIBS=$LIBS 12090LIBS="-ldl $LIBS" 12091cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12092/* end confdefs.h. */ 12093 12094/* Override any GCC internal prototype to avoid an error. 12095 Use char because int might match the return type of a GCC 12096 builtin and then its argument prototype would still apply. */ 12097#ifdef __cplusplus 12098extern "C" 12099#endif 12100char dlopen (); 12101int 12102main () 12103{ 12104return dlopen (); 12105 ; 12106 return 0; 12107} 12108_ACEOF 12109if ac_fn_c_try_link "$LINENO"; then : 12110 ac_cv_lib_dl_dlopen=yes 12111else 12112 ac_cv_lib_dl_dlopen=no 12113fi 12114rm -f core conftest.err conftest.$ac_objext \ 12115 conftest$ac_exeext conftest.$ac_ext 12116LIBS=$ac_check_lib_save_LIBS 12117fi 12118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12119$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12120if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12121 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12122else 12123 12124 lt_cv_dlopen=dyld 12125 lt_cv_dlopen_libs= 12126 lt_cv_dlopen_self=yes 12127 12128fi 12129 12130 ;; 12131 12132 tpf*) 12133 # Don't try to run any link tests for TPF. We know it's impossible 12134 # because TPF is a cross-compiler, and we know how we open DSOs. 12135 lt_cv_dlopen=dlopen 12136 lt_cv_dlopen_libs= 12137 lt_cv_dlopen_self=no 12138 ;; 12139 12140 *) 12141 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12142if test "x$ac_cv_func_shl_load" = xyes; then : 12143 lt_cv_dlopen=shl_load 12144else 12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12146$as_echo_n "checking for shl_load in -ldld... " >&6; } 12147if ${ac_cv_lib_dld_shl_load+:} false; then : 12148 $as_echo_n "(cached) " >&6 12149else 12150 ac_check_lib_save_LIBS=$LIBS 12151LIBS="-ldld $LIBS" 12152cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12153/* end confdefs.h. */ 12154 12155/* Override any GCC internal prototype to avoid an error. 12156 Use char because int might match the return type of a GCC 12157 builtin and then its argument prototype would still apply. */ 12158#ifdef __cplusplus 12159extern "C" 12160#endif 12161char shl_load (); 12162int 12163main () 12164{ 12165return shl_load (); 12166 ; 12167 return 0; 12168} 12169_ACEOF 12170if ac_fn_c_try_link "$LINENO"; then : 12171 ac_cv_lib_dld_shl_load=yes 12172else 12173 ac_cv_lib_dld_shl_load=no 12174fi 12175rm -f core conftest.err conftest.$ac_objext \ 12176 conftest$ac_exeext conftest.$ac_ext 12177LIBS=$ac_check_lib_save_LIBS 12178fi 12179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12180$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12181if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12182 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12183else 12184 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12185if test "x$ac_cv_func_dlopen" = xyes; then : 12186 lt_cv_dlopen=dlopen 12187else 12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12189$as_echo_n "checking for dlopen in -ldl... " >&6; } 12190if ${ac_cv_lib_dl_dlopen+:} false; then : 12191 $as_echo_n "(cached) " >&6 12192else 12193 ac_check_lib_save_LIBS=$LIBS 12194LIBS="-ldl $LIBS" 12195cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12196/* end confdefs.h. */ 12197 12198/* Override any GCC internal prototype to avoid an error. 12199 Use char because int might match the return type of a GCC 12200 builtin and then its argument prototype would still apply. */ 12201#ifdef __cplusplus 12202extern "C" 12203#endif 12204char dlopen (); 12205int 12206main () 12207{ 12208return dlopen (); 12209 ; 12210 return 0; 12211} 12212_ACEOF 12213if ac_fn_c_try_link "$LINENO"; then : 12214 ac_cv_lib_dl_dlopen=yes 12215else 12216 ac_cv_lib_dl_dlopen=no 12217fi 12218rm -f core conftest.err conftest.$ac_objext \ 12219 conftest$ac_exeext conftest.$ac_ext 12220LIBS=$ac_check_lib_save_LIBS 12221fi 12222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12223$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12224if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12225 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12226else 12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12228$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12229if ${ac_cv_lib_svld_dlopen+:} false; then : 12230 $as_echo_n "(cached) " >&6 12231else 12232 ac_check_lib_save_LIBS=$LIBS 12233LIBS="-lsvld $LIBS" 12234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12235/* end confdefs.h. */ 12236 12237/* Override any GCC internal prototype to avoid an error. 12238 Use char because int might match the return type of a GCC 12239 builtin and then its argument prototype would still apply. */ 12240#ifdef __cplusplus 12241extern "C" 12242#endif 12243char dlopen (); 12244int 12245main () 12246{ 12247return dlopen (); 12248 ; 12249 return 0; 12250} 12251_ACEOF 12252if ac_fn_c_try_link "$LINENO"; then : 12253 ac_cv_lib_svld_dlopen=yes 12254else 12255 ac_cv_lib_svld_dlopen=no 12256fi 12257rm -f core conftest.err conftest.$ac_objext \ 12258 conftest$ac_exeext conftest.$ac_ext 12259LIBS=$ac_check_lib_save_LIBS 12260fi 12261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12262$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12263if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12264 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12265else 12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12267$as_echo_n "checking for dld_link in -ldld... " >&6; } 12268if ${ac_cv_lib_dld_dld_link+:} false; then : 12269 $as_echo_n "(cached) " >&6 12270else 12271 ac_check_lib_save_LIBS=$LIBS 12272LIBS="-ldld $LIBS" 12273cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12274/* end confdefs.h. */ 12275 12276/* Override any GCC internal prototype to avoid an error. 12277 Use char because int might match the return type of a GCC 12278 builtin and then its argument prototype would still apply. */ 12279#ifdef __cplusplus 12280extern "C" 12281#endif 12282char dld_link (); 12283int 12284main () 12285{ 12286return dld_link (); 12287 ; 12288 return 0; 12289} 12290_ACEOF 12291if ac_fn_c_try_link "$LINENO"; then : 12292 ac_cv_lib_dld_dld_link=yes 12293else 12294 ac_cv_lib_dld_dld_link=no 12295fi 12296rm -f core conftest.err conftest.$ac_objext \ 12297 conftest$ac_exeext conftest.$ac_ext 12298LIBS=$ac_check_lib_save_LIBS 12299fi 12300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12301$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12302if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12303 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12304fi 12305 12306 12307fi 12308 12309 12310fi 12311 12312 12313fi 12314 12315 12316fi 12317 12318 12319fi 12320 12321 ;; 12322 esac 12323 12324 if test no = "$lt_cv_dlopen"; then 12325 enable_dlopen=no 12326 else 12327 enable_dlopen=yes 12328 fi 12329 12330 case $lt_cv_dlopen in 12331 dlopen) 12332 save_CPPFLAGS=$CPPFLAGS 12333 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12334 12335 save_LDFLAGS=$LDFLAGS 12336 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12337 12338 save_LIBS=$LIBS 12339 LIBS="$lt_cv_dlopen_libs $LIBS" 12340 12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12342$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12343if ${lt_cv_dlopen_self+:} false; then : 12344 $as_echo_n "(cached) " >&6 12345else 12346 if test yes = "$cross_compiling"; then : 12347 lt_cv_dlopen_self=cross 12348else 12349 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12350 lt_status=$lt_dlunknown 12351 cat > conftest.$ac_ext <<_LT_EOF 12352#line $LINENO "configure" 12353#include "confdefs.h" 12354 12355#if HAVE_DLFCN_H 12356#include <dlfcn.h> 12357#endif 12358 12359#include <stdio.h> 12360 12361#ifdef RTLD_GLOBAL 12362# define LT_DLGLOBAL RTLD_GLOBAL 12363#else 12364# ifdef DL_GLOBAL 12365# define LT_DLGLOBAL DL_GLOBAL 12366# else 12367# define LT_DLGLOBAL 0 12368# endif 12369#endif 12370 12371/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12372 find out it does not work in some platform. */ 12373#ifndef LT_DLLAZY_OR_NOW 12374# ifdef RTLD_LAZY 12375# define LT_DLLAZY_OR_NOW RTLD_LAZY 12376# else 12377# ifdef DL_LAZY 12378# define LT_DLLAZY_OR_NOW DL_LAZY 12379# else 12380# ifdef RTLD_NOW 12381# define LT_DLLAZY_OR_NOW RTLD_NOW 12382# else 12383# ifdef DL_NOW 12384# define LT_DLLAZY_OR_NOW DL_NOW 12385# else 12386# define LT_DLLAZY_OR_NOW 0 12387# endif 12388# endif 12389# endif 12390# endif 12391#endif 12392 12393/* When -fvisibility=hidden is used, assume the code has been annotated 12394 correspondingly for the symbols needed. */ 12395#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12396int fnord () __attribute__((visibility("default"))); 12397#endif 12398 12399int fnord () { return 42; } 12400int main () 12401{ 12402 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12403 int status = $lt_dlunknown; 12404 12405 if (self) 12406 { 12407 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12408 else 12409 { 12410 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12411 else puts (dlerror ()); 12412 } 12413 /* dlclose (self); */ 12414 } 12415 else 12416 puts (dlerror ()); 12417 12418 return status; 12419} 12420_LT_EOF 12421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12422 (eval $ac_link) 2>&5 12423 ac_status=$? 12424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12425 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12426 (./conftest; exit; ) >&5 2>/dev/null 12427 lt_status=$? 12428 case x$lt_status in 12429 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12430 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12431 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12432 esac 12433 else : 12434 # compilation failed 12435 lt_cv_dlopen_self=no 12436 fi 12437fi 12438rm -fr conftest* 12439 12440 12441fi 12442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12443$as_echo "$lt_cv_dlopen_self" >&6; } 12444 12445 if test yes = "$lt_cv_dlopen_self"; then 12446 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12448$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12449if ${lt_cv_dlopen_self_static+:} false; then : 12450 $as_echo_n "(cached) " >&6 12451else 12452 if test yes = "$cross_compiling"; then : 12453 lt_cv_dlopen_self_static=cross 12454else 12455 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12456 lt_status=$lt_dlunknown 12457 cat > conftest.$ac_ext <<_LT_EOF 12458#line $LINENO "configure" 12459#include "confdefs.h" 12460 12461#if HAVE_DLFCN_H 12462#include <dlfcn.h> 12463#endif 12464 12465#include <stdio.h> 12466 12467#ifdef RTLD_GLOBAL 12468# define LT_DLGLOBAL RTLD_GLOBAL 12469#else 12470# ifdef DL_GLOBAL 12471# define LT_DLGLOBAL DL_GLOBAL 12472# else 12473# define LT_DLGLOBAL 0 12474# endif 12475#endif 12476 12477/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12478 find out it does not work in some platform. */ 12479#ifndef LT_DLLAZY_OR_NOW 12480# ifdef RTLD_LAZY 12481# define LT_DLLAZY_OR_NOW RTLD_LAZY 12482# else 12483# ifdef DL_LAZY 12484# define LT_DLLAZY_OR_NOW DL_LAZY 12485# else 12486# ifdef RTLD_NOW 12487# define LT_DLLAZY_OR_NOW RTLD_NOW 12488# else 12489# ifdef DL_NOW 12490# define LT_DLLAZY_OR_NOW DL_NOW 12491# else 12492# define LT_DLLAZY_OR_NOW 0 12493# endif 12494# endif 12495# endif 12496# endif 12497#endif 12498 12499/* When -fvisibility=hidden is used, assume the code has been annotated 12500 correspondingly for the symbols needed. */ 12501#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12502int fnord () __attribute__((visibility("default"))); 12503#endif 12504 12505int fnord () { return 42; } 12506int main () 12507{ 12508 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12509 int status = $lt_dlunknown; 12510 12511 if (self) 12512 { 12513 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12514 else 12515 { 12516 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12517 else puts (dlerror ()); 12518 } 12519 /* dlclose (self); */ 12520 } 12521 else 12522 puts (dlerror ()); 12523 12524 return status; 12525} 12526_LT_EOF 12527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12528 (eval $ac_link) 2>&5 12529 ac_status=$? 12530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12531 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12532 (./conftest; exit; ) >&5 2>/dev/null 12533 lt_status=$? 12534 case x$lt_status in 12535 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12536 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12537 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12538 esac 12539 else : 12540 # compilation failed 12541 lt_cv_dlopen_self_static=no 12542 fi 12543fi 12544rm -fr conftest* 12545 12546 12547fi 12548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12549$as_echo "$lt_cv_dlopen_self_static" >&6; } 12550 fi 12551 12552 CPPFLAGS=$save_CPPFLAGS 12553 LDFLAGS=$save_LDFLAGS 12554 LIBS=$save_LIBS 12555 ;; 12556 esac 12557 12558 case $lt_cv_dlopen_self in 12559 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12560 *) enable_dlopen_self=unknown ;; 12561 esac 12562 12563 case $lt_cv_dlopen_self_static in 12564 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12565 *) enable_dlopen_self_static=unknown ;; 12566 esac 12567fi 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585striplib= 12586old_striplib= 12587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12588$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12589if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12590 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12591 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12593$as_echo "yes" >&6; } 12594else 12595# FIXME - insert some real tests, host_os isn't really good enough 12596 case $host_os in 12597 darwin*) 12598 if test -n "$STRIP"; then 12599 striplib="$STRIP -x" 12600 old_striplib="$STRIP -S" 12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12602$as_echo "yes" >&6; } 12603 else 12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12605$as_echo "no" >&6; } 12606 fi 12607 ;; 12608 *) 12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12610$as_echo "no" >&6; } 12611 ;; 12612 esac 12613fi 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 # Report what library types will actually be built 12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12628$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12630$as_echo "$can_build_shared" >&6; } 12631 12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12633$as_echo_n "checking whether to build shared libraries... " >&6; } 12634 test no = "$can_build_shared" && enable_shared=no 12635 12636 # On AIX, shared libraries and static libraries use the same namespace, and 12637 # are all built from PIC. 12638 case $host_os in 12639 aix3*) 12640 test yes = "$enable_shared" && enable_static=no 12641 if test -n "$RANLIB"; then 12642 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12643 postinstall_cmds='$RANLIB $lib' 12644 fi 12645 ;; 12646 12647 aix[4-9]*) 12648 if test ia64 != "$host_cpu"; then 12649 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12650 yes,aix,yes) ;; # shared object as lib.so file only 12651 yes,svr4,*) ;; # shared object as lib.so archive member only 12652 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12653 esac 12654 fi 12655 ;; 12656 esac 12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12658$as_echo "$enable_shared" >&6; } 12659 12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12661$as_echo_n "checking whether to build static libraries... " >&6; } 12662 # Make sure either enable_shared or enable_static is yes. 12663 test yes = "$enable_shared" || enable_static=yes 12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12665$as_echo "$enable_static" >&6; } 12666 12667 12668 12669 12670fi 12671ac_ext=c 12672ac_cpp='$CPP $CPPFLAGS' 12673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12675ac_compiler_gnu=$ac_cv_c_compiler_gnu 12676 12677CC=$lt_save_CC 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 ac_config_commands="$ac_config_commands libtool" 12694 12695 12696 12697 12698# Only expand once: 12699 12700 12701if test -n "$ac_tool_prefix"; then 12702 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. 12703set dummy ${ac_tool_prefix}windres; ac_word=$2 12704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12705$as_echo_n "checking for $ac_word... " >&6; } 12706if ${ac_cv_prog_RC+:} false; then : 12707 $as_echo_n "(cached) " >&6 12708else 12709 if test -n "$RC"; then 12710 ac_cv_prog_RC="$RC" # Let the user override the test. 12711else 12712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12713for as_dir in $PATH 12714do 12715 IFS=$as_save_IFS 12716 test -z "$as_dir" && as_dir=. 12717 for ac_exec_ext in '' $ac_executable_extensions; do 12718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12719 ac_cv_prog_RC="${ac_tool_prefix}windres" 12720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12721 break 2 12722 fi 12723done 12724 done 12725IFS=$as_save_IFS 12726 12727fi 12728fi 12729RC=$ac_cv_prog_RC 12730if test -n "$RC"; then 12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5 12732$as_echo "$RC" >&6; } 12733else 12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12735$as_echo "no" >&6; } 12736fi 12737 12738 12739fi 12740if test -z "$ac_cv_prog_RC"; then 12741 ac_ct_RC=$RC 12742 # Extract the first word of "windres", so it can be a program name with args. 12743set dummy windres; ac_word=$2 12744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12745$as_echo_n "checking for $ac_word... " >&6; } 12746if ${ac_cv_prog_ac_ct_RC+:} false; then : 12747 $as_echo_n "(cached) " >&6 12748else 12749 if test -n "$ac_ct_RC"; then 12750 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test. 12751else 12752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12753for as_dir in $PATH 12754do 12755 IFS=$as_save_IFS 12756 test -z "$as_dir" && as_dir=. 12757 for ac_exec_ext in '' $ac_executable_extensions; do 12758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12759 ac_cv_prog_ac_ct_RC="windres" 12760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12761 break 2 12762 fi 12763done 12764 done 12765IFS=$as_save_IFS 12766 12767fi 12768fi 12769ac_ct_RC=$ac_cv_prog_ac_ct_RC 12770if test -n "$ac_ct_RC"; then 12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5 12772$as_echo "$ac_ct_RC" >&6; } 12773else 12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12775$as_echo "no" >&6; } 12776fi 12777 12778 if test "x$ac_ct_RC" = x; then 12779 RC="" 12780 else 12781 case $cross_compiling:$ac_tool_warned in 12782yes:) 12783{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12784$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12785ac_tool_warned=yes ;; 12786esac 12787 RC=$ac_ct_RC 12788 fi 12789else 12790 RC="$ac_cv_prog_RC" 12791fi 12792 12793 12794 12795 12796# Source file extension for RC test sources. 12797ac_ext=rc 12798 12799# Object file extension for compiled RC test sources. 12800objext=o 12801objext_RC=$objext 12802 12803# Code to be used in simple compile tests 12804lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' 12805 12806# Code to be used in simple link tests 12807lt_simple_link_test_code=$lt_simple_compile_test_code 12808 12809# ltmain only uses $CC for tagged configurations so make sure $CC is set. 12810 12811 12812 12813 12814 12815 12816# If no C compiler was specified, use CC. 12817LTCC=${LTCC-"$CC"} 12818 12819# If no C compiler flags were specified, use CFLAGS. 12820LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 12821 12822# Allow CC to be a program name with arguments. 12823compiler=$CC 12824 12825 12826# save warnings/boilerplate of simple test code 12827ac_outfile=conftest.$ac_objext 12828echo "$lt_simple_compile_test_code" >conftest.$ac_ext 12829eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12830_lt_compiler_boilerplate=`cat conftest.err` 12831$RM conftest* 12832 12833ac_outfile=conftest.$ac_objext 12834echo "$lt_simple_link_test_code" >conftest.$ac_ext 12835eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12836_lt_linker_boilerplate=`cat conftest.err` 12837$RM -r conftest* 12838 12839 12840# Allow CC to be a program name with arguments. 12841lt_save_CC=$CC 12842lt_save_CFLAGS=$CFLAGS 12843lt_save_GCC=$GCC 12844GCC= 12845CC=${RC-"windres"} 12846CFLAGS= 12847compiler=$CC 12848compiler_RC=$CC 12849func_cc_basename $compiler 12850cc_basename=$func_cc_basename_result 12851 12852lt_cv_prog_compiler_c_o_RC=yes 12853 12854if test -n "$compiler"; then 12855 : 12856 12857 12858 12859fi 12860 12861GCC=$lt_save_GCC 12862ac_ext=c 12863ac_cpp='$CPP $CPPFLAGS' 12864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12866ac_compiler_gnu=$ac_cv_c_compiler_gnu 12867 12868CC=$lt_save_CC 12869CFLAGS=$lt_save_CFLAGS 12870 12871 12872ac_ext=c 12873ac_cpp='$CPP $CPPFLAGS' 12874ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12875ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12876ac_compiler_gnu=$ac_cv_c_compiler_gnu 12877if test -n "$ac_tool_prefix"; then 12878 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 12879set dummy ${ac_tool_prefix}gcc; ac_word=$2 12880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12881$as_echo_n "checking for $ac_word... " >&6; } 12882if ${ac_cv_prog_CC+:} false; then : 12883 $as_echo_n "(cached) " >&6 12884else 12885 if test -n "$CC"; then 12886 ac_cv_prog_CC="$CC" # Let the user override the test. 12887else 12888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12889for as_dir in $PATH 12890do 12891 IFS=$as_save_IFS 12892 test -z "$as_dir" && as_dir=. 12893 for ac_exec_ext in '' $ac_executable_extensions; do 12894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12895 ac_cv_prog_CC="${ac_tool_prefix}gcc" 12896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12897 break 2 12898 fi 12899done 12900 done 12901IFS=$as_save_IFS 12902 12903fi 12904fi 12905CC=$ac_cv_prog_CC 12906if test -n "$CC"; then 12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12908$as_echo "$CC" >&6; } 12909else 12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12911$as_echo "no" >&6; } 12912fi 12913 12914 12915fi 12916if test -z "$ac_cv_prog_CC"; then 12917 ac_ct_CC=$CC 12918 # Extract the first word of "gcc", so it can be a program name with args. 12919set dummy gcc; ac_word=$2 12920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12921$as_echo_n "checking for $ac_word... " >&6; } 12922if ${ac_cv_prog_ac_ct_CC+:} false; then : 12923 $as_echo_n "(cached) " >&6 12924else 12925 if test -n "$ac_ct_CC"; then 12926 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12927else 12928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12929for as_dir in $PATH 12930do 12931 IFS=$as_save_IFS 12932 test -z "$as_dir" && as_dir=. 12933 for ac_exec_ext in '' $ac_executable_extensions; do 12934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12935 ac_cv_prog_ac_ct_CC="gcc" 12936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12937 break 2 12938 fi 12939done 12940 done 12941IFS=$as_save_IFS 12942 12943fi 12944fi 12945ac_ct_CC=$ac_cv_prog_ac_ct_CC 12946if test -n "$ac_ct_CC"; then 12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12948$as_echo "$ac_ct_CC" >&6; } 12949else 12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12951$as_echo "no" >&6; } 12952fi 12953 12954 if test "x$ac_ct_CC" = x; then 12955 CC="" 12956 else 12957 case $cross_compiling:$ac_tool_warned in 12958yes:) 12959{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12960$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12961ac_tool_warned=yes ;; 12962esac 12963 CC=$ac_ct_CC 12964 fi 12965else 12966 CC="$ac_cv_prog_CC" 12967fi 12968 12969if test -z "$CC"; then 12970 if test -n "$ac_tool_prefix"; then 12971 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 12972set dummy ${ac_tool_prefix}cc; ac_word=$2 12973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12974$as_echo_n "checking for $ac_word... " >&6; } 12975if ${ac_cv_prog_CC+:} false; then : 12976 $as_echo_n "(cached) " >&6 12977else 12978 if test -n "$CC"; then 12979 ac_cv_prog_CC="$CC" # Let the user override the test. 12980else 12981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12982for as_dir in $PATH 12983do 12984 IFS=$as_save_IFS 12985 test -z "$as_dir" && as_dir=. 12986 for ac_exec_ext in '' $ac_executable_extensions; do 12987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12988 ac_cv_prog_CC="${ac_tool_prefix}cc" 12989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12990 break 2 12991 fi 12992done 12993 done 12994IFS=$as_save_IFS 12995 12996fi 12997fi 12998CC=$ac_cv_prog_CC 12999if test -n "$CC"; then 13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13001$as_echo "$CC" >&6; } 13002else 13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13004$as_echo "no" >&6; } 13005fi 13006 13007 13008 fi 13009fi 13010if test -z "$CC"; then 13011 # Extract the first word of "cc", so it can be a program name with args. 13012set dummy cc; ac_word=$2 13013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13014$as_echo_n "checking for $ac_word... " >&6; } 13015if ${ac_cv_prog_CC+:} false; then : 13016 $as_echo_n "(cached) " >&6 13017else 13018 if test -n "$CC"; then 13019 ac_cv_prog_CC="$CC" # Let the user override the test. 13020else 13021 ac_prog_rejected=no 13022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13023for as_dir in $PATH 13024do 13025 IFS=$as_save_IFS 13026 test -z "$as_dir" && as_dir=. 13027 for ac_exec_ext in '' $ac_executable_extensions; do 13028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13029 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 13030 ac_prog_rejected=yes 13031 continue 13032 fi 13033 ac_cv_prog_CC="cc" 13034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13035 break 2 13036 fi 13037done 13038 done 13039IFS=$as_save_IFS 13040 13041if test $ac_prog_rejected = yes; then 13042 # We found a bogon in the path, so make sure we never use it. 13043 set dummy $ac_cv_prog_CC 13044 shift 13045 if test $# != 0; then 13046 # We chose a different compiler from the bogus one. 13047 # However, it has the same basename, so the bogon will be chosen 13048 # first if we set CC to just the basename; use the full file name. 13049 shift 13050 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 13051 fi 13052fi 13053fi 13054fi 13055CC=$ac_cv_prog_CC 13056if test -n "$CC"; then 13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13058$as_echo "$CC" >&6; } 13059else 13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13061$as_echo "no" >&6; } 13062fi 13063 13064 13065fi 13066if test -z "$CC"; then 13067 if test -n "$ac_tool_prefix"; then 13068 for ac_prog in cl.exe 13069 do 13070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13071set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13073$as_echo_n "checking for $ac_word... " >&6; } 13074if ${ac_cv_prog_CC+:} false; then : 13075 $as_echo_n "(cached) " >&6 13076else 13077 if test -n "$CC"; then 13078 ac_cv_prog_CC="$CC" # Let the user override the test. 13079else 13080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13081for as_dir in $PATH 13082do 13083 IFS=$as_save_IFS 13084 test -z "$as_dir" && as_dir=. 13085 for ac_exec_ext in '' $ac_executable_extensions; do 13086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13087 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 13088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13089 break 2 13090 fi 13091done 13092 done 13093IFS=$as_save_IFS 13094 13095fi 13096fi 13097CC=$ac_cv_prog_CC 13098if test -n "$CC"; then 13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13100$as_echo "$CC" >&6; } 13101else 13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13103$as_echo "no" >&6; } 13104fi 13105 13106 13107 test -n "$CC" && break 13108 done 13109fi 13110if test -z "$CC"; then 13111 ac_ct_CC=$CC 13112 for ac_prog in cl.exe 13113do 13114 # Extract the first word of "$ac_prog", so it can be a program name with args. 13115set dummy $ac_prog; ac_word=$2 13116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13117$as_echo_n "checking for $ac_word... " >&6; } 13118if ${ac_cv_prog_ac_ct_CC+:} false; then : 13119 $as_echo_n "(cached) " >&6 13120else 13121 if test -n "$ac_ct_CC"; then 13122 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 13123else 13124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13125for as_dir in $PATH 13126do 13127 IFS=$as_save_IFS 13128 test -z "$as_dir" && as_dir=. 13129 for ac_exec_ext in '' $ac_executable_extensions; do 13130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13131 ac_cv_prog_ac_ct_CC="$ac_prog" 13132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13133 break 2 13134 fi 13135done 13136 done 13137IFS=$as_save_IFS 13138 13139fi 13140fi 13141ac_ct_CC=$ac_cv_prog_ac_ct_CC 13142if test -n "$ac_ct_CC"; then 13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 13144$as_echo "$ac_ct_CC" >&6; } 13145else 13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13147$as_echo "no" >&6; } 13148fi 13149 13150 13151 test -n "$ac_ct_CC" && break 13152done 13153 13154 if test "x$ac_ct_CC" = x; then 13155 CC="" 13156 else 13157 case $cross_compiling:$ac_tool_warned in 13158yes:) 13159{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13160$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13161ac_tool_warned=yes ;; 13162esac 13163 CC=$ac_ct_CC 13164 fi 13165fi 13166 13167fi 13168 13169 13170test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13171$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13172as_fn_error $? "no acceptable C compiler found in \$PATH 13173See \`config.log' for more details" "$LINENO" 5; } 13174 13175# Provide some information about the compiler. 13176$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 13177set X $ac_compile 13178ac_compiler=$2 13179for ac_option in --version -v -V -qversion; do 13180 { { ac_try="$ac_compiler $ac_option >&5" 13181case "(($ac_try" in 13182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13183 *) ac_try_echo=$ac_try;; 13184esac 13185eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 13186$as_echo "$ac_try_echo"; } >&5 13187 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 13188 ac_status=$? 13189 if test -s conftest.err; then 13190 sed '10a\ 13191... rest of stderr output deleted ... 13192 10q' conftest.err >conftest.er1 13193 cat conftest.er1 >&5 13194 fi 13195 rm -f conftest.er1 conftest.err 13196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13197 test $ac_status = 0; } 13198done 13199 13200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 13201$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 13202if ${ac_cv_c_compiler_gnu+:} false; then : 13203 $as_echo_n "(cached) " >&6 13204else 13205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13206/* end confdefs.h. */ 13207 13208int 13209main () 13210{ 13211#ifndef __GNUC__ 13212 choke me 13213#endif 13214 13215 ; 13216 return 0; 13217} 13218_ACEOF 13219if ac_fn_c_try_compile "$LINENO"; then : 13220 ac_compiler_gnu=yes 13221else 13222 ac_compiler_gnu=no 13223fi 13224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13225ac_cv_c_compiler_gnu=$ac_compiler_gnu 13226 13227fi 13228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 13229$as_echo "$ac_cv_c_compiler_gnu" >&6; } 13230if test $ac_compiler_gnu = yes; then 13231 GCC=yes 13232else 13233 GCC= 13234fi 13235ac_test_CFLAGS=${CFLAGS+set} 13236ac_save_CFLAGS=$CFLAGS 13237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 13238$as_echo_n "checking whether $CC accepts -g... " >&6; } 13239if ${ac_cv_prog_cc_g+:} false; then : 13240 $as_echo_n "(cached) " >&6 13241else 13242 ac_save_c_werror_flag=$ac_c_werror_flag 13243 ac_c_werror_flag=yes 13244 ac_cv_prog_cc_g=no 13245 CFLAGS="-g" 13246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13247/* end confdefs.h. */ 13248 13249int 13250main () 13251{ 13252 13253 ; 13254 return 0; 13255} 13256_ACEOF 13257if ac_fn_c_try_compile "$LINENO"; then : 13258 ac_cv_prog_cc_g=yes 13259else 13260 CFLAGS="" 13261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13262/* end confdefs.h. */ 13263 13264int 13265main () 13266{ 13267 13268 ; 13269 return 0; 13270} 13271_ACEOF 13272if ac_fn_c_try_compile "$LINENO"; then : 13273 13274else 13275 ac_c_werror_flag=$ac_save_c_werror_flag 13276 CFLAGS="-g" 13277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13278/* end confdefs.h. */ 13279 13280int 13281main () 13282{ 13283 13284 ; 13285 return 0; 13286} 13287_ACEOF 13288if ac_fn_c_try_compile "$LINENO"; then : 13289 ac_cv_prog_cc_g=yes 13290fi 13291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13292fi 13293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13294fi 13295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13296 ac_c_werror_flag=$ac_save_c_werror_flag 13297fi 13298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 13299$as_echo "$ac_cv_prog_cc_g" >&6; } 13300if test "$ac_test_CFLAGS" = set; then 13301 CFLAGS=$ac_save_CFLAGS 13302elif test $ac_cv_prog_cc_g = yes; then 13303 if test "$GCC" = yes; then 13304 CFLAGS="-g -O2" 13305 else 13306 CFLAGS="-g" 13307 fi 13308else 13309 if test "$GCC" = yes; then 13310 CFLAGS="-O2" 13311 else 13312 CFLAGS= 13313 fi 13314fi 13315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 13316$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 13317if ${ac_cv_prog_cc_c89+:} false; then : 13318 $as_echo_n "(cached) " >&6 13319else 13320 ac_cv_prog_cc_c89=no 13321ac_save_CC=$CC 13322cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13323/* end confdefs.h. */ 13324#include <stdarg.h> 13325#include <stdio.h> 13326struct stat; 13327/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 13328struct buf { int x; }; 13329FILE * (*rcsopen) (struct buf *, struct stat *, int); 13330static char *e (p, i) 13331 char **p; 13332 int i; 13333{ 13334 return p[i]; 13335} 13336static char *f (char * (*g) (char **, int), char **p, ...) 13337{ 13338 char *s; 13339 va_list v; 13340 va_start (v,p); 13341 s = g (p, va_arg (v,int)); 13342 va_end (v); 13343 return s; 13344} 13345 13346/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 13347 function prototypes and stuff, but not '\xHH' hex character constants. 13348 These don't provoke an error unfortunately, instead are silently treated 13349 as 'x'. The following induces an error, until -std is added to get 13350 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 13351 array size at least. It's necessary to write '\x00'==0 to get something 13352 that's true only with -std. */ 13353int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 13354 13355/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 13356 inside strings and character constants. */ 13357#define FOO(x) 'x' 13358int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 13359 13360int test (int i, double x); 13361struct s1 {int (*f) (int a);}; 13362struct s2 {int (*f) (double a);}; 13363int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 13364int argc; 13365char **argv; 13366int 13367main () 13368{ 13369return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 13370 ; 13371 return 0; 13372} 13373_ACEOF 13374for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 13375 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 13376do 13377 CC="$ac_save_CC $ac_arg" 13378 if ac_fn_c_try_compile "$LINENO"; then : 13379 ac_cv_prog_cc_c89=$ac_arg 13380fi 13381rm -f core conftest.err conftest.$ac_objext 13382 test "x$ac_cv_prog_cc_c89" != "xno" && break 13383done 13384rm -f conftest.$ac_ext 13385CC=$ac_save_CC 13386 13387fi 13388# AC_CACHE_VAL 13389case "x$ac_cv_prog_cc_c89" in 13390 x) 13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13392$as_echo "none needed" >&6; } ;; 13393 xno) 13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13395$as_echo "unsupported" >&6; } ;; 13396 *) 13397 CC="$CC $ac_cv_prog_cc_c89" 13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 13399$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 13400esac 13401if test "x$ac_cv_prog_cc_c89" != xno; then : 13402 13403fi 13404 13405ac_ext=c 13406ac_cpp='$CPP $CPPFLAGS' 13407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13409ac_compiler_gnu=$ac_cv_c_compiler_gnu 13410 13411ac_ext=c 13412ac_cpp='$CPP $CPPFLAGS' 13413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13415ac_compiler_gnu=$ac_cv_c_compiler_gnu 13416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 13417$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 13418if ${am_cv_prog_cc_c_o+:} false; then : 13419 $as_echo_n "(cached) " >&6 13420else 13421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13422/* end confdefs.h. */ 13423 13424int 13425main () 13426{ 13427 13428 ; 13429 return 0; 13430} 13431_ACEOF 13432 # Make sure it works both with $CC and with simple cc. 13433 # Following AC_PROG_CC_C_O, we do the test twice because some 13434 # compilers refuse to overwrite an existing .o file with -o, 13435 # though they will create one. 13436 am_cv_prog_cc_c_o=yes 13437 for am_i in 1 2; do 13438 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 13439 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 13440 ac_status=$? 13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13442 (exit $ac_status); } \ 13443 && test -f conftest2.$ac_objext; then 13444 : OK 13445 else 13446 am_cv_prog_cc_c_o=no 13447 break 13448 fi 13449 done 13450 rm -f core conftest* 13451 unset am_i 13452fi 13453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 13454$as_echo "$am_cv_prog_cc_c_o" >&6; } 13455if test "$am_cv_prog_cc_c_o" != yes; then 13456 # Losing compiler, so override with the script. 13457 # FIXME: It is wrong to rewrite CC. 13458 # But if we don't then we get into trouble of one sort or another. 13459 # A longer-term fix would be to have automake use am__CC in this case, 13460 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 13461 CC="$am_aux_dir/compile $CC" 13462fi 13463ac_ext=c 13464ac_cpp='$CPP $CPPFLAGS' 13465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13467ac_compiler_gnu=$ac_cv_c_compiler_gnu 13468 13469 13470depcc="$CC" am_compiler_list= 13471 13472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 13473$as_echo_n "checking dependency style of $depcc... " >&6; } 13474if ${am_cv_CC_dependencies_compiler_type+:} false; then : 13475 $as_echo_n "(cached) " >&6 13476else 13477 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 13478 # We make a subdir and do the tests there. Otherwise we can end up 13479 # making bogus files that we don't know about and never remove. For 13480 # instance it was reported that on HP-UX the gcc test will end up 13481 # making a dummy file named 'D' -- because '-MD' means "put the output 13482 # in D". 13483 rm -rf conftest.dir 13484 mkdir conftest.dir 13485 # Copy depcomp to subdir because otherwise we won't find it if we're 13486 # using a relative directory. 13487 cp "$am_depcomp" conftest.dir 13488 cd conftest.dir 13489 # We will build objects and dependencies in a subdirectory because 13490 # it helps to detect inapplicable dependency modes. For instance 13491 # both Tru64's cc and ICC support -MD to output dependencies as a 13492 # side effect of compilation, but ICC will put the dependencies in 13493 # the current directory while Tru64 will put them in the object 13494 # directory. 13495 mkdir sub 13496 13497 am_cv_CC_dependencies_compiler_type=none 13498 if test "$am_compiler_list" = ""; then 13499 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 13500 fi 13501 am__universal=false 13502 case " $depcc " in #( 13503 *\ -arch\ *\ -arch\ *) am__universal=true ;; 13504 esac 13505 13506 for depmode in $am_compiler_list; do 13507 # Setup a source with many dependencies, because some compilers 13508 # like to wrap large dependency lists on column 80 (with \), and 13509 # we should not choose a depcomp mode which is confused by this. 13510 # 13511 # We need to recreate these files for each test, as the compiler may 13512 # overwrite some of them when testing with obscure command lines. 13513 # This happens at least with the AIX C compiler. 13514 : > sub/conftest.c 13515 for i in 1 2 3 4 5 6; do 13516 echo '#include "conftst'$i'.h"' >> sub/conftest.c 13517 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 13518 # Solaris 10 /bin/sh. 13519 echo '/* dummy */' > sub/conftst$i.h 13520 done 13521 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 13522 13523 # We check with '-c' and '-o' for the sake of the "dashmstdout" 13524 # mode. It turns out that the SunPro C++ compiler does not properly 13525 # handle '-M -o', and we need to detect this. Also, some Intel 13526 # versions had trouble with output in subdirs. 13527 am__obj=sub/conftest.${OBJEXT-o} 13528 am__minus_obj="-o $am__obj" 13529 case $depmode in 13530 gcc) 13531 # This depmode causes a compiler race in universal mode. 13532 test "$am__universal" = false || continue 13533 ;; 13534 nosideeffect) 13535 # After this tag, mechanisms are not by side-effect, so they'll 13536 # only be used when explicitly requested. 13537 if test "x$enable_dependency_tracking" = xyes; then 13538 continue 13539 else 13540 break 13541 fi 13542 ;; 13543 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 13544 # This compiler won't grok '-c -o', but also, the minuso test has 13545 # not run yet. These depmodes are late enough in the game, and 13546 # so weak that their functioning should not be impacted. 13547 am__obj=conftest.${OBJEXT-o} 13548 am__minus_obj= 13549 ;; 13550 none) break ;; 13551 esac 13552 if depmode=$depmode \ 13553 source=sub/conftest.c object=$am__obj \ 13554 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 13555 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 13556 >/dev/null 2>conftest.err && 13557 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 13558 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 13559 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 13560 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 13561 # icc doesn't choke on unknown options, it will just issue warnings 13562 # or remarks (even with -Werror). So we grep stderr for any message 13563 # that says an option was ignored or not supported. 13564 # When given -MP, icc 7.0 and 7.1 complain thusly: 13565 # icc: Command line warning: ignoring option '-M'; no argument required 13566 # The diagnosis changed in icc 8.0: 13567 # icc: Command line remark: option '-MP' not supported 13568 if (grep 'ignoring option' conftest.err || 13569 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 13570 am_cv_CC_dependencies_compiler_type=$depmode 13571 break 13572 fi 13573 fi 13574 done 13575 13576 cd .. 13577 rm -rf conftest.dir 13578else 13579 am_cv_CC_dependencies_compiler_type=none 13580fi 13581 13582fi 13583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 13584$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 13585CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 13586 13587 if 13588 test "x$enable_dependency_tracking" != xno \ 13589 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 13590 am__fastdepCC_TRUE= 13591 am__fastdepCC_FALSE='#' 13592else 13593 am__fastdepCC_TRUE='#' 13594 am__fastdepCC_FALSE= 13595fi 13596 13597 13598 13599 13600 13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 13602$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 13603if ${ac_cv_c_bigendian+:} false; then : 13604 $as_echo_n "(cached) " >&6 13605else 13606 ac_cv_c_bigendian=unknown 13607 # See if we're dealing with a universal compiler. 13608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13609/* end confdefs.h. */ 13610#ifndef __APPLE_CC__ 13611 not a universal capable compiler 13612 #endif 13613 typedef int dummy; 13614 13615_ACEOF 13616if ac_fn_c_try_compile "$LINENO"; then : 13617 13618 # Check for potential -arch flags. It is not universal unless 13619 # there are at least two -arch flags with different values. 13620 ac_arch= 13621 ac_prev= 13622 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 13623 if test -n "$ac_prev"; then 13624 case $ac_word in 13625 i?86 | x86_64 | ppc | ppc64) 13626 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 13627 ac_arch=$ac_word 13628 else 13629 ac_cv_c_bigendian=universal 13630 break 13631 fi 13632 ;; 13633 esac 13634 ac_prev= 13635 elif test "x$ac_word" = "x-arch"; then 13636 ac_prev=arch 13637 fi 13638 done 13639fi 13640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13641 if test $ac_cv_c_bigendian = unknown; then 13642 # See if sys/param.h defines the BYTE_ORDER macro. 13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13644/* end confdefs.h. */ 13645#include <sys/types.h> 13646 #include <sys/param.h> 13647 13648int 13649main () 13650{ 13651#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 13652 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 13653 && LITTLE_ENDIAN) 13654 bogus endian macros 13655 #endif 13656 13657 ; 13658 return 0; 13659} 13660_ACEOF 13661if ac_fn_c_try_compile "$LINENO"; then : 13662 # It does; now see whether it defined to BIG_ENDIAN or not. 13663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13664/* end confdefs.h. */ 13665#include <sys/types.h> 13666 #include <sys/param.h> 13667 13668int 13669main () 13670{ 13671#if BYTE_ORDER != BIG_ENDIAN 13672 not big endian 13673 #endif 13674 13675 ; 13676 return 0; 13677} 13678_ACEOF 13679if ac_fn_c_try_compile "$LINENO"; then : 13680 ac_cv_c_bigendian=yes 13681else 13682 ac_cv_c_bigendian=no 13683fi 13684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13685fi 13686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13687 fi 13688 if test $ac_cv_c_bigendian = unknown; then 13689 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13691/* end confdefs.h. */ 13692#include <limits.h> 13693 13694int 13695main () 13696{ 13697#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 13698 bogus endian macros 13699 #endif 13700 13701 ; 13702 return 0; 13703} 13704_ACEOF 13705if ac_fn_c_try_compile "$LINENO"; then : 13706 # It does; now see whether it defined to _BIG_ENDIAN or not. 13707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13708/* end confdefs.h. */ 13709#include <limits.h> 13710 13711int 13712main () 13713{ 13714#ifndef _BIG_ENDIAN 13715 not big endian 13716 #endif 13717 13718 ; 13719 return 0; 13720} 13721_ACEOF 13722if ac_fn_c_try_compile "$LINENO"; then : 13723 ac_cv_c_bigendian=yes 13724else 13725 ac_cv_c_bigendian=no 13726fi 13727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13728fi 13729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13730 fi 13731 if test $ac_cv_c_bigendian = unknown; then 13732 # Compile a test program. 13733 if test "$cross_compiling" = yes; then : 13734 # Try to guess by grepping values from an object file. 13735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13736/* end confdefs.h. */ 13737short int ascii_mm[] = 13738 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 13739 short int ascii_ii[] = 13740 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 13741 int use_ascii (int i) { 13742 return ascii_mm[i] + ascii_ii[i]; 13743 } 13744 short int ebcdic_ii[] = 13745 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 13746 short int ebcdic_mm[] = 13747 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 13748 int use_ebcdic (int i) { 13749 return ebcdic_mm[i] + ebcdic_ii[i]; 13750 } 13751 extern int foo; 13752 13753int 13754main () 13755{ 13756return use_ascii (foo) == use_ebcdic (foo); 13757 ; 13758 return 0; 13759} 13760_ACEOF 13761if ac_fn_c_try_compile "$LINENO"; then : 13762 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 13763 ac_cv_c_bigendian=yes 13764 fi 13765 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 13766 if test "$ac_cv_c_bigendian" = unknown; then 13767 ac_cv_c_bigendian=no 13768 else 13769 # finding both strings is unlikely to happen, but who knows? 13770 ac_cv_c_bigendian=unknown 13771 fi 13772 fi 13773fi 13774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13775else 13776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13777/* end confdefs.h. */ 13778$ac_includes_default 13779int 13780main () 13781{ 13782 13783 /* Are we little or big endian? From Harbison&Steele. */ 13784 union 13785 { 13786 long int l; 13787 char c[sizeof (long int)]; 13788 } u; 13789 u.l = 1; 13790 return u.c[sizeof (long int) - 1] == 1; 13791 13792 ; 13793 return 0; 13794} 13795_ACEOF 13796if ac_fn_c_try_run "$LINENO"; then : 13797 ac_cv_c_bigendian=no 13798else 13799 ac_cv_c_bigendian=yes 13800fi 13801rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13802 conftest.$ac_objext conftest.beam conftest.$ac_ext 13803fi 13804 13805 fi 13806fi 13807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 13808$as_echo "$ac_cv_c_bigendian" >&6; } 13809 case $ac_cv_c_bigendian in #( 13810 yes) 13811 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 13812;; #( 13813 no) 13814 ;; #( 13815 universal) 13816 13817$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 13818 13819 ;; #( 13820 *) 13821 as_fn_error $? "unknown endianness 13822 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 13823 esac 13824 13825# The cast to long int works around a bug in the HP C Compiler 13826# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13827# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13828# This bug is HP SR number 8606223364. 13829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 13830$as_echo_n "checking size of long... " >&6; } 13831if ${ac_cv_sizeof_long+:} false; then : 13832 $as_echo_n "(cached) " >&6 13833else 13834 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 13835 13836else 13837 if test "$ac_cv_type_long" = yes; then 13838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13839$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13840as_fn_error 77 "cannot compute sizeof (long) 13841See \`config.log' for more details" "$LINENO" 5; } 13842 else 13843 ac_cv_sizeof_long=0 13844 fi 13845fi 13846 13847fi 13848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 13849$as_echo "$ac_cv_sizeof_long" >&6; } 13850 13851 13852 13853cat >>confdefs.h <<_ACEOF 13854#define SIZEOF_LONG $ac_cv_sizeof_long 13855_ACEOF 13856 13857 13858 13859if test "$cross_compiling" = "yes" && test "$os" = "win32"; then 13860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: detected cross compilation: disabling tests!!!" >&5 13861$as_echo "$as_me: WARNING: detected cross compilation: disabling tests!!!" >&2;} 13862 #AC_SUBST([TESTS_ENVIRONMENT], [wine]) doesn't work for libtool builds 13863 tests_enabled=no 13864else 13865 tests_enabled=yes 13866fi 13867 if test x${tests_enabled} = xyes; then 13868 RUN_TESTS_TRUE= 13869 RUN_TESTS_FALSE='#' 13870else 13871 RUN_TESTS_TRUE='#' 13872 RUN_TESTS_FALSE= 13873fi 13874 13875 13876if test "$GCC" = yes; then 13877 WARN_CFLAGS="-Wall" 13878fi 13879 13880# Check whether --enable-silent-rules was given. 13881if test "${enable_silent_rules+set}" = set; then : 13882 enableval=$enable_silent_rules; 13883fi 13884 13885case $enable_silent_rules in # ((( 13886 yes) AM_DEFAULT_VERBOSITY=0;; 13887 no) AM_DEFAULT_VERBOSITY=1;; 13888 *) AM_DEFAULT_VERBOSITY=0;; 13889esac 13890am_make=${MAKE-make} 13891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 13892$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 13893if ${am_cv_make_support_nested_variables+:} false; then : 13894 $as_echo_n "(cached) " >&6 13895else 13896 if $as_echo 'TRUE=$(BAR$(V)) 13897BAR0=false 13898BAR1=true 13899V=1 13900am__doit: 13901 @$(TRUE) 13902.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 13903 am_cv_make_support_nested_variables=yes 13904else 13905 am_cv_make_support_nested_variables=no 13906fi 13907fi 13908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 13909$as_echo "$am_cv_make_support_nested_variables" >&6; } 13910if test $am_cv_make_support_nested_variables = yes; then 13911 AM_V='$(V)' 13912 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 13913else 13914 AM_V=$AM_DEFAULT_VERBOSITY 13915 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 13916fi 13917AM_BACKSLASH='\' 13918 13919 13920# for libmusicbrainz5 example: 13921#AC_SEARCH_LIBS([mb5_query_query], [musicbrainz5], [have_mb5=yes], [have_mb5=no]) 13922ac_fn_c_check_header_mongrel "$LINENO" "musicbrainz5/mb5_c.h" "ac_cv_header_musicbrainz5_mb5_c_h" "$ac_includes_default" 13923if test "x$ac_cv_header_musicbrainz5_mb5_c_h" = xyes; then : 13924 have_mb5=yes 13925fi 13926 13927 13928 if test x${have_mb5} = xyes; then 13929 HAVE_MUSICBRAINZ5_TRUE= 13930 HAVE_MUSICBRAINZ5_FALSE='#' 13931else 13932 HAVE_MUSICBRAINZ5_TRUE='#' 13933 HAVE_MUSICBRAINZ5_FALSE= 13934fi 13935 13936 13937ac_config_files="$ac_config_files Makefile libdiscid.pc versioninfo.rc Doxyfile include/discid/discid.h" 13938 13939cat >confcache <<\_ACEOF 13940# This file is a shell script that caches the results of configure 13941# tests run on this system so they can be shared between configure 13942# scripts and configure runs, see configure's option --config-cache. 13943# It is not useful on other systems. If it contains results you don't 13944# want to keep, you may remove or edit it. 13945# 13946# config.status only pays attention to the cache file if you give it 13947# the --recheck option to rerun configure. 13948# 13949# `ac_cv_env_foo' variables (set or unset) will be overridden when 13950# loading this file, other *unset* `ac_cv_foo' will be assigned the 13951# following values. 13952 13953_ACEOF 13954 13955# The following way of writing the cache mishandles newlines in values, 13956# but we know of no workaround that is simple, portable, and efficient. 13957# So, we kill variables containing newlines. 13958# Ultrix sh set writes to stderr and can't be redirected directly, 13959# and sets the high bit in the cache file unless we assign to the vars. 13960( 13961 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13962 eval ac_val=\$$ac_var 13963 case $ac_val in #( 13964 *${as_nl}*) 13965 case $ac_var in #( 13966 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13967$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13968 esac 13969 case $ac_var in #( 13970 _ | IFS | as_nl) ;; #( 13971 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13972 *) { eval $ac_var=; unset $ac_var;} ;; 13973 esac ;; 13974 esac 13975 done 13976 13977 (set) 2>&1 | 13978 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13979 *${as_nl}ac_space=\ *) 13980 # `set' does not quote correctly, so add quotes: double-quote 13981 # substitution turns \\\\ into \\, and sed turns \\ into \. 13982 sed -n \ 13983 "s/'/'\\\\''/g; 13984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13985 ;; #( 13986 *) 13987 # `set' quotes correctly as required by POSIX, so do not add quotes. 13988 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13989 ;; 13990 esac | 13991 sort 13992) | 13993 sed ' 13994 /^ac_cv_env_/b end 13995 t clear 13996 :clear 13997 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13998 t end 13999 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 14000 :end' >>confcache 14001if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 14002 if test -w "$cache_file"; then 14003 if test "x$cache_file" != "x/dev/null"; then 14004 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 14005$as_echo "$as_me: updating cache $cache_file" >&6;} 14006 if test ! -f "$cache_file" || test -h "$cache_file"; then 14007 cat confcache >"$cache_file" 14008 else 14009 case $cache_file in #( 14010 */* | ?:*) 14011 mv -f confcache "$cache_file"$$ && 14012 mv -f "$cache_file"$$ "$cache_file" ;; #( 14013 *) 14014 mv -f confcache "$cache_file" ;; 14015 esac 14016 fi 14017 fi 14018 else 14019 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 14020$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 14021 fi 14022fi 14023rm -f confcache 14024 14025test "x$prefix" = xNONE && prefix=$ac_default_prefix 14026# Let make expand exec_prefix. 14027test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 14028 14029DEFS=-DHAVE_CONFIG_H 14030 14031ac_libobjs= 14032ac_ltlibobjs= 14033U= 14034for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 14035 # 1. Remove the extension, and $U if already installed. 14036 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14037 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14038 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14039 # will be set to the directory where LIBOBJS objects are built. 14040 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 14041 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 14042done 14043LIBOBJS=$ac_libobjs 14044 14045LTLIBOBJS=$ac_ltlibobjs 14046 14047 14048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 14049$as_echo_n "checking that generated files are newer than configure... " >&6; } 14050 if test -n "$am_sleep_pid"; then 14051 # Hide warnings about reused PIDs. 14052 wait $am_sleep_pid 2>/dev/null 14053 fi 14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 14055$as_echo "done" >&6; } 14056 if test -n "$EXEEXT"; then 14057 am__EXEEXT_TRUE= 14058 am__EXEEXT_FALSE='#' 14059else 14060 am__EXEEXT_TRUE='#' 14061 am__EXEEXT_FALSE= 14062fi 14063 14064if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 14065 as_fn_error $? "conditional \"AMDEP\" was never defined. 14066Usually this means the macro was only invoked conditionally." "$LINENO" 5 14067fi 14068if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14069 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 14070Usually this means the macro was only invoked conditionally." "$LINENO" 5 14071fi 14072if test -z "${OS_DARWIN_TRUE}" && test -z "${OS_DARWIN_FALSE}"; then 14073 as_fn_error $? "conditional \"OS_DARWIN\" was never defined. 14074Usually this means the macro was only invoked conditionally." "$LINENO" 5 14075fi 14076if test -z "${OS_FREEBSD_TRUE}" && test -z "${OS_FREEBSD_FALSE}"; then 14077 as_fn_error $? "conditional \"OS_FREEBSD\" was never defined. 14078Usually this means the macro was only invoked conditionally." "$LINENO" 5 14079fi 14080if test -z "${OS_GENERIC_TRUE}" && test -z "${OS_GENERIC_FALSE}"; then 14081 as_fn_error $? "conditional \"OS_GENERIC\" was never defined. 14082Usually this means the macro was only invoked conditionally." "$LINENO" 5 14083fi 14084if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then 14085 as_fn_error $? "conditional \"OS_LINUX\" was never defined. 14086Usually this means the macro was only invoked conditionally." "$LINENO" 5 14087fi 14088if test -z "${OS_NETBSD_TRUE}" && test -z "${OS_NETBSD_FALSE}"; then 14089 as_fn_error $? "conditional \"OS_NETBSD\" was never defined. 14090Usually this means the macro was only invoked conditionally." "$LINENO" 5 14091fi 14092if test -z "${OS_SOLARIS_TRUE}" && test -z "${OS_SOLARIS_FALSE}"; then 14093 as_fn_error $? "conditional \"OS_SOLARIS\" was never defined. 14094Usually this means the macro was only invoked conditionally." "$LINENO" 5 14095fi 14096if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then 14097 as_fn_error $? "conditional \"OS_WIN32\" was never defined. 14098Usually this means the macro was only invoked conditionally." "$LINENO" 5 14099fi 14100if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14101 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 14102Usually this means the macro was only invoked conditionally." "$LINENO" 5 14103fi 14104 14105if test -z "${RUN_TESTS_TRUE}" && test -z "${RUN_TESTS_FALSE}"; then 14106 as_fn_error $? "conditional \"RUN_TESTS\" was never defined. 14107Usually this means the macro was only invoked conditionally." "$LINENO" 5 14108fi 14109if test -z "${HAVE_MUSICBRAINZ5_TRUE}" && test -z "${HAVE_MUSICBRAINZ5_FALSE}"; then 14110 as_fn_error $? "conditional \"HAVE_MUSICBRAINZ5\" was never defined. 14111Usually this means the macro was only invoked conditionally." "$LINENO" 5 14112fi 14113 14114: "${CONFIG_STATUS=./config.status}" 14115ac_write_fail=0 14116ac_clean_files_save=$ac_clean_files 14117ac_clean_files="$ac_clean_files $CONFIG_STATUS" 14118{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 14119$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 14120as_write_fail=0 14121cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 14122#! $SHELL 14123# Generated by $as_me. 14124# Run this file to recreate the current configuration. 14125# Compiler output produced by configure, useful for debugging 14126# configure, is in config.log if it exists. 14127 14128debug=false 14129ac_cs_recheck=false 14130ac_cs_silent=false 14131 14132SHELL=\${CONFIG_SHELL-$SHELL} 14133export SHELL 14134_ASEOF 14135cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 14136## -------------------- ## 14137## M4sh Initialization. ## 14138## -------------------- ## 14139 14140# Be more Bourne compatible 14141DUALCASE=1; export DUALCASE # for MKS sh 14142if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14143 emulate sh 14144 NULLCMD=: 14145 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 14146 # is contrary to our usage. Disable this feature. 14147 alias -g '${1+"$@"}'='"$@"' 14148 setopt NO_GLOB_SUBST 14149else 14150 case `(set -o) 2>/dev/null` in #( 14151 *posix*) : 14152 set -o posix ;; #( 14153 *) : 14154 ;; 14155esac 14156fi 14157 14158 14159as_nl=' 14160' 14161export as_nl 14162# Printing a long string crashes Solaris 7 /usr/bin/printf. 14163as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 14164as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 14165as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 14166# Prefer a ksh shell builtin over an external printf program on Solaris, 14167# but without wasting forks for bash or zsh. 14168if test -z "$BASH_VERSION$ZSH_VERSION" \ 14169 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 14170 as_echo='print -r --' 14171 as_echo_n='print -rn --' 14172elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 14173 as_echo='printf %s\n' 14174 as_echo_n='printf %s' 14175else 14176 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 14177 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 14178 as_echo_n='/usr/ucb/echo -n' 14179 else 14180 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 14181 as_echo_n_body='eval 14182 arg=$1; 14183 case $arg in #( 14184 *"$as_nl"*) 14185 expr "X$arg" : "X\\(.*\\)$as_nl"; 14186 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 14187 esac; 14188 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 14189 ' 14190 export as_echo_n_body 14191 as_echo_n='sh -c $as_echo_n_body as_echo' 14192 fi 14193 export as_echo_body 14194 as_echo='sh -c $as_echo_body as_echo' 14195fi 14196 14197# The user is always right. 14198if test "${PATH_SEPARATOR+set}" != set; then 14199 PATH_SEPARATOR=: 14200 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 14201 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 14202 PATH_SEPARATOR=';' 14203 } 14204fi 14205 14206 14207# IFS 14208# We need space, tab and new line, in precisely that order. Quoting is 14209# there to prevent editors from complaining about space-tab. 14210# (If _AS_PATH_WALK were called with IFS unset, it would disable word 14211# splitting by setting IFS to empty value.) 14212IFS=" "" $as_nl" 14213 14214# Find who we are. Look in the path if we contain no directory separator. 14215as_myself= 14216case $0 in #(( 14217 *[\\/]* ) as_myself=$0 ;; 14218 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14219for as_dir in $PATH 14220do 14221 IFS=$as_save_IFS 14222 test -z "$as_dir" && as_dir=. 14223 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 14224 done 14225IFS=$as_save_IFS 14226 14227 ;; 14228esac 14229# We did not find ourselves, most probably we were run as `sh COMMAND' 14230# in which case we are not to be found in the path. 14231if test "x$as_myself" = x; then 14232 as_myself=$0 14233fi 14234if test ! -f "$as_myself"; then 14235 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14236 exit 1 14237fi 14238 14239# Unset variables that we do not need and which cause bugs (e.g. in 14240# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 14241# suppresses any "Segmentation fault" message there. '((' could 14242# trigger a bug in pdksh 5.2.14. 14243for as_var in BASH_ENV ENV MAIL MAILPATH 14244do eval test x\${$as_var+set} = xset \ 14245 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 14246done 14247PS1='$ ' 14248PS2='> ' 14249PS4='+ ' 14250 14251# NLS nuisances. 14252LC_ALL=C 14253export LC_ALL 14254LANGUAGE=C 14255export LANGUAGE 14256 14257# CDPATH. 14258(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14259 14260 14261# as_fn_error STATUS ERROR [LINENO LOG_FD] 14262# ---------------------------------------- 14263# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 14264# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 14265# script with STATUS, using 1 if that was 0. 14266as_fn_error () 14267{ 14268 as_status=$1; test $as_status -eq 0 && as_status=1 14269 if test "$4"; then 14270 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14271 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 14272 fi 14273 $as_echo "$as_me: error: $2" >&2 14274 as_fn_exit $as_status 14275} # as_fn_error 14276 14277 14278# as_fn_set_status STATUS 14279# ----------------------- 14280# Set $? to STATUS, without forking. 14281as_fn_set_status () 14282{ 14283 return $1 14284} # as_fn_set_status 14285 14286# as_fn_exit STATUS 14287# ----------------- 14288# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 14289as_fn_exit () 14290{ 14291 set +e 14292 as_fn_set_status $1 14293 exit $1 14294} # as_fn_exit 14295 14296# as_fn_unset VAR 14297# --------------- 14298# Portably unset VAR. 14299as_fn_unset () 14300{ 14301 { eval $1=; unset $1;} 14302} 14303as_unset=as_fn_unset 14304# as_fn_append VAR VALUE 14305# ---------------------- 14306# Append the text in VALUE to the end of the definition contained in VAR. Take 14307# advantage of any shell optimizations that allow amortized linear growth over 14308# repeated appends, instead of the typical quadratic growth present in naive 14309# implementations. 14310if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 14311 eval 'as_fn_append () 14312 { 14313 eval $1+=\$2 14314 }' 14315else 14316 as_fn_append () 14317 { 14318 eval $1=\$$1\$2 14319 } 14320fi # as_fn_append 14321 14322# as_fn_arith ARG... 14323# ------------------ 14324# Perform arithmetic evaluation on the ARGs, and store the result in the 14325# global $as_val. Take advantage of shells that can avoid forks. The arguments 14326# must be portable across $(()) and expr. 14327if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 14328 eval 'as_fn_arith () 14329 { 14330 as_val=$(( $* )) 14331 }' 14332else 14333 as_fn_arith () 14334 { 14335 as_val=`expr "$@" || test $? -eq 1` 14336 } 14337fi # as_fn_arith 14338 14339 14340if expr a : '\(a\)' >/dev/null 2>&1 && 14341 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14342 as_expr=expr 14343else 14344 as_expr=false 14345fi 14346 14347if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14348 as_basename=basename 14349else 14350 as_basename=false 14351fi 14352 14353if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14354 as_dirname=dirname 14355else 14356 as_dirname=false 14357fi 14358 14359as_me=`$as_basename -- "$0" || 14360$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14361 X"$0" : 'X\(//\)$' \| \ 14362 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14363$as_echo X/"$0" | 14364 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14365 s//\1/ 14366 q 14367 } 14368 /^X\/\(\/\/\)$/{ 14369 s//\1/ 14370 q 14371 } 14372 /^X\/\(\/\).*/{ 14373 s//\1/ 14374 q 14375 } 14376 s/.*/./; q'` 14377 14378# Avoid depending upon Character Ranges. 14379as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14380as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14381as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14382as_cr_digits='0123456789' 14383as_cr_alnum=$as_cr_Letters$as_cr_digits 14384 14385ECHO_C= ECHO_N= ECHO_T= 14386case `echo -n x` in #((((( 14387-n*) 14388 case `echo 'xy\c'` in 14389 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14390 xy) ECHO_C='\c';; 14391 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14392 ECHO_T=' ';; 14393 esac;; 14394*) 14395 ECHO_N='-n';; 14396esac 14397 14398rm -f conf$$ conf$$.exe conf$$.file 14399if test -d conf$$.dir; then 14400 rm -f conf$$.dir/conf$$.file 14401else 14402 rm -f conf$$.dir 14403 mkdir conf$$.dir 2>/dev/null 14404fi 14405if (echo >conf$$.file) 2>/dev/null; then 14406 if ln -s conf$$.file conf$$ 2>/dev/null; then 14407 as_ln_s='ln -s' 14408 # ... but there are two gotchas: 14409 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14410 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14411 # In both cases, we have to default to `cp -pR'. 14412 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14413 as_ln_s='cp -pR' 14414 elif ln conf$$.file conf$$ 2>/dev/null; then 14415 as_ln_s=ln 14416 else 14417 as_ln_s='cp -pR' 14418 fi 14419else 14420 as_ln_s='cp -pR' 14421fi 14422rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14423rmdir conf$$.dir 2>/dev/null 14424 14425 14426# as_fn_mkdir_p 14427# ------------- 14428# Create "$as_dir" as a directory, including parents if necessary. 14429as_fn_mkdir_p () 14430{ 14431 14432 case $as_dir in #( 14433 -*) as_dir=./$as_dir;; 14434 esac 14435 test -d "$as_dir" || eval $as_mkdir_p || { 14436 as_dirs= 14437 while :; do 14438 case $as_dir in #( 14439 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14440 *) as_qdir=$as_dir;; 14441 esac 14442 as_dirs="'$as_qdir' $as_dirs" 14443 as_dir=`$as_dirname -- "$as_dir" || 14444$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14445 X"$as_dir" : 'X\(//\)[^/]' \| \ 14446 X"$as_dir" : 'X\(//\)$' \| \ 14447 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14448$as_echo X"$as_dir" | 14449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14450 s//\1/ 14451 q 14452 } 14453 /^X\(\/\/\)[^/].*/{ 14454 s//\1/ 14455 q 14456 } 14457 /^X\(\/\/\)$/{ 14458 s//\1/ 14459 q 14460 } 14461 /^X\(\/\).*/{ 14462 s//\1/ 14463 q 14464 } 14465 s/.*/./; q'` 14466 test -d "$as_dir" && break 14467 done 14468 test -z "$as_dirs" || eval "mkdir $as_dirs" 14469 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14470 14471 14472} # as_fn_mkdir_p 14473if mkdir -p . 2>/dev/null; then 14474 as_mkdir_p='mkdir -p "$as_dir"' 14475else 14476 test -d ./-p && rmdir ./-p 14477 as_mkdir_p=false 14478fi 14479 14480 14481# as_fn_executable_p FILE 14482# ----------------------- 14483# Test if FILE is an executable regular file. 14484as_fn_executable_p () 14485{ 14486 test -f "$1" && test -x "$1" 14487} # as_fn_executable_p 14488as_test_x='test -x' 14489as_executable_p=as_fn_executable_p 14490 14491# Sed expression to map a string onto a valid CPP name. 14492as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14493 14494# Sed expression to map a string onto a valid variable name. 14495as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14496 14497 14498exec 6>&1 14499## ----------------------------------- ## 14500## Main body of $CONFIG_STATUS script. ## 14501## ----------------------------------- ## 14502_ASEOF 14503test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14504 14505cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14506# Save the log message, to keep $0 and so on meaningful, and to 14507# report actual input values of CONFIG_FILES etc. instead of their 14508# values after options handling. 14509ac_log=" 14510This file was extended by libdiscid $as_me 0.6.2, which was 14511generated by GNU Autoconf 2.69. Invocation command line was 14512 14513 CONFIG_FILES = $CONFIG_FILES 14514 CONFIG_HEADERS = $CONFIG_HEADERS 14515 CONFIG_LINKS = $CONFIG_LINKS 14516 CONFIG_COMMANDS = $CONFIG_COMMANDS 14517 $ $0 $@ 14518 14519on `(hostname || uname -n) 2>/dev/null | sed 1q` 14520" 14521 14522_ACEOF 14523 14524case $ac_config_files in *" 14525"*) set x $ac_config_files; shift; ac_config_files=$*;; 14526esac 14527 14528case $ac_config_headers in *" 14529"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14530esac 14531 14532 14533cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14534# Files that config.status was made for. 14535config_files="$ac_config_files" 14536config_headers="$ac_config_headers" 14537config_commands="$ac_config_commands" 14538 14539_ACEOF 14540 14541cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14542ac_cs_usage="\ 14543\`$as_me' instantiates files and other configuration actions 14544from templates according to the current configuration. Unless the files 14545and actions are specified as TAGs, all are instantiated by default. 14546 14547Usage: $0 [OPTION]... [TAG]... 14548 14549 -h, --help print this help, then exit 14550 -V, --version print version number and configuration settings, then exit 14551 --config print configuration, then exit 14552 -q, --quiet, --silent 14553 do not print progress messages 14554 -d, --debug don't remove temporary files 14555 --recheck update $as_me by reconfiguring in the same conditions 14556 --file=FILE[:TEMPLATE] 14557 instantiate the configuration file FILE 14558 --header=FILE[:TEMPLATE] 14559 instantiate the configuration header FILE 14560 14561Configuration files: 14562$config_files 14563 14564Configuration headers: 14565$config_headers 14566 14567Configuration commands: 14568$config_commands 14569 14570Report bugs to the package provider." 14571 14572_ACEOF 14573cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14574ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14575ac_cs_version="\\ 14576libdiscid config.status 0.6.2 14577configured by $0, generated by GNU Autoconf 2.69, 14578 with options \\"\$ac_cs_config\\" 14579 14580Copyright (C) 2012 Free Software Foundation, Inc. 14581This config.status script is free software; the Free Software Foundation 14582gives unlimited permission to copy, distribute and modify it." 14583 14584ac_pwd='$ac_pwd' 14585srcdir='$srcdir' 14586INSTALL='$INSTALL' 14587MKDIR_P='$MKDIR_P' 14588AWK='$AWK' 14589test -n "\$AWK" || AWK=awk 14590_ACEOF 14591 14592cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14593# The default lists apply if the user does not specify any file. 14594ac_need_defaults=: 14595while test $# != 0 14596do 14597 case $1 in 14598 --*=?*) 14599 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14600 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14601 ac_shift=: 14602 ;; 14603 --*=) 14604 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14605 ac_optarg= 14606 ac_shift=: 14607 ;; 14608 *) 14609 ac_option=$1 14610 ac_optarg=$2 14611 ac_shift=shift 14612 ;; 14613 esac 14614 14615 case $ac_option in 14616 # Handling of the options. 14617 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14618 ac_cs_recheck=: ;; 14619 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14620 $as_echo "$ac_cs_version"; exit ;; 14621 --config | --confi | --conf | --con | --co | --c ) 14622 $as_echo "$ac_cs_config"; exit ;; 14623 --debug | --debu | --deb | --de | --d | -d ) 14624 debug=: ;; 14625 --file | --fil | --fi | --f ) 14626 $ac_shift 14627 case $ac_optarg in 14628 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14629 '') as_fn_error $? "missing file argument" ;; 14630 esac 14631 as_fn_append CONFIG_FILES " '$ac_optarg'" 14632 ac_need_defaults=false;; 14633 --header | --heade | --head | --hea ) 14634 $ac_shift 14635 case $ac_optarg in 14636 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14637 esac 14638 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14639 ac_need_defaults=false;; 14640 --he | --h) 14641 # Conflict between --help and --header 14642 as_fn_error $? "ambiguous option: \`$1' 14643Try \`$0 --help' for more information.";; 14644 --help | --hel | -h ) 14645 $as_echo "$ac_cs_usage"; exit ;; 14646 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14647 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14648 ac_cs_silent=: ;; 14649 14650 # This is an error. 14651 -*) as_fn_error $? "unrecognized option: \`$1' 14652Try \`$0 --help' for more information." ;; 14653 14654 *) as_fn_append ac_config_targets " $1" 14655 ac_need_defaults=false ;; 14656 14657 esac 14658 shift 14659done 14660 14661ac_configure_extra_args= 14662 14663if $ac_cs_silent; then 14664 exec 6>/dev/null 14665 ac_configure_extra_args="$ac_configure_extra_args --silent" 14666fi 14667 14668_ACEOF 14669cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14670if \$ac_cs_recheck; then 14671 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14672 shift 14673 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14674 CONFIG_SHELL='$SHELL' 14675 export CONFIG_SHELL 14676 exec "\$@" 14677fi 14678 14679_ACEOF 14680cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14681exec 5>>config.log 14682{ 14683 echo 14684 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14685## Running $as_me. ## 14686_ASBOX 14687 $as_echo "$ac_log" 14688} >&5 14689 14690_ACEOF 14691cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14692# 14693# INIT-COMMANDS 14694# 14695AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14696 14697 14698# The HP-UX ksh and POSIX shell print the target directory to stdout 14699# if CDPATH is set. 14700(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14701 14702sed_quote_subst='$sed_quote_subst' 14703double_quote_subst='$double_quote_subst' 14704delay_variable_subst='$delay_variable_subst' 14705macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14706macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14707AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 14708DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14709OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14710enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14711enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14712pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14713enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14714shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 14715SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14716ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14717PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14718host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14719host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14720host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14721build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14722build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14723build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14724SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14725Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14726GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14727EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14728FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14729LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14730NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14731LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14732max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14733ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14734exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14735lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14736lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14737lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14738lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14739lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14740reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14741reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14742deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14743file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14744file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14745want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14746sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14747AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14748AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14749archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14750STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14751RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14752old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14753old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14754old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14755lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14756CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14757CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14758compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14759GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14760lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14761lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14762lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 14763lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14764lt_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"`' 14765lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 14766nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14767lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14768lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 14769objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14770MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14771lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14772lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14773lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14774lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14775lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14776need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14777MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14778DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14779NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14780LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14781OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14782OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14783libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14784shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14785extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14786archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14787enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14788export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14789whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14790compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14791old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14792old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14793archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14794archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14795module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14796module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14797with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14798allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14799no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14800hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14801hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14802hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14803hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14804hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14805hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14806hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14807inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14808link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14809always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14810export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14811exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14812include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14813prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14814postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14815file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14816variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14817need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14818need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14819version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14820runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14821shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14822shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14823libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14824library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14825soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14826install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14827postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14828postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14829finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14830finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14831hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14832sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14833configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 14834configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 14835hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14836enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14837enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14838enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14839old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14840striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14841LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`' 14842reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`' 14843reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`' 14844old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`' 14845compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`' 14846GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`' 14847lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`' 14848lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`' 14849lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`' 14850lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`' 14851lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`' 14852archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`' 14853enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`' 14854export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`' 14855whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`' 14856compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`' 14857old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`' 14858old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`' 14859archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`' 14860archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`' 14861module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`' 14862module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`' 14863with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`' 14864allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`' 14865no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`' 14866hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`' 14867hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`' 14868hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`' 14869hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`' 14870hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`' 14871hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`' 14872hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`' 14873inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`' 14874link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`' 14875always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`' 14876export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`' 14877exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`' 14878include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`' 14879prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`' 14880postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`' 14881file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`' 14882hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`' 14883 14884LTCC='$LTCC' 14885LTCFLAGS='$LTCFLAGS' 14886compiler='$compiler_DEFAULT' 14887 14888# A function that is used when there is no print builtin or printf. 14889func_fallback_echo () 14890{ 14891 eval 'cat <<_LTECHO_EOF 14892\$1 14893_LTECHO_EOF' 14894} 14895 14896# Quote evaled strings. 14897for var in AS \ 14898DLLTOOL \ 14899OBJDUMP \ 14900SHELL \ 14901ECHO \ 14902PATH_SEPARATOR \ 14903SED \ 14904GREP \ 14905EGREP \ 14906FGREP \ 14907LD \ 14908NM \ 14909LN_S \ 14910lt_SP2NL \ 14911lt_NL2SP \ 14912reload_flag \ 14913deplibs_check_method \ 14914file_magic_cmd \ 14915file_magic_glob \ 14916want_nocaseglob \ 14917sharedlib_from_linklib_cmd \ 14918AR \ 14919AR_FLAGS \ 14920archiver_list_spec \ 14921STRIP \ 14922RANLIB \ 14923CC \ 14924CFLAGS \ 14925compiler \ 14926lt_cv_sys_global_symbol_pipe \ 14927lt_cv_sys_global_symbol_to_cdecl \ 14928lt_cv_sys_global_symbol_to_import \ 14929lt_cv_sys_global_symbol_to_c_name_address \ 14930lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14931lt_cv_nm_interface \ 14932nm_file_list_spec \ 14933lt_cv_truncate_bin \ 14934lt_prog_compiler_no_builtin_flag \ 14935lt_prog_compiler_pic \ 14936lt_prog_compiler_wl \ 14937lt_prog_compiler_static \ 14938lt_cv_prog_compiler_c_o \ 14939need_locks \ 14940MANIFEST_TOOL \ 14941DSYMUTIL \ 14942NMEDIT \ 14943LIPO \ 14944OTOOL \ 14945OTOOL64 \ 14946shrext_cmds \ 14947export_dynamic_flag_spec \ 14948whole_archive_flag_spec \ 14949compiler_needs_object \ 14950with_gnu_ld \ 14951allow_undefined_flag \ 14952no_undefined_flag \ 14953hardcode_libdir_flag_spec \ 14954hardcode_libdir_separator \ 14955exclude_expsyms \ 14956include_expsyms \ 14957file_list_spec \ 14958variables_saved_for_relink \ 14959libname_spec \ 14960library_names_spec \ 14961soname_spec \ 14962install_override_mode \ 14963finish_eval \ 14964old_striplib \ 14965striplib \ 14966LD_RC \ 14967reload_flag_RC \ 14968compiler_RC \ 14969lt_prog_compiler_no_builtin_flag_RC \ 14970lt_prog_compiler_pic_RC \ 14971lt_prog_compiler_wl_RC \ 14972lt_prog_compiler_static_RC \ 14973lt_cv_prog_compiler_c_o_RC \ 14974export_dynamic_flag_spec_RC \ 14975whole_archive_flag_spec_RC \ 14976compiler_needs_object_RC \ 14977with_gnu_ld_RC \ 14978allow_undefined_flag_RC \ 14979no_undefined_flag_RC \ 14980hardcode_libdir_flag_spec_RC \ 14981hardcode_libdir_separator_RC \ 14982exclude_expsyms_RC \ 14983include_expsyms_RC \ 14984file_list_spec_RC; do 14985 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14986 *[\\\\\\\`\\"\\\$]*) 14987 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14988 ;; 14989 *) 14990 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14991 ;; 14992 esac 14993done 14994 14995# Double-quote double-evaled strings. 14996for var in reload_cmds \ 14997old_postinstall_cmds \ 14998old_postuninstall_cmds \ 14999old_archive_cmds \ 15000extract_expsyms_cmds \ 15001old_archive_from_new_cmds \ 15002old_archive_from_expsyms_cmds \ 15003archive_cmds \ 15004archive_expsym_cmds \ 15005module_cmds \ 15006module_expsym_cmds \ 15007export_symbols_cmds \ 15008prelink_cmds \ 15009postlink_cmds \ 15010postinstall_cmds \ 15011postuninstall_cmds \ 15012finish_cmds \ 15013sys_lib_search_path_spec \ 15014configure_time_dlsearch_path \ 15015configure_time_lt_sys_library_path \ 15016reload_cmds_RC \ 15017old_archive_cmds_RC \ 15018old_archive_from_new_cmds_RC \ 15019old_archive_from_expsyms_cmds_RC \ 15020archive_cmds_RC \ 15021archive_expsym_cmds_RC \ 15022module_cmds_RC \ 15023module_expsym_cmds_RC \ 15024export_symbols_cmds_RC \ 15025prelink_cmds_RC \ 15026postlink_cmds_RC; do 15027 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15028 *[\\\\\\\`\\"\\\$]*) 15029 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 15030 ;; 15031 *) 15032 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15033 ;; 15034 esac 15035done 15036 15037ac_aux_dir='$ac_aux_dir' 15038 15039# See if we are running on zsh, and set the options that allow our 15040# commands through without removal of \ escapes INIT. 15041if test -n "\${ZSH_VERSION+set}"; then 15042 setopt NO_GLOB_SUBST 15043fi 15044 15045 15046 PACKAGE='$PACKAGE' 15047 VERSION='$VERSION' 15048 RM='$RM' 15049 ofile='$ofile' 15050 15051 15052 15053 15054 15055 15056_ACEOF 15057 15058cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15059 15060# Handling of arguments. 15061for ac_config_target in $ac_config_targets 15062do 15063 case $ac_config_target in 15064 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 15065 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 15066 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 15067 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 15068 "libdiscid.pc") CONFIG_FILES="$CONFIG_FILES libdiscid.pc" ;; 15069 "versioninfo.rc") CONFIG_FILES="$CONFIG_FILES versioninfo.rc" ;; 15070 "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; 15071 "include/discid/discid.h") CONFIG_FILES="$CONFIG_FILES include/discid/discid.h" ;; 15072 15073 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15074 esac 15075done 15076 15077 15078# If the user did not use the arguments to specify the items to instantiate, 15079# then the envvar interface is used. Set only those that are not. 15080# We use the long form for the default assignment because of an extremely 15081# bizarre bug on SunOS 4.1.3. 15082if $ac_need_defaults; then 15083 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 15084 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 15085 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 15086fi 15087 15088# Have a temporary directory for convenience. Make it in the build tree 15089# simply because there is no reason against having it here, and in addition, 15090# creating and moving files from /tmp can sometimes cause problems. 15091# Hook for its removal unless debugging. 15092# Note that there is a small window in which the directory will not be cleaned: 15093# after its creation but before its name has been assigned to `$tmp'. 15094$debug || 15095{ 15096 tmp= ac_tmp= 15097 trap 'exit_status=$? 15098 : "${ac_tmp:=$tmp}" 15099 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 15100' 0 15101 trap 'as_fn_exit 1' 1 2 13 15 15102} 15103# Create a (secure) tmp directory for tmp files. 15104 15105{ 15106 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15107 test -d "$tmp" 15108} || 15109{ 15110 tmp=./conf$$-$RANDOM 15111 (umask 077 && mkdir "$tmp") 15112} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15113ac_tmp=$tmp 15114 15115# Set up the scripts for CONFIG_FILES section. 15116# No need to generate them if there are no CONFIG_FILES. 15117# This happens for instance with `./config.status config.h'. 15118if test -n "$CONFIG_FILES"; then 15119 15120 15121ac_cr=`echo X | tr X '\015'` 15122# On cygwin, bash can eat \r inside `` if the user requested igncr. 15123# But we know of no other shell where ac_cr would be empty at this 15124# point, so we can use a bashism as a fallback. 15125if test "x$ac_cr" = x; then 15126 eval ac_cr=\$\'\\r\' 15127fi 15128ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15129if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15130 ac_cs_awk_cr='\\r' 15131else 15132 ac_cs_awk_cr=$ac_cr 15133fi 15134 15135echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 15136_ACEOF 15137 15138 15139{ 15140 echo "cat >conf$$subs.awk <<_ACEOF" && 15141 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15142 echo "_ACEOF" 15143} >conf$$subs.sh || 15144 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15145ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 15146ac_delim='%!_!# ' 15147for ac_last_try in false false false false false :; do 15148 . ./conf$$subs.sh || 15149 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15150 15151 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15152 if test $ac_delim_n = $ac_delim_num; then 15153 break 15154 elif $ac_last_try; then 15155 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15156 else 15157 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15158 fi 15159done 15160rm -f conf$$subs.sh 15161 15162cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15163cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 15164_ACEOF 15165sed -n ' 15166h 15167s/^/S["/; s/!.*/"]=/ 15168p 15169g 15170s/^[^!]*!// 15171:repl 15172t repl 15173s/'"$ac_delim"'$// 15174t delim 15175:nl 15176h 15177s/\(.\{148\}\)..*/\1/ 15178t more1 15179s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 15180p 15181n 15182b repl 15183:more1 15184s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15185p 15186g 15187s/.\{148\}// 15188t nl 15189:delim 15190h 15191s/\(.\{148\}\)..*/\1/ 15192t more2 15193s/["\\]/\\&/g; s/^/"/; s/$/"/ 15194p 15195b 15196:more2 15197s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15198p 15199g 15200s/.\{148\}// 15201t delim 15202' <conf$$subs.awk | sed ' 15203/^[^""]/{ 15204 N 15205 s/\n// 15206} 15207' >>$CONFIG_STATUS || ac_write_fail=1 15208rm -f conf$$subs.awk 15209cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15210_ACAWK 15211cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 15212 for (key in S) S_is_set[key] = 1 15213 FS = "" 15214 15215} 15216{ 15217 line = $ 0 15218 nfields = split(line, field, "@") 15219 substed = 0 15220 len = length(field[1]) 15221 for (i = 2; i < nfields; i++) { 15222 key = field[i] 15223 keylen = length(key) 15224 if (S_is_set[key]) { 15225 value = S[key] 15226 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 15227 len += length(value) + length(field[++i]) 15228 substed = 1 15229 } else 15230 len += 1 + keylen 15231 } 15232 15233 print line 15234} 15235 15236_ACAWK 15237_ACEOF 15238cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15239if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15240 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15241else 15242 cat 15243fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 15244 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 15245_ACEOF 15246 15247# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 15248# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 15249# trailing colons and then remove the whole line if VPATH becomes empty 15250# (actually we leave an empty line to preserve line numbers). 15251if test "x$srcdir" = x.; then 15252 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 15253h 15254s/// 15255s/^/:/ 15256s/[ ]*$/:/ 15257s/:\$(srcdir):/:/g 15258s/:\${srcdir}:/:/g 15259s/:@srcdir@:/:/g 15260s/^:*// 15261s/:*$// 15262x 15263s/\(=[ ]*\).*/\1/ 15264G 15265s/\n// 15266s/^[^=]*=[ ]*$// 15267}' 15268fi 15269 15270cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15271fi # test -n "$CONFIG_FILES" 15272 15273# Set up the scripts for CONFIG_HEADERS section. 15274# No need to generate them if there are no CONFIG_HEADERS. 15275# This happens for instance with `./config.status Makefile'. 15276if test -n "$CONFIG_HEADERS"; then 15277cat >"$ac_tmp/defines.awk" <<\_ACAWK || 15278BEGIN { 15279_ACEOF 15280 15281# Transform confdefs.h into an awk script `defines.awk', embedded as 15282# here-document in config.status, that substitutes the proper values into 15283# config.h.in to produce config.h. 15284 15285# Create a delimiter string that does not exist in confdefs.h, to ease 15286# handling of long lines. 15287ac_delim='%!_!# ' 15288for ac_last_try in false false :; do 15289 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 15290 if test -z "$ac_tt"; then 15291 break 15292 elif $ac_last_try; then 15293 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 15294 else 15295 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15296 fi 15297done 15298 15299# For the awk script, D is an array of macro values keyed by name, 15300# likewise P contains macro parameters if any. Preserve backslash 15301# newline sequences. 15302 15303ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 15304sed -n ' 15305s/.\{148\}/&'"$ac_delim"'/g 15306t rset 15307:rset 15308s/^[ ]*#[ ]*define[ ][ ]*/ / 15309t def 15310d 15311:def 15312s/\\$// 15313t bsnl 15314s/["\\]/\\&/g 15315s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15316D["\1"]=" \3"/p 15317s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 15318d 15319:bsnl 15320s/["\\]/\\&/g 15321s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15322D["\1"]=" \3\\\\\\n"\\/p 15323t cont 15324s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 15325t cont 15326d 15327:cont 15328n 15329s/.\{148\}/&'"$ac_delim"'/g 15330t clear 15331:clear 15332s/\\$// 15333t bsnlc 15334s/["\\]/\\&/g; s/^/"/; s/$/"/p 15335d 15336:bsnlc 15337s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 15338b cont 15339' <confdefs.h | sed ' 15340s/'"$ac_delim"'/"\\\ 15341"/g' >>$CONFIG_STATUS || ac_write_fail=1 15342 15343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15344 for (key in D) D_is_set[key] = 1 15345 FS = "" 15346} 15347/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 15348 line = \$ 0 15349 split(line, arg, " ") 15350 if (arg[1] == "#") { 15351 defundef = arg[2] 15352 mac1 = arg[3] 15353 } else { 15354 defundef = substr(arg[1], 2) 15355 mac1 = arg[2] 15356 } 15357 split(mac1, mac2, "(") #) 15358 macro = mac2[1] 15359 prefix = substr(line, 1, index(line, defundef) - 1) 15360 if (D_is_set[macro]) { 15361 # Preserve the white space surrounding the "#". 15362 print prefix "define", macro P[macro] D[macro] 15363 next 15364 } else { 15365 # Replace #undef with comments. This is necessary, for example, 15366 # in the case of _POSIX_SOURCE, which is predefined and required 15367 # on some systems where configure will not decide to define it. 15368 if (defundef == "undef") { 15369 print "/*", prefix defundef, macro, "*/" 15370 next 15371 } 15372 } 15373} 15374{ print } 15375_ACAWK 15376_ACEOF 15377cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15378 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 15379fi # test -n "$CONFIG_HEADERS" 15380 15381 15382eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 15383shift 15384for ac_tag 15385do 15386 case $ac_tag in 15387 :[FHLC]) ac_mode=$ac_tag; continue;; 15388 esac 15389 case $ac_mode$ac_tag in 15390 :[FHL]*:*);; 15391 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 15392 :[FH]-) ac_tag=-:-;; 15393 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15394 esac 15395 ac_save_IFS=$IFS 15396 IFS=: 15397 set x $ac_tag 15398 IFS=$ac_save_IFS 15399 shift 15400 ac_file=$1 15401 shift 15402 15403 case $ac_mode in 15404 :L) ac_source=$1;; 15405 :[FH]) 15406 ac_file_inputs= 15407 for ac_f 15408 do 15409 case $ac_f in 15410 -) ac_f="$ac_tmp/stdin";; 15411 *) # Look for the file first in the build tree, then in the source tree 15412 # (if the path is not absolute). The absolute path cannot be DOS-style, 15413 # because $ac_f cannot contain `:'. 15414 test -f "$ac_f" || 15415 case $ac_f in 15416 [\\/$]*) false;; 15417 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15418 esac || 15419 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 15420 esac 15421 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15422 as_fn_append ac_file_inputs " '$ac_f'" 15423 done 15424 15425 # Let's still pretend it is `configure' which instantiates (i.e., don't 15426 # use $as_me), people would be surprised to read: 15427 # /* config.h. Generated by config.status. */ 15428 configure_input='Generated from '` 15429 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 15430 `' by configure.' 15431 if test x"$ac_file" != x-; then 15432 configure_input="$ac_file. $configure_input" 15433 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 15434$as_echo "$as_me: creating $ac_file" >&6;} 15435 fi 15436 # Neutralize special characters interpreted by sed in replacement strings. 15437 case $configure_input in #( 15438 *\&* | *\|* | *\\* ) 15439 ac_sed_conf_input=`$as_echo "$configure_input" | 15440 sed 's/[\\\\&|]/\\\\&/g'`;; #( 15441 *) ac_sed_conf_input=$configure_input;; 15442 esac 15443 15444 case $ac_tag in 15445 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 15446 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 15447 esac 15448 ;; 15449 esac 15450 15451 ac_dir=`$as_dirname -- "$ac_file" || 15452$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15453 X"$ac_file" : 'X\(//\)[^/]' \| \ 15454 X"$ac_file" : 'X\(//\)$' \| \ 15455 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 15456$as_echo X"$ac_file" | 15457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15458 s//\1/ 15459 q 15460 } 15461 /^X\(\/\/\)[^/].*/{ 15462 s//\1/ 15463 q 15464 } 15465 /^X\(\/\/\)$/{ 15466 s//\1/ 15467 q 15468 } 15469 /^X\(\/\).*/{ 15470 s//\1/ 15471 q 15472 } 15473 s/.*/./; q'` 15474 as_dir="$ac_dir"; as_fn_mkdir_p 15475 ac_builddir=. 15476 15477case "$ac_dir" in 15478.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15479*) 15480 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 15481 # A ".." for each directory in $ac_dir_suffix. 15482 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15483 case $ac_top_builddir_sub in 15484 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 15485 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 15486 esac ;; 15487esac 15488ac_abs_top_builddir=$ac_pwd 15489ac_abs_builddir=$ac_pwd$ac_dir_suffix 15490# for backward compatibility: 15491ac_top_builddir=$ac_top_build_prefix 15492 15493case $srcdir in 15494 .) # We are building in place. 15495 ac_srcdir=. 15496 ac_top_srcdir=$ac_top_builddir_sub 15497 ac_abs_top_srcdir=$ac_pwd ;; 15498 [\\/]* | ?:[\\/]* ) # Absolute name. 15499 ac_srcdir=$srcdir$ac_dir_suffix; 15500 ac_top_srcdir=$srcdir 15501 ac_abs_top_srcdir=$srcdir ;; 15502 *) # Relative name. 15503 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 15504 ac_top_srcdir=$ac_top_build_prefix$srcdir 15505 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15506esac 15507ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 15508 15509 15510 case $ac_mode in 15511 :F) 15512 # 15513 # CONFIG_FILE 15514 # 15515 15516 case $INSTALL in 15517 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 15518 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 15519 esac 15520 ac_MKDIR_P=$MKDIR_P 15521 case $MKDIR_P in 15522 [\\/$]* | ?:[\\/]* ) ;; 15523 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 15524 esac 15525_ACEOF 15526 15527cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15528# If the template does not know about datarootdir, expand it. 15529# FIXME: This hack should be removed a few years after 2.60. 15530ac_datarootdir_hack=; ac_datarootdir_seen= 15531ac_sed_dataroot=' 15532/datarootdir/ { 15533 p 15534 q 15535} 15536/@datadir@/p 15537/@docdir@/p 15538/@infodir@/p 15539/@localedir@/p 15540/@mandir@/p' 15541case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 15542*datarootdir*) ac_datarootdir_seen=yes;; 15543*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15545$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15546_ACEOF 15547cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15548 ac_datarootdir_hack=' 15549 s&@datadir@&$datadir&g 15550 s&@docdir@&$docdir&g 15551 s&@infodir@&$infodir&g 15552 s&@localedir@&$localedir&g 15553 s&@mandir@&$mandir&g 15554 s&\\\${datarootdir}&$datarootdir&g' ;; 15555esac 15556_ACEOF 15557 15558# Neutralize VPATH when `$srcdir' = `.'. 15559# Shell code in configure.ac might set extrasub. 15560# FIXME: do we really want to maintain this feature? 15561cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15562ac_sed_extra="$ac_vpsub 15563$extrasub 15564_ACEOF 15565cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15566:t 15567/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 15568s|@configure_input@|$ac_sed_conf_input|;t t 15569s&@top_builddir@&$ac_top_builddir_sub&;t t 15570s&@top_build_prefix@&$ac_top_build_prefix&;t t 15571s&@srcdir@&$ac_srcdir&;t t 15572s&@abs_srcdir@&$ac_abs_srcdir&;t t 15573s&@top_srcdir@&$ac_top_srcdir&;t t 15574s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 15575s&@builddir@&$ac_builddir&;t t 15576s&@abs_builddir@&$ac_abs_builddir&;t t 15577s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 15578s&@INSTALL@&$ac_INSTALL&;t t 15579s&@MKDIR_P@&$ac_MKDIR_P&;t t 15580$ac_datarootdir_hack 15581" 15582eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 15583 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15584 15585test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15586 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 15587 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 15588 "$ac_tmp/out"`; test -z "$ac_out"; } && 15589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15590which seems to be undefined. Please make sure it is defined" >&5 15591$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15592which seems to be undefined. Please make sure it is defined" >&2;} 15593 15594 rm -f "$ac_tmp/stdin" 15595 case $ac_file in 15596 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 15597 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 15598 esac \ 15599 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15600 ;; 15601 :H) 15602 # 15603 # CONFIG_HEADER 15604 # 15605 if test x"$ac_file" != x-; then 15606 { 15607 $as_echo "/* $configure_input */" \ 15608 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 15609 } >"$ac_tmp/config.h" \ 15610 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15611 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 15612 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 15613$as_echo "$as_me: $ac_file is unchanged" >&6;} 15614 else 15615 rm -f "$ac_file" 15616 mv "$ac_tmp/config.h" "$ac_file" \ 15617 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15618 fi 15619 else 15620 $as_echo "/* $configure_input */" \ 15621 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 15622 || as_fn_error $? "could not create -" "$LINENO" 5 15623 fi 15624# Compute "$ac_file"'s index in $config_headers. 15625_am_arg="$ac_file" 15626_am_stamp_count=1 15627for _am_header in $config_headers :; do 15628 case $_am_header in 15629 $_am_arg | $_am_arg:* ) 15630 break ;; 15631 * ) 15632 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 15633 esac 15634done 15635echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 15636$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15637 X"$_am_arg" : 'X\(//\)[^/]' \| \ 15638 X"$_am_arg" : 'X\(//\)$' \| \ 15639 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 15640$as_echo X"$_am_arg" | 15641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15642 s//\1/ 15643 q 15644 } 15645 /^X\(\/\/\)[^/].*/{ 15646 s//\1/ 15647 q 15648 } 15649 /^X\(\/\/\)$/{ 15650 s//\1/ 15651 q 15652 } 15653 /^X\(\/\).*/{ 15654 s//\1/ 15655 q 15656 } 15657 s/.*/./; q'`/stamp-h$_am_stamp_count 15658 ;; 15659 15660 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 15661$as_echo "$as_me: executing $ac_file commands" >&6;} 15662 ;; 15663 esac 15664 15665 15666 case $ac_file$ac_mode in 15667 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 15668 # Older Autoconf quotes --file arguments for eval, but not when files 15669 # are listed without --file. Let's play safe and only enable the eval 15670 # if we detect the quoting. 15671 case $CONFIG_FILES in 15672 *\'*) eval set x "$CONFIG_FILES" ;; 15673 *) set x $CONFIG_FILES ;; 15674 esac 15675 shift 15676 for mf 15677 do 15678 # Strip MF so we end up with the name of the file. 15679 mf=`echo "$mf" | sed -e 's/:.*$//'` 15680 # Check whether this is an Automake generated Makefile or not. 15681 # We used to match only the files named 'Makefile.in', but 15682 # some people rename them; so instead we look at the file content. 15683 # Grep'ing the first line is not enough: some people post-process 15684 # each Makefile.in and add a new line on top of each file to say so. 15685 # Grep'ing the whole file is not good either: AIX grep has a line 15686 # limit of 2048, but all sed's we know have understand at least 4000. 15687 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 15688 dirpart=`$as_dirname -- "$mf" || 15689$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15690 X"$mf" : 'X\(//\)[^/]' \| \ 15691 X"$mf" : 'X\(//\)$' \| \ 15692 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 15693$as_echo X"$mf" | 15694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15695 s//\1/ 15696 q 15697 } 15698 /^X\(\/\/\)[^/].*/{ 15699 s//\1/ 15700 q 15701 } 15702 /^X\(\/\/\)$/{ 15703 s//\1/ 15704 q 15705 } 15706 /^X\(\/\).*/{ 15707 s//\1/ 15708 q 15709 } 15710 s/.*/./; q'` 15711 else 15712 continue 15713 fi 15714 # Extract the definition of DEPDIR, am__include, and am__quote 15715 # from the Makefile without running 'make'. 15716 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15717 test -z "$DEPDIR" && continue 15718 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15719 test -z "$am__include" && continue 15720 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15721 # Find all dependency output files, they are included files with 15722 # $(DEPDIR) in their names. We invoke sed twice because it is the 15723 # simplest approach to changing $(DEPDIR) to its actual value in the 15724 # expansion. 15725 for file in `sed -n " 15726 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15727 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 15728 # Make sure the directory exists. 15729 test -f "$dirpart/$file" && continue 15730 fdir=`$as_dirname -- "$file" || 15731$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15732 X"$file" : 'X\(//\)[^/]' \| \ 15733 X"$file" : 'X\(//\)$' \| \ 15734 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15735$as_echo X"$file" | 15736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15737 s//\1/ 15738 q 15739 } 15740 /^X\(\/\/\)[^/].*/{ 15741 s//\1/ 15742 q 15743 } 15744 /^X\(\/\/\)$/{ 15745 s//\1/ 15746 q 15747 } 15748 /^X\(\/\).*/{ 15749 s//\1/ 15750 q 15751 } 15752 s/.*/./; q'` 15753 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15754 # echo "creating $dirpart/$file" 15755 echo '# dummy' > "$dirpart/$file" 15756 done 15757 done 15758} 15759 ;; 15760 "libtool":C) 15761 15762 # See if we are running on zsh, and set the options that allow our 15763 # commands through without removal of \ escapes. 15764 if test -n "${ZSH_VERSION+set}"; then 15765 setopt NO_GLOB_SUBST 15766 fi 15767 15768 cfgfile=${ofile}T 15769 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15770 $RM "$cfgfile" 15771 15772 cat <<_LT_EOF >> "$cfgfile" 15773#! $SHELL 15774# Generated automatically by $as_me ($PACKAGE) $VERSION 15775# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15776# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15777 15778# Provide generalized library-building support services. 15779# Written by Gordon Matzigkeit, 1996 15780 15781# Copyright (C) 2014 Free Software Foundation, Inc. 15782# This is free software; see the source for copying conditions. There is NO 15783# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15784 15785# GNU Libtool is free software; you can redistribute it and/or modify 15786# it under the terms of the GNU General Public License as published by 15787# the Free Software Foundation; either version 2 of of the License, or 15788# (at your option) any later version. 15789# 15790# As a special exception to the GNU General Public License, if you 15791# distribute this file as part of a program or library that is built 15792# using GNU Libtool, you may include this file under the same 15793# distribution terms that you use for the rest of that program. 15794# 15795# GNU Libtool is distributed in the hope that it will be useful, but 15796# WITHOUT ANY WARRANTY; without even the implied warranty of 15797# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15798# GNU General Public License for more details. 15799# 15800# You should have received a copy of the GNU General Public License 15801# along with this program. If not, see <http://www.gnu.org/licenses/>. 15802 15803 15804# The names of the tagged configurations supported by this script. 15805available_tags='RC ' 15806 15807# Configured defaults for sys_lib_dlsearch_path munging. 15808: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 15809 15810# ### BEGIN LIBTOOL CONFIG 15811 15812# Which release of libtool.m4 was used? 15813macro_version=$macro_version 15814macro_revision=$macro_revision 15815 15816# Assembler program. 15817AS=$lt_AS 15818 15819# DLL creation program. 15820DLLTOOL=$lt_DLLTOOL 15821 15822# Object dumper program. 15823OBJDUMP=$lt_OBJDUMP 15824 15825# Whether or not to build shared libraries. 15826build_libtool_libs=$enable_shared 15827 15828# Whether or not to build static libraries. 15829build_old_libs=$enable_static 15830 15831# What type of objects to build. 15832pic_mode=$pic_mode 15833 15834# Whether or not to optimize for fast installation. 15835fast_install=$enable_fast_install 15836 15837# Shared archive member basename,for filename based shared library versioning on AIX. 15838shared_archive_member_spec=$shared_archive_member_spec 15839 15840# Shell to use when invoking shell scripts. 15841SHELL=$lt_SHELL 15842 15843# An echo program that protects backslashes. 15844ECHO=$lt_ECHO 15845 15846# The PATH separator for the build system. 15847PATH_SEPARATOR=$lt_PATH_SEPARATOR 15848 15849# The host system. 15850host_alias=$host_alias 15851host=$host 15852host_os=$host_os 15853 15854# The build system. 15855build_alias=$build_alias 15856build=$build 15857build_os=$build_os 15858 15859# A sed program that does not truncate output. 15860SED=$lt_SED 15861 15862# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15863Xsed="\$SED -e 1s/^X//" 15864 15865# A grep program that handles long lines. 15866GREP=$lt_GREP 15867 15868# An ERE matcher. 15869EGREP=$lt_EGREP 15870 15871# A literal string matcher. 15872FGREP=$lt_FGREP 15873 15874# A BSD- or MS-compatible name lister. 15875NM=$lt_NM 15876 15877# Whether we need soft or hard links. 15878LN_S=$lt_LN_S 15879 15880# What is the maximum length of a command? 15881max_cmd_len=$max_cmd_len 15882 15883# Object file suffix (normally "o"). 15884objext=$ac_objext 15885 15886# Executable file suffix (normally ""). 15887exeext=$exeext 15888 15889# whether the shell understands "unset". 15890lt_unset=$lt_unset 15891 15892# turn spaces into newlines. 15893SP2NL=$lt_lt_SP2NL 15894 15895# turn newlines into spaces. 15896NL2SP=$lt_lt_NL2SP 15897 15898# convert \$build file names to \$host format. 15899to_host_file_cmd=$lt_cv_to_host_file_cmd 15900 15901# convert \$build files to toolchain format. 15902to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15903 15904# Method to check whether dependent libraries are shared objects. 15905deplibs_check_method=$lt_deplibs_check_method 15906 15907# Command to use when deplibs_check_method = "file_magic". 15908file_magic_cmd=$lt_file_magic_cmd 15909 15910# How to find potential files when deplibs_check_method = "file_magic". 15911file_magic_glob=$lt_file_magic_glob 15912 15913# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15914want_nocaseglob=$lt_want_nocaseglob 15915 15916# Command to associate shared and link libraries. 15917sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15918 15919# The archiver. 15920AR=$lt_AR 15921 15922# Flags to create an archive. 15923AR_FLAGS=$lt_AR_FLAGS 15924 15925# How to feed a file listing to the archiver. 15926archiver_list_spec=$lt_archiver_list_spec 15927 15928# A symbol stripping program. 15929STRIP=$lt_STRIP 15930 15931# Commands used to install an old-style archive. 15932RANLIB=$lt_RANLIB 15933old_postinstall_cmds=$lt_old_postinstall_cmds 15934old_postuninstall_cmds=$lt_old_postuninstall_cmds 15935 15936# Whether to use a lock for old archive extraction. 15937lock_old_archive_extraction=$lock_old_archive_extraction 15938 15939# A C compiler. 15940LTCC=$lt_CC 15941 15942# LTCC compiler flags. 15943LTCFLAGS=$lt_CFLAGS 15944 15945# Take the output of nm and produce a listing of raw symbols and C names. 15946global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15947 15948# Transform the output of nm in a proper C declaration. 15949global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15950 15951# Transform the output of nm into a list of symbols to manually relocate. 15952global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 15953 15954# Transform the output of nm in a C name address pair. 15955global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15956 15957# Transform the output of nm in a C name address pair when lib prefix is needed. 15958global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15959 15960# The name lister interface. 15961nm_interface=$lt_lt_cv_nm_interface 15962 15963# Specify filename containing input files for \$NM. 15964nm_file_list_spec=$lt_nm_file_list_spec 15965 15966# The root where to search for dependent libraries,and where our libraries should be installed. 15967lt_sysroot=$lt_sysroot 15968 15969# Command to truncate a binary pipe. 15970lt_truncate_bin=$lt_lt_cv_truncate_bin 15971 15972# The name of the directory that contains temporary libtool files. 15973objdir=$objdir 15974 15975# Used to examine libraries when file_magic_cmd begins with "file". 15976MAGIC_CMD=$MAGIC_CMD 15977 15978# Must we lock files when doing compilation? 15979need_locks=$lt_need_locks 15980 15981# Manifest tool. 15982MANIFEST_TOOL=$lt_MANIFEST_TOOL 15983 15984# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15985DSYMUTIL=$lt_DSYMUTIL 15986 15987# Tool to change global to local symbols on Mac OS X. 15988NMEDIT=$lt_NMEDIT 15989 15990# Tool to manipulate fat objects and archives on Mac OS X. 15991LIPO=$lt_LIPO 15992 15993# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15994OTOOL=$lt_OTOOL 15995 15996# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15997OTOOL64=$lt_OTOOL64 15998 15999# Old archive suffix (normally "a"). 16000libext=$libext 16001 16002# Shared library suffix (normally ".so"). 16003shrext_cmds=$lt_shrext_cmds 16004 16005# The commands to extract the exported symbol list from a shared archive. 16006extract_expsyms_cmds=$lt_extract_expsyms_cmds 16007 16008# Variables whose values should be saved in libtool wrapper scripts and 16009# restored at link time. 16010variables_saved_for_relink=$lt_variables_saved_for_relink 16011 16012# Do we need the "lib" prefix for modules? 16013need_lib_prefix=$need_lib_prefix 16014 16015# Do we need a version for libraries? 16016need_version=$need_version 16017 16018# Library versioning type. 16019version_type=$version_type 16020 16021# Shared library runtime path variable. 16022runpath_var=$runpath_var 16023 16024# Shared library path variable. 16025shlibpath_var=$shlibpath_var 16026 16027# Is shlibpath searched before the hard-coded library search path? 16028shlibpath_overrides_runpath=$shlibpath_overrides_runpath 16029 16030# Format of library name prefix. 16031libname_spec=$lt_libname_spec 16032 16033# List of archive names. First name is the real one, the rest are links. 16034# The last name is the one that the linker finds with -lNAME 16035library_names_spec=$lt_library_names_spec 16036 16037# The coded name of the library, if different from the real name. 16038soname_spec=$lt_soname_spec 16039 16040# Permission mode override for installation of shared libraries. 16041install_override_mode=$lt_install_override_mode 16042 16043# Command to use after installation of a shared archive. 16044postinstall_cmds=$lt_postinstall_cmds 16045 16046# Command to use after uninstallation of a shared archive. 16047postuninstall_cmds=$lt_postuninstall_cmds 16048 16049# Commands used to finish a libtool library installation in a directory. 16050finish_cmds=$lt_finish_cmds 16051 16052# As "finish_cmds", except a single script fragment to be evaled but 16053# not shown. 16054finish_eval=$lt_finish_eval 16055 16056# Whether we should hardcode library paths into libraries. 16057hardcode_into_libs=$hardcode_into_libs 16058 16059# Compile-time system search path for libraries. 16060sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16061 16062# Detected run-time system search path for libraries. 16063sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 16064 16065# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 16066configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 16067 16068# Whether dlopen is supported. 16069dlopen_support=$enable_dlopen 16070 16071# Whether dlopen of programs is supported. 16072dlopen_self=$enable_dlopen_self 16073 16074# Whether dlopen of statically linked programs is supported. 16075dlopen_self_static=$enable_dlopen_self_static 16076 16077# Commands to strip libraries. 16078old_striplib=$lt_old_striplib 16079striplib=$lt_striplib 16080 16081 16082# The linker used to build libraries. 16083LD=$lt_LD 16084 16085# How to create reloadable object files. 16086reload_flag=$lt_reload_flag 16087reload_cmds=$lt_reload_cmds 16088 16089# Commands used to build an old-style archive. 16090old_archive_cmds=$lt_old_archive_cmds 16091 16092# A language specific compiler. 16093CC=$lt_compiler 16094 16095# Is the compiler the GNU compiler? 16096with_gcc=$GCC 16097 16098# Compiler flag to turn off builtin functions. 16099no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16100 16101# Additional compiler flags for building library objects. 16102pic_flag=$lt_lt_prog_compiler_pic 16103 16104# How to pass a linker flag through the compiler. 16105wl=$lt_lt_prog_compiler_wl 16106 16107# Compiler flag to prevent dynamic linking. 16108link_static_flag=$lt_lt_prog_compiler_static 16109 16110# Does compiler simultaneously support -c and -o options? 16111compiler_c_o=$lt_lt_cv_prog_compiler_c_o 16112 16113# Whether or not to add -lc for building shared libraries. 16114build_libtool_need_lc=$archive_cmds_need_lc 16115 16116# Whether or not to disallow shared libs when runtime libs are static. 16117allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 16118 16119# Compiler flag to allow reflexive dlopens. 16120export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 16121 16122# Compiler flag to generate shared objects directly from archives. 16123whole_archive_flag_spec=$lt_whole_archive_flag_spec 16124 16125# Whether the compiler copes with passing no objects directly. 16126compiler_needs_object=$lt_compiler_needs_object 16127 16128# Create an old-style archive from a shared archive. 16129old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 16130 16131# Create a temporary old-style archive to link instead of a shared archive. 16132old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 16133 16134# Commands used to build a shared archive. 16135archive_cmds=$lt_archive_cmds 16136archive_expsym_cmds=$lt_archive_expsym_cmds 16137 16138# Commands used to build a loadable module if different from building 16139# a shared archive. 16140module_cmds=$lt_module_cmds 16141module_expsym_cmds=$lt_module_expsym_cmds 16142 16143# Whether we are building with GNU ld or not. 16144with_gnu_ld=$lt_with_gnu_ld 16145 16146# Flag that allows shared libraries with undefined symbols to be built. 16147allow_undefined_flag=$lt_allow_undefined_flag 16148 16149# Flag that enforces no undefined symbols. 16150no_undefined_flag=$lt_no_undefined_flag 16151 16152# Flag to hardcode \$libdir into a binary during linking. 16153# This must work even if \$libdir does not exist 16154hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 16155 16156# Whether we need a single "-rpath" flag with a separated argument. 16157hardcode_libdir_separator=$lt_hardcode_libdir_separator 16158 16159# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 16160# DIR into the resulting binary. 16161hardcode_direct=$hardcode_direct 16162 16163# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 16164# DIR into the resulting binary and the resulting library dependency is 16165# "absolute",i.e impossible to change by setting \$shlibpath_var if the 16166# library is relocated. 16167hardcode_direct_absolute=$hardcode_direct_absolute 16168 16169# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 16170# into the resulting binary. 16171hardcode_minus_L=$hardcode_minus_L 16172 16173# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 16174# into the resulting binary. 16175hardcode_shlibpath_var=$hardcode_shlibpath_var 16176 16177# Set to "yes" if building a shared library automatically hardcodes DIR 16178# into the library and all subsequent libraries and executables linked 16179# against it. 16180hardcode_automatic=$hardcode_automatic 16181 16182# Set to yes if linker adds runtime paths of dependent libraries 16183# to runtime path list. 16184inherit_rpath=$inherit_rpath 16185 16186# Whether libtool must link a program against all its dependency libraries. 16187link_all_deplibs=$link_all_deplibs 16188 16189# Set to "yes" if exported symbols are required. 16190always_export_symbols=$always_export_symbols 16191 16192# The commands to list exported symbols. 16193export_symbols_cmds=$lt_export_symbols_cmds 16194 16195# Symbols that should not be listed in the preloaded symbols. 16196exclude_expsyms=$lt_exclude_expsyms 16197 16198# Symbols that must always be exported. 16199include_expsyms=$lt_include_expsyms 16200 16201# Commands necessary for linking programs (against libraries) with templates. 16202prelink_cmds=$lt_prelink_cmds 16203 16204# Commands necessary for finishing linking programs. 16205postlink_cmds=$lt_postlink_cmds 16206 16207# Specify filename containing input files. 16208file_list_spec=$lt_file_list_spec 16209 16210# How to hardcode a shared library path into an executable. 16211hardcode_action=$hardcode_action 16212 16213# ### END LIBTOOL CONFIG 16214 16215_LT_EOF 16216 16217 cat <<'_LT_EOF' >> "$cfgfile" 16218 16219# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 16220 16221# func_munge_path_list VARIABLE PATH 16222# ----------------------------------- 16223# VARIABLE is name of variable containing _space_ separated list of 16224# directories to be munged by the contents of PATH, which is string 16225# having a format: 16226# "DIR[:DIR]:" 16227# string "DIR[ DIR]" will be prepended to VARIABLE 16228# ":DIR[:DIR]" 16229# string "DIR[ DIR]" will be appended to VARIABLE 16230# "DIRP[:DIRP]::[DIRA:]DIRA" 16231# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 16232# "DIRA[ DIRA]" will be appended to VARIABLE 16233# "DIR[:DIR]" 16234# VARIABLE will be replaced by "DIR[ DIR]" 16235func_munge_path_list () 16236{ 16237 case x$2 in 16238 x) 16239 ;; 16240 *:) 16241 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 16242 ;; 16243 x:*) 16244 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 16245 ;; 16246 *::*) 16247 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 16248 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 16249 ;; 16250 *) 16251 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 16252 ;; 16253 esac 16254} 16255 16256 16257# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 16258func_cc_basename () 16259{ 16260 for cc_temp in $*""; do 16261 case $cc_temp in 16262 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 16263 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 16264 \-*) ;; 16265 *) break;; 16266 esac 16267 done 16268 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 16269} 16270 16271 16272# ### END FUNCTIONS SHARED WITH CONFIGURE 16273 16274_LT_EOF 16275 16276 case $host_os in 16277 aix3*) 16278 cat <<\_LT_EOF >> "$cfgfile" 16279# AIX sometimes has problems with the GCC collect2 program. For some 16280# reason, if we set the COLLECT_NAMES environment variable, the problems 16281# vanish in a puff of smoke. 16282if test set != "${COLLECT_NAMES+set}"; then 16283 COLLECT_NAMES= 16284 export COLLECT_NAMES 16285fi 16286_LT_EOF 16287 ;; 16288 esac 16289 16290 16291ltmain=$ac_aux_dir/ltmain.sh 16292 16293 16294 # We use sed instead of cat because bash on DJGPP gets confused if 16295 # if finds mixed CR/LF and LF-only lines. Since sed operates in 16296 # text mode, it properly converts lines to CR/LF. This bash problem 16297 # is reportedly fixed, but why not run on old versions too? 16298 sed '$q' "$ltmain" >> "$cfgfile" \ 16299 || (rm -f "$cfgfile"; exit 1) 16300 16301 mv -f "$cfgfile" "$ofile" || 16302 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16303 chmod +x "$ofile" 16304 16305 16306 cat <<_LT_EOF >> "$ofile" 16307 16308# ### BEGIN LIBTOOL TAG CONFIG: RC 16309 16310# The linker used to build libraries. 16311LD=$lt_LD_RC 16312 16313# How to create reloadable object files. 16314reload_flag=$lt_reload_flag_RC 16315reload_cmds=$lt_reload_cmds_RC 16316 16317# Commands used to build an old-style archive. 16318old_archive_cmds=$lt_old_archive_cmds_RC 16319 16320# A language specific compiler. 16321CC=$lt_compiler_RC 16322 16323# Is the compiler the GNU compiler? 16324with_gcc=$GCC_RC 16325 16326# Compiler flag to turn off builtin functions. 16327no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC 16328 16329# Additional compiler flags for building library objects. 16330pic_flag=$lt_lt_prog_compiler_pic_RC 16331 16332# How to pass a linker flag through the compiler. 16333wl=$lt_lt_prog_compiler_wl_RC 16334 16335# Compiler flag to prevent dynamic linking. 16336link_static_flag=$lt_lt_prog_compiler_static_RC 16337 16338# Does compiler simultaneously support -c and -o options? 16339compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC 16340 16341# Whether or not to add -lc for building shared libraries. 16342build_libtool_need_lc=$archive_cmds_need_lc_RC 16343 16344# Whether or not to disallow shared libs when runtime libs are static. 16345allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC 16346 16347# Compiler flag to allow reflexive dlopens. 16348export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC 16349 16350# Compiler flag to generate shared objects directly from archives. 16351whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC 16352 16353# Whether the compiler copes with passing no objects directly. 16354compiler_needs_object=$lt_compiler_needs_object_RC 16355 16356# Create an old-style archive from a shared archive. 16357old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC 16358 16359# Create a temporary old-style archive to link instead of a shared archive. 16360old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC 16361 16362# Commands used to build a shared archive. 16363archive_cmds=$lt_archive_cmds_RC 16364archive_expsym_cmds=$lt_archive_expsym_cmds_RC 16365 16366# Commands used to build a loadable module if different from building 16367# a shared archive. 16368module_cmds=$lt_module_cmds_RC 16369module_expsym_cmds=$lt_module_expsym_cmds_RC 16370 16371# Whether we are building with GNU ld or not. 16372with_gnu_ld=$lt_with_gnu_ld_RC 16373 16374# Flag that allows shared libraries with undefined symbols to be built. 16375allow_undefined_flag=$lt_allow_undefined_flag_RC 16376 16377# Flag that enforces no undefined symbols. 16378no_undefined_flag=$lt_no_undefined_flag_RC 16379 16380# Flag to hardcode \$libdir into a binary during linking. 16381# This must work even if \$libdir does not exist 16382hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC 16383 16384# Whether we need a single "-rpath" flag with a separated argument. 16385hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC 16386 16387# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 16388# DIR into the resulting binary. 16389hardcode_direct=$hardcode_direct_RC 16390 16391# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 16392# DIR into the resulting binary and the resulting library dependency is 16393# "absolute",i.e impossible to change by setting \$shlibpath_var if the 16394# library is relocated. 16395hardcode_direct_absolute=$hardcode_direct_absolute_RC 16396 16397# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 16398# into the resulting binary. 16399hardcode_minus_L=$hardcode_minus_L_RC 16400 16401# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 16402# into the resulting binary. 16403hardcode_shlibpath_var=$hardcode_shlibpath_var_RC 16404 16405# Set to "yes" if building a shared library automatically hardcodes DIR 16406# into the library and all subsequent libraries and executables linked 16407# against it. 16408hardcode_automatic=$hardcode_automatic_RC 16409 16410# Set to yes if linker adds runtime paths of dependent libraries 16411# to runtime path list. 16412inherit_rpath=$inherit_rpath_RC 16413 16414# Whether libtool must link a program against all its dependency libraries. 16415link_all_deplibs=$link_all_deplibs_RC 16416 16417# Set to "yes" if exported symbols are required. 16418always_export_symbols=$always_export_symbols_RC 16419 16420# The commands to list exported symbols. 16421export_symbols_cmds=$lt_export_symbols_cmds_RC 16422 16423# Symbols that should not be listed in the preloaded symbols. 16424exclude_expsyms=$lt_exclude_expsyms_RC 16425 16426# Symbols that must always be exported. 16427include_expsyms=$lt_include_expsyms_RC 16428 16429# Commands necessary for linking programs (against libraries) with templates. 16430prelink_cmds=$lt_prelink_cmds_RC 16431 16432# Commands necessary for finishing linking programs. 16433postlink_cmds=$lt_postlink_cmds_RC 16434 16435# Specify filename containing input files. 16436file_list_spec=$lt_file_list_spec_RC 16437 16438# How to hardcode a shared library path into an executable. 16439hardcode_action=$hardcode_action_RC 16440 16441# ### END LIBTOOL TAG CONFIG: RC 16442_LT_EOF 16443 16444 ;; 16445 16446 esac 16447done # for ac_tag 16448 16449 16450as_fn_exit 0 16451_ACEOF 16452ac_clean_files=$ac_clean_files_save 16453 16454test $ac_write_fail = 0 || 16455 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 16456 16457 16458# configure is writing to config.log, and then calls config.status. 16459# config.status does its own redirection, appending to config.log. 16460# Unfortunately, on DOS this fails, as config.log is still kept open 16461# by configure, so config.status won't be able to write to it; its 16462# output is simply discarded. So we exec the FD to /dev/null, 16463# effectively closing config.log, so it can be properly (re)opened and 16464# appended to by config.status. When coming back to configure, we 16465# need to make the FD available again. 16466if test "$no_create" != yes; then 16467 ac_cs_success=: 16468 ac_config_status_args= 16469 test "$silent" = yes && 16470 ac_config_status_args="$ac_config_status_args --quiet" 16471 exec 5>/dev/null 16472 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16473 exec 5>>config.log 16474 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16475 # would make configure fail if this is the last instruction. 16476 $ac_cs_success || as_fn_exit 1 16477fi 16478if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16480$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16481fi 16482 16483