1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libmp3splt 0.9.2. 4# 5# Report bugs to <m@ioalex.net>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1 202 203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 PATH=/empty FPATH=/empty; export PATH FPATH 208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and m@ioalex.net about 278$0: your system, including any error possibly output before 279$0: this message. Then install a modern shell, or manually 280$0: run the script under such a shell if you do have one." 281 fi 282 exit 1 283fi 284fi 285fi 286SHELL=${CONFIG_SHELL-/bin/sh} 287export SHELL 288# Unset more variables known to interfere with behavior of common tools. 289CLICOLOR_FORCE= GREP_OPTIONS= 290unset CLICOLOR_FORCE GREP_OPTIONS 291 292## --------------------- ## 293## M4sh Shell Functions. ## 294## --------------------- ## 295# as_fn_unset VAR 296# --------------- 297# Portably unset VAR. 298as_fn_unset () 299{ 300 { eval $1=; unset $1;} 301} 302as_unset=as_fn_unset 303 304# as_fn_set_status STATUS 305# ----------------------- 306# Set $? to STATUS, without forking. 307as_fn_set_status () 308{ 309 return $1 310} # as_fn_set_status 311 312# as_fn_exit STATUS 313# ----------------- 314# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 315as_fn_exit () 316{ 317 set +e 318 as_fn_set_status $1 319 exit $1 320} # as_fn_exit 321 322# as_fn_mkdir_p 323# ------------- 324# Create "$as_dir" as a directory, including parents if necessary. 325as_fn_mkdir_p () 326{ 327 328 case $as_dir in #( 329 -*) as_dir=./$as_dir;; 330 esac 331 test -d "$as_dir" || eval $as_mkdir_p || { 332 as_dirs= 333 while :; do 334 case $as_dir in #( 335 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 336 *) as_qdir=$as_dir;; 337 esac 338 as_dirs="'$as_qdir' $as_dirs" 339 as_dir=`$as_dirname -- "$as_dir" || 340$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 341 X"$as_dir" : 'X\(//\)[^/]' \| \ 342 X"$as_dir" : 'X\(//\)$' \| \ 343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 344$as_echo X"$as_dir" | 345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 346 s//\1/ 347 q 348 } 349 /^X\(\/\/\)[^/].*/{ 350 s//\1/ 351 q 352 } 353 /^X\(\/\/\)$/{ 354 s//\1/ 355 q 356 } 357 /^X\(\/\).*/{ 358 s//\1/ 359 q 360 } 361 s/.*/./; q'` 362 test -d "$as_dir" && break 363 done 364 test -z "$as_dirs" || eval "mkdir $as_dirs" 365 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 366 367 368} # as_fn_mkdir_p 369 370# as_fn_executable_p FILE 371# ----------------------- 372# Test if FILE is an executable regular file. 373as_fn_executable_p () 374{ 375 test -f "$1" && test -x "$1" 376} # as_fn_executable_p 377# as_fn_append VAR VALUE 378# ---------------------- 379# Append the text in VALUE to the end of the definition contained in VAR. Take 380# advantage of any shell optimizations that allow amortized linear growth over 381# repeated appends, instead of the typical quadratic growth present in naive 382# implementations. 383if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 384 eval 'as_fn_append () 385 { 386 eval $1+=\$2 387 }' 388else 389 as_fn_append () 390 { 391 eval $1=\$$1\$2 392 } 393fi # as_fn_append 394 395# as_fn_arith ARG... 396# ------------------ 397# Perform arithmetic evaluation on the ARGs, and store the result in the 398# global $as_val. Take advantage of shells that can avoid forks. The arguments 399# must be portable across $(()) and expr. 400if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 401 eval 'as_fn_arith () 402 { 403 as_val=$(( $* )) 404 }' 405else 406 as_fn_arith () 407 { 408 as_val=`expr "$@" || test $? -eq 1` 409 } 410fi # as_fn_arith 411 412 413# as_fn_error STATUS ERROR [LINENO LOG_FD] 414# ---------------------------------------- 415# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 416# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 417# script with STATUS, using 1 if that was 0. 418as_fn_error () 419{ 420 as_status=$1; test $as_status -eq 0 && as_status=1 421 if test "$4"; then 422 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 424 fi 425 $as_echo "$as_me: error: $2" >&2 426 as_fn_exit $as_status 427} # as_fn_error 428 429if expr a : '\(a\)' >/dev/null 2>&1 && 430 test "X`expr 00001 : '.*\(...\)'`" = X001; then 431 as_expr=expr 432else 433 as_expr=false 434fi 435 436if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 437 as_basename=basename 438else 439 as_basename=false 440fi 441 442if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 443 as_dirname=dirname 444else 445 as_dirname=false 446fi 447 448as_me=`$as_basename -- "$0" || 449$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 450 X"$0" : 'X\(//\)$' \| \ 451 X"$0" : 'X\(/\)' \| . 2>/dev/null || 452$as_echo X/"$0" | 453 sed '/^.*\/\([^/][^/]*\)\/*$/{ 454 s//\1/ 455 q 456 } 457 /^X\/\(\/\/\)$/{ 458 s//\1/ 459 q 460 } 461 /^X\/\(\/\).*/{ 462 s//\1/ 463 q 464 } 465 s/.*/./; q'` 466 467# Avoid depending upon Character Ranges. 468as_cr_letters='abcdefghijklmnopqrstuvwxyz' 469as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 470as_cr_Letters=$as_cr_letters$as_cr_LETTERS 471as_cr_digits='0123456789' 472as_cr_alnum=$as_cr_Letters$as_cr_digits 473 474 475 as_lineno_1=$LINENO as_lineno_1a=$LINENO 476 as_lineno_2=$LINENO as_lineno_2a=$LINENO 477 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 478 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 479 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 480 sed -n ' 481 p 482 /[$]LINENO/= 483 ' <$as_myself | 484 sed ' 485 s/[$]LINENO.*/&-/ 486 t lineno 487 b 488 :lineno 489 N 490 :loop 491 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 492 t loop 493 s/-\n.*// 494 ' >$as_me.lineno && 495 chmod +x "$as_me.lineno" || 496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 497 498 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 499 # already done that, so ensure we don't try to do so again and fall 500 # in an infinite loop. This has already happened in practice. 501 _as_can_reexec=no; export _as_can_reexec 502 # Don't try to exec as it changes $[0], causing all sort of problems 503 # (the dirname of $[0] is not the place where we might find the 504 # original and so on. Autoconf is especially sensitive to this). 505 . "./$as_me.lineno" 506 # Exit status is that of the last command. 507 exit 508} 509 510ECHO_C= ECHO_N= ECHO_T= 511case `echo -n x` in #((((( 512-n*) 513 case `echo 'xy\c'` in 514 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 515 xy) ECHO_C='\c';; 516 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 517 ECHO_T=' ';; 518 esac;; 519*) 520 ECHO_N='-n';; 521esac 522 523rm -f conf$$ conf$$.exe conf$$.file 524if test -d conf$$.dir; then 525 rm -f conf$$.dir/conf$$.file 526else 527 rm -f conf$$.dir 528 mkdir conf$$.dir 2>/dev/null 529fi 530if (echo >conf$$.file) 2>/dev/null; then 531 if ln -s conf$$.file conf$$ 2>/dev/null; then 532 as_ln_s='ln -s' 533 # ... but there are two gotchas: 534 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 535 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 536 # In both cases, we have to default to `cp -pR'. 537 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 538 as_ln_s='cp -pR' 539 elif ln conf$$.file conf$$ 2>/dev/null; then 540 as_ln_s=ln 541 else 542 as_ln_s='cp -pR' 543 fi 544else 545 as_ln_s='cp -pR' 546fi 547rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 548rmdir conf$$.dir 2>/dev/null 549 550if mkdir -p . 2>/dev/null; then 551 as_mkdir_p='mkdir -p "$as_dir"' 552else 553 test -d ./-p && rmdir ./-p 554 as_mkdir_p=false 555fi 556 557as_test_x='test -x' 558as_executable_p=as_fn_executable_p 559 560# Sed expression to map a string onto a valid CPP name. 561as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 562 563# Sed expression to map a string onto a valid variable name. 564as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 565 566lt_ltdl_dir='libltdl' 567 568SHELL=${CONFIG_SHELL-/bin/sh} 569 570lt_dlopen_dir="$lt_ltdl_dir" 571 572 573test -n "$DJDIR" || exec 7<&0 </dev/null 574exec 6>&1 575 576# Name of the host. 577# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 578# so uname gets run too. 579ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 580 581# 582# Initializations. 583# 584ac_default_prefix=/usr/local 585ac_clean_files= 586ac_config_libobj_dir=. 587LIBOBJS= 588cross_compiling=no 589subdirs= 590MFLAGS= 591MAKEFLAGS= 592 593# Identity of this package. 594PACKAGE_NAME='libmp3splt' 595PACKAGE_TARNAME='libmp3splt' 596PACKAGE_VERSION='0.9.2' 597PACKAGE_STRING='libmp3splt 0.9.2' 598PACKAGE_BUGREPORT='m@ioalex.net' 599PACKAGE_URL='' 600 601# Factoring default headers for most tests. 602ac_includes_default="\ 603#include <stdio.h> 604#ifdef HAVE_SYS_TYPES_H 605# include <sys/types.h> 606#endif 607#ifdef HAVE_SYS_STAT_H 608# include <sys/stat.h> 609#endif 610#ifdef STDC_HEADERS 611# include <stdlib.h> 612# include <stddef.h> 613#else 614# ifdef HAVE_STDLIB_H 615# include <stdlib.h> 616# endif 617#endif 618#ifdef HAVE_STRING_H 619# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 620# include <memory.h> 621# endif 622# include <string.h> 623#endif 624#ifdef HAVE_STRINGS_H 625# include <strings.h> 626#endif 627#ifdef HAVE_INTTYPES_H 628# include <inttypes.h> 629#endif 630#ifdef HAVE_STDINT_H 631# include <stdint.h> 632#endif 633#ifdef HAVE_UNISTD_H 634# include <unistd.h> 635#endif" 636 637enable_option_checking=no 638ac_subst_vars='ltdl_LTLIBOBJS 639ltdl_LIBOBJS 640am__EXEEXT_FALSE 641am__EXEEXT_TRUE 642LTLIBOBJS 643LIBOBJS 644GRAPHVIZ 645DOXYGEN 646HAVE_GRAPHVIZ_FALSE 647HAVE_GRAPHVIZ_TRUE 648HAVE_DOXYGEN_FALSE 649HAVE_DOXYGEN_TRUE 650PCRE_LIBS 651PCRE_CFLAGS 652PCRE_FALSE 653PCRE_TRUE 654CUTTER 655CUTTER_LIBS 656CUTTER_CFLAGS 657HAS_CUTTER_FALSE 658HAS_CUTTER_TRUE 659FLAC_LIBS 660FLAC_CFLAGS 661PKG_CONFIG_LIBDIR 662PKG_CONFIG_PATH 663PKG_CONFIG 664FLAC_PLUGIN_FALSE 665FLAC_PLUGIN_TRUE 666VORBISENC_LIBS 667VORBISFILE_LIBS 668VORBIS_LIBS 669VORBIS_CFLAGS 670OGG_LIBS 671OGG_CFLAGS 672OGG_PLUGIN_FALSE 673OGG_PLUGIN_TRUE 674ID3_LIBS 675ID3_CFLAGS 676ID3TAG_FALSE 677ID3TAG_TRUE 678MAD_LIBS 679MAD_CFLAGS 680MP3_PLUGIN_FALSE 681MP3_PLUGIN_TRUE 682IS_ON_WINDOWS_FALSE 683IS_ON_WINDOWS_TRUE 684WIN32_FALSE 685WIN32_TRUE 686LTDLOPEN 687LT_CONFIG_H 688subdirs 689CONVENIENCE_LTDL_FALSE 690CONVENIENCE_LTDL_TRUE 691INSTALL_LTDL_FALSE 692INSTALL_LTDL_TRUE 693ARGZ_H 694sys_symbol_underscore 695LIBADD_DL 696LT_DLPREOPEN 697LIBADD_DLD_LINK 698LIBADD_SHL_LOAD 699LIBADD_DLOPEN 700LT_DLLOADERS 701INCLTDL 702LTDLINCL 703LTDLDEPS 704LIBLTDL 705OTOOL64 706OTOOL 707LIPO 708NMEDIT 709DSYMUTIL 710MANIFEST_TOOL 711RANLIB 712ac_ct_AR 713AR 714NM 715ac_ct_DUMPBIN 716DUMPBIN 717LD 718FGREP 719SED 720LIBTOOL 721OBJDUMP 722DLLTOOL 723AS 724SONAME 725POSUB 726LTLIBINTL 727LIBINTL 728INTLLIBS 729LTLIBICONV 730LIBICONV 731host_os 732host_vendor 733host_cpu 734host 735build_os 736build_vendor 737build_cpu 738build 739MSGMERGE 740XGETTEXT 741GMSGFMT 742MSGFMT 743USE_NLS 744MKINSTALLDIRS 745EGREP 746GREP 747CPP 748LN_S 749am__fastdepCC_FALSE 750am__fastdepCC_TRUE 751CCDEPMODE 752am__nodep 753AMDEPBACKSLASH 754AMDEP_FALSE 755AMDEP_TRUE 756am__quote 757am__include 758DEPDIR 759OBJEXT 760EXEEXT 761ac_ct_CC 762CPPFLAGS 763LDFLAGS 764CFLAGS 765CC 766LIBMP3SPLT_MICRO_VERSION 767LIBMP3SPLT_MINOR_VERSION 768LIBMP3SPLT_MAJOR_VERSION 769MAINT 770MAINTAINER_MODE_FALSE 771MAINTAINER_MODE_TRUE 772AM_BACKSLASH 773AM_DEFAULT_VERBOSITY 774AM_DEFAULT_V 775AM_V 776am__untar 777am__tar 778AMTAR 779am__leading_dot 780SET_MAKE 781AWK 782mkdir_p 783MKDIR_P 784INSTALL_STRIP_PROGRAM 785STRIP 786install_sh 787MAKEINFO 788AUTOHEADER 789AUTOMAKE 790AUTOCONF 791ACLOCAL 792VERSION 793PACKAGE 794CYGPATH_W 795am__isrc 796INSTALL_DATA 797INSTALL_SCRIPT 798INSTALL_PROGRAM 799target_alias 800host_alias 801build_alias 802LIBS 803ECHO_T 804ECHO_N 805ECHO_C 806DEFS 807mandir 808localedir 809libdir 810psdir 811pdfdir 812dvidir 813htmldir 814infodir 815docdir 816oldincludedir 817includedir 818localstatedir 819sharedstatedir 820sysconfdir 821datadir 822datarootdir 823libexecdir 824sbindir 825bindir 826program_transform_name 827prefix 828exec_prefix 829PACKAGE_URL 830PACKAGE_BUGREPORT 831PACKAGE_STRING 832PACKAGE_VERSION 833PACKAGE_TARNAME 834PACKAGE_NAME 835PATH_SEPARATOR 836SHELL' 837ac_subst_files='' 838ac_user_opts=' 839enable_option_checking 840enable_silent_rules 841enable_maintainer_mode 842enable_dependency_tracking 843enable_nls 844with_gnu_ld 845enable_rpath 846with_libiconv_prefix 847with_libintl_prefix 848enable_shared 849enable_static 850with_pic 851enable_fast_install 852with_sysroot 853enable_libtool_lock 854with_included_ltdl 855with_ltdl_include 856with_ltdl_lib 857enable_ltdl_install 858enable_c_debug 859enable_optimise 860enable_extra_warnings 861enable_win 862enable_mp3 863with_mad 864with_mad_libraries 865with_mad_includes 866enable_madtest 867enable_id3tag 868with_id3 869with_id3_libraries 870with_id3_includes 871enable_id3test 872enable_ogg 873with_ogg 874with_ogg_libraries 875with_ogg_includes 876enable_oggtest 877with_vorbis 878with_vorbis_libraries 879with_vorbis_includes 880enable_vorbistest 881enable_flac 882enable_cutter 883with_cutter 884enable_pcre 885enable_doxygen_doc 886' 887 ac_precious_vars='build_alias 888host_alias 889target_alias 890CC 891CFLAGS 892LDFLAGS 893LIBS 894CPPFLAGS 895CPP 896PKG_CONFIG 897PKG_CONFIG_PATH 898PKG_CONFIG_LIBDIR 899FLAC_CFLAGS 900FLAC_LIBS 901CUTTER_CFLAGS 902CUTTER_LIBS 903PCRE_CFLAGS 904PCRE_LIBS 905DOXYGEN 906GRAPHVIZ' 907ac_subdirs_all='libltdl' 908 909# Initialize some variables set by options. 910ac_init_help= 911ac_init_version=false 912ac_unrecognized_opts= 913ac_unrecognized_sep= 914# The variables have the same names as the options, with 915# dashes changed to underlines. 916cache_file=/dev/null 917exec_prefix=NONE 918no_create= 919no_recursion= 920prefix=NONE 921program_prefix=NONE 922program_suffix=NONE 923program_transform_name=s,x,x, 924silent= 925site= 926srcdir= 927verbose= 928x_includes=NONE 929x_libraries=NONE 930 931# Installation directory options. 932# These are left unexpanded so users can "make install exec_prefix=/foo" 933# and all the variables that are supposed to be based on exec_prefix 934# by default will actually change. 935# Use braces instead of parens because sh, perl, etc. also accept them. 936# (The list follows the same order as the GNU Coding Standards.) 937bindir='${exec_prefix}/bin' 938sbindir='${exec_prefix}/sbin' 939libexecdir='${exec_prefix}/libexec' 940datarootdir='${prefix}/share' 941datadir='${datarootdir}' 942sysconfdir='${prefix}/etc' 943sharedstatedir='${prefix}/com' 944localstatedir='${prefix}/var' 945includedir='${prefix}/include' 946oldincludedir='/usr/include' 947docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 948infodir='${datarootdir}/info' 949htmldir='${docdir}' 950dvidir='${docdir}' 951pdfdir='${docdir}' 952psdir='${docdir}' 953libdir='${exec_prefix}/lib' 954localedir='${datarootdir}/locale' 955mandir='${datarootdir}/man' 956 957ac_prev= 958ac_dashdash= 959for ac_option 960do 961 # If the previous option needs an argument, assign it. 962 if test -n "$ac_prev"; then 963 eval $ac_prev=\$ac_option 964 ac_prev= 965 continue 966 fi 967 968 case $ac_option in 969 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 970 *=) ac_optarg= ;; 971 *) ac_optarg=yes ;; 972 esac 973 974 # Accept the important Cygnus configure options, so we can diagnose typos. 975 976 case $ac_dashdash$ac_option in 977 --) 978 ac_dashdash=yes ;; 979 980 -bindir | --bindir | --bindi | --bind | --bin | --bi) 981 ac_prev=bindir ;; 982 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 983 bindir=$ac_optarg ;; 984 985 -build | --build | --buil | --bui | --bu) 986 ac_prev=build_alias ;; 987 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 988 build_alias=$ac_optarg ;; 989 990 -cache-file | --cache-file | --cache-fil | --cache-fi \ 991 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 992 ac_prev=cache_file ;; 993 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 994 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 995 cache_file=$ac_optarg ;; 996 997 --config-cache | -C) 998 cache_file=config.cache ;; 999 1000 -datadir | --datadir | --datadi | --datad) 1001 ac_prev=datadir ;; 1002 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1003 datadir=$ac_optarg ;; 1004 1005 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1006 | --dataroo | --dataro | --datar) 1007 ac_prev=datarootdir ;; 1008 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1009 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1010 datarootdir=$ac_optarg ;; 1011 1012 -disable-* | --disable-*) 1013 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1014 # Reject names that are not valid shell variable names. 1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1016 as_fn_error $? "invalid feature name: $ac_useropt" 1017 ac_useropt_orig=$ac_useropt 1018 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1019 case $ac_user_opts in 1020 *" 1021"enable_$ac_useropt" 1022"*) ;; 1023 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1024 ac_unrecognized_sep=', ';; 1025 esac 1026 eval enable_$ac_useropt=no ;; 1027 1028 -docdir | --docdir | --docdi | --doc | --do) 1029 ac_prev=docdir ;; 1030 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1031 docdir=$ac_optarg ;; 1032 1033 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1034 ac_prev=dvidir ;; 1035 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1036 dvidir=$ac_optarg ;; 1037 1038 -enable-* | --enable-*) 1039 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1040 # Reject names that are not valid shell variable names. 1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1042 as_fn_error $? "invalid feature name: $ac_useropt" 1043 ac_useropt_orig=$ac_useropt 1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1045 case $ac_user_opts in 1046 *" 1047"enable_$ac_useropt" 1048"*) ;; 1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1050 ac_unrecognized_sep=', ';; 1051 esac 1052 eval enable_$ac_useropt=\$ac_optarg ;; 1053 1054 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1055 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1056 | --exec | --exe | --ex) 1057 ac_prev=exec_prefix ;; 1058 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1059 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1060 | --exec=* | --exe=* | --ex=*) 1061 exec_prefix=$ac_optarg ;; 1062 1063 -gas | --gas | --ga | --g) 1064 # Obsolete; use --with-gas. 1065 with_gas=yes ;; 1066 1067 -help | --help | --hel | --he | -h) 1068 ac_init_help=long ;; 1069 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1070 ac_init_help=recursive ;; 1071 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1072 ac_init_help=short ;; 1073 1074 -host | --host | --hos | --ho) 1075 ac_prev=host_alias ;; 1076 -host=* | --host=* | --hos=* | --ho=*) 1077 host_alias=$ac_optarg ;; 1078 1079 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1080 ac_prev=htmldir ;; 1081 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1082 | --ht=*) 1083 htmldir=$ac_optarg ;; 1084 1085 -includedir | --includedir | --includedi | --included | --include \ 1086 | --includ | --inclu | --incl | --inc) 1087 ac_prev=includedir ;; 1088 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1089 | --includ=* | --inclu=* | --incl=* | --inc=*) 1090 includedir=$ac_optarg ;; 1091 1092 -infodir | --infodir | --infodi | --infod | --info | --inf) 1093 ac_prev=infodir ;; 1094 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1095 infodir=$ac_optarg ;; 1096 1097 -libdir | --libdir | --libdi | --libd) 1098 ac_prev=libdir ;; 1099 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1100 libdir=$ac_optarg ;; 1101 1102 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1103 | --libexe | --libex | --libe) 1104 ac_prev=libexecdir ;; 1105 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1106 | --libexe=* | --libex=* | --libe=*) 1107 libexecdir=$ac_optarg ;; 1108 1109 -localedir | --localedir | --localedi | --localed | --locale) 1110 ac_prev=localedir ;; 1111 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1112 localedir=$ac_optarg ;; 1113 1114 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1115 | --localstate | --localstat | --localsta | --localst | --locals) 1116 ac_prev=localstatedir ;; 1117 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1118 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1119 localstatedir=$ac_optarg ;; 1120 1121 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1122 ac_prev=mandir ;; 1123 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1124 mandir=$ac_optarg ;; 1125 1126 -nfp | --nfp | --nf) 1127 # Obsolete; use --without-fp. 1128 with_fp=no ;; 1129 1130 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1131 | --no-cr | --no-c | -n) 1132 no_create=yes ;; 1133 1134 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1135 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1136 no_recursion=yes ;; 1137 1138 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1139 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1140 | --oldin | --oldi | --old | --ol | --o) 1141 ac_prev=oldincludedir ;; 1142 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1143 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1144 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1145 oldincludedir=$ac_optarg ;; 1146 1147 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1148 ac_prev=prefix ;; 1149 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1150 prefix=$ac_optarg ;; 1151 1152 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1153 | --program-pre | --program-pr | --program-p) 1154 ac_prev=program_prefix ;; 1155 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1156 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1157 program_prefix=$ac_optarg ;; 1158 1159 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1160 | --program-suf | --program-su | --program-s) 1161 ac_prev=program_suffix ;; 1162 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1163 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1164 program_suffix=$ac_optarg ;; 1165 1166 -program-transform-name | --program-transform-name \ 1167 | --program-transform-nam | --program-transform-na \ 1168 | --program-transform-n | --program-transform- \ 1169 | --program-transform | --program-transfor \ 1170 | --program-transfo | --program-transf \ 1171 | --program-trans | --program-tran \ 1172 | --progr-tra | --program-tr | --program-t) 1173 ac_prev=program_transform_name ;; 1174 -program-transform-name=* | --program-transform-name=* \ 1175 | --program-transform-nam=* | --program-transform-na=* \ 1176 | --program-transform-n=* | --program-transform-=* \ 1177 | --program-transform=* | --program-transfor=* \ 1178 | --program-transfo=* | --program-transf=* \ 1179 | --program-trans=* | --program-tran=* \ 1180 | --progr-tra=* | --program-tr=* | --program-t=*) 1181 program_transform_name=$ac_optarg ;; 1182 1183 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1184 ac_prev=pdfdir ;; 1185 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1186 pdfdir=$ac_optarg ;; 1187 1188 -psdir | --psdir | --psdi | --psd | --ps) 1189 ac_prev=psdir ;; 1190 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1191 psdir=$ac_optarg ;; 1192 1193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1194 | -silent | --silent | --silen | --sile | --sil) 1195 silent=yes ;; 1196 1197 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1198 ac_prev=sbindir ;; 1199 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1200 | --sbi=* | --sb=*) 1201 sbindir=$ac_optarg ;; 1202 1203 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1204 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1205 | --sharedst | --shareds | --shared | --share | --shar \ 1206 | --sha | --sh) 1207 ac_prev=sharedstatedir ;; 1208 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1209 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1210 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1211 | --sha=* | --sh=*) 1212 sharedstatedir=$ac_optarg ;; 1213 1214 -site | --site | --sit) 1215 ac_prev=site ;; 1216 -site=* | --site=* | --sit=*) 1217 site=$ac_optarg ;; 1218 1219 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1220 ac_prev=srcdir ;; 1221 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1222 srcdir=$ac_optarg ;; 1223 1224 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1225 | --syscon | --sysco | --sysc | --sys | --sy) 1226 ac_prev=sysconfdir ;; 1227 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1228 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1229 sysconfdir=$ac_optarg ;; 1230 1231 -target | --target | --targe | --targ | --tar | --ta | --t) 1232 ac_prev=target_alias ;; 1233 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1234 target_alias=$ac_optarg ;; 1235 1236 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1237 verbose=yes ;; 1238 1239 -version | --version | --versio | --versi | --vers | -V) 1240 ac_init_version=: ;; 1241 1242 -with-* | --with-*) 1243 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1244 # Reject names that are not valid shell variable names. 1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1246 as_fn_error $? "invalid package name: $ac_useropt" 1247 ac_useropt_orig=$ac_useropt 1248 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1249 case $ac_user_opts in 1250 *" 1251"with_$ac_useropt" 1252"*) ;; 1253 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1254 ac_unrecognized_sep=', ';; 1255 esac 1256 eval with_$ac_useropt=\$ac_optarg ;; 1257 1258 -without-* | --without-*) 1259 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1260 # Reject names that are not valid shell variable names. 1261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1262 as_fn_error $? "invalid package name: $ac_useropt" 1263 ac_useropt_orig=$ac_useropt 1264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1265 case $ac_user_opts in 1266 *" 1267"with_$ac_useropt" 1268"*) ;; 1269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1270 ac_unrecognized_sep=', ';; 1271 esac 1272 eval with_$ac_useropt=no ;; 1273 1274 --x) 1275 # Obsolete; use --with-x. 1276 with_x=yes ;; 1277 1278 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1279 | --x-incl | --x-inc | --x-in | --x-i) 1280 ac_prev=x_includes ;; 1281 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1282 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1283 x_includes=$ac_optarg ;; 1284 1285 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1286 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1287 ac_prev=x_libraries ;; 1288 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1289 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1290 x_libraries=$ac_optarg ;; 1291 1292 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1293Try \`$0 --help' for more information" 1294 ;; 1295 1296 *=*) 1297 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1298 # Reject names that are not valid shell variable names. 1299 case $ac_envvar in #( 1300 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1301 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1302 esac 1303 eval $ac_envvar=\$ac_optarg 1304 export $ac_envvar ;; 1305 1306 *) 1307 # FIXME: should be removed in autoconf 3.0. 1308 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1309 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1310 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1311 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1312 ;; 1313 1314 esac 1315done 1316 1317if test -n "$ac_prev"; then 1318 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1319 as_fn_error $? "missing argument to $ac_option" 1320fi 1321 1322if test -n "$ac_unrecognized_opts"; then 1323 case $enable_option_checking in 1324 no) ;; 1325 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1326 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1327 esac 1328fi 1329 1330# Check all directory arguments for consistency. 1331for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1332 datadir sysconfdir sharedstatedir localstatedir includedir \ 1333 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1334 libdir localedir mandir 1335do 1336 eval ac_val=\$$ac_var 1337 # Remove trailing slashes. 1338 case $ac_val in 1339 */ ) 1340 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1341 eval $ac_var=\$ac_val;; 1342 esac 1343 # Be sure to have absolute directory names. 1344 case $ac_val in 1345 [\\/$]* | ?:[\\/]* ) continue;; 1346 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1347 esac 1348 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1349done 1350 1351# There might be people who depend on the old broken behavior: `$host' 1352# used to hold the argument of --host etc. 1353# FIXME: To remove some day. 1354build=$build_alias 1355host=$host_alias 1356target=$target_alias 1357 1358# FIXME: To remove some day. 1359if test "x$host_alias" != x; then 1360 if test "x$build_alias" = x; then 1361 cross_compiling=maybe 1362 elif test "x$build_alias" != "x$host_alias"; then 1363 cross_compiling=yes 1364 fi 1365fi 1366 1367ac_tool_prefix= 1368test -n "$host_alias" && ac_tool_prefix=$host_alias- 1369 1370test "$silent" = yes && exec 6>/dev/null 1371 1372 1373ac_pwd=`pwd` && test -n "$ac_pwd" && 1374ac_ls_di=`ls -di .` && 1375ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1376 as_fn_error $? "working directory cannot be determined" 1377test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1378 as_fn_error $? "pwd does not report name of working directory" 1379 1380 1381# Find the source files, if location was not specified. 1382if test -z "$srcdir"; then 1383 ac_srcdir_defaulted=yes 1384 # Try the directory containing this script, then the parent directory. 1385 ac_confdir=`$as_dirname -- "$as_myself" || 1386$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1387 X"$as_myself" : 'X\(//\)[^/]' \| \ 1388 X"$as_myself" : 'X\(//\)$' \| \ 1389 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1390$as_echo X"$as_myself" | 1391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1392 s//\1/ 1393 q 1394 } 1395 /^X\(\/\/\)[^/].*/{ 1396 s//\1/ 1397 q 1398 } 1399 /^X\(\/\/\)$/{ 1400 s//\1/ 1401 q 1402 } 1403 /^X\(\/\).*/{ 1404 s//\1/ 1405 q 1406 } 1407 s/.*/./; q'` 1408 srcdir=$ac_confdir 1409 if test ! -r "$srcdir/$ac_unique_file"; then 1410 srcdir=.. 1411 fi 1412else 1413 ac_srcdir_defaulted=no 1414fi 1415if test ! -r "$srcdir/$ac_unique_file"; then 1416 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1417 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1418fi 1419ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1420ac_abs_confdir=`( 1421 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1422 pwd)` 1423# When building in place, set srcdir=. 1424if test "$ac_abs_confdir" = "$ac_pwd"; then 1425 srcdir=. 1426fi 1427# Remove unnecessary trailing slashes from srcdir. 1428# Double slashes in file names in object file debugging info 1429# mess up M-x gdb in Emacs. 1430case $srcdir in 1431*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1432esac 1433for ac_var in $ac_precious_vars; do 1434 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1435 eval ac_env_${ac_var}_value=\$${ac_var} 1436 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1437 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1438done 1439 1440# 1441# Report the --help message. 1442# 1443if test "$ac_init_help" = "long"; then 1444 # Omit some internal or obsolete options to make the list less imposing. 1445 # This message is too long to be a string in the A/UX 3.1 sh. 1446 cat <<_ACEOF 1447\`configure' configures libmp3splt 0.9.2 to adapt to many kinds of systems. 1448 1449Usage: $0 [OPTION]... [VAR=VALUE]... 1450 1451To assign environment variables (e.g., CC, CFLAGS...), specify them as 1452VAR=VALUE. See below for descriptions of some of the useful variables. 1453 1454Defaults for the options are specified in brackets. 1455 1456Configuration: 1457 -h, --help display this help and exit 1458 --help=short display options specific to this package 1459 --help=recursive display the short help of all the included packages 1460 -V, --version display version information and exit 1461 -q, --quiet, --silent do not print \`checking ...' messages 1462 --cache-file=FILE cache test results in FILE [disabled] 1463 -C, --config-cache alias for \`--cache-file=config.cache' 1464 -n, --no-create do not create output files 1465 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1466 1467Installation directories: 1468 --prefix=PREFIX install architecture-independent files in PREFIX 1469 [$ac_default_prefix] 1470 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1471 [PREFIX] 1472 1473By default, \`make install' will install all the files in 1474\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1475an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1476for instance \`--prefix=\$HOME'. 1477 1478For better control, use the options below. 1479 1480Fine tuning of the installation directories: 1481 --bindir=DIR user executables [EPREFIX/bin] 1482 --sbindir=DIR system admin executables [EPREFIX/sbin] 1483 --libexecdir=DIR program executables [EPREFIX/libexec] 1484 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1485 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1486 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1487 --libdir=DIR object code libraries [EPREFIX/lib] 1488 --includedir=DIR C header files [PREFIX/include] 1489 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1490 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1491 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1492 --infodir=DIR info documentation [DATAROOTDIR/info] 1493 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1494 --mandir=DIR man documentation [DATAROOTDIR/man] 1495 --docdir=DIR documentation root [DATAROOTDIR/doc/libmp3splt] 1496 --htmldir=DIR html documentation [DOCDIR] 1497 --dvidir=DIR dvi documentation [DOCDIR] 1498 --pdfdir=DIR pdf documentation [DOCDIR] 1499 --psdir=DIR ps documentation [DOCDIR] 1500_ACEOF 1501 1502 cat <<\_ACEOF 1503 1504Program names: 1505 --program-prefix=PREFIX prepend PREFIX to installed program names 1506 --program-suffix=SUFFIX append SUFFIX to installed program names 1507 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1508 1509System types: 1510 --build=BUILD configure for building on BUILD [guessed] 1511 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1512_ACEOF 1513fi 1514 1515if test -n "$ac_init_help"; then 1516 case $ac_init_help in 1517 short | recursive ) echo "Configuration of libmp3splt 0.9.2:";; 1518 esac 1519 cat <<\_ACEOF 1520 1521Optional Features: 1522 --disable-option-checking ignore unrecognized --enable/--with options 1523 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1524 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1525 --enable-silent-rules less verbose build output (undo: "make V=1") 1526 --disable-silent-rules verbose build output (undo: "make V=0") 1527 --disable-maintainer-mode 1528 disable make rules and dependencies not useful (and 1529 sometimes confusing) to the casual installer 1530 --enable-dependency-tracking 1531 do not reject slow dependency extractors 1532 --disable-dependency-tracking 1533 speeds up one-time build 1534 --disable-nls do not use Native Language Support 1535 --disable-rpath do not hardcode runtime library paths 1536 --enable-shared[=PKGS] build shared libraries [default=yes] 1537 --enable-static[=PKGS] build static libraries [default=yes] 1538 --enable-fast-install[=PKGS] 1539 optimize for fast installation [default=yes] 1540 --disable-libtool-lock avoid locking (might break parallel builds) 1541 --enable-ltdl-install install libltdl 1542 --enable-c-debug Enable debugging symbols. 1543 --disable-optimise Disable O3 optimise. 1544 --enable-extra-warnings Enable extra warnings. 1545 --enable-win Enable if compiling on windows with mingw. 1546 --disable-mp3 Disable mp3 plugin. 1547 --disable-madtest Do not try to compile and run a test mad program. 1548 --disable-id3tag Disable id3tag support for the mp3 plugin. 1549 --disable-id3test Do not try to compile and run a test id3 program. 1550 --disable-ogg Disable Ogg Vorbis plugin. 1551 --disable-oggtest Do not try to compile and run a test Ogg program 1552 --disable-vorbistest Do not try to compile and run a test Vorbis program 1553 --disable-flac Disable flac plugin. 1554 --disable-cutter Disable Cutter unit testing. 1555 --disable-pcre Disable pcre support to set tags from input 1556 filename. 1557 --disable-doxygen_doc Disable doxygen code documentation. 1558 1559Optional Packages: 1560 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1561 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1562 --with-gnu-ld assume the C compiler uses GNU ld default=no 1563 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1564 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1565 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1566 --without-libintl-prefix don't search for libintl in includedir and libdir 1567 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1568 both] 1569 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1570 --with-sysroot=DIR Search for dependent libraries within DIR 1571 (or the compiler's sysroot if not specified). 1572 --with-included-ltdl use the GNU ltdl sources included here 1573 --with-ltdl-include=DIR use the ltdl headers installed in DIR 1574 --with-ltdl-lib=DIR use the libltdl.la installed in DIR 1575 --with-mad=PFX Prefix where libmad is installed (optional). 1576 --with-mad-libraries=DIR 1577 Directory where libmad library is installed 1578 (optional). 1579 --with-mad-includes=DIR Directory where libmad header files are installed 1580 (optional). 1581 --with-id3=PFX Prefix where id3tag is installed (optional). 1582 --with-id3-libraries=DIR 1583 Directory where id3tag library is installed 1584 (optional). 1585 --with-id3-includes=DIR Directory where id3tag header files are installed 1586 (optional). 1587 --with-ogg=PFX Prefix where libogg is installed (optional) 1588 --with-ogg-libraries=DIR Directory where libogg library is installed (optional) 1589 --with-ogg-includes=DIR Directory where libogg header files are installed (optional) 1590 --with-vorbis=PFX Prefix where libvorbis is installed (optional) 1591 --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional) 1592 --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional) 1593 --with-cutter Use Cutter (default: auto) 1594 1595Some influential environment variables: 1596 CC C compiler command 1597 CFLAGS C compiler flags 1598 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1599 nonstandard directory <lib dir> 1600 LIBS libraries to pass to the linker, e.g. -l<library> 1601 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1602 you have headers in a nonstandard directory <include dir> 1603 CPP C preprocessor 1604 PKG_CONFIG path to pkg-config utility 1605 PKG_CONFIG_PATH 1606 directories to add to pkg-config's search path 1607 PKG_CONFIG_LIBDIR 1608 path overriding pkg-config's built-in search path 1609 FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config 1610 FLAC_LIBS linker flags for FLAC, overriding pkg-config 1611 CUTTER_CFLAGS 1612 C compiler flags for CUTTER, overriding pkg-config 1613 CUTTER_LIBS linker flags for CUTTER, overriding pkg-config 1614 PCRE_CFLAGS C compiler flags for PCRE, overriding pkg-config 1615 PCRE_LIBS linker flags for PCRE, overriding pkg-config 1616 DOXYGEN Location of the 'doxygen' program; if found we can generate 1617 documentation for the C code 1618 GRAPHVIZ Location of the 'dot' program from the graphviz suite; if found 1619 we can generate caller graphs for the documentation of the C 1620 code 1621 1622Use these variables to override the choices made by `configure' or to help 1623it to find libraries and programs with nonstandard names/locations. 1624 1625Report bugs to <m@ioalex.net>. 1626_ACEOF 1627ac_status=$? 1628fi 1629 1630if test "$ac_init_help" = "recursive"; then 1631 # If there are subdirs, report their specific --help. 1632 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1633 test -d "$ac_dir" || 1634 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1635 continue 1636 ac_builddir=. 1637 1638case "$ac_dir" in 1639.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1640*) 1641 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1642 # A ".." for each directory in $ac_dir_suffix. 1643 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1644 case $ac_top_builddir_sub in 1645 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1646 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1647 esac ;; 1648esac 1649ac_abs_top_builddir=$ac_pwd 1650ac_abs_builddir=$ac_pwd$ac_dir_suffix 1651# for backward compatibility: 1652ac_top_builddir=$ac_top_build_prefix 1653 1654case $srcdir in 1655 .) # We are building in place. 1656 ac_srcdir=. 1657 ac_top_srcdir=$ac_top_builddir_sub 1658 ac_abs_top_srcdir=$ac_pwd ;; 1659 [\\/]* | ?:[\\/]* ) # Absolute name. 1660 ac_srcdir=$srcdir$ac_dir_suffix; 1661 ac_top_srcdir=$srcdir 1662 ac_abs_top_srcdir=$srcdir ;; 1663 *) # Relative name. 1664 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1665 ac_top_srcdir=$ac_top_build_prefix$srcdir 1666 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1667esac 1668ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1669 1670 cd "$ac_dir" || { ac_status=$?; continue; } 1671 # Check for guested configure. 1672 if test -f "$ac_srcdir/configure.gnu"; then 1673 echo && 1674 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1675 elif test -f "$ac_srcdir/configure"; then 1676 echo && 1677 $SHELL "$ac_srcdir/configure" --help=recursive 1678 else 1679 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1680 fi || ac_status=$? 1681 cd "$ac_pwd" || { ac_status=$?; break; } 1682 done 1683fi 1684 1685test -n "$ac_init_help" && exit $ac_status 1686if $ac_init_version; then 1687 cat <<\_ACEOF 1688libmp3splt configure 0.9.2 1689generated by GNU Autoconf 2.69 1690 1691Copyright (C) 2012 Free Software Foundation, Inc. 1692This configure script is free software; the Free Software Foundation 1693gives unlimited permission to copy, distribute and modify it. 1694_ACEOF 1695 exit 1696fi 1697 1698## ------------------------ ## 1699## Autoconf initialization. ## 1700## ------------------------ ## 1701 1702# ac_fn_c_try_compile LINENO 1703# -------------------------- 1704# Try to compile conftest.$ac_ext, and return whether this succeeded. 1705ac_fn_c_try_compile () 1706{ 1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1708 rm -f conftest.$ac_objext 1709 if { { ac_try="$ac_compile" 1710case "(($ac_try" in 1711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1712 *) ac_try_echo=$ac_try;; 1713esac 1714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1715$as_echo "$ac_try_echo"; } >&5 1716 (eval "$ac_compile") 2>conftest.err 1717 ac_status=$? 1718 if test -s conftest.err; then 1719 grep -v '^ *+' conftest.err >conftest.er1 1720 cat conftest.er1 >&5 1721 mv -f conftest.er1 conftest.err 1722 fi 1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1724 test $ac_status = 0; } && { 1725 test -z "$ac_c_werror_flag" || 1726 test ! -s conftest.err 1727 } && test -s conftest.$ac_objext; then : 1728 ac_retval=0 1729else 1730 $as_echo "$as_me: failed program was:" >&5 1731sed 's/^/| /' conftest.$ac_ext >&5 1732 1733 ac_retval=1 1734fi 1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1736 as_fn_set_status $ac_retval 1737 1738} # ac_fn_c_try_compile 1739 1740# ac_fn_c_try_cpp LINENO 1741# ---------------------- 1742# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1743ac_fn_c_try_cpp () 1744{ 1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1746 if { { ac_try="$ac_cpp conftest.$ac_ext" 1747case "(($ac_try" in 1748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1749 *) ac_try_echo=$ac_try;; 1750esac 1751eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1752$as_echo "$ac_try_echo"; } >&5 1753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1754 ac_status=$? 1755 if test -s conftest.err; then 1756 grep -v '^ *+' conftest.err >conftest.er1 1757 cat conftest.er1 >&5 1758 mv -f conftest.er1 conftest.err 1759 fi 1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1761 test $ac_status = 0; } > conftest.i && { 1762 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1763 test ! -s conftest.err 1764 }; then : 1765 ac_retval=0 1766else 1767 $as_echo "$as_me: failed program was:" >&5 1768sed 's/^/| /' conftest.$ac_ext >&5 1769 1770 ac_retval=1 1771fi 1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1773 as_fn_set_status $ac_retval 1774 1775} # ac_fn_c_try_cpp 1776 1777# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1778# ------------------------------------------------------- 1779# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1780# the include files in INCLUDES and setting the cache variable VAR 1781# accordingly. 1782ac_fn_c_check_header_mongrel () 1783{ 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1785 if eval \${$3+:} false; then : 1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1787$as_echo_n "checking for $2... " >&6; } 1788if eval \${$3+:} false; then : 1789 $as_echo_n "(cached) " >&6 1790fi 1791eval ac_res=\$$3 1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1793$as_echo "$ac_res" >&6; } 1794else 1795 # Is the header compilable? 1796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1797$as_echo_n "checking $2 usability... " >&6; } 1798cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1799/* end confdefs.h. */ 1800$4 1801#include <$2> 1802_ACEOF 1803if ac_fn_c_try_compile "$LINENO"; then : 1804 ac_header_compiler=yes 1805else 1806 ac_header_compiler=no 1807fi 1808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1810$as_echo "$ac_header_compiler" >&6; } 1811 1812# Is the header present? 1813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1814$as_echo_n "checking $2 presence... " >&6; } 1815cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1816/* end confdefs.h. */ 1817#include <$2> 1818_ACEOF 1819if ac_fn_c_try_cpp "$LINENO"; then : 1820 ac_header_preproc=yes 1821else 1822 ac_header_preproc=no 1823fi 1824rm -f conftest.err conftest.i conftest.$ac_ext 1825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1826$as_echo "$ac_header_preproc" >&6; } 1827 1828# So? What about this header? 1829case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1830 yes:no: ) 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1832$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1834$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1835 ;; 1836 no:yes:* ) 1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1838$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1840$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1842$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1844$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1846$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1847( $as_echo "## --------------------------- ## 1848## Report this to m@ioalex.net ## 1849## --------------------------- ##" 1850 ) | sed "s/^/$as_me: WARNING: /" >&2 1851 ;; 1852esac 1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1854$as_echo_n "checking for $2... " >&6; } 1855if eval \${$3+:} false; then : 1856 $as_echo_n "(cached) " >&6 1857else 1858 eval "$3=\$ac_header_compiler" 1859fi 1860eval ac_res=\$$3 1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1862$as_echo "$ac_res" >&6; } 1863fi 1864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1865 1866} # ac_fn_c_check_header_mongrel 1867 1868# ac_fn_c_try_run LINENO 1869# ---------------------- 1870# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1871# that executables *can* be run. 1872ac_fn_c_try_run () 1873{ 1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1875 if { { ac_try="$ac_link" 1876case "(($ac_try" in 1877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1878 *) ac_try_echo=$ac_try;; 1879esac 1880eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1881$as_echo "$ac_try_echo"; } >&5 1882 (eval "$ac_link") 2>&5 1883 ac_status=$? 1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1885 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1886 { { case "(($ac_try" in 1887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1888 *) ac_try_echo=$ac_try;; 1889esac 1890eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1891$as_echo "$ac_try_echo"; } >&5 1892 (eval "$ac_try") 2>&5 1893 ac_status=$? 1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1895 test $ac_status = 0; }; }; then : 1896 ac_retval=0 1897else 1898 $as_echo "$as_me: program exited with status $ac_status" >&5 1899 $as_echo "$as_me: failed program was:" >&5 1900sed 's/^/| /' conftest.$ac_ext >&5 1901 1902 ac_retval=$ac_status 1903fi 1904 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1906 as_fn_set_status $ac_retval 1907 1908} # ac_fn_c_try_run 1909 1910# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1911# ------------------------------------------------------- 1912# Tests whether HEADER exists and can be compiled using the include files in 1913# INCLUDES, setting the cache variable VAR accordingly. 1914ac_fn_c_check_header_compile () 1915{ 1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1918$as_echo_n "checking for $2... " >&6; } 1919if eval \${$3+:} false; then : 1920 $as_echo_n "(cached) " >&6 1921else 1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1923/* end confdefs.h. */ 1924$4 1925#include <$2> 1926_ACEOF 1927if ac_fn_c_try_compile "$LINENO"; then : 1928 eval "$3=yes" 1929else 1930 eval "$3=no" 1931fi 1932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1933fi 1934eval ac_res=\$$3 1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1936$as_echo "$ac_res" >&6; } 1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1938 1939} # ac_fn_c_check_header_compile 1940 1941# ac_fn_c_try_link LINENO 1942# ----------------------- 1943# Try to link conftest.$ac_ext, and return whether this succeeded. 1944ac_fn_c_try_link () 1945{ 1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1947 rm -f conftest.$ac_objext conftest$ac_exeext 1948 if { { ac_try="$ac_link" 1949case "(($ac_try" in 1950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1951 *) ac_try_echo=$ac_try;; 1952esac 1953eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1954$as_echo "$ac_try_echo"; } >&5 1955 (eval "$ac_link") 2>conftest.err 1956 ac_status=$? 1957 if test -s conftest.err; then 1958 grep -v '^ *+' conftest.err >conftest.er1 1959 cat conftest.er1 >&5 1960 mv -f conftest.er1 conftest.err 1961 fi 1962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1963 test $ac_status = 0; } && { 1964 test -z "$ac_c_werror_flag" || 1965 test ! -s conftest.err 1966 } && test -s conftest$ac_exeext && { 1967 test "$cross_compiling" = yes || 1968 test -x conftest$ac_exeext 1969 }; then : 1970 ac_retval=0 1971else 1972 $as_echo "$as_me: failed program was:" >&5 1973sed 's/^/| /' conftest.$ac_ext >&5 1974 1975 ac_retval=1 1976fi 1977 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1978 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1979 # interfere with the next link command; also delete a directory that is 1980 # left behind by Apple's compiler. We do this before executing the actions. 1981 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1983 as_fn_set_status $ac_retval 1984 1985} # ac_fn_c_try_link 1986 1987# ac_fn_c_check_func LINENO FUNC VAR 1988# ---------------------------------- 1989# Tests whether FUNC exists, setting the cache variable VAR accordingly 1990ac_fn_c_check_func () 1991{ 1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1994$as_echo_n "checking for $2... " >&6; } 1995if eval \${$3+:} false; then : 1996 $as_echo_n "(cached) " >&6 1997else 1998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1999/* end confdefs.h. */ 2000/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2001 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2002#define $2 innocuous_$2 2003 2004/* System header to define __stub macros and hopefully few prototypes, 2005 which can conflict with char $2 (); below. 2006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2007 <limits.h> exists even on freestanding compilers. */ 2008 2009#ifdef __STDC__ 2010# include <limits.h> 2011#else 2012# include <assert.h> 2013#endif 2014 2015#undef $2 2016 2017/* Override any GCC internal prototype to avoid an error. 2018 Use char because int might match the return type of a GCC 2019 builtin and then its argument prototype would still apply. */ 2020#ifdef __cplusplus 2021extern "C" 2022#endif 2023char $2 (); 2024/* The GNU C library defines this for functions which it implements 2025 to always fail with ENOSYS. Some functions are actually named 2026 something starting with __ and the normal name is an alias. */ 2027#if defined __stub_$2 || defined __stub___$2 2028choke me 2029#endif 2030 2031int 2032main () 2033{ 2034return $2 (); 2035 ; 2036 return 0; 2037} 2038_ACEOF 2039if ac_fn_c_try_link "$LINENO"; then : 2040 eval "$3=yes" 2041else 2042 eval "$3=no" 2043fi 2044rm -f core conftest.err conftest.$ac_objext \ 2045 conftest$ac_exeext conftest.$ac_ext 2046fi 2047eval ac_res=\$$3 2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2049$as_echo "$ac_res" >&6; } 2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2051 2052} # ac_fn_c_check_func 2053 2054# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2055# --------------------------------------------- 2056# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2057# accordingly. 2058ac_fn_c_check_decl () 2059{ 2060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2061 as_decl_name=`echo $2|sed 's/ *(.*//'` 2062 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2064$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2065if eval \${$3+:} false; then : 2066 $as_echo_n "(cached) " >&6 2067else 2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2069/* end confdefs.h. */ 2070$4 2071int 2072main () 2073{ 2074#ifndef $as_decl_name 2075#ifdef __cplusplus 2076 (void) $as_decl_use; 2077#else 2078 (void) $as_decl_name; 2079#endif 2080#endif 2081 2082 ; 2083 return 0; 2084} 2085_ACEOF 2086if ac_fn_c_try_compile "$LINENO"; then : 2087 eval "$3=yes" 2088else 2089 eval "$3=no" 2090fi 2091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2092fi 2093eval ac_res=\$$3 2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2095$as_echo "$ac_res" >&6; } 2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2097 2098} # ac_fn_c_check_decl 2099 2100# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2101# ------------------------------------------- 2102# Tests whether TYPE exists after having included INCLUDES, setting cache 2103# variable VAR accordingly. 2104ac_fn_c_check_type () 2105{ 2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2108$as_echo_n "checking for $2... " >&6; } 2109if eval \${$3+:} false; then : 2110 $as_echo_n "(cached) " >&6 2111else 2112 eval "$3=no" 2113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2114/* end confdefs.h. */ 2115$4 2116int 2117main () 2118{ 2119if (sizeof ($2)) 2120 return 0; 2121 ; 2122 return 0; 2123} 2124_ACEOF 2125if ac_fn_c_try_compile "$LINENO"; then : 2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2127/* end confdefs.h. */ 2128$4 2129int 2130main () 2131{ 2132if (sizeof (($2))) 2133 return 0; 2134 ; 2135 return 0; 2136} 2137_ACEOF 2138if ac_fn_c_try_compile "$LINENO"; then : 2139 2140else 2141 eval "$3=yes" 2142fi 2143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2144fi 2145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2146fi 2147eval ac_res=\$$3 2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2149$as_echo "$ac_res" >&6; } 2150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2151 2152} # ac_fn_c_check_type 2153cat >config.log <<_ACEOF 2154This file contains any messages produced by compilers while 2155running configure, to aid debugging if configure makes a mistake. 2156 2157It was created by libmp3splt $as_me 0.9.2, which was 2158generated by GNU Autoconf 2.69. Invocation command line was 2159 2160 $ $0 $@ 2161 2162_ACEOF 2163exec 5>>config.log 2164{ 2165cat <<_ASUNAME 2166## --------- ## 2167## Platform. ## 2168## --------- ## 2169 2170hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2171uname -m = `(uname -m) 2>/dev/null || echo unknown` 2172uname -r = `(uname -r) 2>/dev/null || echo unknown` 2173uname -s = `(uname -s) 2>/dev/null || echo unknown` 2174uname -v = `(uname -v) 2>/dev/null || echo unknown` 2175 2176/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2177/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2178 2179/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2180/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2181/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2182/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2183/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2184/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2185/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2186 2187_ASUNAME 2188 2189as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2190for as_dir in $PATH 2191do 2192 IFS=$as_save_IFS 2193 test -z "$as_dir" && as_dir=. 2194 $as_echo "PATH: $as_dir" 2195 done 2196IFS=$as_save_IFS 2197 2198} >&5 2199 2200cat >&5 <<_ACEOF 2201 2202 2203## ----------- ## 2204## Core tests. ## 2205## ----------- ## 2206 2207_ACEOF 2208 2209 2210# Keep a trace of the command line. 2211# Strip out --no-create and --no-recursion so they do not pile up. 2212# Strip out --silent because we don't want to record it for future runs. 2213# Also quote any args containing shell meta-characters. 2214# Make two passes to allow for proper duplicate-argument suppression. 2215ac_configure_args= 2216ac_configure_args0= 2217ac_configure_args1= 2218ac_must_keep_next=false 2219for ac_pass in 1 2 2220do 2221 for ac_arg 2222 do 2223 case $ac_arg in 2224 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2226 | -silent | --silent | --silen | --sile | --sil) 2227 continue ;; 2228 *\'*) 2229 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2230 esac 2231 case $ac_pass in 2232 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2233 2) 2234 as_fn_append ac_configure_args1 " '$ac_arg'" 2235 if test $ac_must_keep_next = true; then 2236 ac_must_keep_next=false # Got value, back to normal. 2237 else 2238 case $ac_arg in 2239 *=* | --config-cache | -C | -disable-* | --disable-* \ 2240 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2241 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2242 | -with-* | --with-* | -without-* | --without-* | --x) 2243 case "$ac_configure_args0 " in 2244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2245 esac 2246 ;; 2247 -* ) ac_must_keep_next=true ;; 2248 esac 2249 fi 2250 as_fn_append ac_configure_args " '$ac_arg'" 2251 ;; 2252 esac 2253 done 2254done 2255{ ac_configure_args0=; unset ac_configure_args0;} 2256{ ac_configure_args1=; unset ac_configure_args1;} 2257 2258# When interrupted or exit'd, cleanup temporary files, and complete 2259# config.log. We remove comments because anyway the quotes in there 2260# would cause problems or look ugly. 2261# WARNING: Use '\'' to represent an apostrophe within the trap. 2262# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2263trap 'exit_status=$? 2264 # Save into config.log some information that might help in debugging. 2265 { 2266 echo 2267 2268 $as_echo "## ---------------- ## 2269## Cache variables. ## 2270## ---------------- ##" 2271 echo 2272 # The following way of writing the cache mishandles newlines in values, 2273( 2274 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2275 eval ac_val=\$$ac_var 2276 case $ac_val in #( 2277 *${as_nl}*) 2278 case $ac_var in #( 2279 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2280$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2281 esac 2282 case $ac_var in #( 2283 _ | IFS | as_nl) ;; #( 2284 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2285 *) { eval $ac_var=; unset $ac_var;} ;; 2286 esac ;; 2287 esac 2288 done 2289 (set) 2>&1 | 2290 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2291 *${as_nl}ac_space=\ *) 2292 sed -n \ 2293 "s/'\''/'\''\\\\'\'''\''/g; 2294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2295 ;; #( 2296 *) 2297 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2298 ;; 2299 esac | 2300 sort 2301) 2302 echo 2303 2304 $as_echo "## ----------------- ## 2305## Output variables. ## 2306## ----------------- ##" 2307 echo 2308 for ac_var in $ac_subst_vars 2309 do 2310 eval ac_val=\$$ac_var 2311 case $ac_val in 2312 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2313 esac 2314 $as_echo "$ac_var='\''$ac_val'\''" 2315 done | sort 2316 echo 2317 2318 if test -n "$ac_subst_files"; then 2319 $as_echo "## ------------------- ## 2320## File substitutions. ## 2321## ------------------- ##" 2322 echo 2323 for ac_var in $ac_subst_files 2324 do 2325 eval ac_val=\$$ac_var 2326 case $ac_val in 2327 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2328 esac 2329 $as_echo "$ac_var='\''$ac_val'\''" 2330 done | sort 2331 echo 2332 fi 2333 2334 if test -s confdefs.h; then 2335 $as_echo "## ----------- ## 2336## confdefs.h. ## 2337## ----------- ##" 2338 echo 2339 cat confdefs.h 2340 echo 2341 fi 2342 test "$ac_signal" != 0 && 2343 $as_echo "$as_me: caught signal $ac_signal" 2344 $as_echo "$as_me: exit $exit_status" 2345 } >&5 2346 rm -f core *.core core.conftest.* && 2347 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2348 exit $exit_status 2349' 0 2350for ac_signal in 1 2 13 15; do 2351 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2352done 2353ac_signal=0 2354 2355# confdefs.h avoids OS command line length limits that DEFS can exceed. 2356rm -f -r conftest* confdefs.h 2357 2358$as_echo "/* confdefs.h */" > confdefs.h 2359 2360# Predefined preprocessor variables. 2361 2362cat >>confdefs.h <<_ACEOF 2363#define PACKAGE_NAME "$PACKAGE_NAME" 2364_ACEOF 2365 2366cat >>confdefs.h <<_ACEOF 2367#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2368_ACEOF 2369 2370cat >>confdefs.h <<_ACEOF 2371#define PACKAGE_VERSION "$PACKAGE_VERSION" 2372_ACEOF 2373 2374cat >>confdefs.h <<_ACEOF 2375#define PACKAGE_STRING "$PACKAGE_STRING" 2376_ACEOF 2377 2378cat >>confdefs.h <<_ACEOF 2379#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2380_ACEOF 2381 2382cat >>confdefs.h <<_ACEOF 2383#define PACKAGE_URL "$PACKAGE_URL" 2384_ACEOF 2385 2386 2387# Let the site file select an alternate cache file if it wants to. 2388# Prefer an explicitly selected file to automatically selected ones. 2389ac_site_file1=NONE 2390ac_site_file2=NONE 2391if test -n "$CONFIG_SITE"; then 2392 # We do not want a PATH search for config.site. 2393 case $CONFIG_SITE in #(( 2394 -*) ac_site_file1=./$CONFIG_SITE;; 2395 */*) ac_site_file1=$CONFIG_SITE;; 2396 *) ac_site_file1=./$CONFIG_SITE;; 2397 esac 2398elif test "x$prefix" != xNONE; then 2399 ac_site_file1=$prefix/share/config.site 2400 ac_site_file2=$prefix/etc/config.site 2401else 2402 ac_site_file1=$ac_default_prefix/share/config.site 2403 ac_site_file2=$ac_default_prefix/etc/config.site 2404fi 2405for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2406do 2407 test "x$ac_site_file" = xNONE && continue 2408 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2409 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2410$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2411 sed 's/^/| /' "$ac_site_file" >&5 2412 . "$ac_site_file" \ 2413 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2414$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2415as_fn_error $? "failed to load site script $ac_site_file 2416See \`config.log' for more details" "$LINENO" 5; } 2417 fi 2418done 2419 2420if test -r "$cache_file"; then 2421 # Some versions of bash will fail to source /dev/null (special files 2422 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2423 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2424 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2425$as_echo "$as_me: loading cache $cache_file" >&6;} 2426 case $cache_file in 2427 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2428 *) . "./$cache_file";; 2429 esac 2430 fi 2431else 2432 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2433$as_echo "$as_me: creating cache $cache_file" >&6;} 2434 >$cache_file 2435fi 2436 2437# Check that the precious variables saved in the cache have kept the same 2438# value. 2439ac_cache_corrupted=false 2440for ac_var in $ac_precious_vars; do 2441 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2442 eval ac_new_set=\$ac_env_${ac_var}_set 2443 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2444 eval ac_new_val=\$ac_env_${ac_var}_value 2445 case $ac_old_set,$ac_new_set in 2446 set,) 2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2448$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2449 ac_cache_corrupted=: ;; 2450 ,set) 2451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2452$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2453 ac_cache_corrupted=: ;; 2454 ,);; 2455 *) 2456 if test "x$ac_old_val" != "x$ac_new_val"; then 2457 # differences in whitespace do not lead to failure. 2458 ac_old_val_w=`echo x $ac_old_val` 2459 ac_new_val_w=`echo x $ac_new_val` 2460 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2462$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2463 ac_cache_corrupted=: 2464 else 2465 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2466$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2467 eval $ac_var=\$ac_old_val 2468 fi 2469 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2470$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2471 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2472$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2473 fi;; 2474 esac 2475 # Pass precious variables to config.status. 2476 if test "$ac_new_set" = set; then 2477 case $ac_new_val in 2478 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2479 *) ac_arg=$ac_var=$ac_new_val ;; 2480 esac 2481 case " $ac_configure_args " in 2482 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2483 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2484 esac 2485 fi 2486done 2487if $ac_cache_corrupted; then 2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2489$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2491$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2492 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2493fi 2494## -------------------- ## 2495## Main body of script. ## 2496## -------------------- ## 2497 2498ac_ext=c 2499ac_cpp='$CPP $CPPFLAGS' 2500ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2501ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2502ac_compiler_gnu=$ac_cv_c_compiler_gnu 2503 2504 2505ac_aux_dir= 2506for ac_dir in libltdl/config "$srcdir"/libltdl/config; do 2507 if test -f "$ac_dir/install-sh"; then 2508 ac_aux_dir=$ac_dir 2509 ac_install_sh="$ac_aux_dir/install-sh -c" 2510 break 2511 elif test -f "$ac_dir/install.sh"; then 2512 ac_aux_dir=$ac_dir 2513 ac_install_sh="$ac_aux_dir/install.sh -c" 2514 break 2515 elif test -f "$ac_dir/shtool"; then 2516 ac_aux_dir=$ac_dir 2517 ac_install_sh="$ac_aux_dir/shtool install -c" 2518 break 2519 fi 2520done 2521if test -z "$ac_aux_dir"; then 2522 as_fn_error $? "cannot find install-sh, install.sh, or shtool in libltdl/config \"$srcdir\"/libltdl/config" "$LINENO" 5 2523fi 2524 2525# These three variables are undocumented and unsupported, 2526# and are intended to be withdrawn in a future Autoconf release. 2527# They can cause serious problems if a builder's source tree is in a directory 2528# whose full name contains unusual characters. 2529ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2530ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2531ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2532 2533 2534am__api_version='1.14' 2535 2536# Find a good install program. We prefer a C program (faster), 2537# so one script is as good as another. But avoid the broken or 2538# incompatible versions: 2539# SysV /etc/install, /usr/sbin/install 2540# SunOS /usr/etc/install 2541# IRIX /sbin/install 2542# AIX /bin/install 2543# AmigaOS /C/install, which installs bootblocks on floppy discs 2544# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2545# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2546# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2547# OS/2's system install, which has a completely different semantic 2548# ./install, which can be erroneously created by make from ./install.sh. 2549# Reject install programs that cannot install multiple files. 2550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2551$as_echo_n "checking for a BSD-compatible install... " >&6; } 2552if test -z "$INSTALL"; then 2553if ${ac_cv_path_install+:} false; then : 2554 $as_echo_n "(cached) " >&6 2555else 2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2557for as_dir in $PATH 2558do 2559 IFS=$as_save_IFS 2560 test -z "$as_dir" && as_dir=. 2561 # Account for people who put trailing slashes in PATH elements. 2562case $as_dir/ in #(( 2563 ./ | .// | /[cC]/* | \ 2564 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2565 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2566 /usr/ucb/* ) ;; 2567 *) 2568 # OSF1 and SCO ODT 3.0 have their own names for install. 2569 # Don't use installbsd from OSF since it installs stuff as root 2570 # by default. 2571 for ac_prog in ginstall scoinst install; do 2572 for ac_exec_ext in '' $ac_executable_extensions; do 2573 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2574 if test $ac_prog = install && 2575 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2576 # AIX install. It has an incompatible calling convention. 2577 : 2578 elif test $ac_prog = install && 2579 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2580 # program-specific install script used by HP pwplus--don't use. 2581 : 2582 else 2583 rm -rf conftest.one conftest.two conftest.dir 2584 echo one > conftest.one 2585 echo two > conftest.two 2586 mkdir conftest.dir 2587 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2588 test -s conftest.one && test -s conftest.two && 2589 test -s conftest.dir/conftest.one && 2590 test -s conftest.dir/conftest.two 2591 then 2592 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2593 break 3 2594 fi 2595 fi 2596 fi 2597 done 2598 done 2599 ;; 2600esac 2601 2602 done 2603IFS=$as_save_IFS 2604 2605rm -rf conftest.one conftest.two conftest.dir 2606 2607fi 2608 if test "${ac_cv_path_install+set}" = set; then 2609 INSTALL=$ac_cv_path_install 2610 else 2611 # As a last resort, use the slow shell script. Don't cache a 2612 # value for INSTALL within a source directory, because that will 2613 # break other packages using the cache if that directory is 2614 # removed, or if the value is a relative name. 2615 INSTALL=$ac_install_sh 2616 fi 2617fi 2618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2619$as_echo "$INSTALL" >&6; } 2620 2621# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2622# It thinks the first close brace ends the variable substitution. 2623test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2624 2625test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2626 2627test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2628 2629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2630$as_echo_n "checking whether build environment is sane... " >&6; } 2631# Reject unsafe characters in $srcdir or the absolute working directory 2632# name. Accept space and tab only in the latter. 2633am_lf=' 2634' 2635case `pwd` in 2636 *[\\\"\#\$\&\'\`$am_lf]*) 2637 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2638esac 2639case $srcdir in 2640 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2641 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2642esac 2643 2644# Do 'set' in a subshell so we don't clobber the current shell's 2645# arguments. Must try -L first in case configure is actually a 2646# symlink; some systems play weird games with the mod time of symlinks 2647# (eg FreeBSD returns the mod time of the symlink's containing 2648# directory). 2649if ( 2650 am_has_slept=no 2651 for am_try in 1 2; do 2652 echo "timestamp, slept: $am_has_slept" > conftest.file 2653 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2654 if test "$*" = "X"; then 2655 # -L didn't work. 2656 set X `ls -t "$srcdir/configure" conftest.file` 2657 fi 2658 if test "$*" != "X $srcdir/configure conftest.file" \ 2659 && test "$*" != "X conftest.file $srcdir/configure"; then 2660 2661 # If neither matched, then we have a broken ls. This can happen 2662 # if, for instance, CONFIG_SHELL is bash and it inherits a 2663 # broken ls alias from the environment. This has actually 2664 # happened. Such a system could not be considered "sane". 2665 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2666 alias in your environment" "$LINENO" 5 2667 fi 2668 if test "$2" = conftest.file || test $am_try -eq 2; then 2669 break 2670 fi 2671 # Just in case. 2672 sleep 1 2673 am_has_slept=yes 2674 done 2675 test "$2" = conftest.file 2676 ) 2677then 2678 # Ok. 2679 : 2680else 2681 as_fn_error $? "newly created file is older than distributed files! 2682Check your system clock" "$LINENO" 5 2683fi 2684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2685$as_echo "yes" >&6; } 2686# If we didn't sleep, we still need to ensure time stamps of config.status and 2687# generated files are strictly newer. 2688am_sleep_pid= 2689if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2690 ( sleep 1 ) & 2691 am_sleep_pid=$! 2692fi 2693 2694rm -f conftest.file 2695 2696test "$program_prefix" != NONE && 2697 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2698# Use a double $ so make ignores it. 2699test "$program_suffix" != NONE && 2700 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2701# Double any \ or $. 2702# By default was `s,x,x', remove it if useless. 2703ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2704program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2705 2706# expand $ac_aux_dir to an absolute path 2707am_aux_dir=`cd $ac_aux_dir && pwd` 2708 2709if test x"${MISSING+set}" != xset; then 2710 case $am_aux_dir in 2711 *\ * | *\ *) 2712 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2713 *) 2714 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2715 esac 2716fi 2717# Use eval to expand $SHELL 2718if eval "$MISSING --is-lightweight"; then 2719 am_missing_run="$MISSING " 2720else 2721 am_missing_run= 2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2723$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2724fi 2725 2726if test x"${install_sh}" != xset; then 2727 case $am_aux_dir in 2728 *\ * | *\ *) 2729 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2730 *) 2731 install_sh="\${SHELL} $am_aux_dir/install-sh" 2732 esac 2733fi 2734 2735# Installed binaries are usually stripped using 'strip' when the user 2736# run "make install-strip". However 'strip' might not be the right 2737# tool to use in cross-compilation environments, therefore Automake 2738# will honor the 'STRIP' environment variable to overrule this program. 2739if test "$cross_compiling" != no; then 2740 if test -n "$ac_tool_prefix"; then 2741 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2742set dummy ${ac_tool_prefix}strip; ac_word=$2 2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2744$as_echo_n "checking for $ac_word... " >&6; } 2745if ${ac_cv_prog_STRIP+:} false; then : 2746 $as_echo_n "(cached) " >&6 2747else 2748 if test -n "$STRIP"; then 2749 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2750else 2751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2752for as_dir in $PATH 2753do 2754 IFS=$as_save_IFS 2755 test -z "$as_dir" && as_dir=. 2756 for ac_exec_ext in '' $ac_executable_extensions; do 2757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2758 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2760 break 2 2761 fi 2762done 2763 done 2764IFS=$as_save_IFS 2765 2766fi 2767fi 2768STRIP=$ac_cv_prog_STRIP 2769if test -n "$STRIP"; then 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2771$as_echo "$STRIP" >&6; } 2772else 2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2774$as_echo "no" >&6; } 2775fi 2776 2777 2778fi 2779if test -z "$ac_cv_prog_STRIP"; then 2780 ac_ct_STRIP=$STRIP 2781 # Extract the first word of "strip", so it can be a program name with args. 2782set dummy strip; ac_word=$2 2783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2784$as_echo_n "checking for $ac_word... " >&6; } 2785if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2786 $as_echo_n "(cached) " >&6 2787else 2788 if test -n "$ac_ct_STRIP"; then 2789 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2790else 2791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2792for as_dir in $PATH 2793do 2794 IFS=$as_save_IFS 2795 test -z "$as_dir" && as_dir=. 2796 for ac_exec_ext in '' $ac_executable_extensions; do 2797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2798 ac_cv_prog_ac_ct_STRIP="strip" 2799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2800 break 2 2801 fi 2802done 2803 done 2804IFS=$as_save_IFS 2805 2806fi 2807fi 2808ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2809if test -n "$ac_ct_STRIP"; then 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2811$as_echo "$ac_ct_STRIP" >&6; } 2812else 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2814$as_echo "no" >&6; } 2815fi 2816 2817 if test "x$ac_ct_STRIP" = x; then 2818 STRIP=":" 2819 else 2820 case $cross_compiling:$ac_tool_warned in 2821yes:) 2822{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2823$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2824ac_tool_warned=yes ;; 2825esac 2826 STRIP=$ac_ct_STRIP 2827 fi 2828else 2829 STRIP="$ac_cv_prog_STRIP" 2830fi 2831 2832fi 2833INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2834 2835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2836$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2837if test -z "$MKDIR_P"; then 2838 if ${ac_cv_path_mkdir+:} false; then : 2839 $as_echo_n "(cached) " >&6 2840else 2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2842for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2843do 2844 IFS=$as_save_IFS 2845 test -z "$as_dir" && as_dir=. 2846 for ac_prog in mkdir gmkdir; do 2847 for ac_exec_ext in '' $ac_executable_extensions; do 2848 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2849 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2850 'mkdir (GNU coreutils) '* | \ 2851 'mkdir (coreutils) '* | \ 2852 'mkdir (fileutils) '4.1*) 2853 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2854 break 3;; 2855 esac 2856 done 2857 done 2858 done 2859IFS=$as_save_IFS 2860 2861fi 2862 2863 test -d ./--version && rmdir ./--version 2864 if test "${ac_cv_path_mkdir+set}" = set; then 2865 MKDIR_P="$ac_cv_path_mkdir -p" 2866 else 2867 # As a last resort, use the slow shell script. Don't cache a 2868 # value for MKDIR_P within a source directory, because that will 2869 # break other packages using the cache if that directory is 2870 # removed, or if the value is a relative name. 2871 MKDIR_P="$ac_install_sh -d" 2872 fi 2873fi 2874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2875$as_echo "$MKDIR_P" >&6; } 2876 2877for ac_prog in gawk mawk nawk awk 2878do 2879 # Extract the first word of "$ac_prog", so it can be a program name with args. 2880set dummy $ac_prog; ac_word=$2 2881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2882$as_echo_n "checking for $ac_word... " >&6; } 2883if ${ac_cv_prog_AWK+:} false; then : 2884 $as_echo_n "(cached) " >&6 2885else 2886 if test -n "$AWK"; then 2887 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2888else 2889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2890for as_dir in $PATH 2891do 2892 IFS=$as_save_IFS 2893 test -z "$as_dir" && as_dir=. 2894 for ac_exec_ext in '' $ac_executable_extensions; do 2895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2896 ac_cv_prog_AWK="$ac_prog" 2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2898 break 2 2899 fi 2900done 2901 done 2902IFS=$as_save_IFS 2903 2904fi 2905fi 2906AWK=$ac_cv_prog_AWK 2907if test -n "$AWK"; then 2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2909$as_echo "$AWK" >&6; } 2910else 2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2912$as_echo "no" >&6; } 2913fi 2914 2915 2916 test -n "$AWK" && break 2917done 2918 2919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2920$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2921set x ${MAKE-make} 2922ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2923if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2924 $as_echo_n "(cached) " >&6 2925else 2926 cat >conftest.make <<\_ACEOF 2927SHELL = /bin/sh 2928all: 2929 @echo '@@@%%%=$(MAKE)=@@@%%%' 2930_ACEOF 2931# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2932case `${MAKE-make} -f conftest.make 2>/dev/null` in 2933 *@@@%%%=?*=@@@%%%*) 2934 eval ac_cv_prog_make_${ac_make}_set=yes;; 2935 *) 2936 eval ac_cv_prog_make_${ac_make}_set=no;; 2937esac 2938rm -f conftest.make 2939fi 2940if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2942$as_echo "yes" >&6; } 2943 SET_MAKE= 2944else 2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2946$as_echo "no" >&6; } 2947 SET_MAKE="MAKE=${MAKE-make}" 2948fi 2949 2950rm -rf .tst 2>/dev/null 2951mkdir .tst 2>/dev/null 2952if test -d .tst; then 2953 am__leading_dot=. 2954else 2955 am__leading_dot=_ 2956fi 2957rmdir .tst 2>/dev/null 2958 2959# Check whether --enable-silent-rules was given. 2960if test "${enable_silent_rules+set}" = set; then : 2961 enableval=$enable_silent_rules; 2962fi 2963 2964case $enable_silent_rules in # ((( 2965 yes) AM_DEFAULT_VERBOSITY=0;; 2966 no) AM_DEFAULT_VERBOSITY=1;; 2967 *) AM_DEFAULT_VERBOSITY=1;; 2968esac 2969am_make=${MAKE-make} 2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2971$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2972if ${am_cv_make_support_nested_variables+:} false; then : 2973 $as_echo_n "(cached) " >&6 2974else 2975 if $as_echo 'TRUE=$(BAR$(V)) 2976BAR0=false 2977BAR1=true 2978V=1 2979am__doit: 2980 @$(TRUE) 2981.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2982 am_cv_make_support_nested_variables=yes 2983else 2984 am_cv_make_support_nested_variables=no 2985fi 2986fi 2987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2988$as_echo "$am_cv_make_support_nested_variables" >&6; } 2989if test $am_cv_make_support_nested_variables = yes; then 2990 AM_V='$(V)' 2991 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2992else 2993 AM_V=$AM_DEFAULT_VERBOSITY 2994 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2995fi 2996AM_BACKSLASH='\' 2997 2998if test "`cd $srcdir && pwd`" != "`pwd`"; then 2999 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3000 # is not polluted with repeated "-I." 3001 am__isrc=' -I$(srcdir)' 3002 # test to see if srcdir already configured 3003 if test -f $srcdir/config.status; then 3004 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3005 fi 3006fi 3007 3008# test whether we have cygpath 3009if test -z "$CYGPATH_W"; then 3010 if (cygpath --version) >/dev/null 2>/dev/null; then 3011 CYGPATH_W='cygpath -w' 3012 else 3013 CYGPATH_W=echo 3014 fi 3015fi 3016 3017 3018# Define the identity of the package. 3019 PACKAGE='libmp3splt' 3020 VERSION='0.9.2' 3021 3022 3023cat >>confdefs.h <<_ACEOF 3024#define PACKAGE "$PACKAGE" 3025_ACEOF 3026 3027 3028cat >>confdefs.h <<_ACEOF 3029#define VERSION "$VERSION" 3030_ACEOF 3031 3032# Some tools Automake needs. 3033 3034ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3035 3036 3037AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3038 3039 3040AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3041 3042 3043AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3044 3045 3046MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3047 3048# For better backward compatibility. To be removed once Automake 1.9.x 3049# dies out for good. For more background, see: 3050# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3051# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3052mkdir_p='$(MKDIR_P)' 3053 3054# We need awk for the "check" target. The system "awk" is bad on 3055# some platforms. 3056# Always define AMTAR for backward compatibility. Yes, it's still used 3057# in the wild :-( We should find a proper way to deprecate it ... 3058AMTAR='$${TAR-tar}' 3059 3060 3061# We'll loop over all known methods to create a tar archive until one works. 3062_am_tools='gnutar pax cpio none' 3063 3064am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3065 3066 3067 3068 3069 3070 3071# POSIX will say in a future version that running "rm -f" with no argument 3072# is OK; and we want to be able to make that assumption in our Makefile 3073# recipes. So use an aggressive probe to check that the usage we want is 3074# actually supported "in the wild" to an acceptable degree. 3075# See automake bug#10828. 3076# To make any issue more visible, cause the running configure to be aborted 3077# by default if the 'rm' program in use doesn't match our expectations; the 3078# user can still override this though. 3079if rm -f && rm -fr && rm -rf; then : OK; else 3080 cat >&2 <<'END' 3081Oops! 3082 3083Your 'rm' program seems unable to run without file operands specified 3084on the command line, even when the '-f' option is present. This is contrary 3085to the behaviour of most rm programs out there, and not conforming with 3086the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3087 3088Please tell bug-automake@gnu.org about your system, including the value 3089of your $PATH and any error possibly output before this message. This 3090can help us improve future automake versions. 3091 3092END 3093 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3094 echo 'Configuration will proceed anyway, since you have set the' >&2 3095 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3096 echo >&2 3097 else 3098 cat >&2 <<'END' 3099Aborting the configuration process, to ensure you take notice of the issue. 3100 3101You can download and install GNU coreutils to get an 'rm' implementation 3102that behaves properly: <http://www.gnu.org/software/coreutils/>. 3103 3104If you want to complete the configuration process using your problematic 3105'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3106to "yes", and re-run configure. 3107 3108END 3109 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3110 fi 3111fi 3112 3113ac_config_headers="$ac_config_headers config.h" 3114 3115 3116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3117$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3118 # Check whether --enable-maintainer-mode was given. 3119if test "${enable_maintainer_mode+set}" = set; then : 3120 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3121else 3122 USE_MAINTAINER_MODE=yes 3123fi 3124 3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3126$as_echo "$USE_MAINTAINER_MODE" >&6; } 3127 if test $USE_MAINTAINER_MODE = yes; then 3128 MAINTAINER_MODE_TRUE= 3129 MAINTAINER_MODE_FALSE='#' 3130else 3131 MAINTAINER_MODE_TRUE='#' 3132 MAINTAINER_MODE_FALSE= 3133fi 3134 3135 MAINT=$MAINTAINER_MODE_TRUE 3136 3137 3138 3139LIBMP3SPLT_MAJOR_VERSION=0 3140 3141LIBMP3SPLT_MINOR_VERSION=9 3142 3143LIBMP3SPLT_MICRO_VERSION=2 3144 3145 3146################################################# 3147# Check for programs 3148################################################# 3149 3150ac_ext=c 3151ac_cpp='$CPP $CPPFLAGS' 3152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3154ac_compiler_gnu=$ac_cv_c_compiler_gnu 3155if test -n "$ac_tool_prefix"; then 3156 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3157set dummy ${ac_tool_prefix}gcc; ac_word=$2 3158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3159$as_echo_n "checking for $ac_word... " >&6; } 3160if ${ac_cv_prog_CC+:} false; then : 3161 $as_echo_n "(cached) " >&6 3162else 3163 if test -n "$CC"; then 3164 ac_cv_prog_CC="$CC" # Let the user override the test. 3165else 3166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3167for as_dir in $PATH 3168do 3169 IFS=$as_save_IFS 3170 test -z "$as_dir" && as_dir=. 3171 for ac_exec_ext in '' $ac_executable_extensions; do 3172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3173 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3175 break 2 3176 fi 3177done 3178 done 3179IFS=$as_save_IFS 3180 3181fi 3182fi 3183CC=$ac_cv_prog_CC 3184if test -n "$CC"; then 3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3186$as_echo "$CC" >&6; } 3187else 3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3189$as_echo "no" >&6; } 3190fi 3191 3192 3193fi 3194if test -z "$ac_cv_prog_CC"; then 3195 ac_ct_CC=$CC 3196 # Extract the first word of "gcc", so it can be a program name with args. 3197set dummy gcc; ac_word=$2 3198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3199$as_echo_n "checking for $ac_word... " >&6; } 3200if ${ac_cv_prog_ac_ct_CC+:} false; then : 3201 $as_echo_n "(cached) " >&6 3202else 3203 if test -n "$ac_ct_CC"; then 3204 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3205else 3206as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3207for as_dir in $PATH 3208do 3209 IFS=$as_save_IFS 3210 test -z "$as_dir" && as_dir=. 3211 for ac_exec_ext in '' $ac_executable_extensions; do 3212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3213 ac_cv_prog_ac_ct_CC="gcc" 3214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3215 break 2 3216 fi 3217done 3218 done 3219IFS=$as_save_IFS 3220 3221fi 3222fi 3223ac_ct_CC=$ac_cv_prog_ac_ct_CC 3224if test -n "$ac_ct_CC"; then 3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3226$as_echo "$ac_ct_CC" >&6; } 3227else 3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3229$as_echo "no" >&6; } 3230fi 3231 3232 if test "x$ac_ct_CC" = x; then 3233 CC="" 3234 else 3235 case $cross_compiling:$ac_tool_warned in 3236yes:) 3237{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3238$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3239ac_tool_warned=yes ;; 3240esac 3241 CC=$ac_ct_CC 3242 fi 3243else 3244 CC="$ac_cv_prog_CC" 3245fi 3246 3247if test -z "$CC"; then 3248 if test -n "$ac_tool_prefix"; then 3249 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3250set dummy ${ac_tool_prefix}cc; ac_word=$2 3251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3252$as_echo_n "checking for $ac_word... " >&6; } 3253if ${ac_cv_prog_CC+:} false; then : 3254 $as_echo_n "(cached) " >&6 3255else 3256 if test -n "$CC"; then 3257 ac_cv_prog_CC="$CC" # Let the user override the test. 3258else 3259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3260for as_dir in $PATH 3261do 3262 IFS=$as_save_IFS 3263 test -z "$as_dir" && as_dir=. 3264 for ac_exec_ext in '' $ac_executable_extensions; do 3265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3266 ac_cv_prog_CC="${ac_tool_prefix}cc" 3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3268 break 2 3269 fi 3270done 3271 done 3272IFS=$as_save_IFS 3273 3274fi 3275fi 3276CC=$ac_cv_prog_CC 3277if test -n "$CC"; then 3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3279$as_echo "$CC" >&6; } 3280else 3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3282$as_echo "no" >&6; } 3283fi 3284 3285 3286 fi 3287fi 3288if test -z "$CC"; then 3289 # Extract the first word of "cc", so it can be a program name with args. 3290set dummy cc; ac_word=$2 3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3292$as_echo_n "checking for $ac_word... " >&6; } 3293if ${ac_cv_prog_CC+:} false; then : 3294 $as_echo_n "(cached) " >&6 3295else 3296 if test -n "$CC"; then 3297 ac_cv_prog_CC="$CC" # Let the user override the test. 3298else 3299 ac_prog_rejected=no 3300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3301for as_dir in $PATH 3302do 3303 IFS=$as_save_IFS 3304 test -z "$as_dir" && as_dir=. 3305 for ac_exec_ext in '' $ac_executable_extensions; do 3306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3307 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3308 ac_prog_rejected=yes 3309 continue 3310 fi 3311 ac_cv_prog_CC="cc" 3312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3313 break 2 3314 fi 3315done 3316 done 3317IFS=$as_save_IFS 3318 3319if test $ac_prog_rejected = yes; then 3320 # We found a bogon in the path, so make sure we never use it. 3321 set dummy $ac_cv_prog_CC 3322 shift 3323 if test $# != 0; then 3324 # We chose a different compiler from the bogus one. 3325 # However, it has the same basename, so the bogon will be chosen 3326 # first if we set CC to just the basename; use the full file name. 3327 shift 3328 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3329 fi 3330fi 3331fi 3332fi 3333CC=$ac_cv_prog_CC 3334if test -n "$CC"; then 3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3336$as_echo "$CC" >&6; } 3337else 3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3339$as_echo "no" >&6; } 3340fi 3341 3342 3343fi 3344if test -z "$CC"; then 3345 if test -n "$ac_tool_prefix"; then 3346 for ac_prog in cl.exe 3347 do 3348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3349set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3351$as_echo_n "checking for $ac_word... " >&6; } 3352if ${ac_cv_prog_CC+:} false; then : 3353 $as_echo_n "(cached) " >&6 3354else 3355 if test -n "$CC"; then 3356 ac_cv_prog_CC="$CC" # Let the user override the test. 3357else 3358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3359for as_dir in $PATH 3360do 3361 IFS=$as_save_IFS 3362 test -z "$as_dir" && as_dir=. 3363 for ac_exec_ext in '' $ac_executable_extensions; do 3364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3365 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3367 break 2 3368 fi 3369done 3370 done 3371IFS=$as_save_IFS 3372 3373fi 3374fi 3375CC=$ac_cv_prog_CC 3376if test -n "$CC"; then 3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3378$as_echo "$CC" >&6; } 3379else 3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3381$as_echo "no" >&6; } 3382fi 3383 3384 3385 test -n "$CC" && break 3386 done 3387fi 3388if test -z "$CC"; then 3389 ac_ct_CC=$CC 3390 for ac_prog in cl.exe 3391do 3392 # Extract the first word of "$ac_prog", so it can be a program name with args. 3393set dummy $ac_prog; ac_word=$2 3394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3395$as_echo_n "checking for $ac_word... " >&6; } 3396if ${ac_cv_prog_ac_ct_CC+:} false; then : 3397 $as_echo_n "(cached) " >&6 3398else 3399 if test -n "$ac_ct_CC"; then 3400 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3401else 3402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3403for as_dir in $PATH 3404do 3405 IFS=$as_save_IFS 3406 test -z "$as_dir" && as_dir=. 3407 for ac_exec_ext in '' $ac_executable_extensions; do 3408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3409 ac_cv_prog_ac_ct_CC="$ac_prog" 3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3411 break 2 3412 fi 3413done 3414 done 3415IFS=$as_save_IFS 3416 3417fi 3418fi 3419ac_ct_CC=$ac_cv_prog_ac_ct_CC 3420if test -n "$ac_ct_CC"; then 3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3422$as_echo "$ac_ct_CC" >&6; } 3423else 3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3425$as_echo "no" >&6; } 3426fi 3427 3428 3429 test -n "$ac_ct_CC" && break 3430done 3431 3432 if test "x$ac_ct_CC" = x; then 3433 CC="" 3434 else 3435 case $cross_compiling:$ac_tool_warned in 3436yes:) 3437{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3438$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3439ac_tool_warned=yes ;; 3440esac 3441 CC=$ac_ct_CC 3442 fi 3443fi 3444 3445fi 3446 3447 3448test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3449$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3450as_fn_error $? "no acceptable C compiler found in \$PATH 3451See \`config.log' for more details" "$LINENO" 5; } 3452 3453# Provide some information about the compiler. 3454$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3455set X $ac_compile 3456ac_compiler=$2 3457for ac_option in --version -v -V -qversion; do 3458 { { ac_try="$ac_compiler $ac_option >&5" 3459case "(($ac_try" in 3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3461 *) ac_try_echo=$ac_try;; 3462esac 3463eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3464$as_echo "$ac_try_echo"; } >&5 3465 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3466 ac_status=$? 3467 if test -s conftest.err; then 3468 sed '10a\ 3469... rest of stderr output deleted ... 3470 10q' conftest.err >conftest.er1 3471 cat conftest.er1 >&5 3472 fi 3473 rm -f conftest.er1 conftest.err 3474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3475 test $ac_status = 0; } 3476done 3477 3478cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3479/* end confdefs.h. */ 3480 3481int 3482main () 3483{ 3484 3485 ; 3486 return 0; 3487} 3488_ACEOF 3489ac_clean_files_save=$ac_clean_files 3490ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3491# Try to create an executable without -o first, disregard a.out. 3492# It will help us diagnose broken compilers, and finding out an intuition 3493# of exeext. 3494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3495$as_echo_n "checking whether the C compiler works... " >&6; } 3496ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3497 3498# The possible output files: 3499ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3500 3501ac_rmfiles= 3502for ac_file in $ac_files 3503do 3504 case $ac_file in 3505 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3506 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3507 esac 3508done 3509rm -f $ac_rmfiles 3510 3511if { { ac_try="$ac_link_default" 3512case "(($ac_try" in 3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3514 *) ac_try_echo=$ac_try;; 3515esac 3516eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3517$as_echo "$ac_try_echo"; } >&5 3518 (eval "$ac_link_default") 2>&5 3519 ac_status=$? 3520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3521 test $ac_status = 0; }; then : 3522 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3523# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3524# in a Makefile. We should not override ac_cv_exeext if it was cached, 3525# so that the user can short-circuit this test for compilers unknown to 3526# Autoconf. 3527for ac_file in $ac_files '' 3528do 3529 test -f "$ac_file" || continue 3530 case $ac_file in 3531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3532 ;; 3533 [ab].out ) 3534 # We found the default executable, but exeext='' is most 3535 # certainly right. 3536 break;; 3537 *.* ) 3538 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3539 then :; else 3540 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3541 fi 3542 # We set ac_cv_exeext here because the later test for it is not 3543 # safe: cross compilers may not add the suffix if given an `-o' 3544 # argument, so we may need to know it at that point already. 3545 # Even if this section looks crufty: it has the advantage of 3546 # actually working. 3547 break;; 3548 * ) 3549 break;; 3550 esac 3551done 3552test "$ac_cv_exeext" = no && ac_cv_exeext= 3553 3554else 3555 ac_file='' 3556fi 3557if test -z "$ac_file"; then : 3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3559$as_echo "no" >&6; } 3560$as_echo "$as_me: failed program was:" >&5 3561sed 's/^/| /' conftest.$ac_ext >&5 3562 3563{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3564$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3565as_fn_error 77 "C compiler cannot create executables 3566See \`config.log' for more details" "$LINENO" 5; } 3567else 3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3569$as_echo "yes" >&6; } 3570fi 3571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3572$as_echo_n "checking for C compiler default output file name... " >&6; } 3573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3574$as_echo "$ac_file" >&6; } 3575ac_exeext=$ac_cv_exeext 3576 3577rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3578ac_clean_files=$ac_clean_files_save 3579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3580$as_echo_n "checking for suffix of executables... " >&6; } 3581if { { ac_try="$ac_link" 3582case "(($ac_try" in 3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3584 *) ac_try_echo=$ac_try;; 3585esac 3586eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3587$as_echo "$ac_try_echo"; } >&5 3588 (eval "$ac_link") 2>&5 3589 ac_status=$? 3590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3591 test $ac_status = 0; }; then : 3592 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3593# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3594# work properly (i.e., refer to `conftest.exe'), while it won't with 3595# `rm'. 3596for ac_file in conftest.exe conftest conftest.*; do 3597 test -f "$ac_file" || continue 3598 case $ac_file in 3599 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3600 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3601 break;; 3602 * ) break;; 3603 esac 3604done 3605else 3606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3607$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3608as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3609See \`config.log' for more details" "$LINENO" 5; } 3610fi 3611rm -f conftest conftest$ac_cv_exeext 3612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3613$as_echo "$ac_cv_exeext" >&6; } 3614 3615rm -f conftest.$ac_ext 3616EXEEXT=$ac_cv_exeext 3617ac_exeext=$EXEEXT 3618cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3619/* end confdefs.h. */ 3620#include <stdio.h> 3621int 3622main () 3623{ 3624FILE *f = fopen ("conftest.out", "w"); 3625 return ferror (f) || fclose (f) != 0; 3626 3627 ; 3628 return 0; 3629} 3630_ACEOF 3631ac_clean_files="$ac_clean_files conftest.out" 3632# Check that the compiler produces executables we can run. If not, either 3633# the compiler is broken, or we cross compile. 3634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3635$as_echo_n "checking whether we are cross compiling... " >&6; } 3636if test "$cross_compiling" != yes; then 3637 { { ac_try="$ac_link" 3638case "(($ac_try" in 3639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3640 *) ac_try_echo=$ac_try;; 3641esac 3642eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3643$as_echo "$ac_try_echo"; } >&5 3644 (eval "$ac_link") 2>&5 3645 ac_status=$? 3646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3647 test $ac_status = 0; } 3648 if { ac_try='./conftest$ac_cv_exeext' 3649 { { case "(($ac_try" in 3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3651 *) ac_try_echo=$ac_try;; 3652esac 3653eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3654$as_echo "$ac_try_echo"; } >&5 3655 (eval "$ac_try") 2>&5 3656 ac_status=$? 3657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3658 test $ac_status = 0; }; }; then 3659 cross_compiling=no 3660 else 3661 if test "$cross_compiling" = maybe; then 3662 cross_compiling=yes 3663 else 3664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3665$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3666as_fn_error $? "cannot run C compiled programs. 3667If you meant to cross compile, use \`--host'. 3668See \`config.log' for more details" "$LINENO" 5; } 3669 fi 3670 fi 3671fi 3672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3673$as_echo "$cross_compiling" >&6; } 3674 3675rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3676ac_clean_files=$ac_clean_files_save 3677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3678$as_echo_n "checking for suffix of object files... " >&6; } 3679if ${ac_cv_objext+:} false; then : 3680 $as_echo_n "(cached) " >&6 3681else 3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3683/* end confdefs.h. */ 3684 3685int 3686main () 3687{ 3688 3689 ; 3690 return 0; 3691} 3692_ACEOF 3693rm -f conftest.o conftest.obj 3694if { { ac_try="$ac_compile" 3695case "(($ac_try" in 3696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3697 *) ac_try_echo=$ac_try;; 3698esac 3699eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3700$as_echo "$ac_try_echo"; } >&5 3701 (eval "$ac_compile") 2>&5 3702 ac_status=$? 3703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3704 test $ac_status = 0; }; then : 3705 for ac_file in conftest.o conftest.obj conftest.*; do 3706 test -f "$ac_file" || continue; 3707 case $ac_file in 3708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3709 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3710 break;; 3711 esac 3712done 3713else 3714 $as_echo "$as_me: failed program was:" >&5 3715sed 's/^/| /' conftest.$ac_ext >&5 3716 3717{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3718$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3719as_fn_error $? "cannot compute suffix of object files: cannot compile 3720See \`config.log' for more details" "$LINENO" 5; } 3721fi 3722rm -f conftest.$ac_cv_objext conftest.$ac_ext 3723fi 3724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3725$as_echo "$ac_cv_objext" >&6; } 3726OBJEXT=$ac_cv_objext 3727ac_objext=$OBJEXT 3728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3729$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3730if ${ac_cv_c_compiler_gnu+:} false; then : 3731 $as_echo_n "(cached) " >&6 3732else 3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3734/* end confdefs.h. */ 3735 3736int 3737main () 3738{ 3739#ifndef __GNUC__ 3740 choke me 3741#endif 3742 3743 ; 3744 return 0; 3745} 3746_ACEOF 3747if ac_fn_c_try_compile "$LINENO"; then : 3748 ac_compiler_gnu=yes 3749else 3750 ac_compiler_gnu=no 3751fi 3752rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3753ac_cv_c_compiler_gnu=$ac_compiler_gnu 3754 3755fi 3756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3757$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3758if test $ac_compiler_gnu = yes; then 3759 GCC=yes 3760else 3761 GCC= 3762fi 3763ac_test_CFLAGS=${CFLAGS+set} 3764ac_save_CFLAGS=$CFLAGS 3765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3766$as_echo_n "checking whether $CC accepts -g... " >&6; } 3767if ${ac_cv_prog_cc_g+:} false; then : 3768 $as_echo_n "(cached) " >&6 3769else 3770 ac_save_c_werror_flag=$ac_c_werror_flag 3771 ac_c_werror_flag=yes 3772 ac_cv_prog_cc_g=no 3773 CFLAGS="-g" 3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3775/* end confdefs.h. */ 3776 3777int 3778main () 3779{ 3780 3781 ; 3782 return 0; 3783} 3784_ACEOF 3785if ac_fn_c_try_compile "$LINENO"; then : 3786 ac_cv_prog_cc_g=yes 3787else 3788 CFLAGS="" 3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3790/* end confdefs.h. */ 3791 3792int 3793main () 3794{ 3795 3796 ; 3797 return 0; 3798} 3799_ACEOF 3800if ac_fn_c_try_compile "$LINENO"; then : 3801 3802else 3803 ac_c_werror_flag=$ac_save_c_werror_flag 3804 CFLAGS="-g" 3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3806/* end confdefs.h. */ 3807 3808int 3809main () 3810{ 3811 3812 ; 3813 return 0; 3814} 3815_ACEOF 3816if ac_fn_c_try_compile "$LINENO"; then : 3817 ac_cv_prog_cc_g=yes 3818fi 3819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3820fi 3821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3822fi 3823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3824 ac_c_werror_flag=$ac_save_c_werror_flag 3825fi 3826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3827$as_echo "$ac_cv_prog_cc_g" >&6; } 3828if test "$ac_test_CFLAGS" = set; then 3829 CFLAGS=$ac_save_CFLAGS 3830elif test $ac_cv_prog_cc_g = yes; then 3831 if test "$GCC" = yes; then 3832 CFLAGS="-g -O2" 3833 else 3834 CFLAGS="-g" 3835 fi 3836else 3837 if test "$GCC" = yes; then 3838 CFLAGS="-O2" 3839 else 3840 CFLAGS= 3841 fi 3842fi 3843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3844$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3845if ${ac_cv_prog_cc_c89+:} false; then : 3846 $as_echo_n "(cached) " >&6 3847else 3848 ac_cv_prog_cc_c89=no 3849ac_save_CC=$CC 3850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3851/* end confdefs.h. */ 3852#include <stdarg.h> 3853#include <stdio.h> 3854struct stat; 3855/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3856struct buf { int x; }; 3857FILE * (*rcsopen) (struct buf *, struct stat *, int); 3858static char *e (p, i) 3859 char **p; 3860 int i; 3861{ 3862 return p[i]; 3863} 3864static char *f (char * (*g) (char **, int), char **p, ...) 3865{ 3866 char *s; 3867 va_list v; 3868 va_start (v,p); 3869 s = g (p, va_arg (v,int)); 3870 va_end (v); 3871 return s; 3872} 3873 3874/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3875 function prototypes and stuff, but not '\xHH' hex character constants. 3876 These don't provoke an error unfortunately, instead are silently treated 3877 as 'x'. The following induces an error, until -std is added to get 3878 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3879 array size at least. It's necessary to write '\x00'==0 to get something 3880 that's true only with -std. */ 3881int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3882 3883/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3884 inside strings and character constants. */ 3885#define FOO(x) 'x' 3886int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3887 3888int test (int i, double x); 3889struct s1 {int (*f) (int a);}; 3890struct s2 {int (*f) (double a);}; 3891int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3892int argc; 3893char **argv; 3894int 3895main () 3896{ 3897return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3898 ; 3899 return 0; 3900} 3901_ACEOF 3902for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3903 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3904do 3905 CC="$ac_save_CC $ac_arg" 3906 if ac_fn_c_try_compile "$LINENO"; then : 3907 ac_cv_prog_cc_c89=$ac_arg 3908fi 3909rm -f core conftest.err conftest.$ac_objext 3910 test "x$ac_cv_prog_cc_c89" != "xno" && break 3911done 3912rm -f conftest.$ac_ext 3913CC=$ac_save_CC 3914 3915fi 3916# AC_CACHE_VAL 3917case "x$ac_cv_prog_cc_c89" in 3918 x) 3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3920$as_echo "none needed" >&6; } ;; 3921 xno) 3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3923$as_echo "unsupported" >&6; } ;; 3924 *) 3925 CC="$CC $ac_cv_prog_cc_c89" 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3927$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3928esac 3929if test "x$ac_cv_prog_cc_c89" != xno; then : 3930 3931fi 3932 3933ac_ext=c 3934ac_cpp='$CPP $CPPFLAGS' 3935ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3936ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3937ac_compiler_gnu=$ac_cv_c_compiler_gnu 3938 3939ac_ext=c 3940ac_cpp='$CPP $CPPFLAGS' 3941ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3942ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3943ac_compiler_gnu=$ac_cv_c_compiler_gnu 3944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3945$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3946if ${am_cv_prog_cc_c_o+:} false; then : 3947 $as_echo_n "(cached) " >&6 3948else 3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3950/* end confdefs.h. */ 3951 3952int 3953main () 3954{ 3955 3956 ; 3957 return 0; 3958} 3959_ACEOF 3960 # Make sure it works both with $CC and with simple cc. 3961 # Following AC_PROG_CC_C_O, we do the test twice because some 3962 # compilers refuse to overwrite an existing .o file with -o, 3963 # though they will create one. 3964 am_cv_prog_cc_c_o=yes 3965 for am_i in 1 2; do 3966 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3967 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3968 ac_status=$? 3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3970 (exit $ac_status); } \ 3971 && test -f conftest2.$ac_objext; then 3972 : OK 3973 else 3974 am_cv_prog_cc_c_o=no 3975 break 3976 fi 3977 done 3978 rm -f core conftest* 3979 unset am_i 3980fi 3981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3982$as_echo "$am_cv_prog_cc_c_o" >&6; } 3983if test "$am_cv_prog_cc_c_o" != yes; then 3984 # Losing compiler, so override with the script. 3985 # FIXME: It is wrong to rewrite CC. 3986 # But if we don't then we get into trouble of one sort or another. 3987 # A longer-term fix would be to have automake use am__CC in this case, 3988 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3989 CC="$am_aux_dir/compile $CC" 3990fi 3991ac_ext=c 3992ac_cpp='$CPP $CPPFLAGS' 3993ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3994ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3995ac_compiler_gnu=$ac_cv_c_compiler_gnu 3996 3997DEPDIR="${am__leading_dot}deps" 3998 3999ac_config_commands="$ac_config_commands depfiles" 4000 4001 4002am_make=${MAKE-make} 4003cat > confinc << 'END' 4004am__doit: 4005 @echo this is the am__doit target 4006.PHONY: am__doit 4007END 4008# If we don't find an include directive, just comment out the code. 4009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4010$as_echo_n "checking for style of include used by $am_make... " >&6; } 4011am__include="#" 4012am__quote= 4013_am_result=none 4014# First try GNU make style include. 4015echo "include confinc" > confmf 4016# Ignore all kinds of additional output from 'make'. 4017case `$am_make -s -f confmf 2> /dev/null` in #( 4018*the\ am__doit\ target*) 4019 am__include=include 4020 am__quote= 4021 _am_result=GNU 4022 ;; 4023esac 4024# Now try BSD make style include. 4025if test "$am__include" = "#"; then 4026 echo '.include "confinc"' > confmf 4027 case `$am_make -s -f confmf 2> /dev/null` in #( 4028 *the\ am__doit\ target*) 4029 am__include=.include 4030 am__quote="\"" 4031 _am_result=BSD 4032 ;; 4033 esac 4034fi 4035 4036 4037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4038$as_echo "$_am_result" >&6; } 4039rm -f confinc confmf 4040 4041# Check whether --enable-dependency-tracking was given. 4042if test "${enable_dependency_tracking+set}" = set; then : 4043 enableval=$enable_dependency_tracking; 4044fi 4045 4046if test "x$enable_dependency_tracking" != xno; then 4047 am_depcomp="$ac_aux_dir/depcomp" 4048 AMDEPBACKSLASH='\' 4049 am__nodep='_no' 4050fi 4051 if test "x$enable_dependency_tracking" != xno; then 4052 AMDEP_TRUE= 4053 AMDEP_FALSE='#' 4054else 4055 AMDEP_TRUE='#' 4056 AMDEP_FALSE= 4057fi 4058 4059 4060 4061depcc="$CC" am_compiler_list= 4062 4063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4064$as_echo_n "checking dependency style of $depcc... " >&6; } 4065if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4066 $as_echo_n "(cached) " >&6 4067else 4068 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4069 # We make a subdir and do the tests there. Otherwise we can end up 4070 # making bogus files that we don't know about and never remove. For 4071 # instance it was reported that on HP-UX the gcc test will end up 4072 # making a dummy file named 'D' -- because '-MD' means "put the output 4073 # in D". 4074 rm -rf conftest.dir 4075 mkdir conftest.dir 4076 # Copy depcomp to subdir because otherwise we won't find it if we're 4077 # using a relative directory. 4078 cp "$am_depcomp" conftest.dir 4079 cd conftest.dir 4080 # We will build objects and dependencies in a subdirectory because 4081 # it helps to detect inapplicable dependency modes. For instance 4082 # both Tru64's cc and ICC support -MD to output dependencies as a 4083 # side effect of compilation, but ICC will put the dependencies in 4084 # the current directory while Tru64 will put them in the object 4085 # directory. 4086 mkdir sub 4087 4088 am_cv_CC_dependencies_compiler_type=none 4089 if test "$am_compiler_list" = ""; then 4090 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4091 fi 4092 am__universal=false 4093 case " $depcc " in #( 4094 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4095 esac 4096 4097 for depmode in $am_compiler_list; do 4098 # Setup a source with many dependencies, because some compilers 4099 # like to wrap large dependency lists on column 80 (with \), and 4100 # we should not choose a depcomp mode which is confused by this. 4101 # 4102 # We need to recreate these files for each test, as the compiler may 4103 # overwrite some of them when testing with obscure command lines. 4104 # This happens at least with the AIX C compiler. 4105 : > sub/conftest.c 4106 for i in 1 2 3 4 5 6; do 4107 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4108 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4109 # Solaris 10 /bin/sh. 4110 echo '/* dummy */' > sub/conftst$i.h 4111 done 4112 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4113 4114 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4115 # mode. It turns out that the SunPro C++ compiler does not properly 4116 # handle '-M -o', and we need to detect this. Also, some Intel 4117 # versions had trouble with output in subdirs. 4118 am__obj=sub/conftest.${OBJEXT-o} 4119 am__minus_obj="-o $am__obj" 4120 case $depmode in 4121 gcc) 4122 # This depmode causes a compiler race in universal mode. 4123 test "$am__universal" = false || continue 4124 ;; 4125 nosideeffect) 4126 # After this tag, mechanisms are not by side-effect, so they'll 4127 # only be used when explicitly requested. 4128 if test "x$enable_dependency_tracking" = xyes; then 4129 continue 4130 else 4131 break 4132 fi 4133 ;; 4134 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4135 # This compiler won't grok '-c -o', but also, the minuso test has 4136 # not run yet. These depmodes are late enough in the game, and 4137 # so weak that their functioning should not be impacted. 4138 am__obj=conftest.${OBJEXT-o} 4139 am__minus_obj= 4140 ;; 4141 none) break ;; 4142 esac 4143 if depmode=$depmode \ 4144 source=sub/conftest.c object=$am__obj \ 4145 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4146 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4147 >/dev/null 2>conftest.err && 4148 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4149 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4150 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4151 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4152 # icc doesn't choke on unknown options, it will just issue warnings 4153 # or remarks (even with -Werror). So we grep stderr for any message 4154 # that says an option was ignored or not supported. 4155 # When given -MP, icc 7.0 and 7.1 complain thusly: 4156 # icc: Command line warning: ignoring option '-M'; no argument required 4157 # The diagnosis changed in icc 8.0: 4158 # icc: Command line remark: option '-MP' not supported 4159 if (grep 'ignoring option' conftest.err || 4160 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4161 am_cv_CC_dependencies_compiler_type=$depmode 4162 break 4163 fi 4164 fi 4165 done 4166 4167 cd .. 4168 rm -rf conftest.dir 4169else 4170 am_cv_CC_dependencies_compiler_type=none 4171fi 4172 4173fi 4174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4175$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4176CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4177 4178 if 4179 test "x$enable_dependency_tracking" != xno \ 4180 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4181 am__fastdepCC_TRUE= 4182 am__fastdepCC_FALSE='#' 4183else 4184 am__fastdepCC_TRUE='#' 4185 am__fastdepCC_FALSE= 4186fi 4187 4188 4189 4190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4191$as_echo_n "checking whether ln -s works... " >&6; } 4192LN_S=$as_ln_s 4193if test "$LN_S" = "ln -s"; then 4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4195$as_echo "yes" >&6; } 4196else 4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4198$as_echo "no, using $LN_S" >&6; } 4199fi 4200 4201 4202 4203ac_ext=c 4204ac_cpp='$CPP $CPPFLAGS' 4205ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4206ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4207ac_compiler_gnu=$ac_cv_c_compiler_gnu 4208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4209$as_echo_n "checking how to run the C preprocessor... " >&6; } 4210# On Suns, sometimes $CPP names a directory. 4211if test -n "$CPP" && test -d "$CPP"; then 4212 CPP= 4213fi 4214if test -z "$CPP"; then 4215 if ${ac_cv_prog_CPP+:} false; then : 4216 $as_echo_n "(cached) " >&6 4217else 4218 # Double quotes because CPP needs to be expanded 4219 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4220 do 4221 ac_preproc_ok=false 4222for ac_c_preproc_warn_flag in '' yes 4223do 4224 # Use a header file that comes with gcc, so configuring glibc 4225 # with a fresh cross-compiler works. 4226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4227 # <limits.h> exists even on freestanding compilers. 4228 # On the NeXT, cc -E runs the code through the compiler's parser, 4229 # not just through cpp. "Syntax error" is here to catch this case. 4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4231/* end confdefs.h. */ 4232#ifdef __STDC__ 4233# include <limits.h> 4234#else 4235# include <assert.h> 4236#endif 4237 Syntax error 4238_ACEOF 4239if ac_fn_c_try_cpp "$LINENO"; then : 4240 4241else 4242 # Broken: fails on valid input. 4243continue 4244fi 4245rm -f conftest.err conftest.i conftest.$ac_ext 4246 4247 # OK, works on sane cases. Now check whether nonexistent headers 4248 # can be detected and how. 4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4250/* end confdefs.h. */ 4251#include <ac_nonexistent.h> 4252_ACEOF 4253if ac_fn_c_try_cpp "$LINENO"; then : 4254 # Broken: success on invalid input. 4255continue 4256else 4257 # Passes both tests. 4258ac_preproc_ok=: 4259break 4260fi 4261rm -f conftest.err conftest.i conftest.$ac_ext 4262 4263done 4264# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4265rm -f conftest.i conftest.err conftest.$ac_ext 4266if $ac_preproc_ok; then : 4267 break 4268fi 4269 4270 done 4271 ac_cv_prog_CPP=$CPP 4272 4273fi 4274 CPP=$ac_cv_prog_CPP 4275else 4276 ac_cv_prog_CPP=$CPP 4277fi 4278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4279$as_echo "$CPP" >&6; } 4280ac_preproc_ok=false 4281for ac_c_preproc_warn_flag in '' yes 4282do 4283 # Use a header file that comes with gcc, so configuring glibc 4284 # with a fresh cross-compiler works. 4285 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4286 # <limits.h> exists even on freestanding compilers. 4287 # On the NeXT, cc -E runs the code through the compiler's parser, 4288 # not just through cpp. "Syntax error" is here to catch this case. 4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4290/* end confdefs.h. */ 4291#ifdef __STDC__ 4292# include <limits.h> 4293#else 4294# include <assert.h> 4295#endif 4296 Syntax error 4297_ACEOF 4298if ac_fn_c_try_cpp "$LINENO"; then : 4299 4300else 4301 # Broken: fails on valid input. 4302continue 4303fi 4304rm -f conftest.err conftest.i conftest.$ac_ext 4305 4306 # OK, works on sane cases. Now check whether nonexistent headers 4307 # can be detected and how. 4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4309/* end confdefs.h. */ 4310#include <ac_nonexistent.h> 4311_ACEOF 4312if ac_fn_c_try_cpp "$LINENO"; then : 4313 # Broken: success on invalid input. 4314continue 4315else 4316 # Passes both tests. 4317ac_preproc_ok=: 4318break 4319fi 4320rm -f conftest.err conftest.i conftest.$ac_ext 4321 4322done 4323# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4324rm -f conftest.i conftest.err conftest.$ac_ext 4325if $ac_preproc_ok; then : 4326 4327else 4328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4329$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4330as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4331See \`config.log' for more details" "$LINENO" 5; } 4332fi 4333 4334ac_ext=c 4335ac_cpp='$CPP $CPPFLAGS' 4336ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4337ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4338ac_compiler_gnu=$ac_cv_c_compiler_gnu 4339 4340 4341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4342$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4343if ${ac_cv_path_GREP+:} false; then : 4344 $as_echo_n "(cached) " >&6 4345else 4346 if test -z "$GREP"; then 4347 ac_path_GREP_found=false 4348 # Loop through the user's path and test for each of PROGNAME-LIST 4349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4350for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4351do 4352 IFS=$as_save_IFS 4353 test -z "$as_dir" && as_dir=. 4354 for ac_prog in grep ggrep; do 4355 for ac_exec_ext in '' $ac_executable_extensions; do 4356 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4357 as_fn_executable_p "$ac_path_GREP" || continue 4358# Check for GNU ac_path_GREP and select it if it is found. 4359 # Check for GNU $ac_path_GREP 4360case `"$ac_path_GREP" --version 2>&1` in 4361*GNU*) 4362 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4363*) 4364 ac_count=0 4365 $as_echo_n 0123456789 >"conftest.in" 4366 while : 4367 do 4368 cat "conftest.in" "conftest.in" >"conftest.tmp" 4369 mv "conftest.tmp" "conftest.in" 4370 cp "conftest.in" "conftest.nl" 4371 $as_echo 'GREP' >> "conftest.nl" 4372 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4373 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4374 as_fn_arith $ac_count + 1 && ac_count=$as_val 4375 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4376 # Best one so far, save it but keep looking for a better one 4377 ac_cv_path_GREP="$ac_path_GREP" 4378 ac_path_GREP_max=$ac_count 4379 fi 4380 # 10*(2^10) chars as input seems more than enough 4381 test $ac_count -gt 10 && break 4382 done 4383 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4384esac 4385 4386 $ac_path_GREP_found && break 3 4387 done 4388 done 4389 done 4390IFS=$as_save_IFS 4391 if test -z "$ac_cv_path_GREP"; then 4392 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4393 fi 4394else 4395 ac_cv_path_GREP=$GREP 4396fi 4397 4398fi 4399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4400$as_echo "$ac_cv_path_GREP" >&6; } 4401 GREP="$ac_cv_path_GREP" 4402 4403 4404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4405$as_echo_n "checking for egrep... " >&6; } 4406if ${ac_cv_path_EGREP+:} false; then : 4407 $as_echo_n "(cached) " >&6 4408else 4409 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4410 then ac_cv_path_EGREP="$GREP -E" 4411 else 4412 if test -z "$EGREP"; then 4413 ac_path_EGREP_found=false 4414 # Loop through the user's path and test for each of PROGNAME-LIST 4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4416for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4417do 4418 IFS=$as_save_IFS 4419 test -z "$as_dir" && as_dir=. 4420 for ac_prog in egrep; do 4421 for ac_exec_ext in '' $ac_executable_extensions; do 4422 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4423 as_fn_executable_p "$ac_path_EGREP" || continue 4424# Check for GNU ac_path_EGREP and select it if it is found. 4425 # Check for GNU $ac_path_EGREP 4426case `"$ac_path_EGREP" --version 2>&1` in 4427*GNU*) 4428 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4429*) 4430 ac_count=0 4431 $as_echo_n 0123456789 >"conftest.in" 4432 while : 4433 do 4434 cat "conftest.in" "conftest.in" >"conftest.tmp" 4435 mv "conftest.tmp" "conftest.in" 4436 cp "conftest.in" "conftest.nl" 4437 $as_echo 'EGREP' >> "conftest.nl" 4438 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4439 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4440 as_fn_arith $ac_count + 1 && ac_count=$as_val 4441 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4442 # Best one so far, save it but keep looking for a better one 4443 ac_cv_path_EGREP="$ac_path_EGREP" 4444 ac_path_EGREP_max=$ac_count 4445 fi 4446 # 10*(2^10) chars as input seems more than enough 4447 test $ac_count -gt 10 && break 4448 done 4449 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4450esac 4451 4452 $ac_path_EGREP_found && break 3 4453 done 4454 done 4455 done 4456IFS=$as_save_IFS 4457 if test -z "$ac_cv_path_EGREP"; then 4458 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4459 fi 4460else 4461 ac_cv_path_EGREP=$EGREP 4462fi 4463 4464 fi 4465fi 4466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4467$as_echo "$ac_cv_path_EGREP" >&6; } 4468 EGREP="$ac_cv_path_EGREP" 4469 4470 4471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4472$as_echo_n "checking for ANSI C header files... " >&6; } 4473if ${ac_cv_header_stdc+:} false; then : 4474 $as_echo_n "(cached) " >&6 4475else 4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4477/* end confdefs.h. */ 4478#include <stdlib.h> 4479#include <stdarg.h> 4480#include <string.h> 4481#include <float.h> 4482 4483int 4484main () 4485{ 4486 4487 ; 4488 return 0; 4489} 4490_ACEOF 4491if ac_fn_c_try_compile "$LINENO"; then : 4492 ac_cv_header_stdc=yes 4493else 4494 ac_cv_header_stdc=no 4495fi 4496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4497 4498if test $ac_cv_header_stdc = yes; then 4499 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4501/* end confdefs.h. */ 4502#include <string.h> 4503 4504_ACEOF 4505if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4506 $EGREP "memchr" >/dev/null 2>&1; then : 4507 4508else 4509 ac_cv_header_stdc=no 4510fi 4511rm -f conftest* 4512 4513fi 4514 4515if test $ac_cv_header_stdc = yes; then 4516 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4518/* end confdefs.h. */ 4519#include <stdlib.h> 4520 4521_ACEOF 4522if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4523 $EGREP "free" >/dev/null 2>&1; then : 4524 4525else 4526 ac_cv_header_stdc=no 4527fi 4528rm -f conftest* 4529 4530fi 4531 4532if test $ac_cv_header_stdc = yes; then 4533 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4534 if test "$cross_compiling" = yes; then : 4535 : 4536else 4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4538/* end confdefs.h. */ 4539#include <ctype.h> 4540#include <stdlib.h> 4541#if ((' ' & 0x0FF) == 0x020) 4542# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4543# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4544#else 4545# define ISLOWER(c) \ 4546 (('a' <= (c) && (c) <= 'i') \ 4547 || ('j' <= (c) && (c) <= 'r') \ 4548 || ('s' <= (c) && (c) <= 'z')) 4549# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4550#endif 4551 4552#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4553int 4554main () 4555{ 4556 int i; 4557 for (i = 0; i < 256; i++) 4558 if (XOR (islower (i), ISLOWER (i)) 4559 || toupper (i) != TOUPPER (i)) 4560 return 2; 4561 return 0; 4562} 4563_ACEOF 4564if ac_fn_c_try_run "$LINENO"; then : 4565 4566else 4567 ac_cv_header_stdc=no 4568fi 4569rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4570 conftest.$ac_objext conftest.beam conftest.$ac_ext 4571fi 4572 4573fi 4574fi 4575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4576$as_echo "$ac_cv_header_stdc" >&6; } 4577if test $ac_cv_header_stdc = yes; then 4578 4579$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4580 4581fi 4582 4583# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4584for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4585 inttypes.h stdint.h unistd.h 4586do : 4587 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4588ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4589" 4590if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4591 cat >>confdefs.h <<_ACEOF 4592#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4593_ACEOF 4594 4595fi 4596 4597done 4598 4599 4600for ac_header in unistd.h 4601do : 4602 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 4603if test "x$ac_cv_header_unistd_h" = xyes; then : 4604 cat >>confdefs.h <<_ACEOF 4605#define HAVE_UNISTD_H 1 4606_ACEOF 4607 4608fi 4609 4610done 4611 4612 4613 MKINSTALLDIRS= 4614 if test -n "$ac_aux_dir"; then 4615 case "$ac_aux_dir" in 4616 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; 4617 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; 4618 esac 4619 fi 4620 if test -z "$MKINSTALLDIRS"; then 4621 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 4622 fi 4623 4624 4625 4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 4627$as_echo_n "checking whether NLS is requested... " >&6; } 4628 # Check whether --enable-nls was given. 4629if test "${enable_nls+set}" = set; then : 4630 enableval=$enable_nls; USE_NLS=$enableval 4631else 4632 USE_NLS=yes 4633fi 4634 4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 4636$as_echo "$USE_NLS" >&6; } 4637 4638 4639 4640 4641 4642 4643# Prepare PATH_SEPARATOR. 4644# The user is always right. 4645if test "${PATH_SEPARATOR+set}" != set; then 4646 echo "#! /bin/sh" >conf$$.sh 4647 echo "exit 0" >>conf$$.sh 4648 chmod +x conf$$.sh 4649 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4650 PATH_SEPARATOR=';' 4651 else 4652 PATH_SEPARATOR=: 4653 fi 4654 rm -f conf$$.sh 4655fi 4656 4657# Find out how to test for executable files. Don't use a zero-byte file, 4658# as systems may use methods other than mode bits to determine executability. 4659cat >conf$$.file <<_ASEOF 4660#! /bin/sh 4661exit 0 4662_ASEOF 4663chmod +x conf$$.file 4664if test -x conf$$.file >/dev/null 2>&1; then 4665 ac_executable_p="test -x" 4666else 4667 ac_executable_p="test -f" 4668fi 4669rm -f conf$$.file 4670 4671# Extract the first word of "msgfmt", so it can be a program name with args. 4672set dummy msgfmt; ac_word=$2 4673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4674$as_echo_n "checking for $ac_word... " >&6; } 4675if ${ac_cv_path_MSGFMT+:} false; then : 4676 $as_echo_n "(cached) " >&6 4677else 4678 case "$MSGFMT" in 4679 [\\/]* | ?:[\\/]*) 4680 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 4681 ;; 4682 *) 4683 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 4684 for ac_dir in $PATH; do 4685 IFS="$ac_save_IFS" 4686 test -z "$ac_dir" && ac_dir=. 4687 for ac_exec_ext in '' $ac_executable_extensions; do 4688 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 4689 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && 4690 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 4691 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 4692 break 2 4693 fi 4694 fi 4695 done 4696 done 4697 IFS="$ac_save_IFS" 4698 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 4699 ;; 4700esac 4701fi 4702MSGFMT="$ac_cv_path_MSGFMT" 4703if test "$MSGFMT" != ":"; then 4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 4705$as_echo "$MSGFMT" >&6; } 4706else 4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4708$as_echo "no" >&6; } 4709fi 4710 4711 # Extract the first word of "gmsgfmt", so it can be a program name with args. 4712set dummy gmsgfmt; ac_word=$2 4713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4714$as_echo_n "checking for $ac_word... " >&6; } 4715if ${ac_cv_path_GMSGFMT+:} false; then : 4716 $as_echo_n "(cached) " >&6 4717else 4718 case $GMSGFMT in 4719 [\\/]* | ?:[\\/]*) 4720 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 4721 ;; 4722 *) 4723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4724for as_dir in $PATH 4725do 4726 IFS=$as_save_IFS 4727 test -z "$as_dir" && as_dir=. 4728 for ac_exec_ext in '' $ac_executable_extensions; do 4729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4730 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 4731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4732 break 2 4733 fi 4734done 4735 done 4736IFS=$as_save_IFS 4737 4738 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 4739 ;; 4740esac 4741fi 4742GMSGFMT=$ac_cv_path_GMSGFMT 4743if test -n "$GMSGFMT"; then 4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 4745$as_echo "$GMSGFMT" >&6; } 4746else 4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4748$as_echo "no" >&6; } 4749fi 4750 4751 4752 4753 4754# Prepare PATH_SEPARATOR. 4755# The user is always right. 4756if test "${PATH_SEPARATOR+set}" != set; then 4757 echo "#! /bin/sh" >conf$$.sh 4758 echo "exit 0" >>conf$$.sh 4759 chmod +x conf$$.sh 4760 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4761 PATH_SEPARATOR=';' 4762 else 4763 PATH_SEPARATOR=: 4764 fi 4765 rm -f conf$$.sh 4766fi 4767 4768# Find out how to test for executable files. Don't use a zero-byte file, 4769# as systems may use methods other than mode bits to determine executability. 4770cat >conf$$.file <<_ASEOF 4771#! /bin/sh 4772exit 0 4773_ASEOF 4774chmod +x conf$$.file 4775if test -x conf$$.file >/dev/null 2>&1; then 4776 ac_executable_p="test -x" 4777else 4778 ac_executable_p="test -f" 4779fi 4780rm -f conf$$.file 4781 4782# Extract the first word of "xgettext", so it can be a program name with args. 4783set dummy xgettext; ac_word=$2 4784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4785$as_echo_n "checking for $ac_word... " >&6; } 4786if ${ac_cv_path_XGETTEXT+:} false; then : 4787 $as_echo_n "(cached) " >&6 4788else 4789 case "$XGETTEXT" in 4790 [\\/]* | ?:[\\/]*) 4791 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 4792 ;; 4793 *) 4794 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 4795 for ac_dir in $PATH; do 4796 IFS="$ac_save_IFS" 4797 test -z "$ac_dir" && ac_dir=. 4798 for ac_exec_ext in '' $ac_executable_extensions; do 4799 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 4800 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && 4801 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 4802 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 4803 break 2 4804 fi 4805 fi 4806 done 4807 done 4808 IFS="$ac_save_IFS" 4809 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 4810 ;; 4811esac 4812fi 4813XGETTEXT="$ac_cv_path_XGETTEXT" 4814if test "$XGETTEXT" != ":"; then 4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 4816$as_echo "$XGETTEXT" >&6; } 4817else 4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4819$as_echo "no" >&6; } 4820fi 4821 4822 rm -f messages.po 4823 4824 4825# Prepare PATH_SEPARATOR. 4826# The user is always right. 4827if test "${PATH_SEPARATOR+set}" != set; then 4828 echo "#! /bin/sh" >conf$$.sh 4829 echo "exit 0" >>conf$$.sh 4830 chmod +x conf$$.sh 4831 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4832 PATH_SEPARATOR=';' 4833 else 4834 PATH_SEPARATOR=: 4835 fi 4836 rm -f conf$$.sh 4837fi 4838 4839# Find out how to test for executable files. Don't use a zero-byte file, 4840# as systems may use methods other than mode bits to determine executability. 4841cat >conf$$.file <<_ASEOF 4842#! /bin/sh 4843exit 0 4844_ASEOF 4845chmod +x conf$$.file 4846if test -x conf$$.file >/dev/null 2>&1; then 4847 ac_executable_p="test -x" 4848else 4849 ac_executable_p="test -f" 4850fi 4851rm -f conf$$.file 4852 4853# Extract the first word of "msgmerge", so it can be a program name with args. 4854set dummy msgmerge; ac_word=$2 4855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4856$as_echo_n "checking for $ac_word... " >&6; } 4857if ${ac_cv_path_MSGMERGE+:} false; then : 4858 $as_echo_n "(cached) " >&6 4859else 4860 case "$MSGMERGE" in 4861 [\\/]* | ?:[\\/]*) 4862 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 4863 ;; 4864 *) 4865 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 4866 for ac_dir in $PATH; do 4867 IFS="$ac_save_IFS" 4868 test -z "$ac_dir" && ac_dir=. 4869 for ac_exec_ext in '' $ac_executable_extensions; do 4870 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 4871 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then 4872 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 4873 break 2 4874 fi 4875 fi 4876 done 4877 done 4878 IFS="$ac_save_IFS" 4879 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 4880 ;; 4881esac 4882fi 4883MSGMERGE="$ac_cv_path_MSGMERGE" 4884if test "$MSGMERGE" != ":"; then 4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 4886$as_echo "$MSGMERGE" >&6; } 4887else 4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4889$as_echo "no" >&6; } 4890fi 4891 4892 4893 if test "$GMSGFMT" != ":"; then 4894 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && 4895 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 4896 : ; 4897 else 4898 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` 4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 4900$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } 4901 GMSGFMT=":" 4902 fi 4903 fi 4904 4905 if test "$XGETTEXT" != ":"; then 4906 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && 4907 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 4908 : ; 4909 else 4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 4911$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 4912 XGETTEXT=":" 4913 fi 4914 rm -f messages.po 4915 fi 4916 4917 ac_config_commands="$ac_config_commands default-1" 4918 4919 4920 4921 if test "X$prefix" = "XNONE"; then 4922 acl_final_prefix="$ac_default_prefix" 4923 else 4924 acl_final_prefix="$prefix" 4925 fi 4926 if test "X$exec_prefix" = "XNONE"; then 4927 acl_final_exec_prefix='${prefix}' 4928 else 4929 acl_final_exec_prefix="$exec_prefix" 4930 fi 4931 acl_save_prefix="$prefix" 4932 prefix="$acl_final_prefix" 4933 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 4934 prefix="$acl_save_prefix" 4935 4936# Make sure we can run config.sub. 4937$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4938 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4939 4940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4941$as_echo_n "checking build system type... " >&6; } 4942if ${ac_cv_build+:} false; then : 4943 $as_echo_n "(cached) " >&6 4944else 4945 ac_build_alias=$build_alias 4946test "x$ac_build_alias" = x && 4947 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4948test "x$ac_build_alias" = x && 4949 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4950ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4951 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4952 4953fi 4954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4955$as_echo "$ac_cv_build" >&6; } 4956case $ac_cv_build in 4957*-*-*) ;; 4958*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4959esac 4960build=$ac_cv_build 4961ac_save_IFS=$IFS; IFS='-' 4962set x $ac_cv_build 4963shift 4964build_cpu=$1 4965build_vendor=$2 4966shift; shift 4967# Remember, the first character of IFS is used to create $*, 4968# except with old shells: 4969build_os=$* 4970IFS=$ac_save_IFS 4971case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4972 4973 4974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4975$as_echo_n "checking host system type... " >&6; } 4976if ${ac_cv_host+:} false; then : 4977 $as_echo_n "(cached) " >&6 4978else 4979 if test "x$host_alias" = x; then 4980 ac_cv_host=$ac_cv_build 4981else 4982 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4983 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4984fi 4985 4986fi 4987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4988$as_echo "$ac_cv_host" >&6; } 4989case $ac_cv_host in 4990*-*-*) ;; 4991*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4992esac 4993host=$ac_cv_host 4994ac_save_IFS=$IFS; IFS='-' 4995set x $ac_cv_host 4996shift 4997host_cpu=$1 4998host_vendor=$2 4999shift; shift 5000# Remember, the first character of IFS is used to create $*, 5001# except with old shells: 5002host_os=$* 5003IFS=$ac_save_IFS 5004case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 5005 5006 5007 5008# Check whether --with-gnu-ld was given. 5009if test "${with_gnu_ld+set}" = set; then : 5010 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5011else 5012 with_gnu_ld=no 5013fi 5014 5015# Prepare PATH_SEPARATOR. 5016# The user is always right. 5017if test "${PATH_SEPARATOR+set}" != set; then 5018 echo "#! /bin/sh" >conf$$.sh 5019 echo "exit 0" >>conf$$.sh 5020 chmod +x conf$$.sh 5021 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5022 PATH_SEPARATOR=';' 5023 else 5024 PATH_SEPARATOR=: 5025 fi 5026 rm -f conf$$.sh 5027fi 5028ac_prog=ld 5029if test "$GCC" = yes; then 5030 # Check if gcc -print-prog-name=ld gives a path. 5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 5032$as_echo_n "checking for ld used by GCC... " >&6; } 5033 case $host in 5034 *-*-mingw*) 5035 # gcc leaves a trailing carriage return which upsets mingw 5036 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5037 *) 5038 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5039 esac 5040 case $ac_prog in 5041 # Accept absolute paths. 5042 [\\/]* | [A-Za-z]:[\\/]*) 5043 re_direlt='/[^/][^/]*/\.\./' 5044 # Canonicalize the path of ld 5045 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 5046 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 5047 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 5048 done 5049 test -z "$LD" && LD="$ac_prog" 5050 ;; 5051 "") 5052 # If it fails, then pretend we aren't using GCC. 5053 ac_prog=ld 5054 ;; 5055 *) 5056 # If it is relative, then search for the first ld in PATH. 5057 with_gnu_ld=unknown 5058 ;; 5059 esac 5060elif test "$with_gnu_ld" = yes; then 5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5062$as_echo_n "checking for GNU ld... " >&6; } 5063else 5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5065$as_echo_n "checking for non-GNU ld... " >&6; } 5066fi 5067if ${acl_cv_path_LD+:} false; then : 5068 $as_echo_n "(cached) " >&6 5069else 5070 if test -z "$LD"; then 5071 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 5072 for ac_dir in $PATH; do 5073 test -z "$ac_dir" && ac_dir=. 5074 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5075 acl_cv_path_LD="$ac_dir/$ac_prog" 5076 # Check to see if the program is GNU ld. I'd rather use --version, 5077 # but apparently some GNU ld's only accept -v. 5078 # Break only if it was the GNU/non-GNU ld that we prefer. 5079 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 5080 *GNU* | *'with BFD'*) 5081 test "$with_gnu_ld" != no && break ;; 5082 *) 5083 test "$with_gnu_ld" != yes && break ;; 5084 esac 5085 fi 5086 done 5087 IFS="$ac_save_ifs" 5088else 5089 acl_cv_path_LD="$LD" # Let the user override the test with a path. 5090fi 5091fi 5092 5093LD="$acl_cv_path_LD" 5094if test -n "$LD"; then 5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5096$as_echo "$LD" >&6; } 5097else 5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5099$as_echo "no" >&6; } 5100fi 5101test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5103$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5104if ${acl_cv_prog_gnu_ld+:} false; then : 5105 $as_echo_n "(cached) " >&6 5106else 5107 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 5108case `$LD -v 2>&1 </dev/null` in 5109*GNU* | *'with BFD'*) 5110 acl_cv_prog_gnu_ld=yes ;; 5111*) 5112 acl_cv_prog_gnu_ld=no ;; 5113esac 5114fi 5115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 5116$as_echo "$acl_cv_prog_gnu_ld" >&6; } 5117with_gnu_ld=$acl_cv_prog_gnu_ld 5118 5119 5120 5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 5122$as_echo_n "checking for shared library run path origin... " >&6; } 5123if ${acl_cv_rpath+:} false; then : 5124 $as_echo_n "(cached) " >&6 5125else 5126 5127 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 5128 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 5129 . ./conftest.sh 5130 rm -f ./conftest.sh 5131 acl_cv_rpath=done 5132 5133fi 5134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 5135$as_echo "$acl_cv_rpath" >&6; } 5136 wl="$acl_cv_wl" 5137 libext="$acl_cv_libext" 5138 shlibext="$acl_cv_shlibext" 5139 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 5140 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 5141 hardcode_direct="$acl_cv_hardcode_direct" 5142 hardcode_minus_L="$acl_cv_hardcode_minus_L" 5143 # Check whether --enable-rpath was given. 5144if test "${enable_rpath+set}" = set; then : 5145 enableval=$enable_rpath; : 5146else 5147 enable_rpath=yes 5148fi 5149 5150 5151 5152 5153 5154 5155 5156 5157 use_additional=yes 5158 5159 acl_save_prefix="$prefix" 5160 prefix="$acl_final_prefix" 5161 acl_save_exec_prefix="$exec_prefix" 5162 exec_prefix="$acl_final_exec_prefix" 5163 5164 eval additional_includedir=\"$includedir\" 5165 eval additional_libdir=\"$libdir\" 5166 5167 exec_prefix="$acl_save_exec_prefix" 5168 prefix="$acl_save_prefix" 5169 5170 5171# Check whether --with-libiconv-prefix was given. 5172if test "${with_libiconv_prefix+set}" = set; then : 5173 withval=$with_libiconv_prefix; 5174 if test "X$withval" = "Xno"; then 5175 use_additional=no 5176 else 5177 if test "X$withval" = "X"; then 5178 5179 acl_save_prefix="$prefix" 5180 prefix="$acl_final_prefix" 5181 acl_save_exec_prefix="$exec_prefix" 5182 exec_prefix="$acl_final_exec_prefix" 5183 5184 eval additional_includedir=\"$includedir\" 5185 eval additional_libdir=\"$libdir\" 5186 5187 exec_prefix="$acl_save_exec_prefix" 5188 prefix="$acl_save_prefix" 5189 5190 else 5191 additional_includedir="$withval/include" 5192 additional_libdir="$withval/lib" 5193 fi 5194 fi 5195 5196fi 5197 5198 LIBICONV= 5199 LTLIBICONV= 5200 INCICONV= 5201 rpathdirs= 5202 ltrpathdirs= 5203 names_already_handled= 5204 names_next_round='iconv ' 5205 while test -n "$names_next_round"; do 5206 names_this_round="$names_next_round" 5207 names_next_round= 5208 for name in $names_this_round; do 5209 already_handled= 5210 for n in $names_already_handled; do 5211 if test "$n" = "$name"; then 5212 already_handled=yes 5213 break 5214 fi 5215 done 5216 if test -z "$already_handled"; then 5217 names_already_handled="$names_already_handled $name" 5218 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 5219 eval value=\"\$HAVE_LIB$uppername\" 5220 if test -n "$value"; then 5221 if test "$value" = yes; then 5222 eval value=\"\$LIB$uppername\" 5223 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 5224 eval value=\"\$LTLIB$uppername\" 5225 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 5226 else 5227 : 5228 fi 5229 else 5230 found_dir= 5231 found_la= 5232 found_so= 5233 found_a= 5234 if test $use_additional = yes; then 5235 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 5236 found_dir="$additional_libdir" 5237 found_so="$additional_libdir/lib$name.$shlibext" 5238 if test -f "$additional_libdir/lib$name.la"; then 5239 found_la="$additional_libdir/lib$name.la" 5240 fi 5241 else 5242 if test -f "$additional_libdir/lib$name.$libext"; then 5243 found_dir="$additional_libdir" 5244 found_a="$additional_libdir/lib$name.$libext" 5245 if test -f "$additional_libdir/lib$name.la"; then 5246 found_la="$additional_libdir/lib$name.la" 5247 fi 5248 fi 5249 fi 5250 fi 5251 if test "X$found_dir" = "X"; then 5252 for x in $LDFLAGS $LTLIBICONV; do 5253 5254 acl_save_prefix="$prefix" 5255 prefix="$acl_final_prefix" 5256 acl_save_exec_prefix="$exec_prefix" 5257 exec_prefix="$acl_final_exec_prefix" 5258 eval x=\"$x\" 5259 exec_prefix="$acl_save_exec_prefix" 5260 prefix="$acl_save_prefix" 5261 5262 case "$x" in 5263 -L*) 5264 dir=`echo "X$x" | sed -e 's/^X-L//'` 5265 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 5266 found_dir="$dir" 5267 found_so="$dir/lib$name.$shlibext" 5268 if test -f "$dir/lib$name.la"; then 5269 found_la="$dir/lib$name.la" 5270 fi 5271 else 5272 if test -f "$dir/lib$name.$libext"; then 5273 found_dir="$dir" 5274 found_a="$dir/lib$name.$libext" 5275 if test -f "$dir/lib$name.la"; then 5276 found_la="$dir/lib$name.la" 5277 fi 5278 fi 5279 fi 5280 ;; 5281 esac 5282 if test "X$found_dir" != "X"; then 5283 break 5284 fi 5285 done 5286 fi 5287 if test "X$found_dir" != "X"; then 5288 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 5289 if test "X$found_so" != "X"; then 5290 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then 5291 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 5292 else 5293 haveit= 5294 for x in $ltrpathdirs; do 5295 if test "X$x" = "X$found_dir"; then 5296 haveit=yes 5297 break 5298 fi 5299 done 5300 if test -z "$haveit"; then 5301 ltrpathdirs="$ltrpathdirs $found_dir" 5302 fi 5303 if test "$hardcode_direct" = yes; then 5304 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 5305 else 5306 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 5307 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 5308 haveit= 5309 for x in $rpathdirs; do 5310 if test "X$x" = "X$found_dir"; then 5311 haveit=yes 5312 break 5313 fi 5314 done 5315 if test -z "$haveit"; then 5316 rpathdirs="$rpathdirs $found_dir" 5317 fi 5318 else 5319 haveit= 5320 for x in $LDFLAGS $LIBICONV; do 5321 5322 acl_save_prefix="$prefix" 5323 prefix="$acl_final_prefix" 5324 acl_save_exec_prefix="$exec_prefix" 5325 exec_prefix="$acl_final_exec_prefix" 5326 eval x=\"$x\" 5327 exec_prefix="$acl_save_exec_prefix" 5328 prefix="$acl_save_prefix" 5329 5330 if test "X$x" = "X-L$found_dir"; then 5331 haveit=yes 5332 break 5333 fi 5334 done 5335 if test -z "$haveit"; then 5336 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 5337 fi 5338 if test "$hardcode_minus_L" != no; then 5339 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 5340 else 5341 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 5342 fi 5343 fi 5344 fi 5345 fi 5346 else 5347 if test "X$found_a" != "X"; then 5348 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 5349 else 5350 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 5351 fi 5352 fi 5353 additional_includedir= 5354 case "$found_dir" in 5355 */lib | */lib/) 5356 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` 5357 additional_includedir="$basedir/include" 5358 ;; 5359 esac 5360 if test "X$additional_includedir" != "X"; then 5361 if test "X$additional_includedir" != "X/usr/include"; then 5362 haveit= 5363 if test "X$additional_includedir" = "X/usr/local/include"; then 5364 if test -n "$GCC"; then 5365 case $host_os in 5366 linux*) haveit=yes;; 5367 esac 5368 fi 5369 fi 5370 if test -z "$haveit"; then 5371 for x in $CPPFLAGS $INCICONV; do 5372 5373 acl_save_prefix="$prefix" 5374 prefix="$acl_final_prefix" 5375 acl_save_exec_prefix="$exec_prefix" 5376 exec_prefix="$acl_final_exec_prefix" 5377 eval x=\"$x\" 5378 exec_prefix="$acl_save_exec_prefix" 5379 prefix="$acl_save_prefix" 5380 5381 if test "X$x" = "X-I$additional_includedir"; then 5382 haveit=yes 5383 break 5384 fi 5385 done 5386 if test -z "$haveit"; then 5387 if test -d "$additional_includedir"; then 5388 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 5389 fi 5390 fi 5391 fi 5392 fi 5393 fi 5394 if test -n "$found_la"; then 5395 save_libdir="$libdir" 5396 case "$found_la" in 5397 */* | *\\*) . "$found_la" ;; 5398 *) . "./$found_la" ;; 5399 esac 5400 libdir="$save_libdir" 5401 for dep in $dependency_libs; do 5402 case "$dep" in 5403 -L*) 5404 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 5405 if test "X$additional_libdir" != "X/usr/lib"; then 5406 haveit= 5407 if test "X$additional_libdir" = "X/usr/local/lib"; then 5408 if test -n "$GCC"; then 5409 case $host_os in 5410 linux*) haveit=yes;; 5411 esac 5412 fi 5413 fi 5414 if test -z "$haveit"; then 5415 haveit= 5416 for x in $LDFLAGS $LIBICONV; do 5417 5418 acl_save_prefix="$prefix" 5419 prefix="$acl_final_prefix" 5420 acl_save_exec_prefix="$exec_prefix" 5421 exec_prefix="$acl_final_exec_prefix" 5422 eval x=\"$x\" 5423 exec_prefix="$acl_save_exec_prefix" 5424 prefix="$acl_save_prefix" 5425 5426 if test "X$x" = "X-L$additional_libdir"; then 5427 haveit=yes 5428 break 5429 fi 5430 done 5431 if test -z "$haveit"; then 5432 if test -d "$additional_libdir"; then 5433 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 5434 fi 5435 fi 5436 haveit= 5437 for x in $LDFLAGS $LTLIBICONV; do 5438 5439 acl_save_prefix="$prefix" 5440 prefix="$acl_final_prefix" 5441 acl_save_exec_prefix="$exec_prefix" 5442 exec_prefix="$acl_final_exec_prefix" 5443 eval x=\"$x\" 5444 exec_prefix="$acl_save_exec_prefix" 5445 prefix="$acl_save_prefix" 5446 5447 if test "X$x" = "X-L$additional_libdir"; then 5448 haveit=yes 5449 break 5450 fi 5451 done 5452 if test -z "$haveit"; then 5453 if test -d "$additional_libdir"; then 5454 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 5455 fi 5456 fi 5457 fi 5458 fi 5459 ;; 5460 -R*) 5461 dir=`echo "X$dep" | sed -e 's/^X-R//'` 5462 if test "$enable_rpath" != no; then 5463 haveit= 5464 for x in $rpathdirs; do 5465 if test "X$x" = "X$dir"; then 5466 haveit=yes 5467 break 5468 fi 5469 done 5470 if test -z "$haveit"; then 5471 rpathdirs="$rpathdirs $dir" 5472 fi 5473 haveit= 5474 for x in $ltrpathdirs; do 5475 if test "X$x" = "X$dir"; then 5476 haveit=yes 5477 break 5478 fi 5479 done 5480 if test -z "$haveit"; then 5481 ltrpathdirs="$ltrpathdirs $dir" 5482 fi 5483 fi 5484 ;; 5485 -l*) 5486 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 5487 ;; 5488 *.la) 5489 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 5490 ;; 5491 *) 5492 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 5493 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 5494 ;; 5495 esac 5496 done 5497 fi 5498 else 5499 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 5500 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 5501 fi 5502 fi 5503 fi 5504 done 5505 done 5506 if test "X$rpathdirs" != "X"; then 5507 if test -n "$hardcode_libdir_separator"; then 5508 alldirs= 5509 for found_dir in $rpathdirs; do 5510 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 5511 done 5512 acl_save_libdir="$libdir" 5513 libdir="$alldirs" 5514 eval flag=\"$hardcode_libdir_flag_spec\" 5515 libdir="$acl_save_libdir" 5516 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 5517 else 5518 for found_dir in $rpathdirs; do 5519 acl_save_libdir="$libdir" 5520 libdir="$found_dir" 5521 eval flag=\"$hardcode_libdir_flag_spec\" 5522 libdir="$acl_save_libdir" 5523 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 5524 done 5525 fi 5526 fi 5527 if test "X$ltrpathdirs" != "X"; then 5528 for found_dir in $ltrpathdirs; do 5529 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 5530 done 5531 fi 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5551$as_echo_n "checking whether NLS is requested... " >&6; } 5552 # Check whether --enable-nls was given. 5553if test "${enable_nls+set}" = set; then : 5554 enableval=$enable_nls; USE_NLS=$enableval 5555else 5556 USE_NLS=yes 5557fi 5558 5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5560$as_echo "$USE_NLS" >&6; } 5561 5562 5563 5564 5565 LIBINTL= 5566 LTLIBINTL= 5567 POSUB= 5568 5569 if test "$USE_NLS" = "yes"; then 5570 gt_use_preinstalled_gnugettext=no 5571 5572 5573 5574 5575 5576 5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 5578$as_echo_n "checking for GNU gettext in libc... " >&6; } 5579if ${gt_cv_func_gnugettext1_libc+:} false; then : 5580 $as_echo_n "(cached) " >&6 5581else 5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5583/* end confdefs.h. */ 5584#include <libintl.h> 5585extern int _nl_msg_cat_cntr; 5586extern int *_nl_domain_bindings; 5587int 5588main () 5589{ 5590bindtextdomain ("", ""); 5591return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings 5592 ; 5593 return 0; 5594} 5595_ACEOF 5596if ac_fn_c_try_link "$LINENO"; then : 5597 gt_cv_func_gnugettext1_libc=yes 5598else 5599 gt_cv_func_gnugettext1_libc=no 5600fi 5601rm -f core conftest.err conftest.$ac_objext \ 5602 conftest$ac_exeext conftest.$ac_ext 5603fi 5604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5 5605$as_echo "$gt_cv_func_gnugettext1_libc" >&6; } 5606 5607 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 5608 5609 5610 5611 5612 5613 am_save_CPPFLAGS="$CPPFLAGS" 5614 5615 for element in $INCICONV; do 5616 haveit= 5617 for x in $CPPFLAGS; do 5618 5619 acl_save_prefix="$prefix" 5620 prefix="$acl_final_prefix" 5621 acl_save_exec_prefix="$exec_prefix" 5622 exec_prefix="$acl_final_exec_prefix" 5623 eval x=\"$x\" 5624 exec_prefix="$acl_save_exec_prefix" 5625 prefix="$acl_save_prefix" 5626 5627 if test "X$x" = "X$element"; then 5628 haveit=yes 5629 break 5630 fi 5631 done 5632 if test -z "$haveit"; then 5633 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 5634 fi 5635 done 5636 5637 5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 5639$as_echo_n "checking for iconv... " >&6; } 5640if ${am_cv_func_iconv+:} false; then : 5641 $as_echo_n "(cached) " >&6 5642else 5643 5644 am_cv_func_iconv="no, consider installing GNU libiconv" 5645 am_cv_lib_iconv=no 5646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5647/* end confdefs.h. */ 5648#include <stdlib.h> 5649#include <iconv.h> 5650int 5651main () 5652{ 5653iconv_t cd = iconv_open("",""); 5654 iconv(cd,NULL,NULL,NULL,NULL); 5655 iconv_close(cd); 5656 ; 5657 return 0; 5658} 5659_ACEOF 5660if ac_fn_c_try_link "$LINENO"; then : 5661 am_cv_func_iconv=yes 5662fi 5663rm -f core conftest.err conftest.$ac_objext \ 5664 conftest$ac_exeext conftest.$ac_ext 5665 if test "$am_cv_func_iconv" != yes; then 5666 am_save_LIBS="$LIBS" 5667 LIBS="$LIBS $LIBICONV" 5668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5669/* end confdefs.h. */ 5670#include <stdlib.h> 5671#include <iconv.h> 5672int 5673main () 5674{ 5675iconv_t cd = iconv_open("",""); 5676 iconv(cd,NULL,NULL,NULL,NULL); 5677 iconv_close(cd); 5678 ; 5679 return 0; 5680} 5681_ACEOF 5682if ac_fn_c_try_link "$LINENO"; then : 5683 am_cv_lib_iconv=yes 5684 am_cv_func_iconv=yes 5685fi 5686rm -f core conftest.err conftest.$ac_objext \ 5687 conftest$ac_exeext conftest.$ac_ext 5688 LIBS="$am_save_LIBS" 5689 fi 5690 5691fi 5692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 5693$as_echo "$am_cv_func_iconv" >&6; } 5694 if test "$am_cv_func_iconv" = yes; then 5695 5696$as_echo "#define HAVE_ICONV 1" >>confdefs.h 5697 5698 fi 5699 if test "$am_cv_lib_iconv" = yes; then 5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 5701$as_echo_n "checking how to link with libiconv... " >&6; } 5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 5703$as_echo "$LIBICONV" >&6; } 5704 else 5705 CPPFLAGS="$am_save_CPPFLAGS" 5706 LIBICONV= 5707 LTLIBICONV= 5708 fi 5709 5710 5711 5712 5713 5714 5715 use_additional=yes 5716 5717 acl_save_prefix="$prefix" 5718 prefix="$acl_final_prefix" 5719 acl_save_exec_prefix="$exec_prefix" 5720 exec_prefix="$acl_final_exec_prefix" 5721 5722 eval additional_includedir=\"$includedir\" 5723 eval additional_libdir=\"$libdir\" 5724 5725 exec_prefix="$acl_save_exec_prefix" 5726 prefix="$acl_save_prefix" 5727 5728 5729# Check whether --with-libintl-prefix was given. 5730if test "${with_libintl_prefix+set}" = set; then : 5731 withval=$with_libintl_prefix; 5732 if test "X$withval" = "Xno"; then 5733 use_additional=no 5734 else 5735 if test "X$withval" = "X"; then 5736 5737 acl_save_prefix="$prefix" 5738 prefix="$acl_final_prefix" 5739 acl_save_exec_prefix="$exec_prefix" 5740 exec_prefix="$acl_final_exec_prefix" 5741 5742 eval additional_includedir=\"$includedir\" 5743 eval additional_libdir=\"$libdir\" 5744 5745 exec_prefix="$acl_save_exec_prefix" 5746 prefix="$acl_save_prefix" 5747 5748 else 5749 additional_includedir="$withval/include" 5750 additional_libdir="$withval/lib" 5751 fi 5752 fi 5753 5754fi 5755 5756 LIBINTL= 5757 LTLIBINTL= 5758 INCINTL= 5759 rpathdirs= 5760 ltrpathdirs= 5761 names_already_handled= 5762 names_next_round='intl ' 5763 while test -n "$names_next_round"; do 5764 names_this_round="$names_next_round" 5765 names_next_round= 5766 for name in $names_this_round; do 5767 already_handled= 5768 for n in $names_already_handled; do 5769 if test "$n" = "$name"; then 5770 already_handled=yes 5771 break 5772 fi 5773 done 5774 if test -z "$already_handled"; then 5775 names_already_handled="$names_already_handled $name" 5776 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 5777 eval value=\"\$HAVE_LIB$uppername\" 5778 if test -n "$value"; then 5779 if test "$value" = yes; then 5780 eval value=\"\$LIB$uppername\" 5781 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 5782 eval value=\"\$LTLIB$uppername\" 5783 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 5784 else 5785 : 5786 fi 5787 else 5788 found_dir= 5789 found_la= 5790 found_so= 5791 found_a= 5792 if test $use_additional = yes; then 5793 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 5794 found_dir="$additional_libdir" 5795 found_so="$additional_libdir/lib$name.$shlibext" 5796 if test -f "$additional_libdir/lib$name.la"; then 5797 found_la="$additional_libdir/lib$name.la" 5798 fi 5799 else 5800 if test -f "$additional_libdir/lib$name.$libext"; then 5801 found_dir="$additional_libdir" 5802 found_a="$additional_libdir/lib$name.$libext" 5803 if test -f "$additional_libdir/lib$name.la"; then 5804 found_la="$additional_libdir/lib$name.la" 5805 fi 5806 fi 5807 fi 5808 fi 5809 if test "X$found_dir" = "X"; then 5810 for x in $LDFLAGS $LTLIBINTL; do 5811 5812 acl_save_prefix="$prefix" 5813 prefix="$acl_final_prefix" 5814 acl_save_exec_prefix="$exec_prefix" 5815 exec_prefix="$acl_final_exec_prefix" 5816 eval x=\"$x\" 5817 exec_prefix="$acl_save_exec_prefix" 5818 prefix="$acl_save_prefix" 5819 5820 case "$x" in 5821 -L*) 5822 dir=`echo "X$x" | sed -e 's/^X-L//'` 5823 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 5824 found_dir="$dir" 5825 found_so="$dir/lib$name.$shlibext" 5826 if test -f "$dir/lib$name.la"; then 5827 found_la="$dir/lib$name.la" 5828 fi 5829 else 5830 if test -f "$dir/lib$name.$libext"; then 5831 found_dir="$dir" 5832 found_a="$dir/lib$name.$libext" 5833 if test -f "$dir/lib$name.la"; then 5834 found_la="$dir/lib$name.la" 5835 fi 5836 fi 5837 fi 5838 ;; 5839 esac 5840 if test "X$found_dir" != "X"; then 5841 break 5842 fi 5843 done 5844 fi 5845 if test "X$found_dir" != "X"; then 5846 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 5847 if test "X$found_so" != "X"; then 5848 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then 5849 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5850 else 5851 haveit= 5852 for x in $ltrpathdirs; do 5853 if test "X$x" = "X$found_dir"; then 5854 haveit=yes 5855 break 5856 fi 5857 done 5858 if test -z "$haveit"; then 5859 ltrpathdirs="$ltrpathdirs $found_dir" 5860 fi 5861 if test "$hardcode_direct" = yes; then 5862 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5863 else 5864 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 5865 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5866 haveit= 5867 for x in $rpathdirs; do 5868 if test "X$x" = "X$found_dir"; then 5869 haveit=yes 5870 break 5871 fi 5872 done 5873 if test -z "$haveit"; then 5874 rpathdirs="$rpathdirs $found_dir" 5875 fi 5876 else 5877 haveit= 5878 for x in $LDFLAGS $LIBINTL; do 5879 5880 acl_save_prefix="$prefix" 5881 prefix="$acl_final_prefix" 5882 acl_save_exec_prefix="$exec_prefix" 5883 exec_prefix="$acl_final_exec_prefix" 5884 eval x=\"$x\" 5885 exec_prefix="$acl_save_exec_prefix" 5886 prefix="$acl_save_prefix" 5887 5888 if test "X$x" = "X-L$found_dir"; then 5889 haveit=yes 5890 break 5891 fi 5892 done 5893 if test -z "$haveit"; then 5894 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 5895 fi 5896 if test "$hardcode_minus_L" != no; then 5897 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5898 else 5899 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 5900 fi 5901 fi 5902 fi 5903 fi 5904 else 5905 if test "X$found_a" != "X"; then 5906 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 5907 else 5908 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 5909 fi 5910 fi 5911 additional_includedir= 5912 case "$found_dir" in 5913 */lib | */lib/) 5914 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` 5915 additional_includedir="$basedir/include" 5916 ;; 5917 esac 5918 if test "X$additional_includedir" != "X"; then 5919 if test "X$additional_includedir" != "X/usr/include"; then 5920 haveit= 5921 if test "X$additional_includedir" = "X/usr/local/include"; then 5922 if test -n "$GCC"; then 5923 case $host_os in 5924 linux*) haveit=yes;; 5925 esac 5926 fi 5927 fi 5928 if test -z "$haveit"; then 5929 for x in $CPPFLAGS $INCINTL; do 5930 5931 acl_save_prefix="$prefix" 5932 prefix="$acl_final_prefix" 5933 acl_save_exec_prefix="$exec_prefix" 5934 exec_prefix="$acl_final_exec_prefix" 5935 eval x=\"$x\" 5936 exec_prefix="$acl_save_exec_prefix" 5937 prefix="$acl_save_prefix" 5938 5939 if test "X$x" = "X-I$additional_includedir"; then 5940 haveit=yes 5941 break 5942 fi 5943 done 5944 if test -z "$haveit"; then 5945 if test -d "$additional_includedir"; then 5946 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 5947 fi 5948 fi 5949 fi 5950 fi 5951 fi 5952 if test -n "$found_la"; then 5953 save_libdir="$libdir" 5954 case "$found_la" in 5955 */* | *\\*) . "$found_la" ;; 5956 *) . "./$found_la" ;; 5957 esac 5958 libdir="$save_libdir" 5959 for dep in $dependency_libs; do 5960 case "$dep" in 5961 -L*) 5962 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 5963 if test "X$additional_libdir" != "X/usr/lib"; then 5964 haveit= 5965 if test "X$additional_libdir" = "X/usr/local/lib"; then 5966 if test -n "$GCC"; then 5967 case $host_os in 5968 linux*) haveit=yes;; 5969 esac 5970 fi 5971 fi 5972 if test -z "$haveit"; then 5973 haveit= 5974 for x in $LDFLAGS $LIBINTL; do 5975 5976 acl_save_prefix="$prefix" 5977 prefix="$acl_final_prefix" 5978 acl_save_exec_prefix="$exec_prefix" 5979 exec_prefix="$acl_final_exec_prefix" 5980 eval x=\"$x\" 5981 exec_prefix="$acl_save_exec_prefix" 5982 prefix="$acl_save_prefix" 5983 5984 if test "X$x" = "X-L$additional_libdir"; then 5985 haveit=yes 5986 break 5987 fi 5988 done 5989 if test -z "$haveit"; then 5990 if test -d "$additional_libdir"; then 5991 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 5992 fi 5993 fi 5994 haveit= 5995 for x in $LDFLAGS $LTLIBINTL; do 5996 5997 acl_save_prefix="$prefix" 5998 prefix="$acl_final_prefix" 5999 acl_save_exec_prefix="$exec_prefix" 6000 exec_prefix="$acl_final_exec_prefix" 6001 eval x=\"$x\" 6002 exec_prefix="$acl_save_exec_prefix" 6003 prefix="$acl_save_prefix" 6004 6005 if test "X$x" = "X-L$additional_libdir"; then 6006 haveit=yes 6007 break 6008 fi 6009 done 6010 if test -z "$haveit"; then 6011 if test -d "$additional_libdir"; then 6012 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 6013 fi 6014 fi 6015 fi 6016 fi 6017 ;; 6018 -R*) 6019 dir=`echo "X$dep" | sed -e 's/^X-R//'` 6020 if test "$enable_rpath" != no; then 6021 haveit= 6022 for x in $rpathdirs; do 6023 if test "X$x" = "X$dir"; then 6024 haveit=yes 6025 break 6026 fi 6027 done 6028 if test -z "$haveit"; then 6029 rpathdirs="$rpathdirs $dir" 6030 fi 6031 haveit= 6032 for x in $ltrpathdirs; do 6033 if test "X$x" = "X$dir"; then 6034 haveit=yes 6035 break 6036 fi 6037 done 6038 if test -z "$haveit"; then 6039 ltrpathdirs="$ltrpathdirs $dir" 6040 fi 6041 fi 6042 ;; 6043 -l*) 6044 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 6045 ;; 6046 *.la) 6047 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 6048 ;; 6049 *) 6050 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 6051 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 6052 ;; 6053 esac 6054 done 6055 fi 6056 else 6057 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 6058 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 6059 fi 6060 fi 6061 fi 6062 done 6063 done 6064 if test "X$rpathdirs" != "X"; then 6065 if test -n "$hardcode_libdir_separator"; then 6066 alldirs= 6067 for found_dir in $rpathdirs; do 6068 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 6069 done 6070 acl_save_libdir="$libdir" 6071 libdir="$alldirs" 6072 eval flag=\"$hardcode_libdir_flag_spec\" 6073 libdir="$acl_save_libdir" 6074 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 6075 else 6076 for found_dir in $rpathdirs; do 6077 acl_save_libdir="$libdir" 6078 libdir="$found_dir" 6079 eval flag=\"$hardcode_libdir_flag_spec\" 6080 libdir="$acl_save_libdir" 6081 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 6082 done 6083 fi 6084 fi 6085 if test "X$ltrpathdirs" != "X"; then 6086 for found_dir in $ltrpathdirs; do 6087 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 6088 done 6089 fi 6090 6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 6092$as_echo_n "checking for GNU gettext in libintl... " >&6; } 6093if ${gt_cv_func_gnugettext1_libintl+:} false; then : 6094 $as_echo_n "(cached) " >&6 6095else 6096 gt_save_CPPFLAGS="$CPPFLAGS" 6097 CPPFLAGS="$CPPFLAGS $INCINTL" 6098 gt_save_LIBS="$LIBS" 6099 LIBS="$LIBS $LIBINTL" 6100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6101/* end confdefs.h. */ 6102#include <libintl.h> 6103extern int _nl_msg_cat_cntr; 6104extern 6105#ifdef __cplusplus 6106"C" 6107#endif 6108const char *_nl_expand_alias (); 6109int 6110main () 6111{ 6112bindtextdomain ("", ""); 6113return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) 6114 ; 6115 return 0; 6116} 6117_ACEOF 6118if ac_fn_c_try_link "$LINENO"; then : 6119 gt_cv_func_gnugettext1_libintl=yes 6120else 6121 gt_cv_func_gnugettext1_libintl=no 6122fi 6123rm -f core conftest.err conftest.$ac_objext \ 6124 conftest$ac_exeext conftest.$ac_ext 6125 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then 6126 LIBS="$LIBS $LIBICONV" 6127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6128/* end confdefs.h. */ 6129#include <libintl.h> 6130extern int _nl_msg_cat_cntr; 6131extern 6132#ifdef __cplusplus 6133"C" 6134#endif 6135const char *_nl_expand_alias (); 6136int 6137main () 6138{ 6139bindtextdomain ("", ""); 6140return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) 6141 ; 6142 return 0; 6143} 6144_ACEOF 6145if ac_fn_c_try_link "$LINENO"; then : 6146 LIBINTL="$LIBINTL $LIBICONV" 6147 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 6148 gt_cv_func_gnugettext1_libintl=yes 6149 6150fi 6151rm -f core conftest.err conftest.$ac_objext \ 6152 conftest$ac_exeext conftest.$ac_ext 6153 fi 6154 CPPFLAGS="$gt_save_CPPFLAGS" 6155 LIBS="$gt_save_LIBS" 6156fi 6157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5 6158$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; } 6159 fi 6160 6161 if test "$gt_cv_func_gnugettext1_libc" = "yes" \ 6162 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ 6163 && test "$PACKAGE" != gettext-runtime \ 6164 && test "$PACKAGE" != gettext-tools; }; then 6165 gt_use_preinstalled_gnugettext=yes 6166 else 6167 LIBINTL= 6168 LTLIBINTL= 6169 INCINTL= 6170 fi 6171 6172 6173 6174 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 6175 || test "$nls_cv_use_gnu_gettext" = "yes"; then 6176 6177$as_echo "#define ENABLE_NLS 1" >>confdefs.h 6178 6179 else 6180 USE_NLS=no 6181 fi 6182 fi 6183 6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 6185$as_echo_n "checking whether to use NLS... " >&6; } 6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 6187$as_echo "$USE_NLS" >&6; } 6188 if test "$USE_NLS" = "yes"; then 6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 6190$as_echo_n "checking where the gettext function comes from... " >&6; } 6191 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 6192 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then 6193 gt_source="external libintl" 6194 else 6195 gt_source="libc" 6196 fi 6197 else 6198 gt_source="included intl directory" 6199 fi 6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 6201$as_echo "$gt_source" >&6; } 6202 fi 6203 6204 if test "$USE_NLS" = "yes"; then 6205 6206 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 6207 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then 6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 6209$as_echo_n "checking how to link with libintl... " >&6; } 6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 6211$as_echo "$LIBINTL" >&6; } 6212 6213 for element in $INCINTL; do 6214 haveit= 6215 for x in $CPPFLAGS; do 6216 6217 acl_save_prefix="$prefix" 6218 prefix="$acl_final_prefix" 6219 acl_save_exec_prefix="$exec_prefix" 6220 exec_prefix="$acl_final_exec_prefix" 6221 eval x=\"$x\" 6222 exec_prefix="$acl_save_exec_prefix" 6223 prefix="$acl_save_prefix" 6224 6225 if test "X$x" = "X$element"; then 6226 haveit=yes 6227 break 6228 fi 6229 done 6230 if test -z "$haveit"; then 6231 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 6232 fi 6233 done 6234 6235 fi 6236 6237 6238$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 6239 6240 6241$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 6242 6243 fi 6244 6245 POSUB=po 6246 fi 6247 6248 6249 6250 INTLLIBS="$LIBINTL" 6251 6252 6253 6254 6255 6256 6257 6258 6259################################################################# 6260# Checks for typedefs, structures, and compiler characteristics 6261################################################################# 6262 6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 6264$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 6265if ${ac_cv_c_bigendian+:} false; then : 6266 $as_echo_n "(cached) " >&6 6267else 6268 ac_cv_c_bigendian=unknown 6269 # See if we're dealing with a universal compiler. 6270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6271/* end confdefs.h. */ 6272#ifndef __APPLE_CC__ 6273 not a universal capable compiler 6274 #endif 6275 typedef int dummy; 6276 6277_ACEOF 6278if ac_fn_c_try_compile "$LINENO"; then : 6279 6280 # Check for potential -arch flags. It is not universal unless 6281 # there are at least two -arch flags with different values. 6282 ac_arch= 6283 ac_prev= 6284 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 6285 if test -n "$ac_prev"; then 6286 case $ac_word in 6287 i?86 | x86_64 | ppc | ppc64) 6288 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 6289 ac_arch=$ac_word 6290 else 6291 ac_cv_c_bigendian=universal 6292 break 6293 fi 6294 ;; 6295 esac 6296 ac_prev= 6297 elif test "x$ac_word" = "x-arch"; then 6298 ac_prev=arch 6299 fi 6300 done 6301fi 6302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6303 if test $ac_cv_c_bigendian = unknown; then 6304 # See if sys/param.h defines the BYTE_ORDER macro. 6305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6306/* end confdefs.h. */ 6307#include <sys/types.h> 6308 #include <sys/param.h> 6309 6310int 6311main () 6312{ 6313#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 6314 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 6315 && LITTLE_ENDIAN) 6316 bogus endian macros 6317 #endif 6318 6319 ; 6320 return 0; 6321} 6322_ACEOF 6323if ac_fn_c_try_compile "$LINENO"; then : 6324 # It does; now see whether it defined to BIG_ENDIAN or not. 6325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6326/* end confdefs.h. */ 6327#include <sys/types.h> 6328 #include <sys/param.h> 6329 6330int 6331main () 6332{ 6333#if BYTE_ORDER != BIG_ENDIAN 6334 not big endian 6335 #endif 6336 6337 ; 6338 return 0; 6339} 6340_ACEOF 6341if ac_fn_c_try_compile "$LINENO"; then : 6342 ac_cv_c_bigendian=yes 6343else 6344 ac_cv_c_bigendian=no 6345fi 6346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6347fi 6348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6349 fi 6350 if test $ac_cv_c_bigendian = unknown; then 6351 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 6352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6353/* end confdefs.h. */ 6354#include <limits.h> 6355 6356int 6357main () 6358{ 6359#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 6360 bogus endian macros 6361 #endif 6362 6363 ; 6364 return 0; 6365} 6366_ACEOF 6367if ac_fn_c_try_compile "$LINENO"; then : 6368 # It does; now see whether it defined to _BIG_ENDIAN or not. 6369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6370/* end confdefs.h. */ 6371#include <limits.h> 6372 6373int 6374main () 6375{ 6376#ifndef _BIG_ENDIAN 6377 not big endian 6378 #endif 6379 6380 ; 6381 return 0; 6382} 6383_ACEOF 6384if ac_fn_c_try_compile "$LINENO"; then : 6385 ac_cv_c_bigendian=yes 6386else 6387 ac_cv_c_bigendian=no 6388fi 6389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6390fi 6391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6392 fi 6393 if test $ac_cv_c_bigendian = unknown; then 6394 # Compile a test program. 6395 if test "$cross_compiling" = yes; then : 6396 # Try to guess by grepping values from an object file. 6397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6398/* end confdefs.h. */ 6399short int ascii_mm[] = 6400 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 6401 short int ascii_ii[] = 6402 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 6403 int use_ascii (int i) { 6404 return ascii_mm[i] + ascii_ii[i]; 6405 } 6406 short int ebcdic_ii[] = 6407 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 6408 short int ebcdic_mm[] = 6409 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 6410 int use_ebcdic (int i) { 6411 return ebcdic_mm[i] + ebcdic_ii[i]; 6412 } 6413 extern int foo; 6414 6415int 6416main () 6417{ 6418return use_ascii (foo) == use_ebcdic (foo); 6419 ; 6420 return 0; 6421} 6422_ACEOF 6423if ac_fn_c_try_compile "$LINENO"; then : 6424 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 6425 ac_cv_c_bigendian=yes 6426 fi 6427 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 6428 if test "$ac_cv_c_bigendian" = unknown; then 6429 ac_cv_c_bigendian=no 6430 else 6431 # finding both strings is unlikely to happen, but who knows? 6432 ac_cv_c_bigendian=unknown 6433 fi 6434 fi 6435fi 6436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6437else 6438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6439/* end confdefs.h. */ 6440$ac_includes_default 6441int 6442main () 6443{ 6444 6445 /* Are we little or big endian? From Harbison&Steele. */ 6446 union 6447 { 6448 long int l; 6449 char c[sizeof (long int)]; 6450 } u; 6451 u.l = 1; 6452 return u.c[sizeof (long int) - 1] == 1; 6453 6454 ; 6455 return 0; 6456} 6457_ACEOF 6458if ac_fn_c_try_run "$LINENO"; then : 6459 ac_cv_c_bigendian=no 6460else 6461 ac_cv_c_bigendian=yes 6462fi 6463rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6464 conftest.$ac_objext conftest.beam conftest.$ac_ext 6465fi 6466 6467 fi 6468fi 6469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 6470$as_echo "$ac_cv_c_bigendian" >&6; } 6471 case $ac_cv_c_bigendian in #( 6472 yes) 6473 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 6474;; #( 6475 no) 6476 ;; #( 6477 universal) 6478 6479$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 6480 6481 ;; #( 6482 *) 6483 as_fn_error $? "unknown endianness 6484 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 6485 esac 6486 6487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 6488$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 6489if ${ac_cv_c_const+:} false; then : 6490 $as_echo_n "(cached) " >&6 6491else 6492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6493/* end confdefs.h. */ 6494 6495int 6496main () 6497{ 6498 6499#ifndef __cplusplus 6500 /* Ultrix mips cc rejects this sort of thing. */ 6501 typedef int charset[2]; 6502 const charset cs = { 0, 0 }; 6503 /* SunOS 4.1.1 cc rejects this. */ 6504 char const *const *pcpcc; 6505 char **ppc; 6506 /* NEC SVR4.0.2 mips cc rejects this. */ 6507 struct point {int x, y;}; 6508 static struct point const zero = {0,0}; 6509 /* AIX XL C 1.02.0.0 rejects this. 6510 It does not let you subtract one const X* pointer from another in 6511 an arm of an if-expression whose if-part is not a constant 6512 expression */ 6513 const char *g = "string"; 6514 pcpcc = &g + (g ? g-g : 0); 6515 /* HPUX 7.0 cc rejects these. */ 6516 ++pcpcc; 6517 ppc = (char**) pcpcc; 6518 pcpcc = (char const *const *) ppc; 6519 { /* SCO 3.2v4 cc rejects this sort of thing. */ 6520 char tx; 6521 char *t = &tx; 6522 char const *s = 0 ? (char *) 0 : (char const *) 0; 6523 6524 *t++ = 0; 6525 if (s) return 0; 6526 } 6527 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 6528 int x[] = {25, 17}; 6529 const int *foo = &x[0]; 6530 ++foo; 6531 } 6532 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 6533 typedef const int *iptr; 6534 iptr p = 0; 6535 ++p; 6536 } 6537 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 6538 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 6539 struct s { int j; const int *ap[3]; } bx; 6540 struct s *b = &bx; b->j = 5; 6541 } 6542 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 6543 const int foo = 10; 6544 if (!foo) return 0; 6545 } 6546 return !cs[0] && !zero.x; 6547#endif 6548 6549 ; 6550 return 0; 6551} 6552_ACEOF 6553if ac_fn_c_try_compile "$LINENO"; then : 6554 ac_cv_c_const=yes 6555else 6556 ac_cv_c_const=no 6557fi 6558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6559fi 6560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 6561$as_echo "$ac_cv_c_const" >&6; } 6562if test $ac_cv_c_const = no; then 6563 6564$as_echo "#define const /**/" >>confdefs.h 6565 6566fi 6567 6568 6569SONAME=0 6570 6571 6572cat >>confdefs.h <<_ACEOF 6573#define SPLT_SONAME "$SONAME" 6574_ACEOF 6575 6576 6577################################################################# 6578# Enable libtool, check for libltdl and define @LIBLTDL@ and @INCLTDL@ 6579################################################################# 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 case `pwd` in 6590 *\ * | *\ *) 6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 6592$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 6593esac 6594 6595 6596 6597macro_version='2.4.2' 6598macro_revision='1.3337' 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612ltmain="$ac_aux_dir/ltmain.sh" 6613 6614# Backslashify metacharacters that are still active within 6615# double-quoted strings. 6616sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6617 6618# Same as above, but do not quote variable references. 6619double_quote_subst='s/\(["`\\]\)/\\\1/g' 6620 6621# Sed substitution to delay expansion of an escaped shell variable in a 6622# double_quote_subst'ed string. 6623delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6624 6625# Sed substitution to delay expansion of an escaped single quote. 6626delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 6627 6628# Sed substitution to avoid accidental globbing in evaled expressions 6629no_glob_subst='s/\*/\\\*/g' 6630 6631ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6632ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 6633ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 6634 6635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 6636$as_echo_n "checking how to print strings... " >&6; } 6637# Test print first, because it will be a builtin if present. 6638if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 6639 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 6640 ECHO='print -r --' 6641elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 6642 ECHO='printf %s\n' 6643else 6644 # Use this function as a fallback that always works. 6645 func_fallback_echo () 6646 { 6647 eval 'cat <<_LTECHO_EOF 6648$1 6649_LTECHO_EOF' 6650 } 6651 ECHO='func_fallback_echo' 6652fi 6653 6654# func_echo_all arg... 6655# Invoke $ECHO with all args, space-separated. 6656func_echo_all () 6657{ 6658 $ECHO "" 6659} 6660 6661case "$ECHO" in 6662 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6663$as_echo "printf" >&6; } ;; 6664 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6665$as_echo "print -r" >&6; } ;; 6666 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6667$as_echo "cat" >&6; } ;; 6668esac 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6684$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6685if ${ac_cv_path_SED+:} false; then : 6686 $as_echo_n "(cached) " >&6 6687else 6688 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6689 for ac_i in 1 2 3 4 5 6 7; do 6690 ac_script="$ac_script$as_nl$ac_script" 6691 done 6692 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6693 { ac_script=; unset ac_script;} 6694 if test -z "$SED"; then 6695 ac_path_SED_found=false 6696 # Loop through the user's path and test for each of PROGNAME-LIST 6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6698for as_dir in $PATH 6699do 6700 IFS=$as_save_IFS 6701 test -z "$as_dir" && as_dir=. 6702 for ac_prog in sed gsed; do 6703 for ac_exec_ext in '' $ac_executable_extensions; do 6704 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6705 as_fn_executable_p "$ac_path_SED" || continue 6706# Check for GNU ac_path_SED and select it if it is found. 6707 # Check for GNU $ac_path_SED 6708case `"$ac_path_SED" --version 2>&1` in 6709*GNU*) 6710 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6711*) 6712 ac_count=0 6713 $as_echo_n 0123456789 >"conftest.in" 6714 while : 6715 do 6716 cat "conftest.in" "conftest.in" >"conftest.tmp" 6717 mv "conftest.tmp" "conftest.in" 6718 cp "conftest.in" "conftest.nl" 6719 $as_echo '' >> "conftest.nl" 6720 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6721 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6722 as_fn_arith $ac_count + 1 && ac_count=$as_val 6723 if test $ac_count -gt ${ac_path_SED_max-0}; then 6724 # Best one so far, save it but keep looking for a better one 6725 ac_cv_path_SED="$ac_path_SED" 6726 ac_path_SED_max=$ac_count 6727 fi 6728 # 10*(2^10) chars as input seems more than enough 6729 test $ac_count -gt 10 && break 6730 done 6731 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6732esac 6733 6734 $ac_path_SED_found && break 3 6735 done 6736 done 6737 done 6738IFS=$as_save_IFS 6739 if test -z "$ac_cv_path_SED"; then 6740 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6741 fi 6742else 6743 ac_cv_path_SED=$SED 6744fi 6745 6746fi 6747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6748$as_echo "$ac_cv_path_SED" >&6; } 6749 SED="$ac_cv_path_SED" 6750 rm -f conftest.sed 6751 6752test -z "$SED" && SED=sed 6753Xsed="$SED -e 1s/^X//" 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6766$as_echo_n "checking for fgrep... " >&6; } 6767if ${ac_cv_path_FGREP+:} false; then : 6768 $as_echo_n "(cached) " >&6 6769else 6770 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6771 then ac_cv_path_FGREP="$GREP -F" 6772 else 6773 if test -z "$FGREP"; then 6774 ac_path_FGREP_found=false 6775 # Loop through the user's path and test for each of PROGNAME-LIST 6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6777for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6778do 6779 IFS=$as_save_IFS 6780 test -z "$as_dir" && as_dir=. 6781 for ac_prog in fgrep; do 6782 for ac_exec_ext in '' $ac_executable_extensions; do 6783 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6784 as_fn_executable_p "$ac_path_FGREP" || continue 6785# Check for GNU ac_path_FGREP and select it if it is found. 6786 # Check for GNU $ac_path_FGREP 6787case `"$ac_path_FGREP" --version 2>&1` in 6788*GNU*) 6789 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6790*) 6791 ac_count=0 6792 $as_echo_n 0123456789 >"conftest.in" 6793 while : 6794 do 6795 cat "conftest.in" "conftest.in" >"conftest.tmp" 6796 mv "conftest.tmp" "conftest.in" 6797 cp "conftest.in" "conftest.nl" 6798 $as_echo 'FGREP' >> "conftest.nl" 6799 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6800 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6801 as_fn_arith $ac_count + 1 && ac_count=$as_val 6802 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6803 # Best one so far, save it but keep looking for a better one 6804 ac_cv_path_FGREP="$ac_path_FGREP" 6805 ac_path_FGREP_max=$ac_count 6806 fi 6807 # 10*(2^10) chars as input seems more than enough 6808 test $ac_count -gt 10 && break 6809 done 6810 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6811esac 6812 6813 $ac_path_FGREP_found && break 3 6814 done 6815 done 6816 done 6817IFS=$as_save_IFS 6818 if test -z "$ac_cv_path_FGREP"; then 6819 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6820 fi 6821else 6822 ac_cv_path_FGREP=$FGREP 6823fi 6824 6825 fi 6826fi 6827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6828$as_echo "$ac_cv_path_FGREP" >&6; } 6829 FGREP="$ac_cv_path_FGREP" 6830 6831 6832test -z "$GREP" && GREP=grep 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852# Check whether --with-gnu-ld was given. 6853if test "${with_gnu_ld+set}" = set; then : 6854 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 6855else 6856 with_gnu_ld=no 6857fi 6858 6859ac_prog=ld 6860if test "$GCC" = yes; then 6861 # Check if gcc -print-prog-name=ld gives a path. 6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6863$as_echo_n "checking for ld used by $CC... " >&6; } 6864 case $host in 6865 *-*-mingw*) 6866 # gcc leaves a trailing carriage return which upsets mingw 6867 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6868 *) 6869 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6870 esac 6871 case $ac_prog in 6872 # Accept absolute paths. 6873 [\\/]* | ?:[\\/]*) 6874 re_direlt='/[^/][^/]*/\.\./' 6875 # Canonicalize the pathname of ld 6876 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6877 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6878 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6879 done 6880 test -z "$LD" && LD="$ac_prog" 6881 ;; 6882 "") 6883 # If it fails, then pretend we aren't using GCC. 6884 ac_prog=ld 6885 ;; 6886 *) 6887 # If it is relative, then search for the first ld in PATH. 6888 with_gnu_ld=unknown 6889 ;; 6890 esac 6891elif test "$with_gnu_ld" = yes; then 6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6893$as_echo_n "checking for GNU ld... " >&6; } 6894else 6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6896$as_echo_n "checking for non-GNU ld... " >&6; } 6897fi 6898if ${lt_cv_path_LD+:} false; then : 6899 $as_echo_n "(cached) " >&6 6900else 6901 if test -z "$LD"; then 6902 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6903 for ac_dir in $PATH; do 6904 IFS="$lt_save_ifs" 6905 test -z "$ac_dir" && ac_dir=. 6906 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6907 lt_cv_path_LD="$ac_dir/$ac_prog" 6908 # Check to see if the program is GNU ld. I'd rather use --version, 6909 # but apparently some variants of GNU ld only accept -v. 6910 # Break only if it was the GNU/non-GNU ld that we prefer. 6911 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6912 *GNU* | *'with BFD'*) 6913 test "$with_gnu_ld" != no && break 6914 ;; 6915 *) 6916 test "$with_gnu_ld" != yes && break 6917 ;; 6918 esac 6919 fi 6920 done 6921 IFS="$lt_save_ifs" 6922else 6923 lt_cv_path_LD="$LD" # Let the user override the test with a path. 6924fi 6925fi 6926 6927LD="$lt_cv_path_LD" 6928if test -n "$LD"; then 6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6930$as_echo "$LD" >&6; } 6931else 6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6933$as_echo "no" >&6; } 6934fi 6935test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6937$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6938if ${lt_cv_prog_gnu_ld+:} false; then : 6939 $as_echo_n "(cached) " >&6 6940else 6941 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6942case `$LD -v 2>&1 </dev/null` in 6943*GNU* | *'with BFD'*) 6944 lt_cv_prog_gnu_ld=yes 6945 ;; 6946*) 6947 lt_cv_prog_gnu_ld=no 6948 ;; 6949esac 6950fi 6951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6952$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6953with_gnu_ld=$lt_cv_prog_gnu_ld 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6964$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6965if ${lt_cv_path_NM+:} false; then : 6966 $as_echo_n "(cached) " >&6 6967else 6968 if test -n "$NM"; then 6969 # Let the user override the test. 6970 lt_cv_path_NM="$NM" 6971else 6972 lt_nm_to_check="${ac_tool_prefix}nm" 6973 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6974 lt_nm_to_check="$lt_nm_to_check nm" 6975 fi 6976 for lt_tmp_nm in $lt_nm_to_check; do 6977 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6978 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6979 IFS="$lt_save_ifs" 6980 test -z "$ac_dir" && ac_dir=. 6981 tmp_nm="$ac_dir/$lt_tmp_nm" 6982 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 6983 # Check to see if the nm accepts a BSD-compat flag. 6984 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 6985 # nm: unknown option "B" ignored 6986 # Tru64's nm complains that /dev/null is an invalid object file 6987 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 6988 */dev/null* | *'Invalid file or object type'*) 6989 lt_cv_path_NM="$tmp_nm -B" 6990 break 6991 ;; 6992 *) 6993 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6994 */dev/null*) 6995 lt_cv_path_NM="$tmp_nm -p" 6996 break 6997 ;; 6998 *) 6999 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 7000 continue # so that we can try to find one that supports BSD flags 7001 ;; 7002 esac 7003 ;; 7004 esac 7005 fi 7006 done 7007 IFS="$lt_save_ifs" 7008 done 7009 : ${lt_cv_path_NM=no} 7010fi 7011fi 7012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 7013$as_echo "$lt_cv_path_NM" >&6; } 7014if test "$lt_cv_path_NM" != "no"; then 7015 NM="$lt_cv_path_NM" 7016else 7017 # Didn't find any BSD compatible name lister, look for dumpbin. 7018 if test -n "$DUMPBIN"; then : 7019 # Let the user override the test. 7020 else 7021 if test -n "$ac_tool_prefix"; then 7022 for ac_prog in dumpbin "link -dump" 7023 do 7024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7025set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7027$as_echo_n "checking for $ac_word... " >&6; } 7028if ${ac_cv_prog_DUMPBIN+:} false; then : 7029 $as_echo_n "(cached) " >&6 7030else 7031 if test -n "$DUMPBIN"; then 7032 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 7033else 7034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7035for as_dir in $PATH 7036do 7037 IFS=$as_save_IFS 7038 test -z "$as_dir" && as_dir=. 7039 for ac_exec_ext in '' $ac_executable_extensions; do 7040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7041 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 7042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7043 break 2 7044 fi 7045done 7046 done 7047IFS=$as_save_IFS 7048 7049fi 7050fi 7051DUMPBIN=$ac_cv_prog_DUMPBIN 7052if test -n "$DUMPBIN"; then 7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 7054$as_echo "$DUMPBIN" >&6; } 7055else 7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7057$as_echo "no" >&6; } 7058fi 7059 7060 7061 test -n "$DUMPBIN" && break 7062 done 7063fi 7064if test -z "$DUMPBIN"; then 7065 ac_ct_DUMPBIN=$DUMPBIN 7066 for ac_prog in dumpbin "link -dump" 7067do 7068 # Extract the first word of "$ac_prog", so it can be a program name with args. 7069set dummy $ac_prog; ac_word=$2 7070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7071$as_echo_n "checking for $ac_word... " >&6; } 7072if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 7073 $as_echo_n "(cached) " >&6 7074else 7075 if test -n "$ac_ct_DUMPBIN"; then 7076 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 7077else 7078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7079for as_dir in $PATH 7080do 7081 IFS=$as_save_IFS 7082 test -z "$as_dir" && as_dir=. 7083 for ac_exec_ext in '' $ac_executable_extensions; do 7084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7085 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 7086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7087 break 2 7088 fi 7089done 7090 done 7091IFS=$as_save_IFS 7092 7093fi 7094fi 7095ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 7096if test -n "$ac_ct_DUMPBIN"; then 7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 7098$as_echo "$ac_ct_DUMPBIN" >&6; } 7099else 7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7101$as_echo "no" >&6; } 7102fi 7103 7104 7105 test -n "$ac_ct_DUMPBIN" && break 7106done 7107 7108 if test "x$ac_ct_DUMPBIN" = x; then 7109 DUMPBIN=":" 7110 else 7111 case $cross_compiling:$ac_tool_warned in 7112yes:) 7113{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7114$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7115ac_tool_warned=yes ;; 7116esac 7117 DUMPBIN=$ac_ct_DUMPBIN 7118 fi 7119fi 7120 7121 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 7122 *COFF*) 7123 DUMPBIN="$DUMPBIN -symbols" 7124 ;; 7125 *) 7126 DUMPBIN=: 7127 ;; 7128 esac 7129 fi 7130 7131 if test "$DUMPBIN" != ":"; then 7132 NM="$DUMPBIN" 7133 fi 7134fi 7135test -z "$NM" && NM=nm 7136 7137 7138 7139 7140 7141 7142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 7143$as_echo_n "checking the name lister ($NM) interface... " >&6; } 7144if ${lt_cv_nm_interface+:} false; then : 7145 $as_echo_n "(cached) " >&6 7146else 7147 lt_cv_nm_interface="BSD nm" 7148 echo "int some_variable = 0;" > conftest.$ac_ext 7149 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 7150 (eval "$ac_compile" 2>conftest.err) 7151 cat conftest.err >&5 7152 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 7153 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 7154 cat conftest.err >&5 7155 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 7156 cat conftest.out >&5 7157 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 7158 lt_cv_nm_interface="MS dumpbin" 7159 fi 7160 rm -f conftest* 7161fi 7162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 7163$as_echo "$lt_cv_nm_interface" >&6; } 7164 7165# find the maximum length of command line arguments 7166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 7167$as_echo_n "checking the maximum length of command line arguments... " >&6; } 7168if ${lt_cv_sys_max_cmd_len+:} false; then : 7169 $as_echo_n "(cached) " >&6 7170else 7171 i=0 7172 teststring="ABCD" 7173 7174 case $build_os in 7175 msdosdjgpp*) 7176 # On DJGPP, this test can blow up pretty badly due to problems in libc 7177 # (any single argument exceeding 2000 bytes causes a buffer overrun 7178 # during glob expansion). Even if it were fixed, the result of this 7179 # check would be larger than it should be. 7180 lt_cv_sys_max_cmd_len=12288; # 12K is about right 7181 ;; 7182 7183 gnu*) 7184 # Under GNU Hurd, this test is not required because there is 7185 # no limit to the length of command line arguments. 7186 # Libtool will interpret -1 as no limit whatsoever 7187 lt_cv_sys_max_cmd_len=-1; 7188 ;; 7189 7190 cygwin* | mingw* | cegcc*) 7191 # On Win9x/ME, this test blows up -- it succeeds, but takes 7192 # about 5 minutes as the teststring grows exponentially. 7193 # Worse, since 9x/ME are not pre-emptively multitasking, 7194 # you end up with a "frozen" computer, even though with patience 7195 # the test eventually succeeds (with a max line length of 256k). 7196 # Instead, let's just punt: use the minimum linelength reported by 7197 # all of the supported platforms: 8192 (on NT/2K/XP). 7198 lt_cv_sys_max_cmd_len=8192; 7199 ;; 7200 7201 mint*) 7202 # On MiNT this can take a long time and run out of memory. 7203 lt_cv_sys_max_cmd_len=8192; 7204 ;; 7205 7206 amigaos*) 7207 # On AmigaOS with pdksh, this test takes hours, literally. 7208 # So we just punt and use a minimum line length of 8192. 7209 lt_cv_sys_max_cmd_len=8192; 7210 ;; 7211 7212 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 7213 # This has been around since 386BSD, at least. Likely further. 7214 if test -x /sbin/sysctl; then 7215 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 7216 elif test -x /usr/sbin/sysctl; then 7217 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 7218 else 7219 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 7220 fi 7221 # And add a safety zone 7222 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7223 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7224 ;; 7225 7226 interix*) 7227 # We know the value 262144 and hardcode it with a safety zone (like BSD) 7228 lt_cv_sys_max_cmd_len=196608 7229 ;; 7230 7231 os2*) 7232 # The test takes a long time on OS/2. 7233 lt_cv_sys_max_cmd_len=8192 7234 ;; 7235 7236 osf*) 7237 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 7238 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 7239 # nice to cause kernel panics so lets avoid the loop below. 7240 # First set a reasonable default. 7241 lt_cv_sys_max_cmd_len=16384 7242 # 7243 if test -x /sbin/sysconfig; then 7244 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 7245 *1*) lt_cv_sys_max_cmd_len=-1 ;; 7246 esac 7247 fi 7248 ;; 7249 sco3.2v5*) 7250 lt_cv_sys_max_cmd_len=102400 7251 ;; 7252 sysv5* | sco5v6* | sysv4.2uw2*) 7253 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 7254 if test -n "$kargmax"; then 7255 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 7256 else 7257 lt_cv_sys_max_cmd_len=32768 7258 fi 7259 ;; 7260 *) 7261 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 7262 if test -n "$lt_cv_sys_max_cmd_len" && \ 7263 test undefined != "$lt_cv_sys_max_cmd_len"; then 7264 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7265 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7266 else 7267 # Make teststring a little bigger before we do anything with it. 7268 # a 1K string should be a reasonable start. 7269 for i in 1 2 3 4 5 6 7 8 ; do 7270 teststring=$teststring$teststring 7271 done 7272 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 7273 # If test is not a shell built-in, we'll probably end up computing a 7274 # maximum length that is only half of the actual maximum length, but 7275 # we can't tell. 7276 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 7277 = "X$teststring$teststring"; } >/dev/null 2>&1 && 7278 test $i != 17 # 1/2 MB should be enough 7279 do 7280 i=`expr $i + 1` 7281 teststring=$teststring$teststring 7282 done 7283 # Only check the string length outside the loop. 7284 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 7285 teststring= 7286 # Add a significant safety factor because C++ compilers can tack on 7287 # massive amounts of additional arguments before passing them to the 7288 # linker. It appears as though 1/2 is a usable value. 7289 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 7290 fi 7291 ;; 7292 esac 7293 7294fi 7295 7296if test -n $lt_cv_sys_max_cmd_len ; then 7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 7298$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 7299else 7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 7301$as_echo "none" >&6; } 7302fi 7303max_cmd_len=$lt_cv_sys_max_cmd_len 7304 7305 7306 7307 7308 7309 7310: ${CP="cp -f"} 7311: ${MV="mv -f"} 7312: ${RM="rm -f"} 7313 7314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 7315$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 7316# Try some XSI features 7317xsi_shell=no 7318( _lt_dummy="a/b/c" 7319 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 7320 = c,a/b,b/c, \ 7321 && eval 'test $(( 1 + 1 )) -eq 2 \ 7322 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 7323 && xsi_shell=yes 7324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 7325$as_echo "$xsi_shell" >&6; } 7326 7327 7328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 7329$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 7330lt_shell_append=no 7331( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 7332 >/dev/null 2>&1 \ 7333 && lt_shell_append=yes 7334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 7335$as_echo "$lt_shell_append" >&6; } 7336 7337 7338if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7339 lt_unset=unset 7340else 7341 lt_unset=false 7342fi 7343 7344 7345 7346 7347 7348# test EBCDIC or ASCII 7349case `echo X|tr X '\101'` in 7350 A) # ASCII based system 7351 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 7352 lt_SP2NL='tr \040 \012' 7353 lt_NL2SP='tr \015\012 \040\040' 7354 ;; 7355 *) # EBCDIC based system 7356 lt_SP2NL='tr \100 \n' 7357 lt_NL2SP='tr \r\n \100\100' 7358 ;; 7359esac 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 7370$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 7371if ${lt_cv_to_host_file_cmd+:} false; then : 7372 $as_echo_n "(cached) " >&6 7373else 7374 case $host in 7375 *-*-mingw* ) 7376 case $build in 7377 *-*-mingw* ) # actually msys 7378 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 7379 ;; 7380 *-*-cygwin* ) 7381 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 7382 ;; 7383 * ) # otherwise, assume *nix 7384 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 7385 ;; 7386 esac 7387 ;; 7388 *-*-cygwin* ) 7389 case $build in 7390 *-*-mingw* ) # actually msys 7391 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 7392 ;; 7393 *-*-cygwin* ) 7394 lt_cv_to_host_file_cmd=func_convert_file_noop 7395 ;; 7396 * ) # otherwise, assume *nix 7397 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 7398 ;; 7399 esac 7400 ;; 7401 * ) # unhandled hosts (and "normal" native builds) 7402 lt_cv_to_host_file_cmd=func_convert_file_noop 7403 ;; 7404esac 7405 7406fi 7407 7408to_host_file_cmd=$lt_cv_to_host_file_cmd 7409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 7410$as_echo "$lt_cv_to_host_file_cmd" >&6; } 7411 7412 7413 7414 7415 7416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 7417$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 7418if ${lt_cv_to_tool_file_cmd+:} false; then : 7419 $as_echo_n "(cached) " >&6 7420else 7421 #assume ordinary cross tools, or native build. 7422lt_cv_to_tool_file_cmd=func_convert_file_noop 7423case $host in 7424 *-*-mingw* ) 7425 case $build in 7426 *-*-mingw* ) # actually msys 7427 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 7428 ;; 7429 esac 7430 ;; 7431esac 7432 7433fi 7434 7435to_tool_file_cmd=$lt_cv_to_tool_file_cmd 7436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 7437$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 7438 7439 7440 7441 7442 7443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 7444$as_echo_n "checking for $LD option to reload object files... " >&6; } 7445if ${lt_cv_ld_reload_flag+:} false; then : 7446 $as_echo_n "(cached) " >&6 7447else 7448 lt_cv_ld_reload_flag='-r' 7449fi 7450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 7451$as_echo "$lt_cv_ld_reload_flag" >&6; } 7452reload_flag=$lt_cv_ld_reload_flag 7453case $reload_flag in 7454"" | " "*) ;; 7455*) reload_flag=" $reload_flag" ;; 7456esac 7457reload_cmds='$LD$reload_flag -o $output$reload_objs' 7458case $host_os in 7459 cygwin* | mingw* | pw32* | cegcc*) 7460 if test "$GCC" != yes; then 7461 reload_cmds=false 7462 fi 7463 ;; 7464 darwin*) 7465 if test "$GCC" = yes; then 7466 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 7467 else 7468 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7469 fi 7470 ;; 7471esac 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481if test -n "$ac_tool_prefix"; then 7482 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 7483set dummy ${ac_tool_prefix}objdump; ac_word=$2 7484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7485$as_echo_n "checking for $ac_word... " >&6; } 7486if ${ac_cv_prog_OBJDUMP+:} false; then : 7487 $as_echo_n "(cached) " >&6 7488else 7489 if test -n "$OBJDUMP"; then 7490 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 7491else 7492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7493for as_dir in $PATH 7494do 7495 IFS=$as_save_IFS 7496 test -z "$as_dir" && as_dir=. 7497 for ac_exec_ext in '' $ac_executable_extensions; do 7498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7499 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7501 break 2 7502 fi 7503done 7504 done 7505IFS=$as_save_IFS 7506 7507fi 7508fi 7509OBJDUMP=$ac_cv_prog_OBJDUMP 7510if test -n "$OBJDUMP"; then 7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 7512$as_echo "$OBJDUMP" >&6; } 7513else 7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7515$as_echo "no" >&6; } 7516fi 7517 7518 7519fi 7520if test -z "$ac_cv_prog_OBJDUMP"; then 7521 ac_ct_OBJDUMP=$OBJDUMP 7522 # Extract the first word of "objdump", so it can be a program name with args. 7523set dummy objdump; ac_word=$2 7524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7525$as_echo_n "checking for $ac_word... " >&6; } 7526if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 7527 $as_echo_n "(cached) " >&6 7528else 7529 if test -n "$ac_ct_OBJDUMP"; then 7530 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 7531else 7532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7533for as_dir in $PATH 7534do 7535 IFS=$as_save_IFS 7536 test -z "$as_dir" && as_dir=. 7537 for ac_exec_ext in '' $ac_executable_extensions; do 7538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7539 ac_cv_prog_ac_ct_OBJDUMP="objdump" 7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7541 break 2 7542 fi 7543done 7544 done 7545IFS=$as_save_IFS 7546 7547fi 7548fi 7549ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 7550if test -n "$ac_ct_OBJDUMP"; then 7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 7552$as_echo "$ac_ct_OBJDUMP" >&6; } 7553else 7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7555$as_echo "no" >&6; } 7556fi 7557 7558 if test "x$ac_ct_OBJDUMP" = x; then 7559 OBJDUMP="false" 7560 else 7561 case $cross_compiling:$ac_tool_warned in 7562yes:) 7563{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7564$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7565ac_tool_warned=yes ;; 7566esac 7567 OBJDUMP=$ac_ct_OBJDUMP 7568 fi 7569else 7570 OBJDUMP="$ac_cv_prog_OBJDUMP" 7571fi 7572 7573test -z "$OBJDUMP" && OBJDUMP=objdump 7574 7575 7576 7577 7578 7579 7580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 7581$as_echo_n "checking how to recognize dependent libraries... " >&6; } 7582if ${lt_cv_deplibs_check_method+:} false; then : 7583 $as_echo_n "(cached) " >&6 7584else 7585 lt_cv_file_magic_cmd='$MAGIC_CMD' 7586lt_cv_file_magic_test_file= 7587lt_cv_deplibs_check_method='unknown' 7588# Need to set the preceding variable on all platforms that support 7589# interlibrary dependencies. 7590# 'none' -- dependencies not supported. 7591# `unknown' -- same as none, but documents that we really don't know. 7592# 'pass_all' -- all dependencies passed with no checks. 7593# 'test_compile' -- check by making test program. 7594# 'file_magic [[regex]]' -- check by looking for files in library path 7595# which responds to the $file_magic_cmd with a given extended regex. 7596# If you have `file' or equivalent on your system and you're not sure 7597# whether `pass_all' will *always* work, you probably want this one. 7598 7599case $host_os in 7600aix[4-9]*) 7601 lt_cv_deplibs_check_method=pass_all 7602 ;; 7603 7604beos*) 7605 lt_cv_deplibs_check_method=pass_all 7606 ;; 7607 7608bsdi[45]*) 7609 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 7610 lt_cv_file_magic_cmd='/usr/bin/file -L' 7611 lt_cv_file_magic_test_file=/shlib/libc.so 7612 ;; 7613 7614cygwin*) 7615 # func_win32_libid is a shell function defined in ltmain.sh 7616 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7617 lt_cv_file_magic_cmd='func_win32_libid' 7618 ;; 7619 7620mingw* | pw32*) 7621 # Base MSYS/MinGW do not provide the 'file' command needed by 7622 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7623 # unless we find 'file', for example because we are cross-compiling. 7624 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 7625 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 7626 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7627 lt_cv_file_magic_cmd='func_win32_libid' 7628 else 7629 # Keep this pattern in sync with the one in func_win32_libid. 7630 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7631 lt_cv_file_magic_cmd='$OBJDUMP -f' 7632 fi 7633 ;; 7634 7635cegcc*) 7636 # use the weaker test based on 'objdump'. See mingw*. 7637 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7638 lt_cv_file_magic_cmd='$OBJDUMP -f' 7639 ;; 7640 7641darwin* | rhapsody*) 7642 lt_cv_deplibs_check_method=pass_all 7643 ;; 7644 7645freebsd* | dragonfly*) 7646 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7647 case $host_cpu in 7648 i*86 ) 7649 # Not sure whether the presence of OpenBSD here was a mistake. 7650 # Let's accept both of them until this is cleared up. 7651 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7652 lt_cv_file_magic_cmd=/usr/bin/file 7653 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7654 ;; 7655 esac 7656 else 7657 lt_cv_deplibs_check_method=pass_all 7658 fi 7659 ;; 7660 7661haiku*) 7662 lt_cv_deplibs_check_method=pass_all 7663 ;; 7664 7665hpux10.20* | hpux11*) 7666 lt_cv_file_magic_cmd=/usr/bin/file 7667 case $host_cpu in 7668 ia64*) 7669 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7670 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7671 ;; 7672 hppa*64*) 7673 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]' 7674 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7675 ;; 7676 *) 7677 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7678 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7679 ;; 7680 esac 7681 ;; 7682 7683interix[3-9]*) 7684 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7685 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7686 ;; 7687 7688irix5* | irix6* | nonstopux*) 7689 case $LD in 7690 *-32|*"-32 ") libmagic=32-bit;; 7691 *-n32|*"-n32 ") libmagic=N32;; 7692 *-64|*"-64 ") libmagic=64-bit;; 7693 *) libmagic=never-match;; 7694 esac 7695 lt_cv_deplibs_check_method=pass_all 7696 ;; 7697 7698# This must be glibc/ELF. 7699linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7700 lt_cv_deplibs_check_method=pass_all 7701 ;; 7702 7703netbsd* | netbsdelf*-gnu) 7704 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7705 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7706 else 7707 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7708 fi 7709 ;; 7710 7711newos6*) 7712 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7713 lt_cv_file_magic_cmd=/usr/bin/file 7714 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7715 ;; 7716 7717*nto* | *qnx*) 7718 lt_cv_deplibs_check_method=pass_all 7719 ;; 7720 7721openbsd*) 7722 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 7723 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7724 else 7725 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7726 fi 7727 ;; 7728 7729osf3* | osf4* | osf5*) 7730 lt_cv_deplibs_check_method=pass_all 7731 ;; 7732 7733rdos*) 7734 lt_cv_deplibs_check_method=pass_all 7735 ;; 7736 7737solaris*) 7738 lt_cv_deplibs_check_method=pass_all 7739 ;; 7740 7741sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7742 lt_cv_deplibs_check_method=pass_all 7743 ;; 7744 7745sysv4 | sysv4.3*) 7746 case $host_vendor in 7747 motorola) 7748 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]' 7749 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7750 ;; 7751 ncr) 7752 lt_cv_deplibs_check_method=pass_all 7753 ;; 7754 sequent) 7755 lt_cv_file_magic_cmd='/bin/file' 7756 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7757 ;; 7758 sni) 7759 lt_cv_file_magic_cmd='/bin/file' 7760 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7761 lt_cv_file_magic_test_file=/lib/libc.so 7762 ;; 7763 siemens) 7764 lt_cv_deplibs_check_method=pass_all 7765 ;; 7766 pc) 7767 lt_cv_deplibs_check_method=pass_all 7768 ;; 7769 esac 7770 ;; 7771 7772tpf*) 7773 lt_cv_deplibs_check_method=pass_all 7774 ;; 7775esac 7776 7777fi 7778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7779$as_echo "$lt_cv_deplibs_check_method" >&6; } 7780 7781file_magic_glob= 7782want_nocaseglob=no 7783if test "$build" = "$host"; then 7784 case $host_os in 7785 mingw* | pw32*) 7786 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7787 want_nocaseglob=yes 7788 else 7789 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7790 fi 7791 ;; 7792 esac 7793fi 7794 7795file_magic_cmd=$lt_cv_file_magic_cmd 7796deplibs_check_method=$lt_cv_deplibs_check_method 7797test -z "$deplibs_check_method" && deplibs_check_method=unknown 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820if test -n "$ac_tool_prefix"; then 7821 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7822set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7824$as_echo_n "checking for $ac_word... " >&6; } 7825if ${ac_cv_prog_DLLTOOL+:} false; then : 7826 $as_echo_n "(cached) " >&6 7827else 7828 if test -n "$DLLTOOL"; then 7829 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7830else 7831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7832for as_dir in $PATH 7833do 7834 IFS=$as_save_IFS 7835 test -z "$as_dir" && as_dir=. 7836 for ac_exec_ext in '' $ac_executable_extensions; do 7837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7838 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7840 break 2 7841 fi 7842done 7843 done 7844IFS=$as_save_IFS 7845 7846fi 7847fi 7848DLLTOOL=$ac_cv_prog_DLLTOOL 7849if test -n "$DLLTOOL"; then 7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7851$as_echo "$DLLTOOL" >&6; } 7852else 7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7854$as_echo "no" >&6; } 7855fi 7856 7857 7858fi 7859if test -z "$ac_cv_prog_DLLTOOL"; then 7860 ac_ct_DLLTOOL=$DLLTOOL 7861 # Extract the first word of "dlltool", so it can be a program name with args. 7862set dummy dlltool; ac_word=$2 7863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7864$as_echo_n "checking for $ac_word... " >&6; } 7865if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7866 $as_echo_n "(cached) " >&6 7867else 7868 if test -n "$ac_ct_DLLTOOL"; then 7869 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7870else 7871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7872for as_dir in $PATH 7873do 7874 IFS=$as_save_IFS 7875 test -z "$as_dir" && as_dir=. 7876 for ac_exec_ext in '' $ac_executable_extensions; do 7877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7878 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7880 break 2 7881 fi 7882done 7883 done 7884IFS=$as_save_IFS 7885 7886fi 7887fi 7888ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7889if test -n "$ac_ct_DLLTOOL"; then 7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7891$as_echo "$ac_ct_DLLTOOL" >&6; } 7892else 7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7894$as_echo "no" >&6; } 7895fi 7896 7897 if test "x$ac_ct_DLLTOOL" = x; then 7898 DLLTOOL="false" 7899 else 7900 case $cross_compiling:$ac_tool_warned in 7901yes:) 7902{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7903$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7904ac_tool_warned=yes ;; 7905esac 7906 DLLTOOL=$ac_ct_DLLTOOL 7907 fi 7908else 7909 DLLTOOL="$ac_cv_prog_DLLTOOL" 7910fi 7911 7912test -z "$DLLTOOL" && DLLTOOL=dlltool 7913 7914 7915 7916 7917 7918 7919 7920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7921$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7922if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7923 $as_echo_n "(cached) " >&6 7924else 7925 lt_cv_sharedlib_from_linklib_cmd='unknown' 7926 7927case $host_os in 7928cygwin* | mingw* | pw32* | cegcc*) 7929 # two different shell functions defined in ltmain.sh 7930 # decide which to use based on capabilities of $DLLTOOL 7931 case `$DLLTOOL --help 2>&1` in 7932 *--identify-strict*) 7933 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7934 ;; 7935 *) 7936 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7937 ;; 7938 esac 7939 ;; 7940*) 7941 # fallback: assume linklib IS sharedlib 7942 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 7943 ;; 7944esac 7945 7946fi 7947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7948$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7949sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7950test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7951 7952 7953 7954 7955 7956 7957 7958if test -n "$ac_tool_prefix"; then 7959 for ac_prog in ar 7960 do 7961 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7962set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7964$as_echo_n "checking for $ac_word... " >&6; } 7965if ${ac_cv_prog_AR+:} false; then : 7966 $as_echo_n "(cached) " >&6 7967else 7968 if test -n "$AR"; then 7969 ac_cv_prog_AR="$AR" # Let the user override the test. 7970else 7971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7972for as_dir in $PATH 7973do 7974 IFS=$as_save_IFS 7975 test -z "$as_dir" && as_dir=. 7976 for ac_exec_ext in '' $ac_executable_extensions; do 7977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7978 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7980 break 2 7981 fi 7982done 7983 done 7984IFS=$as_save_IFS 7985 7986fi 7987fi 7988AR=$ac_cv_prog_AR 7989if test -n "$AR"; then 7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7991$as_echo "$AR" >&6; } 7992else 7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7994$as_echo "no" >&6; } 7995fi 7996 7997 7998 test -n "$AR" && break 7999 done 8000fi 8001if test -z "$AR"; then 8002 ac_ct_AR=$AR 8003 for ac_prog in ar 8004do 8005 # Extract the first word of "$ac_prog", so it can be a program name with args. 8006set dummy $ac_prog; ac_word=$2 8007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8008$as_echo_n "checking for $ac_word... " >&6; } 8009if ${ac_cv_prog_ac_ct_AR+:} false; then : 8010 $as_echo_n "(cached) " >&6 8011else 8012 if test -n "$ac_ct_AR"; then 8013 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 8014else 8015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8016for as_dir in $PATH 8017do 8018 IFS=$as_save_IFS 8019 test -z "$as_dir" && as_dir=. 8020 for ac_exec_ext in '' $ac_executable_extensions; do 8021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8022 ac_cv_prog_ac_ct_AR="$ac_prog" 8023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8024 break 2 8025 fi 8026done 8027 done 8028IFS=$as_save_IFS 8029 8030fi 8031fi 8032ac_ct_AR=$ac_cv_prog_ac_ct_AR 8033if test -n "$ac_ct_AR"; then 8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 8035$as_echo "$ac_ct_AR" >&6; } 8036else 8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8038$as_echo "no" >&6; } 8039fi 8040 8041 8042 test -n "$ac_ct_AR" && break 8043done 8044 8045 if test "x$ac_ct_AR" = x; then 8046 AR="false" 8047 else 8048 case $cross_compiling:$ac_tool_warned in 8049yes:) 8050{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8051$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8052ac_tool_warned=yes ;; 8053esac 8054 AR=$ac_ct_AR 8055 fi 8056fi 8057 8058: ${AR=ar} 8059: ${AR_FLAGS=cru} 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 8072$as_echo_n "checking for archiver @FILE support... " >&6; } 8073if ${lt_cv_ar_at_file+:} false; then : 8074 $as_echo_n "(cached) " >&6 8075else 8076 lt_cv_ar_at_file=no 8077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8078/* end confdefs.h. */ 8079 8080int 8081main () 8082{ 8083 8084 ; 8085 return 0; 8086} 8087_ACEOF 8088if ac_fn_c_try_compile "$LINENO"; then : 8089 echo conftest.$ac_objext > conftest.lst 8090 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 8091 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 8092 (eval $lt_ar_try) 2>&5 8093 ac_status=$? 8094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8095 test $ac_status = 0; } 8096 if test "$ac_status" -eq 0; then 8097 # Ensure the archiver fails upon bogus file names. 8098 rm -f conftest.$ac_objext libconftest.a 8099 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 8100 (eval $lt_ar_try) 2>&5 8101 ac_status=$? 8102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8103 test $ac_status = 0; } 8104 if test "$ac_status" -ne 0; then 8105 lt_cv_ar_at_file=@ 8106 fi 8107 fi 8108 rm -f conftest.* libconftest.a 8109 8110fi 8111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8112 8113fi 8114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 8115$as_echo "$lt_cv_ar_at_file" >&6; } 8116 8117if test "x$lt_cv_ar_at_file" = xno; then 8118 archiver_list_spec= 8119else 8120 archiver_list_spec=$lt_cv_ar_at_file 8121fi 8122 8123 8124 8125 8126 8127 8128 8129if test -n "$ac_tool_prefix"; then 8130 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 8131set dummy ${ac_tool_prefix}strip; ac_word=$2 8132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8133$as_echo_n "checking for $ac_word... " >&6; } 8134if ${ac_cv_prog_STRIP+:} false; then : 8135 $as_echo_n "(cached) " >&6 8136else 8137 if test -n "$STRIP"; then 8138 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 8139else 8140as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8141for as_dir in $PATH 8142do 8143 IFS=$as_save_IFS 8144 test -z "$as_dir" && as_dir=. 8145 for ac_exec_ext in '' $ac_executable_extensions; do 8146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8147 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 8148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8149 break 2 8150 fi 8151done 8152 done 8153IFS=$as_save_IFS 8154 8155fi 8156fi 8157STRIP=$ac_cv_prog_STRIP 8158if test -n "$STRIP"; then 8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 8160$as_echo "$STRIP" >&6; } 8161else 8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8163$as_echo "no" >&6; } 8164fi 8165 8166 8167fi 8168if test -z "$ac_cv_prog_STRIP"; then 8169 ac_ct_STRIP=$STRIP 8170 # Extract the first word of "strip", so it can be a program name with args. 8171set dummy strip; ac_word=$2 8172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8173$as_echo_n "checking for $ac_word... " >&6; } 8174if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 8175 $as_echo_n "(cached) " >&6 8176else 8177 if test -n "$ac_ct_STRIP"; then 8178 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 8179else 8180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8181for as_dir in $PATH 8182do 8183 IFS=$as_save_IFS 8184 test -z "$as_dir" && as_dir=. 8185 for ac_exec_ext in '' $ac_executable_extensions; do 8186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8187 ac_cv_prog_ac_ct_STRIP="strip" 8188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8189 break 2 8190 fi 8191done 8192 done 8193IFS=$as_save_IFS 8194 8195fi 8196fi 8197ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 8198if test -n "$ac_ct_STRIP"; then 8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 8200$as_echo "$ac_ct_STRIP" >&6; } 8201else 8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8203$as_echo "no" >&6; } 8204fi 8205 8206 if test "x$ac_ct_STRIP" = x; then 8207 STRIP=":" 8208 else 8209 case $cross_compiling:$ac_tool_warned in 8210yes:) 8211{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8212$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8213ac_tool_warned=yes ;; 8214esac 8215 STRIP=$ac_ct_STRIP 8216 fi 8217else 8218 STRIP="$ac_cv_prog_STRIP" 8219fi 8220 8221test -z "$STRIP" && STRIP=: 8222 8223 8224 8225 8226 8227 8228if test -n "$ac_tool_prefix"; then 8229 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 8230set dummy ${ac_tool_prefix}ranlib; ac_word=$2 8231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8232$as_echo_n "checking for $ac_word... " >&6; } 8233if ${ac_cv_prog_RANLIB+:} false; then : 8234 $as_echo_n "(cached) " >&6 8235else 8236 if test -n "$RANLIB"; then 8237 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 8238else 8239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8240for as_dir in $PATH 8241do 8242 IFS=$as_save_IFS 8243 test -z "$as_dir" && as_dir=. 8244 for ac_exec_ext in '' $ac_executable_extensions; do 8245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8246 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 8247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8248 break 2 8249 fi 8250done 8251 done 8252IFS=$as_save_IFS 8253 8254fi 8255fi 8256RANLIB=$ac_cv_prog_RANLIB 8257if test -n "$RANLIB"; then 8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 8259$as_echo "$RANLIB" >&6; } 8260else 8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8262$as_echo "no" >&6; } 8263fi 8264 8265 8266fi 8267if test -z "$ac_cv_prog_RANLIB"; then 8268 ac_ct_RANLIB=$RANLIB 8269 # Extract the first word of "ranlib", so it can be a program name with args. 8270set dummy ranlib; ac_word=$2 8271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8272$as_echo_n "checking for $ac_word... " >&6; } 8273if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 8274 $as_echo_n "(cached) " >&6 8275else 8276 if test -n "$ac_ct_RANLIB"; then 8277 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 8278else 8279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8280for as_dir in $PATH 8281do 8282 IFS=$as_save_IFS 8283 test -z "$as_dir" && as_dir=. 8284 for ac_exec_ext in '' $ac_executable_extensions; do 8285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8286 ac_cv_prog_ac_ct_RANLIB="ranlib" 8287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8288 break 2 8289 fi 8290done 8291 done 8292IFS=$as_save_IFS 8293 8294fi 8295fi 8296ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 8297if test -n "$ac_ct_RANLIB"; then 8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 8299$as_echo "$ac_ct_RANLIB" >&6; } 8300else 8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8302$as_echo "no" >&6; } 8303fi 8304 8305 if test "x$ac_ct_RANLIB" = x; then 8306 RANLIB=":" 8307 else 8308 case $cross_compiling:$ac_tool_warned in 8309yes:) 8310{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8311$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8312ac_tool_warned=yes ;; 8313esac 8314 RANLIB=$ac_ct_RANLIB 8315 fi 8316else 8317 RANLIB="$ac_cv_prog_RANLIB" 8318fi 8319 8320test -z "$RANLIB" && RANLIB=: 8321 8322 8323 8324 8325 8326 8327# Determine commands to create old-style static archives. 8328old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 8329old_postinstall_cmds='chmod 644 $oldlib' 8330old_postuninstall_cmds= 8331 8332if test -n "$RANLIB"; then 8333 case $host_os in 8334 openbsd*) 8335 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 8336 ;; 8337 *) 8338 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 8339 ;; 8340 esac 8341 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 8342fi 8343 8344case $host_os in 8345 darwin*) 8346 lock_old_archive_extraction=yes ;; 8347 *) 8348 lock_old_archive_extraction=no ;; 8349esac 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389# If no C compiler was specified, use CC. 8390LTCC=${LTCC-"$CC"} 8391 8392# If no C compiler flags were specified, use CFLAGS. 8393LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8394 8395# Allow CC to be a program name with arguments. 8396compiler=$CC 8397 8398 8399# Check for command to grab the raw symbol name followed by C symbol from nm. 8400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 8401$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 8402if ${lt_cv_sys_global_symbol_pipe+:} false; then : 8403 $as_echo_n "(cached) " >&6 8404else 8405 8406# These are sane defaults that work on at least a few old systems. 8407# [They come from Ultrix. What could be older than Ultrix?!! ;)] 8408 8409# Character class describing NM global symbol codes. 8410symcode='[BCDEGRST]' 8411 8412# Regexp to match symbols that can be accessed directly from C. 8413sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 8414 8415# Define system-specific variables. 8416case $host_os in 8417aix*) 8418 symcode='[BCDT]' 8419 ;; 8420cygwin* | mingw* | pw32* | cegcc*) 8421 symcode='[ABCDGISTW]' 8422 ;; 8423hpux*) 8424 if test "$host_cpu" = ia64; then 8425 symcode='[ABCDEGRST]' 8426 fi 8427 ;; 8428irix* | nonstopux*) 8429 symcode='[BCDEGRST]' 8430 ;; 8431osf*) 8432 symcode='[BCDEGQRST]' 8433 ;; 8434solaris*) 8435 symcode='[BDRT]' 8436 ;; 8437sco3.2v5*) 8438 symcode='[DT]' 8439 ;; 8440sysv4.2uw2*) 8441 symcode='[DT]' 8442 ;; 8443sysv5* | sco5v6* | unixware* | OpenUNIX*) 8444 symcode='[ABDT]' 8445 ;; 8446sysv4) 8447 symcode='[DFNSTU]' 8448 ;; 8449esac 8450 8451# If we're using GNU nm, then use its standard symbol codes. 8452case `$NM -V 2>&1` in 8453*GNU* | *'with BFD'*) 8454 symcode='[ABCDGIRSTW]' ;; 8455esac 8456 8457# Transform an extracted symbol line into a proper C declaration. 8458# Some systems (esp. on ia64) link data and code symbols differently, 8459# so use this general approach. 8460lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 8461 8462# Transform an extracted symbol line into symbol name and symbol address 8463lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 8464lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 8465 8466# Handle CRLF in mingw tool chain 8467opt_cr= 8468case $build_os in 8469mingw*) 8470 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 8471 ;; 8472esac 8473 8474# Try without a prefix underscore, then with it. 8475for ac_symprfx in "" "_"; do 8476 8477 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 8478 symxfrm="\\1 $ac_symprfx\\2 \\2" 8479 8480 # Write the raw and C identifiers. 8481 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8482 # Fake it for dumpbin and say T for any non-static function 8483 # and D for any global variable. 8484 # Also find C++ and __fastcall symbols from MSVC++, 8485 # which start with @ or ?. 8486 lt_cv_sys_global_symbol_pipe="$AWK '"\ 8487" {last_section=section; section=\$ 3};"\ 8488" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 8489" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 8490" \$ 0!~/External *\|/{next};"\ 8491" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 8492" {if(hide[section]) next};"\ 8493" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 8494" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 8495" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 8496" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 8497" ' prfx=^$ac_symprfx" 8498 else 8499 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 8500 fi 8501 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 8502 8503 # Check to see that the pipe works correctly. 8504 pipe_works=no 8505 8506 rm -f conftest* 8507 cat > conftest.$ac_ext <<_LT_EOF 8508#ifdef __cplusplus 8509extern "C" { 8510#endif 8511char nm_test_var; 8512void nm_test_func(void); 8513void nm_test_func(void){} 8514#ifdef __cplusplus 8515} 8516#endif 8517int main(){nm_test_var='a';nm_test_func();return(0);} 8518_LT_EOF 8519 8520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8521 (eval $ac_compile) 2>&5 8522 ac_status=$? 8523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8524 test $ac_status = 0; }; then 8525 # Now try to grab the symbols. 8526 nlist=conftest.nm 8527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 8528 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 8529 ac_status=$? 8530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8531 test $ac_status = 0; } && test -s "$nlist"; then 8532 # Try sorting and uniquifying the output. 8533 if sort "$nlist" | uniq > "$nlist"T; then 8534 mv -f "$nlist"T "$nlist" 8535 else 8536 rm -f "$nlist"T 8537 fi 8538 8539 # Make sure that we snagged all the symbols we need. 8540 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 8541 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 8542 cat <<_LT_EOF > conftest.$ac_ext 8543/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 8544#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 8545/* DATA imports from DLLs on WIN32 con't be const, because runtime 8546 relocations are performed -- see ld's documentation on pseudo-relocs. */ 8547# define LT_DLSYM_CONST 8548#elif defined(__osf__) 8549/* This system does not cope well with relocations in const data. */ 8550# define LT_DLSYM_CONST 8551#else 8552# define LT_DLSYM_CONST const 8553#endif 8554 8555#ifdef __cplusplus 8556extern "C" { 8557#endif 8558 8559_LT_EOF 8560 # Now generate the symbol file. 8561 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 8562 8563 cat <<_LT_EOF >> conftest.$ac_ext 8564 8565/* The mapping between symbol names and symbols. */ 8566LT_DLSYM_CONST struct { 8567 const char *name; 8568 void *address; 8569} 8570lt__PROGRAM__LTX_preloaded_symbols[] = 8571{ 8572 { "@PROGRAM@", (void *) 0 }, 8573_LT_EOF 8574 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 8575 cat <<\_LT_EOF >> conftest.$ac_ext 8576 {0, (void *) 0} 8577}; 8578 8579/* This works around a problem in FreeBSD linker */ 8580#ifdef FREEBSD_WORKAROUND 8581static const void *lt_preloaded_setup() { 8582 return lt__PROGRAM__LTX_preloaded_symbols; 8583} 8584#endif 8585 8586#ifdef __cplusplus 8587} 8588#endif 8589_LT_EOF 8590 # Now try linking the two files. 8591 mv conftest.$ac_objext conftstm.$ac_objext 8592 lt_globsym_save_LIBS=$LIBS 8593 lt_globsym_save_CFLAGS=$CFLAGS 8594 LIBS="conftstm.$ac_objext" 8595 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8597 (eval $ac_link) 2>&5 8598 ac_status=$? 8599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8600 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 8601 pipe_works=yes 8602 fi 8603 LIBS=$lt_globsym_save_LIBS 8604 CFLAGS=$lt_globsym_save_CFLAGS 8605 else 8606 echo "cannot find nm_test_func in $nlist" >&5 8607 fi 8608 else 8609 echo "cannot find nm_test_var in $nlist" >&5 8610 fi 8611 else 8612 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8613 fi 8614 else 8615 echo "$progname: failed program was:" >&5 8616 cat conftest.$ac_ext >&5 8617 fi 8618 rm -rf conftest* conftst* 8619 8620 # Do not use the global_symbol_pipe unless it works. 8621 if test "$pipe_works" = yes; then 8622 break 8623 else 8624 lt_cv_sys_global_symbol_pipe= 8625 fi 8626done 8627 8628fi 8629 8630if test -z "$lt_cv_sys_global_symbol_pipe"; then 8631 lt_cv_sys_global_symbol_to_cdecl= 8632fi 8633if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8635$as_echo "failed" >&6; } 8636else 8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8638$as_echo "ok" >&6; } 8639fi 8640 8641# Response file support. 8642if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8643 nm_file_list_spec='@' 8644elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8645 nm_file_list_spec='@' 8646fi 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8675$as_echo_n "checking for sysroot... " >&6; } 8676 8677# Check whether --with-sysroot was given. 8678if test "${with_sysroot+set}" = set; then : 8679 withval=$with_sysroot; 8680else 8681 with_sysroot=no 8682fi 8683 8684 8685lt_sysroot= 8686case ${with_sysroot} in #( 8687 yes) 8688 if test "$GCC" = yes; then 8689 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8690 fi 8691 ;; #( 8692 /*) 8693 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8694 ;; #( 8695 no|'') 8696 ;; #( 8697 *) 8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 8699$as_echo "${with_sysroot}" >&6; } 8700 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8701 ;; 8702esac 8703 8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8705$as_echo "${lt_sysroot:-no}" >&6; } 8706 8707 8708 8709 8710 8711# Check whether --enable-libtool-lock was given. 8712if test "${enable_libtool_lock+set}" = set; then : 8713 enableval=$enable_libtool_lock; 8714fi 8715 8716test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 8717 8718# Some flags need to be propagated to the compiler or linker for good 8719# libtool support. 8720case $host in 8721ia64-*-hpux*) 8722 # Find out which ABI we are using. 8723 echo 'int i;' > conftest.$ac_ext 8724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8725 (eval $ac_compile) 2>&5 8726 ac_status=$? 8727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8728 test $ac_status = 0; }; then 8729 case `/usr/bin/file conftest.$ac_objext` in 8730 *ELF-32*) 8731 HPUX_IA64_MODE="32" 8732 ;; 8733 *ELF-64*) 8734 HPUX_IA64_MODE="64" 8735 ;; 8736 esac 8737 fi 8738 rm -rf conftest* 8739 ;; 8740*-*-irix6*) 8741 # Find out which ABI we are using. 8742 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8743 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8744 (eval $ac_compile) 2>&5 8745 ac_status=$? 8746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8747 test $ac_status = 0; }; then 8748 if test "$lt_cv_prog_gnu_ld" = yes; then 8749 case `/usr/bin/file conftest.$ac_objext` in 8750 *32-bit*) 8751 LD="${LD-ld} -melf32bsmip" 8752 ;; 8753 *N32*) 8754 LD="${LD-ld} -melf32bmipn32" 8755 ;; 8756 *64-bit*) 8757 LD="${LD-ld} -melf64bmip" 8758 ;; 8759 esac 8760 else 8761 case `/usr/bin/file conftest.$ac_objext` in 8762 *32-bit*) 8763 LD="${LD-ld} -32" 8764 ;; 8765 *N32*) 8766 LD="${LD-ld} -n32" 8767 ;; 8768 *64-bit*) 8769 LD="${LD-ld} -64" 8770 ;; 8771 esac 8772 fi 8773 fi 8774 rm -rf conftest* 8775 ;; 8776 8777x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8778s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8779 # Find out which ABI we are using. 8780 echo 'int i;' > conftest.$ac_ext 8781 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8782 (eval $ac_compile) 2>&5 8783 ac_status=$? 8784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8785 test $ac_status = 0; }; then 8786 case `/usr/bin/file conftest.o` in 8787 *32-bit*) 8788 case $host in 8789 x86_64-*kfreebsd*-gnu) 8790 LD="${LD-ld} -m elf_i386_fbsd" 8791 ;; 8792 x86_64-*linux*) 8793 case `/usr/bin/file conftest.o` in 8794 *x86-64*) 8795 LD="${LD-ld} -m elf32_x86_64" 8796 ;; 8797 *) 8798 LD="${LD-ld} -m elf_i386" 8799 ;; 8800 esac 8801 ;; 8802 powerpc64le-*) 8803 LD="${LD-ld} -m elf32lppclinux" 8804 ;; 8805 powerpc64-*) 8806 LD="${LD-ld} -m elf32ppclinux" 8807 ;; 8808 s390x-*linux*) 8809 LD="${LD-ld} -m elf_s390" 8810 ;; 8811 sparc64-*linux*) 8812 LD="${LD-ld} -m elf32_sparc" 8813 ;; 8814 esac 8815 ;; 8816 *64-bit*) 8817 case $host in 8818 x86_64-*kfreebsd*-gnu) 8819 LD="${LD-ld} -m elf_x86_64_fbsd" 8820 ;; 8821 x86_64-*linux*) 8822 LD="${LD-ld} -m elf_x86_64" 8823 ;; 8824 powerpcle-*) 8825 LD="${LD-ld} -m elf64lppc" 8826 ;; 8827 powerpc-*) 8828 LD="${LD-ld} -m elf64ppc" 8829 ;; 8830 s390*-*linux*|s390*-*tpf*) 8831 LD="${LD-ld} -m elf64_s390" 8832 ;; 8833 sparc*-*linux*) 8834 LD="${LD-ld} -m elf64_sparc" 8835 ;; 8836 esac 8837 ;; 8838 esac 8839 fi 8840 rm -rf conftest* 8841 ;; 8842 8843*-*-sco3.2v5*) 8844 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8845 SAVE_CFLAGS="$CFLAGS" 8846 CFLAGS="$CFLAGS -belf" 8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8848$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8849if ${lt_cv_cc_needs_belf+:} false; then : 8850 $as_echo_n "(cached) " >&6 8851else 8852 ac_ext=c 8853ac_cpp='$CPP $CPPFLAGS' 8854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8856ac_compiler_gnu=$ac_cv_c_compiler_gnu 8857 8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8859/* end confdefs.h. */ 8860 8861int 8862main () 8863{ 8864 8865 ; 8866 return 0; 8867} 8868_ACEOF 8869if ac_fn_c_try_link "$LINENO"; then : 8870 lt_cv_cc_needs_belf=yes 8871else 8872 lt_cv_cc_needs_belf=no 8873fi 8874rm -f core conftest.err conftest.$ac_objext \ 8875 conftest$ac_exeext conftest.$ac_ext 8876 ac_ext=c 8877ac_cpp='$CPP $CPPFLAGS' 8878ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8879ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8880ac_compiler_gnu=$ac_cv_c_compiler_gnu 8881 8882fi 8883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8884$as_echo "$lt_cv_cc_needs_belf" >&6; } 8885 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 8886 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8887 CFLAGS="$SAVE_CFLAGS" 8888 fi 8889 ;; 8890*-*solaris*) 8891 # Find out which ABI we are using. 8892 echo 'int i;' > conftest.$ac_ext 8893 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8894 (eval $ac_compile) 2>&5 8895 ac_status=$? 8896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8897 test $ac_status = 0; }; then 8898 case `/usr/bin/file conftest.o` in 8899 *64-bit*) 8900 case $lt_cv_prog_gnu_ld in 8901 yes*) 8902 case $host in 8903 i?86-*-solaris*) 8904 LD="${LD-ld} -m elf_x86_64" 8905 ;; 8906 sparc*-*-solaris*) 8907 LD="${LD-ld} -m elf64_sparc" 8908 ;; 8909 esac 8910 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8911 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8912 LD="${LD-ld}_sol2" 8913 fi 8914 ;; 8915 *) 8916 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8917 LD="${LD-ld} -64" 8918 fi 8919 ;; 8920 esac 8921 ;; 8922 esac 8923 fi 8924 rm -rf conftest* 8925 ;; 8926esac 8927 8928need_locks="$enable_libtool_lock" 8929 8930if test -n "$ac_tool_prefix"; then 8931 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8932set dummy ${ac_tool_prefix}mt; ac_word=$2 8933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8934$as_echo_n "checking for $ac_word... " >&6; } 8935if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8936 $as_echo_n "(cached) " >&6 8937else 8938 if test -n "$MANIFEST_TOOL"; then 8939 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8940else 8941as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8942for as_dir in $PATH 8943do 8944 IFS=$as_save_IFS 8945 test -z "$as_dir" && as_dir=. 8946 for ac_exec_ext in '' $ac_executable_extensions; do 8947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8948 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8950 break 2 8951 fi 8952done 8953 done 8954IFS=$as_save_IFS 8955 8956fi 8957fi 8958MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8959if test -n "$MANIFEST_TOOL"; then 8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8961$as_echo "$MANIFEST_TOOL" >&6; } 8962else 8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8964$as_echo "no" >&6; } 8965fi 8966 8967 8968fi 8969if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8970 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8971 # Extract the first word of "mt", so it can be a program name with args. 8972set dummy mt; ac_word=$2 8973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8974$as_echo_n "checking for $ac_word... " >&6; } 8975if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8976 $as_echo_n "(cached) " >&6 8977else 8978 if test -n "$ac_ct_MANIFEST_TOOL"; then 8979 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8980else 8981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8982for as_dir in $PATH 8983do 8984 IFS=$as_save_IFS 8985 test -z "$as_dir" && as_dir=. 8986 for ac_exec_ext in '' $ac_executable_extensions; do 8987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8988 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8990 break 2 8991 fi 8992done 8993 done 8994IFS=$as_save_IFS 8995 8996fi 8997fi 8998ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8999if test -n "$ac_ct_MANIFEST_TOOL"; then 9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 9001$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 9002else 9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9004$as_echo "no" >&6; } 9005fi 9006 9007 if test "x$ac_ct_MANIFEST_TOOL" = x; then 9008 MANIFEST_TOOL=":" 9009 else 9010 case $cross_compiling:$ac_tool_warned in 9011yes:) 9012{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9013$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9014ac_tool_warned=yes ;; 9015esac 9016 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 9017 fi 9018else 9019 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 9020fi 9021 9022test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 9023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 9024$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 9025if ${lt_cv_path_mainfest_tool+:} false; then : 9026 $as_echo_n "(cached) " >&6 9027else 9028 lt_cv_path_mainfest_tool=no 9029 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 9030 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 9031 cat conftest.err >&5 9032 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 9033 lt_cv_path_mainfest_tool=yes 9034 fi 9035 rm -f conftest* 9036fi 9037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 9038$as_echo "$lt_cv_path_mainfest_tool" >&6; } 9039if test "x$lt_cv_path_mainfest_tool" != xyes; then 9040 MANIFEST_TOOL=: 9041fi 9042 9043 9044 9045 9046 9047 9048 case $host_os in 9049 rhapsody* | darwin*) 9050 if test -n "$ac_tool_prefix"; then 9051 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 9052set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 9053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9054$as_echo_n "checking for $ac_word... " >&6; } 9055if ${ac_cv_prog_DSYMUTIL+:} false; then : 9056 $as_echo_n "(cached) " >&6 9057else 9058 if test -n "$DSYMUTIL"; then 9059 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 9060else 9061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9062for as_dir in $PATH 9063do 9064 IFS=$as_save_IFS 9065 test -z "$as_dir" && as_dir=. 9066 for ac_exec_ext in '' $ac_executable_extensions; do 9067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9068 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 9069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9070 break 2 9071 fi 9072done 9073 done 9074IFS=$as_save_IFS 9075 9076fi 9077fi 9078DSYMUTIL=$ac_cv_prog_DSYMUTIL 9079if test -n "$DSYMUTIL"; then 9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 9081$as_echo "$DSYMUTIL" >&6; } 9082else 9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9084$as_echo "no" >&6; } 9085fi 9086 9087 9088fi 9089if test -z "$ac_cv_prog_DSYMUTIL"; then 9090 ac_ct_DSYMUTIL=$DSYMUTIL 9091 # Extract the first word of "dsymutil", so it can be a program name with args. 9092set dummy dsymutil; ac_word=$2 9093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9094$as_echo_n "checking for $ac_word... " >&6; } 9095if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 9096 $as_echo_n "(cached) " >&6 9097else 9098 if test -n "$ac_ct_DSYMUTIL"; then 9099 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 9100else 9101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9102for as_dir in $PATH 9103do 9104 IFS=$as_save_IFS 9105 test -z "$as_dir" && as_dir=. 9106 for ac_exec_ext in '' $ac_executable_extensions; do 9107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9108 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 9109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9110 break 2 9111 fi 9112done 9113 done 9114IFS=$as_save_IFS 9115 9116fi 9117fi 9118ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 9119if test -n "$ac_ct_DSYMUTIL"; then 9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 9121$as_echo "$ac_ct_DSYMUTIL" >&6; } 9122else 9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9124$as_echo "no" >&6; } 9125fi 9126 9127 if test "x$ac_ct_DSYMUTIL" = x; then 9128 DSYMUTIL=":" 9129 else 9130 case $cross_compiling:$ac_tool_warned in 9131yes:) 9132{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9133$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9134ac_tool_warned=yes ;; 9135esac 9136 DSYMUTIL=$ac_ct_DSYMUTIL 9137 fi 9138else 9139 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 9140fi 9141 9142 if test -n "$ac_tool_prefix"; then 9143 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 9144set dummy ${ac_tool_prefix}nmedit; ac_word=$2 9145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9146$as_echo_n "checking for $ac_word... " >&6; } 9147if ${ac_cv_prog_NMEDIT+:} false; then : 9148 $as_echo_n "(cached) " >&6 9149else 9150 if test -n "$NMEDIT"; then 9151 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 9152else 9153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9154for as_dir in $PATH 9155do 9156 IFS=$as_save_IFS 9157 test -z "$as_dir" && as_dir=. 9158 for ac_exec_ext in '' $ac_executable_extensions; do 9159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9160 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 9161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9162 break 2 9163 fi 9164done 9165 done 9166IFS=$as_save_IFS 9167 9168fi 9169fi 9170NMEDIT=$ac_cv_prog_NMEDIT 9171if test -n "$NMEDIT"; then 9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 9173$as_echo "$NMEDIT" >&6; } 9174else 9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9176$as_echo "no" >&6; } 9177fi 9178 9179 9180fi 9181if test -z "$ac_cv_prog_NMEDIT"; then 9182 ac_ct_NMEDIT=$NMEDIT 9183 # Extract the first word of "nmedit", so it can be a program name with args. 9184set dummy nmedit; ac_word=$2 9185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9186$as_echo_n "checking for $ac_word... " >&6; } 9187if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 9188 $as_echo_n "(cached) " >&6 9189else 9190 if test -n "$ac_ct_NMEDIT"; then 9191 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 9192else 9193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9194for as_dir in $PATH 9195do 9196 IFS=$as_save_IFS 9197 test -z "$as_dir" && as_dir=. 9198 for ac_exec_ext in '' $ac_executable_extensions; do 9199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9200 ac_cv_prog_ac_ct_NMEDIT="nmedit" 9201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9202 break 2 9203 fi 9204done 9205 done 9206IFS=$as_save_IFS 9207 9208fi 9209fi 9210ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 9211if test -n "$ac_ct_NMEDIT"; then 9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 9213$as_echo "$ac_ct_NMEDIT" >&6; } 9214else 9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9216$as_echo "no" >&6; } 9217fi 9218 9219 if test "x$ac_ct_NMEDIT" = x; then 9220 NMEDIT=":" 9221 else 9222 case $cross_compiling:$ac_tool_warned in 9223yes:) 9224{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9225$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9226ac_tool_warned=yes ;; 9227esac 9228 NMEDIT=$ac_ct_NMEDIT 9229 fi 9230else 9231 NMEDIT="$ac_cv_prog_NMEDIT" 9232fi 9233 9234 if test -n "$ac_tool_prefix"; then 9235 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 9236set dummy ${ac_tool_prefix}lipo; ac_word=$2 9237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9238$as_echo_n "checking for $ac_word... " >&6; } 9239if ${ac_cv_prog_LIPO+:} false; then : 9240 $as_echo_n "(cached) " >&6 9241else 9242 if test -n "$LIPO"; then 9243 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 9244else 9245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9246for as_dir in $PATH 9247do 9248 IFS=$as_save_IFS 9249 test -z "$as_dir" && as_dir=. 9250 for ac_exec_ext in '' $ac_executable_extensions; do 9251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9252 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 9253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9254 break 2 9255 fi 9256done 9257 done 9258IFS=$as_save_IFS 9259 9260fi 9261fi 9262LIPO=$ac_cv_prog_LIPO 9263if test -n "$LIPO"; then 9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 9265$as_echo "$LIPO" >&6; } 9266else 9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9268$as_echo "no" >&6; } 9269fi 9270 9271 9272fi 9273if test -z "$ac_cv_prog_LIPO"; then 9274 ac_ct_LIPO=$LIPO 9275 # Extract the first word of "lipo", so it can be a program name with args. 9276set dummy lipo; ac_word=$2 9277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9278$as_echo_n "checking for $ac_word... " >&6; } 9279if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 9280 $as_echo_n "(cached) " >&6 9281else 9282 if test -n "$ac_ct_LIPO"; then 9283 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 9284else 9285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9286for as_dir in $PATH 9287do 9288 IFS=$as_save_IFS 9289 test -z "$as_dir" && as_dir=. 9290 for ac_exec_ext in '' $ac_executable_extensions; do 9291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9292 ac_cv_prog_ac_ct_LIPO="lipo" 9293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9294 break 2 9295 fi 9296done 9297 done 9298IFS=$as_save_IFS 9299 9300fi 9301fi 9302ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 9303if test -n "$ac_ct_LIPO"; then 9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 9305$as_echo "$ac_ct_LIPO" >&6; } 9306else 9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9308$as_echo "no" >&6; } 9309fi 9310 9311 if test "x$ac_ct_LIPO" = x; then 9312 LIPO=":" 9313 else 9314 case $cross_compiling:$ac_tool_warned in 9315yes:) 9316{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9317$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9318ac_tool_warned=yes ;; 9319esac 9320 LIPO=$ac_ct_LIPO 9321 fi 9322else 9323 LIPO="$ac_cv_prog_LIPO" 9324fi 9325 9326 if test -n "$ac_tool_prefix"; then 9327 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 9328set dummy ${ac_tool_prefix}otool; ac_word=$2 9329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9330$as_echo_n "checking for $ac_word... " >&6; } 9331if ${ac_cv_prog_OTOOL+:} false; then : 9332 $as_echo_n "(cached) " >&6 9333else 9334 if test -n "$OTOOL"; then 9335 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 9336else 9337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9338for as_dir in $PATH 9339do 9340 IFS=$as_save_IFS 9341 test -z "$as_dir" && as_dir=. 9342 for ac_exec_ext in '' $ac_executable_extensions; do 9343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9344 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 9345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9346 break 2 9347 fi 9348done 9349 done 9350IFS=$as_save_IFS 9351 9352fi 9353fi 9354OTOOL=$ac_cv_prog_OTOOL 9355if test -n "$OTOOL"; then 9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 9357$as_echo "$OTOOL" >&6; } 9358else 9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9360$as_echo "no" >&6; } 9361fi 9362 9363 9364fi 9365if test -z "$ac_cv_prog_OTOOL"; then 9366 ac_ct_OTOOL=$OTOOL 9367 # Extract the first word of "otool", so it can be a program name with args. 9368set dummy otool; ac_word=$2 9369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9370$as_echo_n "checking for $ac_word... " >&6; } 9371if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 9372 $as_echo_n "(cached) " >&6 9373else 9374 if test -n "$ac_ct_OTOOL"; then 9375 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 9376else 9377as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9378for as_dir in $PATH 9379do 9380 IFS=$as_save_IFS 9381 test -z "$as_dir" && as_dir=. 9382 for ac_exec_ext in '' $ac_executable_extensions; do 9383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9384 ac_cv_prog_ac_ct_OTOOL="otool" 9385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9386 break 2 9387 fi 9388done 9389 done 9390IFS=$as_save_IFS 9391 9392fi 9393fi 9394ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 9395if test -n "$ac_ct_OTOOL"; then 9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 9397$as_echo "$ac_ct_OTOOL" >&6; } 9398else 9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9400$as_echo "no" >&6; } 9401fi 9402 9403 if test "x$ac_ct_OTOOL" = x; then 9404 OTOOL=":" 9405 else 9406 case $cross_compiling:$ac_tool_warned in 9407yes:) 9408{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9409$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9410ac_tool_warned=yes ;; 9411esac 9412 OTOOL=$ac_ct_OTOOL 9413 fi 9414else 9415 OTOOL="$ac_cv_prog_OTOOL" 9416fi 9417 9418 if test -n "$ac_tool_prefix"; then 9419 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 9420set dummy ${ac_tool_prefix}otool64; ac_word=$2 9421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9422$as_echo_n "checking for $ac_word... " >&6; } 9423if ${ac_cv_prog_OTOOL64+:} false; then : 9424 $as_echo_n "(cached) " >&6 9425else 9426 if test -n "$OTOOL64"; then 9427 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 9428else 9429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9430for as_dir in $PATH 9431do 9432 IFS=$as_save_IFS 9433 test -z "$as_dir" && as_dir=. 9434 for ac_exec_ext in '' $ac_executable_extensions; do 9435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9436 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 9437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9438 break 2 9439 fi 9440done 9441 done 9442IFS=$as_save_IFS 9443 9444fi 9445fi 9446OTOOL64=$ac_cv_prog_OTOOL64 9447if test -n "$OTOOL64"; then 9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 9449$as_echo "$OTOOL64" >&6; } 9450else 9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9452$as_echo "no" >&6; } 9453fi 9454 9455 9456fi 9457if test -z "$ac_cv_prog_OTOOL64"; then 9458 ac_ct_OTOOL64=$OTOOL64 9459 # Extract the first word of "otool64", so it can be a program name with args. 9460set dummy otool64; ac_word=$2 9461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9462$as_echo_n "checking for $ac_word... " >&6; } 9463if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 9464 $as_echo_n "(cached) " >&6 9465else 9466 if test -n "$ac_ct_OTOOL64"; then 9467 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9468else 9469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9470for as_dir in $PATH 9471do 9472 IFS=$as_save_IFS 9473 test -z "$as_dir" && as_dir=. 9474 for ac_exec_ext in '' $ac_executable_extensions; do 9475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9476 ac_cv_prog_ac_ct_OTOOL64="otool64" 9477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9478 break 2 9479 fi 9480done 9481 done 9482IFS=$as_save_IFS 9483 9484fi 9485fi 9486ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9487if test -n "$ac_ct_OTOOL64"; then 9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9489$as_echo "$ac_ct_OTOOL64" >&6; } 9490else 9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9492$as_echo "no" >&6; } 9493fi 9494 9495 if test "x$ac_ct_OTOOL64" = x; then 9496 OTOOL64=":" 9497 else 9498 case $cross_compiling:$ac_tool_warned in 9499yes:) 9500{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9501$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9502ac_tool_warned=yes ;; 9503esac 9504 OTOOL64=$ac_ct_OTOOL64 9505 fi 9506else 9507 OTOOL64="$ac_cv_prog_OTOOL64" 9508fi 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9537$as_echo_n "checking for -single_module linker flag... " >&6; } 9538if ${lt_cv_apple_cc_single_mod+:} false; then : 9539 $as_echo_n "(cached) " >&6 9540else 9541 lt_cv_apple_cc_single_mod=no 9542 if test -z "${LT_MULTI_MODULE}"; then 9543 # By default we will add the -single_module flag. You can override 9544 # by either setting the environment variable LT_MULTI_MODULE 9545 # non-empty at configure time, or by adding -multi_module to the 9546 # link flags. 9547 rm -rf libconftest.dylib* 9548 echo "int foo(void){return 1;}" > conftest.c 9549 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9550-dynamiclib -Wl,-single_module conftest.c" >&5 9551 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9552 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9553 _lt_result=$? 9554 # If there is a non-empty error log, and "single_module" 9555 # appears in it, assume the flag caused a linker warning 9556 if test -s conftest.err && $GREP single_module conftest.err; then 9557 cat conftest.err >&5 9558 # Otherwise, if the output was created with a 0 exit code from 9559 # the compiler, it worked. 9560 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 9561 lt_cv_apple_cc_single_mod=yes 9562 else 9563 cat conftest.err >&5 9564 fi 9565 rm -rf libconftest.dylib* 9566 rm -f conftest.* 9567 fi 9568fi 9569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9570$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9571 9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9573$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9574if ${lt_cv_ld_exported_symbols_list+:} false; then : 9575 $as_echo_n "(cached) " >&6 9576else 9577 lt_cv_ld_exported_symbols_list=no 9578 save_LDFLAGS=$LDFLAGS 9579 echo "_main" > conftest.sym 9580 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9582/* end confdefs.h. */ 9583 9584int 9585main () 9586{ 9587 9588 ; 9589 return 0; 9590} 9591_ACEOF 9592if ac_fn_c_try_link "$LINENO"; then : 9593 lt_cv_ld_exported_symbols_list=yes 9594else 9595 lt_cv_ld_exported_symbols_list=no 9596fi 9597rm -f core conftest.err conftest.$ac_objext \ 9598 conftest$ac_exeext conftest.$ac_ext 9599 LDFLAGS="$save_LDFLAGS" 9600 9601fi 9602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9603$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9604 9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9606$as_echo_n "checking for -force_load linker flag... " >&6; } 9607if ${lt_cv_ld_force_load+:} false; then : 9608 $as_echo_n "(cached) " >&6 9609else 9610 lt_cv_ld_force_load=no 9611 cat > conftest.c << _LT_EOF 9612int forced_loaded() { return 2;} 9613_LT_EOF 9614 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9615 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9616 echo "$AR cru libconftest.a conftest.o" >&5 9617 $AR cru libconftest.a conftest.o 2>&5 9618 echo "$RANLIB libconftest.a" >&5 9619 $RANLIB libconftest.a 2>&5 9620 cat > conftest.c << _LT_EOF 9621int main() { return 0;} 9622_LT_EOF 9623 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9624 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9625 _lt_result=$? 9626 if test -s conftest.err && $GREP force_load conftest.err; then 9627 cat conftest.err >&5 9628 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 9629 lt_cv_ld_force_load=yes 9630 else 9631 cat conftest.err >&5 9632 fi 9633 rm -f conftest.err libconftest.a conftest conftest.c 9634 rm -rf conftest.dSYM 9635 9636fi 9637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9638$as_echo "$lt_cv_ld_force_load" >&6; } 9639 case $host_os in 9640 rhapsody* | darwin1.[012]) 9641 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 9642 darwin1.*) 9643 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 9644 darwin*) # darwin 5.x on 9645 # if running on 10.5 or later, the deployment target defaults 9646 # to the OS version, if on x86, and 10.4, the deployment 9647 # target defaults to 10.4. Don't you love it? 9648 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9649 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9650 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 9651 10.[012]*) 9652 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 9653 10.*) 9654 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 9655 esac 9656 ;; 9657 esac 9658 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 9659 _lt_dar_single_mod='$single_module' 9660 fi 9661 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 9662 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 9663 else 9664 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 9665 fi 9666 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 9667 _lt_dsymutil='~$DSYMUTIL $lib || :' 9668 else 9669 _lt_dsymutil= 9670 fi 9671 ;; 9672 esac 9673 9674for ac_header in dlfcn.h 9675do : 9676 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9677" 9678if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9679 cat >>confdefs.h <<_ACEOF 9680#define HAVE_DLFCN_H 1 9681_ACEOF 9682 9683fi 9684 9685done 9686 9687 9688 9689 9690 9691# Set options 9692enable_win32_dll=yes 9693 9694case $host in 9695*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 9696 if test -n "$ac_tool_prefix"; then 9697 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 9698set dummy ${ac_tool_prefix}as; ac_word=$2 9699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9700$as_echo_n "checking for $ac_word... " >&6; } 9701if ${ac_cv_prog_AS+:} false; then : 9702 $as_echo_n "(cached) " >&6 9703else 9704 if test -n "$AS"; then 9705 ac_cv_prog_AS="$AS" # Let the user override the test. 9706else 9707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9708for as_dir in $PATH 9709do 9710 IFS=$as_save_IFS 9711 test -z "$as_dir" && as_dir=. 9712 for ac_exec_ext in '' $ac_executable_extensions; do 9713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9714 ac_cv_prog_AS="${ac_tool_prefix}as" 9715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9716 break 2 9717 fi 9718done 9719 done 9720IFS=$as_save_IFS 9721 9722fi 9723fi 9724AS=$ac_cv_prog_AS 9725if test -n "$AS"; then 9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 9727$as_echo "$AS" >&6; } 9728else 9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9730$as_echo "no" >&6; } 9731fi 9732 9733 9734fi 9735if test -z "$ac_cv_prog_AS"; then 9736 ac_ct_AS=$AS 9737 # Extract the first word of "as", so it can be a program name with args. 9738set dummy as; ac_word=$2 9739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9740$as_echo_n "checking for $ac_word... " >&6; } 9741if ${ac_cv_prog_ac_ct_AS+:} false; then : 9742 $as_echo_n "(cached) " >&6 9743else 9744 if test -n "$ac_ct_AS"; then 9745 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 9746else 9747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9748for as_dir in $PATH 9749do 9750 IFS=$as_save_IFS 9751 test -z "$as_dir" && as_dir=. 9752 for ac_exec_ext in '' $ac_executable_extensions; do 9753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9754 ac_cv_prog_ac_ct_AS="as" 9755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9756 break 2 9757 fi 9758done 9759 done 9760IFS=$as_save_IFS 9761 9762fi 9763fi 9764ac_ct_AS=$ac_cv_prog_ac_ct_AS 9765if test -n "$ac_ct_AS"; then 9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 9767$as_echo "$ac_ct_AS" >&6; } 9768else 9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9770$as_echo "no" >&6; } 9771fi 9772 9773 if test "x$ac_ct_AS" = x; then 9774 AS="false" 9775 else 9776 case $cross_compiling:$ac_tool_warned in 9777yes:) 9778{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9779$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9780ac_tool_warned=yes ;; 9781esac 9782 AS=$ac_ct_AS 9783 fi 9784else 9785 AS="$ac_cv_prog_AS" 9786fi 9787 9788 if test -n "$ac_tool_prefix"; then 9789 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 9790set dummy ${ac_tool_prefix}dlltool; ac_word=$2 9791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9792$as_echo_n "checking for $ac_word... " >&6; } 9793if ${ac_cv_prog_DLLTOOL+:} false; then : 9794 $as_echo_n "(cached) " >&6 9795else 9796 if test -n "$DLLTOOL"; then 9797 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 9798else 9799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9800for as_dir in $PATH 9801do 9802 IFS=$as_save_IFS 9803 test -z "$as_dir" && as_dir=. 9804 for ac_exec_ext in '' $ac_executable_extensions; do 9805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9806 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 9807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9808 break 2 9809 fi 9810done 9811 done 9812IFS=$as_save_IFS 9813 9814fi 9815fi 9816DLLTOOL=$ac_cv_prog_DLLTOOL 9817if test -n "$DLLTOOL"; then 9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 9819$as_echo "$DLLTOOL" >&6; } 9820else 9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9822$as_echo "no" >&6; } 9823fi 9824 9825 9826fi 9827if test -z "$ac_cv_prog_DLLTOOL"; then 9828 ac_ct_DLLTOOL=$DLLTOOL 9829 # Extract the first word of "dlltool", so it can be a program name with args. 9830set dummy dlltool; ac_word=$2 9831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9832$as_echo_n "checking for $ac_word... " >&6; } 9833if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 9834 $as_echo_n "(cached) " >&6 9835else 9836 if test -n "$ac_ct_DLLTOOL"; then 9837 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 9838else 9839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9840for as_dir in $PATH 9841do 9842 IFS=$as_save_IFS 9843 test -z "$as_dir" && as_dir=. 9844 for ac_exec_ext in '' $ac_executable_extensions; do 9845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9846 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 9847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9848 break 2 9849 fi 9850done 9851 done 9852IFS=$as_save_IFS 9853 9854fi 9855fi 9856ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 9857if test -n "$ac_ct_DLLTOOL"; then 9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 9859$as_echo "$ac_ct_DLLTOOL" >&6; } 9860else 9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9862$as_echo "no" >&6; } 9863fi 9864 9865 if test "x$ac_ct_DLLTOOL" = x; then 9866 DLLTOOL="false" 9867 else 9868 case $cross_compiling:$ac_tool_warned in 9869yes:) 9870{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9871$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9872ac_tool_warned=yes ;; 9873esac 9874 DLLTOOL=$ac_ct_DLLTOOL 9875 fi 9876else 9877 DLLTOOL="$ac_cv_prog_DLLTOOL" 9878fi 9879 9880 if test -n "$ac_tool_prefix"; then 9881 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 9882set dummy ${ac_tool_prefix}objdump; ac_word=$2 9883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9884$as_echo_n "checking for $ac_word... " >&6; } 9885if ${ac_cv_prog_OBJDUMP+:} false; then : 9886 $as_echo_n "(cached) " >&6 9887else 9888 if test -n "$OBJDUMP"; then 9889 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 9890else 9891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9892for as_dir in $PATH 9893do 9894 IFS=$as_save_IFS 9895 test -z "$as_dir" && as_dir=. 9896 for ac_exec_ext in '' $ac_executable_extensions; do 9897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9898 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 9899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9900 break 2 9901 fi 9902done 9903 done 9904IFS=$as_save_IFS 9905 9906fi 9907fi 9908OBJDUMP=$ac_cv_prog_OBJDUMP 9909if test -n "$OBJDUMP"; then 9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 9911$as_echo "$OBJDUMP" >&6; } 9912else 9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9914$as_echo "no" >&6; } 9915fi 9916 9917 9918fi 9919if test -z "$ac_cv_prog_OBJDUMP"; then 9920 ac_ct_OBJDUMP=$OBJDUMP 9921 # Extract the first word of "objdump", so it can be a program name with args. 9922set dummy objdump; ac_word=$2 9923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9924$as_echo_n "checking for $ac_word... " >&6; } 9925if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 9926 $as_echo_n "(cached) " >&6 9927else 9928 if test -n "$ac_ct_OBJDUMP"; then 9929 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 9930else 9931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9932for as_dir in $PATH 9933do 9934 IFS=$as_save_IFS 9935 test -z "$as_dir" && as_dir=. 9936 for ac_exec_ext in '' $ac_executable_extensions; do 9937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9938 ac_cv_prog_ac_ct_OBJDUMP="objdump" 9939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9940 break 2 9941 fi 9942done 9943 done 9944IFS=$as_save_IFS 9945 9946fi 9947fi 9948ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 9949if test -n "$ac_ct_OBJDUMP"; then 9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 9951$as_echo "$ac_ct_OBJDUMP" >&6; } 9952else 9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9954$as_echo "no" >&6; } 9955fi 9956 9957 if test "x$ac_ct_OBJDUMP" = x; then 9958 OBJDUMP="false" 9959 else 9960 case $cross_compiling:$ac_tool_warned in 9961yes:) 9962{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9963$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9964ac_tool_warned=yes ;; 9965esac 9966 OBJDUMP=$ac_ct_OBJDUMP 9967 fi 9968else 9969 OBJDUMP="$ac_cv_prog_OBJDUMP" 9970fi 9971 9972 ;; 9973esac 9974 9975test -z "$AS" && AS=as 9976 9977 9978 9979 9980 9981test -z "$DLLTOOL" && DLLTOOL=dlltool 9982 9983 9984 9985 9986 9987test -z "$OBJDUMP" && OBJDUMP=objdump 9988 9989 9990 9991 9992 9993 9994 9995 enable_dlopen=no 9996 9997 9998 9999 # Check whether --enable-shared was given. 10000if test "${enable_shared+set}" = set; then : 10001 enableval=$enable_shared; p=${PACKAGE-default} 10002 case $enableval in 10003 yes) enable_shared=yes ;; 10004 no) enable_shared=no ;; 10005 *) 10006 enable_shared=no 10007 # Look at the argument we got. We use all the common list separators. 10008 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 10009 for pkg in $enableval; do 10010 IFS="$lt_save_ifs" 10011 if test "X$pkg" = "X$p"; then 10012 enable_shared=yes 10013 fi 10014 done 10015 IFS="$lt_save_ifs" 10016 ;; 10017 esac 10018else 10019 enable_shared=yes 10020fi 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 # Check whether --enable-static was given. 10031if test "${enable_static+set}" = set; then : 10032 enableval=$enable_static; p=${PACKAGE-default} 10033 case $enableval in 10034 yes) enable_static=yes ;; 10035 no) enable_static=no ;; 10036 *) 10037 enable_static=no 10038 # Look at the argument we got. We use all the common list separators. 10039 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 10040 for pkg in $enableval; do 10041 IFS="$lt_save_ifs" 10042 if test "X$pkg" = "X$p"; then 10043 enable_static=yes 10044 fi 10045 done 10046 IFS="$lt_save_ifs" 10047 ;; 10048 esac 10049else 10050 enable_static=yes 10051fi 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062# Check whether --with-pic was given. 10063if test "${with_pic+set}" = set; then : 10064 withval=$with_pic; lt_p=${PACKAGE-default} 10065 case $withval in 10066 yes|no) pic_mode=$withval ;; 10067 *) 10068 pic_mode=default 10069 # Look at the argument we got. We use all the common list separators. 10070 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 10071 for lt_pkg in $withval; do 10072 IFS="$lt_save_ifs" 10073 if test "X$lt_pkg" = "X$lt_p"; then 10074 pic_mode=yes 10075 fi 10076 done 10077 IFS="$lt_save_ifs" 10078 ;; 10079 esac 10080else 10081 pic_mode=default 10082fi 10083 10084 10085test -z "$pic_mode" && pic_mode=default 10086 10087 10088 10089 10090 10091 10092 10093 # Check whether --enable-fast-install was given. 10094if test "${enable_fast_install+set}" = set; then : 10095 enableval=$enable_fast_install; p=${PACKAGE-default} 10096 case $enableval in 10097 yes) enable_fast_install=yes ;; 10098 no) enable_fast_install=no ;; 10099 *) 10100 enable_fast_install=no 10101 # Look at the argument we got. We use all the common list separators. 10102 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 10103 for pkg in $enableval; do 10104 IFS="$lt_save_ifs" 10105 if test "X$pkg" = "X$p"; then 10106 enable_fast_install=yes 10107 fi 10108 done 10109 IFS="$lt_save_ifs" 10110 ;; 10111 esac 10112else 10113 enable_fast_install=yes 10114fi 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126# This can be used to rebuild libtool when needed 10127LIBTOOL_DEPS="$ltmain" 10128 10129# Always use our own libtool. 10130LIBTOOL='$(SHELL) $(top_builddir)/libtool' 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161test -z "$LN_S" && LN_S="ln -s" 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176if test -n "${ZSH_VERSION+set}" ; then 10177 setopt NO_GLOB_SUBST 10178fi 10179 10180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 10181$as_echo_n "checking for objdir... " >&6; } 10182if ${lt_cv_objdir+:} false; then : 10183 $as_echo_n "(cached) " >&6 10184else 10185 rm -f .libs 2>/dev/null 10186mkdir .libs 2>/dev/null 10187if test -d .libs; then 10188 lt_cv_objdir=.libs 10189else 10190 # MS-DOS does not allow filenames that begin with a dot. 10191 lt_cv_objdir=_libs 10192fi 10193rmdir .libs 2>/dev/null 10194fi 10195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 10196$as_echo "$lt_cv_objdir" >&6; } 10197objdir=$lt_cv_objdir 10198 10199 10200 10201 10202 10203cat >>confdefs.h <<_ACEOF 10204#define LT_OBJDIR "$lt_cv_objdir/" 10205_ACEOF 10206 10207 10208 10209 10210case $host_os in 10211aix3*) 10212 # AIX sometimes has problems with the GCC collect2 program. For some 10213 # reason, if we set the COLLECT_NAMES environment variable, the problems 10214 # vanish in a puff of smoke. 10215 if test "X${COLLECT_NAMES+set}" != Xset; then 10216 COLLECT_NAMES= 10217 export COLLECT_NAMES 10218 fi 10219 ;; 10220esac 10221 10222# Global variables: 10223ofile=libtool 10224can_build_shared=yes 10225 10226# All known linkers require a `.a' archive for static linking (except MSVC, 10227# which needs '.lib'). 10228libext=a 10229 10230with_gnu_ld="$lt_cv_prog_gnu_ld" 10231 10232old_CC="$CC" 10233old_CFLAGS="$CFLAGS" 10234 10235# Set sane defaults for various variables 10236test -z "$CC" && CC=cc 10237test -z "$LTCC" && LTCC=$CC 10238test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 10239test -z "$LD" && LD=ld 10240test -z "$ac_objext" && ac_objext=o 10241 10242for cc_temp in $compiler""; do 10243 case $cc_temp in 10244 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 10245 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 10246 \-*) ;; 10247 *) break;; 10248 esac 10249done 10250cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 10251 10252 10253# Only perform the check for file, if the check method requires it 10254test -z "$MAGIC_CMD" && MAGIC_CMD=file 10255case $deplibs_check_method in 10256file_magic*) 10257 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 10259$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 10260if ${lt_cv_path_MAGIC_CMD+:} false; then : 10261 $as_echo_n "(cached) " >&6 10262else 10263 case $MAGIC_CMD in 10264[\\/*] | ?:[\\/]*) 10265 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 10266 ;; 10267*) 10268 lt_save_MAGIC_CMD="$MAGIC_CMD" 10269 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 10270 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 10271 for ac_dir in $ac_dummy; do 10272 IFS="$lt_save_ifs" 10273 test -z "$ac_dir" && ac_dir=. 10274 if test -f $ac_dir/${ac_tool_prefix}file; then 10275 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 10276 if test -n "$file_magic_test_file"; then 10277 case $deplibs_check_method in 10278 "file_magic "*) 10279 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 10280 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 10281 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 10282 $EGREP "$file_magic_regex" > /dev/null; then 10283 : 10284 else 10285 cat <<_LT_EOF 1>&2 10286 10287*** Warning: the command libtool uses to detect shared libraries, 10288*** $file_magic_cmd, produces output that libtool cannot recognize. 10289*** The result is that libtool may fail to recognize shared libraries 10290*** as such. This will affect the creation of libtool libraries that 10291*** depend on shared libraries, but programs linked with such libtool 10292*** libraries will work regardless of this problem. Nevertheless, you 10293*** may want to report the problem to your system manager and/or to 10294*** bug-libtool@gnu.org 10295 10296_LT_EOF 10297 fi ;; 10298 esac 10299 fi 10300 break 10301 fi 10302 done 10303 IFS="$lt_save_ifs" 10304 MAGIC_CMD="$lt_save_MAGIC_CMD" 10305 ;; 10306esac 10307fi 10308 10309MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 10310if test -n "$MAGIC_CMD"; then 10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 10312$as_echo "$MAGIC_CMD" >&6; } 10313else 10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10315$as_echo "no" >&6; } 10316fi 10317 10318 10319 10320 10321 10322if test -z "$lt_cv_path_MAGIC_CMD"; then 10323 if test -n "$ac_tool_prefix"; then 10324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 10325$as_echo_n "checking for file... " >&6; } 10326if ${lt_cv_path_MAGIC_CMD+:} false; then : 10327 $as_echo_n "(cached) " >&6 10328else 10329 case $MAGIC_CMD in 10330[\\/*] | ?:[\\/]*) 10331 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 10332 ;; 10333*) 10334 lt_save_MAGIC_CMD="$MAGIC_CMD" 10335 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 10336 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 10337 for ac_dir in $ac_dummy; do 10338 IFS="$lt_save_ifs" 10339 test -z "$ac_dir" && ac_dir=. 10340 if test -f $ac_dir/file; then 10341 lt_cv_path_MAGIC_CMD="$ac_dir/file" 10342 if test -n "$file_magic_test_file"; then 10343 case $deplibs_check_method in 10344 "file_magic "*) 10345 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 10346 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 10347 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 10348 $EGREP "$file_magic_regex" > /dev/null; then 10349 : 10350 else 10351 cat <<_LT_EOF 1>&2 10352 10353*** Warning: the command libtool uses to detect shared libraries, 10354*** $file_magic_cmd, produces output that libtool cannot recognize. 10355*** The result is that libtool may fail to recognize shared libraries 10356*** as such. This will affect the creation of libtool libraries that 10357*** depend on shared libraries, but programs linked with such libtool 10358*** libraries will work regardless of this problem. Nevertheless, you 10359*** may want to report the problem to your system manager and/or to 10360*** bug-libtool@gnu.org 10361 10362_LT_EOF 10363 fi ;; 10364 esac 10365 fi 10366 break 10367 fi 10368 done 10369 IFS="$lt_save_ifs" 10370 MAGIC_CMD="$lt_save_MAGIC_CMD" 10371 ;; 10372esac 10373fi 10374 10375MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 10376if test -n "$MAGIC_CMD"; then 10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 10378$as_echo "$MAGIC_CMD" >&6; } 10379else 10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10381$as_echo "no" >&6; } 10382fi 10383 10384 10385 else 10386 MAGIC_CMD=: 10387 fi 10388fi 10389 10390 fi 10391 ;; 10392esac 10393 10394# Use C for the default configuration in the libtool script 10395 10396lt_save_CC="$CC" 10397ac_ext=c 10398ac_cpp='$CPP $CPPFLAGS' 10399ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10400ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10401ac_compiler_gnu=$ac_cv_c_compiler_gnu 10402 10403 10404# Source file extension for C test sources. 10405ac_ext=c 10406 10407# Object file extension for compiled C test sources. 10408objext=o 10409objext=$objext 10410 10411# Code to be used in simple compile tests 10412lt_simple_compile_test_code="int some_variable = 0;" 10413 10414# Code to be used in simple link tests 10415lt_simple_link_test_code='int main(){return(0);}' 10416 10417 10418 10419 10420 10421 10422 10423# If no C compiler was specified, use CC. 10424LTCC=${LTCC-"$CC"} 10425 10426# If no C compiler flags were specified, use CFLAGS. 10427LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 10428 10429# Allow CC to be a program name with arguments. 10430compiler=$CC 10431 10432# Save the default compiler, since it gets overwritten when the other 10433# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 10434compiler_DEFAULT=$CC 10435 10436# save warnings/boilerplate of simple test code 10437ac_outfile=conftest.$ac_objext 10438echo "$lt_simple_compile_test_code" >conftest.$ac_ext 10439eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 10440_lt_compiler_boilerplate=`cat conftest.err` 10441$RM conftest* 10442 10443ac_outfile=conftest.$ac_objext 10444echo "$lt_simple_link_test_code" >conftest.$ac_ext 10445eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 10446_lt_linker_boilerplate=`cat conftest.err` 10447$RM -r conftest* 10448 10449 10450if test -n "$compiler"; then 10451 10452lt_prog_compiler_no_builtin_flag= 10453 10454if test "$GCC" = yes; then 10455 case $cc_basename in 10456 nvcc*) 10457 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 10458 *) 10459 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 10460 esac 10461 10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 10463$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 10464if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 10465 $as_echo_n "(cached) " >&6 10466else 10467 lt_cv_prog_compiler_rtti_exceptions=no 10468 ac_outfile=conftest.$ac_objext 10469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10470 lt_compiler_flag="-fno-rtti -fno-exceptions" 10471 # Insert the option either (1) after the last *FLAGS variable, or 10472 # (2) before a word containing "conftest.", or (3) at the end. 10473 # Note that $ac_compile itself does not contain backslashes and begins 10474 # with a dollar sign (not a hyphen), so the echo should work correctly. 10475 # The option is referenced via a variable to avoid confusing sed. 10476 lt_compile=`echo "$ac_compile" | $SED \ 10477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10479 -e 's:$: $lt_compiler_flag:'` 10480 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10481 (eval "$lt_compile" 2>conftest.err) 10482 ac_status=$? 10483 cat conftest.err >&5 10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10485 if (exit $ac_status) && test -s "$ac_outfile"; then 10486 # The compiler can only warn and ignore the option if not recognized 10487 # So say no if there are warnings other than the usual output. 10488 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10490 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10491 lt_cv_prog_compiler_rtti_exceptions=yes 10492 fi 10493 fi 10494 $RM conftest* 10495 10496fi 10497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 10498$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 10499 10500if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 10501 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 10502else 10503 : 10504fi 10505 10506fi 10507 10508 10509 10510 10511 10512 10513 lt_prog_compiler_wl= 10514lt_prog_compiler_pic= 10515lt_prog_compiler_static= 10516 10517 10518 if test "$GCC" = yes; then 10519 lt_prog_compiler_wl='-Wl,' 10520 lt_prog_compiler_static='-static' 10521 10522 case $host_os in 10523 aix*) 10524 # All AIX code is PIC. 10525 if test "$host_cpu" = ia64; then 10526 # AIX 5 now supports IA64 processor 10527 lt_prog_compiler_static='-Bstatic' 10528 fi 10529 ;; 10530 10531 amigaos*) 10532 case $host_cpu in 10533 powerpc) 10534 # see comment about AmigaOS4 .so support 10535 lt_prog_compiler_pic='-fPIC' 10536 ;; 10537 m68k) 10538 # FIXME: we need at least 68020 code to build shared libraries, but 10539 # adding the `-m68020' flag to GCC prevents building anything better, 10540 # like `-m68040'. 10541 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 10542 ;; 10543 esac 10544 ;; 10545 10546 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 10547 # PIC is the default for these OSes. 10548 ;; 10549 10550 mingw* | cygwin* | pw32* | os2* | cegcc*) 10551 # This hack is so that the source file can tell whether it is being 10552 # built for inclusion in a dll (and should export symbols for example). 10553 # Although the cygwin gcc ignores -fPIC, still need this for old-style 10554 # (--disable-auto-import) libraries 10555 lt_prog_compiler_pic='-DDLL_EXPORT' 10556 ;; 10557 10558 darwin* | rhapsody*) 10559 # PIC is the default on this platform 10560 # Common symbols not allowed in MH_DYLIB files 10561 lt_prog_compiler_pic='-fno-common' 10562 ;; 10563 10564 haiku*) 10565 # PIC is the default for Haiku. 10566 # The "-static" flag exists, but is broken. 10567 lt_prog_compiler_static= 10568 ;; 10569 10570 hpux*) 10571 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10572 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10573 # sets the default TLS model and affects inlining. 10574 case $host_cpu in 10575 hppa*64*) 10576 # +Z the default 10577 ;; 10578 *) 10579 lt_prog_compiler_pic='-fPIC' 10580 ;; 10581 esac 10582 ;; 10583 10584 interix[3-9]*) 10585 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10586 # Instead, we relocate shared libraries at runtime. 10587 ;; 10588 10589 msdosdjgpp*) 10590 # Just because we use GCC doesn't mean we suddenly get shared libraries 10591 # on systems that don't support them. 10592 lt_prog_compiler_can_build_shared=no 10593 enable_shared=no 10594 ;; 10595 10596 *nto* | *qnx*) 10597 # QNX uses GNU C++, but need to define -shared option too, otherwise 10598 # it will coredump. 10599 lt_prog_compiler_pic='-fPIC -shared' 10600 ;; 10601 10602 sysv4*MP*) 10603 if test -d /usr/nec; then 10604 lt_prog_compiler_pic=-Kconform_pic 10605 fi 10606 ;; 10607 10608 *) 10609 lt_prog_compiler_pic='-fPIC' 10610 ;; 10611 esac 10612 10613 case $cc_basename in 10614 nvcc*) # Cuda Compiler Driver 2.2 10615 lt_prog_compiler_wl='-Xlinker ' 10616 if test -n "$lt_prog_compiler_pic"; then 10617 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10618 fi 10619 ;; 10620 esac 10621 else 10622 # PORTME Check for flag to pass linker flags through the system compiler. 10623 case $host_os in 10624 aix*) 10625 lt_prog_compiler_wl='-Wl,' 10626 if test "$host_cpu" = ia64; then 10627 # AIX 5 now supports IA64 processor 10628 lt_prog_compiler_static='-Bstatic' 10629 else 10630 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10631 fi 10632 ;; 10633 10634 mingw* | cygwin* | pw32* | os2* | cegcc*) 10635 # This hack is so that the source file can tell whether it is being 10636 # built for inclusion in a dll (and should export symbols for example). 10637 lt_prog_compiler_pic='-DDLL_EXPORT' 10638 ;; 10639 10640 hpux9* | hpux10* | hpux11*) 10641 lt_prog_compiler_wl='-Wl,' 10642 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10643 # not for PA HP-UX. 10644 case $host_cpu in 10645 hppa*64*|ia64*) 10646 # +Z the default 10647 ;; 10648 *) 10649 lt_prog_compiler_pic='+Z' 10650 ;; 10651 esac 10652 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10653 lt_prog_compiler_static='${wl}-a ${wl}archive' 10654 ;; 10655 10656 irix5* | irix6* | nonstopux*) 10657 lt_prog_compiler_wl='-Wl,' 10658 # PIC (with -KPIC) is the default. 10659 lt_prog_compiler_static='-non_shared' 10660 ;; 10661 10662 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10663 case $cc_basename in 10664 # old Intel for x86_64 which still supported -KPIC. 10665 ecc*) 10666 lt_prog_compiler_wl='-Wl,' 10667 lt_prog_compiler_pic='-KPIC' 10668 lt_prog_compiler_static='-static' 10669 ;; 10670 # icc used to be incompatible with GCC. 10671 # ICC 10 doesn't accept -KPIC any more. 10672 icc* | ifort*) 10673 lt_prog_compiler_wl='-Wl,' 10674 lt_prog_compiler_pic='-fPIC' 10675 lt_prog_compiler_static='-static' 10676 ;; 10677 # Lahey Fortran 8.1. 10678 lf95*) 10679 lt_prog_compiler_wl='-Wl,' 10680 lt_prog_compiler_pic='--shared' 10681 lt_prog_compiler_static='--static' 10682 ;; 10683 nagfor*) 10684 # NAG Fortran compiler 10685 lt_prog_compiler_wl='-Wl,-Wl,,' 10686 lt_prog_compiler_pic='-PIC' 10687 lt_prog_compiler_static='-Bstatic' 10688 ;; 10689 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10690 # Portland Group compilers (*not* the Pentium gcc compiler, 10691 # which looks to be a dead project) 10692 lt_prog_compiler_wl='-Wl,' 10693 lt_prog_compiler_pic='-fpic' 10694 lt_prog_compiler_static='-Bstatic' 10695 ;; 10696 ccc*) 10697 lt_prog_compiler_wl='-Wl,' 10698 # All Alpha code is PIC. 10699 lt_prog_compiler_static='-non_shared' 10700 ;; 10701 xl* | bgxl* | bgf* | mpixl*) 10702 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10703 lt_prog_compiler_wl='-Wl,' 10704 lt_prog_compiler_pic='-qpic' 10705 lt_prog_compiler_static='-qstaticlink' 10706 ;; 10707 *) 10708 case `$CC -V 2>&1 | sed 5q` in 10709 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10710 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10711 lt_prog_compiler_pic='-KPIC' 10712 lt_prog_compiler_static='-Bstatic' 10713 lt_prog_compiler_wl='' 10714 ;; 10715 *Sun\ F* | *Sun*Fortran*) 10716 lt_prog_compiler_pic='-KPIC' 10717 lt_prog_compiler_static='-Bstatic' 10718 lt_prog_compiler_wl='-Qoption ld ' 10719 ;; 10720 *Sun\ C*) 10721 # Sun C 5.9 10722 lt_prog_compiler_pic='-KPIC' 10723 lt_prog_compiler_static='-Bstatic' 10724 lt_prog_compiler_wl='-Wl,' 10725 ;; 10726 *Intel*\ [CF]*Compiler*) 10727 lt_prog_compiler_wl='-Wl,' 10728 lt_prog_compiler_pic='-fPIC' 10729 lt_prog_compiler_static='-static' 10730 ;; 10731 *Portland\ Group*) 10732 lt_prog_compiler_wl='-Wl,' 10733 lt_prog_compiler_pic='-fpic' 10734 lt_prog_compiler_static='-Bstatic' 10735 ;; 10736 esac 10737 ;; 10738 esac 10739 ;; 10740 10741 newsos6) 10742 lt_prog_compiler_pic='-KPIC' 10743 lt_prog_compiler_static='-Bstatic' 10744 ;; 10745 10746 *nto* | *qnx*) 10747 # QNX uses GNU C++, but need to define -shared option too, otherwise 10748 # it will coredump. 10749 lt_prog_compiler_pic='-fPIC -shared' 10750 ;; 10751 10752 osf3* | osf4* | osf5*) 10753 lt_prog_compiler_wl='-Wl,' 10754 # All OSF/1 code is PIC. 10755 lt_prog_compiler_static='-non_shared' 10756 ;; 10757 10758 rdos*) 10759 lt_prog_compiler_static='-non_shared' 10760 ;; 10761 10762 solaris*) 10763 lt_prog_compiler_pic='-KPIC' 10764 lt_prog_compiler_static='-Bstatic' 10765 case $cc_basename in 10766 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10767 lt_prog_compiler_wl='-Qoption ld ';; 10768 *) 10769 lt_prog_compiler_wl='-Wl,';; 10770 esac 10771 ;; 10772 10773 sunos4*) 10774 lt_prog_compiler_wl='-Qoption ld ' 10775 lt_prog_compiler_pic='-PIC' 10776 lt_prog_compiler_static='-Bstatic' 10777 ;; 10778 10779 sysv4 | sysv4.2uw2* | sysv4.3*) 10780 lt_prog_compiler_wl='-Wl,' 10781 lt_prog_compiler_pic='-KPIC' 10782 lt_prog_compiler_static='-Bstatic' 10783 ;; 10784 10785 sysv4*MP*) 10786 if test -d /usr/nec ;then 10787 lt_prog_compiler_pic='-Kconform_pic' 10788 lt_prog_compiler_static='-Bstatic' 10789 fi 10790 ;; 10791 10792 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10793 lt_prog_compiler_wl='-Wl,' 10794 lt_prog_compiler_pic='-KPIC' 10795 lt_prog_compiler_static='-Bstatic' 10796 ;; 10797 10798 unicos*) 10799 lt_prog_compiler_wl='-Wl,' 10800 lt_prog_compiler_can_build_shared=no 10801 ;; 10802 10803 uts4*) 10804 lt_prog_compiler_pic='-pic' 10805 lt_prog_compiler_static='-Bstatic' 10806 ;; 10807 10808 *) 10809 lt_prog_compiler_can_build_shared=no 10810 ;; 10811 esac 10812 fi 10813 10814case $host_os in 10815 # For platforms which do not support PIC, -DPIC is meaningless: 10816 *djgpp*) 10817 lt_prog_compiler_pic= 10818 ;; 10819 *) 10820 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10821 ;; 10822esac 10823 10824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10825$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10826if ${lt_cv_prog_compiler_pic+:} false; then : 10827 $as_echo_n "(cached) " >&6 10828else 10829 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10830fi 10831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10832$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10833lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10834 10835# 10836# Check to make sure the PIC flag actually works. 10837# 10838if test -n "$lt_prog_compiler_pic"; then 10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10840$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10841if ${lt_cv_prog_compiler_pic_works+:} false; then : 10842 $as_echo_n "(cached) " >&6 10843else 10844 lt_cv_prog_compiler_pic_works=no 10845 ac_outfile=conftest.$ac_objext 10846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10847 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 10848 # Insert the option either (1) after the last *FLAGS variable, or 10849 # (2) before a word containing "conftest.", or (3) at the end. 10850 # Note that $ac_compile itself does not contain backslashes and begins 10851 # with a dollar sign (not a hyphen), so the echo should work correctly. 10852 # The option is referenced via a variable to avoid confusing sed. 10853 lt_compile=`echo "$ac_compile" | $SED \ 10854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10856 -e 's:$: $lt_compiler_flag:'` 10857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10858 (eval "$lt_compile" 2>conftest.err) 10859 ac_status=$? 10860 cat conftest.err >&5 10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10862 if (exit $ac_status) && test -s "$ac_outfile"; then 10863 # The compiler can only warn and ignore the option if not recognized 10864 # So say no if there are warnings other than the usual output. 10865 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10866 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10867 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10868 lt_cv_prog_compiler_pic_works=yes 10869 fi 10870 fi 10871 $RM conftest* 10872 10873fi 10874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10875$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10876 10877if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 10878 case $lt_prog_compiler_pic in 10879 "" | " "*) ;; 10880 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10881 esac 10882else 10883 lt_prog_compiler_pic= 10884 lt_prog_compiler_can_build_shared=no 10885fi 10886 10887fi 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899# 10900# Check to make sure the static flag actually works. 10901# 10902wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10904$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10905if ${lt_cv_prog_compiler_static_works+:} false; then : 10906 $as_echo_n "(cached) " >&6 10907else 10908 lt_cv_prog_compiler_static_works=no 10909 save_LDFLAGS="$LDFLAGS" 10910 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10911 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10912 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10913 # The linker can only warn and ignore the option if not recognized 10914 # So say no if there are warnings 10915 if test -s conftest.err; then 10916 # Append any errors to the config.log. 10917 cat conftest.err 1>&5 10918 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10919 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10920 if diff conftest.exp conftest.er2 >/dev/null; then 10921 lt_cv_prog_compiler_static_works=yes 10922 fi 10923 else 10924 lt_cv_prog_compiler_static_works=yes 10925 fi 10926 fi 10927 $RM -r conftest* 10928 LDFLAGS="$save_LDFLAGS" 10929 10930fi 10931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10932$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10933 10934if test x"$lt_cv_prog_compiler_static_works" = xyes; then 10935 : 10936else 10937 lt_prog_compiler_static= 10938fi 10939 10940 10941 10942 10943 10944 10945 10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10947$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10948if ${lt_cv_prog_compiler_c_o+:} false; then : 10949 $as_echo_n "(cached) " >&6 10950else 10951 lt_cv_prog_compiler_c_o=no 10952 $RM -r conftest 2>/dev/null 10953 mkdir conftest 10954 cd conftest 10955 mkdir out 10956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10957 10958 lt_compiler_flag="-o out/conftest2.$ac_objext" 10959 # Insert the option either (1) after the last *FLAGS variable, or 10960 # (2) before a word containing "conftest.", or (3) at the end. 10961 # Note that $ac_compile itself does not contain backslashes and begins 10962 # with a dollar sign (not a hyphen), so the echo should work correctly. 10963 lt_compile=`echo "$ac_compile" | $SED \ 10964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10966 -e 's:$: $lt_compiler_flag:'` 10967 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10968 (eval "$lt_compile" 2>out/conftest.err) 10969 ac_status=$? 10970 cat out/conftest.err >&5 10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10972 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10973 then 10974 # The compiler can only warn and ignore the option if not recognized 10975 # So say no if there are warnings 10976 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10977 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10978 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10979 lt_cv_prog_compiler_c_o=yes 10980 fi 10981 fi 10982 chmod u+w . 2>&5 10983 $RM conftest* 10984 # SGI C++ compiler will create directory out/ii_files/ for 10985 # template instantiation 10986 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10987 $RM out/* && rmdir out 10988 cd .. 10989 $RM -r conftest 10990 $RM conftest* 10991 10992fi 10993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10994$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10995 10996 10997 10998 10999 11000 11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 11002$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 11003if ${lt_cv_prog_compiler_c_o+:} false; then : 11004 $as_echo_n "(cached) " >&6 11005else 11006 lt_cv_prog_compiler_c_o=no 11007 $RM -r conftest 2>/dev/null 11008 mkdir conftest 11009 cd conftest 11010 mkdir out 11011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11012 11013 lt_compiler_flag="-o out/conftest2.$ac_objext" 11014 # Insert the option either (1) after the last *FLAGS variable, or 11015 # (2) before a word containing "conftest.", or (3) at the end. 11016 # Note that $ac_compile itself does not contain backslashes and begins 11017 # with a dollar sign (not a hyphen), so the echo should work correctly. 11018 lt_compile=`echo "$ac_compile" | $SED \ 11019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 11020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11021 -e 's:$: $lt_compiler_flag:'` 11022 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 11023 (eval "$lt_compile" 2>out/conftest.err) 11024 ac_status=$? 11025 cat out/conftest.err >&5 11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11027 if (exit $ac_status) && test -s out/conftest2.$ac_objext 11028 then 11029 # The compiler can only warn and ignore the option if not recognized 11030 # So say no if there are warnings 11031 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 11032 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 11033 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 11034 lt_cv_prog_compiler_c_o=yes 11035 fi 11036 fi 11037 chmod u+w . 2>&5 11038 $RM conftest* 11039 # SGI C++ compiler will create directory out/ii_files/ for 11040 # template instantiation 11041 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 11042 $RM out/* && rmdir out 11043 cd .. 11044 $RM -r conftest 11045 $RM conftest* 11046 11047fi 11048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 11049$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 11050 11051 11052 11053 11054hard_links="nottested" 11055if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 11056 # do not overwrite the value of need_locks provided by the user 11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 11058$as_echo_n "checking if we can lock with hard links... " >&6; } 11059 hard_links=yes 11060 $RM conftest* 11061 ln conftest.a conftest.b 2>/dev/null && hard_links=no 11062 touch conftest.a 11063 ln conftest.a conftest.b 2>&5 || hard_links=no 11064 ln conftest.a conftest.b 2>/dev/null && hard_links=no 11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 11066$as_echo "$hard_links" >&6; } 11067 if test "$hard_links" = no; then 11068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 11069$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 11070 need_locks=warn 11071 fi 11072else 11073 need_locks=no 11074fi 11075 11076 11077 11078 11079 11080 11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 11082$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 11083 11084 runpath_var= 11085 allow_undefined_flag= 11086 always_export_symbols=no 11087 archive_cmds= 11088 archive_expsym_cmds= 11089 compiler_needs_object=no 11090 enable_shared_with_static_runtimes=no 11091 export_dynamic_flag_spec= 11092 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 11093 hardcode_automatic=no 11094 hardcode_direct=no 11095 hardcode_direct_absolute=no 11096 hardcode_libdir_flag_spec= 11097 hardcode_libdir_separator= 11098 hardcode_minus_L=no 11099 hardcode_shlibpath_var=unsupported 11100 inherit_rpath=no 11101 link_all_deplibs=unknown 11102 module_cmds= 11103 module_expsym_cmds= 11104 old_archive_from_new_cmds= 11105 old_archive_from_expsyms_cmds= 11106 thread_safe_flag_spec= 11107 whole_archive_flag_spec= 11108 # include_expsyms should be a list of space-separated symbols to be *always* 11109 # included in the symbol list 11110 include_expsyms= 11111 # exclude_expsyms can be an extended regexp of symbols to exclude 11112 # it will be wrapped by ` (' and `)$', so one must not match beginning or 11113 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 11114 # as well as any symbol that contains `d'. 11115 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 11116 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 11117 # platforms (ab)use it in PIC code, but their linkers get confused if 11118 # the symbol is explicitly referenced. Since portable code cannot 11119 # rely on this symbol name, it's probably fine to never include it in 11120 # preloaded symbol tables. 11121 # Exclude shared library initialization/finalization symbols. 11122 extract_expsyms_cmds= 11123 11124 case $host_os in 11125 cygwin* | mingw* | pw32* | cegcc*) 11126 # FIXME: the MSVC++ port hasn't been tested in a loooong time 11127 # When not using gcc, we currently assume that we are using 11128 # Microsoft Visual C++. 11129 if test "$GCC" != yes; then 11130 with_gnu_ld=no 11131 fi 11132 ;; 11133 interix*) 11134 # we just hope/assume this is gcc and not c89 (= MSVC++) 11135 with_gnu_ld=yes 11136 ;; 11137 openbsd*) 11138 with_gnu_ld=no 11139 ;; 11140 linux* | k*bsd*-gnu | gnu*) 11141 link_all_deplibs=no 11142 ;; 11143 esac 11144 11145 ld_shlibs=yes 11146 11147 # On some targets, GNU ld is compatible enough with the native linker 11148 # that we're better off using the native interface for both. 11149 lt_use_gnu_ld_interface=no 11150 if test "$with_gnu_ld" = yes; then 11151 case $host_os in 11152 aix*) 11153 # The AIX port of GNU ld has always aspired to compatibility 11154 # with the native linker. However, as the warning in the GNU ld 11155 # block says, versions before 2.19.5* couldn't really create working 11156 # shared libraries, regardless of the interface used. 11157 case `$LD -v 2>&1` in 11158 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 11159 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 11160 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 11161 *) 11162 lt_use_gnu_ld_interface=yes 11163 ;; 11164 esac 11165 ;; 11166 *) 11167 lt_use_gnu_ld_interface=yes 11168 ;; 11169 esac 11170 fi 11171 11172 if test "$lt_use_gnu_ld_interface" = yes; then 11173 # If archive_cmds runs LD, not CC, wlarc should be empty 11174 wlarc='${wl}' 11175 11176 # Set some defaults for GNU ld with shared library support. These 11177 # are reset later if shared libraries are not supported. Putting them 11178 # here allows them to be overridden if necessary. 11179 runpath_var=LD_RUN_PATH 11180 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11181 export_dynamic_flag_spec='${wl}--export-dynamic' 11182 # ancient GNU ld didn't support --whole-archive et. al. 11183 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 11184 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 11185 else 11186 whole_archive_flag_spec= 11187 fi 11188 supports_anon_versioning=no 11189 case `$LD -v 2>&1` in 11190 *GNU\ gold*) supports_anon_versioning=yes ;; 11191 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 11192 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 11193 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 11194 *\ 2.11.*) ;; # other 2.11 versions 11195 *) supports_anon_versioning=yes ;; 11196 esac 11197 11198 # See if GNU ld supports shared libraries. 11199 case $host_os in 11200 aix[3-9]*) 11201 # On AIX/PPC, the GNU linker is very broken 11202 if test "$host_cpu" != ia64; then 11203 ld_shlibs=no 11204 cat <<_LT_EOF 1>&2 11205 11206*** Warning: the GNU linker, at least up to release 2.19, is reported 11207*** to be unable to reliably create shared libraries on AIX. 11208*** Therefore, libtool is disabling shared libraries support. If you 11209*** really care for shared libraries, you may want to install binutils 11210*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 11211*** You will then need to restart the configuration process. 11212 11213_LT_EOF 11214 fi 11215 ;; 11216 11217 amigaos*) 11218 case $host_cpu in 11219 powerpc) 11220 # see comment about AmigaOS4 .so support 11221 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11222 archive_expsym_cmds='' 11223 ;; 11224 m68k) 11225 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)' 11226 hardcode_libdir_flag_spec='-L$libdir' 11227 hardcode_minus_L=yes 11228 ;; 11229 esac 11230 ;; 11231 11232 beos*) 11233 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11234 allow_undefined_flag=unsupported 11235 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 11236 # support --undefined. This deserves some investigation. FIXME 11237 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11238 else 11239 ld_shlibs=no 11240 fi 11241 ;; 11242 11243 cygwin* | mingw* | pw32* | cegcc*) 11244 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 11245 # as there is no search path for DLLs. 11246 hardcode_libdir_flag_spec='-L$libdir' 11247 export_dynamic_flag_spec='${wl}--export-all-symbols' 11248 allow_undefined_flag=unsupported 11249 always_export_symbols=no 11250 enable_shared_with_static_runtimes=yes 11251 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' 11252 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 11253 11254 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 11255 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 11256 # If the export-symbols file already is a .def file (1st line 11257 # is EXPORTS), use it as is; otherwise, prepend... 11258 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 11259 cp $export_symbols $output_objdir/$soname.def; 11260 else 11261 echo EXPORTS > $output_objdir/$soname.def; 11262 cat $export_symbols >> $output_objdir/$soname.def; 11263 fi~ 11264 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 11265 else 11266 ld_shlibs=no 11267 fi 11268 ;; 11269 11270 haiku*) 11271 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11272 link_all_deplibs=yes 11273 ;; 11274 11275 interix[3-9]*) 11276 hardcode_direct=no 11277 hardcode_shlibpath_var=no 11278 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 11279 export_dynamic_flag_spec='${wl}-E' 11280 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 11281 # Instead, shared libraries are loaded at an image base (0x10000000 by 11282 # default) and relocated if they conflict, which is a slow very memory 11283 # consuming and fragmenting process. To avoid this, we pick a random, 11284 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 11285 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 11286 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 11287 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' 11288 ;; 11289 11290 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 11291 tmp_diet=no 11292 if test "$host_os" = linux-dietlibc; then 11293 case $cc_basename in 11294 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 11295 esac 11296 fi 11297 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 11298 && test "$tmp_diet" = no 11299 then 11300 tmp_addflag=' $pic_flag' 11301 tmp_sharedflag='-shared' 11302 case $cc_basename,$host_cpu in 11303 pgcc*) # Portland Group C compiler 11304 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' 11305 tmp_addflag=' $pic_flag' 11306 ;; 11307 pgf77* | pgf90* | pgf95* | pgfortran*) 11308 # Portland Group f77 and f90 compilers 11309 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' 11310 tmp_addflag=' $pic_flag -Mnomain' ;; 11311 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 11312 tmp_addflag=' -i_dynamic' ;; 11313 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 11314 tmp_addflag=' -i_dynamic -nofor_main' ;; 11315 ifc* | ifort*) # Intel Fortran compiler 11316 tmp_addflag=' -nofor_main' ;; 11317 lf95*) # Lahey Fortran 8.1 11318 whole_archive_flag_spec= 11319 tmp_sharedflag='--shared' ;; 11320 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 11321 tmp_sharedflag='-qmkshrobj' 11322 tmp_addflag= ;; 11323 nvcc*) # Cuda Compiler Driver 2.2 11324 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' 11325 compiler_needs_object=yes 11326 ;; 11327 esac 11328 case `$CC -V 2>&1 | sed 5q` in 11329 *Sun\ C*) # Sun C 5.9 11330 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' 11331 compiler_needs_object=yes 11332 tmp_sharedflag='-G' ;; 11333 *Sun\ F*) # Sun Fortran 8.3 11334 tmp_sharedflag='-G' ;; 11335 esac 11336 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11337 11338 if test "x$supports_anon_versioning" = xyes; then 11339 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 11340 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 11341 echo "local: *; };" >> $output_objdir/$libname.ver~ 11342 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 11343 fi 11344 11345 case $cc_basename in 11346 xlf* | bgf* | bgxlf* | mpixlf*) 11347 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 11348 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 11349 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11350 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 11351 if test "x$supports_anon_versioning" = xyes; then 11352 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 11353 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 11354 echo "local: *; };" >> $output_objdir/$libname.ver~ 11355 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 11356 fi 11357 ;; 11358 esac 11359 else 11360 ld_shlibs=no 11361 fi 11362 ;; 11363 11364 netbsd* | netbsdelf*-gnu) 11365 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11366 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 11367 wlarc= 11368 else 11369 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11370 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 11371 fi 11372 ;; 11373 11374 solaris*) 11375 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 11376 ld_shlibs=no 11377 cat <<_LT_EOF 1>&2 11378 11379*** Warning: The releases 2.8.* of the GNU linker cannot reliably 11380*** create shared libraries on Solaris systems. Therefore, libtool 11381*** is disabling shared libraries support. We urge you to upgrade GNU 11382*** binutils to release 2.9.1 or newer. Another option is to modify 11383*** your PATH or compiler configuration so that the native linker is 11384*** used, and then restart. 11385 11386_LT_EOF 11387 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11388 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11389 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 11390 else 11391 ld_shlibs=no 11392 fi 11393 ;; 11394 11395 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 11396 case `$LD -v 2>&1` in 11397 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 11398 ld_shlibs=no 11399 cat <<_LT_EOF 1>&2 11400 11401*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 11402*** reliably create shared libraries on SCO systems. Therefore, libtool 11403*** is disabling shared libraries support. We urge you to upgrade GNU 11404*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 11405*** your PATH or compiler configuration so that the native linker is 11406*** used, and then restart. 11407 11408_LT_EOF 11409 ;; 11410 *) 11411 # For security reasons, it is highly recommended that you always 11412 # use absolute paths for naming shared libraries, and exclude the 11413 # DT_RUNPATH tag from executables and libraries. But doing so 11414 # requires that you compile everything twice, which is a pain. 11415 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11416 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11417 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11418 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 11419 else 11420 ld_shlibs=no 11421 fi 11422 ;; 11423 esac 11424 ;; 11425 11426 sunos4*) 11427 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11428 wlarc= 11429 hardcode_direct=yes 11430 hardcode_shlibpath_var=no 11431 ;; 11432 11433 *) 11434 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11435 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11436 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 11437 else 11438 ld_shlibs=no 11439 fi 11440 ;; 11441 esac 11442 11443 if test "$ld_shlibs" = no; then 11444 runpath_var= 11445 hardcode_libdir_flag_spec= 11446 export_dynamic_flag_spec= 11447 whole_archive_flag_spec= 11448 fi 11449 else 11450 # PORTME fill in a description of your system's linker (not GNU ld) 11451 case $host_os in 11452 aix3*) 11453 allow_undefined_flag=unsupported 11454 always_export_symbols=yes 11455 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' 11456 # Note: this linker hardcodes the directories in LIBPATH if there 11457 # are no directories specified by -L. 11458 hardcode_minus_L=yes 11459 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 11460 # Neither direct hardcoding nor static linking is supported with a 11461 # broken collect2. 11462 hardcode_direct=unsupported 11463 fi 11464 ;; 11465 11466 aix[4-9]*) 11467 if test "$host_cpu" = ia64; then 11468 # On IA64, the linker does run time linking by default, so we don't 11469 # have to do anything special. 11470 aix_use_runtimelinking=no 11471 exp_sym_flag='-Bexport' 11472 no_entry_flag="" 11473 else 11474 # If we're using GNU nm, then we don't want the "-C" option. 11475 # -C means demangle to AIX nm, but means don't demangle with GNU nm 11476 # Also, AIX nm treats weak defined symbols like other global 11477 # defined symbols, whereas GNU nm marks them as "W". 11478 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 11479 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 11480 else 11481 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 11482 fi 11483 aix_use_runtimelinking=no 11484 11485 # Test if we are trying to use run time linking or normal 11486 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11487 # need to do runtime linking. 11488 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11489 for ld_flag in $LDFLAGS; do 11490 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 11491 aix_use_runtimelinking=yes 11492 break 11493 fi 11494 done 11495 ;; 11496 esac 11497 11498 exp_sym_flag='-bexport' 11499 no_entry_flag='-bnoentry' 11500 fi 11501 11502 # When large executables or shared objects are built, AIX ld can 11503 # have problems creating the table of contents. If linking a library 11504 # or program results in "error TOC overflow" add -mminimal-toc to 11505 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11506 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11507 11508 archive_cmds='' 11509 hardcode_direct=yes 11510 hardcode_direct_absolute=yes 11511 hardcode_libdir_separator=':' 11512 link_all_deplibs=yes 11513 file_list_spec='${wl}-f,' 11514 11515 if test "$GCC" = yes; then 11516 case $host_os in aix4.[012]|aix4.[012].*) 11517 # We only want to do this on AIX 4.2 and lower, the check 11518 # below for broken collect2 doesn't work under 4.3+ 11519 collect2name=`${CC} -print-prog-name=collect2` 11520 if test -f "$collect2name" && 11521 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11522 then 11523 # We have reworked collect2 11524 : 11525 else 11526 # We have old collect2 11527 hardcode_direct=unsupported 11528 # It fails to find uninstalled libraries when the uninstalled 11529 # path is not listed in the libpath. Setting hardcode_minus_L 11530 # to unsupported forces relinking 11531 hardcode_minus_L=yes 11532 hardcode_libdir_flag_spec='-L$libdir' 11533 hardcode_libdir_separator= 11534 fi 11535 ;; 11536 esac 11537 shared_flag='-shared' 11538 if test "$aix_use_runtimelinking" = yes; then 11539 shared_flag="$shared_flag "'${wl}-G' 11540 fi 11541 link_all_deplibs=no 11542 else 11543 # not using gcc 11544 if test "$host_cpu" = ia64; then 11545 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11546 # chokes on -Wl,-G. The following line is correct: 11547 shared_flag='-G' 11548 else 11549 if test "$aix_use_runtimelinking" = yes; then 11550 shared_flag='${wl}-G' 11551 else 11552 shared_flag='${wl}-bM:SRE' 11553 fi 11554 fi 11555 fi 11556 11557 export_dynamic_flag_spec='${wl}-bexpall' 11558 # It seems that -bexpall does not export symbols beginning with 11559 # underscore (_), so it is better to generate a list of symbols to export. 11560 always_export_symbols=yes 11561 if test "$aix_use_runtimelinking" = yes; then 11562 # Warning - without using the other runtime loading flags (-brtl), 11563 # -berok will link without error, but may produce a broken library. 11564 allow_undefined_flag='-berok' 11565 # Determine the default libpath from the value encoded in an 11566 # empty executable. 11567 if test "${lt_cv_aix_libpath+set}" = set; then 11568 aix_libpath=$lt_cv_aix_libpath 11569else 11570 if ${lt_cv_aix_libpath_+:} false; then : 11571 $as_echo_n "(cached) " >&6 11572else 11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11574/* end confdefs.h. */ 11575 11576int 11577main () 11578{ 11579 11580 ; 11581 return 0; 11582} 11583_ACEOF 11584if ac_fn_c_try_link "$LINENO"; then : 11585 11586 lt_aix_libpath_sed=' 11587 /Import File Strings/,/^$/ { 11588 /^0/ { 11589 s/^0 *\([^ ]*\) *$/\1/ 11590 p 11591 } 11592 }' 11593 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11594 # Check for a 64-bit object if we didn't find anything. 11595 if test -z "$lt_cv_aix_libpath_"; then 11596 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11597 fi 11598fi 11599rm -f core conftest.err conftest.$ac_objext \ 11600 conftest$ac_exeext conftest.$ac_ext 11601 if test -z "$lt_cv_aix_libpath_"; then 11602 lt_cv_aix_libpath_="/usr/lib:/lib" 11603 fi 11604 11605fi 11606 11607 aix_libpath=$lt_cv_aix_libpath_ 11608fi 11609 11610 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 11611 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 11612 else 11613 if test "$host_cpu" = ia64; then 11614 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 11615 allow_undefined_flag="-z nodefs" 11616 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" 11617 else 11618 # Determine the default libpath from the value encoded in an 11619 # empty executable. 11620 if test "${lt_cv_aix_libpath+set}" = set; then 11621 aix_libpath=$lt_cv_aix_libpath 11622else 11623 if ${lt_cv_aix_libpath_+:} false; then : 11624 $as_echo_n "(cached) " >&6 11625else 11626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11627/* end confdefs.h. */ 11628 11629int 11630main () 11631{ 11632 11633 ; 11634 return 0; 11635} 11636_ACEOF 11637if ac_fn_c_try_link "$LINENO"; then : 11638 11639 lt_aix_libpath_sed=' 11640 /Import File Strings/,/^$/ { 11641 /^0/ { 11642 s/^0 *\([^ ]*\) *$/\1/ 11643 p 11644 } 11645 }' 11646 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11647 # Check for a 64-bit object if we didn't find anything. 11648 if test -z "$lt_cv_aix_libpath_"; then 11649 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11650 fi 11651fi 11652rm -f core conftest.err conftest.$ac_objext \ 11653 conftest$ac_exeext conftest.$ac_ext 11654 if test -z "$lt_cv_aix_libpath_"; then 11655 lt_cv_aix_libpath_="/usr/lib:/lib" 11656 fi 11657 11658fi 11659 11660 aix_libpath=$lt_cv_aix_libpath_ 11661fi 11662 11663 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 11664 # Warning - without using the other run time loading flags, 11665 # -berok will link without error, but may produce a broken library. 11666 no_undefined_flag=' ${wl}-bernotok' 11667 allow_undefined_flag=' ${wl}-berok' 11668 if test "$with_gnu_ld" = yes; then 11669 # We only use this code for GNU lds that support --whole-archive. 11670 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 11671 else 11672 # Exported symbols can be pulled into shared objects from archives 11673 whole_archive_flag_spec='$convenience' 11674 fi 11675 archive_cmds_need_lc=yes 11676 # This is similar to how AIX traditionally builds its shared libraries. 11677 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 11678 fi 11679 fi 11680 ;; 11681 11682 amigaos*) 11683 case $host_cpu in 11684 powerpc) 11685 # see comment about AmigaOS4 .so support 11686 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11687 archive_expsym_cmds='' 11688 ;; 11689 m68k) 11690 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)' 11691 hardcode_libdir_flag_spec='-L$libdir' 11692 hardcode_minus_L=yes 11693 ;; 11694 esac 11695 ;; 11696 11697 bsdi[45]*) 11698 export_dynamic_flag_spec=-rdynamic 11699 ;; 11700 11701 cygwin* | mingw* | pw32* | cegcc*) 11702 # When not using gcc, we currently assume that we are using 11703 # Microsoft Visual C++. 11704 # hardcode_libdir_flag_spec is actually meaningless, as there is 11705 # no search path for DLLs. 11706 case $cc_basename in 11707 cl*) 11708 # Native MSVC 11709 hardcode_libdir_flag_spec=' ' 11710 allow_undefined_flag=unsupported 11711 always_export_symbols=yes 11712 file_list_spec='@' 11713 # Tell ltmain to make .lib files, not .a files. 11714 libext=lib 11715 # Tell ltmain to make .dll files, not .so files. 11716 shrext_cmds=".dll" 11717 # FIXME: Setting linknames here is a bad hack. 11718 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 11719 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 11720 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 11721 else 11722 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 11723 fi~ 11724 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11725 linknames=' 11726 # The linker will not automatically build a static lib if we build a DLL. 11727 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11728 enable_shared_with_static_runtimes=yes 11729 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11730 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11731 # Don't use ranlib 11732 old_postinstall_cmds='chmod 644 $oldlib' 11733 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11734 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11735 case $lt_outputfile in 11736 *.exe|*.EXE) ;; 11737 *) 11738 lt_outputfile="$lt_outputfile.exe" 11739 lt_tool_outputfile="$lt_tool_outputfile.exe" 11740 ;; 11741 esac~ 11742 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 11743 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11744 $RM "$lt_outputfile.manifest"; 11745 fi' 11746 ;; 11747 *) 11748 # Assume MSVC wrapper 11749 hardcode_libdir_flag_spec=' ' 11750 allow_undefined_flag=unsupported 11751 # Tell ltmain to make .lib files, not .a files. 11752 libext=lib 11753 # Tell ltmain to make .dll files, not .so files. 11754 shrext_cmds=".dll" 11755 # FIXME: Setting linknames here is a bad hack. 11756 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11757 # The linker will automatically build a .lib file if we build a DLL. 11758 old_archive_from_new_cmds='true' 11759 # FIXME: Should let the user specify the lib program. 11760 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11761 enable_shared_with_static_runtimes=yes 11762 ;; 11763 esac 11764 ;; 11765 11766 darwin* | rhapsody*) 11767 11768 11769 archive_cmds_need_lc=no 11770 hardcode_direct=no 11771 hardcode_automatic=yes 11772 hardcode_shlibpath_var=unsupported 11773 if test "$lt_cv_ld_force_load" = "yes"; then 11774 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\"`' 11775 11776 else 11777 whole_archive_flag_spec='' 11778 fi 11779 link_all_deplibs=yes 11780 allow_undefined_flag="$_lt_dar_allow_undefined" 11781 case $cc_basename in 11782 ifort*) _lt_dar_can_shared=yes ;; 11783 *) _lt_dar_can_shared=$GCC ;; 11784 esac 11785 if test "$_lt_dar_can_shared" = "yes"; then 11786 output_verbose_link_cmd=func_echo_all 11787 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 11788 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 11789 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}" 11790 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}" 11791 11792 else 11793 ld_shlibs=no 11794 fi 11795 11796 ;; 11797 11798 dgux*) 11799 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11800 hardcode_libdir_flag_spec='-L$libdir' 11801 hardcode_shlibpath_var=no 11802 ;; 11803 11804 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11805 # support. Future versions do this automatically, but an explicit c++rt0.o 11806 # does not break anything, and helps significantly (at the cost of a little 11807 # extra space). 11808 freebsd2.2*) 11809 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11810 hardcode_libdir_flag_spec='-R$libdir' 11811 hardcode_direct=yes 11812 hardcode_shlibpath_var=no 11813 ;; 11814 11815 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11816 freebsd2.*) 11817 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11818 hardcode_direct=yes 11819 hardcode_minus_L=yes 11820 hardcode_shlibpath_var=no 11821 ;; 11822 11823 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11824 freebsd* | dragonfly*) 11825 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11826 hardcode_libdir_flag_spec='-R$libdir' 11827 hardcode_direct=yes 11828 hardcode_shlibpath_var=no 11829 ;; 11830 11831 hpux9*) 11832 if test "$GCC" = yes; then 11833 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 11834 else 11835 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 11836 fi 11837 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11838 hardcode_libdir_separator=: 11839 hardcode_direct=yes 11840 11841 # hardcode_minus_L: Not really in the search PATH, 11842 # but as the default location of the library. 11843 hardcode_minus_L=yes 11844 export_dynamic_flag_spec='${wl}-E' 11845 ;; 11846 11847 hpux10*) 11848 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 11849 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11850 else 11851 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11852 fi 11853 if test "$with_gnu_ld" = no; then 11854 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11855 hardcode_libdir_separator=: 11856 hardcode_direct=yes 11857 hardcode_direct_absolute=yes 11858 export_dynamic_flag_spec='${wl}-E' 11859 # hardcode_minus_L: Not really in the search PATH, 11860 # but as the default location of the library. 11861 hardcode_minus_L=yes 11862 fi 11863 ;; 11864 11865 hpux11*) 11866 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 11867 case $host_cpu in 11868 hppa*64*) 11869 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 11870 ;; 11871 ia64*) 11872 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11873 ;; 11874 *) 11875 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11876 ;; 11877 esac 11878 else 11879 case $host_cpu in 11880 hppa*64*) 11881 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 11882 ;; 11883 ia64*) 11884 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11885 ;; 11886 *) 11887 11888 # Older versions of the 11.00 compiler do not understand -b yet 11889 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11891$as_echo_n "checking if $CC understands -b... " >&6; } 11892if ${lt_cv_prog_compiler__b+:} false; then : 11893 $as_echo_n "(cached) " >&6 11894else 11895 lt_cv_prog_compiler__b=no 11896 save_LDFLAGS="$LDFLAGS" 11897 LDFLAGS="$LDFLAGS -b" 11898 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11899 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11900 # The linker can only warn and ignore the option if not recognized 11901 # So say no if there are warnings 11902 if test -s conftest.err; then 11903 # Append any errors to the config.log. 11904 cat conftest.err 1>&5 11905 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11906 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11907 if diff conftest.exp conftest.er2 >/dev/null; then 11908 lt_cv_prog_compiler__b=yes 11909 fi 11910 else 11911 lt_cv_prog_compiler__b=yes 11912 fi 11913 fi 11914 $RM -r conftest* 11915 LDFLAGS="$save_LDFLAGS" 11916 11917fi 11918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11919$as_echo "$lt_cv_prog_compiler__b" >&6; } 11920 11921if test x"$lt_cv_prog_compiler__b" = xyes; then 11922 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11923else 11924 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11925fi 11926 11927 ;; 11928 esac 11929 fi 11930 if test "$with_gnu_ld" = no; then 11931 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11932 hardcode_libdir_separator=: 11933 11934 case $host_cpu in 11935 hppa*64*|ia64*) 11936 hardcode_direct=no 11937 hardcode_shlibpath_var=no 11938 ;; 11939 *) 11940 hardcode_direct=yes 11941 hardcode_direct_absolute=yes 11942 export_dynamic_flag_spec='${wl}-E' 11943 11944 # hardcode_minus_L: Not really in the search PATH, 11945 # but as the default location of the library. 11946 hardcode_minus_L=yes 11947 ;; 11948 esac 11949 fi 11950 ;; 11951 11952 irix5* | irix6* | nonstopux*) 11953 if test "$GCC" = yes; then 11954 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' 11955 # Try to use the -exported_symbol ld option, if it does not 11956 # work, assume that -exports_file does not work either and 11957 # implicitly export all symbols. 11958 # This should be the same for all languages, so no per-tag cache variable. 11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11960$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11961if ${lt_cv_irix_exported_symbol+:} false; then : 11962 $as_echo_n "(cached) " >&6 11963else 11964 save_LDFLAGS="$LDFLAGS" 11965 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11967/* end confdefs.h. */ 11968int foo (void) { return 0; } 11969_ACEOF 11970if ac_fn_c_try_link "$LINENO"; then : 11971 lt_cv_irix_exported_symbol=yes 11972else 11973 lt_cv_irix_exported_symbol=no 11974fi 11975rm -f core conftest.err conftest.$ac_objext \ 11976 conftest$ac_exeext conftest.$ac_ext 11977 LDFLAGS="$save_LDFLAGS" 11978fi 11979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11980$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11981 if test "$lt_cv_irix_exported_symbol" = yes; then 11982 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' 11983 fi 11984 else 11985 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' 11986 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' 11987 fi 11988 archive_cmds_need_lc='no' 11989 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11990 hardcode_libdir_separator=: 11991 inherit_rpath=yes 11992 link_all_deplibs=yes 11993 ;; 11994 11995 netbsd* | netbsdelf*-gnu) 11996 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11997 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11998 else 11999 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 12000 fi 12001 hardcode_libdir_flag_spec='-R$libdir' 12002 hardcode_direct=yes 12003 hardcode_shlibpath_var=no 12004 ;; 12005 12006 newsos6) 12007 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12008 hardcode_direct=yes 12009 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 12010 hardcode_libdir_separator=: 12011 hardcode_shlibpath_var=no 12012 ;; 12013 12014 *nto* | *qnx*) 12015 ;; 12016 12017 openbsd*) 12018 if test -f /usr/libexec/ld.so; then 12019 hardcode_direct=yes 12020 hardcode_shlibpath_var=no 12021 hardcode_direct_absolute=yes 12022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 12023 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 12024 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 12025 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 12026 export_dynamic_flag_spec='${wl}-E' 12027 else 12028 case $host_os in 12029 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 12030 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 12031 hardcode_libdir_flag_spec='-R$libdir' 12032 ;; 12033 *) 12034 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 12035 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 12036 ;; 12037 esac 12038 fi 12039 else 12040 ld_shlibs=no 12041 fi 12042 ;; 12043 12044 os2*) 12045 hardcode_libdir_flag_spec='-L$libdir' 12046 hardcode_minus_L=yes 12047 allow_undefined_flag=unsupported 12048 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 12049 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 12050 ;; 12051 12052 osf3*) 12053 if test "$GCC" = yes; then 12054 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 12055 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' 12056 else 12057 allow_undefined_flag=' -expect_unresolved \*' 12058 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' 12059 fi 12060 archive_cmds_need_lc='no' 12061 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 12062 hardcode_libdir_separator=: 12063 ;; 12064 12065 osf4* | osf5*) # as osf3* with the addition of -msym flag 12066 if test "$GCC" = yes; then 12067 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 12068 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' 12069 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 12070 else 12071 allow_undefined_flag=' -expect_unresolved \*' 12072 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' 12073 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~ 12074 $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' 12075 12076 # Both c and cxx compiler support -rpath directly 12077 hardcode_libdir_flag_spec='-rpath $libdir' 12078 fi 12079 archive_cmds_need_lc='no' 12080 hardcode_libdir_separator=: 12081 ;; 12082 12083 solaris*) 12084 no_undefined_flag=' -z defs' 12085 if test "$GCC" = yes; then 12086 wlarc='${wl}' 12087 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 12088 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12089 $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' 12090 else 12091 case `$CC -V 2>&1` in 12092 *"Compilers 5.0"*) 12093 wlarc='' 12094 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 12095 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12096 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 12097 ;; 12098 *) 12099 wlarc='${wl}' 12100 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 12101 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12102 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 12103 ;; 12104 esac 12105 fi 12106 hardcode_libdir_flag_spec='-R$libdir' 12107 hardcode_shlibpath_var=no 12108 case $host_os in 12109 solaris2.[0-5] | solaris2.[0-5].*) ;; 12110 *) 12111 # The compiler driver will combine and reorder linker options, 12112 # but understands `-z linker_flag'. GCC discards it without `$wl', 12113 # but is careful enough not to reorder. 12114 # Supported since Solaris 2.6 (maybe 2.5.1?) 12115 if test "$GCC" = yes; then 12116 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 12117 else 12118 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 12119 fi 12120 ;; 12121 esac 12122 link_all_deplibs=yes 12123 ;; 12124 12125 sunos4*) 12126 if test "x$host_vendor" = xsequent; then 12127 # Use $CC to link under sequent, because it throws in some extra .o 12128 # files that make .init and .fini sections work. 12129 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 12130 else 12131 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 12132 fi 12133 hardcode_libdir_flag_spec='-L$libdir' 12134 hardcode_direct=yes 12135 hardcode_minus_L=yes 12136 hardcode_shlibpath_var=no 12137 ;; 12138 12139 sysv4) 12140 case $host_vendor in 12141 sni) 12142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12143 hardcode_direct=yes # is this really true??? 12144 ;; 12145 siemens) 12146 ## LD is ld it makes a PLAMLIB 12147 ## CC just makes a GrossModule. 12148 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 12149 reload_cmds='$CC -r -o $output$reload_objs' 12150 hardcode_direct=no 12151 ;; 12152 motorola) 12153 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12154 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 12155 ;; 12156 esac 12157 runpath_var='LD_RUN_PATH' 12158 hardcode_shlibpath_var=no 12159 ;; 12160 12161 sysv4.3*) 12162 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12163 hardcode_shlibpath_var=no 12164 export_dynamic_flag_spec='-Bexport' 12165 ;; 12166 12167 sysv4*MP*) 12168 if test -d /usr/nec; then 12169 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12170 hardcode_shlibpath_var=no 12171 runpath_var=LD_RUN_PATH 12172 hardcode_runpath_var=yes 12173 ld_shlibs=yes 12174 fi 12175 ;; 12176 12177 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 12178 no_undefined_flag='${wl}-z,text' 12179 archive_cmds_need_lc=no 12180 hardcode_shlibpath_var=no 12181 runpath_var='LD_RUN_PATH' 12182 12183 if test "$GCC" = yes; then 12184 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12185 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12186 else 12187 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12188 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12189 fi 12190 ;; 12191 12192 sysv5* | sco3.2v5* | sco5v6*) 12193 # Note: We can NOT use -z defs as we might desire, because we do not 12194 # link with -lc, and that would cause any symbols used from libc to 12195 # always be unresolved, which means just about no library would 12196 # ever link correctly. If we're not using GNU ld we use -z text 12197 # though, which does catch some bad symbols but isn't as heavy-handed 12198 # as -z defs. 12199 no_undefined_flag='${wl}-z,text' 12200 allow_undefined_flag='${wl}-z,nodefs' 12201 archive_cmds_need_lc=no 12202 hardcode_shlibpath_var=no 12203 hardcode_libdir_flag_spec='${wl}-R,$libdir' 12204 hardcode_libdir_separator=':' 12205 link_all_deplibs=yes 12206 export_dynamic_flag_spec='${wl}-Bexport' 12207 runpath_var='LD_RUN_PATH' 12208 12209 if test "$GCC" = yes; then 12210 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12211 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12212 else 12213 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12214 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12215 fi 12216 ;; 12217 12218 uts4*) 12219 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12220 hardcode_libdir_flag_spec='-L$libdir' 12221 hardcode_shlibpath_var=no 12222 ;; 12223 12224 *) 12225 ld_shlibs=no 12226 ;; 12227 esac 12228 12229 if test x$host_vendor = xsni; then 12230 case $host in 12231 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 12232 export_dynamic_flag_spec='${wl}-Blargedynsym' 12233 ;; 12234 esac 12235 fi 12236 fi 12237 12238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 12239$as_echo "$ld_shlibs" >&6; } 12240test "$ld_shlibs" = no && can_build_shared=no 12241 12242with_gnu_ld=$with_gnu_ld 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258# 12259# Do we need to explicitly link libc? 12260# 12261case "x$archive_cmds_need_lc" in 12262x|xyes) 12263 # Assume -lc should be added 12264 archive_cmds_need_lc=yes 12265 12266 if test "$enable_shared" = yes && test "$GCC" = yes; then 12267 case $archive_cmds in 12268 *'~'*) 12269 # FIXME: we may have to deal with multi-command sequences. 12270 ;; 12271 '$CC '*) 12272 # Test whether the compiler implicitly links with -lc since on some 12273 # systems, -lgcc has to come before -lc. If gcc already passes -lc 12274 # to ld, don't add -lc before -lgcc. 12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 12276$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 12277if ${lt_cv_archive_cmds_need_lc+:} false; then : 12278 $as_echo_n "(cached) " >&6 12279else 12280 $RM conftest* 12281 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 12282 12283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 12284 (eval $ac_compile) 2>&5 12285 ac_status=$? 12286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12287 test $ac_status = 0; } 2>conftest.err; then 12288 soname=conftest 12289 lib=conftest 12290 libobjs=conftest.$ac_objext 12291 deplibs= 12292 wl=$lt_prog_compiler_wl 12293 pic_flag=$lt_prog_compiler_pic 12294 compiler_flags=-v 12295 linker_flags=-v 12296 verstring= 12297 output_objdir=. 12298 libname=conftest 12299 lt_save_allow_undefined_flag=$allow_undefined_flag 12300 allow_undefined_flag= 12301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 12302 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 12303 ac_status=$? 12304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12305 test $ac_status = 0; } 12306 then 12307 lt_cv_archive_cmds_need_lc=no 12308 else 12309 lt_cv_archive_cmds_need_lc=yes 12310 fi 12311 allow_undefined_flag=$lt_save_allow_undefined_flag 12312 else 12313 cat conftest.err 1>&5 12314 fi 12315 $RM conftest* 12316 12317fi 12318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 12319$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 12320 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 12321 ;; 12322 esac 12323 fi 12324 ;; 12325esac 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12479$as_echo_n "checking dynamic linker characteristics... " >&6; } 12480 12481if test "$GCC" = yes; then 12482 case $host_os in 12483 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 12484 *) lt_awk_arg="/^libraries:/" ;; 12485 esac 12486 case $host_os in 12487 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 12488 *) lt_sed_strip_eq="s,=/,/,g" ;; 12489 esac 12490 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12491 case $lt_search_path_spec in 12492 *\;*) 12493 # if the path contains ";" then we assume it to be the separator 12494 # otherwise default to the standard path separator (i.e. ":") - it is 12495 # assumed that no part of a normal pathname contains ";" but that should 12496 # okay in the real world where ";" in dirpaths is itself problematic. 12497 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12498 ;; 12499 *) 12500 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12501 ;; 12502 esac 12503 # Ok, now we have the path, separated by spaces, we can step through it 12504 # and add multilib dir if necessary. 12505 lt_tmp_lt_search_path_spec= 12506 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12507 for lt_sys_path in $lt_search_path_spec; do 12508 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 12509 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 12510 else 12511 test -d "$lt_sys_path" && \ 12512 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12513 fi 12514 done 12515 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12516BEGIN {RS=" "; FS="/|\n";} { 12517 lt_foo=""; 12518 lt_count=0; 12519 for (lt_i = NF; lt_i > 0; lt_i--) { 12520 if ($lt_i != "" && $lt_i != ".") { 12521 if ($lt_i == "..") { 12522 lt_count++; 12523 } else { 12524 if (lt_count == 0) { 12525 lt_foo="/" $lt_i lt_foo; 12526 } else { 12527 lt_count--; 12528 } 12529 } 12530 } 12531 } 12532 if (lt_foo != "") { lt_freq[lt_foo]++; } 12533 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12534}'` 12535 # AWK program above erroneously prepends '/' to C:/dos/paths 12536 # for these hosts. 12537 case $host_os in 12538 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12539 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 12540 esac 12541 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12542else 12543 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12544fi 12545library_names_spec= 12546libname_spec='lib$name' 12547soname_spec= 12548shrext_cmds=".so" 12549postinstall_cmds= 12550postuninstall_cmds= 12551finish_cmds= 12552finish_eval= 12553shlibpath_var= 12554shlibpath_overrides_runpath=unknown 12555version_type=none 12556dynamic_linker="$host_os ld.so" 12557sys_lib_dlsearch_path_spec="/lib /usr/lib" 12558need_lib_prefix=unknown 12559hardcode_into_libs=no 12560 12561# when you set need_version to no, make sure it does not cause -set_version 12562# flags to be left without arguments 12563need_version=unknown 12564 12565case $host_os in 12566aix3*) 12567 version_type=linux # correct to gnu/linux during the next big refactor 12568 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 12569 shlibpath_var=LIBPATH 12570 12571 # AIX 3 has no versioning support, so we append a major version to the name. 12572 soname_spec='${libname}${release}${shared_ext}$major' 12573 ;; 12574 12575aix[4-9]*) 12576 version_type=linux # correct to gnu/linux during the next big refactor 12577 need_lib_prefix=no 12578 need_version=no 12579 hardcode_into_libs=yes 12580 if test "$host_cpu" = ia64; then 12581 # AIX 5 supports IA64 12582 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 12583 shlibpath_var=LD_LIBRARY_PATH 12584 else 12585 # With GCC up to 2.95.x, collect2 would create an import file 12586 # for dependence libraries. The import file would start with 12587 # the line `#! .'. This would cause the generated library to 12588 # depend on `.', always an invalid library. This was fixed in 12589 # development snapshots of GCC prior to 3.0. 12590 case $host_os in 12591 aix4 | aix4.[01] | aix4.[01].*) 12592 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12593 echo ' yes ' 12594 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 12595 : 12596 else 12597 can_build_shared=no 12598 fi 12599 ;; 12600 esac 12601 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 12602 # soname into executable. Probably we can add versioning support to 12603 # collect2, so additional links can be useful in future. 12604 if test "$aix_use_runtimelinking" = yes; then 12605 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12606 # instead of lib<name>.a to let people know that these are not 12607 # typical AIX shared libraries. 12608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12609 else 12610 # We preserve .a as extension for shared libraries through AIX4.2 12611 # and later when we are not doing run time linking. 12612 library_names_spec='${libname}${release}.a $libname.a' 12613 soname_spec='${libname}${release}${shared_ext}$major' 12614 fi 12615 shlibpath_var=LIBPATH 12616 fi 12617 ;; 12618 12619amigaos*) 12620 case $host_cpu in 12621 powerpc) 12622 # Since July 2007 AmigaOS4 officially supports .so libraries. 12623 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12625 ;; 12626 m68k) 12627 library_names_spec='$libname.ixlibrary $libname.a' 12628 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12629 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 12630 ;; 12631 esac 12632 ;; 12633 12634beos*) 12635 library_names_spec='${libname}${shared_ext}' 12636 dynamic_linker="$host_os ld.so" 12637 shlibpath_var=LIBRARY_PATH 12638 ;; 12639 12640bsdi[45]*) 12641 version_type=linux # correct to gnu/linux during the next big refactor 12642 need_version=no 12643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12644 soname_spec='${libname}${release}${shared_ext}$major' 12645 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12646 shlibpath_var=LD_LIBRARY_PATH 12647 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12648 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12649 # the default ld.so.conf also contains /usr/contrib/lib and 12650 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12651 # libtool to hard-code these into programs 12652 ;; 12653 12654cygwin* | mingw* | pw32* | cegcc*) 12655 version_type=windows 12656 shrext_cmds=".dll" 12657 need_version=no 12658 need_lib_prefix=no 12659 12660 case $GCC,$cc_basename in 12661 yes,*) 12662 # gcc 12663 library_names_spec='$libname.dll.a' 12664 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12665 postinstall_cmds='base_file=`basename \${file}`~ 12666 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 12667 dldir=$destdir/`dirname \$dlpath`~ 12668 test -d \$dldir || mkdir -p \$dldir~ 12669 $install_prog $dir/$dlname \$dldir/$dlname~ 12670 chmod a+x \$dldir/$dlname~ 12671 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12672 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12673 fi' 12674 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12675 dlpath=$dir/\$dldll~ 12676 $RM \$dlpath' 12677 shlibpath_overrides_runpath=yes 12678 12679 case $host_os in 12680 cygwin*) 12681 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12682 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12683 12684 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12685 ;; 12686 mingw* | cegcc*) 12687 # MinGW DLLs use traditional 'lib' prefix 12688 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12689 ;; 12690 pw32*) 12691 # pw32 DLLs use 'pw' prefix rather than 'lib' 12692 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12693 ;; 12694 esac 12695 dynamic_linker='Win32 ld.exe' 12696 ;; 12697 12698 *,cl*) 12699 # Native MSVC 12700 libname_spec='$name' 12701 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12702 library_names_spec='${libname}.dll.lib' 12703 12704 case $build_os in 12705 mingw*) 12706 sys_lib_search_path_spec= 12707 lt_save_ifs=$IFS 12708 IFS=';' 12709 for lt_path in $LIB 12710 do 12711 IFS=$lt_save_ifs 12712 # Let DOS variable expansion print the short 8.3 style file name. 12713 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12714 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12715 done 12716 IFS=$lt_save_ifs 12717 # Convert to MSYS style. 12718 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12719 ;; 12720 cygwin*) 12721 # Convert to unix form, then to dos form, then back to unix form 12722 # but this time dos style (no spaces!) so that the unix form looks 12723 # like /cygdrive/c/PROGRA~1:/cygdr... 12724 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12725 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12726 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12727 ;; 12728 *) 12729 sys_lib_search_path_spec="$LIB" 12730 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12731 # It is most probably a Windows format PATH. 12732 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12733 else 12734 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12735 fi 12736 # FIXME: find the short name or the path components, as spaces are 12737 # common. (e.g. "Program Files" -> "PROGRA~1") 12738 ;; 12739 esac 12740 12741 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12742 postinstall_cmds='base_file=`basename \${file}`~ 12743 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 12744 dldir=$destdir/`dirname \$dlpath`~ 12745 test -d \$dldir || mkdir -p \$dldir~ 12746 $install_prog $dir/$dlname \$dldir/$dlname' 12747 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12748 dlpath=$dir/\$dldll~ 12749 $RM \$dlpath' 12750 shlibpath_overrides_runpath=yes 12751 dynamic_linker='Win32 link.exe' 12752 ;; 12753 12754 *) 12755 # Assume MSVC wrapper 12756 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 12757 dynamic_linker='Win32 ld.exe' 12758 ;; 12759 esac 12760 # FIXME: first we should search . and the directory the executable is in 12761 shlibpath_var=PATH 12762 ;; 12763 12764darwin* | rhapsody*) 12765 dynamic_linker="$host_os dyld" 12766 version_type=darwin 12767 need_lib_prefix=no 12768 need_version=no 12769 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 12770 soname_spec='${libname}${release}${major}$shared_ext' 12771 shlibpath_overrides_runpath=yes 12772 shlibpath_var=DYLD_LIBRARY_PATH 12773 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12774 12775 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12776 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12777 ;; 12778 12779dgux*) 12780 version_type=linux # correct to gnu/linux during the next big refactor 12781 need_lib_prefix=no 12782 need_version=no 12783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 12784 soname_spec='${libname}${release}${shared_ext}$major' 12785 shlibpath_var=LD_LIBRARY_PATH 12786 ;; 12787 12788freebsd* | dragonfly*) 12789 # DragonFly does not have aout. When/if they implement a new 12790 # versioning mechanism, adjust this. 12791 if test -x /usr/bin/objformat; then 12792 objformat=`/usr/bin/objformat` 12793 else 12794 case $host_os in 12795 freebsd[23].*) objformat=aout ;; 12796 *) objformat=elf ;; 12797 esac 12798 fi 12799 version_type=freebsd-$objformat 12800 case $version_type in 12801 freebsd-elf*) 12802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 12803 need_version=no 12804 need_lib_prefix=no 12805 ;; 12806 freebsd-*) 12807 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 12808 need_version=yes 12809 ;; 12810 esac 12811 shlibpath_var=LD_LIBRARY_PATH 12812 case $host_os in 12813 freebsd2.*) 12814 shlibpath_overrides_runpath=yes 12815 ;; 12816 freebsd3.[01]* | freebsdelf3.[01]*) 12817 shlibpath_overrides_runpath=yes 12818 hardcode_into_libs=yes 12819 ;; 12820 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12821 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12822 shlibpath_overrides_runpath=no 12823 hardcode_into_libs=yes 12824 ;; 12825 *) # from 4.6 on, and DragonFly 12826 shlibpath_overrides_runpath=yes 12827 hardcode_into_libs=yes 12828 ;; 12829 esac 12830 ;; 12831 12832haiku*) 12833 version_type=linux # correct to gnu/linux during the next big refactor 12834 need_lib_prefix=no 12835 need_version=no 12836 dynamic_linker="$host_os runtime_loader" 12837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 12838 soname_spec='${libname}${release}${shared_ext}$major' 12839 shlibpath_var=LIBRARY_PATH 12840 shlibpath_overrides_runpath=yes 12841 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12842 hardcode_into_libs=yes 12843 ;; 12844 12845hpux9* | hpux10* | hpux11*) 12846 # Give a soname corresponding to the major version so that dld.sl refuses to 12847 # link against other versions. 12848 version_type=sunos 12849 need_lib_prefix=no 12850 need_version=no 12851 case $host_cpu in 12852 ia64*) 12853 shrext_cmds='.so' 12854 hardcode_into_libs=yes 12855 dynamic_linker="$host_os dld.so" 12856 shlibpath_var=LD_LIBRARY_PATH 12857 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12859 soname_spec='${libname}${release}${shared_ext}$major' 12860 if test "X$HPUX_IA64_MODE" = X32; then 12861 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12862 else 12863 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12864 fi 12865 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12866 ;; 12867 hppa*64*) 12868 shrext_cmds='.sl' 12869 hardcode_into_libs=yes 12870 dynamic_linker="$host_os dld.sl" 12871 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12872 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12874 soname_spec='${libname}${release}${shared_ext}$major' 12875 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12876 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12877 ;; 12878 *) 12879 shrext_cmds='.sl' 12880 dynamic_linker="$host_os dld.sl" 12881 shlibpath_var=SHLIB_PATH 12882 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12884 soname_spec='${libname}${release}${shared_ext}$major' 12885 ;; 12886 esac 12887 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12888 postinstall_cmds='chmod 555 $lib' 12889 # or fails outright, so override atomically: 12890 install_override_mode=555 12891 ;; 12892 12893interix[3-9]*) 12894 version_type=linux # correct to gnu/linux during the next big refactor 12895 need_lib_prefix=no 12896 need_version=no 12897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12898 soname_spec='${libname}${release}${shared_ext}$major' 12899 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12900 shlibpath_var=LD_LIBRARY_PATH 12901 shlibpath_overrides_runpath=no 12902 hardcode_into_libs=yes 12903 ;; 12904 12905irix5* | irix6* | nonstopux*) 12906 case $host_os in 12907 nonstopux*) version_type=nonstopux ;; 12908 *) 12909 if test "$lt_cv_prog_gnu_ld" = yes; then 12910 version_type=linux # correct to gnu/linux during the next big refactor 12911 else 12912 version_type=irix 12913 fi ;; 12914 esac 12915 need_lib_prefix=no 12916 need_version=no 12917 soname_spec='${libname}${release}${shared_ext}$major' 12918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 12919 case $host_os in 12920 irix5* | nonstopux*) 12921 libsuff= shlibsuff= 12922 ;; 12923 *) 12924 case $LD in # libtool.m4 will add one of these switches to LD 12925 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12926 libsuff= shlibsuff= libmagic=32-bit;; 12927 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12928 libsuff=32 shlibsuff=N32 libmagic=N32;; 12929 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12930 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12931 *) libsuff= shlibsuff= libmagic=never-match;; 12932 esac 12933 ;; 12934 esac 12935 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12936 shlibpath_overrides_runpath=no 12937 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 12938 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 12939 hardcode_into_libs=yes 12940 ;; 12941 12942# No shared lib support for Linux oldld, aout, or coff. 12943linux*oldld* | linux*aout* | linux*coff*) 12944 dynamic_linker=no 12945 ;; 12946 12947# This must be glibc/ELF. 12948linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12949 version_type=linux # correct to gnu/linux during the next big refactor 12950 need_lib_prefix=no 12951 need_version=no 12952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12953 soname_spec='${libname}${release}${shared_ext}$major' 12954 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12955 shlibpath_var=LD_LIBRARY_PATH 12956 shlibpath_overrides_runpath=no 12957 12958 # Some binutils ld are patched to set DT_RUNPATH 12959 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12960 $as_echo_n "(cached) " >&6 12961else 12962 lt_cv_shlibpath_overrides_runpath=no 12963 save_LDFLAGS=$LDFLAGS 12964 save_libdir=$libdir 12965 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12966 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12968/* end confdefs.h. */ 12969 12970int 12971main () 12972{ 12973 12974 ; 12975 return 0; 12976} 12977_ACEOF 12978if ac_fn_c_try_link "$LINENO"; then : 12979 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12980 lt_cv_shlibpath_overrides_runpath=yes 12981fi 12982fi 12983rm -f core conftest.err conftest.$ac_objext \ 12984 conftest$ac_exeext conftest.$ac_ext 12985 LDFLAGS=$save_LDFLAGS 12986 libdir=$save_libdir 12987 12988fi 12989 12990 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12991 12992 # This implies no fast_install, which is unacceptable. 12993 # Some rework will be needed to allow for fast_install 12994 # before this can be enabled. 12995 hardcode_into_libs=yes 12996 12997 # Append ld.so.conf contents to the search path 12998 if test -f /etc/ld.so.conf; then 12999 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' ' '` 13000 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 13001 fi 13002 13003 # We used to test for /lib/ld.so.1 and disable shared libraries on 13004 # powerpc, because MkLinux only supported shared libraries with the 13005 # GNU dynamic linker. Since this was broken with cross compilers, 13006 # most powerpc-linux boxes support dynamic linking these days and 13007 # people can always --disable-shared, the test was removed, and we 13008 # assume the GNU/Linux dynamic linker is in use. 13009 dynamic_linker='GNU/Linux ld.so' 13010 ;; 13011 13012netbsdelf*-gnu) 13013 version_type=linux 13014 need_lib_prefix=no 13015 need_version=no 13016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 13017 soname_spec='${libname}${release}${shared_ext}$major' 13018 shlibpath_var=LD_LIBRARY_PATH 13019 shlibpath_overrides_runpath=no 13020 hardcode_into_libs=yes 13021 dynamic_linker='NetBSD ld.elf_so' 13022 ;; 13023 13024netbsd*) 13025 version_type=sunos 13026 need_lib_prefix=no 13027 need_version=no 13028 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 13030 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13031 dynamic_linker='NetBSD (a.out) ld.so' 13032 else 13033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 13034 soname_spec='${libname}${release}${shared_ext}$major' 13035 dynamic_linker='NetBSD ld.elf_so' 13036 fi 13037 shlibpath_var=LD_LIBRARY_PATH 13038 shlibpath_overrides_runpath=yes 13039 hardcode_into_libs=yes 13040 ;; 13041 13042newsos6) 13043 version_type=linux # correct to gnu/linux during the next big refactor 13044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13045 shlibpath_var=LD_LIBRARY_PATH 13046 shlibpath_overrides_runpath=yes 13047 ;; 13048 13049*nto* | *qnx*) 13050 version_type=qnx 13051 need_lib_prefix=no 13052 need_version=no 13053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13054 soname_spec='${libname}${release}${shared_ext}$major' 13055 shlibpath_var=LD_LIBRARY_PATH 13056 shlibpath_overrides_runpath=no 13057 hardcode_into_libs=yes 13058 dynamic_linker='ldqnx.so' 13059 ;; 13060 13061openbsd*) 13062 version_type=sunos 13063 sys_lib_dlsearch_path_spec="/usr/lib" 13064 need_lib_prefix=no 13065 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 13066 case $host_os in 13067 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 13068 *) need_version=no ;; 13069 esac 13070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 13071 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13072 shlibpath_var=LD_LIBRARY_PATH 13073 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 13074 case $host_os in 13075 openbsd2.[89] | openbsd2.[89].*) 13076 shlibpath_overrides_runpath=no 13077 ;; 13078 *) 13079 shlibpath_overrides_runpath=yes 13080 ;; 13081 esac 13082 else 13083 shlibpath_overrides_runpath=yes 13084 fi 13085 ;; 13086 13087os2*) 13088 libname_spec='$name' 13089 shrext_cmds=".dll" 13090 need_lib_prefix=no 13091 library_names_spec='$libname${shared_ext} $libname.a' 13092 dynamic_linker='OS/2 ld.exe' 13093 shlibpath_var=LIBPATH 13094 ;; 13095 13096osf3* | osf4* | osf5*) 13097 version_type=osf 13098 need_lib_prefix=no 13099 need_version=no 13100 soname_spec='${libname}${release}${shared_ext}$major' 13101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13102 shlibpath_var=LD_LIBRARY_PATH 13103 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 13104 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 13105 ;; 13106 13107rdos*) 13108 dynamic_linker=no 13109 ;; 13110 13111solaris*) 13112 version_type=linux # correct to gnu/linux during the next big refactor 13113 need_lib_prefix=no 13114 need_version=no 13115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13116 soname_spec='${libname}${release}${shared_ext}$major' 13117 shlibpath_var=LD_LIBRARY_PATH 13118 shlibpath_overrides_runpath=yes 13119 hardcode_into_libs=yes 13120 # ldd complains unless libraries are executable 13121 postinstall_cmds='chmod +x $lib' 13122 ;; 13123 13124sunos4*) 13125 version_type=sunos 13126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 13127 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 13128 shlibpath_var=LD_LIBRARY_PATH 13129 shlibpath_overrides_runpath=yes 13130 if test "$with_gnu_ld" = yes; then 13131 need_lib_prefix=no 13132 fi 13133 need_version=yes 13134 ;; 13135 13136sysv4 | sysv4.3*) 13137 version_type=linux # correct to gnu/linux during the next big refactor 13138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13139 soname_spec='${libname}${release}${shared_ext}$major' 13140 shlibpath_var=LD_LIBRARY_PATH 13141 case $host_vendor in 13142 sni) 13143 shlibpath_overrides_runpath=no 13144 need_lib_prefix=no 13145 runpath_var=LD_RUN_PATH 13146 ;; 13147 siemens) 13148 need_lib_prefix=no 13149 ;; 13150 motorola) 13151 need_lib_prefix=no 13152 need_version=no 13153 shlibpath_overrides_runpath=no 13154 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 13155 ;; 13156 esac 13157 ;; 13158 13159sysv4*MP*) 13160 if test -d /usr/nec ;then 13161 version_type=linux # correct to gnu/linux during the next big refactor 13162 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 13163 soname_spec='$libname${shared_ext}.$major' 13164 shlibpath_var=LD_LIBRARY_PATH 13165 fi 13166 ;; 13167 13168sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 13169 version_type=freebsd-elf 13170 need_lib_prefix=no 13171 need_version=no 13172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 13173 soname_spec='${libname}${release}${shared_ext}$major' 13174 shlibpath_var=LD_LIBRARY_PATH 13175 shlibpath_overrides_runpath=yes 13176 hardcode_into_libs=yes 13177 if test "$with_gnu_ld" = yes; then 13178 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 13179 else 13180 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 13181 case $host_os in 13182 sco3.2v5*) 13183 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 13184 ;; 13185 esac 13186 fi 13187 sys_lib_dlsearch_path_spec='/usr/lib' 13188 ;; 13189 13190tpf*) 13191 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 13192 version_type=linux # correct to gnu/linux during the next big refactor 13193 need_lib_prefix=no 13194 need_version=no 13195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13196 shlibpath_var=LD_LIBRARY_PATH 13197 shlibpath_overrides_runpath=no 13198 hardcode_into_libs=yes 13199 ;; 13200 13201uts4*) 13202 version_type=linux # correct to gnu/linux during the next big refactor 13203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13204 soname_spec='${libname}${release}${shared_ext}$major' 13205 shlibpath_var=LD_LIBRARY_PATH 13206 ;; 13207 13208*) 13209 dynamic_linker=no 13210 ;; 13211esac 13212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 13213$as_echo "$dynamic_linker" >&6; } 13214test "$dynamic_linker" = no && can_build_shared=no 13215 13216variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 13217if test "$GCC" = yes; then 13218 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 13219fi 13220 13221if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 13222 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 13223fi 13224if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 13225 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 13226fi 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 13320$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 13321hardcode_action= 13322if test -n "$hardcode_libdir_flag_spec" || 13323 test -n "$runpath_var" || 13324 test "X$hardcode_automatic" = "Xyes" ; then 13325 13326 # We can hardcode non-existent directories. 13327 if test "$hardcode_direct" != no && 13328 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13329 # have to relink, otherwise we might link with an installed library 13330 # when we should be linking with a yet-to-be-installed one 13331 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 13332 test "$hardcode_minus_L" != no; then 13333 # Linking always hardcodes the temporary library directory. 13334 hardcode_action=relink 13335 else 13336 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13337 hardcode_action=immediate 13338 fi 13339else 13340 # We cannot hardcode anything, or else we can only hardcode existing 13341 # directories. 13342 hardcode_action=unsupported 13343fi 13344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13345$as_echo "$hardcode_action" >&6; } 13346 13347if test "$hardcode_action" = relink || 13348 test "$inherit_rpath" = yes; then 13349 # Fast installation is not supported 13350 enable_fast_install=no 13351elif test "$shlibpath_overrides_runpath" = yes || 13352 test "$enable_shared" = no; then 13353 # Fast installation is not necessary 13354 enable_fast_install=needless 13355fi 13356 13357 13358 13359 13360 13361 13362 if test "x$enable_dlopen" != xyes; then 13363 enable_dlopen=unknown 13364 enable_dlopen_self=unknown 13365 enable_dlopen_self_static=unknown 13366else 13367 lt_cv_dlopen=no 13368 lt_cv_dlopen_libs= 13369 13370 case $host_os in 13371 beos*) 13372 lt_cv_dlopen="load_add_on" 13373 lt_cv_dlopen_libs= 13374 lt_cv_dlopen_self=yes 13375 ;; 13376 13377 mingw* | pw32* | cegcc*) 13378 lt_cv_dlopen="LoadLibrary" 13379 lt_cv_dlopen_libs= 13380 ;; 13381 13382 cygwin*) 13383 lt_cv_dlopen="dlopen" 13384 lt_cv_dlopen_libs= 13385 ;; 13386 13387 darwin*) 13388 # if libdl is installed we need to link against it 13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13390$as_echo_n "checking for dlopen in -ldl... " >&6; } 13391if ${ac_cv_lib_dl_dlopen+:} false; then : 13392 $as_echo_n "(cached) " >&6 13393else 13394 ac_check_lib_save_LIBS=$LIBS 13395LIBS="-ldl $LIBS" 13396cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13397/* end confdefs.h. */ 13398 13399/* Override any GCC internal prototype to avoid an error. 13400 Use char because int might match the return type of a GCC 13401 builtin and then its argument prototype would still apply. */ 13402#ifdef __cplusplus 13403extern "C" 13404#endif 13405char dlopen (); 13406int 13407main () 13408{ 13409return dlopen (); 13410 ; 13411 return 0; 13412} 13413_ACEOF 13414if ac_fn_c_try_link "$LINENO"; then : 13415 ac_cv_lib_dl_dlopen=yes 13416else 13417 ac_cv_lib_dl_dlopen=no 13418fi 13419rm -f core conftest.err conftest.$ac_objext \ 13420 conftest$ac_exeext conftest.$ac_ext 13421LIBS=$ac_check_lib_save_LIBS 13422fi 13423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13424$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13425if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13426 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 13427else 13428 13429 lt_cv_dlopen="dyld" 13430 lt_cv_dlopen_libs= 13431 lt_cv_dlopen_self=yes 13432 13433fi 13434 13435 ;; 13436 13437 *) 13438 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13439if test "x$ac_cv_func_shl_load" = xyes; then : 13440 lt_cv_dlopen="shl_load" 13441else 13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13443$as_echo_n "checking for shl_load in -ldld... " >&6; } 13444if ${ac_cv_lib_dld_shl_load+:} false; then : 13445 $as_echo_n "(cached) " >&6 13446else 13447 ac_check_lib_save_LIBS=$LIBS 13448LIBS="-ldld $LIBS" 13449cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13450/* end confdefs.h. */ 13451 13452/* Override any GCC internal prototype to avoid an error. 13453 Use char because int might match the return type of a GCC 13454 builtin and then its argument prototype would still apply. */ 13455#ifdef __cplusplus 13456extern "C" 13457#endif 13458char shl_load (); 13459int 13460main () 13461{ 13462return shl_load (); 13463 ; 13464 return 0; 13465} 13466_ACEOF 13467if ac_fn_c_try_link "$LINENO"; then : 13468 ac_cv_lib_dld_shl_load=yes 13469else 13470 ac_cv_lib_dld_shl_load=no 13471fi 13472rm -f core conftest.err conftest.$ac_objext \ 13473 conftest$ac_exeext conftest.$ac_ext 13474LIBS=$ac_check_lib_save_LIBS 13475fi 13476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13477$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13478if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13479 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 13480else 13481 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13482if test "x$ac_cv_func_dlopen" = xyes; then : 13483 lt_cv_dlopen="dlopen" 13484else 13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13486$as_echo_n "checking for dlopen in -ldl... " >&6; } 13487if ${ac_cv_lib_dl_dlopen+:} false; then : 13488 $as_echo_n "(cached) " >&6 13489else 13490 ac_check_lib_save_LIBS=$LIBS 13491LIBS="-ldl $LIBS" 13492cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13493/* end confdefs.h. */ 13494 13495/* Override any GCC internal prototype to avoid an error. 13496 Use char because int might match the return type of a GCC 13497 builtin and then its argument prototype would still apply. */ 13498#ifdef __cplusplus 13499extern "C" 13500#endif 13501char dlopen (); 13502int 13503main () 13504{ 13505return dlopen (); 13506 ; 13507 return 0; 13508} 13509_ACEOF 13510if ac_fn_c_try_link "$LINENO"; then : 13511 ac_cv_lib_dl_dlopen=yes 13512else 13513 ac_cv_lib_dl_dlopen=no 13514fi 13515rm -f core conftest.err conftest.$ac_objext \ 13516 conftest$ac_exeext conftest.$ac_ext 13517LIBS=$ac_check_lib_save_LIBS 13518fi 13519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13520$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13521if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13522 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 13523else 13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13525$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13526if ${ac_cv_lib_svld_dlopen+:} false; then : 13527 $as_echo_n "(cached) " >&6 13528else 13529 ac_check_lib_save_LIBS=$LIBS 13530LIBS="-lsvld $LIBS" 13531cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13532/* end confdefs.h. */ 13533 13534/* Override any GCC internal prototype to avoid an error. 13535 Use char because int might match the return type of a GCC 13536 builtin and then its argument prototype would still apply. */ 13537#ifdef __cplusplus 13538extern "C" 13539#endif 13540char dlopen (); 13541int 13542main () 13543{ 13544return dlopen (); 13545 ; 13546 return 0; 13547} 13548_ACEOF 13549if ac_fn_c_try_link "$LINENO"; then : 13550 ac_cv_lib_svld_dlopen=yes 13551else 13552 ac_cv_lib_svld_dlopen=no 13553fi 13554rm -f core conftest.err conftest.$ac_objext \ 13555 conftest$ac_exeext conftest.$ac_ext 13556LIBS=$ac_check_lib_save_LIBS 13557fi 13558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13559$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13560if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13561 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 13562else 13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13564$as_echo_n "checking for dld_link in -ldld... " >&6; } 13565if ${ac_cv_lib_dld_dld_link+:} false; then : 13566 $as_echo_n "(cached) " >&6 13567else 13568 ac_check_lib_save_LIBS=$LIBS 13569LIBS="-ldld $LIBS" 13570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13571/* end confdefs.h. */ 13572 13573/* Override any GCC internal prototype to avoid an error. 13574 Use char because int might match the return type of a GCC 13575 builtin and then its argument prototype would still apply. */ 13576#ifdef __cplusplus 13577extern "C" 13578#endif 13579char dld_link (); 13580int 13581main () 13582{ 13583return dld_link (); 13584 ; 13585 return 0; 13586} 13587_ACEOF 13588if ac_fn_c_try_link "$LINENO"; then : 13589 ac_cv_lib_dld_dld_link=yes 13590else 13591 ac_cv_lib_dld_dld_link=no 13592fi 13593rm -f core conftest.err conftest.$ac_objext \ 13594 conftest$ac_exeext conftest.$ac_ext 13595LIBS=$ac_check_lib_save_LIBS 13596fi 13597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13598$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13599if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13600 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 13601fi 13602 13603 13604fi 13605 13606 13607fi 13608 13609 13610fi 13611 13612 13613fi 13614 13615 13616fi 13617 13618 ;; 13619 esac 13620 13621 if test "x$lt_cv_dlopen" != xno; then 13622 enable_dlopen=yes 13623 else 13624 enable_dlopen=no 13625 fi 13626 13627 case $lt_cv_dlopen in 13628 dlopen) 13629 save_CPPFLAGS="$CPPFLAGS" 13630 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13631 13632 save_LDFLAGS="$LDFLAGS" 13633 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13634 13635 save_LIBS="$LIBS" 13636 LIBS="$lt_cv_dlopen_libs $LIBS" 13637 13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13639$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13640if ${lt_cv_dlopen_self+:} false; then : 13641 $as_echo_n "(cached) " >&6 13642else 13643 if test "$cross_compiling" = yes; then : 13644 lt_cv_dlopen_self=cross 13645else 13646 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13647 lt_status=$lt_dlunknown 13648 cat > conftest.$ac_ext <<_LT_EOF 13649#line $LINENO "configure" 13650#include "confdefs.h" 13651 13652#if HAVE_DLFCN_H 13653#include <dlfcn.h> 13654#endif 13655 13656#include <stdio.h> 13657 13658#ifdef RTLD_GLOBAL 13659# define LT_DLGLOBAL RTLD_GLOBAL 13660#else 13661# ifdef DL_GLOBAL 13662# define LT_DLGLOBAL DL_GLOBAL 13663# else 13664# define LT_DLGLOBAL 0 13665# endif 13666#endif 13667 13668/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13669 find out it does not work in some platform. */ 13670#ifndef LT_DLLAZY_OR_NOW 13671# ifdef RTLD_LAZY 13672# define LT_DLLAZY_OR_NOW RTLD_LAZY 13673# else 13674# ifdef DL_LAZY 13675# define LT_DLLAZY_OR_NOW DL_LAZY 13676# else 13677# ifdef RTLD_NOW 13678# define LT_DLLAZY_OR_NOW RTLD_NOW 13679# else 13680# ifdef DL_NOW 13681# define LT_DLLAZY_OR_NOW DL_NOW 13682# else 13683# define LT_DLLAZY_OR_NOW 0 13684# endif 13685# endif 13686# endif 13687# endif 13688#endif 13689 13690/* When -fvisbility=hidden is used, assume the code has been annotated 13691 correspondingly for the symbols needed. */ 13692#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13693int fnord () __attribute__((visibility("default"))); 13694#endif 13695 13696int fnord () { return 42; } 13697int main () 13698{ 13699 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13700 int status = $lt_dlunknown; 13701 13702 if (self) 13703 { 13704 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13705 else 13706 { 13707 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13708 else puts (dlerror ()); 13709 } 13710 /* dlclose (self); */ 13711 } 13712 else 13713 puts (dlerror ()); 13714 13715 return status; 13716} 13717_LT_EOF 13718 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13719 (eval $ac_link) 2>&5 13720 ac_status=$? 13721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13722 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 13723 (./conftest; exit; ) >&5 2>/dev/null 13724 lt_status=$? 13725 case x$lt_status in 13726 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13727 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13728 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13729 esac 13730 else : 13731 # compilation failed 13732 lt_cv_dlopen_self=no 13733 fi 13734fi 13735rm -fr conftest* 13736 13737 13738fi 13739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13740$as_echo "$lt_cv_dlopen_self" >&6; } 13741 13742 if test "x$lt_cv_dlopen_self" = xyes; then 13743 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13745$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13746if ${lt_cv_dlopen_self_static+:} false; then : 13747 $as_echo_n "(cached) " >&6 13748else 13749 if test "$cross_compiling" = yes; then : 13750 lt_cv_dlopen_self_static=cross 13751else 13752 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13753 lt_status=$lt_dlunknown 13754 cat > conftest.$ac_ext <<_LT_EOF 13755#line $LINENO "configure" 13756#include "confdefs.h" 13757 13758#if HAVE_DLFCN_H 13759#include <dlfcn.h> 13760#endif 13761 13762#include <stdio.h> 13763 13764#ifdef RTLD_GLOBAL 13765# define LT_DLGLOBAL RTLD_GLOBAL 13766#else 13767# ifdef DL_GLOBAL 13768# define LT_DLGLOBAL DL_GLOBAL 13769# else 13770# define LT_DLGLOBAL 0 13771# endif 13772#endif 13773 13774/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13775 find out it does not work in some platform. */ 13776#ifndef LT_DLLAZY_OR_NOW 13777# ifdef RTLD_LAZY 13778# define LT_DLLAZY_OR_NOW RTLD_LAZY 13779# else 13780# ifdef DL_LAZY 13781# define LT_DLLAZY_OR_NOW DL_LAZY 13782# else 13783# ifdef RTLD_NOW 13784# define LT_DLLAZY_OR_NOW RTLD_NOW 13785# else 13786# ifdef DL_NOW 13787# define LT_DLLAZY_OR_NOW DL_NOW 13788# else 13789# define LT_DLLAZY_OR_NOW 0 13790# endif 13791# endif 13792# endif 13793# endif 13794#endif 13795 13796/* When -fvisbility=hidden is used, assume the code has been annotated 13797 correspondingly for the symbols needed. */ 13798#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13799int fnord () __attribute__((visibility("default"))); 13800#endif 13801 13802int fnord () { return 42; } 13803int main () 13804{ 13805 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13806 int status = $lt_dlunknown; 13807 13808 if (self) 13809 { 13810 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13811 else 13812 { 13813 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13814 else puts (dlerror ()); 13815 } 13816 /* dlclose (self); */ 13817 } 13818 else 13819 puts (dlerror ()); 13820 13821 return status; 13822} 13823_LT_EOF 13824 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13825 (eval $ac_link) 2>&5 13826 ac_status=$? 13827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13828 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 13829 (./conftest; exit; ) >&5 2>/dev/null 13830 lt_status=$? 13831 case x$lt_status in 13832 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13833 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13834 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13835 esac 13836 else : 13837 # compilation failed 13838 lt_cv_dlopen_self_static=no 13839 fi 13840fi 13841rm -fr conftest* 13842 13843 13844fi 13845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13846$as_echo "$lt_cv_dlopen_self_static" >&6; } 13847 fi 13848 13849 CPPFLAGS="$save_CPPFLAGS" 13850 LDFLAGS="$save_LDFLAGS" 13851 LIBS="$save_LIBS" 13852 ;; 13853 esac 13854 13855 case $lt_cv_dlopen_self in 13856 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13857 *) enable_dlopen_self=unknown ;; 13858 esac 13859 13860 case $lt_cv_dlopen_self_static in 13861 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13862 *) enable_dlopen_self_static=unknown ;; 13863 esac 13864fi 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882striplib= 13883old_striplib= 13884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13885$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13886if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13887 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13888 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13890$as_echo "yes" >&6; } 13891else 13892# FIXME - insert some real tests, host_os isn't really good enough 13893 case $host_os in 13894 darwin*) 13895 if test -n "$STRIP" ; then 13896 striplib="$STRIP -x" 13897 old_striplib="$STRIP -S" 13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13899$as_echo "yes" >&6; } 13900 else 13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13902$as_echo "no" >&6; } 13903 fi 13904 ;; 13905 *) 13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13907$as_echo "no" >&6; } 13908 ;; 13909 esac 13910fi 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 # Report which library types will actually be built 13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13925$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13927$as_echo "$can_build_shared" >&6; } 13928 13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13930$as_echo_n "checking whether to build shared libraries... " >&6; } 13931 test "$can_build_shared" = "no" && enable_shared=no 13932 13933 # On AIX, shared libraries and static libraries use the same namespace, and 13934 # are all built from PIC. 13935 case $host_os in 13936 aix3*) 13937 test "$enable_shared" = yes && enable_static=no 13938 if test -n "$RANLIB"; then 13939 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13940 postinstall_cmds='$RANLIB $lib' 13941 fi 13942 ;; 13943 13944 aix[4-9]*) 13945 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 13946 test "$enable_shared" = yes && enable_static=no 13947 fi 13948 ;; 13949 esac 13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13951$as_echo "$enable_shared" >&6; } 13952 13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13954$as_echo_n "checking whether to build static libraries... " >&6; } 13955 # Make sure either enable_shared or enable_static is yes. 13956 test "$enable_shared" = yes || enable_static=yes 13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13958$as_echo "$enable_static" >&6; } 13959 13960 13961 13962 13963fi 13964ac_ext=c 13965ac_cpp='$CPP $CPPFLAGS' 13966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13968ac_compiler_gnu=$ac_cv_c_compiler_gnu 13969 13970CC="$lt_save_CC" 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 ac_config_commands="$ac_config_commands libtool" 13987 13988 13989 13990 13991# Only expand once: 13992 13993 13994 13995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5 13996$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; } 13997if ${libltdl_cv_shlibext+:} false; then : 13998 $as_echo_n "(cached) " >&6 13999else 14000 14001module=yes 14002eval libltdl_cv_shlibext=$shrext_cmds 14003module=no 14004eval libltdl_cv_shrext=$shrext_cmds 14005 14006fi 14007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 14008$as_echo "$libltdl_cv_shlibext" >&6; } 14009if test -n "$libltdl_cv_shlibext"; then 14010 14011cat >>confdefs.h <<_ACEOF 14012#define LT_MODULE_EXT "$libltdl_cv_shlibext" 14013_ACEOF 14014 14015fi 14016if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then 14017 14018cat >>confdefs.h <<_ACEOF 14019#define LT_SHARED_EXT "$libltdl_cv_shrext" 14020_ACEOF 14021 14022fi 14023 14024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 14025$as_echo_n "checking which variable specifies run-time module search path... " >&6; } 14026if ${lt_cv_module_path_var+:} false; then : 14027 $as_echo_n "(cached) " >&6 14028else 14029 lt_cv_module_path_var="$shlibpath_var" 14030fi 14031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5 14032$as_echo "$lt_cv_module_path_var" >&6; } 14033if test -n "$lt_cv_module_path_var"; then 14034 14035cat >>confdefs.h <<_ACEOF 14036#define LT_MODULE_PATH_VAR "$lt_cv_module_path_var" 14037_ACEOF 14038 14039fi 14040 14041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 14042$as_echo_n "checking for the default library search path... " >&6; } 14043if ${lt_cv_sys_dlsearch_path+:} false; then : 14044 $as_echo_n "(cached) " >&6 14045else 14046 lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec" 14047fi 14048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5 14049$as_echo "$lt_cv_sys_dlsearch_path" >&6; } 14050if test -n "$lt_cv_sys_dlsearch_path"; then 14051 sys_dlsearch_path= 14052 for dir in $lt_cv_sys_dlsearch_path; do 14053 if test -z "$sys_dlsearch_path"; then 14054 sys_dlsearch_path="$dir" 14055 else 14056 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir" 14057 fi 14058 done 14059 14060cat >>confdefs.h <<_ACEOF 14061#define LT_DLSEARCH_PATH "$sys_dlsearch_path" 14062_ACEOF 14063 14064fi 14065 14066 14067LT_DLLOADERS= 14068 14069 14070ac_ext=c 14071ac_cpp='$CPP $CPPFLAGS' 14072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14074ac_compiler_gnu=$ac_cv_c_compiler_gnu 14075 14076 14077LIBADD_DLOPEN= 14078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 14079$as_echo_n "checking for library containing dlopen... " >&6; } 14080if ${ac_cv_search_dlopen+:} false; then : 14081 $as_echo_n "(cached) " >&6 14082else 14083 ac_func_search_save_LIBS=$LIBS 14084cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14085/* end confdefs.h. */ 14086 14087/* Override any GCC internal prototype to avoid an error. 14088 Use char because int might match the return type of a GCC 14089 builtin and then its argument prototype would still apply. */ 14090#ifdef __cplusplus 14091extern "C" 14092#endif 14093char dlopen (); 14094int 14095main () 14096{ 14097return dlopen (); 14098 ; 14099 return 0; 14100} 14101_ACEOF 14102for ac_lib in '' dl; do 14103 if test -z "$ac_lib"; then 14104 ac_res="none required" 14105 else 14106 ac_res=-l$ac_lib 14107 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14108 fi 14109 if ac_fn_c_try_link "$LINENO"; then : 14110 ac_cv_search_dlopen=$ac_res 14111fi 14112rm -f core conftest.err conftest.$ac_objext \ 14113 conftest$ac_exeext 14114 if ${ac_cv_search_dlopen+:} false; then : 14115 break 14116fi 14117done 14118if ${ac_cv_search_dlopen+:} false; then : 14119 14120else 14121 ac_cv_search_dlopen=no 14122fi 14123rm conftest.$ac_ext 14124LIBS=$ac_func_search_save_LIBS 14125fi 14126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 14127$as_echo "$ac_cv_search_dlopen" >&6; } 14128ac_res=$ac_cv_search_dlopen 14129if test "$ac_res" != no; then : 14130 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14131 14132$as_echo "#define HAVE_LIBDL 1" >>confdefs.h 14133 14134 if test "$ac_cv_search_dlopen" != "none required" ; then 14135 LIBADD_DLOPEN="-ldl" 14136 fi 14137 libltdl_cv_lib_dl_dlopen="yes" 14138 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" 14139else 14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14141/* end confdefs.h. */ 14142#if HAVE_DLFCN_H 14143# include <dlfcn.h> 14144#endif 14145 14146int 14147main () 14148{ 14149dlopen(0, 0); 14150 ; 14151 return 0; 14152} 14153_ACEOF 14154if ac_fn_c_try_link "$LINENO"; then : 14155 14156$as_echo "#define HAVE_LIBDL 1" >>confdefs.h 14157 14158 libltdl_cv_func_dlopen="yes" 14159 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" 14160else 14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 14162$as_echo_n "checking for dlopen in -lsvld... " >&6; } 14163if ${ac_cv_lib_svld_dlopen+:} false; then : 14164 $as_echo_n "(cached) " >&6 14165else 14166 ac_check_lib_save_LIBS=$LIBS 14167LIBS="-lsvld $LIBS" 14168cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14169/* end confdefs.h. */ 14170 14171/* Override any GCC internal prototype to avoid an error. 14172 Use char because int might match the return type of a GCC 14173 builtin and then its argument prototype would still apply. */ 14174#ifdef __cplusplus 14175extern "C" 14176#endif 14177char dlopen (); 14178int 14179main () 14180{ 14181return dlopen (); 14182 ; 14183 return 0; 14184} 14185_ACEOF 14186if ac_fn_c_try_link "$LINENO"; then : 14187 ac_cv_lib_svld_dlopen=yes 14188else 14189 ac_cv_lib_svld_dlopen=no 14190fi 14191rm -f core conftest.err conftest.$ac_objext \ 14192 conftest$ac_exeext conftest.$ac_ext 14193LIBS=$ac_check_lib_save_LIBS 14194fi 14195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 14196$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 14197if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 14198 14199$as_echo "#define HAVE_LIBDL 1" >>confdefs.h 14200 14201 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes" 14202 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" 14203fi 14204 14205fi 14206rm -f core conftest.err conftest.$ac_objext \ 14207 conftest$ac_exeext conftest.$ac_ext 14208fi 14209 14210if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes 14211then 14212 lt_save_LIBS="$LIBS" 14213 LIBS="$LIBS $LIBADD_DLOPEN" 14214 for ac_func in dlerror 14215do : 14216 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror" 14217if test "x$ac_cv_func_dlerror" = xyes; then : 14218 cat >>confdefs.h <<_ACEOF 14219#define HAVE_DLERROR 1 14220_ACEOF 14221 14222fi 14223done 14224 14225 LIBS="$lt_save_LIBS" 14226fi 14227 14228 14229LIBADD_SHL_LOAD= 14230ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 14231if test "x$ac_cv_func_shl_load" = xyes; then : 14232 14233$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h 14234 14235 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" 14236else 14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 14238$as_echo_n "checking for shl_load in -ldld... " >&6; } 14239if ${ac_cv_lib_dld_shl_load+:} false; then : 14240 $as_echo_n "(cached) " >&6 14241else 14242 ac_check_lib_save_LIBS=$LIBS 14243LIBS="-ldld $LIBS" 14244cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14245/* end confdefs.h. */ 14246 14247/* Override any GCC internal prototype to avoid an error. 14248 Use char because int might match the return type of a GCC 14249 builtin and then its argument prototype would still apply. */ 14250#ifdef __cplusplus 14251extern "C" 14252#endif 14253char shl_load (); 14254int 14255main () 14256{ 14257return shl_load (); 14258 ; 14259 return 0; 14260} 14261_ACEOF 14262if ac_fn_c_try_link "$LINENO"; then : 14263 ac_cv_lib_dld_shl_load=yes 14264else 14265 ac_cv_lib_dld_shl_load=no 14266fi 14267rm -f core conftest.err conftest.$ac_objext \ 14268 conftest$ac_exeext conftest.$ac_ext 14269LIBS=$ac_check_lib_save_LIBS 14270fi 14271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 14272$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 14273if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 14274 14275$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h 14276 14277 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" 14278 LIBADD_SHL_LOAD="-ldld" 14279fi 14280 14281fi 14282 14283 14284 14285case $host_os in 14286darwin[1567].*) 14287# We only want this for pre-Mac OS X 10.4. 14288 ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup" 14289if test "x$ac_cv_func__dyld_func_lookup" = xyes; then : 14290 14291$as_echo "#define HAVE_DYLD 1" >>confdefs.h 14292 14293 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la" 14294fi 14295 14296 ;; 14297beos*) 14298 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" 14299 ;; 14300cygwin* | mingw* | os2* | pw32*) 14301 ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> 14302" 14303if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then : 14304 ac_have_decl=1 14305else 14306 ac_have_decl=0 14307fi 14308 14309cat >>confdefs.h <<_ACEOF 14310#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl 14311_ACEOF 14312 14313 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" 14314 ;; 14315esac 14316 14317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 14318$as_echo_n "checking for dld_link in -ldld... " >&6; } 14319if ${ac_cv_lib_dld_dld_link+:} false; then : 14320 $as_echo_n "(cached) " >&6 14321else 14322 ac_check_lib_save_LIBS=$LIBS 14323LIBS="-ldld $LIBS" 14324cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14325/* end confdefs.h. */ 14326 14327/* Override any GCC internal prototype to avoid an error. 14328 Use char because int might match the return type of a GCC 14329 builtin and then its argument prototype would still apply. */ 14330#ifdef __cplusplus 14331extern "C" 14332#endif 14333char dld_link (); 14334int 14335main () 14336{ 14337return dld_link (); 14338 ; 14339 return 0; 14340} 14341_ACEOF 14342if ac_fn_c_try_link "$LINENO"; then : 14343 ac_cv_lib_dld_dld_link=yes 14344else 14345 ac_cv_lib_dld_dld_link=no 14346fi 14347rm -f core conftest.err conftest.$ac_objext \ 14348 conftest$ac_exeext conftest.$ac_ext 14349LIBS=$ac_check_lib_save_LIBS 14350fi 14351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 14352$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 14353if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 14354 14355$as_echo "#define HAVE_DLD 1" >>confdefs.h 14356 14357 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la" 14358fi 14359 14360 14361 14362 14363LT_DLPREOPEN= 14364if test -n "$LT_DLLOADERS" 14365then 14366 for lt_loader in $LT_DLLOADERS; do 14367 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " 14368 done 14369 14370$as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h 14371 14372fi 14373 14374 14375LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD" 14376 14377 14378ac_ext=c 14379ac_cpp='$CPP $CPPFLAGS' 14380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14382ac_compiler_gnu=$ac_cv_c_compiler_gnu 14383 14384 14385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 14386$as_echo_n "checking for _ prefix in compiled symbols... " >&6; } 14387if ${lt_cv_sys_symbol_underscore+:} false; then : 14388 $as_echo_n "(cached) " >&6 14389else 14390 lt_cv_sys_symbol_underscore=no 14391 cat > conftest.$ac_ext <<_LT_EOF 14392void nm_test_func(){} 14393int main(){nm_test_func;return 0;} 14394_LT_EOF 14395 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14396 (eval $ac_compile) 2>&5 14397 ac_status=$? 14398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14399 test $ac_status = 0; }; then 14400 # Now try to grab the symbols. 14401 ac_nlist=conftest.nm 14402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5 14403 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5 14404 ac_status=$? 14405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14406 test $ac_status = 0; } && test -s "$ac_nlist"; then 14407 # See whether the symbols have a leading underscore. 14408 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then 14409 lt_cv_sys_symbol_underscore=yes 14410 else 14411 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then 14412 : 14413 else 14414 echo "configure: cannot find nm_test_func in $ac_nlist" >&5 14415 fi 14416 fi 14417 else 14418 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5 14419 fi 14420 else 14421 echo "configure: failed program was:" >&5 14422 cat conftest.c >&5 14423 fi 14424 rm -rf conftest* 14425 14426fi 14427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5 14428$as_echo "$lt_cv_sys_symbol_underscore" >&6; } 14429 sys_symbol_underscore=$lt_cv_sys_symbol_underscore 14430 14431 14432if test x"$lt_cv_sys_symbol_underscore" = xyes; then 14433 if test x"$libltdl_cv_func_dlopen" = xyes || 14434 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then 14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 14436$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } 14437if ${libltdl_cv_need_uscore+:} false; then : 14438 $as_echo_n "(cached) " >&6 14439else 14440 libltdl_cv_need_uscore=unknown 14441 save_LIBS="$LIBS" 14442 LIBS="$LIBS $LIBADD_DLOPEN" 14443 if test "$cross_compiling" = yes; then : 14444 libltdl_cv_need_uscore=cross 14445else 14446 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14447 lt_status=$lt_dlunknown 14448 cat > conftest.$ac_ext <<_LT_EOF 14449#line $LINENO "configure" 14450#include "confdefs.h" 14451 14452#if HAVE_DLFCN_H 14453#include <dlfcn.h> 14454#endif 14455 14456#include <stdio.h> 14457 14458#ifdef RTLD_GLOBAL 14459# define LT_DLGLOBAL RTLD_GLOBAL 14460#else 14461# ifdef DL_GLOBAL 14462# define LT_DLGLOBAL DL_GLOBAL 14463# else 14464# define LT_DLGLOBAL 0 14465# endif 14466#endif 14467 14468/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 14469 find out it does not work in some platform. */ 14470#ifndef LT_DLLAZY_OR_NOW 14471# ifdef RTLD_LAZY 14472# define LT_DLLAZY_OR_NOW RTLD_LAZY 14473# else 14474# ifdef DL_LAZY 14475# define LT_DLLAZY_OR_NOW DL_LAZY 14476# else 14477# ifdef RTLD_NOW 14478# define LT_DLLAZY_OR_NOW RTLD_NOW 14479# else 14480# ifdef DL_NOW 14481# define LT_DLLAZY_OR_NOW DL_NOW 14482# else 14483# define LT_DLLAZY_OR_NOW 0 14484# endif 14485# endif 14486# endif 14487# endif 14488#endif 14489 14490/* When -fvisbility=hidden is used, assume the code has been annotated 14491 correspondingly for the symbols needed. */ 14492#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14493int fnord () __attribute__((visibility("default"))); 14494#endif 14495 14496int fnord () { return 42; } 14497int main () 14498{ 14499 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14500 int status = $lt_dlunknown; 14501 14502 if (self) 14503 { 14504 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 14505 else 14506 { 14507 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 14508 else puts (dlerror ()); 14509 } 14510 /* dlclose (self); */ 14511 } 14512 else 14513 puts (dlerror ()); 14514 14515 return status; 14516} 14517_LT_EOF 14518 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 14519 (eval $ac_link) 2>&5 14520 ac_status=$? 14521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14522 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 14523 (./conftest; exit; ) >&5 2>/dev/null 14524 lt_status=$? 14525 case x$lt_status in 14526 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;; 14527 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;; 14528 x$lt_dlunknown|x*) ;; 14529 esac 14530 else : 14531 # compilation failed 14532 14533 fi 14534fi 14535rm -fr conftest* 14536 14537 LIBS="$save_LIBS" 14538 14539fi 14540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5 14541$as_echo "$libltdl_cv_need_uscore" >&6; } 14542 fi 14543fi 14544 14545if test x"$libltdl_cv_need_uscore" = xyes; then 14546 14547$as_echo "#define NEED_USCORE 1" >>confdefs.h 14548 14549fi 14550 14551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 14552$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; } 14553if ${lt_cv_sys_dlopen_deplibs+:} false; then : 14554 $as_echo_n "(cached) " >&6 14555else 14556 # PORTME does your system automatically load deplibs for dlopen? 14557 # or its logical equivalent (e.g. shl_load for HP-UX < 11) 14558 # For now, we just catch OSes we know something about -- in the 14559 # future, we'll try test this programmatically. 14560 lt_cv_sys_dlopen_deplibs=unknown 14561 case $host_os in 14562 aix3*|aix4.1.*|aix4.2.*) 14563 # Unknown whether this is true for these versions of AIX, but 14564 # we want this `case' here to explicitly catch those versions. 14565 lt_cv_sys_dlopen_deplibs=unknown 14566 ;; 14567 aix[4-9]*) 14568 lt_cv_sys_dlopen_deplibs=yes 14569 ;; 14570 amigaos*) 14571 case $host_cpu in 14572 powerpc) 14573 lt_cv_sys_dlopen_deplibs=no 14574 ;; 14575 esac 14576 ;; 14577 darwin*) 14578 # Assuming the user has installed a libdl from somewhere, this is true 14579 # If you are looking for one http://www.opendarwin.org/projects/dlcompat 14580 lt_cv_sys_dlopen_deplibs=yes 14581 ;; 14582 freebsd* | dragonfly*) 14583 lt_cv_sys_dlopen_deplibs=yes 14584 ;; 14585 gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) 14586 # GNU and its variants, using gnu ld.so (Glibc) 14587 lt_cv_sys_dlopen_deplibs=yes 14588 ;; 14589 hpux10*|hpux11*) 14590 lt_cv_sys_dlopen_deplibs=yes 14591 ;; 14592 interix*) 14593 lt_cv_sys_dlopen_deplibs=yes 14594 ;; 14595 irix[12345]*|irix6.[01]*) 14596 # Catch all versions of IRIX before 6.2, and indicate that we don't 14597 # know how it worked for any of those versions. 14598 lt_cv_sys_dlopen_deplibs=unknown 14599 ;; 14600 irix*) 14601 # The case above catches anything before 6.2, and it's known that 14602 # at 6.2 and later dlopen does load deplibs. 14603 lt_cv_sys_dlopen_deplibs=yes 14604 ;; 14605 netbsd* | netbsdelf*-gnu) 14606 lt_cv_sys_dlopen_deplibs=yes 14607 ;; 14608 openbsd*) 14609 lt_cv_sys_dlopen_deplibs=yes 14610 ;; 14611 osf[1234]*) 14612 # dlopen did load deplibs (at least at 4.x), but until the 5.x series, 14613 # it did *not* use an RPATH in a shared library to find objects the 14614 # library depends on, so we explicitly say `no'. 14615 lt_cv_sys_dlopen_deplibs=no 14616 ;; 14617 osf5.0|osf5.0a|osf5.1) 14618 # dlopen *does* load deplibs and with the right loader patch applied 14619 # it even uses RPATH in a shared library to search for shared objects 14620 # that the library depends on, but there's no easy way to know if that 14621 # patch is installed. Since this is the case, all we can really 14622 # say is unknown -- it depends on the patch being installed. If 14623 # it is, this changes to `yes'. Without it, it would be `no'. 14624 lt_cv_sys_dlopen_deplibs=unknown 14625 ;; 14626 osf*) 14627 # the two cases above should catch all versions of osf <= 5.1. Read 14628 # the comments above for what we know about them. 14629 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library 14630 # is used to find them so we can finally say `yes'. 14631 lt_cv_sys_dlopen_deplibs=yes 14632 ;; 14633 qnx*) 14634 lt_cv_sys_dlopen_deplibs=yes 14635 ;; 14636 solaris*) 14637 lt_cv_sys_dlopen_deplibs=yes 14638 ;; 14639 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 14640 libltdl_cv_sys_dlopen_deplibs=yes 14641 ;; 14642 esac 14643 14644fi 14645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5 14646$as_echo "$lt_cv_sys_dlopen_deplibs" >&6; } 14647if test "$lt_cv_sys_dlopen_deplibs" != yes; then 14648 14649$as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h 14650 14651fi 14652 14653: 14654 14655for ac_header in argz.h 14656do : 14657 ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default 14658" 14659if test "x$ac_cv_header_argz_h" = xyes; then : 14660 cat >>confdefs.h <<_ACEOF 14661#define HAVE_ARGZ_H 1 14662_ACEOF 14663 14664fi 14665 14666done 14667 14668 14669ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H) 14670# include <argz.h> 14671#endif 14672" 14673if test "x$ac_cv_type_error_t" = xyes; then : 14674 14675cat >>confdefs.h <<_ACEOF 14676#define HAVE_ERROR_T 1 14677_ACEOF 14678 14679 14680else 14681 14682$as_echo "#define error_t int" >>confdefs.h 14683 14684 14685$as_echo "#define __error_t_defined 1" >>confdefs.h 14686 14687fi 14688 14689 14690ARGZ_H= 14691for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \ 14692 argz_next argz_stringify 14693do : 14694 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14695ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14696if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 14697 cat >>confdefs.h <<_ACEOF 14698#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14699_ACEOF 14700 14701else 14702 ARGZ_H=argz.h; 14703 14704 _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext" 14705 14706fi 14707done 14708 14709 14710if test -z "$ARGZ_H"; then : 14711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 14712$as_echo_n "checking if argz actually works... " >&6; } 14713if ${lt_cv_sys_argz_works+:} false; then : 14714 $as_echo_n "(cached) " >&6 14715else 14716 case $host_os in #( 14717 *cygwin*) 14718 lt_cv_sys_argz_works=no 14719 if test "$cross_compiling" != no; then 14720 lt_cv_sys_argz_works="guessing no" 14721 else 14722 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/' 14723 save_IFS=$IFS 14724 IFS=-. 14725 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"` 14726 IFS=$save_IFS 14727 lt_os_major=${2-0} 14728 lt_os_minor=${3-0} 14729 lt_os_micro=${4-0} 14730 if test "$lt_os_major" -gt 1 \ 14731 || { test "$lt_os_major" -eq 1 \ 14732 && { test "$lt_os_minor" -gt 5 \ 14733 || { test "$lt_os_minor" -eq 5 \ 14734 && test "$lt_os_micro" -gt 24; }; }; }; then 14735 lt_cv_sys_argz_works=yes 14736 fi 14737 fi 14738 ;; #( 14739 *) lt_cv_sys_argz_works=yes ;; 14740 esac 14741fi 14742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 14743$as_echo "$lt_cv_sys_argz_works" >&6; } 14744 if test "$lt_cv_sys_argz_works" = yes; then : 14745 14746$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h 14747 14748else 14749 ARGZ_H=argz.h 14750 14751 14752 _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext" 14753 14754fi 14755fi 14756 14757 14758 14759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 14760$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } 14761if ${libltdl_cv_preloaded_symbols+:} false; then : 14762 $as_echo_n "(cached) " >&6 14763else 14764 if test -n "$lt_cv_sys_global_symbol_pipe"; then 14765 libltdl_cv_preloaded_symbols=yes 14766 else 14767 libltdl_cv_preloaded_symbols=no 14768 fi 14769 14770fi 14771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5 14772$as_echo "$libltdl_cv_preloaded_symbols" >&6; } 14773if test x"$libltdl_cv_preloaded_symbols" = xyes; then 14774 14775$as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h 14776 14777fi 14778 14779 14780 14781# Set options 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794# Check whether --with-included_ltdl was given. 14795if test "${with_included_ltdl+set}" = set; then : 14796 withval=$with_included_ltdl; 14797fi 14798 14799 14800if test "x$with_included_ltdl" != xyes; then 14801 # We are not being forced to use the included libltdl sources, so 14802 # decide whether there is a useful installed version we can use. 14803 ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default 14804 14805" 14806if test "x$ac_cv_header_ltdl_h" = xyes; then : 14807 ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default 14808 #include <ltdl.h> 14809" 14810if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then : 14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 14812$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; } 14813if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then : 14814 $as_echo_n "(cached) " >&6 14815else 14816 ac_check_lib_save_LIBS=$LIBS 14817LIBS="-lltdl $LIBS" 14818cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14819/* end confdefs.h. */ 14820 14821/* Override any GCC internal prototype to avoid an error. 14822 Use char because int might match the return type of a GCC 14823 builtin and then its argument prototype would still apply. */ 14824#ifdef __cplusplus 14825extern "C" 14826#endif 14827char lt_dladvise_preload (); 14828int 14829main () 14830{ 14831return lt_dladvise_preload (); 14832 ; 14833 return 0; 14834} 14835_ACEOF 14836if ac_fn_c_try_link "$LINENO"; then : 14837 ac_cv_lib_ltdl_lt_dladvise_preload=yes 14838else 14839 ac_cv_lib_ltdl_lt_dladvise_preload=no 14840fi 14841rm -f core conftest.err conftest.$ac_objext \ 14842 conftest$ac_exeext conftest.$ac_ext 14843LIBS=$ac_check_lib_save_LIBS 14844fi 14845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 14846$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } 14847if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then : 14848 with_included_ltdl=no 14849else 14850 with_included_ltdl=yes 14851fi 14852 14853else 14854 with_included_ltdl=yes 14855fi 14856 14857else 14858 with_included_ltdl=yes 14859fi 14860 14861 14862fi 14863 14864 14865 14866 14867# Check whether --with-ltdl_include was given. 14868if test "${with_ltdl_include+set}" = set; then : 14869 withval=$with_ltdl_include; 14870fi 14871 14872 14873if test -n "$with_ltdl_include"; then 14874 if test -f "$with_ltdl_include/ltdl.h"; then : 14875 else 14876 as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 14877 fi 14878else 14879 with_ltdl_include=no 14880fi 14881 14882 14883# Check whether --with-ltdl_lib was given. 14884if test "${with_ltdl_lib+set}" = set; then : 14885 withval=$with_ltdl_lib; 14886fi 14887 14888 14889if test -n "$with_ltdl_lib"; then 14890 if test -f "$with_ltdl_lib/libltdl.la"; then : 14891 else 14892 as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 14893 fi 14894else 14895 with_ltdl_lib=no 14896fi 14897 14898case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in 14899 ,yes,no,no,) 14900 case $enable_ltdl_convenience in 14901 no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;; 14902 "") enable_ltdl_convenience=yes 14903 ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; 14904esac 14905LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la" 14906LTDLDEPS=$LIBLTDL 14907LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}" 14908 14909 14910 14911 14912 14913# For backwards non-gettext consistent compatibility... 14914INCLTDL="$LTDLINCL" 14915 14916 14917 ;; 14918 ,no,no,no,) 14919 # If the included ltdl is not to be used, then use the 14920 # preinstalled libltdl we found. 14921 14922$as_echo "#define HAVE_LTDL 1" >>confdefs.h 14923 14924 LIBLTDL=-lltdl 14925 LTDLDEPS= 14926 LTDLINCL= 14927 ;; 14928 ,no*,no,*) 14929 as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 14930 ;; 14931 *) with_included_ltdl=no 14932 LIBLTDL="-L$with_ltdl_lib -lltdl" 14933 LTDLDEPS= 14934 LTDLINCL="-I$with_ltdl_include" 14935 ;; 14936esac 14937INCLTDL="$LTDLINCL" 14938 14939# Report our decision... 14940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5 14941$as_echo_n "checking where to find libltdl headers... " >&6; } 14942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5 14943$as_echo "$LTDLINCL" >&6; } 14944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5 14945$as_echo_n "checking where to find libltdl library... " >&6; } 14946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5 14947$as_echo "$LIBLTDL" >&6; } 14948 14949 14950 14951# Check whether --enable-ltdl-install was given. 14952if test "${enable_ltdl_install+set}" = set; then : 14953 enableval=$enable_ltdl_install; 14954fi 14955 14956 14957case ,${enable_ltdl_install},${enable_ltdl_convenience} in 14958 *yes*) ;; 14959 *) enable_ltdl_convenience=yes ;; 14960esac 14961 14962 if test x"${enable_ltdl_install-no}" != xno; then 14963 INSTALL_LTDL_TRUE= 14964 INSTALL_LTDL_FALSE='#' 14965else 14966 INSTALL_LTDL_TRUE='#' 14967 INSTALL_LTDL_FALSE= 14968fi 14969 14970 if test x"${enable_ltdl_convenience-no}" != xno; then 14971 CONVENIENCE_LTDL_TRUE= 14972 CONVENIENCE_LTDL_FALSE='#' 14973else 14974 CONVENIENCE_LTDL_TRUE='#' 14975 CONVENIENCE_LTDL_FALSE= 14976fi 14977 14978 14979 14980 subdirs="$subdirs libltdl" 14981 14982 14983 14984 14985# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS 14986# the user used. This is so that ltdl.h can pick up the parent projects 14987# config.h file, The first file in AC_CONFIG_HEADERS must contain the 14988# definitions required by ltdl.c. 14989# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility). 14990 14991 14992 14993for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h 14994do : 14995 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14996ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 14997" 14998if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 14999 cat >>confdefs.h <<_ACEOF 15000#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15001_ACEOF 15002 15003fi 15004 15005done 15006 15007 15008for ac_func in closedir opendir readdir 15009do : 15010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15011ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15012if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15013 cat >>confdefs.h <<_ACEOF 15014#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15015_ACEOF 15016 15017else 15018 15019 15020 _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext" 15021 15022fi 15023done 15024 15025for ac_func in strlcat strlcpy 15026do : 15027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15028ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15029if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15030 cat >>confdefs.h <<_ACEOF 15031#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15032_ACEOF 15033 15034else 15035 15036 15037 _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext" 15038 15039fi 15040done 15041 15042 15043 15044cat >>confdefs.h <<_ACEOF 15045#define LT_LIBEXT "$libext" 15046_ACEOF 15047 15048 15049name= 15050eval "lt_libprefix=\"$libname_spec\"" 15051 15052cat >>confdefs.h <<_ACEOF 15053#define LT_LIBPREFIX "$lt_libprefix" 15054_ACEOF 15055 15056 15057name=ltdl 15058eval "LTDLOPEN=\"$libname_spec\"" 15059 15060 15061 15062 15063 15064 15065 15066 15067# Only expand once: 15068 15069 15070 15071################################################################# 15072# Check for the type of the host 15073################################################################# 15074 15075 if false; then 15076 WIN32_TRUE= 15077 WIN32_FALSE='#' 15078else 15079 WIN32_TRUE='#' 15080 WIN32_FALSE= 15081fi 15082 15083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the host" >&5 15084$as_echo_n "checking the host... " >&6; } 15085case $host in 15086 *linux*) 15087 HOST="Linux-based system" 15088 ;; 15089 *openbsd*) 15090 HOST="OpenBSD" 15091 LIBS="$LIBS -lm" 15092 ;; 15093 *netbsd*) 15094 HOST="NetBSD" 15095 ;; 15096 *freebsd*) 15097 HOST="FreeBSD" 15098 ;; 15099 *mingw*) 15100 HOST="Mingw" 15101 if true; then 15102 WIN32_TRUE= 15103 WIN32_FALSE='#' 15104else 15105 WIN32_TRUE='#' 15106 WIN32_FALSE= 15107fi 15108 15109 ;; 15110 *solaris*) 15111 HOST="Solaris" 15112 ;; 15113 *) 15114 HOST="Other" 15115 ;; 15116esac 15117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOST" >&5 15118$as_echo "$HOST" >&6; } 15119 15120################################################################# 15121# Check for some debugging, warnings and optimise options 15122################################################################# 15123 15124# Check whether --enable-c-debug was given. 15125if test "${enable_c_debug+set}" = set; then : 15126 enableval=$enable_c_debug; enable_c_debug=$enableval 15127else 15128 enable_c_debug="no" 15129fi 15130 15131if test "x$enable_c_debug" = xyes;then 15132 CFLAGS="$CFLAGS -g -Wall" 15133fi 15134 15135# Check whether --enable-optimise was given. 15136if test "${enable_optimise+set}" = set; then : 15137 enableval=$enable_optimise; enable_optimise=$enableval 15138else 15139 enable_optimise="yes" 15140fi 15141 15142if test "x$enable_optimise" = xyes;then 15143 CFLAGS="$CFLAGS -O3" 15144fi 15145 15146# Check whether --enable-extra-warnings was given. 15147if test "${enable_extra_warnings+set}" = set; then : 15148 enableval=$enable_extra_warnings; enable_extra_warnings=$enableval 15149else 15150 enable_extra_warnings="no" 15151fi 15152 15153if test "x$enable_extra_warnings" = xyes;then 15154 CFLAGS="$CFLAGS -Wall -Wextra -Wswitch-enum -Wswitch-default -Wfloat-equal -Wbad-function-cast -Wcast-qual -Wunreachable-code" 15155fi 15156 15157################################################################# 15158# Check for some functions 15159################################################################# 15160 15161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 15162$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 15163if ${ac_cv_sys_largefile_source+:} false; then : 15164 $as_echo_n "(cached) " >&6 15165else 15166 while :; do 15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15168/* end confdefs.h. */ 15169#include <sys/types.h> /* for off_t */ 15170 #include <stdio.h> 15171int 15172main () 15173{ 15174int (*fp) (FILE *, off_t, int) = fseeko; 15175 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 15176 ; 15177 return 0; 15178} 15179_ACEOF 15180if ac_fn_c_try_link "$LINENO"; then : 15181 ac_cv_sys_largefile_source=no; break 15182fi 15183rm -f core conftest.err conftest.$ac_objext \ 15184 conftest$ac_exeext conftest.$ac_ext 15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15186/* end confdefs.h. */ 15187#define _LARGEFILE_SOURCE 1 15188#include <sys/types.h> /* for off_t */ 15189 #include <stdio.h> 15190int 15191main () 15192{ 15193int (*fp) (FILE *, off_t, int) = fseeko; 15194 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 15195 ; 15196 return 0; 15197} 15198_ACEOF 15199if ac_fn_c_try_link "$LINENO"; then : 15200 ac_cv_sys_largefile_source=1; break 15201fi 15202rm -f core conftest.err conftest.$ac_objext \ 15203 conftest$ac_exeext conftest.$ac_ext 15204 ac_cv_sys_largefile_source=unknown 15205 break 15206done 15207fi 15208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 15209$as_echo "$ac_cv_sys_largefile_source" >&6; } 15210case $ac_cv_sys_largefile_source in #( 15211 no | unknown) ;; 15212 *) 15213cat >>confdefs.h <<_ACEOF 15214#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 15215_ACEOF 15216;; 15217esac 15218rm -rf conftest* 15219 15220# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 15221# in glibc 2.1.3, but that breaks too many other things. 15222# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 15223if test $ac_cv_sys_largefile_source != unknown; then 15224 15225$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h 15226 15227fi 15228 15229for ac_func in fseeko 15230do : 15231 ac_fn_c_check_func "$LINENO" "fseeko" "ac_cv_func_fseeko" 15232if test "x$ac_cv_func_fseeko" = xyes; then : 15233 cat >>confdefs.h <<_ACEOF 15234#define HAVE_FSEEKO 1 15235_ACEOF 15236 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" 15237else 15238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fseeko() function is missing: FILE > 2 GB SUPPORT DISABLED!" >&5 15239$as_echo "$as_me: WARNING: fseeko() function is missing: FILE > 2 GB SUPPORT DISABLED!" >&2;} 15240fi 15241done 15242 15243 15244################################################# 15245# Check for libraries 15246################################################# 15247 15248#check for -lm 15249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 15250$as_echo_n "checking for pow in -lm... " >&6; } 15251if ${ac_cv_lib_m_pow+:} false; then : 15252 $as_echo_n "(cached) " >&6 15253else 15254 ac_check_lib_save_LIBS=$LIBS 15255LIBS="-lm $LIBS" 15256cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15257/* end confdefs.h. */ 15258 15259/* Override any GCC internal prototype to avoid an error. 15260 Use char because int might match the return type of a GCC 15261 builtin and then its argument prototype would still apply. */ 15262#ifdef __cplusplus 15263extern "C" 15264#endif 15265char pow (); 15266int 15267main () 15268{ 15269return pow (); 15270 ; 15271 return 0; 15272} 15273_ACEOF 15274if ac_fn_c_try_link "$LINENO"; then : 15275 ac_cv_lib_m_pow=yes 15276else 15277 ac_cv_lib_m_pow=no 15278fi 15279rm -f core conftest.err conftest.$ac_objext \ 15280 conftest$ac_exeext conftest.$ac_ext 15281LIBS=$ac_check_lib_save_LIBS 15282fi 15283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 15284$as_echo "$ac_cv_lib_m_pow" >&6; } 15285if test "x$ac_cv_lib_m_pow" = xyes; then : 15286 haslm="yes" 15287else 15288 as_fn_error $? "libm not found !" "$LINENO" 5 15289fi 15290 15291 15292#check for -ltld 15293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlopen in -lltdl" >&5 15294$as_echo_n "checking for lt_dlopen in -lltdl... " >&6; } 15295if ${ac_cv_lib_ltdl_lt_dlopen+:} false; then : 15296 $as_echo_n "(cached) " >&6 15297else 15298 ac_check_lib_save_LIBS=$LIBS 15299LIBS="-lltdl $LIBS" 15300cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15301/* end confdefs.h. */ 15302 15303/* Override any GCC internal prototype to avoid an error. 15304 Use char because int might match the return type of a GCC 15305 builtin and then its argument prototype would still apply. */ 15306#ifdef __cplusplus 15307extern "C" 15308#endif 15309char lt_dlopen (); 15310int 15311main () 15312{ 15313return lt_dlopen (); 15314 ; 15315 return 0; 15316} 15317_ACEOF 15318if ac_fn_c_try_link "$LINENO"; then : 15319 ac_cv_lib_ltdl_lt_dlopen=yes 15320else 15321 ac_cv_lib_ltdl_lt_dlopen=no 15322fi 15323rm -f core conftest.err conftest.$ac_objext \ 15324 conftest$ac_exeext conftest.$ac_ext 15325LIBS=$ac_check_lib_save_LIBS 15326fi 15327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlopen" >&5 15328$as_echo "$ac_cv_lib_ltdl_lt_dlopen" >&6; } 15329if test "x$ac_cv_lib_ltdl_lt_dlopen" = xyes; then : 15330 hasltdl="yes" 15331else 15332 as_fn_error $? "libltdl not found - check libtool installation !" "$LINENO" 5 15333fi 15334 15335 15336################################################################# 15337# helper for windows compilation 15338################################################################# 15339 15340 if false; then 15341 IS_ON_WINDOWS_TRUE= 15342 IS_ON_WINDOWS_FALSE='#' 15343else 15344 IS_ON_WINDOWS_TRUE='#' 15345 IS_ON_WINDOWS_FALSE= 15346fi 15347 15348 15349# Check whether --enable-win was given. 15350if test "${enable_win+set}" = set; then : 15351 enableval=$enable_win; enable_win=$enableval 15352else 15353 enable_win="no" 15354fi 15355 15356 15357if test "x$enable_win" = xyes;then 15358 if true; then 15359 IS_ON_WINDOWS_TRUE= 15360 IS_ON_WINDOWS_FALSE='#' 15361else 15362 IS_ON_WINDOWS_TRUE='#' 15363 IS_ON_WINDOWS_FALSE= 15364fi 15365 15366fi 15367 15368################################################################# 15369# Check mp3 plugin libraries 15370################################################################# 15371 15372#check for --disable-mp3 & mad library 15373 if false; then 15374 MP3_PLUGIN_TRUE= 15375 MP3_PLUGIN_FALSE='#' 15376else 15377 MP3_PLUGIN_TRUE='#' 15378 MP3_PLUGIN_FALSE= 15379fi 15380 15381mp3="no" 15382# Check whether --enable-mp3 was given. 15383if test "${enable_mp3+set}" = set; then : 15384 enableval=$enable_mp3; enable_mp3_plugin=$enableval 15385else 15386 enable_mp3_plugin="yes" 15387fi 15388 15389 15390if test "x$enable_mp3_plugin" = xyes;then 15391 15392 15393 15394# Check whether --with-mad was given. 15395if test "${with_mad+set}" = set; then : 15396 withval=$with_mad; mad_prefix="$withval" 15397else 15398 mad_prefix="" 15399fi 15400 15401 15402# Check whether --with-mad-libraries was given. 15403if test "${with_mad_libraries+set}" = set; then : 15404 withval=$with_mad_libraries; mad_libraries="$withval" 15405else 15406 mad_libraries="" 15407fi 15408 15409 15410# Check whether --with-mad-includes was given. 15411if test "${with_mad_includes+set}" = set; then : 15412 withval=$with_mad_includes; mad_includes="$withval" 15413else 15414 mad_includes="" 15415fi 15416 15417# Check whether --enable-madtest was given. 15418if test "${enable_madtest+set}" = set; then : 15419 enableval=$enable_madtest; 15420else 15421 enable_madtest=yes 15422fi 15423 15424 15425if test "x$mad_libraries" != "x"; then 15426 MAD_LIBS="-L$mad_libraries" 15427elif test "x$mad_prefix" != "x"; then 15428 MAD_LIBS="-L$mad_prefix/lib" 15429elif test "x$prefix" != "xNONE"; then 15430 MAD_LIBS="-L$prefix/lib" 15431fi 15432 15433MAD_LIBS="$MAD_LIBS -lmad" 15434 15435if test "x$mad_includes" != "x"; then 15436 MAD_CFLAGS="-I$mad_includes" 15437elif test "x$mad_prefix" != "x"; then 15438 MAD_CFLAGS="-I$mad_prefix/include" 15439elif test "x$prefix" != "xNONE"; then 15440 MAD_CFLAGS="-I$prefix/include" 15441fi 15442 15443 15444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mad" >&5 15445$as_echo_n "checking for Mad... " >&6; } 15446no_mad="" 15447 15448if test "x$enable_madtest" = "xyes" ; then 15449 ac_save_CFLAGS="$CFLAGS" 15450 ac_save_LIBS="$LIBS" 15451 CFLAGS="$CFLAGS $MAD_CFLAGS" 15452 LIBS="$LIBS $MAD_LIBS" 15453 15454 rm -f conf.madtest 15455 15456 if test "$cross_compiling" = yes; then : 15457 echo $ac_n "cross compiling; assumed OK... $ac_c" 15458else 15459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15460/* end confdefs.h. */ 15461 15462#include <stdio.h> 15463#include <stdlib.h> 15464#include <string.h> 15465#include <mad.h> 15466 15467int main () 15468{ 15469 system("touch conf.madtest"); 15470 return 0; 15471} 15472 15473 15474_ACEOF 15475if ac_fn_c_try_run "$LINENO"; then : 15476 15477else 15478 no_mad=yes 15479fi 15480rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 15481 conftest.$ac_objext conftest.beam conftest.$ac_ext 15482fi 15483 15484 15485 CFLAGS="$ac_save_CFLAGS" 15486 LIBS="$ac_save_LIBS" 15487fi 15488 15489 15490if test "x$no_mad" = "x" ; then 15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15492$as_echo "yes" >&6; } 15493 if true; then 15494 MP3_PLUGIN_TRUE= 15495 MP3_PLUGIN_FALSE='#' 15496else 15497 MP3_PLUGIN_TRUE='#' 15498 MP3_PLUGIN_FALSE= 15499fi 15500 mp3="yes" 15501else 15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15503$as_echo "no" >&6; } 15504 if test -f conf.madtest ; then 15505 : 15506 else 15507 echo "*** Could not run Mad test program, checking why..." 15508 CFLAGS="$CFLAGS $MAD_CFLAGS" 15509 LIBS="$LIBS $MAD_LIBS" 15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15511/* end confdefs.h. */ 15512 15513#include <stdio.h> 15514#include <mad.h> 15515 15516int 15517main () 15518{ 15519 return 0; 15520 ; 15521 return 0; 15522} 15523_ACEOF 15524if ac_fn_c_try_link "$LINENO"; then : 15525 echo "*** The test program compiled, but did not run. This usually means" 15526 echo "*** that the run-time linker is not finding libmad or finding the wrong" 15527 echo "*** version of libmad. If it is not finding libmad, you'll need to set your" 15528 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 15529 echo "*** to the installed location Also, make sure you have run ldconfig if that" 15530 echo "*** is required on your system" 15531 echo "***" 15532 echo "*** If you have an old version installed, it is best to remove it, although" 15533 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 15534else 15535 echo "*** The test program failed to compile or link. See the file config.log for the" 15536 echo "*** exact error that occured. This usually means libmad was incorrectly installed" 15537 echo "*** or that you have moved libmad since it was installed." 15538fi 15539rm -f core conftest.err conftest.$ac_objext \ 15540 conftest$ac_exeext conftest.$ac_ext 15541 CFLAGS="$ac_save_CFLAGS" 15542 LIBS="$ac_save_LIBS" 15543 fi 15544 MAD_CFLAGS="" 15545 MAD_LIBS="" 15546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmad not found ! Will build without mp3 support." >&5 15547$as_echo "$as_me: WARNING: libmad not found ! Will build without mp3 support." >&2;} 15548fi 15549 15550 15551 15552rm -f conf.madtest 15553 15554fi 15555 15556#check for --disable-id3tag & id3tag library 15557 if false; then 15558 ID3TAG_TRUE= 15559 ID3TAG_FALSE='#' 15560else 15561 ID3TAG_TRUE='#' 15562 ID3TAG_FALSE= 15563fi 15564 15565id3="no"; 15566# Check whether --enable-id3tag was given. 15567if test "${enable_id3tag+set}" = set; then : 15568 enableval=$enable_id3tag; enable_id3tag=$enableval 15569else 15570 enable_id3tag="yes" 15571fi 15572 15573 15574if test "x$enable_id3tag" = xyes;then 15575 15576 15577 15578# Check whether --with-id3 was given. 15579if test "${with_id3+set}" = set; then : 15580 withval=$with_id3; id3_prefix="$withval" 15581else 15582 id3_prefix="" 15583fi 15584 15585 15586# Check whether --with-id3-libraries was given. 15587if test "${with_id3_libraries+set}" = set; then : 15588 withval=$with_id3_libraries; id3_libraries="$withval" 15589else 15590 id3_libraries="" 15591fi 15592 15593 15594# Check whether --with-id3-includes was given. 15595if test "${with_id3_includes+set}" = set; then : 15596 withval=$with_id3_includes; id3_includes="$withval" 15597else 15598 id3_includes="" 15599fi 15600 15601# Check whether --enable-id3test was given. 15602if test "${enable_id3test+set}" = set; then : 15603 enableval=$enable_id3test; 15604else 15605 enable_id3test=yes 15606fi 15607 15608 15609if test "x$id3_libraries" != "x"; then 15610 ID3_LIBS="-L$id3_libraries" 15611elif test "x$id3_prefix" != "x"; then 15612 ID3_LIBS="-L$id3_prefix/lib" 15613elif test "x$prefix" != "xNONE"; then 15614 ID3_LIBS="-L$prefix/lib" 15615fi 15616 15617ID3_LIBS="$ID3_LIBS -lid3tag -lz" 15618 15619if test "x$id3_includes" != "x"; then 15620 ID3_CFLAGS="-I$id3_includes" 15621elif test "x$id3_prefix" != "x"; then 15622 ID3_CFLAGS="-I$id3_prefix/include" 15623elif test "x$prefix" != "xNONE"; then 15624 ID3_CFLAGS="-I$prefix/include" 15625fi 15626 15627 15628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5 15629$as_echo_n "checking for id3tag... " >&6; } 15630no_id3="" 15631 15632if test "x$enable_id3test" = "xyes" ; then 15633 ac_save_CFLAGS="$CFLAGS" 15634 ac_save_LIBS="$LIBS" 15635 CFLAGS="$CFLAGS $ID3_CFLAGS" 15636 LIBS="$LIBS $ID3_LIBS" 15637 15638 rm -f conf.id3test 15639 15640 if test "$cross_compiling" = yes; then : 15641 echo $ac_n "cross compiling; assumed OK... $ac_c" 15642else 15643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15644/* end confdefs.h. */ 15645 15646#include <stdio.h> 15647#include <stdlib.h> 15648#include <string.h> 15649#include <id3tag.h> 15650 15651int main () 15652{ 15653 system("touch conf.id3test"); 15654 return 0; 15655} 15656 15657 15658_ACEOF 15659if ac_fn_c_try_run "$LINENO"; then : 15660 15661else 15662 no_id3=yes 15663fi 15664rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 15665 conftest.$ac_objext conftest.beam conftest.$ac_ext 15666fi 15667 15668 15669 CFLAGS="$ac_save_CFLAGS" 15670 LIBS="$ac_save_LIBS" 15671fi 15672 15673 15674if test "x$no_id3" = "x" ; then 15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15676$as_echo "yes" >&6; } 15677 if true; then 15678 ID3TAG_TRUE= 15679 ID3TAG_FALSE='#' 15680else 15681 ID3TAG_TRUE='#' 15682 ID3TAG_FALSE= 15683fi 15684 id3="yes"; 15685else 15686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15687$as_echo "no" >&6; } 15688 if test -f conf.id3test ; then 15689 : 15690 else 15691 echo "*** Could not run id3tag test program, checking why..." 15692 CFLAGS="$CFLAGS $ID3_CFLAGS" 15693 LIBS="$LIBS $ID3_LIBS" 15694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15695/* end confdefs.h. */ 15696 15697#include <stdio.h> 15698#include <id3tag.h> 15699 15700int 15701main () 15702{ 15703 return 0; 15704 ; 15705 return 0; 15706} 15707_ACEOF 15708if ac_fn_c_try_link "$LINENO"; then : 15709 echo "*** The test program compiled, but did not run. This usually means" 15710 echo "*** that the run-time linker is not finding id3tag or finding the wrong" 15711 echo "*** version of id3tag. If it is not finding id3tag, you'll need to set your" 15712 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 15713 echo "*** to the installed location Also, make sure you have run ldconfig if that" 15714 echo "*** is required on your system" 15715 echo "***" 15716 echo "*** If you have an old version installed, it is best to remove it, although" 15717 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 15718else 15719 echo "*** The test program failed to compile or link. See the file config.log for the" 15720 echo "*** exact error that occured. This usually means id3tag was incorrectly installed" 15721 echo "*** or that you have moved id3tag since it was installed." 15722fi 15723rm -f core conftest.err conftest.$ac_objext \ 15724 conftest$ac_exeext conftest.$ac_ext 15725 CFLAGS="$ac_save_CFLAGS" 15726 LIBS="$ac_save_LIBS" 15727 fi 15728 ID3_CFLAGS="" 15729 ID3_LIBS="" 15730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libid3tag not found ! Will build without id3 support." >&5 15731$as_echo "$as_me: WARNING: libid3tag not found ! Will build without id3 support." >&2;} 15732fi 15733 15734 15735 15736rm -f conf.id3test 15737 15738fi 15739 15740 15741################################################################# 15742# Check ogg plugin libraries 15743################################################################# 15744 15745#check for --disable-ogg & ogg libraries 15746 if false; then 15747 OGG_PLUGIN_TRUE= 15748 OGG_PLUGIN_FALSE='#' 15749else 15750 OGG_PLUGIN_TRUE='#' 15751 OGG_PLUGIN_FALSE= 15752fi 15753 15754ogg="no" 15755# Check whether --enable-ogg was given. 15756if test "${enable_ogg+set}" = set; then : 15757 enableval=$enable_ogg; enable_ogg_plugin=$enableval 15758else 15759 enable_ogg_plugin="yes" 15760fi 15761 15762 15763if test "x$enable_ogg_plugin" = xyes;then 15764 15765# Check whether --with-ogg was given. 15766if test "${with_ogg+set}" = set; then : 15767 withval=$with_ogg; ogg_prefix="$withval" 15768else 15769 ogg_prefix="" 15770fi 15771 15772 15773# Check whether --with-ogg-libraries was given. 15774if test "${with_ogg_libraries+set}" = set; then : 15775 withval=$with_ogg_libraries; ogg_libraries="$withval" 15776else 15777 ogg_libraries="" 15778fi 15779 15780 15781# Check whether --with-ogg-includes was given. 15782if test "${with_ogg_includes+set}" = set; then : 15783 withval=$with_ogg_includes; ogg_includes="$withval" 15784else 15785 ogg_includes="" 15786fi 15787 15788# Check whether --enable-oggtest was given. 15789if test "${enable_oggtest+set}" = set; then : 15790 enableval=$enable_oggtest; 15791else 15792 enable_oggtest=yes 15793fi 15794 15795 15796 if test "x$ogg_libraries" != "x" ; then 15797 OGG_LIBS="-L$ogg_libraries" 15798 elif test "x$ogg_prefix" != "x" ; then 15799 OGG_LIBS="-L$ogg_prefix/lib" 15800 elif test "x$prefix" != "xNONE" ; then 15801 OGG_LIBS="-L$prefix/lib" 15802 fi 15803 15804 OGG_LIBS="$OGG_LIBS -logg" 15805 15806 if test "x$ogg_includes" != "x" ; then 15807 OGG_CFLAGS="-I$ogg_includes" 15808 elif test "x$ogg_prefix" != "x" ; then 15809 OGG_CFLAGS="-I$ogg_prefix/include" 15810 elif test "x$prefix" != "xNONE"; then 15811 OGG_CFLAGS="-I$prefix/include" 15812 fi 15813 15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ogg" >&5 15815$as_echo_n "checking for Ogg... " >&6; } 15816 no_ogg="" 15817 15818 15819 if test "x$enable_oggtest" = "xyes" ; then 15820 ac_save_CFLAGS="$CFLAGS" 15821 ac_save_LIBS="$LIBS" 15822 CFLAGS="$CFLAGS $OGG_CFLAGS" 15823 LIBS="$LIBS $OGG_LIBS" 15824 rm -f conf.oggtest 15825 if test "$cross_compiling" = yes; then : 15826 echo $ac_n "cross compiling; assumed OK... $ac_c" 15827else 15828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15829/* end confdefs.h. */ 15830 15831#include <stdio.h> 15832#include <stdlib.h> 15833#include <string.h> 15834#include <ogg/ogg.h> 15835 15836int main () 15837{ 15838 system("touch conf.oggtest"); 15839 return 0; 15840} 15841 15842 15843_ACEOF 15844if ac_fn_c_try_run "$LINENO"; then : 15845 15846else 15847 no_ogg=yes 15848fi 15849rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 15850 conftest.$ac_objext conftest.beam conftest.$ac_ext 15851fi 15852 15853 CFLAGS="$ac_save_CFLAGS" 15854 LIBS="$ac_save_LIBS" 15855 fi 15856 15857 if test "x$no_ogg" = "x" ; then 15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15859$as_echo "yes" >&6; } 15860 : 15861 else 15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15863$as_echo "no" >&6; } 15864 if test -f conf.oggtest ; then 15865 : 15866 else 15867 echo "*** Could not run Ogg test program, checking why..." 15868 CFLAGS="$CFLAGS $OGG_CFLAGS" 15869 LIBS="$LIBS $OGG_LIBS" 15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15871/* end confdefs.h. */ 15872 15873#include <stdio.h> 15874#include <ogg/ogg.h> 15875 15876int 15877main () 15878{ 15879 return 0; 15880 ; 15881 return 0; 15882} 15883_ACEOF 15884if ac_fn_c_try_link "$LINENO"; then : 15885 echo "*** The test program compiled, but did not run. This usually means" 15886 echo "*** that the run-time linker is not finding Ogg or finding the wrong" 15887 echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your" 15888 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 15889 echo "*** to the installed location Also, make sure you have run ldconfig if that" 15890 echo "*** is required on your system" 15891 echo "***" 15892 echo "*** If you have an old version installed, it is best to remove it, although" 15893 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 15894else 15895 echo "*** The test program failed to compile or link. See the file config.log for the" 15896 echo "*** exact error that occured. This usually means Ogg was incorrectly installed" 15897 echo "*** or that you have moved Ogg since it was installed." 15898fi 15899rm -f core conftest.err conftest.$ac_objext \ 15900 conftest$ac_exeext conftest.$ac_ext 15901 CFLAGS="$ac_save_CFLAGS" 15902 LIBS="$ac_save_LIBS" 15903 fi 15904 OGG_CFLAGS="" 15905 OGG_LIBS="" 15906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ogg not found! Download the latest version of libogg at http://www.xiph.org." >&5 15907$as_echo "$as_me: WARNING: Ogg not found! Download the latest version of libogg at http://www.xiph.org." >&2;} 15908 fi 15909 15910 15911 rm -f conf.oggtest 15912 15913 15914# Check whether --with-vorbis was given. 15915if test "${with_vorbis+set}" = set; then : 15916 withval=$with_vorbis; vorbis_prefix="$withval" 15917else 15918 vorbis_prefix="" 15919fi 15920 15921 15922# Check whether --with-vorbis-libraries was given. 15923if test "${with_vorbis_libraries+set}" = set; then : 15924 withval=$with_vorbis_libraries; vorbis_libraries="$withval" 15925else 15926 vorbis_libraries="" 15927fi 15928 15929 15930# Check whether --with-vorbis-includes was given. 15931if test "${with_vorbis_includes+set}" = set; then : 15932 withval=$with_vorbis_includes; vorbis_includes="$withval" 15933else 15934 vorbis_includes="" 15935fi 15936 15937# Check whether --enable-vorbistest was given. 15938if test "${enable_vorbistest+set}" = set; then : 15939 enableval=$enable_vorbistest; 15940else 15941 enable_vorbistest=yes 15942fi 15943 15944 15945 if test "x$vorbis_libraries" != "x" ; then 15946 VORBIS_LIBS="-L$vorbis_libraries" 15947 elif test "x$vorbis_prefix" != "x" ; then 15948 VORBIS_LIBS="-L$vorbis_prefix/lib" 15949 elif test "x$prefix" != "xNONE"; then 15950 VORBIS_LIBS="-L$prefix/lib" 15951 fi 15952 15953 VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm" 15954 VORBISFILE_LIBS="-lvorbisfile" 15955 VORBISENC_LIBS="-lvorbisenc" 15956 15957 if test "x$vorbis_includes" != "x" ; then 15958 VORBIS_CFLAGS="-I$vorbis_includes" 15959 elif test "x$vorbis_prefix" != "x" ; then 15960 VORBIS_CFLAGS="-I$vorbis_prefix/include" 15961 elif test "x$prefix" != "xNONE"; then 15962 VORBIS_CFLAGS="-I$prefix/include" 15963 fi 15964 15965 15966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Vorbis" >&5 15967$as_echo_n "checking for Vorbis... " >&6; } 15968 no_vorbis="" 15969 15970 15971 if test "x$enable_vorbistest" = "xyes" ; then 15972 ac_save_CFLAGS="$CFLAGS" 15973 ac_save_LIBS="$LIBS" 15974 CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS" 15975 LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS" 15976 rm -f conf.vorbistest 15977 if test "$cross_compiling" = yes; then : 15978 echo $ac_n "cross compiling; assumed OK... $ac_c" 15979else 15980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15981/* end confdefs.h. */ 15982 15983#include <stdio.h> 15984#include <stdlib.h> 15985#include <string.h> 15986#include <vorbis/codec.h> 15987#include <vorbis/vorbisenc.h> 15988 15989int main () 15990{ 15991 vorbis_block vb; 15992 vorbis_dsp_state vd; 15993 vorbis_info vi; 15994 15995 vorbis_info_init (&vi); 15996 vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1); 15997 vorbis_analysis_init (&vd, &vi); 15998 vorbis_block_init (&vd, &vb); 15999 /* this function was added in 1.0rc3, so this is what we're testing for */ 16000 vorbis_bitrate_addblock (&vb); 16001 16002 system("touch conf.vorbistest"); 16003 return 0; 16004} 16005 16006 16007_ACEOF 16008if ac_fn_c_try_run "$LINENO"; then : 16009 16010else 16011 no_vorbis=yes 16012fi 16013rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 16014 conftest.$ac_objext conftest.beam conftest.$ac_ext 16015fi 16016 16017 CFLAGS="$ac_save_CFLAGS" 16018 LIBS="$ac_save_LIBS" 16019 fi 16020 16021 if test "x$no_vorbis" = "x" ; then 16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16023$as_echo "yes" >&6; } 16024 if true; then 16025 OGG_PLUGIN_TRUE= 16026 OGG_PLUGIN_FALSE='#' 16027else 16028 OGG_PLUGIN_TRUE='#' 16029 OGG_PLUGIN_FALSE= 16030fi 16031 ogg="yes" 16032 else 16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16034$as_echo "no" >&6; } 16035 if test -f conf.vorbistest ; then 16036 : 16037 else 16038 echo "*** Could not run Vorbis test program, checking why..." 16039 CFLAGS="$CFLAGS $VORBIS_CFLAGS" 16040 LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS" 16041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16042/* end confdefs.h. */ 16043 16044#include <stdio.h> 16045#include <vorbis/codec.h> 16046 16047int 16048main () 16049{ 16050 return 0; 16051 ; 16052 return 0; 16053} 16054_ACEOF 16055if ac_fn_c_try_link "$LINENO"; then : 16056 echo "*** The test program compiled, but did not run. This usually means" 16057 echo "*** that the run-time linker is not finding Vorbis or finding the wrong" 16058 echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your" 16059 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 16060 echo "*** to the installed location Also, make sure you have run ldconfig if that" 16061 echo "*** is required on your system" 16062 echo "***" 16063 echo "*** If you have an old version installed, it is best to remove it, although" 16064 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 16065else 16066 echo "*** The test program failed to compile or link. See the file config.log for the" 16067 echo "*** exact error that occured. This usually means Vorbis was incorrectly installed" 16068 echo "*** or that you have moved Vorbis since it was installed." 16069fi 16070rm -f core conftest.err conftest.$ac_objext \ 16071 conftest$ac_exeext conftest.$ac_ext 16072 CFLAGS="$ac_save_CFLAGS" 16073 LIBS="$ac_save_LIBS" 16074 fi 16075 VORBIS_CFLAGS="" 16076 VORBIS_LIBS="" 16077 VORBISFILE_LIBS="" 16078 VORBISENC_LIBS="" 16079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vorbis not found! Will build without ogg/vorbis support." >&5 16080$as_echo "$as_me: WARNING: Vorbis not found! Will build without ogg/vorbis support." >&2;} 16081 fi 16082 16083 16084 16085 16086 rm -f conf.vorbistest 16087 16088fi 16089 16090 16091################################################################# 16092# Check flac plugin libraries 16093################################################################# 16094 16095#check for --disable-flac & flac libraries 16096 if false; then 16097 FLAC_PLUGIN_TRUE= 16098 FLAC_PLUGIN_FALSE='#' 16099else 16100 FLAC_PLUGIN_TRUE='#' 16101 FLAC_PLUGIN_FALSE= 16102fi 16103 16104flac="no" 16105# Check whether --enable-flac was given. 16106if test "${enable_flac+set}" = set; then : 16107 enableval=$enable_flac; enable_flac_plugin=$enableval 16108else 16109 enable_flac_plugin="yes" 16110fi 16111 16112 16113if test "x$enable_flac_plugin" = xyes;then 16114 16115 16116 16117 16118 16119 16120 16121if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16122 if test -n "$ac_tool_prefix"; then 16123 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16124set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16126$as_echo_n "checking for $ac_word... " >&6; } 16127if ${ac_cv_path_PKG_CONFIG+:} false; then : 16128 $as_echo_n "(cached) " >&6 16129else 16130 case $PKG_CONFIG in 16131 [\\/]* | ?:[\\/]*) 16132 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16133 ;; 16134 *) 16135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16136for as_dir in $PATH 16137do 16138 IFS=$as_save_IFS 16139 test -z "$as_dir" && as_dir=. 16140 for ac_exec_ext in '' $ac_executable_extensions; do 16141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16142 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16144 break 2 16145 fi 16146done 16147 done 16148IFS=$as_save_IFS 16149 16150 ;; 16151esac 16152fi 16153PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16154if test -n "$PKG_CONFIG"; then 16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16156$as_echo "$PKG_CONFIG" >&6; } 16157else 16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16159$as_echo "no" >&6; } 16160fi 16161 16162 16163fi 16164if test -z "$ac_cv_path_PKG_CONFIG"; then 16165 ac_pt_PKG_CONFIG=$PKG_CONFIG 16166 # Extract the first word of "pkg-config", so it can be a program name with args. 16167set dummy pkg-config; ac_word=$2 16168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16169$as_echo_n "checking for $ac_word... " >&6; } 16170if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16171 $as_echo_n "(cached) " >&6 16172else 16173 case $ac_pt_PKG_CONFIG in 16174 [\\/]* | ?:[\\/]*) 16175 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16176 ;; 16177 *) 16178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16179for as_dir in $PATH 16180do 16181 IFS=$as_save_IFS 16182 test -z "$as_dir" && as_dir=. 16183 for ac_exec_ext in '' $ac_executable_extensions; do 16184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16185 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16187 break 2 16188 fi 16189done 16190 done 16191IFS=$as_save_IFS 16192 16193 ;; 16194esac 16195fi 16196ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16197if test -n "$ac_pt_PKG_CONFIG"; then 16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16199$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16200else 16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16202$as_echo "no" >&6; } 16203fi 16204 16205 if test "x$ac_pt_PKG_CONFIG" = x; then 16206 PKG_CONFIG="" 16207 else 16208 case $cross_compiling:$ac_tool_warned in 16209yes:) 16210{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16211$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16212ac_tool_warned=yes ;; 16213esac 16214 PKG_CONFIG=$ac_pt_PKG_CONFIG 16215 fi 16216else 16217 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16218fi 16219 16220fi 16221if test -n "$PKG_CONFIG"; then 16222 _pkg_min_version=0.9.0 16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16224$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16225 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16227$as_echo "yes" >&6; } 16228 else 16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16230$as_echo "no" >&6; } 16231 PKG_CONFIG="" 16232 fi 16233fi 16234 16235pkg_failed=no 16236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5 16237$as_echo_n "checking for FLAC... " >&6; } 16238 16239if test -n "$FLAC_CFLAGS"; then 16240 pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS" 16241 elif test -n "$PKG_CONFIG"; then 16242 if test -n "$PKG_CONFIG" && \ 16243 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac >= 1.2.1\""; } >&5 16244 ($PKG_CONFIG --exists --print-errors "flac >= 1.2.1") 2>&5 16245 ac_status=$? 16246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16247 test $ac_status = 0; }; then 16248 pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "flac >= 1.2.1" 2>/dev/null` 16249 test "x$?" != "x0" && pkg_failed=yes 16250else 16251 pkg_failed=yes 16252fi 16253 else 16254 pkg_failed=untried 16255fi 16256if test -n "$FLAC_LIBS"; then 16257 pkg_cv_FLAC_LIBS="$FLAC_LIBS" 16258 elif test -n "$PKG_CONFIG"; then 16259 if test -n "$PKG_CONFIG" && \ 16260 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac >= 1.2.1\""; } >&5 16261 ($PKG_CONFIG --exists --print-errors "flac >= 1.2.1") 2>&5 16262 ac_status=$? 16263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16264 test $ac_status = 0; }; then 16265 pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "flac >= 1.2.1" 2>/dev/null` 16266 test "x$?" != "x0" && pkg_failed=yes 16267else 16268 pkg_failed=yes 16269fi 16270 else 16271 pkg_failed=untried 16272fi 16273 16274 16275 16276if test $pkg_failed = yes; then 16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16278$as_echo "no" >&6; } 16279 16280if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16281 _pkg_short_errors_supported=yes 16282else 16283 _pkg_short_errors_supported=no 16284fi 16285 if test $_pkg_short_errors_supported = yes; then 16286 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "flac >= 1.2.1" 2>&1` 16287 else 16288 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "flac >= 1.2.1" 2>&1` 16289 fi 16290 # Put the nasty error message in config.log where it belongs 16291 echo "$FLAC_PKG_ERRORS" >&5 16292 16293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libFLAC is not found. Will build without flac support." >&5 16294$as_echo "$as_me: WARNING: libFLAC is not found. Will build without flac support." >&2;} 16295elif test $pkg_failed = untried; then 16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16297$as_echo "no" >&6; } 16298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libFLAC is not found. Will build without flac support." >&5 16299$as_echo "$as_me: WARNING: libFLAC is not found. Will build without flac support." >&2;} 16300else 16301 FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS 16302 FLAC_LIBS=$pkg_cv_FLAC_LIBS 16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16304$as_echo "yes" >&6; } 16305 if true; then 16306 FLAC_PLUGIN_TRUE= 16307 FLAC_PLUGIN_FALSE='#' 16308else 16309 FLAC_PLUGIN_TRUE='#' 16310 FLAC_PLUGIN_FALSE= 16311fi 16312 flac="yes" 16313fi 16314fi 16315 16316################################################################# 16317# Check for cutter 16318################################################################# 16319 16320 if false; then 16321 HAS_CUTTER_TRUE= 16322 HAS_CUTTER_FALSE='#' 16323else 16324 HAS_CUTTER_TRUE='#' 16325 HAS_CUTTER_FALSE= 16326fi 16327 16328 16329# Check whether --enable-cutter was given. 16330if test "${enable_cutter+set}" = set; then : 16331 enableval=$enable_cutter; enable_cutter=$enableval 16332else 16333 enable_cutter="yes" 16334fi 16335 16336 16337if test "x$enable_cutter" = xyes;then 16338 16339 16340 16341# Check whether --with-cutter was given. 16342if test "${with_cutter+set}" = set; then : 16343 withval=$with_cutter; ac_cv_with_cutter=$withval 16344else 16345 ac_cv_with_cutter=auto 16346fi 16347 16348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use Cutter" >&5 16349$as_echo_n "checking whether to use Cutter... " >&6; } 16350if ${ac_cv_with_cutter+:} false; then : 16351 $as_echo_n "(cached) " >&6 16352else 16353 ac_cv_with_cutter=auto 16354fi 16355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_cutter" >&5 16356$as_echo "$ac_cv_with_cutter" >&6; } 16357 if ${ac_cv_use_cutter+:} false; then : 16358 $as_echo_n "(cached) " >&6 16359else 16360 ac_cv_use_cutter=$ac_cv_with_cutter 16361 if test "$ac_cv_use_cutter" != "no"; then 16362 16363pkg_failed=no 16364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CUTTER" >&5 16365$as_echo_n "checking for CUTTER... " >&6; } 16366 16367if test -n "$CUTTER_CFLAGS"; then 16368 pkg_cv_CUTTER_CFLAGS="$CUTTER_CFLAGS" 16369 elif test -n "$PKG_CONFIG"; then 16370 if test -n "$PKG_CONFIG" && \ 16371 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cutter \""; } >&5 16372 ($PKG_CONFIG --exists --print-errors "cutter ") 2>&5 16373 ac_status=$? 16374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16375 test $ac_status = 0; }; then 16376 pkg_cv_CUTTER_CFLAGS=`$PKG_CONFIG --cflags "cutter " 2>/dev/null` 16377 test "x$?" != "x0" && pkg_failed=yes 16378else 16379 pkg_failed=yes 16380fi 16381 else 16382 pkg_failed=untried 16383fi 16384if test -n "$CUTTER_LIBS"; then 16385 pkg_cv_CUTTER_LIBS="$CUTTER_LIBS" 16386 elif test -n "$PKG_CONFIG"; then 16387 if test -n "$PKG_CONFIG" && \ 16388 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cutter \""; } >&5 16389 ($PKG_CONFIG --exists --print-errors "cutter ") 2>&5 16390 ac_status=$? 16391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16392 test $ac_status = 0; }; then 16393 pkg_cv_CUTTER_LIBS=`$PKG_CONFIG --libs "cutter " 2>/dev/null` 16394 test "x$?" != "x0" && pkg_failed=yes 16395else 16396 pkg_failed=yes 16397fi 16398 else 16399 pkg_failed=untried 16400fi 16401 16402 16403 16404if test $pkg_failed = yes; then 16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16406$as_echo "no" >&6; } 16407 16408if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16409 _pkg_short_errors_supported=yes 16410else 16411 _pkg_short_errors_supported=no 16412fi 16413 if test $_pkg_short_errors_supported = yes; then 16414 CUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cutter " 2>&1` 16415 else 16416 CUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cutter " 2>&1` 16417 fi 16418 # Put the nasty error message in config.log where it belongs 16419 echo "$CUTTER_PKG_ERRORS" >&5 16420 16421 ac_cv_use_cutter=no 16422elif test $pkg_failed = untried; then 16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16424$as_echo "no" >&6; } 16425 ac_cv_use_cutter=no 16426else 16427 CUTTER_CFLAGS=$pkg_cv_CUTTER_CFLAGS 16428 CUTTER_LIBS=$pkg_cv_CUTTER_LIBS 16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16430$as_echo "yes" >&6; } 16431 16432fi 16433 fi 16434 16435 if test "$ac_cv_use_cutter" != "no"; then 16436 if test -n "$CUTTER"; then 16437 pkg_cv_CUTTER="$CUTTER" 16438 elif test -n "$PKG_CONFIG"; then 16439 if test -n "$PKG_CONFIG" && \ 16440 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cutter\""; } >&5 16441 ($PKG_CONFIG --exists --print-errors "cutter") 2>&5 16442 ac_status=$? 16443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16444 test $ac_status = 0; }; then 16445 pkg_cv_CUTTER=`$PKG_CONFIG --variable=cutter "cutter" 2>/dev/null` 16446 test "x$?" != "x0" && pkg_failed=yes 16447else 16448 pkg_failed=yes 16449fi 16450 else 16451 pkg_failed=untried 16452fi 16453 CUTTER=$pkg_cv_CUTTER 16454 fi 16455fi 16456 16457 16458 16459 16460 16461 16462cutter_command="no" 16463as_ac_File=`$as_echo "ac_cv_file_$CUTTER" | $as_tr_sh` 16464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CUTTER" >&5 16465$as_echo_n "checking for $CUTTER... " >&6; } 16466if eval \${$as_ac_File+:} false; then : 16467 $as_echo_n "(cached) " >&6 16468else 16469 test "$cross_compiling" = yes && 16470 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 16471if test -r "$CUTTER"; then 16472 eval "$as_ac_File=yes" 16473else 16474 eval "$as_ac_File=no" 16475fi 16476fi 16477eval ac_res=\$$as_ac_File 16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16479$as_echo "$ac_res" >&6; } 16480if eval test \"x\$"$as_ac_File"\" = x"yes"; then : 16481 cutter_command="yes" 16482fi 16483 16484 16485if test "x$CUTTER" != x;then 16486 if test "x$cutter_command" = xyes;then 16487 if true; then 16488 HAS_CUTTER_TRUE= 16489 HAS_CUTTER_FALSE='#' 16490else 16491 HAS_CUTTER_TRUE='#' 16492 HAS_CUTTER_FALSE= 16493fi 16494 16495 fi 16496fi 16497 16498fi 16499 16500################################################################# 16501# Check for pcre - perl compatible regular expressions 16502################################################################# 16503 16504 if false; then 16505 PCRE_TRUE= 16506 PCRE_FALSE='#' 16507else 16508 PCRE_TRUE='#' 16509 PCRE_FALSE= 16510fi 16511 16512pcre="no" 16513# Check whether --enable-pcre was given. 16514if test "${enable_pcre+set}" = set; then : 16515 enableval=$enable_pcre; enable_pcre=$enableval 16516else 16517 enable_pcre="yes" 16518fi 16519 16520 16521if test "x$enable_pcre" = xyes;then 16522 16523 16524 16525 16526 16527 16528 16529if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16530 if test -n "$ac_tool_prefix"; then 16531 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16532set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16534$as_echo_n "checking for $ac_word... " >&6; } 16535if ${ac_cv_path_PKG_CONFIG+:} false; then : 16536 $as_echo_n "(cached) " >&6 16537else 16538 case $PKG_CONFIG in 16539 [\\/]* | ?:[\\/]*) 16540 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16541 ;; 16542 *) 16543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16544for as_dir in $PATH 16545do 16546 IFS=$as_save_IFS 16547 test -z "$as_dir" && as_dir=. 16548 for ac_exec_ext in '' $ac_executable_extensions; do 16549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16550 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16552 break 2 16553 fi 16554done 16555 done 16556IFS=$as_save_IFS 16557 16558 ;; 16559esac 16560fi 16561PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16562if test -n "$PKG_CONFIG"; then 16563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16564$as_echo "$PKG_CONFIG" >&6; } 16565else 16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16567$as_echo "no" >&6; } 16568fi 16569 16570 16571fi 16572if test -z "$ac_cv_path_PKG_CONFIG"; then 16573 ac_pt_PKG_CONFIG=$PKG_CONFIG 16574 # Extract the first word of "pkg-config", so it can be a program name with args. 16575set dummy pkg-config; ac_word=$2 16576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16577$as_echo_n "checking for $ac_word... " >&6; } 16578if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16579 $as_echo_n "(cached) " >&6 16580else 16581 case $ac_pt_PKG_CONFIG in 16582 [\\/]* | ?:[\\/]*) 16583 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16584 ;; 16585 *) 16586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16587for as_dir in $PATH 16588do 16589 IFS=$as_save_IFS 16590 test -z "$as_dir" && as_dir=. 16591 for ac_exec_ext in '' $ac_executable_extensions; do 16592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16593 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16595 break 2 16596 fi 16597done 16598 done 16599IFS=$as_save_IFS 16600 16601 ;; 16602esac 16603fi 16604ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16605if test -n "$ac_pt_PKG_CONFIG"; then 16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16607$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16608else 16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16610$as_echo "no" >&6; } 16611fi 16612 16613 if test "x$ac_pt_PKG_CONFIG" = x; then 16614 PKG_CONFIG="" 16615 else 16616 case $cross_compiling:$ac_tool_warned in 16617yes:) 16618{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16619$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16620ac_tool_warned=yes ;; 16621esac 16622 PKG_CONFIG=$ac_pt_PKG_CONFIG 16623 fi 16624else 16625 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16626fi 16627 16628fi 16629if test -n "$PKG_CONFIG"; then 16630 _pkg_min_version=0.9.0 16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16632$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16633 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16635$as_echo "yes" >&6; } 16636 else 16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16638$as_echo "no" >&6; } 16639 PKG_CONFIG="" 16640 fi 16641fi 16642 16643pkg_failed=no 16644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRE" >&5 16645$as_echo_n "checking for PCRE... " >&6; } 16646 16647if test -n "$PCRE_CFLAGS"; then 16648 pkg_cv_PCRE_CFLAGS="$PCRE_CFLAGS" 16649 elif test -n "$PKG_CONFIG"; then 16650 if test -n "$PKG_CONFIG" && \ 16651 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre >= 1.0\""; } >&5 16652 ($PKG_CONFIG --exists --print-errors "libpcre >= 1.0") 2>&5 16653 ac_status=$? 16654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16655 test $ac_status = 0; }; then 16656 pkg_cv_PCRE_CFLAGS=`$PKG_CONFIG --cflags "libpcre >= 1.0" 2>/dev/null` 16657 test "x$?" != "x0" && pkg_failed=yes 16658else 16659 pkg_failed=yes 16660fi 16661 else 16662 pkg_failed=untried 16663fi 16664if test -n "$PCRE_LIBS"; then 16665 pkg_cv_PCRE_LIBS="$PCRE_LIBS" 16666 elif test -n "$PKG_CONFIG"; then 16667 if test -n "$PKG_CONFIG" && \ 16668 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre >= 1.0\""; } >&5 16669 ($PKG_CONFIG --exists --print-errors "libpcre >= 1.0") 2>&5 16670 ac_status=$? 16671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16672 test $ac_status = 0; }; then 16673 pkg_cv_PCRE_LIBS=`$PKG_CONFIG --libs "libpcre >= 1.0" 2>/dev/null` 16674 test "x$?" != "x0" && pkg_failed=yes 16675else 16676 pkg_failed=yes 16677fi 16678 else 16679 pkg_failed=untried 16680fi 16681 16682 16683 16684if test $pkg_failed = yes; then 16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16686$as_echo "no" >&6; } 16687 16688if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16689 _pkg_short_errors_supported=yes 16690else 16691 _pkg_short_errors_supported=no 16692fi 16693 if test $_pkg_short_errors_supported = yes; then 16694 PCRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpcre >= 1.0" 2>&1` 16695 else 16696 PCRE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpcre >= 1.0" 2>&1` 16697 fi 16698 # Put the nasty error message in config.log where it belongs 16699 echo "$PCRE_PKG_ERRORS" >&5 16700 16701 as_fn_error $? "libpcre is not installed. It is used for setting tags from input filename. 16702 16703 Install it or configure with \"--disable-pcre\"." "$LINENO" 5 16704elif test $pkg_failed = untried; then 16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16706$as_echo "no" >&6; } 16707 as_fn_error $? "libpcre is not installed. It is used for setting tags from input filename. 16708 16709 Install it or configure with \"--disable-pcre\"." "$LINENO" 5 16710else 16711 PCRE_CFLAGS=$pkg_cv_PCRE_CFLAGS 16712 PCRE_LIBS=$pkg_cv_PCRE_LIBS 16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16714$as_echo "yes" >&6; } 16715 if true; then 16716 PCRE_TRUE= 16717 PCRE_FALSE='#' 16718else 16719 PCRE_TRUE='#' 16720 PCRE_FALSE= 16721fi 16722 pcre="yes" 16723fi 16724fi 16725 16726################################################# 16727# Documentation of the code 16728# (but only if doxygen is installed) 16729################################################# 16730 16731doxygen_doc="no" 16732with_graphviz="no" 16733# Check whether --enable-doxygen_doc was given. 16734if test "${enable_doxygen_doc+set}" = set; then : 16735 enableval=$enable_doxygen_doc; enable_doxygen_doc=$enableval 16736else 16737 enable_doxygen_doc="yes" 16738fi 16739 16740 16741 if false; then 16742 HAVE_DOXYGEN_TRUE= 16743 HAVE_DOXYGEN_FALSE='#' 16744else 16745 HAVE_DOXYGEN_TRUE='#' 16746 HAVE_DOXYGEN_FALSE= 16747fi 16748 16749 if false; then 16750 HAVE_GRAPHVIZ_TRUE= 16751 HAVE_GRAPHVIZ_FALSE='#' 16752else 16753 HAVE_GRAPHVIZ_TRUE='#' 16754 HAVE_GRAPHVIZ_FALSE= 16755fi 16756 16757if test "x$enable_doxygen_doc" = xyes;then 16758 # Extract the first word of "doxygen", so it can be a program name with args. 16759set dummy doxygen; ac_word=$2 16760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16761$as_echo_n "checking for $ac_word... " >&6; } 16762if ${ac_cv_path_DOXYGEN+:} false; then : 16763 $as_echo_n "(cached) " >&6 16764else 16765 case $DOXYGEN in 16766 [\\/]* | ?:[\\/]*) 16767 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. 16768 ;; 16769 *) 16770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16771for as_dir in $PATH 16772do 16773 IFS=$as_save_IFS 16774 test -z "$as_dir" && as_dir=. 16775 for ac_exec_ext in '' $ac_executable_extensions; do 16776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16777 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 16778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16779 break 2 16780 fi 16781done 16782 done 16783IFS=$as_save_IFS 16784 16785 ;; 16786esac 16787fi 16788DOXYGEN=$ac_cv_path_DOXYGEN 16789if test -n "$DOXYGEN"; then 16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 16791$as_echo "$DOXYGEN" >&6; } 16792else 16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16794$as_echo "no" >&6; } 16795fi 16796 16797 16798 16799 16800 if test "x$DOXYGEN" != "x"; then 16801 if true; then 16802 HAVE_DOXYGEN_TRUE= 16803 HAVE_DOXYGEN_FALSE='#' 16804else 16805 HAVE_DOXYGEN_TRUE='#' 16806 HAVE_DOXYGEN_FALSE= 16807fi 16808 16809 doxygen_doc="yes" 16810 16811 # Extract the first word of "dot", so it can be a program name with args. 16812set dummy dot; ac_word=$2 16813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16814$as_echo_n "checking for $ac_word... " >&6; } 16815if ${ac_cv_path_GRAPHVIZ+:} false; then : 16816 $as_echo_n "(cached) " >&6 16817else 16818 case $GRAPHVIZ in 16819 [\\/]* | ?:[\\/]*) 16820 ac_cv_path_GRAPHVIZ="$GRAPHVIZ" # Let the user override the test with a path. 16821 ;; 16822 *) 16823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16824for as_dir in $PATH 16825do 16826 IFS=$as_save_IFS 16827 test -z "$as_dir" && as_dir=. 16828 for ac_exec_ext in '' $ac_executable_extensions; do 16829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16830 ac_cv_path_GRAPHVIZ="$as_dir/$ac_word$ac_exec_ext" 16831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16832 break 2 16833 fi 16834done 16835 done 16836IFS=$as_save_IFS 16837 16838 ;; 16839esac 16840fi 16841GRAPHVIZ=$ac_cv_path_GRAPHVIZ 16842if test -n "$GRAPHVIZ"; then 16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRAPHVIZ" >&5 16844$as_echo "$GRAPHVIZ" >&6; } 16845else 16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16847$as_echo "no" >&6; } 16848fi 16849 16850 16851 16852 if test "x$GRAPHVIZ" = "x"; then 16853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dot from the graphviz package not found, inheritance diagrams will not be generated in code documentation" >&5 16854$as_echo "$as_me: WARNING: *** dot from the graphviz package not found, inheritance diagrams will not be generated in code documentation" >&2;} 16855 else 16856 if true; then 16857 HAVE_GRAPHVIZ_TRUE= 16858 HAVE_GRAPHVIZ_FALSE='#' 16859else 16860 HAVE_GRAPHVIZ_TRUE='#' 16861 HAVE_GRAPHVIZ_FALSE= 16862fi 16863 16864 with_graphviz="yes" 16865 fi 16866 16867 fi 16868fi 16869 16870################################################# 16871# Print the configuration to the screen 16872################################################# 16873 16874echo 16875echo "---------------------------------------------------------" 16876echo "Configuration for libmp3splt version "0.9.2" :" 16877echo 16878echo " install path: $prefix" 16879echo 16880echo " Plugins :" 16881echo 16882echo " libmad (mp3 format) $mp3" 16883echo " libogg, libvorbis (ogg/vorbis format) $ogg" 16884echo " libFLAC (flac format) $flac" 16885echo 16886echo " Other :" 16887echo 16888echo " pcre (for setting tags from the input filename) $pcre" 16889 16890if test "x$mp3" = "xyes"; then 16891 echo " libid3tag (for handling id3 tags) $id3" 16892 if test "x$id3" = "xno" && test "x$with_id3" = "xyes"; then 16893 echo 16894 echo " install libid3tag from http://sourceforge.net/projects/id3/" 16895 echo " to have this feature supported" 16896 fi 16897 echo 16898fi 16899 16900echo " doxygen documentation $doxygen_doc" 16901echo " with graphviz $with_graphviz" 16902echo "---------------------------------------------------------" 16903echo 16904 16905################################################# 16906# Generate Makefile 16907################################################# 16908 16909ac_config_files="$ac_config_files Makefile libmp3splt.pc src/Makefile po/Makefile.in plugins/Makefile test/Makefile m4/Makefile doc/Makefile doc/Doxyfile_all doc/Doxyfile_api doc/examples/Makefile include/libmp3splt/version.h" 16910 16911 16912cat >confcache <<\_ACEOF 16913# This file is a shell script that caches the results of configure 16914# tests run on this system so they can be shared between configure 16915# scripts and configure runs, see configure's option --config-cache. 16916# It is not useful on other systems. If it contains results you don't 16917# want to keep, you may remove or edit it. 16918# 16919# config.status only pays attention to the cache file if you give it 16920# the --recheck option to rerun configure. 16921# 16922# `ac_cv_env_foo' variables (set or unset) will be overridden when 16923# loading this file, other *unset* `ac_cv_foo' will be assigned the 16924# following values. 16925 16926_ACEOF 16927 16928# The following way of writing the cache mishandles newlines in values, 16929# but we know of no workaround that is simple, portable, and efficient. 16930# So, we kill variables containing newlines. 16931# Ultrix sh set writes to stderr and can't be redirected directly, 16932# and sets the high bit in the cache file unless we assign to the vars. 16933( 16934 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 16935 eval ac_val=\$$ac_var 16936 case $ac_val in #( 16937 *${as_nl}*) 16938 case $ac_var in #( 16939 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16940$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16941 esac 16942 case $ac_var in #( 16943 _ | IFS | as_nl) ;; #( 16944 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16945 *) { eval $ac_var=; unset $ac_var;} ;; 16946 esac ;; 16947 esac 16948 done 16949 16950 (set) 2>&1 | 16951 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16952 *${as_nl}ac_space=\ *) 16953 # `set' does not quote correctly, so add quotes: double-quote 16954 # substitution turns \\\\ into \\, and sed turns \\ into \. 16955 sed -n \ 16956 "s/'/'\\\\''/g; 16957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16958 ;; #( 16959 *) 16960 # `set' quotes correctly as required by POSIX, so do not add quotes. 16961 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16962 ;; 16963 esac | 16964 sort 16965) | 16966 sed ' 16967 /^ac_cv_env_/b end 16968 t clear 16969 :clear 16970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16971 t end 16972 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16973 :end' >>confcache 16974if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16975 if test -w "$cache_file"; then 16976 if test "x$cache_file" != "x/dev/null"; then 16977 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16978$as_echo "$as_me: updating cache $cache_file" >&6;} 16979 if test ! -f "$cache_file" || test -h "$cache_file"; then 16980 cat confcache >"$cache_file" 16981 else 16982 case $cache_file in #( 16983 */* | ?:*) 16984 mv -f confcache "$cache_file"$$ && 16985 mv -f "$cache_file"$$ "$cache_file" ;; #( 16986 *) 16987 mv -f confcache "$cache_file" ;; 16988 esac 16989 fi 16990 fi 16991 else 16992 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16993$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16994 fi 16995fi 16996rm -f confcache 16997 16998test "x$prefix" = xNONE && prefix=$ac_default_prefix 16999# Let make expand exec_prefix. 17000test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 17001 17002DEFS=-DHAVE_CONFIG_H 17003 17004ac_libobjs= 17005ac_ltlibobjs= 17006U= 17007for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 17008 # 1. Remove the extension, and $U if already installed. 17009 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 17010 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 17011 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 17012 # will be set to the directory where LIBOBJS objects are built. 17013 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 17014 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 17015done 17016LIBOBJS=$ac_libobjs 17017 17018LTLIBOBJS=$ac_ltlibobjs 17019 17020 17021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 17022$as_echo_n "checking that generated files are newer than configure... " >&6; } 17023 if test -n "$am_sleep_pid"; then 17024 # Hide warnings about reused PIDs. 17025 wait $am_sleep_pid 2>/dev/null 17026 fi 17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 17028$as_echo "done" >&6; } 17029 if test -n "$EXEEXT"; then 17030 am__EXEEXT_TRUE= 17031 am__EXEEXT_FALSE='#' 17032else 17033 am__EXEEXT_TRUE='#' 17034 am__EXEEXT_FALSE= 17035fi 17036 17037if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 17038 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 17039Usually this means the macro was only invoked conditionally." "$LINENO" 5 17040fi 17041if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 17042 as_fn_error $? "conditional \"AMDEP\" was never defined. 17043Usually this means the macro was only invoked conditionally." "$LINENO" 5 17044fi 17045if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 17046 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 17047Usually this means the macro was only invoked conditionally." "$LINENO" 5 17048fi 17049 17050if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then 17051 as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined. 17052Usually this means the macro was only invoked conditionally." "$LINENO" 5 17053fi 17054if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then 17055 as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined. 17056Usually this means the macro was only invoked conditionally." "$LINENO" 5 17057fi 17058LT_CONFIG_H=config.h 17059 17060 _ltdl_libobjs= 17061 _ltdl_ltlibobjs= 17062 if test -n "$_LT_LIBOBJS"; then 17063 # Remove the extension. 17064 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//' 17065 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do 17066 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext" 17067 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo" 17068 done 17069 fi 17070 ltdl_LIBOBJS=$_ltdl_libobjs 17071 17072 ltdl_LTLIBOBJS=$_ltdl_ltlibobjs 17073 17074 17075if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then 17076 as_fn_error $? "conditional \"WIN32\" was never defined. 17077Usually this means the macro was only invoked conditionally." "$LINENO" 5 17078fi 17079if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then 17080 as_fn_error $? "conditional \"WIN32\" was never defined. 17081Usually this means the macro was only invoked conditionally." "$LINENO" 5 17082fi 17083if test -z "${IS_ON_WINDOWS_TRUE}" && test -z "${IS_ON_WINDOWS_FALSE}"; then 17084 as_fn_error $? "conditional \"IS_ON_WINDOWS\" was never defined. 17085Usually this means the macro was only invoked conditionally." "$LINENO" 5 17086fi 17087if test -z "${IS_ON_WINDOWS_TRUE}" && test -z "${IS_ON_WINDOWS_FALSE}"; then 17088 as_fn_error $? "conditional \"IS_ON_WINDOWS\" was never defined. 17089Usually this means the macro was only invoked conditionally." "$LINENO" 5 17090fi 17091if test -z "${MP3_PLUGIN_TRUE}" && test -z "${MP3_PLUGIN_FALSE}"; then 17092 as_fn_error $? "conditional \"MP3_PLUGIN\" was never defined. 17093Usually this means the macro was only invoked conditionally." "$LINENO" 5 17094fi 17095if test -z "${MP3_PLUGIN_TRUE}" && test -z "${MP3_PLUGIN_FALSE}"; then 17096 as_fn_error $? "conditional \"MP3_PLUGIN\" was never defined. 17097Usually this means the macro was only invoked conditionally." "$LINENO" 5 17098fi 17099if test -z "${ID3TAG_TRUE}" && test -z "${ID3TAG_FALSE}"; then 17100 as_fn_error $? "conditional \"ID3TAG\" was never defined. 17101Usually this means the macro was only invoked conditionally." "$LINENO" 5 17102fi 17103if test -z "${ID3TAG_TRUE}" && test -z "${ID3TAG_FALSE}"; then 17104 as_fn_error $? "conditional \"ID3TAG\" was never defined. 17105Usually this means the macro was only invoked conditionally." "$LINENO" 5 17106fi 17107if test -z "${OGG_PLUGIN_TRUE}" && test -z "${OGG_PLUGIN_FALSE}"; then 17108 as_fn_error $? "conditional \"OGG_PLUGIN\" was never defined. 17109Usually this means the macro was only invoked conditionally." "$LINENO" 5 17110fi 17111if test -z "${OGG_PLUGIN_TRUE}" && test -z "${OGG_PLUGIN_FALSE}"; then 17112 as_fn_error $? "conditional \"OGG_PLUGIN\" was never defined. 17113Usually this means the macro was only invoked conditionally." "$LINENO" 5 17114fi 17115if test -z "${FLAC_PLUGIN_TRUE}" && test -z "${FLAC_PLUGIN_FALSE}"; then 17116 as_fn_error $? "conditional \"FLAC_PLUGIN\" was never defined. 17117Usually this means the macro was only invoked conditionally." "$LINENO" 5 17118fi 17119if test -z "${FLAC_PLUGIN_TRUE}" && test -z "${FLAC_PLUGIN_FALSE}"; then 17120 as_fn_error $? "conditional \"FLAC_PLUGIN\" was never defined. 17121Usually this means the macro was only invoked conditionally." "$LINENO" 5 17122fi 17123if test -z "${HAS_CUTTER_TRUE}" && test -z "${HAS_CUTTER_FALSE}"; then 17124 as_fn_error $? "conditional \"HAS_CUTTER\" was never defined. 17125Usually this means the macro was only invoked conditionally." "$LINENO" 5 17126fi 17127if test -z "${HAS_CUTTER_TRUE}" && test -z "${HAS_CUTTER_FALSE}"; then 17128 as_fn_error $? "conditional \"HAS_CUTTER\" was never defined. 17129Usually this means the macro was only invoked conditionally." "$LINENO" 5 17130fi 17131if test -z "${PCRE_TRUE}" && test -z "${PCRE_FALSE}"; then 17132 as_fn_error $? "conditional \"PCRE\" was never defined. 17133Usually this means the macro was only invoked conditionally." "$LINENO" 5 17134fi 17135if test -z "${PCRE_TRUE}" && test -z "${PCRE_FALSE}"; then 17136 as_fn_error $? "conditional \"PCRE\" was never defined. 17137Usually this means the macro was only invoked conditionally." "$LINENO" 5 17138fi 17139if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then 17140 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined. 17141Usually this means the macro was only invoked conditionally." "$LINENO" 5 17142fi 17143if test -z "${HAVE_GRAPHVIZ_TRUE}" && test -z "${HAVE_GRAPHVIZ_FALSE}"; then 17144 as_fn_error $? "conditional \"HAVE_GRAPHVIZ\" was never defined. 17145Usually this means the macro was only invoked conditionally." "$LINENO" 5 17146fi 17147if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then 17148 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined. 17149Usually this means the macro was only invoked conditionally." "$LINENO" 5 17150fi 17151if test -z "${HAVE_GRAPHVIZ_TRUE}" && test -z "${HAVE_GRAPHVIZ_FALSE}"; then 17152 as_fn_error $? "conditional \"HAVE_GRAPHVIZ\" was never defined. 17153Usually this means the macro was only invoked conditionally." "$LINENO" 5 17154fi 17155 17156: "${CONFIG_STATUS=./config.status}" 17157ac_write_fail=0 17158ac_clean_files_save=$ac_clean_files 17159ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17160{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17161$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 17162as_write_fail=0 17163cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17164#! $SHELL 17165# Generated by $as_me. 17166# Run this file to recreate the current configuration. 17167# Compiler output produced by configure, useful for debugging 17168# configure, is in config.log if it exists. 17169 17170debug=false 17171ac_cs_recheck=false 17172ac_cs_silent=false 17173 17174SHELL=\${CONFIG_SHELL-$SHELL} 17175export SHELL 17176_ASEOF 17177cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 17178## -------------------- ## 17179## M4sh Initialization. ## 17180## -------------------- ## 17181 17182# Be more Bourne compatible 17183DUALCASE=1; export DUALCASE # for MKS sh 17184if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 17185 emulate sh 17186 NULLCMD=: 17187 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17188 # is contrary to our usage. Disable this feature. 17189 alias -g '${1+"$@"}'='"$@"' 17190 setopt NO_GLOB_SUBST 17191else 17192 case `(set -o) 2>/dev/null` in #( 17193 *posix*) : 17194 set -o posix ;; #( 17195 *) : 17196 ;; 17197esac 17198fi 17199 17200 17201as_nl=' 17202' 17203export as_nl 17204# Printing a long string crashes Solaris 7 /usr/bin/printf. 17205as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 17206as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 17207as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 17208# Prefer a ksh shell builtin over an external printf program on Solaris, 17209# but without wasting forks for bash or zsh. 17210if test -z "$BASH_VERSION$ZSH_VERSION" \ 17211 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 17212 as_echo='print -r --' 17213 as_echo_n='print -rn --' 17214elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17215 as_echo='printf %s\n' 17216 as_echo_n='printf %s' 17217else 17218 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 17219 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 17220 as_echo_n='/usr/ucb/echo -n' 17221 else 17222 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 17223 as_echo_n_body='eval 17224 arg=$1; 17225 case $arg in #( 17226 *"$as_nl"*) 17227 expr "X$arg" : "X\\(.*\\)$as_nl"; 17228 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 17229 esac; 17230 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 17231 ' 17232 export as_echo_n_body 17233 as_echo_n='sh -c $as_echo_n_body as_echo' 17234 fi 17235 export as_echo_body 17236 as_echo='sh -c $as_echo_body as_echo' 17237fi 17238 17239# The user is always right. 17240if test "${PATH_SEPARATOR+set}" != set; then 17241 PATH_SEPARATOR=: 17242 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 17243 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 17244 PATH_SEPARATOR=';' 17245 } 17246fi 17247 17248 17249# IFS 17250# We need space, tab and new line, in precisely that order. Quoting is 17251# there to prevent editors from complaining about space-tab. 17252# (If _AS_PATH_WALK were called with IFS unset, it would disable word 17253# splitting by setting IFS to empty value.) 17254IFS=" "" $as_nl" 17255 17256# Find who we are. Look in the path if we contain no directory separator. 17257as_myself= 17258case $0 in #(( 17259 *[\\/]* ) as_myself=$0 ;; 17260 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17261for as_dir in $PATH 17262do 17263 IFS=$as_save_IFS 17264 test -z "$as_dir" && as_dir=. 17265 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 17266 done 17267IFS=$as_save_IFS 17268 17269 ;; 17270esac 17271# We did not find ourselves, most probably we were run as `sh COMMAND' 17272# in which case we are not to be found in the path. 17273if test "x$as_myself" = x; then 17274 as_myself=$0 17275fi 17276if test ! -f "$as_myself"; then 17277 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 17278 exit 1 17279fi 17280 17281# Unset variables that we do not need and which cause bugs (e.g. in 17282# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 17283# suppresses any "Segmentation fault" message there. '((' could 17284# trigger a bug in pdksh 5.2.14. 17285for as_var in BASH_ENV ENV MAIL MAILPATH 17286do eval test x\${$as_var+set} = xset \ 17287 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17288done 17289PS1='$ ' 17290PS2='> ' 17291PS4='+ ' 17292 17293# NLS nuisances. 17294LC_ALL=C 17295export LC_ALL 17296LANGUAGE=C 17297export LANGUAGE 17298 17299# CDPATH. 17300(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17301 17302 17303# as_fn_error STATUS ERROR [LINENO LOG_FD] 17304# ---------------------------------------- 17305# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 17306# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 17307# script with STATUS, using 1 if that was 0. 17308as_fn_error () 17309{ 17310 as_status=$1; test $as_status -eq 0 && as_status=1 17311 if test "$4"; then 17312 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17313 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 17314 fi 17315 $as_echo "$as_me: error: $2" >&2 17316 as_fn_exit $as_status 17317} # as_fn_error 17318 17319 17320# as_fn_set_status STATUS 17321# ----------------------- 17322# Set $? to STATUS, without forking. 17323as_fn_set_status () 17324{ 17325 return $1 17326} # as_fn_set_status 17327 17328# as_fn_exit STATUS 17329# ----------------- 17330# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 17331as_fn_exit () 17332{ 17333 set +e 17334 as_fn_set_status $1 17335 exit $1 17336} # as_fn_exit 17337 17338# as_fn_unset VAR 17339# --------------- 17340# Portably unset VAR. 17341as_fn_unset () 17342{ 17343 { eval $1=; unset $1;} 17344} 17345as_unset=as_fn_unset 17346# as_fn_append VAR VALUE 17347# ---------------------- 17348# Append the text in VALUE to the end of the definition contained in VAR. Take 17349# advantage of any shell optimizations that allow amortized linear growth over 17350# repeated appends, instead of the typical quadratic growth present in naive 17351# implementations. 17352if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 17353 eval 'as_fn_append () 17354 { 17355 eval $1+=\$2 17356 }' 17357else 17358 as_fn_append () 17359 { 17360 eval $1=\$$1\$2 17361 } 17362fi # as_fn_append 17363 17364# as_fn_arith ARG... 17365# ------------------ 17366# Perform arithmetic evaluation on the ARGs, and store the result in the 17367# global $as_val. Take advantage of shells that can avoid forks. The arguments 17368# must be portable across $(()) and expr. 17369if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 17370 eval 'as_fn_arith () 17371 { 17372 as_val=$(( $* )) 17373 }' 17374else 17375 as_fn_arith () 17376 { 17377 as_val=`expr "$@" || test $? -eq 1` 17378 } 17379fi # as_fn_arith 17380 17381 17382if expr a : '\(a\)' >/dev/null 2>&1 && 17383 test "X`expr 00001 : '.*\(...\)'`" = X001; then 17384 as_expr=expr 17385else 17386 as_expr=false 17387fi 17388 17389if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 17390 as_basename=basename 17391else 17392 as_basename=false 17393fi 17394 17395if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 17396 as_dirname=dirname 17397else 17398 as_dirname=false 17399fi 17400 17401as_me=`$as_basename -- "$0" || 17402$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 17403 X"$0" : 'X\(//\)$' \| \ 17404 X"$0" : 'X\(/\)' \| . 2>/dev/null || 17405$as_echo X/"$0" | 17406 sed '/^.*\/\([^/][^/]*\)\/*$/{ 17407 s//\1/ 17408 q 17409 } 17410 /^X\/\(\/\/\)$/{ 17411 s//\1/ 17412 q 17413 } 17414 /^X\/\(\/\).*/{ 17415 s//\1/ 17416 q 17417 } 17418 s/.*/./; q'` 17419 17420# Avoid depending upon Character Ranges. 17421as_cr_letters='abcdefghijklmnopqrstuvwxyz' 17422as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 17423as_cr_Letters=$as_cr_letters$as_cr_LETTERS 17424as_cr_digits='0123456789' 17425as_cr_alnum=$as_cr_Letters$as_cr_digits 17426 17427ECHO_C= ECHO_N= ECHO_T= 17428case `echo -n x` in #((((( 17429-n*) 17430 case `echo 'xy\c'` in 17431 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 17432 xy) ECHO_C='\c';; 17433 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 17434 ECHO_T=' ';; 17435 esac;; 17436*) 17437 ECHO_N='-n';; 17438esac 17439 17440rm -f conf$$ conf$$.exe conf$$.file 17441if test -d conf$$.dir; then 17442 rm -f conf$$.dir/conf$$.file 17443else 17444 rm -f conf$$.dir 17445 mkdir conf$$.dir 2>/dev/null 17446fi 17447if (echo >conf$$.file) 2>/dev/null; then 17448 if ln -s conf$$.file conf$$ 2>/dev/null; then 17449 as_ln_s='ln -s' 17450 # ... but there are two gotchas: 17451 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 17452 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 17453 # In both cases, we have to default to `cp -pR'. 17454 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 17455 as_ln_s='cp -pR' 17456 elif ln conf$$.file conf$$ 2>/dev/null; then 17457 as_ln_s=ln 17458 else 17459 as_ln_s='cp -pR' 17460 fi 17461else 17462 as_ln_s='cp -pR' 17463fi 17464rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 17465rmdir conf$$.dir 2>/dev/null 17466 17467 17468# as_fn_mkdir_p 17469# ------------- 17470# Create "$as_dir" as a directory, including parents if necessary. 17471as_fn_mkdir_p () 17472{ 17473 17474 case $as_dir in #( 17475 -*) as_dir=./$as_dir;; 17476 esac 17477 test -d "$as_dir" || eval $as_mkdir_p || { 17478 as_dirs= 17479 while :; do 17480 case $as_dir in #( 17481 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17482 *) as_qdir=$as_dir;; 17483 esac 17484 as_dirs="'$as_qdir' $as_dirs" 17485 as_dir=`$as_dirname -- "$as_dir" || 17486$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17487 X"$as_dir" : 'X\(//\)[^/]' \| \ 17488 X"$as_dir" : 'X\(//\)$' \| \ 17489 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17490$as_echo X"$as_dir" | 17491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17492 s//\1/ 17493 q 17494 } 17495 /^X\(\/\/\)[^/].*/{ 17496 s//\1/ 17497 q 17498 } 17499 /^X\(\/\/\)$/{ 17500 s//\1/ 17501 q 17502 } 17503 /^X\(\/\).*/{ 17504 s//\1/ 17505 q 17506 } 17507 s/.*/./; q'` 17508 test -d "$as_dir" && break 17509 done 17510 test -z "$as_dirs" || eval "mkdir $as_dirs" 17511 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 17512 17513 17514} # as_fn_mkdir_p 17515if mkdir -p . 2>/dev/null; then 17516 as_mkdir_p='mkdir -p "$as_dir"' 17517else 17518 test -d ./-p && rmdir ./-p 17519 as_mkdir_p=false 17520fi 17521 17522 17523# as_fn_executable_p FILE 17524# ----------------------- 17525# Test if FILE is an executable regular file. 17526as_fn_executable_p () 17527{ 17528 test -f "$1" && test -x "$1" 17529} # as_fn_executable_p 17530as_test_x='test -x' 17531as_executable_p=as_fn_executable_p 17532 17533# Sed expression to map a string onto a valid CPP name. 17534as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17535 17536# Sed expression to map a string onto a valid variable name. 17537as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17538 17539 17540exec 6>&1 17541## ----------------------------------- ## 17542## Main body of $CONFIG_STATUS script. ## 17543## ----------------------------------- ## 17544_ASEOF 17545test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17546 17547cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17548# Save the log message, to keep $0 and so on meaningful, and to 17549# report actual input values of CONFIG_FILES etc. instead of their 17550# values after options handling. 17551ac_log=" 17552This file was extended by libmp3splt $as_me 0.9.2, which was 17553generated by GNU Autoconf 2.69. Invocation command line was 17554 17555 CONFIG_FILES = $CONFIG_FILES 17556 CONFIG_HEADERS = $CONFIG_HEADERS 17557 CONFIG_LINKS = $CONFIG_LINKS 17558 CONFIG_COMMANDS = $CONFIG_COMMANDS 17559 $ $0 $@ 17560 17561on `(hostname || uname -n) 2>/dev/null | sed 1q` 17562" 17563 17564_ACEOF 17565 17566case $ac_config_files in *" 17567"*) set x $ac_config_files; shift; ac_config_files=$*;; 17568esac 17569 17570case $ac_config_headers in *" 17571"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17572esac 17573 17574 17575cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17576# Files that config.status was made for. 17577config_files="$ac_config_files" 17578config_headers="$ac_config_headers" 17579config_commands="$ac_config_commands" 17580 17581_ACEOF 17582 17583cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17584ac_cs_usage="\ 17585\`$as_me' instantiates files and other configuration actions 17586from templates according to the current configuration. Unless the files 17587and actions are specified as TAGs, all are instantiated by default. 17588 17589Usage: $0 [OPTION]... [TAG]... 17590 17591 -h, --help print this help, then exit 17592 -V, --version print version number and configuration settings, then exit 17593 --config print configuration, then exit 17594 -q, --quiet, --silent 17595 do not print progress messages 17596 -d, --debug don't remove temporary files 17597 --recheck update $as_me by reconfiguring in the same conditions 17598 --file=FILE[:TEMPLATE] 17599 instantiate the configuration file FILE 17600 --header=FILE[:TEMPLATE] 17601 instantiate the configuration header FILE 17602 17603Configuration files: 17604$config_files 17605 17606Configuration headers: 17607$config_headers 17608 17609Configuration commands: 17610$config_commands 17611 17612Report bugs to <m@ioalex.net>." 17613 17614_ACEOF 17615cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17616ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17617ac_cs_version="\\ 17618libmp3splt config.status 0.9.2 17619configured by $0, generated by GNU Autoconf 2.69, 17620 with options \\"\$ac_cs_config\\" 17621 17622Copyright (C) 2012 Free Software Foundation, Inc. 17623This config.status script is free software; the Free Software Foundation 17624gives unlimited permission to copy, distribute and modify it." 17625 17626ac_pwd='$ac_pwd' 17627srcdir='$srcdir' 17628INSTALL='$INSTALL' 17629MKDIR_P='$MKDIR_P' 17630AWK='$AWK' 17631test -n "\$AWK" || AWK=awk 17632_ACEOF 17633 17634cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17635# The default lists apply if the user does not specify any file. 17636ac_need_defaults=: 17637while test $# != 0 17638do 17639 case $1 in 17640 --*=?*) 17641 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17642 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17643 ac_shift=: 17644 ;; 17645 --*=) 17646 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17647 ac_optarg= 17648 ac_shift=: 17649 ;; 17650 *) 17651 ac_option=$1 17652 ac_optarg=$2 17653 ac_shift=shift 17654 ;; 17655 esac 17656 17657 case $ac_option in 17658 # Handling of the options. 17659 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17660 ac_cs_recheck=: ;; 17661 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17662 $as_echo "$ac_cs_version"; exit ;; 17663 --config | --confi | --conf | --con | --co | --c ) 17664 $as_echo "$ac_cs_config"; exit ;; 17665 --debug | --debu | --deb | --de | --d | -d ) 17666 debug=: ;; 17667 --file | --fil | --fi | --f ) 17668 $ac_shift 17669 case $ac_optarg in 17670 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17671 '') as_fn_error $? "missing file argument" ;; 17672 esac 17673 as_fn_append CONFIG_FILES " '$ac_optarg'" 17674 ac_need_defaults=false;; 17675 --header | --heade | --head | --hea ) 17676 $ac_shift 17677 case $ac_optarg in 17678 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17679 esac 17680 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17681 ac_need_defaults=false;; 17682 --he | --h) 17683 # Conflict between --help and --header 17684 as_fn_error $? "ambiguous option: \`$1' 17685Try \`$0 --help' for more information.";; 17686 --help | --hel | -h ) 17687 $as_echo "$ac_cs_usage"; exit ;; 17688 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17689 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17690 ac_cs_silent=: ;; 17691 17692 # This is an error. 17693 -*) as_fn_error $? "unrecognized option: \`$1' 17694Try \`$0 --help' for more information." ;; 17695 17696 *) as_fn_append ac_config_targets " $1" 17697 ac_need_defaults=false ;; 17698 17699 esac 17700 shift 17701done 17702 17703ac_configure_extra_args= 17704 17705if $ac_cs_silent; then 17706 exec 6>/dev/null 17707 ac_configure_extra_args="$ac_configure_extra_args --silent" 17708fi 17709 17710_ACEOF 17711cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17712if \$ac_cs_recheck; then 17713 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17714 shift 17715 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17716 CONFIG_SHELL='$SHELL' 17717 export CONFIG_SHELL 17718 exec "\$@" 17719fi 17720 17721_ACEOF 17722cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17723exec 5>>config.log 17724{ 17725 echo 17726 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17727## Running $as_me. ## 17728_ASBOX 17729 $as_echo "$ac_log" 17730} >&5 17731 17732_ACEOF 17733cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17734# 17735# INIT-COMMANDS 17736# 17737AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 17738# Capture the value of obsolete ALL_LINGUAS because we need it to compute 17739 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 17740 # from automake. 17741 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 17742 # Capture the value of LINGUAS because we need it to compute CATALOGS. 17743 LINGUAS="${LINGUAS-%UNSET%}" 17744 17745 17746 17747# The HP-UX ksh and POSIX shell print the target directory to stdout 17748# if CDPATH is set. 17749(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17750 17751sed_quote_subst='$sed_quote_subst' 17752double_quote_subst='$double_quote_subst' 17753delay_variable_subst='$delay_variable_subst' 17754macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17755macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17756AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 17757DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 17758OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 17759enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17760enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17761pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17762enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17763SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17764ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17765PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 17766host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17767host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 17768host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 17769build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 17770build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 17771build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 17772SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 17773Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 17774GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 17775EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 17776FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 17777LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 17778NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 17779LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 17780max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 17781ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 17782exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17783lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17784lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17785lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17786lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 17787lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 17788reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 17789reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 17790deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 17791file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 17792file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 17793want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 17794sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 17795AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 17796AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 17797archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 17798STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17799RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17800old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17801old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17802old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 17803lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 17804CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 17805CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 17806compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 17807GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 17808lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 17809lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 17810lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 17811lt_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"`' 17812nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 17813lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 17814objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 17815MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 17816lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 17817lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 17818lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 17819lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 17820lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 17821need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 17822MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 17823DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 17824NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 17825LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 17826OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 17827OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 17828libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 17829shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 17830extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17831archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 17832enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 17833export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 17834whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 17835compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 17836old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 17837old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17838archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 17839archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17840module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 17841module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17842with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 17843allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 17844no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 17845hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 17846hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 17847hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 17848hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 17849hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 17850hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 17851hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 17852inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 17853link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 17854always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 17855export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 17856exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 17857include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 17858prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 17859postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 17860file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 17861variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 17862need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 17863need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 17864version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 17865runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 17866shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 17867shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 17868libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 17869library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 17870soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 17871install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 17872postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17873postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17874finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 17875finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 17876hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 17877sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 17878sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 17879hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 17880enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 17881enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 17882enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 17883old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 17884striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 17885 17886LTCC='$LTCC' 17887LTCFLAGS='$LTCFLAGS' 17888compiler='$compiler_DEFAULT' 17889 17890# A function that is used when there is no print builtin or printf. 17891func_fallback_echo () 17892{ 17893 eval 'cat <<_LTECHO_EOF 17894\$1 17895_LTECHO_EOF' 17896} 17897 17898# Quote evaled strings. 17899for var in AS \ 17900DLLTOOL \ 17901OBJDUMP \ 17902SHELL \ 17903ECHO \ 17904PATH_SEPARATOR \ 17905SED \ 17906GREP \ 17907EGREP \ 17908FGREP \ 17909LD \ 17910NM \ 17911LN_S \ 17912lt_SP2NL \ 17913lt_NL2SP \ 17914reload_flag \ 17915deplibs_check_method \ 17916file_magic_cmd \ 17917file_magic_glob \ 17918want_nocaseglob \ 17919sharedlib_from_linklib_cmd \ 17920AR \ 17921AR_FLAGS \ 17922archiver_list_spec \ 17923STRIP \ 17924RANLIB \ 17925CC \ 17926CFLAGS \ 17927compiler \ 17928lt_cv_sys_global_symbol_pipe \ 17929lt_cv_sys_global_symbol_to_cdecl \ 17930lt_cv_sys_global_symbol_to_c_name_address \ 17931lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17932nm_file_list_spec \ 17933lt_prog_compiler_no_builtin_flag \ 17934lt_prog_compiler_pic \ 17935lt_prog_compiler_wl \ 17936lt_prog_compiler_static \ 17937lt_cv_prog_compiler_c_o \ 17938need_locks \ 17939MANIFEST_TOOL \ 17940DSYMUTIL \ 17941NMEDIT \ 17942LIPO \ 17943OTOOL \ 17944OTOOL64 \ 17945shrext_cmds \ 17946export_dynamic_flag_spec \ 17947whole_archive_flag_spec \ 17948compiler_needs_object \ 17949with_gnu_ld \ 17950allow_undefined_flag \ 17951no_undefined_flag \ 17952hardcode_libdir_flag_spec \ 17953hardcode_libdir_separator \ 17954exclude_expsyms \ 17955include_expsyms \ 17956file_list_spec \ 17957variables_saved_for_relink \ 17958libname_spec \ 17959library_names_spec \ 17960soname_spec \ 17961install_override_mode \ 17962finish_eval \ 17963old_striplib \ 17964striplib; do 17965 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17966 *[\\\\\\\`\\"\\\$]*) 17967 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 17968 ;; 17969 *) 17970 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17971 ;; 17972 esac 17973done 17974 17975# Double-quote double-evaled strings. 17976for var in reload_cmds \ 17977old_postinstall_cmds \ 17978old_postuninstall_cmds \ 17979old_archive_cmds \ 17980extract_expsyms_cmds \ 17981old_archive_from_new_cmds \ 17982old_archive_from_expsyms_cmds \ 17983archive_cmds \ 17984archive_expsym_cmds \ 17985module_cmds \ 17986module_expsym_cmds \ 17987export_symbols_cmds \ 17988prelink_cmds \ 17989postlink_cmds \ 17990postinstall_cmds \ 17991postuninstall_cmds \ 17992finish_cmds \ 17993sys_lib_search_path_spec \ 17994sys_lib_dlsearch_path_spec; do 17995 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17996 *[\\\\\\\`\\"\\\$]*) 17997 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 17998 ;; 17999 *) 18000 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18001 ;; 18002 esac 18003done 18004 18005ac_aux_dir='$ac_aux_dir' 18006xsi_shell='$xsi_shell' 18007lt_shell_append='$lt_shell_append' 18008 18009# See if we are running on zsh, and set the options which allow our 18010# commands through without removal of \ escapes INIT. 18011if test -n "\${ZSH_VERSION+set}" ; then 18012 setopt NO_GLOB_SUBST 18013fi 18014 18015 18016 PACKAGE='$PACKAGE' 18017 VERSION='$VERSION' 18018 TIMESTAMP='$TIMESTAMP' 18019 RM='$RM' 18020 ofile='$ofile' 18021 18022 18023 18024 18025_ACEOF 18026 18027cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18028 18029# Handling of arguments. 18030for ac_config_target in $ac_config_targets 18031do 18032 case $ac_config_target in 18033 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 18034 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 18035 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 18036 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 18037 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 18038 "libmp3splt.pc") CONFIG_FILES="$CONFIG_FILES libmp3splt.pc" ;; 18039 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 18040 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 18041 "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;; 18042 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 18043 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 18044 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 18045 "doc/Doxyfile_all") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile_all" ;; 18046 "doc/Doxyfile_api") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile_api" ;; 18047 "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;; 18048 "include/libmp3splt/version.h") CONFIG_FILES="$CONFIG_FILES include/libmp3splt/version.h" ;; 18049 18050 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 18051 esac 18052done 18053 18054 18055# If the user did not use the arguments to specify the items to instantiate, 18056# then the envvar interface is used. Set only those that are not. 18057# We use the long form for the default assignment because of an extremely 18058# bizarre bug on SunOS 4.1.3. 18059if $ac_need_defaults; then 18060 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18061 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18062 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 18063fi 18064 18065# Have a temporary directory for convenience. Make it in the build tree 18066# simply because there is no reason against having it here, and in addition, 18067# creating and moving files from /tmp can sometimes cause problems. 18068# Hook for its removal unless debugging. 18069# Note that there is a small window in which the directory will not be cleaned: 18070# after its creation but before its name has been assigned to `$tmp'. 18071$debug || 18072{ 18073 tmp= ac_tmp= 18074 trap 'exit_status=$? 18075 : "${ac_tmp:=$tmp}" 18076 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 18077' 0 18078 trap 'as_fn_exit 1' 1 2 13 15 18079} 18080# Create a (secure) tmp directory for tmp files. 18081 18082{ 18083 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 18084 test -d "$tmp" 18085} || 18086{ 18087 tmp=./conf$$-$RANDOM 18088 (umask 077 && mkdir "$tmp") 18089} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 18090ac_tmp=$tmp 18091 18092# Set up the scripts for CONFIG_FILES section. 18093# No need to generate them if there are no CONFIG_FILES. 18094# This happens for instance with `./config.status config.h'. 18095if test -n "$CONFIG_FILES"; then 18096 18097 18098ac_cr=`echo X | tr X '\015'` 18099# On cygwin, bash can eat \r inside `` if the user requested igncr. 18100# But we know of no other shell where ac_cr would be empty at this 18101# point, so we can use a bashism as a fallback. 18102if test "x$ac_cr" = x; then 18103 eval ac_cr=\$\'\\r\' 18104fi 18105ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 18106if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 18107 ac_cs_awk_cr='\\r' 18108else 18109 ac_cs_awk_cr=$ac_cr 18110fi 18111 18112echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 18113_ACEOF 18114 18115 18116{ 18117 echo "cat >conf$$subs.awk <<_ACEOF" && 18118 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 18119 echo "_ACEOF" 18120} >conf$$subs.sh || 18121 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18122ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 18123ac_delim='%!_!# ' 18124for ac_last_try in false false false false false :; do 18125 . ./conf$$subs.sh || 18126 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18127 18128 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 18129 if test $ac_delim_n = $ac_delim_num; then 18130 break 18131 elif $ac_last_try; then 18132 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18133 else 18134 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18135 fi 18136done 18137rm -f conf$$subs.sh 18138 18139cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18140cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 18141_ACEOF 18142sed -n ' 18143h 18144s/^/S["/; s/!.*/"]=/ 18145p 18146g 18147s/^[^!]*!// 18148:repl 18149t repl 18150s/'"$ac_delim"'$// 18151t delim 18152:nl 18153h 18154s/\(.\{148\}\)..*/\1/ 18155t more1 18156s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 18157p 18158n 18159b repl 18160:more1 18161s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18162p 18163g 18164s/.\{148\}// 18165t nl 18166:delim 18167h 18168s/\(.\{148\}\)..*/\1/ 18169t more2 18170s/["\\]/\\&/g; s/^/"/; s/$/"/ 18171p 18172b 18173:more2 18174s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18175p 18176g 18177s/.\{148\}// 18178t delim 18179' <conf$$subs.awk | sed ' 18180/^[^""]/{ 18181 N 18182 s/\n// 18183} 18184' >>$CONFIG_STATUS || ac_write_fail=1 18185rm -f conf$$subs.awk 18186cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18187_ACAWK 18188cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 18189 for (key in S) S_is_set[key] = 1 18190 FS = "" 18191 18192} 18193{ 18194 line = $ 0 18195 nfields = split(line, field, "@") 18196 substed = 0 18197 len = length(field[1]) 18198 for (i = 2; i < nfields; i++) { 18199 key = field[i] 18200 keylen = length(key) 18201 if (S_is_set[key]) { 18202 value = S[key] 18203 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 18204 len += length(value) + length(field[++i]) 18205 substed = 1 18206 } else 18207 len += 1 + keylen 18208 } 18209 18210 print line 18211} 18212 18213_ACAWK 18214_ACEOF 18215cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18216if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 18217 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 18218else 18219 cat 18220fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 18221 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 18222_ACEOF 18223 18224# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 18225# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 18226# trailing colons and then remove the whole line if VPATH becomes empty 18227# (actually we leave an empty line to preserve line numbers). 18228if test "x$srcdir" = x.; then 18229 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 18230h 18231s/// 18232s/^/:/ 18233s/[ ]*$/:/ 18234s/:\$(srcdir):/:/g 18235s/:\${srcdir}:/:/g 18236s/:@srcdir@:/:/g 18237s/^:*// 18238s/:*$// 18239x 18240s/\(=[ ]*\).*/\1/ 18241G 18242s/\n// 18243s/^[^=]*=[ ]*$// 18244}' 18245fi 18246 18247cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18248fi # test -n "$CONFIG_FILES" 18249 18250# Set up the scripts for CONFIG_HEADERS section. 18251# No need to generate them if there are no CONFIG_HEADERS. 18252# This happens for instance with `./config.status Makefile'. 18253if test -n "$CONFIG_HEADERS"; then 18254cat >"$ac_tmp/defines.awk" <<\_ACAWK || 18255BEGIN { 18256_ACEOF 18257 18258# Transform confdefs.h into an awk script `defines.awk', embedded as 18259# here-document in config.status, that substitutes the proper values into 18260# config.h.in to produce config.h. 18261 18262# Create a delimiter string that does not exist in confdefs.h, to ease 18263# handling of long lines. 18264ac_delim='%!_!# ' 18265for ac_last_try in false false :; do 18266 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 18267 if test -z "$ac_tt"; then 18268 break 18269 elif $ac_last_try; then 18270 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 18271 else 18272 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18273 fi 18274done 18275 18276# For the awk script, D is an array of macro values keyed by name, 18277# likewise P contains macro parameters if any. Preserve backslash 18278# newline sequences. 18279 18280ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 18281sed -n ' 18282s/.\{148\}/&'"$ac_delim"'/g 18283t rset 18284:rset 18285s/^[ ]*#[ ]*define[ ][ ]*/ / 18286t def 18287d 18288:def 18289s/\\$// 18290t bsnl 18291s/["\\]/\\&/g 18292s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18293D["\1"]=" \3"/p 18294s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 18295d 18296:bsnl 18297s/["\\]/\\&/g 18298s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18299D["\1"]=" \3\\\\\\n"\\/p 18300t cont 18301s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 18302t cont 18303d 18304:cont 18305n 18306s/.\{148\}/&'"$ac_delim"'/g 18307t clear 18308:clear 18309s/\\$// 18310t bsnlc 18311s/["\\]/\\&/g; s/^/"/; s/$/"/p 18312d 18313:bsnlc 18314s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 18315b cont 18316' <confdefs.h | sed ' 18317s/'"$ac_delim"'/"\\\ 18318"/g' >>$CONFIG_STATUS || ac_write_fail=1 18319 18320cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18321 for (key in D) D_is_set[key] = 1 18322 FS = "" 18323} 18324/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 18325 line = \$ 0 18326 split(line, arg, " ") 18327 if (arg[1] == "#") { 18328 defundef = arg[2] 18329 mac1 = arg[3] 18330 } else { 18331 defundef = substr(arg[1], 2) 18332 mac1 = arg[2] 18333 } 18334 split(mac1, mac2, "(") #) 18335 macro = mac2[1] 18336 prefix = substr(line, 1, index(line, defundef) - 1) 18337 if (D_is_set[macro]) { 18338 # Preserve the white space surrounding the "#". 18339 print prefix "define", macro P[macro] D[macro] 18340 next 18341 } else { 18342 # Replace #undef with comments. This is necessary, for example, 18343 # in the case of _POSIX_SOURCE, which is predefined and required 18344 # on some systems where configure will not decide to define it. 18345 if (defundef == "undef") { 18346 print "/*", prefix defundef, macro, "*/" 18347 next 18348 } 18349 } 18350} 18351{ print } 18352_ACAWK 18353_ACEOF 18354cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18355 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 18356fi # test -n "$CONFIG_HEADERS" 18357 18358 18359eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 18360shift 18361for ac_tag 18362do 18363 case $ac_tag in 18364 :[FHLC]) ac_mode=$ac_tag; continue;; 18365 esac 18366 case $ac_mode$ac_tag in 18367 :[FHL]*:*);; 18368 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 18369 :[FH]-) ac_tag=-:-;; 18370 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 18371 esac 18372 ac_save_IFS=$IFS 18373 IFS=: 18374 set x $ac_tag 18375 IFS=$ac_save_IFS 18376 shift 18377 ac_file=$1 18378 shift 18379 18380 case $ac_mode in 18381 :L) ac_source=$1;; 18382 :[FH]) 18383 ac_file_inputs= 18384 for ac_f 18385 do 18386 case $ac_f in 18387 -) ac_f="$ac_tmp/stdin";; 18388 *) # Look for the file first in the build tree, then in the source tree 18389 # (if the path is not absolute). The absolute path cannot be DOS-style, 18390 # because $ac_f cannot contain `:'. 18391 test -f "$ac_f" || 18392 case $ac_f in 18393 [\\/$]*) false;; 18394 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 18395 esac || 18396 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 18397 esac 18398 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 18399 as_fn_append ac_file_inputs " '$ac_f'" 18400 done 18401 18402 # Let's still pretend it is `configure' which instantiates (i.e., don't 18403 # use $as_me), people would be surprised to read: 18404 # /* config.h. Generated by config.status. */ 18405 configure_input='Generated from '` 18406 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 18407 `' by configure.' 18408 if test x"$ac_file" != x-; then 18409 configure_input="$ac_file. $configure_input" 18410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 18411$as_echo "$as_me: creating $ac_file" >&6;} 18412 fi 18413 # Neutralize special characters interpreted by sed in replacement strings. 18414 case $configure_input in #( 18415 *\&* | *\|* | *\\* ) 18416 ac_sed_conf_input=`$as_echo "$configure_input" | 18417 sed 's/[\\\\&|]/\\\\&/g'`;; #( 18418 *) ac_sed_conf_input=$configure_input;; 18419 esac 18420 18421 case $ac_tag in 18422 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 18423 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 18424 esac 18425 ;; 18426 esac 18427 18428 ac_dir=`$as_dirname -- "$ac_file" || 18429$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18430 X"$ac_file" : 'X\(//\)[^/]' \| \ 18431 X"$ac_file" : 'X\(//\)$' \| \ 18432 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 18433$as_echo X"$ac_file" | 18434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18435 s//\1/ 18436 q 18437 } 18438 /^X\(\/\/\)[^/].*/{ 18439 s//\1/ 18440 q 18441 } 18442 /^X\(\/\/\)$/{ 18443 s//\1/ 18444 q 18445 } 18446 /^X\(\/\).*/{ 18447 s//\1/ 18448 q 18449 } 18450 s/.*/./; q'` 18451 as_dir="$ac_dir"; as_fn_mkdir_p 18452 ac_builddir=. 18453 18454case "$ac_dir" in 18455.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18456*) 18457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18458 # A ".." for each directory in $ac_dir_suffix. 18459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18460 case $ac_top_builddir_sub in 18461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 18462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 18463 esac ;; 18464esac 18465ac_abs_top_builddir=$ac_pwd 18466ac_abs_builddir=$ac_pwd$ac_dir_suffix 18467# for backward compatibility: 18468ac_top_builddir=$ac_top_build_prefix 18469 18470case $srcdir in 18471 .) # We are building in place. 18472 ac_srcdir=. 18473 ac_top_srcdir=$ac_top_builddir_sub 18474 ac_abs_top_srcdir=$ac_pwd ;; 18475 [\\/]* | ?:[\\/]* ) # Absolute name. 18476 ac_srcdir=$srcdir$ac_dir_suffix; 18477 ac_top_srcdir=$srcdir 18478 ac_abs_top_srcdir=$srcdir ;; 18479 *) # Relative name. 18480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 18481 ac_top_srcdir=$ac_top_build_prefix$srcdir 18482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 18483esac 18484ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 18485 18486 18487 case $ac_mode in 18488 :F) 18489 # 18490 # CONFIG_FILE 18491 # 18492 18493 case $INSTALL in 18494 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18495 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18496 esac 18497 ac_MKDIR_P=$MKDIR_P 18498 case $MKDIR_P in 18499 [\\/$]* | ?:[\\/]* ) ;; 18500 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 18501 esac 18502_ACEOF 18503 18504cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18505# If the template does not know about datarootdir, expand it. 18506# FIXME: This hack should be removed a few years after 2.60. 18507ac_datarootdir_hack=; ac_datarootdir_seen= 18508ac_sed_dataroot=' 18509/datarootdir/ { 18510 p 18511 q 18512} 18513/@datadir@/p 18514/@docdir@/p 18515/@infodir@/p 18516/@localedir@/p 18517/@mandir@/p' 18518case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18519*datarootdir*) ac_datarootdir_seen=yes;; 18520*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18522$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18523_ACEOF 18524cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18525 ac_datarootdir_hack=' 18526 s&@datadir@&$datadir&g 18527 s&@docdir@&$docdir&g 18528 s&@infodir@&$infodir&g 18529 s&@localedir@&$localedir&g 18530 s&@mandir@&$mandir&g 18531 s&\\\${datarootdir}&$datarootdir&g' ;; 18532esac 18533_ACEOF 18534 18535# Neutralize VPATH when `$srcdir' = `.'. 18536# Shell code in configure.ac might set extrasub. 18537# FIXME: do we really want to maintain this feature? 18538cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18539ac_sed_extra="$ac_vpsub 18540$extrasub 18541_ACEOF 18542cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18543:t 18544/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18545s|@configure_input@|$ac_sed_conf_input|;t t 18546s&@top_builddir@&$ac_top_builddir_sub&;t t 18547s&@top_build_prefix@&$ac_top_build_prefix&;t t 18548s&@srcdir@&$ac_srcdir&;t t 18549s&@abs_srcdir@&$ac_abs_srcdir&;t t 18550s&@top_srcdir@&$ac_top_srcdir&;t t 18551s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18552s&@builddir@&$ac_builddir&;t t 18553s&@abs_builddir@&$ac_abs_builddir&;t t 18554s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18555s&@INSTALL@&$ac_INSTALL&;t t 18556s&@MKDIR_P@&$ac_MKDIR_P&;t t 18557$ac_datarootdir_hack 18558" 18559eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18560 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18561 18562test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18563 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18564 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18565 "$ac_tmp/out"`; test -z "$ac_out"; } && 18566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18567which seems to be undefined. Please make sure it is defined" >&5 18568$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18569which seems to be undefined. Please make sure it is defined" >&2;} 18570 18571 rm -f "$ac_tmp/stdin" 18572 case $ac_file in 18573 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18574 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18575 esac \ 18576 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18577 ;; 18578 :H) 18579 # 18580 # CONFIG_HEADER 18581 # 18582 if test x"$ac_file" != x-; then 18583 { 18584 $as_echo "/* $configure_input */" \ 18585 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18586 } >"$ac_tmp/config.h" \ 18587 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18588 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18589 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18590$as_echo "$as_me: $ac_file is unchanged" >&6;} 18591 else 18592 rm -f "$ac_file" 18593 mv "$ac_tmp/config.h" "$ac_file" \ 18594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18595 fi 18596 else 18597 $as_echo "/* $configure_input */" \ 18598 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18599 || as_fn_error $? "could not create -" "$LINENO" 5 18600 fi 18601# Compute "$ac_file"'s index in $config_headers. 18602_am_arg="$ac_file" 18603_am_stamp_count=1 18604for _am_header in $config_headers :; do 18605 case $_am_header in 18606 $_am_arg | $_am_arg:* ) 18607 break ;; 18608 * ) 18609 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18610 esac 18611done 18612echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18613$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18614 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18615 X"$_am_arg" : 'X\(//\)$' \| \ 18616 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18617$as_echo X"$_am_arg" | 18618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18619 s//\1/ 18620 q 18621 } 18622 /^X\(\/\/\)[^/].*/{ 18623 s//\1/ 18624 q 18625 } 18626 /^X\(\/\/\)$/{ 18627 s//\1/ 18628 q 18629 } 18630 /^X\(\/\).*/{ 18631 s//\1/ 18632 q 18633 } 18634 s/.*/./; q'`/stamp-h$_am_stamp_count 18635 ;; 18636 18637 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18638$as_echo "$as_me: executing $ac_file commands" >&6;} 18639 ;; 18640 esac 18641 18642 18643 case $ac_file$ac_mode in 18644 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18645 # Older Autoconf quotes --file arguments for eval, but not when files 18646 # are listed without --file. Let's play safe and only enable the eval 18647 # if we detect the quoting. 18648 case $CONFIG_FILES in 18649 *\'*) eval set x "$CONFIG_FILES" ;; 18650 *) set x $CONFIG_FILES ;; 18651 esac 18652 shift 18653 for mf 18654 do 18655 # Strip MF so we end up with the name of the file. 18656 mf=`echo "$mf" | sed -e 's/:.*$//'` 18657 # Check whether this is an Automake generated Makefile or not. 18658 # We used to match only the files named 'Makefile.in', but 18659 # some people rename them; so instead we look at the file content. 18660 # Grep'ing the first line is not enough: some people post-process 18661 # each Makefile.in and add a new line on top of each file to say so. 18662 # Grep'ing the whole file is not good either: AIX grep has a line 18663 # limit of 2048, but all sed's we know have understand at least 4000. 18664 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 18665 dirpart=`$as_dirname -- "$mf" || 18666$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18667 X"$mf" : 'X\(//\)[^/]' \| \ 18668 X"$mf" : 'X\(//\)$' \| \ 18669 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 18670$as_echo X"$mf" | 18671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18672 s//\1/ 18673 q 18674 } 18675 /^X\(\/\/\)[^/].*/{ 18676 s//\1/ 18677 q 18678 } 18679 /^X\(\/\/\)$/{ 18680 s//\1/ 18681 q 18682 } 18683 /^X\(\/\).*/{ 18684 s//\1/ 18685 q 18686 } 18687 s/.*/./; q'` 18688 else 18689 continue 18690 fi 18691 # Extract the definition of DEPDIR, am__include, and am__quote 18692 # from the Makefile without running 'make'. 18693 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 18694 test -z "$DEPDIR" && continue 18695 am__include=`sed -n 's/^am__include = //p' < "$mf"` 18696 test -z "$am__include" && continue 18697 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 18698 # Find all dependency output files, they are included files with 18699 # $(DEPDIR) in their names. We invoke sed twice because it is the 18700 # simplest approach to changing $(DEPDIR) to its actual value in the 18701 # expansion. 18702 for file in `sed -n " 18703 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 18704 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 18705 # Make sure the directory exists. 18706 test -f "$dirpart/$file" && continue 18707 fdir=`$as_dirname -- "$file" || 18708$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18709 X"$file" : 'X\(//\)[^/]' \| \ 18710 X"$file" : 'X\(//\)$' \| \ 18711 X"$file" : 'X\(/\)' \| . 2>/dev/null || 18712$as_echo X"$file" | 18713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18714 s//\1/ 18715 q 18716 } 18717 /^X\(\/\/\)[^/].*/{ 18718 s//\1/ 18719 q 18720 } 18721 /^X\(\/\/\)$/{ 18722 s//\1/ 18723 q 18724 } 18725 /^X\(\/\).*/{ 18726 s//\1/ 18727 q 18728 } 18729 s/.*/./; q'` 18730 as_dir=$dirpart/$fdir; as_fn_mkdir_p 18731 # echo "creating $dirpart/$file" 18732 echo '# dummy' > "$dirpart/$file" 18733 done 18734 done 18735} 18736 ;; 18737 "default-1":C) 18738 for ac_file in $CONFIG_FILES; do 18739 # Support "outfile[:infile[:infile...]]" 18740 case "$ac_file" in 18741 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 18742 esac 18743 # PO directories have a Makefile.in generated from Makefile.in.in. 18744 case "$ac_file" in */Makefile.in) 18745 # Adjust a relative srcdir. 18746 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 18747 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 18748 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 18749 # In autoconf-2.13 it is called $ac_given_srcdir. 18750 # In autoconf-2.50 it is called $srcdir. 18751 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 18752 case "$ac_given_srcdir" in 18753 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 18754 /*) top_srcdir="$ac_given_srcdir" ;; 18755 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 18756 esac 18757 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 18758 rm -f "$ac_dir/POTFILES" 18759 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 18760 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 18761 POMAKEFILEDEPS="POTFILES.in" 18762 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 18763 # on $ac_dir but don't depend on user-specified configuration 18764 # parameters. 18765 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 18766 # The LINGUAS file contains the set of available languages. 18767 if test -n "$OBSOLETE_ALL_LINGUAS"; then 18768 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 18769 fi 18770 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` 18771 # Hide the ALL_LINGUAS assigment from automake. 18772 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 18773 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 18774 else 18775 # The set of available languages was given in configure.in. 18776 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 18777 fi 18778 # Compute POFILES 18779 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 18780 # Compute UPDATEPOFILES 18781 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 18782 # Compute DUMMYPOFILES 18783 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 18784 # Compute GMOFILES 18785 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 18786 case "$ac_given_srcdir" in 18787 .) srcdirpre= ;; 18788 *) srcdirpre='$(srcdir)/' ;; 18789 esac 18790 POFILES= 18791 UPDATEPOFILES= 18792 DUMMYPOFILES= 18793 GMOFILES= 18794 for lang in $ALL_LINGUAS; do 18795 POFILES="$POFILES $srcdirpre$lang.po" 18796 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 18797 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 18798 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 18799 done 18800 # CATALOGS depends on both $ac_dir and the user's LINGUAS 18801 # environment variable. 18802 INST_LINGUAS= 18803 if test -n "$ALL_LINGUAS"; then 18804 for presentlang in $ALL_LINGUAS; do 18805 useit=no 18806 if test "%UNSET%" != "$LINGUAS"; then 18807 desiredlanguages="$LINGUAS" 18808 else 18809 desiredlanguages="$ALL_LINGUAS" 18810 fi 18811 for desiredlang in $desiredlanguages; do 18812 # Use the presentlang catalog if desiredlang is 18813 # a. equal to presentlang, or 18814 # b. a variant of presentlang (because in this case, 18815 # presentlang can be used as a fallback for messages 18816 # which are not translated in the desiredlang catalog). 18817 case "$desiredlang" in 18818 "$presentlang"*) useit=yes;; 18819 esac 18820 done 18821 if test $useit = yes; then 18822 INST_LINGUAS="$INST_LINGUAS $presentlang" 18823 fi 18824 done 18825 fi 18826 CATALOGS= 18827 if test -n "$INST_LINGUAS"; then 18828 for lang in $INST_LINGUAS; do 18829 CATALOGS="$CATALOGS $lang.gmo" 18830 done 18831 fi 18832 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 18833 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 18834 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 18835 if test -f "$f"; then 18836 case "$f" in 18837 *.orig | *.bak | *~) ;; 18838 *) cat "$f" >> "$ac_dir/Makefile" ;; 18839 esac 18840 fi 18841 done 18842 fi 18843 ;; 18844 esac 18845 done ;; 18846 "libtool":C) 18847 18848 # See if we are running on zsh, and set the options which allow our 18849 # commands through without removal of \ escapes. 18850 if test -n "${ZSH_VERSION+set}" ; then 18851 setopt NO_GLOB_SUBST 18852 fi 18853 18854 cfgfile="${ofile}T" 18855 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 18856 $RM "$cfgfile" 18857 18858 cat <<_LT_EOF >> "$cfgfile" 18859#! $SHELL 18860 18861# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 18862# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 18863# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 18864# NOTE: Changes made to this file will be lost: look at ltmain.sh. 18865# 18866# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 18867# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 18868# Foundation, Inc. 18869# Written by Gordon Matzigkeit, 1996 18870# 18871# This file is part of GNU Libtool. 18872# 18873# GNU Libtool is free software; you can redistribute it and/or 18874# modify it under the terms of the GNU General Public License as 18875# published by the Free Software Foundation; either version 2 of 18876# the License, or (at your option) any later version. 18877# 18878# As a special exception to the GNU General Public License, 18879# if you distribute this file as part of a program or library that 18880# is built using GNU Libtool, you may include this file under the 18881# same distribution terms that you use for the rest of that program. 18882# 18883# GNU Libtool is distributed in the hope that it will be useful, 18884# but WITHOUT ANY WARRANTY; without even the implied warranty of 18885# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18886# GNU General Public License for more details. 18887# 18888# You should have received a copy of the GNU General Public License 18889# along with GNU Libtool; see the file COPYING. If not, a copy 18890# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 18891# obtained by writing to the Free Software Foundation, Inc., 18892# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18893 18894 18895# The names of the tagged configurations supported by this script. 18896available_tags="" 18897 18898# ### BEGIN LIBTOOL CONFIG 18899 18900# Which release of libtool.m4 was used? 18901macro_version=$macro_version 18902macro_revision=$macro_revision 18903 18904# Assembler program. 18905AS=$lt_AS 18906 18907# DLL creation program. 18908DLLTOOL=$lt_DLLTOOL 18909 18910# Object dumper program. 18911OBJDUMP=$lt_OBJDUMP 18912 18913# Whether or not to build shared libraries. 18914build_libtool_libs=$enable_shared 18915 18916# Whether or not to build static libraries. 18917build_old_libs=$enable_static 18918 18919# What type of objects to build. 18920pic_mode=$pic_mode 18921 18922# Whether or not to optimize for fast installation. 18923fast_install=$enable_fast_install 18924 18925# Shell to use when invoking shell scripts. 18926SHELL=$lt_SHELL 18927 18928# An echo program that protects backslashes. 18929ECHO=$lt_ECHO 18930 18931# The PATH separator for the build system. 18932PATH_SEPARATOR=$lt_PATH_SEPARATOR 18933 18934# The host system. 18935host_alias=$host_alias 18936host=$host 18937host_os=$host_os 18938 18939# The build system. 18940build_alias=$build_alias 18941build=$build 18942build_os=$build_os 18943 18944# A sed program that does not truncate output. 18945SED=$lt_SED 18946 18947# Sed that helps us avoid accidentally triggering echo(1) options like -n. 18948Xsed="\$SED -e 1s/^X//" 18949 18950# A grep program that handles long lines. 18951GREP=$lt_GREP 18952 18953# An ERE matcher. 18954EGREP=$lt_EGREP 18955 18956# A literal string matcher. 18957FGREP=$lt_FGREP 18958 18959# A BSD- or MS-compatible name lister. 18960NM=$lt_NM 18961 18962# Whether we need soft or hard links. 18963LN_S=$lt_LN_S 18964 18965# What is the maximum length of a command? 18966max_cmd_len=$max_cmd_len 18967 18968# Object file suffix (normally "o"). 18969objext=$ac_objext 18970 18971# Executable file suffix (normally ""). 18972exeext=$exeext 18973 18974# whether the shell understands "unset". 18975lt_unset=$lt_unset 18976 18977# turn spaces into newlines. 18978SP2NL=$lt_lt_SP2NL 18979 18980# turn newlines into spaces. 18981NL2SP=$lt_lt_NL2SP 18982 18983# convert \$build file names to \$host format. 18984to_host_file_cmd=$lt_cv_to_host_file_cmd 18985 18986# convert \$build files to toolchain format. 18987to_tool_file_cmd=$lt_cv_to_tool_file_cmd 18988 18989# Method to check whether dependent libraries are shared objects. 18990deplibs_check_method=$lt_deplibs_check_method 18991 18992# Command to use when deplibs_check_method = "file_magic". 18993file_magic_cmd=$lt_file_magic_cmd 18994 18995# How to find potential files when deplibs_check_method = "file_magic". 18996file_magic_glob=$lt_file_magic_glob 18997 18998# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 18999want_nocaseglob=$lt_want_nocaseglob 19000 19001# Command to associate shared and link libraries. 19002sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 19003 19004# The archiver. 19005AR=$lt_AR 19006 19007# Flags to create an archive. 19008AR_FLAGS=$lt_AR_FLAGS 19009 19010# How to feed a file listing to the archiver. 19011archiver_list_spec=$lt_archiver_list_spec 19012 19013# A symbol stripping program. 19014STRIP=$lt_STRIP 19015 19016# Commands used to install an old-style archive. 19017RANLIB=$lt_RANLIB 19018old_postinstall_cmds=$lt_old_postinstall_cmds 19019old_postuninstall_cmds=$lt_old_postuninstall_cmds 19020 19021# Whether to use a lock for old archive extraction. 19022lock_old_archive_extraction=$lock_old_archive_extraction 19023 19024# A C compiler. 19025LTCC=$lt_CC 19026 19027# LTCC compiler flags. 19028LTCFLAGS=$lt_CFLAGS 19029 19030# Take the output of nm and produce a listing of raw symbols and C names. 19031global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19032 19033# Transform the output of nm in a proper C declaration. 19034global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19035 19036# Transform the output of nm in a C name address pair. 19037global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19038 19039# Transform the output of nm in a C name address pair when lib prefix is needed. 19040global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19041 19042# Specify filename containing input files for \$NM. 19043nm_file_list_spec=$lt_nm_file_list_spec 19044 19045# The root where to search for dependent libraries,and in which our libraries should be installed. 19046lt_sysroot=$lt_sysroot 19047 19048# The name of the directory that contains temporary libtool files. 19049objdir=$objdir 19050 19051# Used to examine libraries when file_magic_cmd begins with "file". 19052MAGIC_CMD=$MAGIC_CMD 19053 19054# Must we lock files when doing compilation? 19055need_locks=$lt_need_locks 19056 19057# Manifest tool. 19058MANIFEST_TOOL=$lt_MANIFEST_TOOL 19059 19060# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19061DSYMUTIL=$lt_DSYMUTIL 19062 19063# Tool to change global to local symbols on Mac OS X. 19064NMEDIT=$lt_NMEDIT 19065 19066# Tool to manipulate fat objects and archives on Mac OS X. 19067LIPO=$lt_LIPO 19068 19069# ldd/readelf like tool for Mach-O binaries on Mac OS X. 19070OTOOL=$lt_OTOOL 19071 19072# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 19073OTOOL64=$lt_OTOOL64 19074 19075# Old archive suffix (normally "a"). 19076libext=$libext 19077 19078# Shared library suffix (normally ".so"). 19079shrext_cmds=$lt_shrext_cmds 19080 19081# The commands to extract the exported symbol list from a shared archive. 19082extract_expsyms_cmds=$lt_extract_expsyms_cmds 19083 19084# Variables whose values should be saved in libtool wrapper scripts and 19085# restored at link time. 19086variables_saved_for_relink=$lt_variables_saved_for_relink 19087 19088# Do we need the "lib" prefix for modules? 19089need_lib_prefix=$need_lib_prefix 19090 19091# Do we need a version for libraries? 19092need_version=$need_version 19093 19094# Library versioning type. 19095version_type=$version_type 19096 19097# Shared library runtime path variable. 19098runpath_var=$runpath_var 19099 19100# Shared library path variable. 19101shlibpath_var=$shlibpath_var 19102 19103# Is shlibpath searched before the hard-coded library search path? 19104shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19105 19106# Format of library name prefix. 19107libname_spec=$lt_libname_spec 19108 19109# List of archive names. First name is the real one, the rest are links. 19110# The last name is the one that the linker finds with -lNAME 19111library_names_spec=$lt_library_names_spec 19112 19113# The coded name of the library, if different from the real name. 19114soname_spec=$lt_soname_spec 19115 19116# Permission mode override for installation of shared libraries. 19117install_override_mode=$lt_install_override_mode 19118 19119# Command to use after installation of a shared archive. 19120postinstall_cmds=$lt_postinstall_cmds 19121 19122# Command to use after uninstallation of a shared archive. 19123postuninstall_cmds=$lt_postuninstall_cmds 19124 19125# Commands used to finish a libtool library installation in a directory. 19126finish_cmds=$lt_finish_cmds 19127 19128# As "finish_cmds", except a single script fragment to be evaled but 19129# not shown. 19130finish_eval=$lt_finish_eval 19131 19132# Whether we should hardcode library paths into libraries. 19133hardcode_into_libs=$hardcode_into_libs 19134 19135# Compile-time system search path for libraries. 19136sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19137 19138# Run-time system search path for libraries. 19139sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19140 19141# Whether dlopen is supported. 19142dlopen_support=$enable_dlopen 19143 19144# Whether dlopen of programs is supported. 19145dlopen_self=$enable_dlopen_self 19146 19147# Whether dlopen of statically linked programs is supported. 19148dlopen_self_static=$enable_dlopen_self_static 19149 19150# Commands to strip libraries. 19151old_striplib=$lt_old_striplib 19152striplib=$lt_striplib 19153 19154 19155# The linker used to build libraries. 19156LD=$lt_LD 19157 19158# How to create reloadable object files. 19159reload_flag=$lt_reload_flag 19160reload_cmds=$lt_reload_cmds 19161 19162# Commands used to build an old-style archive. 19163old_archive_cmds=$lt_old_archive_cmds 19164 19165# A language specific compiler. 19166CC=$lt_compiler 19167 19168# Is the compiler the GNU compiler? 19169with_gcc=$GCC 19170 19171# Compiler flag to turn off builtin functions. 19172no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19173 19174# Additional compiler flags for building library objects. 19175pic_flag=$lt_lt_prog_compiler_pic 19176 19177# How to pass a linker flag through the compiler. 19178wl=$lt_lt_prog_compiler_wl 19179 19180# Compiler flag to prevent dynamic linking. 19181link_static_flag=$lt_lt_prog_compiler_static 19182 19183# Does compiler simultaneously support -c and -o options? 19184compiler_c_o=$lt_lt_cv_prog_compiler_c_o 19185 19186# Whether or not to add -lc for building shared libraries. 19187build_libtool_need_lc=$archive_cmds_need_lc 19188 19189# Whether or not to disallow shared libs when runtime libs are static. 19190allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 19191 19192# Compiler flag to allow reflexive dlopens. 19193export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 19194 19195# Compiler flag to generate shared objects directly from archives. 19196whole_archive_flag_spec=$lt_whole_archive_flag_spec 19197 19198# Whether the compiler copes with passing no objects directly. 19199compiler_needs_object=$lt_compiler_needs_object 19200 19201# Create an old-style archive from a shared archive. 19202old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 19203 19204# Create a temporary old-style archive to link instead of a shared archive. 19205old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 19206 19207# Commands used to build a shared archive. 19208archive_cmds=$lt_archive_cmds 19209archive_expsym_cmds=$lt_archive_expsym_cmds 19210 19211# Commands used to build a loadable module if different from building 19212# a shared archive. 19213module_cmds=$lt_module_cmds 19214module_expsym_cmds=$lt_module_expsym_cmds 19215 19216# Whether we are building with GNU ld or not. 19217with_gnu_ld=$lt_with_gnu_ld 19218 19219# Flag that allows shared libraries with undefined symbols to be built. 19220allow_undefined_flag=$lt_allow_undefined_flag 19221 19222# Flag that enforces no undefined symbols. 19223no_undefined_flag=$lt_no_undefined_flag 19224 19225# Flag to hardcode \$libdir into a binary during linking. 19226# This must work even if \$libdir does not exist 19227hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 19228 19229# Whether we need a single "-rpath" flag with a separated argument. 19230hardcode_libdir_separator=$lt_hardcode_libdir_separator 19231 19232# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19233# DIR into the resulting binary. 19234hardcode_direct=$hardcode_direct 19235 19236# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19237# DIR into the resulting binary and the resulting library dependency is 19238# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 19239# library is relocated. 19240hardcode_direct_absolute=$hardcode_direct_absolute 19241 19242# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19243# into the resulting binary. 19244hardcode_minus_L=$hardcode_minus_L 19245 19246# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19247# into the resulting binary. 19248hardcode_shlibpath_var=$hardcode_shlibpath_var 19249 19250# Set to "yes" if building a shared library automatically hardcodes DIR 19251# into the library and all subsequent libraries and executables linked 19252# against it. 19253hardcode_automatic=$hardcode_automatic 19254 19255# Set to yes if linker adds runtime paths of dependent libraries 19256# to runtime path list. 19257inherit_rpath=$inherit_rpath 19258 19259# Whether libtool must link a program against all its dependency libraries. 19260link_all_deplibs=$link_all_deplibs 19261 19262# Set to "yes" if exported symbols are required. 19263always_export_symbols=$always_export_symbols 19264 19265# The commands to list exported symbols. 19266export_symbols_cmds=$lt_export_symbols_cmds 19267 19268# Symbols that should not be listed in the preloaded symbols. 19269exclude_expsyms=$lt_exclude_expsyms 19270 19271# Symbols that must always be exported. 19272include_expsyms=$lt_include_expsyms 19273 19274# Commands necessary for linking programs (against libraries) with templates. 19275prelink_cmds=$lt_prelink_cmds 19276 19277# Commands necessary for finishing linking programs. 19278postlink_cmds=$lt_postlink_cmds 19279 19280# Specify filename containing input files. 19281file_list_spec=$lt_file_list_spec 19282 19283# How to hardcode a shared library path into an executable. 19284hardcode_action=$hardcode_action 19285 19286# ### END LIBTOOL CONFIG 19287 19288_LT_EOF 19289 19290 case $host_os in 19291 aix3*) 19292 cat <<\_LT_EOF >> "$cfgfile" 19293# AIX sometimes has problems with the GCC collect2 program. For some 19294# reason, if we set the COLLECT_NAMES environment variable, the problems 19295# vanish in a puff of smoke. 19296if test "X${COLLECT_NAMES+set}" != Xset; then 19297 COLLECT_NAMES= 19298 export COLLECT_NAMES 19299fi 19300_LT_EOF 19301 ;; 19302 esac 19303 19304 19305ltmain="$ac_aux_dir/ltmain.sh" 19306 19307 19308 # We use sed instead of cat because bash on DJGPP gets confused if 19309 # if finds mixed CR/LF and LF-only lines. Since sed operates in 19310 # text mode, it properly converts lines to CR/LF. This bash problem 19311 # is reportedly fixed, but why not run on old versions too? 19312 sed '$q' "$ltmain" >> "$cfgfile" \ 19313 || (rm -f "$cfgfile"; exit 1) 19314 19315 if test x"$xsi_shell" = xyes; then 19316 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 19317func_dirname ()\ 19318{\ 19319\ case ${1} in\ 19320\ */*) func_dirname_result="${1%/*}${2}" ;;\ 19321\ * ) func_dirname_result="${3}" ;;\ 19322\ esac\ 19323} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 19324 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19325 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19326test 0 -eq $? || _lt_function_replace_fail=: 19327 19328 19329 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 19330func_basename ()\ 19331{\ 19332\ func_basename_result="${1##*/}"\ 19333} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 19334 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19335 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19336test 0 -eq $? || _lt_function_replace_fail=: 19337 19338 19339 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 19340func_dirname_and_basename ()\ 19341{\ 19342\ case ${1} in\ 19343\ */*) func_dirname_result="${1%/*}${2}" ;;\ 19344\ * ) func_dirname_result="${3}" ;;\ 19345\ esac\ 19346\ func_basename_result="${1##*/}"\ 19347} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 19348 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19349 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19350test 0 -eq $? || _lt_function_replace_fail=: 19351 19352 19353 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 19354func_stripname ()\ 19355{\ 19356\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 19357\ # positional parameters, so assign one to ordinary parameter first.\ 19358\ func_stripname_result=${3}\ 19359\ func_stripname_result=${func_stripname_result#"${1}"}\ 19360\ func_stripname_result=${func_stripname_result%"${2}"}\ 19361} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 19362 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19363 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19364test 0 -eq $? || _lt_function_replace_fail=: 19365 19366 19367 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 19368func_split_long_opt ()\ 19369{\ 19370\ func_split_long_opt_name=${1%%=*}\ 19371\ func_split_long_opt_arg=${1#*=}\ 19372} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 19373 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19374 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19375test 0 -eq $? || _lt_function_replace_fail=: 19376 19377 19378 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 19379func_split_short_opt ()\ 19380{\ 19381\ func_split_short_opt_arg=${1#??}\ 19382\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 19383} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 19384 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19385 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19386test 0 -eq $? || _lt_function_replace_fail=: 19387 19388 19389 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 19390func_lo2o ()\ 19391{\ 19392\ case ${1} in\ 19393\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 19394\ *) func_lo2o_result=${1} ;;\ 19395\ esac\ 19396} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 19397 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19398 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19399test 0 -eq $? || _lt_function_replace_fail=: 19400 19401 19402 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 19403func_xform ()\ 19404{\ 19405 func_xform_result=${1%.*}.lo\ 19406} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 19407 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19408 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19409test 0 -eq $? || _lt_function_replace_fail=: 19410 19411 19412 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 19413func_arith ()\ 19414{\ 19415 func_arith_result=$(( $* ))\ 19416} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 19417 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19418 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19419test 0 -eq $? || _lt_function_replace_fail=: 19420 19421 19422 sed -e '/^func_len ()$/,/^} # func_len /c\ 19423func_len ()\ 19424{\ 19425 func_len_result=${#1}\ 19426} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 19427 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19428 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19429test 0 -eq $? || _lt_function_replace_fail=: 19430 19431fi 19432 19433if test x"$lt_shell_append" = xyes; then 19434 sed -e '/^func_append ()$/,/^} # func_append /c\ 19435func_append ()\ 19436{\ 19437 eval "${1}+=\\${2}"\ 19438} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 19439 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19440 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19441test 0 -eq $? || _lt_function_replace_fail=: 19442 19443 19444 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 19445func_append_quoted ()\ 19446{\ 19447\ func_quote_for_eval "${2}"\ 19448\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 19449} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 19450 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19451 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19452test 0 -eq $? || _lt_function_replace_fail=: 19453 19454 19455 # Save a `func_append' function call where possible by direct use of '+=' 19456 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 19457 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19458 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19459 test 0 -eq $? || _lt_function_replace_fail=: 19460else 19461 # Save a `func_append' function call even when '+=' is not available 19462 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 19463 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19464 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19465 test 0 -eq $? || _lt_function_replace_fail=: 19466fi 19467 19468if test x"$_lt_function_replace_fail" = x":"; then 19469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 19470$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 19471fi 19472 19473 19474 mv -f "$cfgfile" "$ofile" || 19475 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 19476 chmod +x "$ofile" 19477 19478 ;; 19479 19480 esac 19481done # for ac_tag 19482 19483 19484as_fn_exit 0 19485_ACEOF 19486ac_clean_files=$ac_clean_files_save 19487 19488test $ac_write_fail = 0 || 19489 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 19490 19491 19492# configure is writing to config.log, and then calls config.status. 19493# config.status does its own redirection, appending to config.log. 19494# Unfortunately, on DOS this fails, as config.log is still kept open 19495# by configure, so config.status won't be able to write to it; its 19496# output is simply discarded. So we exec the FD to /dev/null, 19497# effectively closing config.log, so it can be properly (re)opened and 19498# appended to by config.status. When coming back to configure, we 19499# need to make the FD available again. 19500if test "$no_create" != yes; then 19501 ac_cs_success=: 19502 ac_config_status_args= 19503 test "$silent" = yes && 19504 ac_config_status_args="$ac_config_status_args --quiet" 19505 exec 5>/dev/null 19506 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 19507 exec 5>>config.log 19508 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 19509 # would make configure fail if this is the last instruction. 19510 $ac_cs_success || as_fn_exit 1 19511fi 19512 19513# 19514# CONFIG_SUBDIRS section. 19515# 19516if test "$no_recursion" != yes; then 19517 19518 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 19519 # so they do not pile up. 19520 ac_sub_configure_args= 19521 ac_prev= 19522 eval "set x $ac_configure_args" 19523 shift 19524 for ac_arg 19525 do 19526 if test -n "$ac_prev"; then 19527 ac_prev= 19528 continue 19529 fi 19530 case $ac_arg in 19531 -cache-file | --cache-file | --cache-fil | --cache-fi \ 19532 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 19533 ac_prev=cache_file ;; 19534 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 19535 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 19536 | --c=*) 19537 ;; 19538 --config-cache | -C) 19539 ;; 19540 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 19541 ac_prev=srcdir ;; 19542 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 19543 ;; 19544 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 19545 ac_prev=prefix ;; 19546 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 19547 ;; 19548 --disable-option-checking) 19549 ;; 19550 *) 19551 case $ac_arg in 19552 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 19553 esac 19554 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 19555 esac 19556 done 19557 19558 # Always prepend --prefix to ensure using the same prefix 19559 # in subdir configurations. 19560 ac_arg="--prefix=$prefix" 19561 case $ac_arg in 19562 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 19563 esac 19564 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 19565 19566 # Pass --silent 19567 if test "$silent" = yes; then 19568 ac_sub_configure_args="--silent $ac_sub_configure_args" 19569 fi 19570 19571 # Always prepend --disable-option-checking to silence warnings, since 19572 # different subdirs can have different --enable and --with options. 19573 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 19574 19575 ac_popdir=`pwd` 19576 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 19577 19578 # Do not complain, so a configure script can configure whichever 19579 # parts of a large source tree are present. 19580 test -d "$srcdir/$ac_dir" || continue 19581 19582 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 19583 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 19584 $as_echo "$ac_msg" >&6 19585 as_dir="$ac_dir"; as_fn_mkdir_p 19586 ac_builddir=. 19587 19588case "$ac_dir" in 19589.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 19590*) 19591 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 19592 # A ".." for each directory in $ac_dir_suffix. 19593 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 19594 case $ac_top_builddir_sub in 19595 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 19596 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 19597 esac ;; 19598esac 19599ac_abs_top_builddir=$ac_pwd 19600ac_abs_builddir=$ac_pwd$ac_dir_suffix 19601# for backward compatibility: 19602ac_top_builddir=$ac_top_build_prefix 19603 19604case $srcdir in 19605 .) # We are building in place. 19606 ac_srcdir=. 19607 ac_top_srcdir=$ac_top_builddir_sub 19608 ac_abs_top_srcdir=$ac_pwd ;; 19609 [\\/]* | ?:[\\/]* ) # Absolute name. 19610 ac_srcdir=$srcdir$ac_dir_suffix; 19611 ac_top_srcdir=$srcdir 19612 ac_abs_top_srcdir=$srcdir ;; 19613 *) # Relative name. 19614 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 19615 ac_top_srcdir=$ac_top_build_prefix$srcdir 19616 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 19617esac 19618ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 19619 19620 19621 cd "$ac_dir" 19622 19623 # Check for guested configure; otherwise get Cygnus style configure. 19624 if test -f "$ac_srcdir/configure.gnu"; then 19625 ac_sub_configure=$ac_srcdir/configure.gnu 19626 elif test -f "$ac_srcdir/configure"; then 19627 ac_sub_configure=$ac_srcdir/configure 19628 elif test -f "$ac_srcdir/configure.in"; then 19629 # This should be Cygnus configure. 19630 ac_sub_configure=$ac_aux_dir/configure 19631 else 19632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 19633$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 19634 ac_sub_configure= 19635 fi 19636 19637 # The recursion is here. 19638 if test -n "$ac_sub_configure"; then 19639 # Make the cache file name correct relative to the subdirectory. 19640 case $cache_file in 19641 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 19642 *) # Relative name. 19643 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 19644 esac 19645 19646 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 19647$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 19648 # The eval makes quoting arguments work. 19649 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 19650 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 19651 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 19652 fi 19653 19654 cd "$ac_popdir" 19655 done 19656fi 19657if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 19658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 19659$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 19660fi 19661 19662 19663