1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for deadbeef 0.7.2. 4# 5# 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8# 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 137if test "x$CONFIG_SHELL" = x; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 emulate sh 140 NULLCMD=: 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 142 # is contrary to our usage. Disable this feature. 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' 144 setopt NO_GLOB_SUBST 145else 146 case \`(set -o) 2>/dev/null\` in #( 147 *posix*) : 148 set -o posix ;; #( 149 *) : 150 ;; 151esac 152fi 153" 154 as_required="as_fn_return () { (exit \$1); } 155as_fn_success () { as_fn_return 0; } 156as_fn_failure () { as_fn_return 1; } 157as_fn_ret_success () { return 0; } 158as_fn_ret_failure () { return 1; } 159 160exitcode=0 161as_fn_success || { exitcode=1; echo as_fn_success failed.; } 162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 166 167else 168 exitcode=1; echo positional parameters were not saved. 169fi 170test x\$exitcode = x0 || exit 1" 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 175test \$(( 1 + 1 )) = 2 || exit 1 176 177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 181 PATH=/empty FPATH=/empty; export PATH FPATH 182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 184 if (eval "$as_required") 2>/dev/null; then : 185 as_have_required=yes 186else 187 as_have_required=no 188fi 189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 190 191else 192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 193as_found=false 194for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 195do 196 IFS=$as_save_IFS 197 test -z "$as_dir" && as_dir=. 198 as_found=: 199 case $as_dir in #( 200 /*) 201 for as_base in sh bash ksh sh5; do 202 # Try only shells that exist, to save several forks. 203 as_shell=$as_dir/$as_base 204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 206 CONFIG_SHELL=$as_shell as_have_required=yes 207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 208 break 2 209fi 210fi 211 done;; 212 esac 213 as_found=false 214done 215$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 217 CONFIG_SHELL=$SHELL as_have_required=yes 218fi; } 219IFS=$as_save_IFS 220 221 222 if test "x$CONFIG_SHELL" != x; then : 223 # We cannot yet assume a decent shell, so we have to provide a 224 # neutralization value for shells without unset; and this also 225 # works around shells that cannot unset nonexistent variables. 226 # Preserve -v and -x to the replacement shell. 227 BASH_ENV=/dev/null 228 ENV=/dev/null 229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 230 export CONFIG_SHELL 231 case $- in # (((( 232 *v*x* | *x*v* ) as_opts=-vx ;; 233 *v* ) as_opts=-v ;; 234 *x* ) as_opts=-x ;; 235 * ) as_opts= ;; 236 esac 237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 238fi 239 240 if test x$as_have_required = xno; then : 241 $as_echo "$0: This script requires a shell more modern than all" 242 $as_echo "$0: the shells that I found on your system." 243 if test x${ZSH_VERSION+set} = xset ; then 244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 245 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 246 else 247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 248$0: including any error possibly output before this 249$0: message. Then install a modern shell, or manually run 250$0: the script under such a shell if you do have one." 251 fi 252 exit 1 253fi 254fi 255fi 256SHELL=${CONFIG_SHELL-/bin/sh} 257export SHELL 258# Unset more variables known to interfere with behavior of common tools. 259CLICOLOR_FORCE= GREP_OPTIONS= 260unset CLICOLOR_FORCE GREP_OPTIONS 261 262## --------------------- ## 263## M4sh Shell Functions. ## 264## --------------------- ## 265# as_fn_unset VAR 266# --------------- 267# Portably unset VAR. 268as_fn_unset () 269{ 270 { eval $1=; unset $1;} 271} 272as_unset=as_fn_unset 273 274# as_fn_set_status STATUS 275# ----------------------- 276# Set $? to STATUS, without forking. 277as_fn_set_status () 278{ 279 return $1 280} # as_fn_set_status 281 282# as_fn_exit STATUS 283# ----------------- 284# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 285as_fn_exit () 286{ 287 set +e 288 as_fn_set_status $1 289 exit $1 290} # as_fn_exit 291 292# as_fn_mkdir_p 293# ------------- 294# Create "$as_dir" as a directory, including parents if necessary. 295as_fn_mkdir_p () 296{ 297 298 case $as_dir in #( 299 -*) as_dir=./$as_dir;; 300 esac 301 test -d "$as_dir" || eval $as_mkdir_p || { 302 as_dirs= 303 while :; do 304 case $as_dir in #( 305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 306 *) as_qdir=$as_dir;; 307 esac 308 as_dirs="'$as_qdir' $as_dirs" 309 as_dir=`$as_dirname -- "$as_dir" || 310$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 311 X"$as_dir" : 'X\(//\)[^/]' \| \ 312 X"$as_dir" : 'X\(//\)$' \| \ 313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 314$as_echo X"$as_dir" | 315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 316 s//\1/ 317 q 318 } 319 /^X\(\/\/\)[^/].*/{ 320 s//\1/ 321 q 322 } 323 /^X\(\/\/\)$/{ 324 s//\1/ 325 q 326 } 327 /^X\(\/\).*/{ 328 s//\1/ 329 q 330 } 331 s/.*/./; q'` 332 test -d "$as_dir" && break 333 done 334 test -z "$as_dirs" || eval "mkdir $as_dirs" 335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 336 337 338} # as_fn_mkdir_p 339# as_fn_append VAR VALUE 340# ---------------------- 341# Append the text in VALUE to the end of the definition contained in VAR. Take 342# advantage of any shell optimizations that allow amortized linear growth over 343# repeated appends, instead of the typical quadratic growth present in naive 344# implementations. 345if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 346 eval 'as_fn_append () 347 { 348 eval $1+=\$2 349 }' 350else 351 as_fn_append () 352 { 353 eval $1=\$$1\$2 354 } 355fi # as_fn_append 356 357# as_fn_arith ARG... 358# ------------------ 359# Perform arithmetic evaluation on the ARGs, and store the result in the 360# global $as_val. Take advantage of shells that can avoid forks. The arguments 361# must be portable across $(()) and expr. 362if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 363 eval 'as_fn_arith () 364 { 365 as_val=$(( $* )) 366 }' 367else 368 as_fn_arith () 369 { 370 as_val=`expr "$@" || test $? -eq 1` 371 } 372fi # as_fn_arith 373 374 375# as_fn_error STATUS ERROR [LINENO LOG_FD] 376# ---------------------------------------- 377# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 378# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 379# script with STATUS, using 1 if that was 0. 380as_fn_error () 381{ 382 as_status=$1; test $as_status -eq 0 && as_status=1 383 if test "$4"; then 384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 386 fi 387 $as_echo "$as_me: error: $2" >&2 388 as_fn_exit $as_status 389} # as_fn_error 390 391if expr a : '\(a\)' >/dev/null 2>&1 && 392 test "X`expr 00001 : '.*\(...\)'`" = X001; then 393 as_expr=expr 394else 395 as_expr=false 396fi 397 398if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 399 as_basename=basename 400else 401 as_basename=false 402fi 403 404if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 405 as_dirname=dirname 406else 407 as_dirname=false 408fi 409 410as_me=`$as_basename -- "$0" || 411$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 412 X"$0" : 'X\(//\)$' \| \ 413 X"$0" : 'X\(/\)' \| . 2>/dev/null || 414$as_echo X/"$0" | 415 sed '/^.*\/\([^/][^/]*\)\/*$/{ 416 s//\1/ 417 q 418 } 419 /^X\/\(\/\/\)$/{ 420 s//\1/ 421 q 422 } 423 /^X\/\(\/\).*/{ 424 s//\1/ 425 q 426 } 427 s/.*/./; q'` 428 429# Avoid depending upon Character Ranges. 430as_cr_letters='abcdefghijklmnopqrstuvwxyz' 431as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 432as_cr_Letters=$as_cr_letters$as_cr_LETTERS 433as_cr_digits='0123456789' 434as_cr_alnum=$as_cr_Letters$as_cr_digits 435 436 437 as_lineno_1=$LINENO as_lineno_1a=$LINENO 438 as_lineno_2=$LINENO as_lineno_2a=$LINENO 439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 442 sed -n ' 443 p 444 /[$]LINENO/= 445 ' <$as_myself | 446 sed ' 447 s/[$]LINENO.*/&-/ 448 t lineno 449 b 450 :lineno 451 N 452 :loop 453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 454 t loop 455 s/-\n.*// 456 ' >$as_me.lineno && 457 chmod +x "$as_me.lineno" || 458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 459 460 # Don't try to exec as it changes $[0], causing all sort of problems 461 # (the dirname of $[0] is not the place where we might find the 462 # original and so on. Autoconf is especially sensitive to this). 463 . "./$as_me.lineno" 464 # Exit status is that of the last command. 465 exit 466} 467 468ECHO_C= ECHO_N= ECHO_T= 469case `echo -n x` in #((((( 470-n*) 471 case `echo 'xy\c'` in 472 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 473 xy) ECHO_C='\c';; 474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 475 ECHO_T=' ';; 476 esac;; 477*) 478 ECHO_N='-n';; 479esac 480 481rm -f conf$$ conf$$.exe conf$$.file 482if test -d conf$$.dir; then 483 rm -f conf$$.dir/conf$$.file 484else 485 rm -f conf$$.dir 486 mkdir conf$$.dir 2>/dev/null 487fi 488if (echo >conf$$.file) 2>/dev/null; then 489 if ln -s conf$$.file conf$$ 2>/dev/null; then 490 as_ln_s='ln -s' 491 # ... but there are two gotchas: 492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 494 # In both cases, we have to default to `cp -p'. 495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 496 as_ln_s='cp -p' 497 elif ln conf$$.file conf$$ 2>/dev/null; then 498 as_ln_s=ln 499 else 500 as_ln_s='cp -p' 501 fi 502else 503 as_ln_s='cp -p' 504fi 505rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 506rmdir conf$$.dir 2>/dev/null 507 508if mkdir -p . 2>/dev/null; then 509 as_mkdir_p='mkdir -p "$as_dir"' 510else 511 test -d ./-p && rmdir ./-p 512 as_mkdir_p=false 513fi 514 515if test -x / >/dev/null 2>&1; then 516 as_test_x='test -x' 517else 518 if ls -dL / >/dev/null 2>&1; then 519 as_ls_L_option=L 520 else 521 as_ls_L_option= 522 fi 523 as_test_x=' 524 eval sh -c '\'' 525 if test -d "$1"; then 526 test -d "$1/."; 527 else 528 case $1 in #( 529 -*)set "./$1";; 530 esac; 531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 532 ???[sx]*):;;*)false;;esac;fi 533 '\'' sh 534 ' 535fi 536as_executable_p=$as_test_x 537 538# Sed expression to map a string onto a valid CPP name. 539as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 540 541# Sed expression to map a string onto a valid variable name. 542as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 543 544SHELL=${CONFIG_SHELL-/bin/sh} 545 546 547test -n "$DJDIR" || exec 7<&0 </dev/null 548exec 6>&1 549 550# Name of the host. 551# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 552# so uname gets run too. 553ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 554 555# 556# Initializations. 557# 558ac_default_prefix=/usr/local 559ac_clean_files= 560ac_config_libobj_dir=. 561LIBOBJS= 562cross_compiling=no 563subdirs= 564MFLAGS= 565MAKEFLAGS= 566 567# Identity of this package. 568PACKAGE_NAME='deadbeef' 569PACKAGE_TARNAME='deadbeef' 570PACKAGE_VERSION='0.7.2' 571PACKAGE_STRING='deadbeef 0.7.2' 572PACKAGE_BUGREPORT='' 573PACKAGE_URL='' 574 575# Factoring default headers for most tests. 576ac_includes_default="\ 577#include <stdio.h> 578#ifdef HAVE_SYS_TYPES_H 579# include <sys/types.h> 580#endif 581#ifdef HAVE_SYS_STAT_H 582# include <sys/stat.h> 583#endif 584#ifdef STDC_HEADERS 585# include <stdlib.h> 586# include <stddef.h> 587#else 588# ifdef HAVE_STDLIB_H 589# include <stdlib.h> 590# endif 591#endif 592#ifdef HAVE_STRING_H 593# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 594# include <memory.h> 595# endif 596# include <string.h> 597#endif 598#ifdef HAVE_STRINGS_H 599# include <strings.h> 600#endif 601#ifdef HAVE_INTTYPES_H 602# include <inttypes.h> 603#endif 604#ifdef HAVE_STDINT_H 605# include <stdint.h> 606#endif 607#ifdef HAVE_UNISTD_H 608# include <unistd.h> 609#endif" 610 611gt_needs= 612ac_header_list= 613gl_use_threads_default= 614ac_subst_vars='am__EXEEXT_FALSE 615am__EXEEXT_TRUE 616LTLIBOBJS 617LIBOBJS 618PLUGINS_DIRS 619HAVE_SSE2_FALSE 620HAVE_SSE2_TRUE 621USE_ABSTRACT_SOCKET_NAME_FALSE 622USE_ABSTRACT_SOCKET_NAME_TRUE 623PORTABLE_FULL_FALSE 624PORTABLE_FULL_TRUE 625PORTABLE_FALSE 626PORTABLE_TRUE 627STATICLINK_FALSE 628STATICLINK_TRUE 629HAVE_SC68_FALSE 630HAVE_SC68_TRUE 631HAVE_PLTBROWSER_FALSE 632HAVE_PLTBROWSER_TRUE 633HAVE_WMA_FALSE 634HAVE_WMA_TRUE 635HAVE_ALAC_FALSE 636HAVE_ALAC_TRUE 637HAVE_MONO2STEREO_FALSE 638HAVE_MONO2STEREO_TRUE 639HAVE_SHN_FALSE 640HAVE_SHN_TRUE 641HAVE_PSF_FALSE 642HAVE_PSF_TRUE 643HAVE_DUMB_FALSE 644HAVE_DUMB_TRUE 645HAVE_YASM_FALSE 646HAVE_YASM_TRUE 647HAVE_PNG_FALSE 648HAVE_PNG_TRUE 649HAVE_JPEG_FALSE 650HAVE_JPEG_TRUE 651HAVE_IMLIB2_FALSE 652HAVE_IMLIB2_TRUE 653HAVE_CONVERTER_FALSE 654HAVE_CONVERTER_TRUE 655HAVE_VFS_ZIP_FALSE 656HAVE_VFS_ZIP_TRUE 657HAVE_M3U_FALSE 658HAVE_M3U_TRUE 659HAVE_DSP_SRC_FALSE 660HAVE_DSP_SRC_TRUE 661HAVE_MMS_FALSE 662HAVE_MMS_TRUE 663HAVE_AAC_FALSE 664HAVE_AAC_TRUE 665HAVE_DCA_FALSE 666HAVE_DCA_TRUE 667HAVE_TTA_FALSE 668HAVE_TTA_TRUE 669HAVE_WILDMIDI_FALSE 670HAVE_WILDMIDI_TRUE 671HAVE_MUSEPACK_FALSE 672HAVE_MUSEPACK_TRUE 673HAVE_SHELLEXECUI_FALSE 674HAVE_SHELLEXECUI_TRUE 675HAVE_SHELLEXEC_FALSE 676HAVE_SHELLEXEC_TRUE 677HAVE_NOTIFY_FALSE 678HAVE_NOTIFY_TRUE 679HAVE_SUPEREQ_FALSE 680HAVE_SUPEREQ_TRUE 681HAVE_OSS_FALSE 682HAVE_OSS_TRUE 683HAVE_LIBMPG123_FALSE 684HAVE_LIBMPG123_TRUE 685HAVE_LIBMAD_FALSE 686HAVE_LIBMAD_TRUE 687HAVE_MP3_FALSE 688HAVE_MP3_TRUE 689HAVE_HOTKEYS_FALSE 690HAVE_HOTKEYS_TRUE 691HAVE_VFS_CURL_FALSE 692HAVE_VFS_CURL_TRUE 693HAVE_LASTFM_FALSE 694HAVE_LASTFM_TRUE 695HAVE_GME_FALSE 696HAVE_GME_TRUE 697HAVE_VTX_FALSE 698HAVE_VTX_TRUE 699HAVE_NULLOUT_FALSE 700HAVE_NULLOUT_TRUE 701HAVE_SID_FALSE 702HAVE_SID_TRUE 703HAVE_FFAP_FALSE 704HAVE_FFAP_TRUE 705HAVE_ADPLUG_FALSE 706HAVE_ADPLUG_TRUE 707ARTWORK_USE_VFS_CURL_FALSE 708ARTWORK_USE_VFS_CURL_TRUE 709HAVE_ARTWORK_FALSE 710HAVE_ARTWORK_TRUE 711HAVE_PULSE_FALSE 712HAVE_PULSE_TRUE 713HAVE_FFMPEG_FALSE 714HAVE_FFMPEG_TRUE 715HAVE_COREAUDIO_FALSE 716HAVE_COREAUDIO_TRUE 717HAVE_ALSA_FALSE 718HAVE_ALSA_TRUE 719HAVE_GTK3_FALSE 720HAVE_GTK3_TRUE 721HAVE_GTK2_FALSE 722HAVE_GTK2_TRUE 723USE_CDPARANOIA_FALSE 724USE_CDPARANOIA_TRUE 725HAVE_CDDA_FALSE 726HAVE_CDDA_TRUE 727HAVE_SNDFILE_FALSE 728HAVE_SNDFILE_TRUE 729HAVE_WAVPACK_FALSE 730HAVE_WAVPACK_TRUE 731HAVE_FLAC_FALSE 732HAVE_FLAC_TRUE 733HAVE_OGG_STREAM_FLUSH_FILL_FALSE 734HAVE_OGG_STREAM_FLUSH_FILL_TRUE 735HAVE_OGG_FALSE 736HAVE_OGG_TRUE 737HAVE_VORBIS_FALSE 738HAVE_VORBIS_TRUE 739APE_USE_YASM_FALSE 740APE_USE_YASM_TRUE 741LIBMMS_LIBS 742FAAD2_LIBS 743FAAD2_CFLAGS 744NOTIFY_CFLAGS 745NOTIFY_LIBS 746LIBSAMPLERATE_DEPS_LIBS 747LIBSAMPLERATE_DEPS_CFLAGS 748IMLIB2_DEPS_LIBS 749IMLIB2_DEPS_CFLAGS 750PNG_DEPS_LIBS 751PNG_DEPS_CFLAGS 752JPEG_DEPS_LIBS 753JPEG_DEPS_CFLAGS 754OSS_CFLAGS 755HOTKEYS_LIBS 756HOTKEYS_CFLAGS 757CDDA_CFLAGS 758CDDA_LIBS 759VFS_CURL_CFLAGS 760VFS_CURL_LIBS 761SNDFILE_LIBS 762SNDFILE_CFLAGS 763WAVPACK_LIBS 764WAVPACK_CFLAGS 765FLAC_LIBS 766FLAC_CFLAGS 767OGG_CFLAGS 768OGG_LIBS 769VORBIS_CFLAGS 770VORBIS_LIBS 771MPG123_LIBS 772MPG123_CFLAGS 773MAD_LIBS 774MAD_CFLAGS 775CURL_CFLAGS 776CURL_LIBS 777ICONV_LIB 778PULSE_DEPS_LIBS 779PULSE_DEPS_CFLAGS 780DBUS_DEPS_CFLAGS 781DBUS_DEPS_LIBS 782FFMPEG_DEPS_LIBS 783FFMPEG_DEPS_CFLAGS 784COREAUDIO_LIBS 785ALSA_DEPS_LIBS 786ALSA_DEPS_CFLAGS 787GTK2_DEPS_LIBS 788GTK2_DEPS_CFLAGS 789JANSSON_LIBS 790JANSSON_CFLAGS 791OS_OSX_FALSE 792OS_OSX_TRUE 793GTK_MAC_LIBS 794GTK_MAC_CFLAGS 795GTK3_DEPS_LIBS 796GTK3_DEPS_CFLAGS 797ZIP_LIBS 798ZIP_CFLAGS 799ZLIB_LIBS 800ZLIB_CFLAGS 801DL_LIBS 802HAVE_YASM 803INTL_LIBS 804NOCPPLIB 805INSANE_CXXFLAGS 806INSANE_CFLAGS 807YASM_FLAGS 808LIB 809GETTEXT_PACKAGE 810ALL_LINGUAS 811INTLTOOL_PERL 812INTLTOOL_POLICY_RULE 813INTLTOOL_SERVICE_RULE 814INTLTOOL_THEME_RULE 815INTLTOOL_SCHEMAS_RULE 816INTLTOOL_CAVES_RULE 817INTLTOOL_XML_NOMERGE_RULE 818INTLTOOL_XML_RULE 819INTLTOOL_KBD_RULE 820INTLTOOL_XAM_RULE 821INTLTOOL_UI_RULE 822INTLTOOL_SOUNDLIST_RULE 823INTLTOOL_SHEET_RULE 824INTLTOOL_SERVER_RULE 825INTLTOOL_PONG_RULE 826INTLTOOL_OAF_RULE 827INTLTOOL_PROP_RULE 828INTLTOOL_KEYS_RULE 829INTLTOOL_DIRECTORY_RULE 830INTLTOOL_DESKTOP_RULE 831intltool__v_merge_options_0 832intltool__v_merge_options_ 833INTLTOOL_V_MERGE_OPTIONS 834INTLTOOL__v_MERGE_0 835INTLTOOL__v_MERGE_ 836INTLTOOL_V_MERGE 837INTLTOOL_EXTRACT 838INTLTOOL_MERGE 839INTLTOOL_UPDATE 840PKG_CONFIG_LIBDIR 841PKG_CONFIG_PATH 842PKG_CONFIG 843POSUB 844LTLIBINTL 845LIBINTL 846INTLLIBS 847INTL_LIBTOOL_SUFFIX_PREFIX 848INTLOBJS 849GENCAT 850INSTOBJEXT 851DATADIRNAME 852CATOBJEXT 853USE_INCLUDED_LIBINTL 854BUILD_INCLUDED_LIBINTL 855LTLIBC 856WINDRES 857WOE32 858WOE32DLL 859HAVE_WPRINTF 860HAVE_NEWLOCALE 861HAVE_SNPRINTF 862HAVE_ASPRINTF 863HAVE_POSIX_PRINTF 864INTL_DEFAULT_VERBOSITY 865INTL_MACOSX_LIBS 866GLIBC21 867INTLBISON 868LTLIBICONV 869LIBICONV 870LTLIBMULTITHREAD 871LIBMULTITHREAD 872LTLIBTHREAD 873LIBTHREAD 874LIBPTH_PREFIX 875LTLIBPTH 876LIBPTH 877PRI_MACROS_BROKEN 878ALLOCA 879HAVE_VISIBILITY 880CFLAG_VISIBILITY 881GLIBC2 882XGETTEXT_EXTRA_OPTIONS 883MSGMERGE 884XGETTEXT_015 885XGETTEXT 886GMSGFMT_015 887MSGFMT_015 888GMSGFMT 889MSGFMT 890GETTEXT_MACRO_VERSION 891USE_NLS 892am__fastdepOBJC_FALSE 893am__fastdepOBJC_TRUE 894OBJCDEPMODE 895ac_ct_OBJC 896OBJCFLAGS 897OBJC 898CXXCPP 899am__fastdepCXX_FALSE 900am__fastdepCXX_TRUE 901CXXDEPMODE 902ac_ct_CXX 903CXXFLAGS 904CXX 905OTOOL64 906OTOOL 907LIPO 908NMEDIT 909DSYMUTIL 910MANIFEST_TOOL 911RANLIB 912ac_ct_AR 913AR 914DLLTOOL 915OBJDUMP 916LN_S 917NM 918ac_ct_DUMPBIN 919DUMPBIN 920LD 921FGREP 922SED 923host_os 924host_vendor 925host_cpu 926host 927build_os 928build_vendor 929build_cpu 930build 931LIBTOOL 932EGREP 933GREP 934CPP 935am__fastdepCC_FALSE 936am__fastdepCC_TRUE 937CCDEPMODE 938am__nodep 939AMDEPBACKSLASH 940AMDEP_FALSE 941AMDEP_TRUE 942am__quote 943am__include 944DEPDIR 945OBJEXT 946EXEEXT 947ac_ct_CC 948CPPFLAGS 949LDFLAGS 950CFLAGS 951CC 952MAINT 953MAINTAINER_MODE_FALSE 954MAINTAINER_MODE_TRUE 955AM_BACKSLASH 956AM_DEFAULT_VERBOSITY 957AM_DEFAULT_V 958AM_V 959am__untar 960am__tar 961AMTAR 962am__leading_dot 963SET_MAKE 964AWK 965mkdir_p 966MKDIR_P 967INSTALL_STRIP_PROGRAM 968STRIP 969install_sh 970MAKEINFO 971AUTOHEADER 972AUTOMAKE 973AUTOCONF 974ACLOCAL 975VERSION 976PACKAGE 977CYGPATH_W 978am__isrc 979INSTALL_DATA 980INSTALL_SCRIPT 981INSTALL_PROGRAM 982target_alias 983host_alias 984build_alias 985LIBS 986ECHO_T 987ECHO_N 988ECHO_C 989DEFS 990mandir 991localedir 992libdir 993psdir 994pdfdir 995dvidir 996htmldir 997infodir 998docdir 999oldincludedir 1000includedir 1001localstatedir 1002sharedstatedir 1003sysconfdir 1004datadir 1005datarootdir 1006libexecdir 1007sbindir 1008bindir 1009program_transform_name 1010prefix 1011exec_prefix 1012PACKAGE_URL 1013PACKAGE_BUGREPORT 1014PACKAGE_STRING 1015PACKAGE_VERSION 1016PACKAGE_TARNAME 1017PACKAGE_NAME 1018PATH_SEPARATOR 1019SHELL' 1020ac_subst_files='' 1021ac_user_opts=' 1022enable_option_checking 1023enable_silent_rules 1024enable_maintainer_mode 1025enable_dependency_tracking 1026enable_static 1027enable_shared 1028with_pic 1029enable_fast_install 1030with_gnu_ld 1031with_sysroot 1032enable_libtool_lock 1033enable_nls 1034enable_threads 1035enable_rpath 1036with_libpth_prefix 1037with_libiconv_prefix 1038with_included_gettext 1039with_libintl_prefix 1040enable_nullout 1041enable_alsa 1042enable_oss 1043enable_pulse 1044enable_coreaudio 1045enable_gtk3 1046enable_gtk2 1047enable_vfs_curl 1048enable_lfm 1049enable_artwork 1050enable_artwork_network 1051enable_supereq 1052enable_sid 1053enable_mp3 1054enable_libmad 1055enable_libmpg123 1056enable_ffap 1057enable_vtx 1058enable_adplug 1059enable_hotkeys 1060enable_vorbis 1061enable_ffmpeg 1062enable_flac 1063enable_sndfile 1064enable_wavpack 1065enable_cdda 1066enable_cdda_paranoia 1067enable_gme 1068enable_notify 1069enable_shellexec 1070enable_musepack 1071enable_wildmidi 1072enable_tta 1073enable_dca 1074enable_aac 1075enable_mms 1076enable_staticlink 1077enable_portable 1078enable_src 1079enable_m3u 1080enable_vfs_zip 1081enable_converter 1082enable_artwork_imlib2 1083enable_dumb 1084enable_shn 1085enable_psf 1086enable_mono2stereo 1087enable_shellexecui 1088enable_alac 1089enable_wma 1090enable_pltbrowser 1091enable_sc68 1092enable_abstract_socket 1093' 1094 ac_precious_vars='build_alias 1095host_alias 1096target_alias 1097CC 1098CFLAGS 1099LDFLAGS 1100LIBS 1101CPPFLAGS 1102CPP 1103CXX 1104CXXFLAGS 1105CCC 1106CXXCPP 1107OBJC 1108OBJCFLAGS 1109PKG_CONFIG 1110PKG_CONFIG_PATH 1111PKG_CONFIG_LIBDIR 1112ZIP_CFLAGS 1113ZIP_LIBS 1114GTK3_DEPS_CFLAGS 1115GTK3_DEPS_LIBS 1116GTK_MAC_CFLAGS 1117GTK_MAC_LIBS 1118JANSSON_CFLAGS 1119JANSSON_LIBS 1120GTK2_DEPS_CFLAGS 1121GTK2_DEPS_LIBS 1122ALSA_DEPS_CFLAGS 1123ALSA_DEPS_LIBS 1124FFMPEG_DEPS_CFLAGS 1125FFMPEG_DEPS_LIBS 1126DBUS_DEPS_CFLAGS 1127DBUS_DEPS_LIBS 1128PULSE_DEPS_CFLAGS 1129PULSE_DEPS_LIBS 1130IMLIB2_DEPS_CFLAGS 1131IMLIB2_DEPS_LIBS 1132LIBSAMPLERATE_DEPS_CFLAGS 1133LIBSAMPLERATE_DEPS_LIBS' 1134 1135 1136# Initialize some variables set by options. 1137ac_init_help= 1138ac_init_version=false 1139ac_unrecognized_opts= 1140ac_unrecognized_sep= 1141# The variables have the same names as the options, with 1142# dashes changed to underlines. 1143cache_file=/dev/null 1144exec_prefix=NONE 1145no_create= 1146no_recursion= 1147prefix=NONE 1148program_prefix=NONE 1149program_suffix=NONE 1150program_transform_name=s,x,x, 1151silent= 1152site= 1153srcdir= 1154verbose= 1155x_includes=NONE 1156x_libraries=NONE 1157 1158# Installation directory options. 1159# These are left unexpanded so users can "make install exec_prefix=/foo" 1160# and all the variables that are supposed to be based on exec_prefix 1161# by default will actually change. 1162# Use braces instead of parens because sh, perl, etc. also accept them. 1163# (The list follows the same order as the GNU Coding Standards.) 1164bindir='${exec_prefix}/bin' 1165sbindir='${exec_prefix}/sbin' 1166libexecdir='${exec_prefix}/libexec' 1167datarootdir='${prefix}/share' 1168datadir='${datarootdir}' 1169sysconfdir='${prefix}/etc' 1170sharedstatedir='${prefix}/com' 1171localstatedir='${prefix}/var' 1172includedir='${prefix}/include' 1173oldincludedir='/usr/include' 1174docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1175infodir='${datarootdir}/info' 1176htmldir='${docdir}' 1177dvidir='${docdir}' 1178pdfdir='${docdir}' 1179psdir='${docdir}' 1180libdir='${exec_prefix}/lib' 1181localedir='${datarootdir}/locale' 1182mandir='${datarootdir}/man' 1183 1184ac_prev= 1185ac_dashdash= 1186for ac_option 1187do 1188 # If the previous option needs an argument, assign it. 1189 if test -n "$ac_prev"; then 1190 eval $ac_prev=\$ac_option 1191 ac_prev= 1192 continue 1193 fi 1194 1195 case $ac_option in 1196 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1197 *=) ac_optarg= ;; 1198 *) ac_optarg=yes ;; 1199 esac 1200 1201 # Accept the important Cygnus configure options, so we can diagnose typos. 1202 1203 case $ac_dashdash$ac_option in 1204 --) 1205 ac_dashdash=yes ;; 1206 1207 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1208 ac_prev=bindir ;; 1209 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1210 bindir=$ac_optarg ;; 1211 1212 -build | --build | --buil | --bui | --bu) 1213 ac_prev=build_alias ;; 1214 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1215 build_alias=$ac_optarg ;; 1216 1217 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1218 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1219 ac_prev=cache_file ;; 1220 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1221 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1222 cache_file=$ac_optarg ;; 1223 1224 --config-cache | -C) 1225 cache_file=config.cache ;; 1226 1227 -datadir | --datadir | --datadi | --datad) 1228 ac_prev=datadir ;; 1229 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1230 datadir=$ac_optarg ;; 1231 1232 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1233 | --dataroo | --dataro | --datar) 1234 ac_prev=datarootdir ;; 1235 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1236 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1237 datarootdir=$ac_optarg ;; 1238 1239 -disable-* | --disable-*) 1240 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1241 # Reject names that are not valid shell variable names. 1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1243 as_fn_error $? "invalid feature name: $ac_useropt" 1244 ac_useropt_orig=$ac_useropt 1245 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1246 case $ac_user_opts in 1247 *" 1248"enable_$ac_useropt" 1249"*) ;; 1250 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1251 ac_unrecognized_sep=', ';; 1252 esac 1253 eval enable_$ac_useropt=no ;; 1254 1255 -docdir | --docdir | --docdi | --doc | --do) 1256 ac_prev=docdir ;; 1257 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1258 docdir=$ac_optarg ;; 1259 1260 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1261 ac_prev=dvidir ;; 1262 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1263 dvidir=$ac_optarg ;; 1264 1265 -enable-* | --enable-*) 1266 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1267 # Reject names that are not valid shell variable names. 1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1269 as_fn_error $? "invalid feature name: $ac_useropt" 1270 ac_useropt_orig=$ac_useropt 1271 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1272 case $ac_user_opts in 1273 *" 1274"enable_$ac_useropt" 1275"*) ;; 1276 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1277 ac_unrecognized_sep=', ';; 1278 esac 1279 eval enable_$ac_useropt=\$ac_optarg ;; 1280 1281 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1282 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1283 | --exec | --exe | --ex) 1284 ac_prev=exec_prefix ;; 1285 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1286 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1287 | --exec=* | --exe=* | --ex=*) 1288 exec_prefix=$ac_optarg ;; 1289 1290 -gas | --gas | --ga | --g) 1291 # Obsolete; use --with-gas. 1292 with_gas=yes ;; 1293 1294 -help | --help | --hel | --he | -h) 1295 ac_init_help=long ;; 1296 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1297 ac_init_help=recursive ;; 1298 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1299 ac_init_help=short ;; 1300 1301 -host | --host | --hos | --ho) 1302 ac_prev=host_alias ;; 1303 -host=* | --host=* | --hos=* | --ho=*) 1304 host_alias=$ac_optarg ;; 1305 1306 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1307 ac_prev=htmldir ;; 1308 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1309 | --ht=*) 1310 htmldir=$ac_optarg ;; 1311 1312 -includedir | --includedir | --includedi | --included | --include \ 1313 | --includ | --inclu | --incl | --inc) 1314 ac_prev=includedir ;; 1315 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1316 | --includ=* | --inclu=* | --incl=* | --inc=*) 1317 includedir=$ac_optarg ;; 1318 1319 -infodir | --infodir | --infodi | --infod | --info | --inf) 1320 ac_prev=infodir ;; 1321 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1322 infodir=$ac_optarg ;; 1323 1324 -libdir | --libdir | --libdi | --libd) 1325 ac_prev=libdir ;; 1326 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1327 libdir=$ac_optarg ;; 1328 1329 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1330 | --libexe | --libex | --libe) 1331 ac_prev=libexecdir ;; 1332 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1333 | --libexe=* | --libex=* | --libe=*) 1334 libexecdir=$ac_optarg ;; 1335 1336 -localedir | --localedir | --localedi | --localed | --locale) 1337 ac_prev=localedir ;; 1338 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1339 localedir=$ac_optarg ;; 1340 1341 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1342 | --localstate | --localstat | --localsta | --localst | --locals) 1343 ac_prev=localstatedir ;; 1344 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1345 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1346 localstatedir=$ac_optarg ;; 1347 1348 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1349 ac_prev=mandir ;; 1350 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1351 mandir=$ac_optarg ;; 1352 1353 -nfp | --nfp | --nf) 1354 # Obsolete; use --without-fp. 1355 with_fp=no ;; 1356 1357 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1358 | --no-cr | --no-c | -n) 1359 no_create=yes ;; 1360 1361 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1362 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1363 no_recursion=yes ;; 1364 1365 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1366 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1367 | --oldin | --oldi | --old | --ol | --o) 1368 ac_prev=oldincludedir ;; 1369 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1370 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1371 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1372 oldincludedir=$ac_optarg ;; 1373 1374 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1375 ac_prev=prefix ;; 1376 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1377 prefix=$ac_optarg ;; 1378 1379 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1380 | --program-pre | --program-pr | --program-p) 1381 ac_prev=program_prefix ;; 1382 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1383 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1384 program_prefix=$ac_optarg ;; 1385 1386 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1387 | --program-suf | --program-su | --program-s) 1388 ac_prev=program_suffix ;; 1389 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1390 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1391 program_suffix=$ac_optarg ;; 1392 1393 -program-transform-name | --program-transform-name \ 1394 | --program-transform-nam | --program-transform-na \ 1395 | --program-transform-n | --program-transform- \ 1396 | --program-transform | --program-transfor \ 1397 | --program-transfo | --program-transf \ 1398 | --program-trans | --program-tran \ 1399 | --progr-tra | --program-tr | --program-t) 1400 ac_prev=program_transform_name ;; 1401 -program-transform-name=* | --program-transform-name=* \ 1402 | --program-transform-nam=* | --program-transform-na=* \ 1403 | --program-transform-n=* | --program-transform-=* \ 1404 | --program-transform=* | --program-transfor=* \ 1405 | --program-transfo=* | --program-transf=* \ 1406 | --program-trans=* | --program-tran=* \ 1407 | --progr-tra=* | --program-tr=* | --program-t=*) 1408 program_transform_name=$ac_optarg ;; 1409 1410 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1411 ac_prev=pdfdir ;; 1412 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1413 pdfdir=$ac_optarg ;; 1414 1415 -psdir | --psdir | --psdi | --psd | --ps) 1416 ac_prev=psdir ;; 1417 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1418 psdir=$ac_optarg ;; 1419 1420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1421 | -silent | --silent | --silen | --sile | --sil) 1422 silent=yes ;; 1423 1424 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1425 ac_prev=sbindir ;; 1426 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1427 | --sbi=* | --sb=*) 1428 sbindir=$ac_optarg ;; 1429 1430 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1431 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1432 | --sharedst | --shareds | --shared | --share | --shar \ 1433 | --sha | --sh) 1434 ac_prev=sharedstatedir ;; 1435 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1436 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1437 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1438 | --sha=* | --sh=*) 1439 sharedstatedir=$ac_optarg ;; 1440 1441 -site | --site | --sit) 1442 ac_prev=site ;; 1443 -site=* | --site=* | --sit=*) 1444 site=$ac_optarg ;; 1445 1446 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1447 ac_prev=srcdir ;; 1448 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1449 srcdir=$ac_optarg ;; 1450 1451 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1452 | --syscon | --sysco | --sysc | --sys | --sy) 1453 ac_prev=sysconfdir ;; 1454 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1455 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1456 sysconfdir=$ac_optarg ;; 1457 1458 -target | --target | --targe | --targ | --tar | --ta | --t) 1459 ac_prev=target_alias ;; 1460 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1461 target_alias=$ac_optarg ;; 1462 1463 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1464 verbose=yes ;; 1465 1466 -version | --version | --versio | --versi | --vers | -V) 1467 ac_init_version=: ;; 1468 1469 -with-* | --with-*) 1470 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1471 # Reject names that are not valid shell variable names. 1472 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1473 as_fn_error $? "invalid package name: $ac_useropt" 1474 ac_useropt_orig=$ac_useropt 1475 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1476 case $ac_user_opts in 1477 *" 1478"with_$ac_useropt" 1479"*) ;; 1480 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1481 ac_unrecognized_sep=', ';; 1482 esac 1483 eval with_$ac_useropt=\$ac_optarg ;; 1484 1485 -without-* | --without-*) 1486 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1487 # Reject names that are not valid shell variable names. 1488 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1489 as_fn_error $? "invalid package name: $ac_useropt" 1490 ac_useropt_orig=$ac_useropt 1491 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1492 case $ac_user_opts in 1493 *" 1494"with_$ac_useropt" 1495"*) ;; 1496 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1497 ac_unrecognized_sep=', ';; 1498 esac 1499 eval with_$ac_useropt=no ;; 1500 1501 --x) 1502 # Obsolete; use --with-x. 1503 with_x=yes ;; 1504 1505 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1506 | --x-incl | --x-inc | --x-in | --x-i) 1507 ac_prev=x_includes ;; 1508 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1509 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1510 x_includes=$ac_optarg ;; 1511 1512 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1513 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1514 ac_prev=x_libraries ;; 1515 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1516 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1517 x_libraries=$ac_optarg ;; 1518 1519 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1520Try \`$0 --help' for more information" 1521 ;; 1522 1523 *=*) 1524 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1525 # Reject names that are not valid shell variable names. 1526 case $ac_envvar in #( 1527 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1528 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1529 esac 1530 eval $ac_envvar=\$ac_optarg 1531 export $ac_envvar ;; 1532 1533 *) 1534 # FIXME: should be removed in autoconf 3.0. 1535 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1536 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1537 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1538 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1539 ;; 1540 1541 esac 1542done 1543 1544if test -n "$ac_prev"; then 1545 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1546 as_fn_error $? "missing argument to $ac_option" 1547fi 1548 1549if test -n "$ac_unrecognized_opts"; then 1550 case $enable_option_checking in 1551 no) ;; 1552 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1553 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1554 esac 1555fi 1556 1557# Check all directory arguments for consistency. 1558for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1559 datadir sysconfdir sharedstatedir localstatedir includedir \ 1560 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1561 libdir localedir mandir 1562do 1563 eval ac_val=\$$ac_var 1564 # Remove trailing slashes. 1565 case $ac_val in 1566 */ ) 1567 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1568 eval $ac_var=\$ac_val;; 1569 esac 1570 # Be sure to have absolute directory names. 1571 case $ac_val in 1572 [\\/$]* | ?:[\\/]* ) continue;; 1573 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1574 esac 1575 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1576done 1577 1578# There might be people who depend on the old broken behavior: `$host' 1579# used to hold the argument of --host etc. 1580# FIXME: To remove some day. 1581build=$build_alias 1582host=$host_alias 1583target=$target_alias 1584 1585# FIXME: To remove some day. 1586if test "x$host_alias" != x; then 1587 if test "x$build_alias" = x; then 1588 cross_compiling=maybe 1589 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1590 If a cross compiler is detected then cross compile mode will be used" >&2 1591 elif test "x$build_alias" != "x$host_alias"; then 1592 cross_compiling=yes 1593 fi 1594fi 1595 1596ac_tool_prefix= 1597test -n "$host_alias" && ac_tool_prefix=$host_alias- 1598 1599test "$silent" = yes && exec 6>/dev/null 1600 1601 1602ac_pwd=`pwd` && test -n "$ac_pwd" && 1603ac_ls_di=`ls -di .` && 1604ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1605 as_fn_error $? "working directory cannot be determined" 1606test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1607 as_fn_error $? "pwd does not report name of working directory" 1608 1609 1610# Find the source files, if location was not specified. 1611if test -z "$srcdir"; then 1612 ac_srcdir_defaulted=yes 1613 # Try the directory containing this script, then the parent directory. 1614 ac_confdir=`$as_dirname -- "$as_myself" || 1615$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1616 X"$as_myself" : 'X\(//\)[^/]' \| \ 1617 X"$as_myself" : 'X\(//\)$' \| \ 1618 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1619$as_echo X"$as_myself" | 1620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1621 s//\1/ 1622 q 1623 } 1624 /^X\(\/\/\)[^/].*/{ 1625 s//\1/ 1626 q 1627 } 1628 /^X\(\/\/\)$/{ 1629 s//\1/ 1630 q 1631 } 1632 /^X\(\/\).*/{ 1633 s//\1/ 1634 q 1635 } 1636 s/.*/./; q'` 1637 srcdir=$ac_confdir 1638 if test ! -r "$srcdir/$ac_unique_file"; then 1639 srcdir=.. 1640 fi 1641else 1642 ac_srcdir_defaulted=no 1643fi 1644if test ! -r "$srcdir/$ac_unique_file"; then 1645 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1646 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1647fi 1648ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1649ac_abs_confdir=`( 1650 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1651 pwd)` 1652# When building in place, set srcdir=. 1653if test "$ac_abs_confdir" = "$ac_pwd"; then 1654 srcdir=. 1655fi 1656# Remove unnecessary trailing slashes from srcdir. 1657# Double slashes in file names in object file debugging info 1658# mess up M-x gdb in Emacs. 1659case $srcdir in 1660*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1661esac 1662for ac_var in $ac_precious_vars; do 1663 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1664 eval ac_env_${ac_var}_value=\$${ac_var} 1665 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1666 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1667done 1668 1669# 1670# Report the --help message. 1671# 1672if test "$ac_init_help" = "long"; then 1673 # Omit some internal or obsolete options to make the list less imposing. 1674 # This message is too long to be a string in the A/UX 3.1 sh. 1675 cat <<_ACEOF 1676\`configure' configures deadbeef 0.7.2 to adapt to many kinds of systems. 1677 1678Usage: $0 [OPTION]... [VAR=VALUE]... 1679 1680To assign environment variables (e.g., CC, CFLAGS...), specify them as 1681VAR=VALUE. See below for descriptions of some of the useful variables. 1682 1683Defaults for the options are specified in brackets. 1684 1685Configuration: 1686 -h, --help display this help and exit 1687 --help=short display options specific to this package 1688 --help=recursive display the short help of all the included packages 1689 -V, --version display version information and exit 1690 -q, --quiet, --silent do not print \`checking ...' messages 1691 --cache-file=FILE cache test results in FILE [disabled] 1692 -C, --config-cache alias for \`--cache-file=config.cache' 1693 -n, --no-create do not create output files 1694 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1695 1696Installation directories: 1697 --prefix=PREFIX install architecture-independent files in PREFIX 1698 [$ac_default_prefix] 1699 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1700 [PREFIX] 1701 1702By default, \`make install' will install all the files in 1703\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1704an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1705for instance \`--prefix=\$HOME'. 1706 1707For better control, use the options below. 1708 1709Fine tuning of the installation directories: 1710 --bindir=DIR user executables [EPREFIX/bin] 1711 --sbindir=DIR system admin executables [EPREFIX/sbin] 1712 --libexecdir=DIR program executables [EPREFIX/libexec] 1713 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1714 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1715 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1716 --libdir=DIR object code libraries [EPREFIX/lib] 1717 --includedir=DIR C header files [PREFIX/include] 1718 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1719 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1720 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1721 --infodir=DIR info documentation [DATAROOTDIR/info] 1722 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1723 --mandir=DIR man documentation [DATAROOTDIR/man] 1724 --docdir=DIR documentation root [DATAROOTDIR/doc/deadbeef] 1725 --htmldir=DIR html documentation [DOCDIR] 1726 --dvidir=DIR dvi documentation [DOCDIR] 1727 --pdfdir=DIR pdf documentation [DOCDIR] 1728 --psdir=DIR ps documentation [DOCDIR] 1729_ACEOF 1730 1731 cat <<\_ACEOF 1732 1733Program names: 1734 --program-prefix=PREFIX prepend PREFIX to installed program names 1735 --program-suffix=SUFFIX append SUFFIX to installed program names 1736 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1737 1738System types: 1739 --build=BUILD configure for building on BUILD [guessed] 1740 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1741_ACEOF 1742fi 1743 1744if test -n "$ac_init_help"; then 1745 case $ac_init_help in 1746 short | recursive ) echo "Configuration of deadbeef 0.7.2:";; 1747 esac 1748 cat <<\_ACEOF 1749 1750Optional Features: 1751 --disable-option-checking ignore unrecognized --enable/--with options 1752 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1753 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1754 --enable-silent-rules less verbose build output (undo: `make V=1') 1755 --disable-silent-rules verbose build output (undo: `make V=0') 1756 --enable-maintainer-mode enable make rules and dependencies not useful 1757 (and sometimes confusing) to the casual installer 1758 --disable-dependency-tracking speeds up one-time build 1759 --enable-dependency-tracking do not reject slow dependency extractors 1760 --enable-static[=PKGS] build static libraries [default=no] 1761 --enable-shared[=PKGS] build shared libraries [default=yes] 1762 --enable-fast-install[=PKGS] 1763 optimize for fast installation [default=yes] 1764 --disable-libtool-lock avoid locking (might break parallel builds) 1765 --disable-nls do not use Native Language Support 1766 --enable-threads={posix|solaris|pth|win32} 1767 specify multithreading API 1768 --disable-threads build without multithread safety 1769 --disable-rpath do not hardcode runtime library paths 1770 --disable-nullout disable NULL output plugin (default: enabled) 1771 --disable-alsa disable ALSA output plugin (default: enabled) 1772 --disable-oss disable Open Sound System output plugin (default: 1773 enabled) 1774 --disable-pulse disable PulseAudio output plugin (default: enabled) 1775 --disable-coreaudio disable CoreAudio output plugin (default: enabled) 1776 --disable-gtk3 disable GTK3 version of gtkui plugin (default: 1777 enabled) 1778 --disable-gtk2 disable GTK2 version of gtkui plugin (default: 1779 enabled) 1780 --disable-vfs-curl disable HTTP streaming vfs plugin (default: enabled) 1781 --disable-lfm disable last.fm/libre.fm scrobbler plugin (default: 1782 enabled) 1783 --disable-artwork disable album art loader plugin (default: enabled) 1784 --disable-artwork-network 1785 disable album art network loading support (default: 1786 enabled) 1787 --disable-supereq disable SuperEQ DSP plugin (default: enabled) 1788 --disable-sid disable commodore64 SID music player plugin 1789 (default: enabled) 1790 --disable-mp3 disable mp3 plugin (default: enabled) 1791 --disable-libmad disable libmad support in mp3 plugin (default: auto) 1792 --disable-libmpg123 1793 disable libmpg123 support in mp3 plugin (default: 1794 auto) 1795 --disable-ffap disable Monkey's Audio plugin (default: enabled) 1796 --disable-vtx disable libayemy VTX ZX-Spectrum music player plugin 1797 (default: enabled) 1798 --disable-adplug disable adplug plugin (default: enabled) 1799 --disable-hotkeys disable global hotkeys plugin (default: enabled) 1800 --disable-vorbis disable Ogg Vorbis player plugin (default: enabled) 1801 --disable-ffmpeg disable FFMPEG plugin for WMA, AMR, etc (default: 1802 enabled) 1803 --disable-flac disable FLAC player plugin (default: enabled) 1804 --disable-sndfile disable libsndfile plugin for PCM wave files 1805 (default: enabled) 1806 --disable-wavpack disable wavpack plugin (default: enabled) 1807 --disable-cdda disable CD-Audio plugin (default: enabled) 1808 --disable-cdda-paranoia 1809 disable CD-Audio error correction during ripping 1810 (default: enabled) 1811 --disable-gme disable Game Music Emu plugin for NSF, AY, etc 1812 (default: enabled) 1813 --disable-notify disable notification-daemon support plugin (default: 1814 enabled) 1815 --disable-shellexec disable shell commands plugin (default: enabled) 1816 --disable-musepack disable musepack plugin (default: enabled) 1817 --disable-wildmidi disable wildmidi plugin (default: enabled) 1818 --disable-tta disable tta plugin (default: enabled) 1819 --disable-dca disable dca (DTS audio) plugin (default: enabled) 1820 --disable-aac disable AAC decoder based on FAAD2 (default: 1821 enabled) 1822 --disable-mms disable MMS streaming vfs plugin (default: enabled) 1823 --enable-staticlink link everything statically (default: disabled) 1824 --enable-portable make portable build (default: disabled, opts: 1825 yes,no,full) 1826 --enable-src build libsamplerate (SRC) plugin (default: auto) 1827 --enable-m3u build m3u plugin (default: auto) 1828 --enable-vfs-zip build vfs_zip plugin (default: auto) 1829 --enable-converter 1830 build converter plugin (default: auto) 1831 --enable-artwork-imlib2 1832 use imlib2 in artwork plugin (default: auto) 1833 --enable-dumb build DUMB plugin (default: auto) 1834 --enable-shn build SHN plugin (default: auto) 1835 --enable-psf build AOSDK-based PSF(,QSF,SSF,DSF) plugin (default: 1836 auto) 1837 --enable-mono2stereo 1838 build mono2stereo DSP plugin (default: auto) 1839 --enable-shellexecui 1840 build shellexec GTK UI plugin (default: auto) 1841 --enable-alac build ALAC plugin (default: auto) 1842 --enable-wma build WMA plugin (default: auto) 1843 --enable-pltbrowser 1844 build playlist browser gui plugin (default: auto) 1845 --enable-sc68 build sc68 Atari ST and Amiga music player (default: 1846 auto) 1847 --enable-abstract-socket 1848 use abstract UNIX socket for IPC (default: disabled) 1849 1850Optional Packages: 1851 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1852 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1853 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1854 both] 1855 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1856 --with-sysroot=DIR Search for dependent libraries within DIR 1857 (or the compiler's sysroot if not specified). 1858 --with-gnu-ld assume the C compiler uses GNU ld default=no 1859 --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib 1860 --without-libpth-prefix don't search for libpth in includedir and libdir 1861 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1862 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1863 --with-included-gettext use the GNU gettext library included here 1864 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1865 --without-libintl-prefix don't search for libintl in includedir and libdir 1866 1867Some influential environment variables: 1868 CC C compiler command 1869 CFLAGS C compiler flags 1870 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1871 nonstandard directory <lib dir> 1872 LIBS libraries to pass to the linker, e.g. -l<library> 1873 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1874 you have headers in a nonstandard directory <include dir> 1875 CPP C preprocessor 1876 CXX C++ compiler command 1877 CXXFLAGS C++ compiler flags 1878 CXXCPP C++ preprocessor 1879 OBJC Objective C compiler command 1880 OBJCFLAGS Objective C compiler flags 1881 PKG_CONFIG path to pkg-config utility 1882 PKG_CONFIG_PATH 1883 directories to add to pkg-config's search path 1884 PKG_CONFIG_LIBDIR 1885 path overriding pkg-config's built-in search path 1886 ZIP_CFLAGS C compiler flags for ZIP, overriding pkg-config 1887 ZIP_LIBS linker flags for ZIP, overriding pkg-config 1888 GTK3_DEPS_CFLAGS 1889 C compiler flags for GTK3_DEPS, overriding pkg-config 1890 GTK3_DEPS_LIBS 1891 linker flags for GTK3_DEPS, overriding pkg-config 1892 GTK_MAC_CFLAGS 1893 C compiler flags for GTK_MAC, overriding pkg-config 1894 GTK_MAC_LIBS 1895 linker flags for GTK_MAC, overriding pkg-config 1896 JANSSON_CFLAGS 1897 C compiler flags for JANSSON, overriding pkg-config 1898 JANSSON_LIBS 1899 linker flags for JANSSON, overriding pkg-config 1900 GTK2_DEPS_CFLAGS 1901 C compiler flags for GTK2_DEPS, overriding pkg-config 1902 GTK2_DEPS_LIBS 1903 linker flags for GTK2_DEPS, overriding pkg-config 1904 ALSA_DEPS_CFLAGS 1905 C compiler flags for ALSA_DEPS, overriding pkg-config 1906 ALSA_DEPS_LIBS 1907 linker flags for ALSA_DEPS, overriding pkg-config 1908 FFMPEG_DEPS_CFLAGS 1909 C compiler flags for FFMPEG_DEPS, overriding pkg-config 1910 FFMPEG_DEPS_LIBS 1911 linker flags for FFMPEG_DEPS, overriding pkg-config 1912 DBUS_DEPS_CFLAGS 1913 C compiler flags for DBUS_DEPS, overriding pkg-config 1914 DBUS_DEPS_LIBS 1915 linker flags for DBUS_DEPS, overriding pkg-config 1916 PULSE_DEPS_CFLAGS 1917 C compiler flags for PULSE_DEPS, overriding pkg-config 1918 PULSE_DEPS_LIBS 1919 linker flags for PULSE_DEPS, overriding pkg-config 1920 IMLIB2_DEPS_CFLAGS 1921 C compiler flags for IMLIB2_DEPS, overriding pkg-config 1922 IMLIB2_DEPS_LIBS 1923 linker flags for IMLIB2_DEPS, overriding pkg-config 1924 LIBSAMPLERATE_DEPS_CFLAGS 1925 C compiler flags for LIBSAMPLERATE_DEPS, overriding pkg-config 1926 LIBSAMPLERATE_DEPS_LIBS 1927 linker flags for LIBSAMPLERATE_DEPS, overriding pkg-config 1928 1929Use these variables to override the choices made by `configure' or to help 1930it to find libraries and programs with nonstandard names/locations. 1931 1932Report bugs to the package provider. 1933_ACEOF 1934ac_status=$? 1935fi 1936 1937if test "$ac_init_help" = "recursive"; then 1938 # If there are subdirs, report their specific --help. 1939 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1940 test -d "$ac_dir" || 1941 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1942 continue 1943 ac_builddir=. 1944 1945case "$ac_dir" in 1946.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1947*) 1948 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1949 # A ".." for each directory in $ac_dir_suffix. 1950 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1951 case $ac_top_builddir_sub in 1952 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1953 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1954 esac ;; 1955esac 1956ac_abs_top_builddir=$ac_pwd 1957ac_abs_builddir=$ac_pwd$ac_dir_suffix 1958# for backward compatibility: 1959ac_top_builddir=$ac_top_build_prefix 1960 1961case $srcdir in 1962 .) # We are building in place. 1963 ac_srcdir=. 1964 ac_top_srcdir=$ac_top_builddir_sub 1965 ac_abs_top_srcdir=$ac_pwd ;; 1966 [\\/]* | ?:[\\/]* ) # Absolute name. 1967 ac_srcdir=$srcdir$ac_dir_suffix; 1968 ac_top_srcdir=$srcdir 1969 ac_abs_top_srcdir=$srcdir ;; 1970 *) # Relative name. 1971 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1972 ac_top_srcdir=$ac_top_build_prefix$srcdir 1973 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1974esac 1975ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1976 1977 cd "$ac_dir" || { ac_status=$?; continue; } 1978 # Check for guested configure. 1979 if test -f "$ac_srcdir/configure.gnu"; then 1980 echo && 1981 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1982 elif test -f "$ac_srcdir/configure"; then 1983 echo && 1984 $SHELL "$ac_srcdir/configure" --help=recursive 1985 else 1986 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1987 fi || ac_status=$? 1988 cd "$ac_pwd" || { ac_status=$?; break; } 1989 done 1990fi 1991 1992test -n "$ac_init_help" && exit $ac_status 1993if $ac_init_version; then 1994 cat <<\_ACEOF 1995deadbeef configure 0.7.2 1996generated by GNU Autoconf 2.68 1997 1998Copyright (C) 2010 Free Software Foundation, Inc. 1999This configure script is free software; the Free Software Foundation 2000gives unlimited permission to copy, distribute and modify it. 2001_ACEOF 2002 exit 2003fi 2004 2005## ------------------------ ## 2006## Autoconf initialization. ## 2007## ------------------------ ## 2008 2009# ac_fn_c_try_compile LINENO 2010# -------------------------- 2011# Try to compile conftest.$ac_ext, and return whether this succeeded. 2012ac_fn_c_try_compile () 2013{ 2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2015 rm -f conftest.$ac_objext 2016 if { { ac_try="$ac_compile" 2017case "(($ac_try" in 2018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2019 *) ac_try_echo=$ac_try;; 2020esac 2021eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2022$as_echo "$ac_try_echo"; } >&5 2023 (eval "$ac_compile") 2>conftest.err 2024 ac_status=$? 2025 if test -s conftest.err; then 2026 grep -v '^ *+' conftest.err >conftest.er1 2027 cat conftest.er1 >&5 2028 mv -f conftest.er1 conftest.err 2029 fi 2030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2031 test $ac_status = 0; } && { 2032 test -z "$ac_c_werror_flag" || 2033 test ! -s conftest.err 2034 } && test -s conftest.$ac_objext; then : 2035 ac_retval=0 2036else 2037 $as_echo "$as_me: failed program was:" >&5 2038sed 's/^/| /' conftest.$ac_ext >&5 2039 2040 ac_retval=1 2041fi 2042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2043 as_fn_set_status $ac_retval 2044 2045} # ac_fn_c_try_compile 2046 2047# ac_fn_c_try_cpp LINENO 2048# ---------------------- 2049# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2050ac_fn_c_try_cpp () 2051{ 2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2053 if { { ac_try="$ac_cpp conftest.$ac_ext" 2054case "(($ac_try" in 2055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2056 *) ac_try_echo=$ac_try;; 2057esac 2058eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2059$as_echo "$ac_try_echo"; } >&5 2060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2061 ac_status=$? 2062 if test -s conftest.err; then 2063 grep -v '^ *+' conftest.err >conftest.er1 2064 cat conftest.er1 >&5 2065 mv -f conftest.er1 conftest.err 2066 fi 2067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2068 test $ac_status = 0; } > conftest.i && { 2069 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2070 test ! -s conftest.err 2071 }; then : 2072 ac_retval=0 2073else 2074 $as_echo "$as_me: failed program was:" >&5 2075sed 's/^/| /' conftest.$ac_ext >&5 2076 2077 ac_retval=1 2078fi 2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2080 as_fn_set_status $ac_retval 2081 2082} # ac_fn_c_try_cpp 2083 2084# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2085# ------------------------------------------------------- 2086# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2087# the include files in INCLUDES and setting the cache variable VAR 2088# accordingly. 2089ac_fn_c_check_header_mongrel () 2090{ 2091 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2092 if eval \${$3+:} false; then : 2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2094$as_echo_n "checking for $2... " >&6; } 2095if eval \${$3+:} false; then : 2096 $as_echo_n "(cached) " >&6 2097fi 2098eval ac_res=\$$3 2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2100$as_echo "$ac_res" >&6; } 2101else 2102 # Is the header compilable? 2103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2104$as_echo_n "checking $2 usability... " >&6; } 2105cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2106/* end confdefs.h. */ 2107$4 2108#include <$2> 2109_ACEOF 2110if ac_fn_c_try_compile "$LINENO"; then : 2111 ac_header_compiler=yes 2112else 2113 ac_header_compiler=no 2114fi 2115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2117$as_echo "$ac_header_compiler" >&6; } 2118 2119# Is the header present? 2120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2121$as_echo_n "checking $2 presence... " >&6; } 2122cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2123/* end confdefs.h. */ 2124#include <$2> 2125_ACEOF 2126if ac_fn_c_try_cpp "$LINENO"; then : 2127 ac_header_preproc=yes 2128else 2129 ac_header_preproc=no 2130fi 2131rm -f conftest.err conftest.i conftest.$ac_ext 2132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2133$as_echo "$ac_header_preproc" >&6; } 2134 2135# So? What about this header? 2136case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2137 yes:no: ) 2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2139$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2141$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2142 ;; 2143 no:yes:* ) 2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2145$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2147$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2149$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2151$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2153$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2154 ;; 2155esac 2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2157$as_echo_n "checking for $2... " >&6; } 2158if eval \${$3+:} false; then : 2159 $as_echo_n "(cached) " >&6 2160else 2161 eval "$3=\$ac_header_compiler" 2162fi 2163eval ac_res=\$$3 2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2165$as_echo "$ac_res" >&6; } 2166fi 2167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2168 2169} # ac_fn_c_check_header_mongrel 2170 2171# ac_fn_c_try_run LINENO 2172# ---------------------- 2173# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2174# that executables *can* be run. 2175ac_fn_c_try_run () 2176{ 2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2178 if { { ac_try="$ac_link" 2179case "(($ac_try" in 2180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2181 *) ac_try_echo=$ac_try;; 2182esac 2183eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2184$as_echo "$ac_try_echo"; } >&5 2185 (eval "$ac_link") 2>&5 2186 ac_status=$? 2187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2188 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2189 { { case "(($ac_try" in 2190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2191 *) ac_try_echo=$ac_try;; 2192esac 2193eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2194$as_echo "$ac_try_echo"; } >&5 2195 (eval "$ac_try") 2>&5 2196 ac_status=$? 2197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2198 test $ac_status = 0; }; }; then : 2199 ac_retval=0 2200else 2201 $as_echo "$as_me: program exited with status $ac_status" >&5 2202 $as_echo "$as_me: failed program was:" >&5 2203sed 's/^/| /' conftest.$ac_ext >&5 2204 2205 ac_retval=$ac_status 2206fi 2207 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2208 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2209 as_fn_set_status $ac_retval 2210 2211} # ac_fn_c_try_run 2212 2213# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2214# ------------------------------------------------------- 2215# Tests whether HEADER exists and can be compiled using the include files in 2216# INCLUDES, setting the cache variable VAR accordingly. 2217ac_fn_c_check_header_compile () 2218{ 2219 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2221$as_echo_n "checking for $2... " >&6; } 2222if eval \${$3+:} false; then : 2223 $as_echo_n "(cached) " >&6 2224else 2225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2226/* end confdefs.h. */ 2227$4 2228#include <$2> 2229_ACEOF 2230if ac_fn_c_try_compile "$LINENO"; then : 2231 eval "$3=yes" 2232else 2233 eval "$3=no" 2234fi 2235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2236fi 2237eval ac_res=\$$3 2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2239$as_echo "$ac_res" >&6; } 2240 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2241 2242} # ac_fn_c_check_header_compile 2243 2244# ac_fn_c_try_link LINENO 2245# ----------------------- 2246# Try to link conftest.$ac_ext, and return whether this succeeded. 2247ac_fn_c_try_link () 2248{ 2249 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2250 rm -f conftest.$ac_objext conftest$ac_exeext 2251 if { { ac_try="$ac_link" 2252case "(($ac_try" in 2253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2254 *) ac_try_echo=$ac_try;; 2255esac 2256eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2257$as_echo "$ac_try_echo"; } >&5 2258 (eval "$ac_link") 2>conftest.err 2259 ac_status=$? 2260 if test -s conftest.err; then 2261 grep -v '^ *+' conftest.err >conftest.er1 2262 cat conftest.er1 >&5 2263 mv -f conftest.er1 conftest.err 2264 fi 2265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2266 test $ac_status = 0; } && { 2267 test -z "$ac_c_werror_flag" || 2268 test ! -s conftest.err 2269 } && test -s conftest$ac_exeext && { 2270 test "$cross_compiling" = yes || 2271 $as_test_x conftest$ac_exeext 2272 }; then : 2273 ac_retval=0 2274else 2275 $as_echo "$as_me: failed program was:" >&5 2276sed 's/^/| /' conftest.$ac_ext >&5 2277 2278 ac_retval=1 2279fi 2280 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2281 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2282 # interfere with the next link command; also delete a directory that is 2283 # left behind by Apple's compiler. We do this before executing the actions. 2284 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2285 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2286 as_fn_set_status $ac_retval 2287 2288} # ac_fn_c_try_link 2289 2290# ac_fn_c_check_func LINENO FUNC VAR 2291# ---------------------------------- 2292# Tests whether FUNC exists, setting the cache variable VAR accordingly 2293ac_fn_c_check_func () 2294{ 2295 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2297$as_echo_n "checking for $2... " >&6; } 2298if eval \${$3+:} false; then : 2299 $as_echo_n "(cached) " >&6 2300else 2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2302/* end confdefs.h. */ 2303/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2304 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2305#define $2 innocuous_$2 2306 2307/* System header to define __stub macros and hopefully few prototypes, 2308 which can conflict with char $2 (); below. 2309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2310 <limits.h> exists even on freestanding compilers. */ 2311 2312#ifdef __STDC__ 2313# include <limits.h> 2314#else 2315# include <assert.h> 2316#endif 2317 2318#undef $2 2319 2320/* Override any GCC internal prototype to avoid an error. 2321 Use char because int might match the return type of a GCC 2322 builtin and then its argument prototype would still apply. */ 2323#ifdef __cplusplus 2324extern "C" 2325#endif 2326char $2 (); 2327/* The GNU C library defines this for functions which it implements 2328 to always fail with ENOSYS. Some functions are actually named 2329 something starting with __ and the normal name is an alias. */ 2330#if defined __stub_$2 || defined __stub___$2 2331choke me 2332#endif 2333 2334int 2335main () 2336{ 2337return $2 (); 2338 ; 2339 return 0; 2340} 2341_ACEOF 2342if ac_fn_c_try_link "$LINENO"; then : 2343 eval "$3=yes" 2344else 2345 eval "$3=no" 2346fi 2347rm -f core conftest.err conftest.$ac_objext \ 2348 conftest$ac_exeext conftest.$ac_ext 2349fi 2350eval ac_res=\$$3 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2352$as_echo "$ac_res" >&6; } 2353 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2354 2355} # ac_fn_c_check_func 2356 2357# ac_fn_cxx_try_compile LINENO 2358# ---------------------------- 2359# Try to compile conftest.$ac_ext, and return whether this succeeded. 2360ac_fn_cxx_try_compile () 2361{ 2362 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2363 rm -f conftest.$ac_objext 2364 if { { ac_try="$ac_compile" 2365case "(($ac_try" in 2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2367 *) ac_try_echo=$ac_try;; 2368esac 2369eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2370$as_echo "$ac_try_echo"; } >&5 2371 (eval "$ac_compile") 2>conftest.err 2372 ac_status=$? 2373 if test -s conftest.err; then 2374 grep -v '^ *+' conftest.err >conftest.er1 2375 cat conftest.er1 >&5 2376 mv -f conftest.er1 conftest.err 2377 fi 2378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2379 test $ac_status = 0; } && { 2380 test -z "$ac_cxx_werror_flag" || 2381 test ! -s conftest.err 2382 } && test -s conftest.$ac_objext; then : 2383 ac_retval=0 2384else 2385 $as_echo "$as_me: failed program was:" >&5 2386sed 's/^/| /' conftest.$ac_ext >&5 2387 2388 ac_retval=1 2389fi 2390 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2391 as_fn_set_status $ac_retval 2392 2393} # ac_fn_cxx_try_compile 2394 2395# ac_fn_cxx_try_cpp LINENO 2396# ------------------------ 2397# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2398ac_fn_cxx_try_cpp () 2399{ 2400 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2401 if { { ac_try="$ac_cpp conftest.$ac_ext" 2402case "(($ac_try" in 2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2404 *) ac_try_echo=$ac_try;; 2405esac 2406eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2407$as_echo "$ac_try_echo"; } >&5 2408 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2409 ac_status=$? 2410 if test -s conftest.err; then 2411 grep -v '^ *+' conftest.err >conftest.er1 2412 cat conftest.er1 >&5 2413 mv -f conftest.er1 conftest.err 2414 fi 2415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2416 test $ac_status = 0; } > conftest.i && { 2417 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2418 test ! -s conftest.err 2419 }; then : 2420 ac_retval=0 2421else 2422 $as_echo "$as_me: failed program was:" >&5 2423sed 's/^/| /' conftest.$ac_ext >&5 2424 2425 ac_retval=1 2426fi 2427 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2428 as_fn_set_status $ac_retval 2429 2430} # ac_fn_cxx_try_cpp 2431 2432# ac_fn_cxx_try_link LINENO 2433# ------------------------- 2434# Try to link conftest.$ac_ext, and return whether this succeeded. 2435ac_fn_cxx_try_link () 2436{ 2437 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2438 rm -f conftest.$ac_objext conftest$ac_exeext 2439 if { { ac_try="$ac_link" 2440case "(($ac_try" in 2441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2442 *) ac_try_echo=$ac_try;; 2443esac 2444eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2445$as_echo "$ac_try_echo"; } >&5 2446 (eval "$ac_link") 2>conftest.err 2447 ac_status=$? 2448 if test -s conftest.err; then 2449 grep -v '^ *+' conftest.err >conftest.er1 2450 cat conftest.er1 >&5 2451 mv -f conftest.er1 conftest.err 2452 fi 2453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2454 test $ac_status = 0; } && { 2455 test -z "$ac_cxx_werror_flag" || 2456 test ! -s conftest.err 2457 } && test -s conftest$ac_exeext && { 2458 test "$cross_compiling" = yes || 2459 $as_test_x conftest$ac_exeext 2460 }; then : 2461 ac_retval=0 2462else 2463 $as_echo "$as_me: failed program was:" >&5 2464sed 's/^/| /' conftest.$ac_ext >&5 2465 2466 ac_retval=1 2467fi 2468 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2469 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2470 # interfere with the next link command; also delete a directory that is 2471 # left behind by Apple's compiler. We do this before executing the actions. 2472 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2474 as_fn_set_status $ac_retval 2475 2476} # ac_fn_cxx_try_link 2477 2478# ac_fn_objc_try_compile LINENO 2479# ----------------------------- 2480# Try to compile conftest.$ac_ext, and return whether this succeeded. 2481ac_fn_objc_try_compile () 2482{ 2483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2484 rm -f conftest.$ac_objext 2485 if { { ac_try="$ac_compile" 2486case "(($ac_try" in 2487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2488 *) ac_try_echo=$ac_try;; 2489esac 2490eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2491$as_echo "$ac_try_echo"; } >&5 2492 (eval "$ac_compile") 2>conftest.err 2493 ac_status=$? 2494 if test -s conftest.err; then 2495 grep -v '^ *+' conftest.err >conftest.er1 2496 cat conftest.er1 >&5 2497 mv -f conftest.er1 conftest.err 2498 fi 2499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2500 test $ac_status = 0; } && { 2501 test -z "$ac_objc_werror_flag" || 2502 test ! -s conftest.err 2503 } && test -s conftest.$ac_objext; then : 2504 ac_retval=0 2505else 2506 $as_echo "$as_me: failed program was:" >&5 2507sed 's/^/| /' conftest.$ac_ext >&5 2508 2509 ac_retval=1 2510fi 2511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2512 as_fn_set_status $ac_retval 2513 2514} # ac_fn_objc_try_compile 2515 2516# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2517# ------------------------------------------- 2518# Tests whether TYPE exists after having included INCLUDES, setting cache 2519# variable VAR accordingly. 2520ac_fn_c_check_type () 2521{ 2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2524$as_echo_n "checking for $2... " >&6; } 2525if eval \${$3+:} false; then : 2526 $as_echo_n "(cached) " >&6 2527else 2528 eval "$3=no" 2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2530/* end confdefs.h. */ 2531$4 2532int 2533main () 2534{ 2535if (sizeof ($2)) 2536 return 0; 2537 ; 2538 return 0; 2539} 2540_ACEOF 2541if ac_fn_c_try_compile "$LINENO"; then : 2542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2543/* end confdefs.h. */ 2544$4 2545int 2546main () 2547{ 2548if (sizeof (($2))) 2549 return 0; 2550 ; 2551 return 0; 2552} 2553_ACEOF 2554if ac_fn_c_try_compile "$LINENO"; then : 2555 2556else 2557 eval "$3=yes" 2558fi 2559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2560fi 2561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2562fi 2563eval ac_res=\$$3 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2565$as_echo "$ac_res" >&6; } 2566 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2567 2568} # ac_fn_c_check_type 2569 2570# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2571# -------------------------------------------- 2572# Tries to find the compile-time value of EXPR in a program that includes 2573# INCLUDES, setting VAR accordingly. Returns whether the value could be 2574# computed 2575ac_fn_c_compute_int () 2576{ 2577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2578 if test "$cross_compiling" = yes; then 2579 # Depending upon the size, compute the lo and hi bounds. 2580cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2581/* end confdefs.h. */ 2582$4 2583int 2584main () 2585{ 2586static int test_array [1 - 2 * !(($2) >= 0)]; 2587test_array [0] = 0 2588 2589 ; 2590 return 0; 2591} 2592_ACEOF 2593if ac_fn_c_try_compile "$LINENO"; then : 2594 ac_lo=0 ac_mid=0 2595 while :; do 2596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2597/* end confdefs.h. */ 2598$4 2599int 2600main () 2601{ 2602static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2603test_array [0] = 0 2604 2605 ; 2606 return 0; 2607} 2608_ACEOF 2609if ac_fn_c_try_compile "$LINENO"; then : 2610 ac_hi=$ac_mid; break 2611else 2612 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2613 if test $ac_lo -le $ac_mid; then 2614 ac_lo= ac_hi= 2615 break 2616 fi 2617 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2618fi 2619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2620 done 2621else 2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2623/* end confdefs.h. */ 2624$4 2625int 2626main () 2627{ 2628static int test_array [1 - 2 * !(($2) < 0)]; 2629test_array [0] = 0 2630 2631 ; 2632 return 0; 2633} 2634_ACEOF 2635if ac_fn_c_try_compile "$LINENO"; then : 2636 ac_hi=-1 ac_mid=-1 2637 while :; do 2638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2639/* end confdefs.h. */ 2640$4 2641int 2642main () 2643{ 2644static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2645test_array [0] = 0 2646 2647 ; 2648 return 0; 2649} 2650_ACEOF 2651if ac_fn_c_try_compile "$LINENO"; then : 2652 ac_lo=$ac_mid; break 2653else 2654 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2655 if test $ac_mid -le $ac_hi; then 2656 ac_lo= ac_hi= 2657 break 2658 fi 2659 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2660fi 2661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2662 done 2663else 2664 ac_lo= ac_hi= 2665fi 2666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2667fi 2668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2669# Binary search between lo and hi bounds. 2670while test "x$ac_lo" != "x$ac_hi"; do 2671 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2673/* end confdefs.h. */ 2674$4 2675int 2676main () 2677{ 2678static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2679test_array [0] = 0 2680 2681 ; 2682 return 0; 2683} 2684_ACEOF 2685if ac_fn_c_try_compile "$LINENO"; then : 2686 ac_hi=$ac_mid 2687else 2688 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2689fi 2690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2691done 2692case $ac_lo in #(( 2693?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2694'') ac_retval=1 ;; 2695esac 2696 else 2697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2698/* end confdefs.h. */ 2699$4 2700static long int longval () { return $2; } 2701static unsigned long int ulongval () { return $2; } 2702#include <stdio.h> 2703#include <stdlib.h> 2704int 2705main () 2706{ 2707 2708 FILE *f = fopen ("conftest.val", "w"); 2709 if (! f) 2710 return 1; 2711 if (($2) < 0) 2712 { 2713 long int i = longval (); 2714 if (i != ($2)) 2715 return 1; 2716 fprintf (f, "%ld", i); 2717 } 2718 else 2719 { 2720 unsigned long int i = ulongval (); 2721 if (i != ($2)) 2722 return 1; 2723 fprintf (f, "%lu", i); 2724 } 2725 /* Do not output a trailing newline, as this causes \r\n confusion 2726 on some platforms. */ 2727 return ferror (f) || fclose (f) != 0; 2728 2729 ; 2730 return 0; 2731} 2732_ACEOF 2733if ac_fn_c_try_run "$LINENO"; then : 2734 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2735else 2736 ac_retval=1 2737fi 2738rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2739 conftest.$ac_objext conftest.beam conftest.$ac_ext 2740rm -f conftest.val 2741 2742 fi 2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2744 as_fn_set_status $ac_retval 2745 2746} # ac_fn_c_compute_int 2747cat >config.log <<_ACEOF 2748This file contains any messages produced by compilers while 2749running configure, to aid debugging if configure makes a mistake. 2750 2751It was created by deadbeef $as_me 0.7.2, which was 2752generated by GNU Autoconf 2.68. Invocation command line was 2753 2754 $ $0 $@ 2755 2756_ACEOF 2757exec 5>>config.log 2758{ 2759cat <<_ASUNAME 2760## --------- ## 2761## Platform. ## 2762## --------- ## 2763 2764hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2765uname -m = `(uname -m) 2>/dev/null || echo unknown` 2766uname -r = `(uname -r) 2>/dev/null || echo unknown` 2767uname -s = `(uname -s) 2>/dev/null || echo unknown` 2768uname -v = `(uname -v) 2>/dev/null || echo unknown` 2769 2770/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2771/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2772 2773/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2774/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2775/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2776/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2777/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2778/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2779/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2780 2781_ASUNAME 2782 2783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2784for as_dir in $PATH 2785do 2786 IFS=$as_save_IFS 2787 test -z "$as_dir" && as_dir=. 2788 $as_echo "PATH: $as_dir" 2789 done 2790IFS=$as_save_IFS 2791 2792} >&5 2793 2794cat >&5 <<_ACEOF 2795 2796 2797## ----------- ## 2798## Core tests. ## 2799## ----------- ## 2800 2801_ACEOF 2802 2803 2804# Keep a trace of the command line. 2805# Strip out --no-create and --no-recursion so they do not pile up. 2806# Strip out --silent because we don't want to record it for future runs. 2807# Also quote any args containing shell meta-characters. 2808# Make two passes to allow for proper duplicate-argument suppression. 2809ac_configure_args= 2810ac_configure_args0= 2811ac_configure_args1= 2812ac_must_keep_next=false 2813for ac_pass in 1 2 2814do 2815 for ac_arg 2816 do 2817 case $ac_arg in 2818 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2819 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2820 | -silent | --silent | --silen | --sile | --sil) 2821 continue ;; 2822 *\'*) 2823 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2824 esac 2825 case $ac_pass in 2826 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2827 2) 2828 as_fn_append ac_configure_args1 " '$ac_arg'" 2829 if test $ac_must_keep_next = true; then 2830 ac_must_keep_next=false # Got value, back to normal. 2831 else 2832 case $ac_arg in 2833 *=* | --config-cache | -C | -disable-* | --disable-* \ 2834 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2835 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2836 | -with-* | --with-* | -without-* | --without-* | --x) 2837 case "$ac_configure_args0 " in 2838 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2839 esac 2840 ;; 2841 -* ) ac_must_keep_next=true ;; 2842 esac 2843 fi 2844 as_fn_append ac_configure_args " '$ac_arg'" 2845 ;; 2846 esac 2847 done 2848done 2849{ ac_configure_args0=; unset ac_configure_args0;} 2850{ ac_configure_args1=; unset ac_configure_args1;} 2851 2852# When interrupted or exit'd, cleanup temporary files, and complete 2853# config.log. We remove comments because anyway the quotes in there 2854# would cause problems or look ugly. 2855# WARNING: Use '\'' to represent an apostrophe within the trap. 2856# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2857trap 'exit_status=$? 2858 # Save into config.log some information that might help in debugging. 2859 { 2860 echo 2861 2862 $as_echo "## ---------------- ## 2863## Cache variables. ## 2864## ---------------- ##" 2865 echo 2866 # The following way of writing the cache mishandles newlines in values, 2867( 2868 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2869 eval ac_val=\$$ac_var 2870 case $ac_val in #( 2871 *${as_nl}*) 2872 case $ac_var in #( 2873 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2874$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2875 esac 2876 case $ac_var in #( 2877 _ | IFS | as_nl) ;; #( 2878 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2879 *) { eval $ac_var=; unset $ac_var;} ;; 2880 esac ;; 2881 esac 2882 done 2883 (set) 2>&1 | 2884 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2885 *${as_nl}ac_space=\ *) 2886 sed -n \ 2887 "s/'\''/'\''\\\\'\'''\''/g; 2888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2889 ;; #( 2890 *) 2891 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2892 ;; 2893 esac | 2894 sort 2895) 2896 echo 2897 2898 $as_echo "## ----------------- ## 2899## Output variables. ## 2900## ----------------- ##" 2901 echo 2902 for ac_var in $ac_subst_vars 2903 do 2904 eval ac_val=\$$ac_var 2905 case $ac_val in 2906 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2907 esac 2908 $as_echo "$ac_var='\''$ac_val'\''" 2909 done | sort 2910 echo 2911 2912 if test -n "$ac_subst_files"; then 2913 $as_echo "## ------------------- ## 2914## File substitutions. ## 2915## ------------------- ##" 2916 echo 2917 for ac_var in $ac_subst_files 2918 do 2919 eval ac_val=\$$ac_var 2920 case $ac_val in 2921 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2922 esac 2923 $as_echo "$ac_var='\''$ac_val'\''" 2924 done | sort 2925 echo 2926 fi 2927 2928 if test -s confdefs.h; then 2929 $as_echo "## ----------- ## 2930## confdefs.h. ## 2931## ----------- ##" 2932 echo 2933 cat confdefs.h 2934 echo 2935 fi 2936 test "$ac_signal" != 0 && 2937 $as_echo "$as_me: caught signal $ac_signal" 2938 $as_echo "$as_me: exit $exit_status" 2939 } >&5 2940 rm -f core *.core core.conftest.* && 2941 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2942 exit $exit_status 2943' 0 2944for ac_signal in 1 2 13 15; do 2945 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2946done 2947ac_signal=0 2948 2949# confdefs.h avoids OS command line length limits that DEFS can exceed. 2950rm -f -r conftest* confdefs.h 2951 2952$as_echo "/* confdefs.h */" > confdefs.h 2953 2954# Predefined preprocessor variables. 2955 2956cat >>confdefs.h <<_ACEOF 2957#define PACKAGE_NAME "$PACKAGE_NAME" 2958_ACEOF 2959 2960cat >>confdefs.h <<_ACEOF 2961#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2962_ACEOF 2963 2964cat >>confdefs.h <<_ACEOF 2965#define PACKAGE_VERSION "$PACKAGE_VERSION" 2966_ACEOF 2967 2968cat >>confdefs.h <<_ACEOF 2969#define PACKAGE_STRING "$PACKAGE_STRING" 2970_ACEOF 2971 2972cat >>confdefs.h <<_ACEOF 2973#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2974_ACEOF 2975 2976cat >>confdefs.h <<_ACEOF 2977#define PACKAGE_URL "$PACKAGE_URL" 2978_ACEOF 2979 2980 2981# Let the site file select an alternate cache file if it wants to. 2982# Prefer an explicitly selected file to automatically selected ones. 2983ac_site_file1=NONE 2984ac_site_file2=NONE 2985if test -n "$CONFIG_SITE"; then 2986 # We do not want a PATH search for config.site. 2987 case $CONFIG_SITE in #(( 2988 -*) ac_site_file1=./$CONFIG_SITE;; 2989 */*) ac_site_file1=$CONFIG_SITE;; 2990 *) ac_site_file1=./$CONFIG_SITE;; 2991 esac 2992elif test "x$prefix" != xNONE; then 2993 ac_site_file1=$prefix/share/config.site 2994 ac_site_file2=$prefix/etc/config.site 2995else 2996 ac_site_file1=$ac_default_prefix/share/config.site 2997 ac_site_file2=$ac_default_prefix/etc/config.site 2998fi 2999for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3000do 3001 test "x$ac_site_file" = xNONE && continue 3002 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3003 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3004$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3005 sed 's/^/| /' "$ac_site_file" >&5 3006 . "$ac_site_file" \ 3007 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3008$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3009as_fn_error $? "failed to load site script $ac_site_file 3010See \`config.log' for more details" "$LINENO" 5; } 3011 fi 3012done 3013 3014if test -r "$cache_file"; then 3015 # Some versions of bash will fail to source /dev/null (special files 3016 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3017 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3019$as_echo "$as_me: loading cache $cache_file" >&6;} 3020 case $cache_file in 3021 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3022 *) . "./$cache_file";; 3023 esac 3024 fi 3025else 3026 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3027$as_echo "$as_me: creating cache $cache_file" >&6;} 3028 >$cache_file 3029fi 3030 3031gt_needs="$gt_needs " 3032as_fn_append ac_header_list " stdlib.h" 3033as_fn_append ac_header_list " unistd.h" 3034as_fn_append ac_header_list " sys/param.h" 3035# Check that the precious variables saved in the cache have kept the same 3036# value. 3037ac_cache_corrupted=false 3038for ac_var in $ac_precious_vars; do 3039 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3040 eval ac_new_set=\$ac_env_${ac_var}_set 3041 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3042 eval ac_new_val=\$ac_env_${ac_var}_value 3043 case $ac_old_set,$ac_new_set in 3044 set,) 3045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3046$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3047 ac_cache_corrupted=: ;; 3048 ,set) 3049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3050$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3051 ac_cache_corrupted=: ;; 3052 ,);; 3053 *) 3054 if test "x$ac_old_val" != "x$ac_new_val"; then 3055 # differences in whitespace do not lead to failure. 3056 ac_old_val_w=`echo x $ac_old_val` 3057 ac_new_val_w=`echo x $ac_new_val` 3058 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3060$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3061 ac_cache_corrupted=: 3062 else 3063 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3064$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3065 eval $ac_var=\$ac_old_val 3066 fi 3067 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3068$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3069 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3070$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3071 fi;; 3072 esac 3073 # Pass precious variables to config.status. 3074 if test "$ac_new_set" = set; then 3075 case $ac_new_val in 3076 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3077 *) ac_arg=$ac_var=$ac_new_val ;; 3078 esac 3079 case " $ac_configure_args " in 3080 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3081 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3082 esac 3083 fi 3084done 3085if $ac_cache_corrupted; then 3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3087$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3089$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3090 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3091fi 3092## -------------------- ## 3093## Main body of script. ## 3094## -------------------- ## 3095 3096ac_ext=c 3097ac_cpp='$CPP $CPPFLAGS' 3098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3100ac_compiler_gnu=$ac_cv_c_compiler_gnu 3101 3102 3103 3104ac_config_headers="$ac_config_headers config.h" 3105 3106 3107am__api_version='1.11' 3108 3109ac_aux_dir= 3110for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3111 if test -f "$ac_dir/install-sh"; then 3112 ac_aux_dir=$ac_dir 3113 ac_install_sh="$ac_aux_dir/install-sh -c" 3114 break 3115 elif test -f "$ac_dir/install.sh"; then 3116 ac_aux_dir=$ac_dir 3117 ac_install_sh="$ac_aux_dir/install.sh -c" 3118 break 3119 elif test -f "$ac_dir/shtool"; then 3120 ac_aux_dir=$ac_dir 3121 ac_install_sh="$ac_aux_dir/shtool install -c" 3122 break 3123 fi 3124done 3125if test -z "$ac_aux_dir"; then 3126 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3127fi 3128 3129# These three variables are undocumented and unsupported, 3130# and are intended to be withdrawn in a future Autoconf release. 3131# They can cause serious problems if a builder's source tree is in a directory 3132# whose full name contains unusual characters. 3133ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3134ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3135ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3136 3137 3138# Find a good install program. We prefer a C program (faster), 3139# so one script is as good as another. But avoid the broken or 3140# incompatible versions: 3141# SysV /etc/install, /usr/sbin/install 3142# SunOS /usr/etc/install 3143# IRIX /sbin/install 3144# AIX /bin/install 3145# AmigaOS /C/install, which installs bootblocks on floppy discs 3146# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3147# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3148# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3149# OS/2's system install, which has a completely different semantic 3150# ./install, which can be erroneously created by make from ./install.sh. 3151# Reject install programs that cannot install multiple files. 3152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3153$as_echo_n "checking for a BSD-compatible install... " >&6; } 3154if test -z "$INSTALL"; then 3155if ${ac_cv_path_install+:} false; then : 3156 $as_echo_n "(cached) " >&6 3157else 3158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3159for as_dir in $PATH 3160do 3161 IFS=$as_save_IFS 3162 test -z "$as_dir" && as_dir=. 3163 # Account for people who put trailing slashes in PATH elements. 3164case $as_dir/ in #(( 3165 ./ | .// | /[cC]/* | \ 3166 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3167 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3168 /usr/ucb/* ) ;; 3169 *) 3170 # OSF1 and SCO ODT 3.0 have their own names for install. 3171 # Don't use installbsd from OSF since it installs stuff as root 3172 # by default. 3173 for ac_prog in ginstall scoinst install; do 3174 for ac_exec_ext in '' $ac_executable_extensions; do 3175 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3176 if test $ac_prog = install && 3177 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3178 # AIX install. It has an incompatible calling convention. 3179 : 3180 elif test $ac_prog = install && 3181 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3182 # program-specific install script used by HP pwplus--don't use. 3183 : 3184 else 3185 rm -rf conftest.one conftest.two conftest.dir 3186 echo one > conftest.one 3187 echo two > conftest.two 3188 mkdir conftest.dir 3189 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3190 test -s conftest.one && test -s conftest.two && 3191 test -s conftest.dir/conftest.one && 3192 test -s conftest.dir/conftest.two 3193 then 3194 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3195 break 3 3196 fi 3197 fi 3198 fi 3199 done 3200 done 3201 ;; 3202esac 3203 3204 done 3205IFS=$as_save_IFS 3206 3207rm -rf conftest.one conftest.two conftest.dir 3208 3209fi 3210 if test "${ac_cv_path_install+set}" = set; then 3211 INSTALL=$ac_cv_path_install 3212 else 3213 # As a last resort, use the slow shell script. Don't cache a 3214 # value for INSTALL within a source directory, because that will 3215 # break other packages using the cache if that directory is 3216 # removed, or if the value is a relative name. 3217 INSTALL=$ac_install_sh 3218 fi 3219fi 3220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3221$as_echo "$INSTALL" >&6; } 3222 3223# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3224# It thinks the first close brace ends the variable substitution. 3225test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3226 3227test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3228 3229test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3230 3231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3232$as_echo_n "checking whether build environment is sane... " >&6; } 3233# Just in case 3234sleep 1 3235echo timestamp > conftest.file 3236# Reject unsafe characters in $srcdir or the absolute working directory 3237# name. Accept space and tab only in the latter. 3238am_lf=' 3239' 3240case `pwd` in 3241 *[\\\"\#\$\&\'\`$am_lf]*) 3242 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3243esac 3244case $srcdir in 3245 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3246 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 3247esac 3248 3249# Do `set' in a subshell so we don't clobber the current shell's 3250# arguments. Must try -L first in case configure is actually a 3251# symlink; some systems play weird games with the mod time of symlinks 3252# (eg FreeBSD returns the mod time of the symlink's containing 3253# directory). 3254if ( 3255 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3256 if test "$*" = "X"; then 3257 # -L didn't work. 3258 set X `ls -t "$srcdir/configure" conftest.file` 3259 fi 3260 rm -f conftest.file 3261 if test "$*" != "X $srcdir/configure conftest.file" \ 3262 && test "$*" != "X conftest.file $srcdir/configure"; then 3263 3264 # If neither matched, then we have a broken ls. This can happen 3265 # if, for instance, CONFIG_SHELL is bash and it inherits a 3266 # broken ls alias from the environment. This has actually 3267 # happened. Such a system could not be considered "sane". 3268 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3269alias in your environment" "$LINENO" 5 3270 fi 3271 3272 test "$2" = conftest.file 3273 ) 3274then 3275 # Ok. 3276 : 3277else 3278 as_fn_error $? "newly created file is older than distributed files! 3279Check your system clock" "$LINENO" 5 3280fi 3281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3282$as_echo "yes" >&6; } 3283test "$program_prefix" != NONE && 3284 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3285# Use a double $ so make ignores it. 3286test "$program_suffix" != NONE && 3287 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3288# Double any \ or $. 3289# By default was `s,x,x', remove it if useless. 3290ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3291program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3292 3293# expand $ac_aux_dir to an absolute path 3294am_aux_dir=`cd $ac_aux_dir && pwd` 3295 3296if test x"${MISSING+set}" != xset; then 3297 case $am_aux_dir in 3298 *\ * | *\ *) 3299 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3300 *) 3301 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3302 esac 3303fi 3304# Use eval to expand $SHELL 3305if eval "$MISSING --run true"; then 3306 am_missing_run="$MISSING --run " 3307else 3308 am_missing_run= 3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 3310$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 3311fi 3312 3313if test x"${install_sh}" != xset; then 3314 case $am_aux_dir in 3315 *\ * | *\ *) 3316 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3317 *) 3318 install_sh="\${SHELL} $am_aux_dir/install-sh" 3319 esac 3320fi 3321 3322# Installed binaries are usually stripped using `strip' when the user 3323# run `make install-strip'. However `strip' might not be the right 3324# tool to use in cross-compilation environments, therefore Automake 3325# will honor the `STRIP' environment variable to overrule this program. 3326if test "$cross_compiling" != no; then 3327 if test -n "$ac_tool_prefix"; then 3328 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3329set dummy ${ac_tool_prefix}strip; ac_word=$2 3330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3331$as_echo_n "checking for $ac_word... " >&6; } 3332if ${ac_cv_prog_STRIP+:} false; then : 3333 $as_echo_n "(cached) " >&6 3334else 3335 if test -n "$STRIP"; then 3336 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3337else 3338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3339for as_dir in $PATH 3340do 3341 IFS=$as_save_IFS 3342 test -z "$as_dir" && as_dir=. 3343 for ac_exec_ext in '' $ac_executable_extensions; do 3344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3345 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3347 break 2 3348 fi 3349done 3350 done 3351IFS=$as_save_IFS 3352 3353fi 3354fi 3355STRIP=$ac_cv_prog_STRIP 3356if test -n "$STRIP"; then 3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3358$as_echo "$STRIP" >&6; } 3359else 3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3361$as_echo "no" >&6; } 3362fi 3363 3364 3365fi 3366if test -z "$ac_cv_prog_STRIP"; then 3367 ac_ct_STRIP=$STRIP 3368 # Extract the first word of "strip", so it can be a program name with args. 3369set dummy strip; ac_word=$2 3370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3371$as_echo_n "checking for $ac_word... " >&6; } 3372if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3373 $as_echo_n "(cached) " >&6 3374else 3375 if test -n "$ac_ct_STRIP"; then 3376 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3377else 3378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3379for as_dir in $PATH 3380do 3381 IFS=$as_save_IFS 3382 test -z "$as_dir" && as_dir=. 3383 for ac_exec_ext in '' $ac_executable_extensions; do 3384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3385 ac_cv_prog_ac_ct_STRIP="strip" 3386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3387 break 2 3388 fi 3389done 3390 done 3391IFS=$as_save_IFS 3392 3393fi 3394fi 3395ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3396if test -n "$ac_ct_STRIP"; then 3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3398$as_echo "$ac_ct_STRIP" >&6; } 3399else 3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3401$as_echo "no" >&6; } 3402fi 3403 3404 if test "x$ac_ct_STRIP" = x; then 3405 STRIP=":" 3406 else 3407 case $cross_compiling:$ac_tool_warned in 3408yes:) 3409{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3410$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3411ac_tool_warned=yes ;; 3412esac 3413 STRIP=$ac_ct_STRIP 3414 fi 3415else 3416 STRIP="$ac_cv_prog_STRIP" 3417fi 3418 3419fi 3420INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3421 3422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3423$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3424if test -z "$MKDIR_P"; then 3425 if ${ac_cv_path_mkdir+:} false; then : 3426 $as_echo_n "(cached) " >&6 3427else 3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3429for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3430do 3431 IFS=$as_save_IFS 3432 test -z "$as_dir" && as_dir=. 3433 for ac_prog in mkdir gmkdir; do 3434 for ac_exec_ext in '' $ac_executable_extensions; do 3435 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 3436 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3437 'mkdir (GNU coreutils) '* | \ 3438 'mkdir (coreutils) '* | \ 3439 'mkdir (fileutils) '4.1*) 3440 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3441 break 3;; 3442 esac 3443 done 3444 done 3445 done 3446IFS=$as_save_IFS 3447 3448fi 3449 3450 test -d ./--version && rmdir ./--version 3451 if test "${ac_cv_path_mkdir+set}" = set; then 3452 MKDIR_P="$ac_cv_path_mkdir -p" 3453 else 3454 # As a last resort, use the slow shell script. Don't cache a 3455 # value for MKDIR_P within a source directory, because that will 3456 # break other packages using the cache if that directory is 3457 # removed, or if the value is a relative name. 3458 MKDIR_P="$ac_install_sh -d" 3459 fi 3460fi 3461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3462$as_echo "$MKDIR_P" >&6; } 3463 3464mkdir_p="$MKDIR_P" 3465case $mkdir_p in 3466 [\\/$]* | ?:[\\/]*) ;; 3467 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 3468esac 3469 3470for ac_prog in gawk mawk nawk awk 3471do 3472 # Extract the first word of "$ac_prog", so it can be a program name with args. 3473set dummy $ac_prog; ac_word=$2 3474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3475$as_echo_n "checking for $ac_word... " >&6; } 3476if ${ac_cv_prog_AWK+:} false; then : 3477 $as_echo_n "(cached) " >&6 3478else 3479 if test -n "$AWK"; then 3480 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3481else 3482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3483for as_dir in $PATH 3484do 3485 IFS=$as_save_IFS 3486 test -z "$as_dir" && as_dir=. 3487 for ac_exec_ext in '' $ac_executable_extensions; do 3488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3489 ac_cv_prog_AWK="$ac_prog" 3490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3491 break 2 3492 fi 3493done 3494 done 3495IFS=$as_save_IFS 3496 3497fi 3498fi 3499AWK=$ac_cv_prog_AWK 3500if test -n "$AWK"; then 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3502$as_echo "$AWK" >&6; } 3503else 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3505$as_echo "no" >&6; } 3506fi 3507 3508 3509 test -n "$AWK" && break 3510done 3511 3512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3513$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3514set x ${MAKE-make} 3515ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3516if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3517 $as_echo_n "(cached) " >&6 3518else 3519 cat >conftest.make <<\_ACEOF 3520SHELL = /bin/sh 3521all: 3522 @echo '@@@%%%=$(MAKE)=@@@%%%' 3523_ACEOF 3524# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3525case `${MAKE-make} -f conftest.make 2>/dev/null` in 3526 *@@@%%%=?*=@@@%%%*) 3527 eval ac_cv_prog_make_${ac_make}_set=yes;; 3528 *) 3529 eval ac_cv_prog_make_${ac_make}_set=no;; 3530esac 3531rm -f conftest.make 3532fi 3533if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3535$as_echo "yes" >&6; } 3536 SET_MAKE= 3537else 3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3539$as_echo "no" >&6; } 3540 SET_MAKE="MAKE=${MAKE-make}" 3541fi 3542 3543rm -rf .tst 2>/dev/null 3544mkdir .tst 2>/dev/null 3545if test -d .tst; then 3546 am__leading_dot=. 3547else 3548 am__leading_dot=_ 3549fi 3550rmdir .tst 2>/dev/null 3551 3552# Check whether --enable-silent-rules was given. 3553if test "${enable_silent_rules+set}" = set; then : 3554 enableval=$enable_silent_rules; 3555fi 3556 3557case $enable_silent_rules in 3558yes) AM_DEFAULT_VERBOSITY=0;; 3559no) AM_DEFAULT_VERBOSITY=1;; 3560*) AM_DEFAULT_VERBOSITY=1;; 3561esac 3562am_make=${MAKE-make} 3563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3564$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3565if ${am_cv_make_support_nested_variables+:} false; then : 3566 $as_echo_n "(cached) " >&6 3567else 3568 if $as_echo 'TRUE=$(BAR$(V)) 3569BAR0=false 3570BAR1=true 3571V=1 3572am__doit: 3573 @$(TRUE) 3574.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3575 am_cv_make_support_nested_variables=yes 3576else 3577 am_cv_make_support_nested_variables=no 3578fi 3579fi 3580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3581$as_echo "$am_cv_make_support_nested_variables" >&6; } 3582if test $am_cv_make_support_nested_variables = yes; then 3583 AM_V='$(V)' 3584 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3585else 3586 AM_V=$AM_DEFAULT_VERBOSITY 3587 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3588fi 3589AM_BACKSLASH='\' 3590 3591if test "`cd $srcdir && pwd`" != "`pwd`"; then 3592 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3593 # is not polluted with repeated "-I." 3594 am__isrc=' -I$(srcdir)' 3595 # test to see if srcdir already configured 3596 if test -f $srcdir/config.status; then 3597 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3598 fi 3599fi 3600 3601# test whether we have cygpath 3602if test -z "$CYGPATH_W"; then 3603 if (cygpath --version) >/dev/null 2>/dev/null; then 3604 CYGPATH_W='cygpath -w' 3605 else 3606 CYGPATH_W=echo 3607 fi 3608fi 3609 3610 3611# Define the identity of the package. 3612 PACKAGE='deadbeef' 3613 VERSION='0.7.2' 3614 3615 3616cat >>confdefs.h <<_ACEOF 3617#define PACKAGE "$PACKAGE" 3618_ACEOF 3619 3620 3621cat >>confdefs.h <<_ACEOF 3622#define VERSION "$VERSION" 3623_ACEOF 3624 3625# Some tools Automake needs. 3626 3627ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3628 3629 3630AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3631 3632 3633AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3634 3635 3636AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3637 3638 3639MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3640 3641# We need awk for the "check" target. The system "awk" is bad on 3642# some platforms. 3643# Always define AMTAR for backward compatibility. Yes, it's still used 3644# in the wild :-( We should find a proper way to deprecate it ... 3645AMTAR='$${TAR-tar}' 3646 3647 3648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3649$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3650# Loop over all known methods to create a tar archive until one works. 3651_am_tools='gnutar plaintar pax cpio none' 3652_am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3653# Do not fold the above two line into one, because Tru64 sh and 3654# Solaris sh will not grok spaces in the rhs of `-'. 3655for _am_tool in $_am_tools 3656do 3657 case $_am_tool in 3658 gnutar) 3659 for _am_tar in tar gnutar gtar; 3660 do 3661 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3662 ($_am_tar --version) >&5 2>&5 3663 ac_status=$? 3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3665 (exit $ac_status); } && break 3666 done 3667 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3668 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3669 am__untar="$_am_tar -xf -" 3670 ;; 3671 plaintar) 3672 # Must skip GNU tar: if it does not support --format= it doesn't create 3673 # ustar tarball either. 3674 (tar --version) >/dev/null 2>&1 && continue 3675 am__tar='tar chf - "$$tardir"' 3676 am__tar_='tar chf - "$tardir"' 3677 am__untar='tar xf -' 3678 ;; 3679 pax) 3680 am__tar='pax -L -x ustar -w "$$tardir"' 3681 am__tar_='pax -L -x ustar -w "$tardir"' 3682 am__untar='pax -r' 3683 ;; 3684 cpio) 3685 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3686 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3687 am__untar='cpio -i -H ustar -d' 3688 ;; 3689 none) 3690 am__tar=false 3691 am__tar_=false 3692 am__untar=false 3693 ;; 3694 esac 3695 3696 # If the value was cached, stop now. We just wanted to have am__tar 3697 # and am__untar set. 3698 test -n "${am_cv_prog_tar_ustar}" && break 3699 3700 # tar/untar a dummy directory, and stop if the command works 3701 rm -rf conftest.dir 3702 mkdir conftest.dir 3703 echo GrepMe > conftest.dir/file 3704 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3705 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3706 ac_status=$? 3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3708 (exit $ac_status); } 3709 rm -rf conftest.dir 3710 if test -s conftest.tar; then 3711 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3712 ($am__untar <conftest.tar) >&5 2>&5 3713 ac_status=$? 3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3715 (exit $ac_status); } 3716 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3717 fi 3718done 3719rm -rf conftest.dir 3720 3721if ${am_cv_prog_tar_ustar+:} false; then : 3722 $as_echo_n "(cached) " >&6 3723else 3724 am_cv_prog_tar_ustar=$_am_tool 3725fi 3726 3727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3728$as_echo "$am_cv_prog_tar_ustar" >&6; } 3729 3730 3731 3732 3733 3734# Check whether --enable-silent-rules was given. 3735if test "${enable_silent_rules+set}" = set; then : 3736 enableval=$enable_silent_rules; 3737fi 3738 3739case $enable_silent_rules in 3740yes) AM_DEFAULT_VERBOSITY=0;; 3741no) AM_DEFAULT_VERBOSITY=1;; 3742*) AM_DEFAULT_VERBOSITY=0;; 3743esac 3744am_make=${MAKE-make} 3745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3746$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3747if ${am_cv_make_support_nested_variables+:} false; then : 3748 $as_echo_n "(cached) " >&6 3749else 3750 if $as_echo 'TRUE=$(BAR$(V)) 3751BAR0=false 3752BAR1=true 3753V=1 3754am__doit: 3755 @$(TRUE) 3756.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3757 am_cv_make_support_nested_variables=yes 3758else 3759 am_cv_make_support_nested_variables=no 3760fi 3761fi 3762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3763$as_echo "$am_cv_make_support_nested_variables" >&6; } 3764if test $am_cv_make_support_nested_variables = yes; then 3765 AM_V='$(V)' 3766 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3767else 3768 AM_V=$AM_DEFAULT_VERBOSITY 3769 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3770fi 3771AM_BACKSLASH='\' 3772 3773 3774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3775$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3776 # Check whether --enable-maintainer-mode was given. 3777if test "${enable_maintainer_mode+set}" = set; then : 3778 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3779else 3780 USE_MAINTAINER_MODE=no 3781fi 3782 3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3784$as_echo "$USE_MAINTAINER_MODE" >&6; } 3785 if test $USE_MAINTAINER_MODE = yes; then 3786 MAINTAINER_MODE_TRUE= 3787 MAINTAINER_MODE_FALSE='#' 3788else 3789 MAINTAINER_MODE_TRUE='#' 3790 MAINTAINER_MODE_FALSE= 3791fi 3792 3793 MAINT=$MAINTAINER_MODE_TRUE 3794 3795 3796 3797DEPDIR="${am__leading_dot}deps" 3798 3799ac_config_commands="$ac_config_commands depfiles" 3800 3801 3802am_make=${MAKE-make} 3803cat > confinc << 'END' 3804am__doit: 3805 @echo this is the am__doit target 3806.PHONY: am__doit 3807END 3808# If we don't find an include directive, just comment out the code. 3809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3810$as_echo_n "checking for style of include used by $am_make... " >&6; } 3811am__include="#" 3812am__quote= 3813_am_result=none 3814# First try GNU make style include. 3815echo "include confinc" > confmf 3816# Ignore all kinds of additional output from `make'. 3817case `$am_make -s -f confmf 2> /dev/null` in #( 3818*the\ am__doit\ target*) 3819 am__include=include 3820 am__quote= 3821 _am_result=GNU 3822 ;; 3823esac 3824# Now try BSD make style include. 3825if test "$am__include" = "#"; then 3826 echo '.include "confinc"' > confmf 3827 case `$am_make -s -f confmf 2> /dev/null` in #( 3828 *the\ am__doit\ target*) 3829 am__include=.include 3830 am__quote="\"" 3831 _am_result=BSD 3832 ;; 3833 esac 3834fi 3835 3836 3837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3838$as_echo "$_am_result" >&6; } 3839rm -f confinc confmf 3840 3841# Check whether --enable-dependency-tracking was given. 3842if test "${enable_dependency_tracking+set}" = set; then : 3843 enableval=$enable_dependency_tracking; 3844fi 3845 3846if test "x$enable_dependency_tracking" != xno; then 3847 am_depcomp="$ac_aux_dir/depcomp" 3848 AMDEPBACKSLASH='\' 3849 am__nodep='_no' 3850fi 3851 if test "x$enable_dependency_tracking" != xno; then 3852 AMDEP_TRUE= 3853 AMDEP_FALSE='#' 3854else 3855 AMDEP_TRUE='#' 3856 AMDEP_FALSE= 3857fi 3858 3859 3860ac_ext=c 3861ac_cpp='$CPP $CPPFLAGS' 3862ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3863ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3864ac_compiler_gnu=$ac_cv_c_compiler_gnu 3865if test -n "$ac_tool_prefix"; then 3866 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3867set dummy ${ac_tool_prefix}gcc; ac_word=$2 3868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3869$as_echo_n "checking for $ac_word... " >&6; } 3870if ${ac_cv_prog_CC+:} false; then : 3871 $as_echo_n "(cached) " >&6 3872else 3873 if test -n "$CC"; then 3874 ac_cv_prog_CC="$CC" # Let the user override the test. 3875else 3876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3877for as_dir in $PATH 3878do 3879 IFS=$as_save_IFS 3880 test -z "$as_dir" && as_dir=. 3881 for ac_exec_ext in '' $ac_executable_extensions; do 3882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3883 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3885 break 2 3886 fi 3887done 3888 done 3889IFS=$as_save_IFS 3890 3891fi 3892fi 3893CC=$ac_cv_prog_CC 3894if test -n "$CC"; then 3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3896$as_echo "$CC" >&6; } 3897else 3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3899$as_echo "no" >&6; } 3900fi 3901 3902 3903fi 3904if test -z "$ac_cv_prog_CC"; then 3905 ac_ct_CC=$CC 3906 # Extract the first word of "gcc", so it can be a program name with args. 3907set dummy gcc; ac_word=$2 3908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3909$as_echo_n "checking for $ac_word... " >&6; } 3910if ${ac_cv_prog_ac_ct_CC+:} false; then : 3911 $as_echo_n "(cached) " >&6 3912else 3913 if test -n "$ac_ct_CC"; then 3914 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3915else 3916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3917for as_dir in $PATH 3918do 3919 IFS=$as_save_IFS 3920 test -z "$as_dir" && as_dir=. 3921 for ac_exec_ext in '' $ac_executable_extensions; do 3922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3923 ac_cv_prog_ac_ct_CC="gcc" 3924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3925 break 2 3926 fi 3927done 3928 done 3929IFS=$as_save_IFS 3930 3931fi 3932fi 3933ac_ct_CC=$ac_cv_prog_ac_ct_CC 3934if test -n "$ac_ct_CC"; then 3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3936$as_echo "$ac_ct_CC" >&6; } 3937else 3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3939$as_echo "no" >&6; } 3940fi 3941 3942 if test "x$ac_ct_CC" = x; then 3943 CC="" 3944 else 3945 case $cross_compiling:$ac_tool_warned in 3946yes:) 3947{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3948$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3949ac_tool_warned=yes ;; 3950esac 3951 CC=$ac_ct_CC 3952 fi 3953else 3954 CC="$ac_cv_prog_CC" 3955fi 3956 3957if test -z "$CC"; then 3958 if test -n "$ac_tool_prefix"; then 3959 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3960set dummy ${ac_tool_prefix}cc; ac_word=$2 3961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3962$as_echo_n "checking for $ac_word... " >&6; } 3963if ${ac_cv_prog_CC+:} false; then : 3964 $as_echo_n "(cached) " >&6 3965else 3966 if test -n "$CC"; then 3967 ac_cv_prog_CC="$CC" # Let the user override the test. 3968else 3969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3970for as_dir in $PATH 3971do 3972 IFS=$as_save_IFS 3973 test -z "$as_dir" && as_dir=. 3974 for ac_exec_ext in '' $ac_executable_extensions; do 3975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3976 ac_cv_prog_CC="${ac_tool_prefix}cc" 3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3978 break 2 3979 fi 3980done 3981 done 3982IFS=$as_save_IFS 3983 3984fi 3985fi 3986CC=$ac_cv_prog_CC 3987if test -n "$CC"; then 3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3989$as_echo "$CC" >&6; } 3990else 3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3992$as_echo "no" >&6; } 3993fi 3994 3995 3996 fi 3997fi 3998if test -z "$CC"; then 3999 # Extract the first word of "cc", so it can be a program name with args. 4000set dummy cc; ac_word=$2 4001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4002$as_echo_n "checking for $ac_word... " >&6; } 4003if ${ac_cv_prog_CC+:} false; then : 4004 $as_echo_n "(cached) " >&6 4005else 4006 if test -n "$CC"; then 4007 ac_cv_prog_CC="$CC" # Let the user override the test. 4008else 4009 ac_prog_rejected=no 4010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4011for as_dir in $PATH 4012do 4013 IFS=$as_save_IFS 4014 test -z "$as_dir" && as_dir=. 4015 for ac_exec_ext in '' $ac_executable_extensions; do 4016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4017 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4018 ac_prog_rejected=yes 4019 continue 4020 fi 4021 ac_cv_prog_CC="cc" 4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4023 break 2 4024 fi 4025done 4026 done 4027IFS=$as_save_IFS 4028 4029if test $ac_prog_rejected = yes; then 4030 # We found a bogon in the path, so make sure we never use it. 4031 set dummy $ac_cv_prog_CC 4032 shift 4033 if test $# != 0; then 4034 # We chose a different compiler from the bogus one. 4035 # However, it has the same basename, so the bogon will be chosen 4036 # first if we set CC to just the basename; use the full file name. 4037 shift 4038 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4039 fi 4040fi 4041fi 4042fi 4043CC=$ac_cv_prog_CC 4044if test -n "$CC"; then 4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4046$as_echo "$CC" >&6; } 4047else 4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4049$as_echo "no" >&6; } 4050fi 4051 4052 4053fi 4054if test -z "$CC"; then 4055 if test -n "$ac_tool_prefix"; then 4056 for ac_prog in cl.exe 4057 do 4058 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4059set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4061$as_echo_n "checking for $ac_word... " >&6; } 4062if ${ac_cv_prog_CC+:} false; then : 4063 $as_echo_n "(cached) " >&6 4064else 4065 if test -n "$CC"; then 4066 ac_cv_prog_CC="$CC" # Let the user override the test. 4067else 4068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4069for as_dir in $PATH 4070do 4071 IFS=$as_save_IFS 4072 test -z "$as_dir" && as_dir=. 4073 for ac_exec_ext in '' $ac_executable_extensions; do 4074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4075 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4077 break 2 4078 fi 4079done 4080 done 4081IFS=$as_save_IFS 4082 4083fi 4084fi 4085CC=$ac_cv_prog_CC 4086if test -n "$CC"; then 4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4088$as_echo "$CC" >&6; } 4089else 4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4091$as_echo "no" >&6; } 4092fi 4093 4094 4095 test -n "$CC" && break 4096 done 4097fi 4098if test -z "$CC"; then 4099 ac_ct_CC=$CC 4100 for ac_prog in cl.exe 4101do 4102 # Extract the first word of "$ac_prog", so it can be a program name with args. 4103set dummy $ac_prog; ac_word=$2 4104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4105$as_echo_n "checking for $ac_word... " >&6; } 4106if ${ac_cv_prog_ac_ct_CC+:} false; then : 4107 $as_echo_n "(cached) " >&6 4108else 4109 if test -n "$ac_ct_CC"; then 4110 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4111else 4112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4113for as_dir in $PATH 4114do 4115 IFS=$as_save_IFS 4116 test -z "$as_dir" && as_dir=. 4117 for ac_exec_ext in '' $ac_executable_extensions; do 4118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4119 ac_cv_prog_ac_ct_CC="$ac_prog" 4120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4121 break 2 4122 fi 4123done 4124 done 4125IFS=$as_save_IFS 4126 4127fi 4128fi 4129ac_ct_CC=$ac_cv_prog_ac_ct_CC 4130if test -n "$ac_ct_CC"; then 4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4132$as_echo "$ac_ct_CC" >&6; } 4133else 4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4135$as_echo "no" >&6; } 4136fi 4137 4138 4139 test -n "$ac_ct_CC" && break 4140done 4141 4142 if test "x$ac_ct_CC" = x; then 4143 CC="" 4144 else 4145 case $cross_compiling:$ac_tool_warned in 4146yes:) 4147{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4148$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4149ac_tool_warned=yes ;; 4150esac 4151 CC=$ac_ct_CC 4152 fi 4153fi 4154 4155fi 4156 4157 4158test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4159$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4160as_fn_error $? "no acceptable C compiler found in \$PATH 4161See \`config.log' for more details" "$LINENO" 5; } 4162 4163# Provide some information about the compiler. 4164$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4165set X $ac_compile 4166ac_compiler=$2 4167for ac_option in --version -v -V -qversion; do 4168 { { ac_try="$ac_compiler $ac_option >&5" 4169case "(($ac_try" in 4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4171 *) ac_try_echo=$ac_try;; 4172esac 4173eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4174$as_echo "$ac_try_echo"; } >&5 4175 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4176 ac_status=$? 4177 if test -s conftest.err; then 4178 sed '10a\ 4179... rest of stderr output deleted ... 4180 10q' conftest.err >conftest.er1 4181 cat conftest.er1 >&5 4182 fi 4183 rm -f conftest.er1 conftest.err 4184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4185 test $ac_status = 0; } 4186done 4187 4188cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4189/* end confdefs.h. */ 4190 4191int 4192main () 4193{ 4194 4195 ; 4196 return 0; 4197} 4198_ACEOF 4199ac_clean_files_save=$ac_clean_files 4200ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4201# Try to create an executable without -o first, disregard a.out. 4202# It will help us diagnose broken compilers, and finding out an intuition 4203# of exeext. 4204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4205$as_echo_n "checking whether the C compiler works... " >&6; } 4206ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4207 4208# The possible output files: 4209ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4210 4211ac_rmfiles= 4212for ac_file in $ac_files 4213do 4214 case $ac_file in 4215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4216 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4217 esac 4218done 4219rm -f $ac_rmfiles 4220 4221if { { ac_try="$ac_link_default" 4222case "(($ac_try" in 4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4224 *) ac_try_echo=$ac_try;; 4225esac 4226eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4227$as_echo "$ac_try_echo"; } >&5 4228 (eval "$ac_link_default") 2>&5 4229 ac_status=$? 4230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4231 test $ac_status = 0; }; then : 4232 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4233# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4234# in a Makefile. We should not override ac_cv_exeext if it was cached, 4235# so that the user can short-circuit this test for compilers unknown to 4236# Autoconf. 4237for ac_file in $ac_files '' 4238do 4239 test -f "$ac_file" || continue 4240 case $ac_file in 4241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4242 ;; 4243 [ab].out ) 4244 # We found the default executable, but exeext='' is most 4245 # certainly right. 4246 break;; 4247 *.* ) 4248 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4249 then :; else 4250 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4251 fi 4252 # We set ac_cv_exeext here because the later test for it is not 4253 # safe: cross compilers may not add the suffix if given an `-o' 4254 # argument, so we may need to know it at that point already. 4255 # Even if this section looks crufty: it has the advantage of 4256 # actually working. 4257 break;; 4258 * ) 4259 break;; 4260 esac 4261done 4262test "$ac_cv_exeext" = no && ac_cv_exeext= 4263 4264else 4265 ac_file='' 4266fi 4267if test -z "$ac_file"; then : 4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4269$as_echo "no" >&6; } 4270$as_echo "$as_me: failed program was:" >&5 4271sed 's/^/| /' conftest.$ac_ext >&5 4272 4273{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4275as_fn_error 77 "C compiler cannot create executables 4276See \`config.log' for more details" "$LINENO" 5; } 4277else 4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4279$as_echo "yes" >&6; } 4280fi 4281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4282$as_echo_n "checking for C compiler default output file name... " >&6; } 4283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4284$as_echo "$ac_file" >&6; } 4285ac_exeext=$ac_cv_exeext 4286 4287rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4288ac_clean_files=$ac_clean_files_save 4289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4290$as_echo_n "checking for suffix of executables... " >&6; } 4291if { { ac_try="$ac_link" 4292case "(($ac_try" in 4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4294 *) ac_try_echo=$ac_try;; 4295esac 4296eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4297$as_echo "$ac_try_echo"; } >&5 4298 (eval "$ac_link") 2>&5 4299 ac_status=$? 4300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4301 test $ac_status = 0; }; then : 4302 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4303# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4304# work properly (i.e., refer to `conftest.exe'), while it won't with 4305# `rm'. 4306for ac_file in conftest.exe conftest conftest.*; do 4307 test -f "$ac_file" || continue 4308 case $ac_file in 4309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4310 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4311 break;; 4312 * ) break;; 4313 esac 4314done 4315else 4316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4317$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4318as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4319See \`config.log' for more details" "$LINENO" 5; } 4320fi 4321rm -f conftest conftest$ac_cv_exeext 4322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4323$as_echo "$ac_cv_exeext" >&6; } 4324 4325rm -f conftest.$ac_ext 4326EXEEXT=$ac_cv_exeext 4327ac_exeext=$EXEEXT 4328cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4329/* end confdefs.h. */ 4330#include <stdio.h> 4331int 4332main () 4333{ 4334FILE *f = fopen ("conftest.out", "w"); 4335 return ferror (f) || fclose (f) != 0; 4336 4337 ; 4338 return 0; 4339} 4340_ACEOF 4341ac_clean_files="$ac_clean_files conftest.out" 4342# Check that the compiler produces executables we can run. If not, either 4343# the compiler is broken, or we cross compile. 4344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4345$as_echo_n "checking whether we are cross compiling... " >&6; } 4346if test "$cross_compiling" != yes; then 4347 { { ac_try="$ac_link" 4348case "(($ac_try" in 4349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4350 *) ac_try_echo=$ac_try;; 4351esac 4352eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4353$as_echo "$ac_try_echo"; } >&5 4354 (eval "$ac_link") 2>&5 4355 ac_status=$? 4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4357 test $ac_status = 0; } 4358 if { ac_try='./conftest$ac_cv_exeext' 4359 { { case "(($ac_try" in 4360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4361 *) ac_try_echo=$ac_try;; 4362esac 4363eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4364$as_echo "$ac_try_echo"; } >&5 4365 (eval "$ac_try") 2>&5 4366 ac_status=$? 4367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4368 test $ac_status = 0; }; }; then 4369 cross_compiling=no 4370 else 4371 if test "$cross_compiling" = maybe; then 4372 cross_compiling=yes 4373 else 4374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4375$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4376as_fn_error $? "cannot run C compiled programs. 4377If you meant to cross compile, use \`--host'. 4378See \`config.log' for more details" "$LINENO" 5; } 4379 fi 4380 fi 4381fi 4382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4383$as_echo "$cross_compiling" >&6; } 4384 4385rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4386ac_clean_files=$ac_clean_files_save 4387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4388$as_echo_n "checking for suffix of object files... " >&6; } 4389if ${ac_cv_objext+:} false; then : 4390 $as_echo_n "(cached) " >&6 4391else 4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4393/* end confdefs.h. */ 4394 4395int 4396main () 4397{ 4398 4399 ; 4400 return 0; 4401} 4402_ACEOF 4403rm -f conftest.o conftest.obj 4404if { { ac_try="$ac_compile" 4405case "(($ac_try" in 4406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4407 *) ac_try_echo=$ac_try;; 4408esac 4409eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4410$as_echo "$ac_try_echo"; } >&5 4411 (eval "$ac_compile") 2>&5 4412 ac_status=$? 4413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4414 test $ac_status = 0; }; then : 4415 for ac_file in conftest.o conftest.obj conftest.*; do 4416 test -f "$ac_file" || continue; 4417 case $ac_file in 4418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4419 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4420 break;; 4421 esac 4422done 4423else 4424 $as_echo "$as_me: failed program was:" >&5 4425sed 's/^/| /' conftest.$ac_ext >&5 4426 4427{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4429as_fn_error $? "cannot compute suffix of object files: cannot compile 4430See \`config.log' for more details" "$LINENO" 5; } 4431fi 4432rm -f conftest.$ac_cv_objext conftest.$ac_ext 4433fi 4434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4435$as_echo "$ac_cv_objext" >&6; } 4436OBJEXT=$ac_cv_objext 4437ac_objext=$OBJEXT 4438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4439$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4440if ${ac_cv_c_compiler_gnu+:} false; then : 4441 $as_echo_n "(cached) " >&6 4442else 4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4444/* end confdefs.h. */ 4445 4446int 4447main () 4448{ 4449#ifndef __GNUC__ 4450 choke me 4451#endif 4452 4453 ; 4454 return 0; 4455} 4456_ACEOF 4457if ac_fn_c_try_compile "$LINENO"; then : 4458 ac_compiler_gnu=yes 4459else 4460 ac_compiler_gnu=no 4461fi 4462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4463ac_cv_c_compiler_gnu=$ac_compiler_gnu 4464 4465fi 4466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4467$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4468if test $ac_compiler_gnu = yes; then 4469 GCC=yes 4470else 4471 GCC= 4472fi 4473ac_test_CFLAGS=${CFLAGS+set} 4474ac_save_CFLAGS=$CFLAGS 4475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4476$as_echo_n "checking whether $CC accepts -g... " >&6; } 4477if ${ac_cv_prog_cc_g+:} false; then : 4478 $as_echo_n "(cached) " >&6 4479else 4480 ac_save_c_werror_flag=$ac_c_werror_flag 4481 ac_c_werror_flag=yes 4482 ac_cv_prog_cc_g=no 4483 CFLAGS="-g" 4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4485/* end confdefs.h. */ 4486 4487int 4488main () 4489{ 4490 4491 ; 4492 return 0; 4493} 4494_ACEOF 4495if ac_fn_c_try_compile "$LINENO"; then : 4496 ac_cv_prog_cc_g=yes 4497else 4498 CFLAGS="" 4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4500/* end confdefs.h. */ 4501 4502int 4503main () 4504{ 4505 4506 ; 4507 return 0; 4508} 4509_ACEOF 4510if ac_fn_c_try_compile "$LINENO"; then : 4511 4512else 4513 ac_c_werror_flag=$ac_save_c_werror_flag 4514 CFLAGS="-g" 4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4516/* end confdefs.h. */ 4517 4518int 4519main () 4520{ 4521 4522 ; 4523 return 0; 4524} 4525_ACEOF 4526if ac_fn_c_try_compile "$LINENO"; then : 4527 ac_cv_prog_cc_g=yes 4528fi 4529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4530fi 4531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4532fi 4533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4534 ac_c_werror_flag=$ac_save_c_werror_flag 4535fi 4536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4537$as_echo "$ac_cv_prog_cc_g" >&6; } 4538if test "$ac_test_CFLAGS" = set; then 4539 CFLAGS=$ac_save_CFLAGS 4540elif test $ac_cv_prog_cc_g = yes; then 4541 if test "$GCC" = yes; then 4542 CFLAGS="-g -O2" 4543 else 4544 CFLAGS="-g" 4545 fi 4546else 4547 if test "$GCC" = yes; then 4548 CFLAGS="-O2" 4549 else 4550 CFLAGS= 4551 fi 4552fi 4553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4554$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4555if ${ac_cv_prog_cc_c89+:} false; then : 4556 $as_echo_n "(cached) " >&6 4557else 4558 ac_cv_prog_cc_c89=no 4559ac_save_CC=$CC 4560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4561/* end confdefs.h. */ 4562#include <stdarg.h> 4563#include <stdio.h> 4564#include <sys/types.h> 4565#include <sys/stat.h> 4566/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4567struct buf { int x; }; 4568FILE * (*rcsopen) (struct buf *, struct stat *, int); 4569static char *e (p, i) 4570 char **p; 4571 int i; 4572{ 4573 return p[i]; 4574} 4575static char *f (char * (*g) (char **, int), char **p, ...) 4576{ 4577 char *s; 4578 va_list v; 4579 va_start (v,p); 4580 s = g (p, va_arg (v,int)); 4581 va_end (v); 4582 return s; 4583} 4584 4585/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4586 function prototypes and stuff, but not '\xHH' hex character constants. 4587 These don't provoke an error unfortunately, instead are silently treated 4588 as 'x'. The following induces an error, until -std is added to get 4589 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4590 array size at least. It's necessary to write '\x00'==0 to get something 4591 that's true only with -std. */ 4592int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4593 4594/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4595 inside strings and character constants. */ 4596#define FOO(x) 'x' 4597int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4598 4599int test (int i, double x); 4600struct s1 {int (*f) (int a);}; 4601struct s2 {int (*f) (double a);}; 4602int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4603int argc; 4604char **argv; 4605int 4606main () 4607{ 4608return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4609 ; 4610 return 0; 4611} 4612_ACEOF 4613for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4614 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4615do 4616 CC="$ac_save_CC $ac_arg" 4617 if ac_fn_c_try_compile "$LINENO"; then : 4618 ac_cv_prog_cc_c89=$ac_arg 4619fi 4620rm -f core conftest.err conftest.$ac_objext 4621 test "x$ac_cv_prog_cc_c89" != "xno" && break 4622done 4623rm -f conftest.$ac_ext 4624CC=$ac_save_CC 4625 4626fi 4627# AC_CACHE_VAL 4628case "x$ac_cv_prog_cc_c89" in 4629 x) 4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4631$as_echo "none needed" >&6; } ;; 4632 xno) 4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4634$as_echo "unsupported" >&6; } ;; 4635 *) 4636 CC="$CC $ac_cv_prog_cc_c89" 4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4638$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4639esac 4640if test "x$ac_cv_prog_cc_c89" != xno; then : 4641 4642fi 4643 4644ac_ext=c 4645ac_cpp='$CPP $CPPFLAGS' 4646ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4647ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4648ac_compiler_gnu=$ac_cv_c_compiler_gnu 4649 4650depcc="$CC" am_compiler_list= 4651 4652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4653$as_echo_n "checking dependency style of $depcc... " >&6; } 4654if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4655 $as_echo_n "(cached) " >&6 4656else 4657 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4658 # We make a subdir and do the tests there. Otherwise we can end up 4659 # making bogus files that we don't know about and never remove. For 4660 # instance it was reported that on HP-UX the gcc test will end up 4661 # making a dummy file named `D' -- because `-MD' means `put the output 4662 # in D'. 4663 rm -rf conftest.dir 4664 mkdir conftest.dir 4665 # Copy depcomp to subdir because otherwise we won't find it if we're 4666 # using a relative directory. 4667 cp "$am_depcomp" conftest.dir 4668 cd conftest.dir 4669 # We will build objects and dependencies in a subdirectory because 4670 # it helps to detect inapplicable dependency modes. For instance 4671 # both Tru64's cc and ICC support -MD to output dependencies as a 4672 # side effect of compilation, but ICC will put the dependencies in 4673 # the current directory while Tru64 will put them in the object 4674 # directory. 4675 mkdir sub 4676 4677 am_cv_CC_dependencies_compiler_type=none 4678 if test "$am_compiler_list" = ""; then 4679 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4680 fi 4681 am__universal=false 4682 case " $depcc " in #( 4683 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4684 esac 4685 4686 for depmode in $am_compiler_list; do 4687 # Setup a source with many dependencies, because some compilers 4688 # like to wrap large dependency lists on column 80 (with \), and 4689 # we should not choose a depcomp mode which is confused by this. 4690 # 4691 # We need to recreate these files for each test, as the compiler may 4692 # overwrite some of them when testing with obscure command lines. 4693 # This happens at least with the AIX C compiler. 4694 : > sub/conftest.c 4695 for i in 1 2 3 4 5 6; do 4696 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4697 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4698 # Solaris 8's {/usr,}/bin/sh. 4699 touch sub/conftst$i.h 4700 done 4701 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4702 4703 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4704 # mode. It turns out that the SunPro C++ compiler does not properly 4705 # handle `-M -o', and we need to detect this. Also, some Intel 4706 # versions had trouble with output in subdirs 4707 am__obj=sub/conftest.${OBJEXT-o} 4708 am__minus_obj="-o $am__obj" 4709 case $depmode in 4710 gcc) 4711 # This depmode causes a compiler race in universal mode. 4712 test "$am__universal" = false || continue 4713 ;; 4714 nosideeffect) 4715 # after this tag, mechanisms are not by side-effect, so they'll 4716 # only be used when explicitly requested 4717 if test "x$enable_dependency_tracking" = xyes; then 4718 continue 4719 else 4720 break 4721 fi 4722 ;; 4723 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4724 # This compiler won't grok `-c -o', but also, the minuso test has 4725 # not run yet. These depmodes are late enough in the game, and 4726 # so weak that their functioning should not be impacted. 4727 am__obj=conftest.${OBJEXT-o} 4728 am__minus_obj= 4729 ;; 4730 none) break ;; 4731 esac 4732 if depmode=$depmode \ 4733 source=sub/conftest.c object=$am__obj \ 4734 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4735 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4736 >/dev/null 2>conftest.err && 4737 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4738 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4739 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4740 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4741 # icc doesn't choke on unknown options, it will just issue warnings 4742 # or remarks (even with -Werror). So we grep stderr for any message 4743 # that says an option was ignored or not supported. 4744 # When given -MP, icc 7.0 and 7.1 complain thusly: 4745 # icc: Command line warning: ignoring option '-M'; no argument required 4746 # The diagnosis changed in icc 8.0: 4747 # icc: Command line remark: option '-MP' not supported 4748 if (grep 'ignoring option' conftest.err || 4749 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4750 am_cv_CC_dependencies_compiler_type=$depmode 4751 break 4752 fi 4753 fi 4754 done 4755 4756 cd .. 4757 rm -rf conftest.dir 4758else 4759 am_cv_CC_dependencies_compiler_type=none 4760fi 4761 4762fi 4763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4764$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4765CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4766 4767 if 4768 test "x$enable_dependency_tracking" != xno \ 4769 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4770 am__fastdepCC_TRUE= 4771 am__fastdepCC_FALSE='#' 4772else 4773 am__fastdepCC_TRUE='#' 4774 am__fastdepCC_FALSE= 4775fi 4776 4777 4778 4779ac_ext=c 4780ac_cpp='$CPP $CPPFLAGS' 4781ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4782ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4783ac_compiler_gnu=$ac_cv_c_compiler_gnu 4784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4785$as_echo_n "checking how to run the C preprocessor... " >&6; } 4786# On Suns, sometimes $CPP names a directory. 4787if test -n "$CPP" && test -d "$CPP"; then 4788 CPP= 4789fi 4790if test -z "$CPP"; then 4791 if ${ac_cv_prog_CPP+:} false; then : 4792 $as_echo_n "(cached) " >&6 4793else 4794 # Double quotes because CPP needs to be expanded 4795 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4796 do 4797 ac_preproc_ok=false 4798for ac_c_preproc_warn_flag in '' yes 4799do 4800 # Use a header file that comes with gcc, so configuring glibc 4801 # with a fresh cross-compiler works. 4802 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4803 # <limits.h> exists even on freestanding compilers. 4804 # On the NeXT, cc -E runs the code through the compiler's parser, 4805 # not just through cpp. "Syntax error" is here to catch this case. 4806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4807/* end confdefs.h. */ 4808#ifdef __STDC__ 4809# include <limits.h> 4810#else 4811# include <assert.h> 4812#endif 4813 Syntax error 4814_ACEOF 4815if ac_fn_c_try_cpp "$LINENO"; then : 4816 4817else 4818 # Broken: fails on valid input. 4819continue 4820fi 4821rm -f conftest.err conftest.i conftest.$ac_ext 4822 4823 # OK, works on sane cases. Now check whether nonexistent headers 4824 # can be detected and how. 4825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4826/* end confdefs.h. */ 4827#include <ac_nonexistent.h> 4828_ACEOF 4829if ac_fn_c_try_cpp "$LINENO"; then : 4830 # Broken: success on invalid input. 4831continue 4832else 4833 # Passes both tests. 4834ac_preproc_ok=: 4835break 4836fi 4837rm -f conftest.err conftest.i conftest.$ac_ext 4838 4839done 4840# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4841rm -f conftest.i conftest.err conftest.$ac_ext 4842if $ac_preproc_ok; then : 4843 break 4844fi 4845 4846 done 4847 ac_cv_prog_CPP=$CPP 4848 4849fi 4850 CPP=$ac_cv_prog_CPP 4851else 4852 ac_cv_prog_CPP=$CPP 4853fi 4854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4855$as_echo "$CPP" >&6; } 4856ac_preproc_ok=false 4857for ac_c_preproc_warn_flag in '' yes 4858do 4859 # Use a header file that comes with gcc, so configuring glibc 4860 # with a fresh cross-compiler works. 4861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4862 # <limits.h> exists even on freestanding compilers. 4863 # On the NeXT, cc -E runs the code through the compiler's parser, 4864 # not just through cpp. "Syntax error" is here to catch this case. 4865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4866/* end confdefs.h. */ 4867#ifdef __STDC__ 4868# include <limits.h> 4869#else 4870# include <assert.h> 4871#endif 4872 Syntax error 4873_ACEOF 4874if ac_fn_c_try_cpp "$LINENO"; then : 4875 4876else 4877 # Broken: fails on valid input. 4878continue 4879fi 4880rm -f conftest.err conftest.i conftest.$ac_ext 4881 4882 # OK, works on sane cases. Now check whether nonexistent headers 4883 # can be detected and how. 4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4885/* end confdefs.h. */ 4886#include <ac_nonexistent.h> 4887_ACEOF 4888if ac_fn_c_try_cpp "$LINENO"; then : 4889 # Broken: success on invalid input. 4890continue 4891else 4892 # Passes both tests. 4893ac_preproc_ok=: 4894break 4895fi 4896rm -f conftest.err conftest.i conftest.$ac_ext 4897 4898done 4899# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4900rm -f conftest.i conftest.err conftest.$ac_ext 4901if $ac_preproc_ok; then : 4902 4903else 4904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4905$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4906as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4907See \`config.log' for more details" "$LINENO" 5; } 4908fi 4909 4910ac_ext=c 4911ac_cpp='$CPP $CPPFLAGS' 4912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4914ac_compiler_gnu=$ac_cv_c_compiler_gnu 4915 4916 4917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4918$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4919if ${ac_cv_path_GREP+:} false; then : 4920 $as_echo_n "(cached) " >&6 4921else 4922 if test -z "$GREP"; then 4923 ac_path_GREP_found=false 4924 # Loop through the user's path and test for each of PROGNAME-LIST 4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4926for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4927do 4928 IFS=$as_save_IFS 4929 test -z "$as_dir" && as_dir=. 4930 for ac_prog in grep ggrep; do 4931 for ac_exec_ext in '' $ac_executable_extensions; do 4932 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4933 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4934# Check for GNU ac_path_GREP and select it if it is found. 4935 # Check for GNU $ac_path_GREP 4936case `"$ac_path_GREP" --version 2>&1` in 4937*GNU*) 4938 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4939*) 4940 ac_count=0 4941 $as_echo_n 0123456789 >"conftest.in" 4942 while : 4943 do 4944 cat "conftest.in" "conftest.in" >"conftest.tmp" 4945 mv "conftest.tmp" "conftest.in" 4946 cp "conftest.in" "conftest.nl" 4947 $as_echo 'GREP' >> "conftest.nl" 4948 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4949 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4950 as_fn_arith $ac_count + 1 && ac_count=$as_val 4951 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4952 # Best one so far, save it but keep looking for a better one 4953 ac_cv_path_GREP="$ac_path_GREP" 4954 ac_path_GREP_max=$ac_count 4955 fi 4956 # 10*(2^10) chars as input seems more than enough 4957 test $ac_count -gt 10 && break 4958 done 4959 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4960esac 4961 4962 $ac_path_GREP_found && break 3 4963 done 4964 done 4965 done 4966IFS=$as_save_IFS 4967 if test -z "$ac_cv_path_GREP"; then 4968 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4969 fi 4970else 4971 ac_cv_path_GREP=$GREP 4972fi 4973 4974fi 4975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4976$as_echo "$ac_cv_path_GREP" >&6; } 4977 GREP="$ac_cv_path_GREP" 4978 4979 4980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4981$as_echo_n "checking for egrep... " >&6; } 4982if ${ac_cv_path_EGREP+:} false; then : 4983 $as_echo_n "(cached) " >&6 4984else 4985 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4986 then ac_cv_path_EGREP="$GREP -E" 4987 else 4988 if test -z "$EGREP"; then 4989 ac_path_EGREP_found=false 4990 # Loop through the user's path and test for each of PROGNAME-LIST 4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4992for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4993do 4994 IFS=$as_save_IFS 4995 test -z "$as_dir" && as_dir=. 4996 for ac_prog in egrep; do 4997 for ac_exec_ext in '' $ac_executable_extensions; do 4998 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4999 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 5000# Check for GNU ac_path_EGREP and select it if it is found. 5001 # Check for GNU $ac_path_EGREP 5002case `"$ac_path_EGREP" --version 2>&1` in 5003*GNU*) 5004 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5005*) 5006 ac_count=0 5007 $as_echo_n 0123456789 >"conftest.in" 5008 while : 5009 do 5010 cat "conftest.in" "conftest.in" >"conftest.tmp" 5011 mv "conftest.tmp" "conftest.in" 5012 cp "conftest.in" "conftest.nl" 5013 $as_echo 'EGREP' >> "conftest.nl" 5014 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5015 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5016 as_fn_arith $ac_count + 1 && ac_count=$as_val 5017 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5018 # Best one so far, save it but keep looking for a better one 5019 ac_cv_path_EGREP="$ac_path_EGREP" 5020 ac_path_EGREP_max=$ac_count 5021 fi 5022 # 10*(2^10) chars as input seems more than enough 5023 test $ac_count -gt 10 && break 5024 done 5025 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5026esac 5027 5028 $ac_path_EGREP_found && break 3 5029 done 5030 done 5031 done 5032IFS=$as_save_IFS 5033 if test -z "$ac_cv_path_EGREP"; then 5034 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5035 fi 5036else 5037 ac_cv_path_EGREP=$EGREP 5038fi 5039 5040 fi 5041fi 5042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5043$as_echo "$ac_cv_path_EGREP" >&6; } 5044 EGREP="$ac_cv_path_EGREP" 5045 5046 5047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5048$as_echo_n "checking for ANSI C header files... " >&6; } 5049if ${ac_cv_header_stdc+:} false; then : 5050 $as_echo_n "(cached) " >&6 5051else 5052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5053/* end confdefs.h. */ 5054#include <stdlib.h> 5055#include <stdarg.h> 5056#include <string.h> 5057#include <float.h> 5058 5059int 5060main () 5061{ 5062 5063 ; 5064 return 0; 5065} 5066_ACEOF 5067if ac_fn_c_try_compile "$LINENO"; then : 5068 ac_cv_header_stdc=yes 5069else 5070 ac_cv_header_stdc=no 5071fi 5072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5073 5074if test $ac_cv_header_stdc = yes; then 5075 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5077/* end confdefs.h. */ 5078#include <string.h> 5079 5080_ACEOF 5081if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5082 $EGREP "memchr" >/dev/null 2>&1; then : 5083 5084else 5085 ac_cv_header_stdc=no 5086fi 5087rm -f conftest* 5088 5089fi 5090 5091if test $ac_cv_header_stdc = yes; then 5092 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5094/* end confdefs.h. */ 5095#include <stdlib.h> 5096 5097_ACEOF 5098if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5099 $EGREP "free" >/dev/null 2>&1; then : 5100 5101else 5102 ac_cv_header_stdc=no 5103fi 5104rm -f conftest* 5105 5106fi 5107 5108if test $ac_cv_header_stdc = yes; then 5109 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5110 if test "$cross_compiling" = yes; then : 5111 : 5112else 5113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5114/* end confdefs.h. */ 5115#include <ctype.h> 5116#include <stdlib.h> 5117#if ((' ' & 0x0FF) == 0x020) 5118# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5119# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5120#else 5121# define ISLOWER(c) \ 5122 (('a' <= (c) && (c) <= 'i') \ 5123 || ('j' <= (c) && (c) <= 'r') \ 5124 || ('s' <= (c) && (c) <= 'z')) 5125# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5126#endif 5127 5128#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5129int 5130main () 5131{ 5132 int i; 5133 for (i = 0; i < 256; i++) 5134 if (XOR (islower (i), ISLOWER (i)) 5135 || toupper (i) != TOUPPER (i)) 5136 return 2; 5137 return 0; 5138} 5139_ACEOF 5140if ac_fn_c_try_run "$LINENO"; then : 5141 5142else 5143 ac_cv_header_stdc=no 5144fi 5145rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5146 conftest.$ac_objext conftest.beam conftest.$ac_ext 5147fi 5148 5149fi 5150fi 5151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5152$as_echo "$ac_cv_header_stdc" >&6; } 5153if test $ac_cv_header_stdc = yes; then 5154 5155$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5156 5157fi 5158 5159# On IRIX 5.3, sys/types and inttypes.h are conflicting. 5160for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5161 inttypes.h stdint.h unistd.h 5162do : 5163 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5164ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5165" 5166if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5167 cat >>confdefs.h <<_ACEOF 5168#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5169_ACEOF 5170 5171fi 5172 5173done 5174 5175 5176 5177 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 5178if test "x$ac_cv_header_minix_config_h" = xyes; then : 5179 MINIX=yes 5180else 5181 MINIX= 5182fi 5183 5184 5185 if test "$MINIX" = yes; then 5186 5187$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 5188 5189 5190$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 5191 5192 5193$as_echo "#define _MINIX 1" >>confdefs.h 5194 5195 fi 5196 5197 5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 5199$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5200if ${ac_cv_safe_to_define___extensions__+:} false; then : 5201 $as_echo_n "(cached) " >&6 5202else 5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5204/* end confdefs.h. */ 5205 5206# define __EXTENSIONS__ 1 5207 $ac_includes_default 5208int 5209main () 5210{ 5211 5212 ; 5213 return 0; 5214} 5215_ACEOF 5216if ac_fn_c_try_compile "$LINENO"; then : 5217 ac_cv_safe_to_define___extensions__=yes 5218else 5219 ac_cv_safe_to_define___extensions__=no 5220fi 5221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5222fi 5223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 5224$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5225 test $ac_cv_safe_to_define___extensions__ = yes && 5226 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 5227 5228 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 5229 5230 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 5231 5232 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5233 5234 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 5235 5236 5237case `pwd` in 5238 *\ * | *\ *) 5239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5240$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5241esac 5242 5243 5244 5245macro_version='2.4.2' 5246macro_revision='1.3337' 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260ltmain="$ac_aux_dir/ltmain.sh" 5261 5262# Make sure we can run config.sub. 5263$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 5264 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 5265 5266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 5267$as_echo_n "checking build system type... " >&6; } 5268if ${ac_cv_build+:} false; then : 5269 $as_echo_n "(cached) " >&6 5270else 5271 ac_build_alias=$build_alias 5272test "x$ac_build_alias" = x && 5273 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 5274test "x$ac_build_alias" = x && 5275 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 5276ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 5277 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 5278 5279fi 5280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 5281$as_echo "$ac_cv_build" >&6; } 5282case $ac_cv_build in 5283*-*-*) ;; 5284*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 5285esac 5286build=$ac_cv_build 5287ac_save_IFS=$IFS; IFS='-' 5288set x $ac_cv_build 5289shift 5290build_cpu=$1 5291build_vendor=$2 5292shift; shift 5293# Remember, the first character of IFS is used to create $*, 5294# except with old shells: 5295build_os=$* 5296IFS=$ac_save_IFS 5297case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 5298 5299 5300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 5301$as_echo_n "checking host system type... " >&6; } 5302if ${ac_cv_host+:} false; then : 5303 $as_echo_n "(cached) " >&6 5304else 5305 if test "x$host_alias" = x; then 5306 ac_cv_host=$ac_cv_build 5307else 5308 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 5309 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 5310fi 5311 5312fi 5313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 5314$as_echo "$ac_cv_host" >&6; } 5315case $ac_cv_host in 5316*-*-*) ;; 5317*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 5318esac 5319host=$ac_cv_host 5320ac_save_IFS=$IFS; IFS='-' 5321set x $ac_cv_host 5322shift 5323host_cpu=$1 5324host_vendor=$2 5325shift; shift 5326# Remember, the first character of IFS is used to create $*, 5327# except with old shells: 5328host_os=$* 5329IFS=$ac_save_IFS 5330case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 5331 5332 5333# Backslashify metacharacters that are still active within 5334# double-quoted strings. 5335sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5336 5337# Same as above, but do not quote variable references. 5338double_quote_subst='s/\(["`\\]\)/\\\1/g' 5339 5340# Sed substitution to delay expansion of an escaped shell variable in a 5341# double_quote_subst'ed string. 5342delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5343 5344# Sed substitution to delay expansion of an escaped single quote. 5345delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5346 5347# Sed substitution to avoid accidental globbing in evaled expressions 5348no_glob_subst='s/\*/\\\*/g' 5349 5350ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5351ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5352ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5353 5354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5355$as_echo_n "checking how to print strings... " >&6; } 5356# Test print first, because it will be a builtin if present. 5357if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5358 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5359 ECHO='print -r --' 5360elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5361 ECHO='printf %s\n' 5362else 5363 # Use this function as a fallback that always works. 5364 func_fallback_echo () 5365 { 5366 eval 'cat <<_LTECHO_EOF 5367$1 5368_LTECHO_EOF' 5369 } 5370 ECHO='func_fallback_echo' 5371fi 5372 5373# func_echo_all arg... 5374# Invoke $ECHO with all args, space-separated. 5375func_echo_all () 5376{ 5377 $ECHO "" 5378} 5379 5380case "$ECHO" in 5381 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5382$as_echo "printf" >&6; } ;; 5383 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5384$as_echo "print -r" >&6; } ;; 5385 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5386$as_echo "cat" >&6; } ;; 5387esac 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5403$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5404if ${ac_cv_path_SED+:} false; then : 5405 $as_echo_n "(cached) " >&6 5406else 5407 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5408 for ac_i in 1 2 3 4 5 6 7; do 5409 ac_script="$ac_script$as_nl$ac_script" 5410 done 5411 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5412 { ac_script=; unset ac_script;} 5413 if test -z "$SED"; then 5414 ac_path_SED_found=false 5415 # Loop through the user's path and test for each of PROGNAME-LIST 5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5417for as_dir in $PATH 5418do 5419 IFS=$as_save_IFS 5420 test -z "$as_dir" && as_dir=. 5421 for ac_prog in sed gsed; do 5422 for ac_exec_ext in '' $ac_executable_extensions; do 5423 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5424 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 5425# Check for GNU ac_path_SED and select it if it is found. 5426 # Check for GNU $ac_path_SED 5427case `"$ac_path_SED" --version 2>&1` in 5428*GNU*) 5429 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5430*) 5431 ac_count=0 5432 $as_echo_n 0123456789 >"conftest.in" 5433 while : 5434 do 5435 cat "conftest.in" "conftest.in" >"conftest.tmp" 5436 mv "conftest.tmp" "conftest.in" 5437 cp "conftest.in" "conftest.nl" 5438 $as_echo '' >> "conftest.nl" 5439 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5440 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5441 as_fn_arith $ac_count + 1 && ac_count=$as_val 5442 if test $ac_count -gt ${ac_path_SED_max-0}; then 5443 # Best one so far, save it but keep looking for a better one 5444 ac_cv_path_SED="$ac_path_SED" 5445 ac_path_SED_max=$ac_count 5446 fi 5447 # 10*(2^10) chars as input seems more than enough 5448 test $ac_count -gt 10 && break 5449 done 5450 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5451esac 5452 5453 $ac_path_SED_found && break 3 5454 done 5455 done 5456 done 5457IFS=$as_save_IFS 5458 if test -z "$ac_cv_path_SED"; then 5459 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5460 fi 5461else 5462 ac_cv_path_SED=$SED 5463fi 5464 5465fi 5466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5467$as_echo "$ac_cv_path_SED" >&6; } 5468 SED="$ac_cv_path_SED" 5469 rm -f conftest.sed 5470 5471test -z "$SED" && SED=sed 5472Xsed="$SED -e 1s/^X//" 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5485$as_echo_n "checking for fgrep... " >&6; } 5486if ${ac_cv_path_FGREP+:} false; then : 5487 $as_echo_n "(cached) " >&6 5488else 5489 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5490 then ac_cv_path_FGREP="$GREP -F" 5491 else 5492 if test -z "$FGREP"; then 5493 ac_path_FGREP_found=false 5494 # Loop through the user's path and test for each of PROGNAME-LIST 5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5496for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5497do 5498 IFS=$as_save_IFS 5499 test -z "$as_dir" && as_dir=. 5500 for ac_prog in fgrep; do 5501 for ac_exec_ext in '' $ac_executable_extensions; do 5502 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5503 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 5504# Check for GNU ac_path_FGREP and select it if it is found. 5505 # Check for GNU $ac_path_FGREP 5506case `"$ac_path_FGREP" --version 2>&1` in 5507*GNU*) 5508 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5509*) 5510 ac_count=0 5511 $as_echo_n 0123456789 >"conftest.in" 5512 while : 5513 do 5514 cat "conftest.in" "conftest.in" >"conftest.tmp" 5515 mv "conftest.tmp" "conftest.in" 5516 cp "conftest.in" "conftest.nl" 5517 $as_echo 'FGREP' >> "conftest.nl" 5518 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5519 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5520 as_fn_arith $ac_count + 1 && ac_count=$as_val 5521 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5522 # Best one so far, save it but keep looking for a better one 5523 ac_cv_path_FGREP="$ac_path_FGREP" 5524 ac_path_FGREP_max=$ac_count 5525 fi 5526 # 10*(2^10) chars as input seems more than enough 5527 test $ac_count -gt 10 && break 5528 done 5529 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5530esac 5531 5532 $ac_path_FGREP_found && break 3 5533 done 5534 done 5535 done 5536IFS=$as_save_IFS 5537 if test -z "$ac_cv_path_FGREP"; then 5538 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5539 fi 5540else 5541 ac_cv_path_FGREP=$FGREP 5542fi 5543 5544 fi 5545fi 5546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5547$as_echo "$ac_cv_path_FGREP" >&6; } 5548 FGREP="$ac_cv_path_FGREP" 5549 5550 5551test -z "$GREP" && GREP=grep 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571# Check whether --with-gnu-ld was given. 5572if test "${with_gnu_ld+set}" = set; then : 5573 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5574else 5575 with_gnu_ld=no 5576fi 5577 5578ac_prog=ld 5579if test "$GCC" = yes; then 5580 # Check if gcc -print-prog-name=ld gives a path. 5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5582$as_echo_n "checking for ld used by $CC... " >&6; } 5583 case $host in 5584 *-*-mingw*) 5585 # gcc leaves a trailing carriage return which upsets mingw 5586 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5587 *) 5588 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5589 esac 5590 case $ac_prog in 5591 # Accept absolute paths. 5592 [\\/]* | ?:[\\/]*) 5593 re_direlt='/[^/][^/]*/\.\./' 5594 # Canonicalize the pathname of ld 5595 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5596 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5597 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5598 done 5599 test -z "$LD" && LD="$ac_prog" 5600 ;; 5601 "") 5602 # If it fails, then pretend we aren't using GCC. 5603 ac_prog=ld 5604 ;; 5605 *) 5606 # If it is relative, then search for the first ld in PATH. 5607 with_gnu_ld=unknown 5608 ;; 5609 esac 5610elif test "$with_gnu_ld" = yes; then 5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5612$as_echo_n "checking for GNU ld... " >&6; } 5613else 5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5615$as_echo_n "checking for non-GNU ld... " >&6; } 5616fi 5617if ${lt_cv_path_LD+:} false; then : 5618 $as_echo_n "(cached) " >&6 5619else 5620 if test -z "$LD"; then 5621 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5622 for ac_dir in $PATH; do 5623 IFS="$lt_save_ifs" 5624 test -z "$ac_dir" && ac_dir=. 5625 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5626 lt_cv_path_LD="$ac_dir/$ac_prog" 5627 # Check to see if the program is GNU ld. I'd rather use --version, 5628 # but apparently some variants of GNU ld only accept -v. 5629 # Break only if it was the GNU/non-GNU ld that we prefer. 5630 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5631 *GNU* | *'with BFD'*) 5632 test "$with_gnu_ld" != no && break 5633 ;; 5634 *) 5635 test "$with_gnu_ld" != yes && break 5636 ;; 5637 esac 5638 fi 5639 done 5640 IFS="$lt_save_ifs" 5641else 5642 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5643fi 5644fi 5645 5646LD="$lt_cv_path_LD" 5647if test -n "$LD"; then 5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5649$as_echo "$LD" >&6; } 5650else 5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5652$as_echo "no" >&6; } 5653fi 5654test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5656$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5657if ${lt_cv_prog_gnu_ld+:} false; then : 5658 $as_echo_n "(cached) " >&6 5659else 5660 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5661case `$LD -v 2>&1 </dev/null` in 5662*GNU* | *'with BFD'*) 5663 lt_cv_prog_gnu_ld=yes 5664 ;; 5665*) 5666 lt_cv_prog_gnu_ld=no 5667 ;; 5668esac 5669fi 5670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5671$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5672with_gnu_ld=$lt_cv_prog_gnu_ld 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5683$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5684if ${lt_cv_path_NM+:} false; then : 5685 $as_echo_n "(cached) " >&6 5686else 5687 if test -n "$NM"; then 5688 # Let the user override the test. 5689 lt_cv_path_NM="$NM" 5690else 5691 lt_nm_to_check="${ac_tool_prefix}nm" 5692 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5693 lt_nm_to_check="$lt_nm_to_check nm" 5694 fi 5695 for lt_tmp_nm in $lt_nm_to_check; do 5696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5697 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5698 IFS="$lt_save_ifs" 5699 test -z "$ac_dir" && ac_dir=. 5700 tmp_nm="$ac_dir/$lt_tmp_nm" 5701 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5702 # Check to see if the nm accepts a BSD-compat flag. 5703 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5704 # nm: unknown option "B" ignored 5705 # Tru64's nm complains that /dev/null is an invalid object file 5706 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5707 */dev/null* | *'Invalid file or object type'*) 5708 lt_cv_path_NM="$tmp_nm -B" 5709 break 5710 ;; 5711 *) 5712 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5713 */dev/null*) 5714 lt_cv_path_NM="$tmp_nm -p" 5715 break 5716 ;; 5717 *) 5718 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5719 continue # so that we can try to find one that supports BSD flags 5720 ;; 5721 esac 5722 ;; 5723 esac 5724 fi 5725 done 5726 IFS="$lt_save_ifs" 5727 done 5728 : ${lt_cv_path_NM=no} 5729fi 5730fi 5731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5732$as_echo "$lt_cv_path_NM" >&6; } 5733if test "$lt_cv_path_NM" != "no"; then 5734 NM="$lt_cv_path_NM" 5735else 5736 # Didn't find any BSD compatible name lister, look for dumpbin. 5737 if test -n "$DUMPBIN"; then : 5738 # Let the user override the test. 5739 else 5740 if test -n "$ac_tool_prefix"; then 5741 for ac_prog in dumpbin "link -dump" 5742 do 5743 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5744set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5746$as_echo_n "checking for $ac_word... " >&6; } 5747if ${ac_cv_prog_DUMPBIN+:} false; then : 5748 $as_echo_n "(cached) " >&6 5749else 5750 if test -n "$DUMPBIN"; then 5751 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5752else 5753as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5754for as_dir in $PATH 5755do 5756 IFS=$as_save_IFS 5757 test -z "$as_dir" && as_dir=. 5758 for ac_exec_ext in '' $ac_executable_extensions; do 5759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5760 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5762 break 2 5763 fi 5764done 5765 done 5766IFS=$as_save_IFS 5767 5768fi 5769fi 5770DUMPBIN=$ac_cv_prog_DUMPBIN 5771if test -n "$DUMPBIN"; then 5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5773$as_echo "$DUMPBIN" >&6; } 5774else 5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5776$as_echo "no" >&6; } 5777fi 5778 5779 5780 test -n "$DUMPBIN" && break 5781 done 5782fi 5783if test -z "$DUMPBIN"; then 5784 ac_ct_DUMPBIN=$DUMPBIN 5785 for ac_prog in dumpbin "link -dump" 5786do 5787 # Extract the first word of "$ac_prog", so it can be a program name with args. 5788set dummy $ac_prog; ac_word=$2 5789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5790$as_echo_n "checking for $ac_word... " >&6; } 5791if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5792 $as_echo_n "(cached) " >&6 5793else 5794 if test -n "$ac_ct_DUMPBIN"; then 5795 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5796else 5797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5798for as_dir in $PATH 5799do 5800 IFS=$as_save_IFS 5801 test -z "$as_dir" && as_dir=. 5802 for ac_exec_ext in '' $ac_executable_extensions; do 5803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5804 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5806 break 2 5807 fi 5808done 5809 done 5810IFS=$as_save_IFS 5811 5812fi 5813fi 5814ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5815if test -n "$ac_ct_DUMPBIN"; then 5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5817$as_echo "$ac_ct_DUMPBIN" >&6; } 5818else 5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5820$as_echo "no" >&6; } 5821fi 5822 5823 5824 test -n "$ac_ct_DUMPBIN" && break 5825done 5826 5827 if test "x$ac_ct_DUMPBIN" = x; then 5828 DUMPBIN=":" 5829 else 5830 case $cross_compiling:$ac_tool_warned in 5831yes:) 5832{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5833$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5834ac_tool_warned=yes ;; 5835esac 5836 DUMPBIN=$ac_ct_DUMPBIN 5837 fi 5838fi 5839 5840 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5841 *COFF*) 5842 DUMPBIN="$DUMPBIN -symbols" 5843 ;; 5844 *) 5845 DUMPBIN=: 5846 ;; 5847 esac 5848 fi 5849 5850 if test "$DUMPBIN" != ":"; then 5851 NM="$DUMPBIN" 5852 fi 5853fi 5854test -z "$NM" && NM=nm 5855 5856 5857 5858 5859 5860 5861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5862$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5863if ${lt_cv_nm_interface+:} false; then : 5864 $as_echo_n "(cached) " >&6 5865else 5866 lt_cv_nm_interface="BSD nm" 5867 echo "int some_variable = 0;" > conftest.$ac_ext 5868 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5869 (eval "$ac_compile" 2>conftest.err) 5870 cat conftest.err >&5 5871 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5872 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5873 cat conftest.err >&5 5874 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5875 cat conftest.out >&5 5876 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5877 lt_cv_nm_interface="MS dumpbin" 5878 fi 5879 rm -f conftest* 5880fi 5881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5882$as_echo "$lt_cv_nm_interface" >&6; } 5883 5884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5885$as_echo_n "checking whether ln -s works... " >&6; } 5886LN_S=$as_ln_s 5887if test "$LN_S" = "ln -s"; then 5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5889$as_echo "yes" >&6; } 5890else 5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5892$as_echo "no, using $LN_S" >&6; } 5893fi 5894 5895# find the maximum length of command line arguments 5896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5897$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5898if ${lt_cv_sys_max_cmd_len+:} false; then : 5899 $as_echo_n "(cached) " >&6 5900else 5901 i=0 5902 teststring="ABCD" 5903 5904 case $build_os in 5905 msdosdjgpp*) 5906 # On DJGPP, this test can blow up pretty badly due to problems in libc 5907 # (any single argument exceeding 2000 bytes causes a buffer overrun 5908 # during glob expansion). Even if it were fixed, the result of this 5909 # check would be larger than it should be. 5910 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5911 ;; 5912 5913 gnu*) 5914 # Under GNU Hurd, this test is not required because there is 5915 # no limit to the length of command line arguments. 5916 # Libtool will interpret -1 as no limit whatsoever 5917 lt_cv_sys_max_cmd_len=-1; 5918 ;; 5919 5920 cygwin* | mingw* | cegcc*) 5921 # On Win9x/ME, this test blows up -- it succeeds, but takes 5922 # about 5 minutes as the teststring grows exponentially. 5923 # Worse, since 9x/ME are not pre-emptively multitasking, 5924 # you end up with a "frozen" computer, even though with patience 5925 # the test eventually succeeds (with a max line length of 256k). 5926 # Instead, let's just punt: use the minimum linelength reported by 5927 # all of the supported platforms: 8192 (on NT/2K/XP). 5928 lt_cv_sys_max_cmd_len=8192; 5929 ;; 5930 5931 mint*) 5932 # On MiNT this can take a long time and run out of memory. 5933 lt_cv_sys_max_cmd_len=8192; 5934 ;; 5935 5936 amigaos*) 5937 # On AmigaOS with pdksh, this test takes hours, literally. 5938 # So we just punt and use a minimum line length of 8192. 5939 lt_cv_sys_max_cmd_len=8192; 5940 ;; 5941 5942 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5943 # This has been around since 386BSD, at least. Likely further. 5944 if test -x /sbin/sysctl; then 5945 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5946 elif test -x /usr/sbin/sysctl; then 5947 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5948 else 5949 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5950 fi 5951 # And add a safety zone 5952 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5953 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5954 ;; 5955 5956 interix*) 5957 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5958 lt_cv_sys_max_cmd_len=196608 5959 ;; 5960 5961 os2*) 5962 # The test takes a long time on OS/2. 5963 lt_cv_sys_max_cmd_len=8192 5964 ;; 5965 5966 osf*) 5967 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5968 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5969 # nice to cause kernel panics so lets avoid the loop below. 5970 # First set a reasonable default. 5971 lt_cv_sys_max_cmd_len=16384 5972 # 5973 if test -x /sbin/sysconfig; then 5974 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5975 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5976 esac 5977 fi 5978 ;; 5979 sco3.2v5*) 5980 lt_cv_sys_max_cmd_len=102400 5981 ;; 5982 sysv5* | sco5v6* | sysv4.2uw2*) 5983 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5984 if test -n "$kargmax"; then 5985 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5986 else 5987 lt_cv_sys_max_cmd_len=32768 5988 fi 5989 ;; 5990 *) 5991 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5992 if test -n "$lt_cv_sys_max_cmd_len"; then 5993 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5994 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5995 else 5996 # Make teststring a little bigger before we do anything with it. 5997 # a 1K string should be a reasonable start. 5998 for i in 1 2 3 4 5 6 7 8 ; do 5999 teststring=$teststring$teststring 6000 done 6001 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6002 # If test is not a shell built-in, we'll probably end up computing a 6003 # maximum length that is only half of the actual maximum length, but 6004 # we can't tell. 6005 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 6006 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6007 test $i != 17 # 1/2 MB should be enough 6008 do 6009 i=`expr $i + 1` 6010 teststring=$teststring$teststring 6011 done 6012 # Only check the string length outside the loop. 6013 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6014 teststring= 6015 # Add a significant safety factor because C++ compilers can tack on 6016 # massive amounts of additional arguments before passing them to the 6017 # linker. It appears as though 1/2 is a usable value. 6018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6019 fi 6020 ;; 6021 esac 6022 6023fi 6024 6025if test -n $lt_cv_sys_max_cmd_len ; then 6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6027$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6028else 6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6030$as_echo "none" >&6; } 6031fi 6032max_cmd_len=$lt_cv_sys_max_cmd_len 6033 6034 6035 6036 6037 6038 6039: ${CP="cp -f"} 6040: ${MV="mv -f"} 6041: ${RM="rm -f"} 6042 6043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 6044$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 6045# Try some XSI features 6046xsi_shell=no 6047( _lt_dummy="a/b/c" 6048 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 6049 = c,a/b,b/c, \ 6050 && eval 'test $(( 1 + 1 )) -eq 2 \ 6051 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 6052 && xsi_shell=yes 6053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 6054$as_echo "$xsi_shell" >&6; } 6055 6056 6057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 6058$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 6059lt_shell_append=no 6060( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 6061 >/dev/null 2>&1 \ 6062 && lt_shell_append=yes 6063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 6064$as_echo "$lt_shell_append" >&6; } 6065 6066 6067if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6068 lt_unset=unset 6069else 6070 lt_unset=false 6071fi 6072 6073 6074 6075 6076 6077# test EBCDIC or ASCII 6078case `echo X|tr X '\101'` in 6079 A) # ASCII based system 6080 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6081 lt_SP2NL='tr \040 \012' 6082 lt_NL2SP='tr \015\012 \040\040' 6083 ;; 6084 *) # EBCDIC based system 6085 lt_SP2NL='tr \100 \n' 6086 lt_NL2SP='tr \r\n \100\100' 6087 ;; 6088esac 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6099$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6100if ${lt_cv_to_host_file_cmd+:} false; then : 6101 $as_echo_n "(cached) " >&6 6102else 6103 case $host in 6104 *-*-mingw* ) 6105 case $build in 6106 *-*-mingw* ) # actually msys 6107 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6108 ;; 6109 *-*-cygwin* ) 6110 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6111 ;; 6112 * ) # otherwise, assume *nix 6113 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6114 ;; 6115 esac 6116 ;; 6117 *-*-cygwin* ) 6118 case $build in 6119 *-*-mingw* ) # actually msys 6120 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6121 ;; 6122 *-*-cygwin* ) 6123 lt_cv_to_host_file_cmd=func_convert_file_noop 6124 ;; 6125 * ) # otherwise, assume *nix 6126 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6127 ;; 6128 esac 6129 ;; 6130 * ) # unhandled hosts (and "normal" native builds) 6131 lt_cv_to_host_file_cmd=func_convert_file_noop 6132 ;; 6133esac 6134 6135fi 6136 6137to_host_file_cmd=$lt_cv_to_host_file_cmd 6138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6139$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6140 6141 6142 6143 6144 6145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6146$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6147if ${lt_cv_to_tool_file_cmd+:} false; then : 6148 $as_echo_n "(cached) " >&6 6149else 6150 #assume ordinary cross tools, or native build. 6151lt_cv_to_tool_file_cmd=func_convert_file_noop 6152case $host in 6153 *-*-mingw* ) 6154 case $build in 6155 *-*-mingw* ) # actually msys 6156 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6157 ;; 6158 esac 6159 ;; 6160esac 6161 6162fi 6163 6164to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6166$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6167 6168 6169 6170 6171 6172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6173$as_echo_n "checking for $LD option to reload object files... " >&6; } 6174if ${lt_cv_ld_reload_flag+:} false; then : 6175 $as_echo_n "(cached) " >&6 6176else 6177 lt_cv_ld_reload_flag='-r' 6178fi 6179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6180$as_echo "$lt_cv_ld_reload_flag" >&6; } 6181reload_flag=$lt_cv_ld_reload_flag 6182case $reload_flag in 6183"" | " "*) ;; 6184*) reload_flag=" $reload_flag" ;; 6185esac 6186reload_cmds='$LD$reload_flag -o $output$reload_objs' 6187case $host_os in 6188 cygwin* | mingw* | pw32* | cegcc*) 6189 if test "$GCC" != yes; then 6190 reload_cmds=false 6191 fi 6192 ;; 6193 darwin*) 6194 if test "$GCC" = yes; then 6195 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 6196 else 6197 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6198 fi 6199 ;; 6200esac 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210if test -n "$ac_tool_prefix"; then 6211 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6212set dummy ${ac_tool_prefix}objdump; ac_word=$2 6213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6214$as_echo_n "checking for $ac_word... " >&6; } 6215if ${ac_cv_prog_OBJDUMP+:} false; then : 6216 $as_echo_n "(cached) " >&6 6217else 6218 if test -n "$OBJDUMP"; then 6219 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6220else 6221as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6222for as_dir in $PATH 6223do 6224 IFS=$as_save_IFS 6225 test -z "$as_dir" && as_dir=. 6226 for ac_exec_ext in '' $ac_executable_extensions; do 6227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6228 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6230 break 2 6231 fi 6232done 6233 done 6234IFS=$as_save_IFS 6235 6236fi 6237fi 6238OBJDUMP=$ac_cv_prog_OBJDUMP 6239if test -n "$OBJDUMP"; then 6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6241$as_echo "$OBJDUMP" >&6; } 6242else 6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6244$as_echo "no" >&6; } 6245fi 6246 6247 6248fi 6249if test -z "$ac_cv_prog_OBJDUMP"; then 6250 ac_ct_OBJDUMP=$OBJDUMP 6251 # Extract the first word of "objdump", so it can be a program name with args. 6252set dummy objdump; ac_word=$2 6253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6254$as_echo_n "checking for $ac_word... " >&6; } 6255if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6256 $as_echo_n "(cached) " >&6 6257else 6258 if test -n "$ac_ct_OBJDUMP"; then 6259 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6260else 6261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6262for as_dir in $PATH 6263do 6264 IFS=$as_save_IFS 6265 test -z "$as_dir" && as_dir=. 6266 for ac_exec_ext in '' $ac_executable_extensions; do 6267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6268 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6270 break 2 6271 fi 6272done 6273 done 6274IFS=$as_save_IFS 6275 6276fi 6277fi 6278ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6279if test -n "$ac_ct_OBJDUMP"; then 6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6281$as_echo "$ac_ct_OBJDUMP" >&6; } 6282else 6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6284$as_echo "no" >&6; } 6285fi 6286 6287 if test "x$ac_ct_OBJDUMP" = x; then 6288 OBJDUMP="false" 6289 else 6290 case $cross_compiling:$ac_tool_warned in 6291yes:) 6292{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6293$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6294ac_tool_warned=yes ;; 6295esac 6296 OBJDUMP=$ac_ct_OBJDUMP 6297 fi 6298else 6299 OBJDUMP="$ac_cv_prog_OBJDUMP" 6300fi 6301 6302test -z "$OBJDUMP" && OBJDUMP=objdump 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6313$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6314if ${lt_cv_deplibs_check_method+:} false; then : 6315 $as_echo_n "(cached) " >&6 6316else 6317 lt_cv_file_magic_cmd='$MAGIC_CMD' 6318lt_cv_file_magic_test_file= 6319lt_cv_deplibs_check_method='unknown' 6320# Need to set the preceding variable on all platforms that support 6321# interlibrary dependencies. 6322# 'none' -- dependencies not supported. 6323# `unknown' -- same as none, but documents that we really don't know. 6324# 'pass_all' -- all dependencies passed with no checks. 6325# 'test_compile' -- check by making test program. 6326# 'file_magic [[regex]]' -- check by looking for files in library path 6327# which responds to the $file_magic_cmd with a given extended regex. 6328# If you have `file' or equivalent on your system and you're not sure 6329# whether `pass_all' will *always* work, you probably want this one. 6330 6331case $host_os in 6332aix[4-9]*) 6333 lt_cv_deplibs_check_method=pass_all 6334 ;; 6335 6336beos*) 6337 lt_cv_deplibs_check_method=pass_all 6338 ;; 6339 6340bsdi[45]*) 6341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6342 lt_cv_file_magic_cmd='/usr/bin/file -L' 6343 lt_cv_file_magic_test_file=/shlib/libc.so 6344 ;; 6345 6346cygwin*) 6347 # func_win32_libid is a shell function defined in ltmain.sh 6348 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6349 lt_cv_file_magic_cmd='func_win32_libid' 6350 ;; 6351 6352mingw* | pw32*) 6353 # Base MSYS/MinGW do not provide the 'file' command needed by 6354 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6355 # unless we find 'file', for example because we are cross-compiling. 6356 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 6357 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 6358 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6359 lt_cv_file_magic_cmd='func_win32_libid' 6360 else 6361 # Keep this pattern in sync with the one in func_win32_libid. 6362 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6363 lt_cv_file_magic_cmd='$OBJDUMP -f' 6364 fi 6365 ;; 6366 6367cegcc*) 6368 # use the weaker test based on 'objdump'. See mingw*. 6369 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6370 lt_cv_file_magic_cmd='$OBJDUMP -f' 6371 ;; 6372 6373darwin* | rhapsody*) 6374 lt_cv_deplibs_check_method=pass_all 6375 ;; 6376 6377freebsd* | dragonfly*) 6378 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6379 case $host_cpu in 6380 i*86 ) 6381 # Not sure whether the presence of OpenBSD here was a mistake. 6382 # Let's accept both of them until this is cleared up. 6383 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6384 lt_cv_file_magic_cmd=/usr/bin/file 6385 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6386 ;; 6387 esac 6388 else 6389 lt_cv_deplibs_check_method=pass_all 6390 fi 6391 ;; 6392 6393gnu*) 6394 lt_cv_deplibs_check_method=pass_all 6395 ;; 6396 6397haiku*) 6398 lt_cv_deplibs_check_method=pass_all 6399 ;; 6400 6401hpux10.20* | hpux11*) 6402 lt_cv_file_magic_cmd=/usr/bin/file 6403 case $host_cpu in 6404 ia64*) 6405 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6406 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6407 ;; 6408 hppa*64*) 6409 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]' 6410 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6411 ;; 6412 *) 6413 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6414 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6415 ;; 6416 esac 6417 ;; 6418 6419interix[3-9]*) 6420 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6421 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6422 ;; 6423 6424irix5* | irix6* | nonstopux*) 6425 case $LD in 6426 *-32|*"-32 ") libmagic=32-bit;; 6427 *-n32|*"-n32 ") libmagic=N32;; 6428 *-64|*"-64 ") libmagic=64-bit;; 6429 *) libmagic=never-match;; 6430 esac 6431 lt_cv_deplibs_check_method=pass_all 6432 ;; 6433 6434# This must be glibc/ELF. 6435linux* | k*bsd*-gnu | kopensolaris*-gnu) 6436 lt_cv_deplibs_check_method=pass_all 6437 ;; 6438 6439netbsd* | netbsdelf*-gnu) 6440 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6441 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6442 else 6443 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6444 fi 6445 ;; 6446 6447newos6*) 6448 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6449 lt_cv_file_magic_cmd=/usr/bin/file 6450 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6451 ;; 6452 6453*nto* | *qnx*) 6454 lt_cv_deplibs_check_method=pass_all 6455 ;; 6456 6457openbsd*) 6458 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6459 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6460 else 6461 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6462 fi 6463 ;; 6464 6465osf3* | osf4* | osf5*) 6466 lt_cv_deplibs_check_method=pass_all 6467 ;; 6468 6469rdos*) 6470 lt_cv_deplibs_check_method=pass_all 6471 ;; 6472 6473solaris*) 6474 lt_cv_deplibs_check_method=pass_all 6475 ;; 6476 6477sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6478 lt_cv_deplibs_check_method=pass_all 6479 ;; 6480 6481sysv4 | sysv4.3*) 6482 case $host_vendor in 6483 motorola) 6484 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]' 6485 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6486 ;; 6487 ncr) 6488 lt_cv_deplibs_check_method=pass_all 6489 ;; 6490 sequent) 6491 lt_cv_file_magic_cmd='/bin/file' 6492 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6493 ;; 6494 sni) 6495 lt_cv_file_magic_cmd='/bin/file' 6496 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6497 lt_cv_file_magic_test_file=/lib/libc.so 6498 ;; 6499 siemens) 6500 lt_cv_deplibs_check_method=pass_all 6501 ;; 6502 pc) 6503 lt_cv_deplibs_check_method=pass_all 6504 ;; 6505 esac 6506 ;; 6507 6508tpf*) 6509 lt_cv_deplibs_check_method=pass_all 6510 ;; 6511esac 6512 6513fi 6514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6515$as_echo "$lt_cv_deplibs_check_method" >&6; } 6516 6517file_magic_glob= 6518want_nocaseglob=no 6519if test "$build" = "$host"; then 6520 case $host_os in 6521 mingw* | pw32*) 6522 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6523 want_nocaseglob=yes 6524 else 6525 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6526 fi 6527 ;; 6528 esac 6529fi 6530 6531file_magic_cmd=$lt_cv_file_magic_cmd 6532deplibs_check_method=$lt_cv_deplibs_check_method 6533test -z "$deplibs_check_method" && deplibs_check_method=unknown 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556if test -n "$ac_tool_prefix"; then 6557 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6558set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6560$as_echo_n "checking for $ac_word... " >&6; } 6561if ${ac_cv_prog_DLLTOOL+:} false; then : 6562 $as_echo_n "(cached) " >&6 6563else 6564 if test -n "$DLLTOOL"; then 6565 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6566else 6567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6568for as_dir in $PATH 6569do 6570 IFS=$as_save_IFS 6571 test -z "$as_dir" && as_dir=. 6572 for ac_exec_ext in '' $ac_executable_extensions; do 6573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6574 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6576 break 2 6577 fi 6578done 6579 done 6580IFS=$as_save_IFS 6581 6582fi 6583fi 6584DLLTOOL=$ac_cv_prog_DLLTOOL 6585if test -n "$DLLTOOL"; then 6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6587$as_echo "$DLLTOOL" >&6; } 6588else 6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6590$as_echo "no" >&6; } 6591fi 6592 6593 6594fi 6595if test -z "$ac_cv_prog_DLLTOOL"; then 6596 ac_ct_DLLTOOL=$DLLTOOL 6597 # Extract the first word of "dlltool", so it can be a program name with args. 6598set dummy dlltool; ac_word=$2 6599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6600$as_echo_n "checking for $ac_word... " >&6; } 6601if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6602 $as_echo_n "(cached) " >&6 6603else 6604 if test -n "$ac_ct_DLLTOOL"; then 6605 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6606else 6607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6608for as_dir in $PATH 6609do 6610 IFS=$as_save_IFS 6611 test -z "$as_dir" && as_dir=. 6612 for ac_exec_ext in '' $ac_executable_extensions; do 6613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6614 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6616 break 2 6617 fi 6618done 6619 done 6620IFS=$as_save_IFS 6621 6622fi 6623fi 6624ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6625if test -n "$ac_ct_DLLTOOL"; then 6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6627$as_echo "$ac_ct_DLLTOOL" >&6; } 6628else 6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6630$as_echo "no" >&6; } 6631fi 6632 6633 if test "x$ac_ct_DLLTOOL" = x; then 6634 DLLTOOL="false" 6635 else 6636 case $cross_compiling:$ac_tool_warned in 6637yes:) 6638{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6639$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6640ac_tool_warned=yes ;; 6641esac 6642 DLLTOOL=$ac_ct_DLLTOOL 6643 fi 6644else 6645 DLLTOOL="$ac_cv_prog_DLLTOOL" 6646fi 6647 6648test -z "$DLLTOOL" && DLLTOOL=dlltool 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6660$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6661if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6662 $as_echo_n "(cached) " >&6 6663else 6664 lt_cv_sharedlib_from_linklib_cmd='unknown' 6665 6666case $host_os in 6667cygwin* | mingw* | pw32* | cegcc*) 6668 # two different shell functions defined in ltmain.sh 6669 # decide which to use based on capabilities of $DLLTOOL 6670 case `$DLLTOOL --help 2>&1` in 6671 *--identify-strict*) 6672 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6673 ;; 6674 *) 6675 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6676 ;; 6677 esac 6678 ;; 6679*) 6680 # fallback: assume linklib IS sharedlib 6681 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6682 ;; 6683esac 6684 6685fi 6686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6687$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6688sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6689test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6690 6691 6692 6693 6694 6695 6696 6697if test -n "$ac_tool_prefix"; then 6698 for ac_prog in ar 6699 do 6700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6701set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6703$as_echo_n "checking for $ac_word... " >&6; } 6704if ${ac_cv_prog_AR+:} false; then : 6705 $as_echo_n "(cached) " >&6 6706else 6707 if test -n "$AR"; then 6708 ac_cv_prog_AR="$AR" # Let the user override the test. 6709else 6710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6711for as_dir in $PATH 6712do 6713 IFS=$as_save_IFS 6714 test -z "$as_dir" && as_dir=. 6715 for ac_exec_ext in '' $ac_executable_extensions; do 6716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6717 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6719 break 2 6720 fi 6721done 6722 done 6723IFS=$as_save_IFS 6724 6725fi 6726fi 6727AR=$ac_cv_prog_AR 6728if test -n "$AR"; then 6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6730$as_echo "$AR" >&6; } 6731else 6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6733$as_echo "no" >&6; } 6734fi 6735 6736 6737 test -n "$AR" && break 6738 done 6739fi 6740if test -z "$AR"; then 6741 ac_ct_AR=$AR 6742 for ac_prog in ar 6743do 6744 # Extract the first word of "$ac_prog", so it can be a program name with args. 6745set dummy $ac_prog; ac_word=$2 6746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6747$as_echo_n "checking for $ac_word... " >&6; } 6748if ${ac_cv_prog_ac_ct_AR+:} false; then : 6749 $as_echo_n "(cached) " >&6 6750else 6751 if test -n "$ac_ct_AR"; then 6752 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6753else 6754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6755for as_dir in $PATH 6756do 6757 IFS=$as_save_IFS 6758 test -z "$as_dir" && as_dir=. 6759 for ac_exec_ext in '' $ac_executable_extensions; do 6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6761 ac_cv_prog_ac_ct_AR="$ac_prog" 6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6763 break 2 6764 fi 6765done 6766 done 6767IFS=$as_save_IFS 6768 6769fi 6770fi 6771ac_ct_AR=$ac_cv_prog_ac_ct_AR 6772if test -n "$ac_ct_AR"; then 6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6774$as_echo "$ac_ct_AR" >&6; } 6775else 6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6777$as_echo "no" >&6; } 6778fi 6779 6780 6781 test -n "$ac_ct_AR" && break 6782done 6783 6784 if test "x$ac_ct_AR" = x; then 6785 AR="false" 6786 else 6787 case $cross_compiling:$ac_tool_warned in 6788yes:) 6789{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6790$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6791ac_tool_warned=yes ;; 6792esac 6793 AR=$ac_ct_AR 6794 fi 6795fi 6796 6797: ${AR=ar} 6798: ${AR_FLAGS=cru} 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6811$as_echo_n "checking for archiver @FILE support... " >&6; } 6812if ${lt_cv_ar_at_file+:} false; then : 6813 $as_echo_n "(cached) " >&6 6814else 6815 lt_cv_ar_at_file=no 6816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6817/* end confdefs.h. */ 6818 6819int 6820main () 6821{ 6822 6823 ; 6824 return 0; 6825} 6826_ACEOF 6827if ac_fn_c_try_compile "$LINENO"; then : 6828 echo conftest.$ac_objext > conftest.lst 6829 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6830 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6831 (eval $lt_ar_try) 2>&5 6832 ac_status=$? 6833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6834 test $ac_status = 0; } 6835 if test "$ac_status" -eq 0; then 6836 # Ensure the archiver fails upon bogus file names. 6837 rm -f conftest.$ac_objext libconftest.a 6838 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6839 (eval $lt_ar_try) 2>&5 6840 ac_status=$? 6841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6842 test $ac_status = 0; } 6843 if test "$ac_status" -ne 0; then 6844 lt_cv_ar_at_file=@ 6845 fi 6846 fi 6847 rm -f conftest.* libconftest.a 6848 6849fi 6850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6851 6852fi 6853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6854$as_echo "$lt_cv_ar_at_file" >&6; } 6855 6856if test "x$lt_cv_ar_at_file" = xno; then 6857 archiver_list_spec= 6858else 6859 archiver_list_spec=$lt_cv_ar_at_file 6860fi 6861 6862 6863 6864 6865 6866 6867 6868if test -n "$ac_tool_prefix"; then 6869 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6870set dummy ${ac_tool_prefix}strip; ac_word=$2 6871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6872$as_echo_n "checking for $ac_word... " >&6; } 6873if ${ac_cv_prog_STRIP+:} false; then : 6874 $as_echo_n "(cached) " >&6 6875else 6876 if test -n "$STRIP"; then 6877 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6878else 6879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6880for as_dir in $PATH 6881do 6882 IFS=$as_save_IFS 6883 test -z "$as_dir" && as_dir=. 6884 for ac_exec_ext in '' $ac_executable_extensions; do 6885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6886 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6888 break 2 6889 fi 6890done 6891 done 6892IFS=$as_save_IFS 6893 6894fi 6895fi 6896STRIP=$ac_cv_prog_STRIP 6897if test -n "$STRIP"; then 6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6899$as_echo "$STRIP" >&6; } 6900else 6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6902$as_echo "no" >&6; } 6903fi 6904 6905 6906fi 6907if test -z "$ac_cv_prog_STRIP"; then 6908 ac_ct_STRIP=$STRIP 6909 # Extract the first word of "strip", so it can be a program name with args. 6910set dummy strip; ac_word=$2 6911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6912$as_echo_n "checking for $ac_word... " >&6; } 6913if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6914 $as_echo_n "(cached) " >&6 6915else 6916 if test -n "$ac_ct_STRIP"; then 6917 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6918else 6919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6920for as_dir in $PATH 6921do 6922 IFS=$as_save_IFS 6923 test -z "$as_dir" && as_dir=. 6924 for ac_exec_ext in '' $ac_executable_extensions; do 6925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6926 ac_cv_prog_ac_ct_STRIP="strip" 6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6928 break 2 6929 fi 6930done 6931 done 6932IFS=$as_save_IFS 6933 6934fi 6935fi 6936ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6937if test -n "$ac_ct_STRIP"; then 6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6939$as_echo "$ac_ct_STRIP" >&6; } 6940else 6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6942$as_echo "no" >&6; } 6943fi 6944 6945 if test "x$ac_ct_STRIP" = x; then 6946 STRIP=":" 6947 else 6948 case $cross_compiling:$ac_tool_warned in 6949yes:) 6950{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6951$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6952ac_tool_warned=yes ;; 6953esac 6954 STRIP=$ac_ct_STRIP 6955 fi 6956else 6957 STRIP="$ac_cv_prog_STRIP" 6958fi 6959 6960test -z "$STRIP" && STRIP=: 6961 6962 6963 6964 6965 6966 6967if test -n "$ac_tool_prefix"; then 6968 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6969set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6971$as_echo_n "checking for $ac_word... " >&6; } 6972if ${ac_cv_prog_RANLIB+:} false; then : 6973 $as_echo_n "(cached) " >&6 6974else 6975 if test -n "$RANLIB"; then 6976 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6977else 6978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6979for as_dir in $PATH 6980do 6981 IFS=$as_save_IFS 6982 test -z "$as_dir" && as_dir=. 6983 for ac_exec_ext in '' $ac_executable_extensions; do 6984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6985 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6987 break 2 6988 fi 6989done 6990 done 6991IFS=$as_save_IFS 6992 6993fi 6994fi 6995RANLIB=$ac_cv_prog_RANLIB 6996if test -n "$RANLIB"; then 6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6998$as_echo "$RANLIB" >&6; } 6999else 7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7001$as_echo "no" >&6; } 7002fi 7003 7004 7005fi 7006if test -z "$ac_cv_prog_RANLIB"; then 7007 ac_ct_RANLIB=$RANLIB 7008 # Extract the first word of "ranlib", so it can be a program name with args. 7009set dummy ranlib; ac_word=$2 7010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7011$as_echo_n "checking for $ac_word... " >&6; } 7012if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7013 $as_echo_n "(cached) " >&6 7014else 7015 if test -n "$ac_ct_RANLIB"; then 7016 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7017else 7018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7019for as_dir in $PATH 7020do 7021 IFS=$as_save_IFS 7022 test -z "$as_dir" && as_dir=. 7023 for ac_exec_ext in '' $ac_executable_extensions; do 7024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7025 ac_cv_prog_ac_ct_RANLIB="ranlib" 7026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7027 break 2 7028 fi 7029done 7030 done 7031IFS=$as_save_IFS 7032 7033fi 7034fi 7035ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7036if test -n "$ac_ct_RANLIB"; then 7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7038$as_echo "$ac_ct_RANLIB" >&6; } 7039else 7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7041$as_echo "no" >&6; } 7042fi 7043 7044 if test "x$ac_ct_RANLIB" = x; then 7045 RANLIB=":" 7046 else 7047 case $cross_compiling:$ac_tool_warned in 7048yes:) 7049{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7050$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7051ac_tool_warned=yes ;; 7052esac 7053 RANLIB=$ac_ct_RANLIB 7054 fi 7055else 7056 RANLIB="$ac_cv_prog_RANLIB" 7057fi 7058 7059test -z "$RANLIB" && RANLIB=: 7060 7061 7062 7063 7064 7065 7066# Determine commands to create old-style static archives. 7067old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7068old_postinstall_cmds='chmod 644 $oldlib' 7069old_postuninstall_cmds= 7070 7071if test -n "$RANLIB"; then 7072 case $host_os in 7073 openbsd*) 7074 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7075 ;; 7076 *) 7077 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7078 ;; 7079 esac 7080 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7081fi 7082 7083case $host_os in 7084 darwin*) 7085 lock_old_archive_extraction=yes ;; 7086 *) 7087 lock_old_archive_extraction=no ;; 7088esac 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128# If no C compiler was specified, use CC. 7129LTCC=${LTCC-"$CC"} 7130 7131# If no C compiler flags were specified, use CFLAGS. 7132LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7133 7134# Allow CC to be a program name with arguments. 7135compiler=$CC 7136 7137 7138# Check for command to grab the raw symbol name followed by C symbol from nm. 7139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7140$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7141if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7142 $as_echo_n "(cached) " >&6 7143else 7144 7145# These are sane defaults that work on at least a few old systems. 7146# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7147 7148# Character class describing NM global symbol codes. 7149symcode='[BCDEGRST]' 7150 7151# Regexp to match symbols that can be accessed directly from C. 7152sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7153 7154# Define system-specific variables. 7155case $host_os in 7156aix*) 7157 symcode='[BCDT]' 7158 ;; 7159cygwin* | mingw* | pw32* | cegcc*) 7160 symcode='[ABCDGISTW]' 7161 ;; 7162hpux*) 7163 if test "$host_cpu" = ia64; then 7164 symcode='[ABCDEGRST]' 7165 fi 7166 ;; 7167irix* | nonstopux*) 7168 symcode='[BCDEGRST]' 7169 ;; 7170osf*) 7171 symcode='[BCDEGQRST]' 7172 ;; 7173solaris*) 7174 symcode='[BDRT]' 7175 ;; 7176sco3.2v5*) 7177 symcode='[DT]' 7178 ;; 7179sysv4.2uw2*) 7180 symcode='[DT]' 7181 ;; 7182sysv5* | sco5v6* | unixware* | OpenUNIX*) 7183 symcode='[ABDT]' 7184 ;; 7185sysv4) 7186 symcode='[DFNSTU]' 7187 ;; 7188esac 7189 7190# If we're using GNU nm, then use its standard symbol codes. 7191case `$NM -V 2>&1` in 7192*GNU* | *'with BFD'*) 7193 symcode='[ABCDGIRSTW]' ;; 7194esac 7195 7196# Transform an extracted symbol line into a proper C declaration. 7197# Some systems (esp. on ia64) link data and code symbols differently, 7198# so use this general approach. 7199lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7200 7201# Transform an extracted symbol line into symbol name and symbol address 7202lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 7203lt_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'" 7204 7205# Handle CRLF in mingw tool chain 7206opt_cr= 7207case $build_os in 7208mingw*) 7209 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7210 ;; 7211esac 7212 7213# Try without a prefix underscore, then with it. 7214for ac_symprfx in "" "_"; do 7215 7216 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7217 symxfrm="\\1 $ac_symprfx\\2 \\2" 7218 7219 # Write the raw and C identifiers. 7220 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7221 # Fake it for dumpbin and say T for any non-static function 7222 # and D for any global variable. 7223 # Also find C++ and __fastcall symbols from MSVC++, 7224 # which start with @ or ?. 7225 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7226" {last_section=section; section=\$ 3};"\ 7227" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7228" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7229" \$ 0!~/External *\|/{next};"\ 7230" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7231" {if(hide[section]) next};"\ 7232" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 7233" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 7234" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 7235" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 7236" ' prfx=^$ac_symprfx" 7237 else 7238 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7239 fi 7240 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7241 7242 # Check to see that the pipe works correctly. 7243 pipe_works=no 7244 7245 rm -f conftest* 7246 cat > conftest.$ac_ext <<_LT_EOF 7247#ifdef __cplusplus 7248extern "C" { 7249#endif 7250char nm_test_var; 7251void nm_test_func(void); 7252void nm_test_func(void){} 7253#ifdef __cplusplus 7254} 7255#endif 7256int main(){nm_test_var='a';nm_test_func();return(0);} 7257_LT_EOF 7258 7259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7260 (eval $ac_compile) 2>&5 7261 ac_status=$? 7262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7263 test $ac_status = 0; }; then 7264 # Now try to grab the symbols. 7265 nlist=conftest.nm 7266 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7267 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7268 ac_status=$? 7269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7270 test $ac_status = 0; } && test -s "$nlist"; then 7271 # Try sorting and uniquifying the output. 7272 if sort "$nlist" | uniq > "$nlist"T; then 7273 mv -f "$nlist"T "$nlist" 7274 else 7275 rm -f "$nlist"T 7276 fi 7277 7278 # Make sure that we snagged all the symbols we need. 7279 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7280 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7281 cat <<_LT_EOF > conftest.$ac_ext 7282/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7283#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 7284/* DATA imports from DLLs on WIN32 con't be const, because runtime 7285 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7286# define LT_DLSYM_CONST 7287#elif defined(__osf__) 7288/* This system does not cope well with relocations in const data. */ 7289# define LT_DLSYM_CONST 7290#else 7291# define LT_DLSYM_CONST const 7292#endif 7293 7294#ifdef __cplusplus 7295extern "C" { 7296#endif 7297 7298_LT_EOF 7299 # Now generate the symbol file. 7300 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7301 7302 cat <<_LT_EOF >> conftest.$ac_ext 7303 7304/* The mapping between symbol names and symbols. */ 7305LT_DLSYM_CONST struct { 7306 const char *name; 7307 void *address; 7308} 7309lt__PROGRAM__LTX_preloaded_symbols[] = 7310{ 7311 { "@PROGRAM@", (void *) 0 }, 7312_LT_EOF 7313 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7314 cat <<\_LT_EOF >> conftest.$ac_ext 7315 {0, (void *) 0} 7316}; 7317 7318/* This works around a problem in FreeBSD linker */ 7319#ifdef FREEBSD_WORKAROUND 7320static const void *lt_preloaded_setup() { 7321 return lt__PROGRAM__LTX_preloaded_symbols; 7322} 7323#endif 7324 7325#ifdef __cplusplus 7326} 7327#endif 7328_LT_EOF 7329 # Now try linking the two files. 7330 mv conftest.$ac_objext conftstm.$ac_objext 7331 lt_globsym_save_LIBS=$LIBS 7332 lt_globsym_save_CFLAGS=$CFLAGS 7333 LIBS="conftstm.$ac_objext" 7334 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7335 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7336 (eval $ac_link) 2>&5 7337 ac_status=$? 7338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7339 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7340 pipe_works=yes 7341 fi 7342 LIBS=$lt_globsym_save_LIBS 7343 CFLAGS=$lt_globsym_save_CFLAGS 7344 else 7345 echo "cannot find nm_test_func in $nlist" >&5 7346 fi 7347 else 7348 echo "cannot find nm_test_var in $nlist" >&5 7349 fi 7350 else 7351 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7352 fi 7353 else 7354 echo "$progname: failed program was:" >&5 7355 cat conftest.$ac_ext >&5 7356 fi 7357 rm -rf conftest* conftst* 7358 7359 # Do not use the global_symbol_pipe unless it works. 7360 if test "$pipe_works" = yes; then 7361 break 7362 else 7363 lt_cv_sys_global_symbol_pipe= 7364 fi 7365done 7366 7367fi 7368 7369if test -z "$lt_cv_sys_global_symbol_pipe"; then 7370 lt_cv_sys_global_symbol_to_cdecl= 7371fi 7372if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7374$as_echo "failed" >&6; } 7375else 7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7377$as_echo "ok" >&6; } 7378fi 7379 7380# Response file support. 7381if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7382 nm_file_list_spec='@' 7383elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7384 nm_file_list_spec='@' 7385fi 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7414$as_echo_n "checking for sysroot... " >&6; } 7415 7416# Check whether --with-sysroot was given. 7417if test "${with_sysroot+set}" = set; then : 7418 withval=$with_sysroot; 7419else 7420 with_sysroot=no 7421fi 7422 7423 7424lt_sysroot= 7425case ${with_sysroot} in #( 7426 yes) 7427 if test "$GCC" = yes; then 7428 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7429 fi 7430 ;; #( 7431 /*) 7432 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7433 ;; #( 7434 no|'') 7435 ;; #( 7436 *) 7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 7438$as_echo "${with_sysroot}" >&6; } 7439 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7440 ;; 7441esac 7442 7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7444$as_echo "${lt_sysroot:-no}" >&6; } 7445 7446 7447 7448 7449 7450# Check whether --enable-libtool-lock was given. 7451if test "${enable_libtool_lock+set}" = set; then : 7452 enableval=$enable_libtool_lock; 7453fi 7454 7455test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7456 7457# Some flags need to be propagated to the compiler or linker for good 7458# libtool support. 7459case $host in 7460ia64-*-hpux*) 7461 # Find out which ABI we are using. 7462 echo 'int i;' > conftest.$ac_ext 7463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7464 (eval $ac_compile) 2>&5 7465 ac_status=$? 7466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7467 test $ac_status = 0; }; then 7468 case `/usr/bin/file conftest.$ac_objext` in 7469 *ELF-32*) 7470 HPUX_IA64_MODE="32" 7471 ;; 7472 *ELF-64*) 7473 HPUX_IA64_MODE="64" 7474 ;; 7475 esac 7476 fi 7477 rm -rf conftest* 7478 ;; 7479*-*-irix6*) 7480 # Find out which ABI we are using. 7481 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7482 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7483 (eval $ac_compile) 2>&5 7484 ac_status=$? 7485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7486 test $ac_status = 0; }; then 7487 if test "$lt_cv_prog_gnu_ld" = yes; then 7488 case `/usr/bin/file conftest.$ac_objext` in 7489 *32-bit*) 7490 LD="${LD-ld} -melf32bsmip" 7491 ;; 7492 *N32*) 7493 LD="${LD-ld} -melf32bmipn32" 7494 ;; 7495 *64-bit*) 7496 LD="${LD-ld} -melf64bmip" 7497 ;; 7498 esac 7499 else 7500 case `/usr/bin/file conftest.$ac_objext` in 7501 *32-bit*) 7502 LD="${LD-ld} -32" 7503 ;; 7504 *N32*) 7505 LD="${LD-ld} -n32" 7506 ;; 7507 *64-bit*) 7508 LD="${LD-ld} -64" 7509 ;; 7510 esac 7511 fi 7512 fi 7513 rm -rf conftest* 7514 ;; 7515 7516x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 7517s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7518 # Find out which ABI we are using. 7519 echo 'int i;' > conftest.$ac_ext 7520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7521 (eval $ac_compile) 2>&5 7522 ac_status=$? 7523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7524 test $ac_status = 0; }; then 7525 case `/usr/bin/file conftest.o` in 7526 *32-bit*) 7527 case $host in 7528 x86_64-*kfreebsd*-gnu) 7529 LD="${LD-ld} -m elf_i386_fbsd" 7530 ;; 7531 x86_64-*linux*) 7532 LD="${LD-ld} -m elf_i386" 7533 ;; 7534 ppc64-*linux*|powerpc64-*linux*) 7535 LD="${LD-ld} -m elf32ppclinux" 7536 ;; 7537 s390x-*linux*) 7538 LD="${LD-ld} -m elf_s390" 7539 ;; 7540 sparc64-*linux*) 7541 LD="${LD-ld} -m elf32_sparc" 7542 ;; 7543 esac 7544 ;; 7545 *64-bit*) 7546 case $host in 7547 x86_64-*kfreebsd*-gnu) 7548 LD="${LD-ld} -m elf_x86_64_fbsd" 7549 ;; 7550 x86_64-*linux*) 7551 LD="${LD-ld} -m elf_x86_64" 7552 ;; 7553 ppc*-*linux*|powerpc*-*linux*) 7554 LD="${LD-ld} -m elf64ppc" 7555 ;; 7556 s390*-*linux*|s390*-*tpf*) 7557 LD="${LD-ld} -m elf64_s390" 7558 ;; 7559 sparc*-*linux*) 7560 LD="${LD-ld} -m elf64_sparc" 7561 ;; 7562 esac 7563 ;; 7564 esac 7565 fi 7566 rm -rf conftest* 7567 ;; 7568 7569*-*-sco3.2v5*) 7570 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7571 SAVE_CFLAGS="$CFLAGS" 7572 CFLAGS="$CFLAGS -belf" 7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7574$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7575if ${lt_cv_cc_needs_belf+:} false; then : 7576 $as_echo_n "(cached) " >&6 7577else 7578 ac_ext=c 7579ac_cpp='$CPP $CPPFLAGS' 7580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7582ac_compiler_gnu=$ac_cv_c_compiler_gnu 7583 7584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7585/* end confdefs.h. */ 7586 7587int 7588main () 7589{ 7590 7591 ; 7592 return 0; 7593} 7594_ACEOF 7595if ac_fn_c_try_link "$LINENO"; then : 7596 lt_cv_cc_needs_belf=yes 7597else 7598 lt_cv_cc_needs_belf=no 7599fi 7600rm -f core conftest.err conftest.$ac_objext \ 7601 conftest$ac_exeext conftest.$ac_ext 7602 ac_ext=c 7603ac_cpp='$CPP $CPPFLAGS' 7604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7606ac_compiler_gnu=$ac_cv_c_compiler_gnu 7607 7608fi 7609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7610$as_echo "$lt_cv_cc_needs_belf" >&6; } 7611 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7612 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7613 CFLAGS="$SAVE_CFLAGS" 7614 fi 7615 ;; 7616*-*solaris*) 7617 # Find out which ABI we are using. 7618 echo 'int i;' > conftest.$ac_ext 7619 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7620 (eval $ac_compile) 2>&5 7621 ac_status=$? 7622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7623 test $ac_status = 0; }; then 7624 case `/usr/bin/file conftest.o` in 7625 *64-bit*) 7626 case $lt_cv_prog_gnu_ld in 7627 yes*) 7628 case $host in 7629 i?86-*-solaris*) 7630 LD="${LD-ld} -m elf_x86_64" 7631 ;; 7632 sparc*-*-solaris*) 7633 LD="${LD-ld} -m elf64_sparc" 7634 ;; 7635 esac 7636 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7637 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7638 LD="${LD-ld}_sol2" 7639 fi 7640 ;; 7641 *) 7642 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7643 LD="${LD-ld} -64" 7644 fi 7645 ;; 7646 esac 7647 ;; 7648 esac 7649 fi 7650 rm -rf conftest* 7651 ;; 7652esac 7653 7654need_locks="$enable_libtool_lock" 7655 7656if test -n "$ac_tool_prefix"; then 7657 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7658set dummy ${ac_tool_prefix}mt; ac_word=$2 7659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7660$as_echo_n "checking for $ac_word... " >&6; } 7661if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7662 $as_echo_n "(cached) " >&6 7663else 7664 if test -n "$MANIFEST_TOOL"; then 7665 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7666else 7667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7668for as_dir in $PATH 7669do 7670 IFS=$as_save_IFS 7671 test -z "$as_dir" && as_dir=. 7672 for ac_exec_ext in '' $ac_executable_extensions; do 7673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7674 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7676 break 2 7677 fi 7678done 7679 done 7680IFS=$as_save_IFS 7681 7682fi 7683fi 7684MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7685if test -n "$MANIFEST_TOOL"; then 7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7687$as_echo "$MANIFEST_TOOL" >&6; } 7688else 7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7690$as_echo "no" >&6; } 7691fi 7692 7693 7694fi 7695if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7696 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7697 # Extract the first word of "mt", so it can be a program name with args. 7698set dummy mt; ac_word=$2 7699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7700$as_echo_n "checking for $ac_word... " >&6; } 7701if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7702 $as_echo_n "(cached) " >&6 7703else 7704 if test -n "$ac_ct_MANIFEST_TOOL"; then 7705 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7706else 7707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7708for as_dir in $PATH 7709do 7710 IFS=$as_save_IFS 7711 test -z "$as_dir" && as_dir=. 7712 for ac_exec_ext in '' $ac_executable_extensions; do 7713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7714 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7716 break 2 7717 fi 7718done 7719 done 7720IFS=$as_save_IFS 7721 7722fi 7723fi 7724ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7725if test -n "$ac_ct_MANIFEST_TOOL"; then 7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7727$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7728else 7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7730$as_echo "no" >&6; } 7731fi 7732 7733 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7734 MANIFEST_TOOL=":" 7735 else 7736 case $cross_compiling:$ac_tool_warned in 7737yes:) 7738{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7739$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7740ac_tool_warned=yes ;; 7741esac 7742 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7743 fi 7744else 7745 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7746fi 7747 7748test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7750$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7751if ${lt_cv_path_mainfest_tool+:} false; then : 7752 $as_echo_n "(cached) " >&6 7753else 7754 lt_cv_path_mainfest_tool=no 7755 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7756 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7757 cat conftest.err >&5 7758 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7759 lt_cv_path_mainfest_tool=yes 7760 fi 7761 rm -f conftest* 7762fi 7763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7764$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7765if test "x$lt_cv_path_mainfest_tool" != xyes; then 7766 MANIFEST_TOOL=: 7767fi 7768 7769 7770 7771 7772 7773 7774 case $host_os in 7775 rhapsody* | darwin*) 7776 if test -n "$ac_tool_prefix"; then 7777 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7778set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7780$as_echo_n "checking for $ac_word... " >&6; } 7781if ${ac_cv_prog_DSYMUTIL+:} false; then : 7782 $as_echo_n "(cached) " >&6 7783else 7784 if test -n "$DSYMUTIL"; then 7785 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7786else 7787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7788for as_dir in $PATH 7789do 7790 IFS=$as_save_IFS 7791 test -z "$as_dir" && as_dir=. 7792 for ac_exec_ext in '' $ac_executable_extensions; do 7793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7794 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7796 break 2 7797 fi 7798done 7799 done 7800IFS=$as_save_IFS 7801 7802fi 7803fi 7804DSYMUTIL=$ac_cv_prog_DSYMUTIL 7805if test -n "$DSYMUTIL"; then 7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7807$as_echo "$DSYMUTIL" >&6; } 7808else 7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7810$as_echo "no" >&6; } 7811fi 7812 7813 7814fi 7815if test -z "$ac_cv_prog_DSYMUTIL"; then 7816 ac_ct_DSYMUTIL=$DSYMUTIL 7817 # Extract the first word of "dsymutil", so it can be a program name with args. 7818set dummy dsymutil; ac_word=$2 7819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7820$as_echo_n "checking for $ac_word... " >&6; } 7821if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7822 $as_echo_n "(cached) " >&6 7823else 7824 if test -n "$ac_ct_DSYMUTIL"; then 7825 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7826else 7827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7828for as_dir in $PATH 7829do 7830 IFS=$as_save_IFS 7831 test -z "$as_dir" && as_dir=. 7832 for ac_exec_ext in '' $ac_executable_extensions; do 7833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7834 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7836 break 2 7837 fi 7838done 7839 done 7840IFS=$as_save_IFS 7841 7842fi 7843fi 7844ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7845if test -n "$ac_ct_DSYMUTIL"; then 7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7847$as_echo "$ac_ct_DSYMUTIL" >&6; } 7848else 7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7850$as_echo "no" >&6; } 7851fi 7852 7853 if test "x$ac_ct_DSYMUTIL" = x; then 7854 DSYMUTIL=":" 7855 else 7856 case $cross_compiling:$ac_tool_warned in 7857yes:) 7858{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7859$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7860ac_tool_warned=yes ;; 7861esac 7862 DSYMUTIL=$ac_ct_DSYMUTIL 7863 fi 7864else 7865 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7866fi 7867 7868 if test -n "$ac_tool_prefix"; then 7869 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7870set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7872$as_echo_n "checking for $ac_word... " >&6; } 7873if ${ac_cv_prog_NMEDIT+:} false; then : 7874 $as_echo_n "(cached) " >&6 7875else 7876 if test -n "$NMEDIT"; then 7877 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7878else 7879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7880for as_dir in $PATH 7881do 7882 IFS=$as_save_IFS 7883 test -z "$as_dir" && as_dir=. 7884 for ac_exec_ext in '' $ac_executable_extensions; do 7885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7886 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7888 break 2 7889 fi 7890done 7891 done 7892IFS=$as_save_IFS 7893 7894fi 7895fi 7896NMEDIT=$ac_cv_prog_NMEDIT 7897if test -n "$NMEDIT"; then 7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7899$as_echo "$NMEDIT" >&6; } 7900else 7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7902$as_echo "no" >&6; } 7903fi 7904 7905 7906fi 7907if test -z "$ac_cv_prog_NMEDIT"; then 7908 ac_ct_NMEDIT=$NMEDIT 7909 # Extract the first word of "nmedit", so it can be a program name with args. 7910set dummy nmedit; ac_word=$2 7911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7912$as_echo_n "checking for $ac_word... " >&6; } 7913if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7914 $as_echo_n "(cached) " >&6 7915else 7916 if test -n "$ac_ct_NMEDIT"; then 7917 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7918else 7919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7920for as_dir in $PATH 7921do 7922 IFS=$as_save_IFS 7923 test -z "$as_dir" && as_dir=. 7924 for ac_exec_ext in '' $ac_executable_extensions; do 7925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7926 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7928 break 2 7929 fi 7930done 7931 done 7932IFS=$as_save_IFS 7933 7934fi 7935fi 7936ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7937if test -n "$ac_ct_NMEDIT"; then 7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7939$as_echo "$ac_ct_NMEDIT" >&6; } 7940else 7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7942$as_echo "no" >&6; } 7943fi 7944 7945 if test "x$ac_ct_NMEDIT" = x; then 7946 NMEDIT=":" 7947 else 7948 case $cross_compiling:$ac_tool_warned in 7949yes:) 7950{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7951$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7952ac_tool_warned=yes ;; 7953esac 7954 NMEDIT=$ac_ct_NMEDIT 7955 fi 7956else 7957 NMEDIT="$ac_cv_prog_NMEDIT" 7958fi 7959 7960 if test -n "$ac_tool_prefix"; then 7961 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7962set dummy ${ac_tool_prefix}lipo; 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_LIPO+:} false; then : 7966 $as_echo_n "(cached) " >&6 7967else 7968 if test -n "$LIPO"; then 7969 ac_cv_prog_LIPO="$LIPO" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7978 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 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 7988LIPO=$ac_cv_prog_LIPO 7989if test -n "$LIPO"; then 7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7991$as_echo "$LIPO" >&6; } 7992else 7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7994$as_echo "no" >&6; } 7995fi 7996 7997 7998fi 7999if test -z "$ac_cv_prog_LIPO"; then 8000 ac_ct_LIPO=$LIPO 8001 # Extract the first word of "lipo", so it can be a program name with args. 8002set dummy lipo; ac_word=$2 8003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8004$as_echo_n "checking for $ac_word... " >&6; } 8005if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8006 $as_echo_n "(cached) " >&6 8007else 8008 if test -n "$ac_ct_LIPO"; then 8009 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8010else 8011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8012for as_dir in $PATH 8013do 8014 IFS=$as_save_IFS 8015 test -z "$as_dir" && as_dir=. 8016 for ac_exec_ext in '' $ac_executable_extensions; do 8017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8018 ac_cv_prog_ac_ct_LIPO="lipo" 8019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8020 break 2 8021 fi 8022done 8023 done 8024IFS=$as_save_IFS 8025 8026fi 8027fi 8028ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8029if test -n "$ac_ct_LIPO"; then 8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8031$as_echo "$ac_ct_LIPO" >&6; } 8032else 8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8034$as_echo "no" >&6; } 8035fi 8036 8037 if test "x$ac_ct_LIPO" = x; then 8038 LIPO=":" 8039 else 8040 case $cross_compiling:$ac_tool_warned in 8041yes:) 8042{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8043$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8044ac_tool_warned=yes ;; 8045esac 8046 LIPO=$ac_ct_LIPO 8047 fi 8048else 8049 LIPO="$ac_cv_prog_LIPO" 8050fi 8051 8052 if test -n "$ac_tool_prefix"; then 8053 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8054set dummy ${ac_tool_prefix}otool; ac_word=$2 8055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8056$as_echo_n "checking for $ac_word... " >&6; } 8057if ${ac_cv_prog_OTOOL+:} false; then : 8058 $as_echo_n "(cached) " >&6 8059else 8060 if test -n "$OTOOL"; then 8061 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8062else 8063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8064for as_dir in $PATH 8065do 8066 IFS=$as_save_IFS 8067 test -z "$as_dir" && as_dir=. 8068 for ac_exec_ext in '' $ac_executable_extensions; do 8069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8070 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8072 break 2 8073 fi 8074done 8075 done 8076IFS=$as_save_IFS 8077 8078fi 8079fi 8080OTOOL=$ac_cv_prog_OTOOL 8081if test -n "$OTOOL"; then 8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8083$as_echo "$OTOOL" >&6; } 8084else 8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8086$as_echo "no" >&6; } 8087fi 8088 8089 8090fi 8091if test -z "$ac_cv_prog_OTOOL"; then 8092 ac_ct_OTOOL=$OTOOL 8093 # Extract the first word of "otool", so it can be a program name with args. 8094set dummy otool; ac_word=$2 8095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8096$as_echo_n "checking for $ac_word... " >&6; } 8097if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8098 $as_echo_n "(cached) " >&6 8099else 8100 if test -n "$ac_ct_OTOOL"; then 8101 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8102else 8103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8104for as_dir in $PATH 8105do 8106 IFS=$as_save_IFS 8107 test -z "$as_dir" && as_dir=. 8108 for ac_exec_ext in '' $ac_executable_extensions; do 8109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8110 ac_cv_prog_ac_ct_OTOOL="otool" 8111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8112 break 2 8113 fi 8114done 8115 done 8116IFS=$as_save_IFS 8117 8118fi 8119fi 8120ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8121if test -n "$ac_ct_OTOOL"; then 8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8123$as_echo "$ac_ct_OTOOL" >&6; } 8124else 8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8126$as_echo "no" >&6; } 8127fi 8128 8129 if test "x$ac_ct_OTOOL" = x; then 8130 OTOOL=":" 8131 else 8132 case $cross_compiling:$ac_tool_warned in 8133yes:) 8134{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8136ac_tool_warned=yes ;; 8137esac 8138 OTOOL=$ac_ct_OTOOL 8139 fi 8140else 8141 OTOOL="$ac_cv_prog_OTOOL" 8142fi 8143 8144 if test -n "$ac_tool_prefix"; then 8145 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8146set dummy ${ac_tool_prefix}otool64; ac_word=$2 8147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8148$as_echo_n "checking for $ac_word... " >&6; } 8149if ${ac_cv_prog_OTOOL64+:} false; then : 8150 $as_echo_n "(cached) " >&6 8151else 8152 if test -n "$OTOOL64"; then 8153 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8154else 8155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8156for as_dir in $PATH 8157do 8158 IFS=$as_save_IFS 8159 test -z "$as_dir" && as_dir=. 8160 for ac_exec_ext in '' $ac_executable_extensions; do 8161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8162 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8164 break 2 8165 fi 8166done 8167 done 8168IFS=$as_save_IFS 8169 8170fi 8171fi 8172OTOOL64=$ac_cv_prog_OTOOL64 8173if test -n "$OTOOL64"; then 8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8175$as_echo "$OTOOL64" >&6; } 8176else 8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8178$as_echo "no" >&6; } 8179fi 8180 8181 8182fi 8183if test -z "$ac_cv_prog_OTOOL64"; then 8184 ac_ct_OTOOL64=$OTOOL64 8185 # Extract the first word of "otool64", so it can be a program name with args. 8186set dummy otool64; ac_word=$2 8187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8188$as_echo_n "checking for $ac_word... " >&6; } 8189if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8190 $as_echo_n "(cached) " >&6 8191else 8192 if test -n "$ac_ct_OTOOL64"; then 8193 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8194else 8195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8196for as_dir in $PATH 8197do 8198 IFS=$as_save_IFS 8199 test -z "$as_dir" && as_dir=. 8200 for ac_exec_ext in '' $ac_executable_extensions; do 8201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8202 ac_cv_prog_ac_ct_OTOOL64="otool64" 8203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8204 break 2 8205 fi 8206done 8207 done 8208IFS=$as_save_IFS 8209 8210fi 8211fi 8212ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8213if test -n "$ac_ct_OTOOL64"; then 8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8215$as_echo "$ac_ct_OTOOL64" >&6; } 8216else 8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8218$as_echo "no" >&6; } 8219fi 8220 8221 if test "x$ac_ct_OTOOL64" = x; then 8222 OTOOL64=":" 8223 else 8224 case $cross_compiling:$ac_tool_warned in 8225yes:) 8226{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8227$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8228ac_tool_warned=yes ;; 8229esac 8230 OTOOL64=$ac_ct_OTOOL64 8231 fi 8232else 8233 OTOOL64="$ac_cv_prog_OTOOL64" 8234fi 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8263$as_echo_n "checking for -single_module linker flag... " >&6; } 8264if ${lt_cv_apple_cc_single_mod+:} false; then : 8265 $as_echo_n "(cached) " >&6 8266else 8267 lt_cv_apple_cc_single_mod=no 8268 if test -z "${LT_MULTI_MODULE}"; then 8269 # By default we will add the -single_module flag. You can override 8270 # by either setting the environment variable LT_MULTI_MODULE 8271 # non-empty at configure time, or by adding -multi_module to the 8272 # link flags. 8273 rm -rf libconftest.dylib* 8274 echo "int foo(void){return 1;}" > conftest.c 8275 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8276-dynamiclib -Wl,-single_module conftest.c" >&5 8277 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8278 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8279 _lt_result=$? 8280 # If there is a non-empty error log, and "single_module" 8281 # appears in it, assume the flag caused a linker warning 8282 if test -s conftest.err && $GREP single_module conftest.err; then 8283 cat conftest.err >&5 8284 # Otherwise, if the output was created with a 0 exit code from 8285 # the compiler, it worked. 8286 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 8287 lt_cv_apple_cc_single_mod=yes 8288 else 8289 cat conftest.err >&5 8290 fi 8291 rm -rf libconftest.dylib* 8292 rm -f conftest.* 8293 fi 8294fi 8295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8296$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8297 8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8299$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8300if ${lt_cv_ld_exported_symbols_list+:} false; then : 8301 $as_echo_n "(cached) " >&6 8302else 8303 lt_cv_ld_exported_symbols_list=no 8304 save_LDFLAGS=$LDFLAGS 8305 echo "_main" > conftest.sym 8306 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8308/* end confdefs.h. */ 8309 8310int 8311main () 8312{ 8313 8314 ; 8315 return 0; 8316} 8317_ACEOF 8318if ac_fn_c_try_link "$LINENO"; then : 8319 lt_cv_ld_exported_symbols_list=yes 8320else 8321 lt_cv_ld_exported_symbols_list=no 8322fi 8323rm -f core conftest.err conftest.$ac_objext \ 8324 conftest$ac_exeext conftest.$ac_ext 8325 LDFLAGS="$save_LDFLAGS" 8326 8327fi 8328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8329$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8330 8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8332$as_echo_n "checking for -force_load linker flag... " >&6; } 8333if ${lt_cv_ld_force_load+:} false; then : 8334 $as_echo_n "(cached) " >&6 8335else 8336 lt_cv_ld_force_load=no 8337 cat > conftest.c << _LT_EOF 8338int forced_loaded() { return 2;} 8339_LT_EOF 8340 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8341 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8342 echo "$AR cru libconftest.a conftest.o" >&5 8343 $AR cru libconftest.a conftest.o 2>&5 8344 echo "$RANLIB libconftest.a" >&5 8345 $RANLIB libconftest.a 2>&5 8346 cat > conftest.c << _LT_EOF 8347int main() { return 0;} 8348_LT_EOF 8349 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8350 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8351 _lt_result=$? 8352 if test -s conftest.err && $GREP force_load conftest.err; then 8353 cat conftest.err >&5 8354 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 8355 lt_cv_ld_force_load=yes 8356 else 8357 cat conftest.err >&5 8358 fi 8359 rm -f conftest.err libconftest.a conftest conftest.c 8360 rm -rf conftest.dSYM 8361 8362fi 8363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8364$as_echo "$lt_cv_ld_force_load" >&6; } 8365 case $host_os in 8366 rhapsody* | darwin1.[012]) 8367 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8368 darwin1.*) 8369 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8370 darwin*) # darwin 5.x on 8371 # if running on 10.5 or later, the deployment target defaults 8372 # to the OS version, if on x86, and 10.4, the deployment 8373 # target defaults to 10.4. Don't you love it? 8374 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8375 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8376 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8377 10.[012]*) 8378 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8379 10.*) 8380 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8381 esac 8382 ;; 8383 esac 8384 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8385 _lt_dar_single_mod='$single_module' 8386 fi 8387 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 8388 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 8389 else 8390 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 8391 fi 8392 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 8393 _lt_dsymutil='~$DSYMUTIL $lib || :' 8394 else 8395 _lt_dsymutil= 8396 fi 8397 ;; 8398 esac 8399 8400for ac_header in dlfcn.h 8401do : 8402 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8403" 8404if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8405 cat >>confdefs.h <<_ACEOF 8406#define HAVE_DLFCN_H 1 8407_ACEOF 8408 8409fi 8410 8411done 8412 8413 8414 8415 8416 8417# Set options 8418# Check whether --enable-static was given. 8419if test "${enable_static+set}" = set; then : 8420 enableval=$enable_static; p=${PACKAGE-default} 8421 case $enableval in 8422 yes) enable_static=yes ;; 8423 no) enable_static=no ;; 8424 *) 8425 enable_static=no 8426 # Look at the argument we got. We use all the common list separators. 8427 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8428 for pkg in $enableval; do 8429 IFS="$lt_save_ifs" 8430 if test "X$pkg" = "X$p"; then 8431 enable_static=yes 8432 fi 8433 done 8434 IFS="$lt_save_ifs" 8435 ;; 8436 esac 8437else 8438 enable_static=no 8439fi 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 enable_dlopen=no 8451 8452 8453 enable_win32_dll=no 8454 8455 8456 # Check whether --enable-shared was given. 8457if test "${enable_shared+set}" = set; then : 8458 enableval=$enable_shared; p=${PACKAGE-default} 8459 case $enableval in 8460 yes) enable_shared=yes ;; 8461 no) enable_shared=no ;; 8462 *) 8463 enable_shared=no 8464 # Look at the argument we got. We use all the common list separators. 8465 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8466 for pkg in $enableval; do 8467 IFS="$lt_save_ifs" 8468 if test "X$pkg" = "X$p"; then 8469 enable_shared=yes 8470 fi 8471 done 8472 IFS="$lt_save_ifs" 8473 ;; 8474 esac 8475else 8476 enable_shared=yes 8477fi 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489# Check whether --with-pic was given. 8490if test "${with_pic+set}" = set; then : 8491 withval=$with_pic; lt_p=${PACKAGE-default} 8492 case $withval in 8493 yes|no) pic_mode=$withval ;; 8494 *) 8495 pic_mode=default 8496 # Look at the argument we got. We use all the common list separators. 8497 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8498 for lt_pkg in $withval; do 8499 IFS="$lt_save_ifs" 8500 if test "X$lt_pkg" = "X$lt_p"; then 8501 pic_mode=yes 8502 fi 8503 done 8504 IFS="$lt_save_ifs" 8505 ;; 8506 esac 8507else 8508 pic_mode=default 8509fi 8510 8511 8512test -z "$pic_mode" && pic_mode=default 8513 8514 8515 8516 8517 8518 8519 8520 # Check whether --enable-fast-install was given. 8521if test "${enable_fast_install+set}" = set; then : 8522 enableval=$enable_fast_install; p=${PACKAGE-default} 8523 case $enableval in 8524 yes) enable_fast_install=yes ;; 8525 no) enable_fast_install=no ;; 8526 *) 8527 enable_fast_install=no 8528 # Look at the argument we got. We use all the common list separators. 8529 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8530 for pkg in $enableval; do 8531 IFS="$lt_save_ifs" 8532 if test "X$pkg" = "X$p"; then 8533 enable_fast_install=yes 8534 fi 8535 done 8536 IFS="$lt_save_ifs" 8537 ;; 8538 esac 8539else 8540 enable_fast_install=yes 8541fi 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553# This can be used to rebuild libtool when needed 8554LIBTOOL_DEPS="$ltmain" 8555 8556# Always use our own libtool. 8557LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588test -z "$LN_S" && LN_S="ln -s" 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603if test -n "${ZSH_VERSION+set}" ; then 8604 setopt NO_GLOB_SUBST 8605fi 8606 8607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8608$as_echo_n "checking for objdir... " >&6; } 8609if ${lt_cv_objdir+:} false; then : 8610 $as_echo_n "(cached) " >&6 8611else 8612 rm -f .libs 2>/dev/null 8613mkdir .libs 2>/dev/null 8614if test -d .libs; then 8615 lt_cv_objdir=.libs 8616else 8617 # MS-DOS does not allow filenames that begin with a dot. 8618 lt_cv_objdir=_libs 8619fi 8620rmdir .libs 2>/dev/null 8621fi 8622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8623$as_echo "$lt_cv_objdir" >&6; } 8624objdir=$lt_cv_objdir 8625 8626 8627 8628 8629 8630cat >>confdefs.h <<_ACEOF 8631#define LT_OBJDIR "$lt_cv_objdir/" 8632_ACEOF 8633 8634 8635 8636 8637case $host_os in 8638aix3*) 8639 # AIX sometimes has problems with the GCC collect2 program. For some 8640 # reason, if we set the COLLECT_NAMES environment variable, the problems 8641 # vanish in a puff of smoke. 8642 if test "X${COLLECT_NAMES+set}" != Xset; then 8643 COLLECT_NAMES= 8644 export COLLECT_NAMES 8645 fi 8646 ;; 8647esac 8648 8649# Global variables: 8650ofile=libtool 8651can_build_shared=yes 8652 8653# All known linkers require a `.a' archive for static linking (except MSVC, 8654# which needs '.lib'). 8655libext=a 8656 8657with_gnu_ld="$lt_cv_prog_gnu_ld" 8658 8659old_CC="$CC" 8660old_CFLAGS="$CFLAGS" 8661 8662# Set sane defaults for various variables 8663test -z "$CC" && CC=cc 8664test -z "$LTCC" && LTCC=$CC 8665test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8666test -z "$LD" && LD=ld 8667test -z "$ac_objext" && ac_objext=o 8668 8669for cc_temp in $compiler""; do 8670 case $cc_temp in 8671 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8672 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8673 \-*) ;; 8674 *) break;; 8675 esac 8676done 8677cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8678 8679 8680# Only perform the check for file, if the check method requires it 8681test -z "$MAGIC_CMD" && MAGIC_CMD=file 8682case $deplibs_check_method in 8683file_magic*) 8684 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8686$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8687if ${lt_cv_path_MAGIC_CMD+:} false; then : 8688 $as_echo_n "(cached) " >&6 8689else 8690 case $MAGIC_CMD in 8691[\\/*] | ?:[\\/]*) 8692 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8693 ;; 8694*) 8695 lt_save_MAGIC_CMD="$MAGIC_CMD" 8696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8697 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8698 for ac_dir in $ac_dummy; do 8699 IFS="$lt_save_ifs" 8700 test -z "$ac_dir" && ac_dir=. 8701 if test -f $ac_dir/${ac_tool_prefix}file; then 8702 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8703 if test -n "$file_magic_test_file"; then 8704 case $deplibs_check_method in 8705 "file_magic "*) 8706 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8707 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8708 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8709 $EGREP "$file_magic_regex" > /dev/null; then 8710 : 8711 else 8712 cat <<_LT_EOF 1>&2 8713 8714*** Warning: the command libtool uses to detect shared libraries, 8715*** $file_magic_cmd, produces output that libtool cannot recognize. 8716*** The result is that libtool may fail to recognize shared libraries 8717*** as such. This will affect the creation of libtool libraries that 8718*** depend on shared libraries, but programs linked with such libtool 8719*** libraries will work regardless of this problem. Nevertheless, you 8720*** may want to report the problem to your system manager and/or to 8721*** bug-libtool@gnu.org 8722 8723_LT_EOF 8724 fi ;; 8725 esac 8726 fi 8727 break 8728 fi 8729 done 8730 IFS="$lt_save_ifs" 8731 MAGIC_CMD="$lt_save_MAGIC_CMD" 8732 ;; 8733esac 8734fi 8735 8736MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8737if test -n "$MAGIC_CMD"; then 8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8739$as_echo "$MAGIC_CMD" >&6; } 8740else 8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8742$as_echo "no" >&6; } 8743fi 8744 8745 8746 8747 8748 8749if test -z "$lt_cv_path_MAGIC_CMD"; then 8750 if test -n "$ac_tool_prefix"; then 8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8752$as_echo_n "checking for file... " >&6; } 8753if ${lt_cv_path_MAGIC_CMD+:} false; then : 8754 $as_echo_n "(cached) " >&6 8755else 8756 case $MAGIC_CMD in 8757[\\/*] | ?:[\\/]*) 8758 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8759 ;; 8760*) 8761 lt_save_MAGIC_CMD="$MAGIC_CMD" 8762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8763 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8764 for ac_dir in $ac_dummy; do 8765 IFS="$lt_save_ifs" 8766 test -z "$ac_dir" && ac_dir=. 8767 if test -f $ac_dir/file; then 8768 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8769 if test -n "$file_magic_test_file"; then 8770 case $deplibs_check_method in 8771 "file_magic "*) 8772 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8773 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8774 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8775 $EGREP "$file_magic_regex" > /dev/null; then 8776 : 8777 else 8778 cat <<_LT_EOF 1>&2 8779 8780*** Warning: the command libtool uses to detect shared libraries, 8781*** $file_magic_cmd, produces output that libtool cannot recognize. 8782*** The result is that libtool may fail to recognize shared libraries 8783*** as such. This will affect the creation of libtool libraries that 8784*** depend on shared libraries, but programs linked with such libtool 8785*** libraries will work regardless of this problem. Nevertheless, you 8786*** may want to report the problem to your system manager and/or to 8787*** bug-libtool@gnu.org 8788 8789_LT_EOF 8790 fi ;; 8791 esac 8792 fi 8793 break 8794 fi 8795 done 8796 IFS="$lt_save_ifs" 8797 MAGIC_CMD="$lt_save_MAGIC_CMD" 8798 ;; 8799esac 8800fi 8801 8802MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8803if test -n "$MAGIC_CMD"; then 8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8805$as_echo "$MAGIC_CMD" >&6; } 8806else 8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8808$as_echo "no" >&6; } 8809fi 8810 8811 8812 else 8813 MAGIC_CMD=: 8814 fi 8815fi 8816 8817 fi 8818 ;; 8819esac 8820 8821# Use C for the default configuration in the libtool script 8822 8823lt_save_CC="$CC" 8824ac_ext=c 8825ac_cpp='$CPP $CPPFLAGS' 8826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8828ac_compiler_gnu=$ac_cv_c_compiler_gnu 8829 8830 8831# Source file extension for C test sources. 8832ac_ext=c 8833 8834# Object file extension for compiled C test sources. 8835objext=o 8836objext=$objext 8837 8838# Code to be used in simple compile tests 8839lt_simple_compile_test_code="int some_variable = 0;" 8840 8841# Code to be used in simple link tests 8842lt_simple_link_test_code='int main(){return(0);}' 8843 8844 8845 8846 8847 8848 8849 8850# If no C compiler was specified, use CC. 8851LTCC=${LTCC-"$CC"} 8852 8853# If no C compiler flags were specified, use CFLAGS. 8854LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8855 8856# Allow CC to be a program name with arguments. 8857compiler=$CC 8858 8859# Save the default compiler, since it gets overwritten when the other 8860# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8861compiler_DEFAULT=$CC 8862 8863# save warnings/boilerplate of simple test code 8864ac_outfile=conftest.$ac_objext 8865echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8866eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8867_lt_compiler_boilerplate=`cat conftest.err` 8868$RM conftest* 8869 8870ac_outfile=conftest.$ac_objext 8871echo "$lt_simple_link_test_code" >conftest.$ac_ext 8872eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8873_lt_linker_boilerplate=`cat conftest.err` 8874$RM -r conftest* 8875 8876 8877## CAVEAT EMPTOR: 8878## There is no encapsulation within the following macros, do not change 8879## the running order or otherwise move them around unless you know exactly 8880## what you are doing... 8881if test -n "$compiler"; then 8882 8883lt_prog_compiler_no_builtin_flag= 8884 8885if test "$GCC" = yes; then 8886 case $cc_basename in 8887 nvcc*) 8888 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8889 *) 8890 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8891 esac 8892 8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8894$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8895if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8896 $as_echo_n "(cached) " >&6 8897else 8898 lt_cv_prog_compiler_rtti_exceptions=no 8899 ac_outfile=conftest.$ac_objext 8900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8901 lt_compiler_flag="-fno-rtti -fno-exceptions" 8902 # Insert the option either (1) after the last *FLAGS variable, or 8903 # (2) before a word containing "conftest.", or (3) at the end. 8904 # Note that $ac_compile itself does not contain backslashes and begins 8905 # with a dollar sign (not a hyphen), so the echo should work correctly. 8906 # The option is referenced via a variable to avoid confusing sed. 8907 lt_compile=`echo "$ac_compile" | $SED \ 8908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8910 -e 's:$: $lt_compiler_flag:'` 8911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8912 (eval "$lt_compile" 2>conftest.err) 8913 ac_status=$? 8914 cat conftest.err >&5 8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8916 if (exit $ac_status) && test -s "$ac_outfile"; then 8917 # The compiler can only warn and ignore the option if not recognized 8918 # So say no if there are warnings other than the usual output. 8919 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8920 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8921 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8922 lt_cv_prog_compiler_rtti_exceptions=yes 8923 fi 8924 fi 8925 $RM conftest* 8926 8927fi 8928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8929$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8930 8931if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8932 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8933else 8934 : 8935fi 8936 8937fi 8938 8939 8940 8941 8942 8943 8944 lt_prog_compiler_wl= 8945lt_prog_compiler_pic= 8946lt_prog_compiler_static= 8947 8948 8949 if test "$GCC" = yes; then 8950 lt_prog_compiler_wl='-Wl,' 8951 lt_prog_compiler_static='-static' 8952 8953 case $host_os in 8954 aix*) 8955 # All AIX code is PIC. 8956 if test "$host_cpu" = ia64; then 8957 # AIX 5 now supports IA64 processor 8958 lt_prog_compiler_static='-Bstatic' 8959 fi 8960 ;; 8961 8962 amigaos*) 8963 case $host_cpu in 8964 powerpc) 8965 # see comment about AmigaOS4 .so support 8966 lt_prog_compiler_pic='-fPIC' 8967 ;; 8968 m68k) 8969 # FIXME: we need at least 68020 code to build shared libraries, but 8970 # adding the `-m68020' flag to GCC prevents building anything better, 8971 # like `-m68040'. 8972 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8973 ;; 8974 esac 8975 ;; 8976 8977 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8978 # PIC is the default for these OSes. 8979 ;; 8980 8981 mingw* | cygwin* | pw32* | os2* | cegcc*) 8982 # This hack is so that the source file can tell whether it is being 8983 # built for inclusion in a dll (and should export symbols for example). 8984 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8985 # (--disable-auto-import) libraries 8986 lt_prog_compiler_pic='-DDLL_EXPORT' 8987 ;; 8988 8989 darwin* | rhapsody*) 8990 # PIC is the default on this platform 8991 # Common symbols not allowed in MH_DYLIB files 8992 lt_prog_compiler_pic='-fno-common' 8993 ;; 8994 8995 haiku*) 8996 # PIC is the default for Haiku. 8997 # The "-static" flag exists, but is broken. 8998 lt_prog_compiler_static= 8999 ;; 9000 9001 hpux*) 9002 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9003 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9004 # sets the default TLS model and affects inlining. 9005 case $host_cpu in 9006 hppa*64*) 9007 # +Z the default 9008 ;; 9009 *) 9010 lt_prog_compiler_pic='-fPIC' 9011 ;; 9012 esac 9013 ;; 9014 9015 interix[3-9]*) 9016 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9017 # Instead, we relocate shared libraries at runtime. 9018 ;; 9019 9020 msdosdjgpp*) 9021 # Just because we use GCC doesn't mean we suddenly get shared libraries 9022 # on systems that don't support them. 9023 lt_prog_compiler_can_build_shared=no 9024 enable_shared=no 9025 ;; 9026 9027 *nto* | *qnx*) 9028 # QNX uses GNU C++, but need to define -shared option too, otherwise 9029 # it will coredump. 9030 lt_prog_compiler_pic='-fPIC -shared' 9031 ;; 9032 9033 sysv4*MP*) 9034 if test -d /usr/nec; then 9035 lt_prog_compiler_pic=-Kconform_pic 9036 fi 9037 ;; 9038 9039 *) 9040 lt_prog_compiler_pic='-fPIC' 9041 ;; 9042 esac 9043 9044 case $cc_basename in 9045 nvcc*) # Cuda Compiler Driver 2.2 9046 lt_prog_compiler_wl='-Xlinker ' 9047 if test -n "$lt_prog_compiler_pic"; then 9048 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9049 fi 9050 ;; 9051 esac 9052 else 9053 # PORTME Check for flag to pass linker flags through the system compiler. 9054 case $host_os in 9055 aix*) 9056 lt_prog_compiler_wl='-Wl,' 9057 if test "$host_cpu" = ia64; then 9058 # AIX 5 now supports IA64 processor 9059 lt_prog_compiler_static='-Bstatic' 9060 else 9061 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9062 fi 9063 ;; 9064 9065 mingw* | cygwin* | pw32* | os2* | cegcc*) 9066 # This hack is so that the source file can tell whether it is being 9067 # built for inclusion in a dll (and should export symbols for example). 9068 lt_prog_compiler_pic='-DDLL_EXPORT' 9069 ;; 9070 9071 hpux9* | hpux10* | hpux11*) 9072 lt_prog_compiler_wl='-Wl,' 9073 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9074 # not for PA HP-UX. 9075 case $host_cpu in 9076 hppa*64*|ia64*) 9077 # +Z the default 9078 ;; 9079 *) 9080 lt_prog_compiler_pic='+Z' 9081 ;; 9082 esac 9083 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9084 lt_prog_compiler_static='${wl}-a ${wl}archive' 9085 ;; 9086 9087 irix5* | irix6* | nonstopux*) 9088 lt_prog_compiler_wl='-Wl,' 9089 # PIC (with -KPIC) is the default. 9090 lt_prog_compiler_static='-non_shared' 9091 ;; 9092 9093 linux* | k*bsd*-gnu | kopensolaris*-gnu) 9094 case $cc_basename in 9095 # old Intel for x86_64 which still supported -KPIC. 9096 ecc*) 9097 lt_prog_compiler_wl='-Wl,' 9098 lt_prog_compiler_pic='-KPIC' 9099 lt_prog_compiler_static='-static' 9100 ;; 9101 # icc used to be incompatible with GCC. 9102 # ICC 10 doesn't accept -KPIC any more. 9103 icc* | ifort*) 9104 lt_prog_compiler_wl='-Wl,' 9105 lt_prog_compiler_pic='-fPIC' 9106 lt_prog_compiler_static='-static' 9107 ;; 9108 # Lahey Fortran 8.1. 9109 lf95*) 9110 lt_prog_compiler_wl='-Wl,' 9111 lt_prog_compiler_pic='--shared' 9112 lt_prog_compiler_static='--static' 9113 ;; 9114 nagfor*) 9115 # NAG Fortran compiler 9116 lt_prog_compiler_wl='-Wl,-Wl,,' 9117 lt_prog_compiler_pic='-PIC' 9118 lt_prog_compiler_static='-Bstatic' 9119 ;; 9120 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9121 # Portland Group compilers (*not* the Pentium gcc compiler, 9122 # which looks to be a dead project) 9123 lt_prog_compiler_wl='-Wl,' 9124 lt_prog_compiler_pic='-fpic' 9125 lt_prog_compiler_static='-Bstatic' 9126 ;; 9127 ccc*) 9128 lt_prog_compiler_wl='-Wl,' 9129 # All Alpha code is PIC. 9130 lt_prog_compiler_static='-non_shared' 9131 ;; 9132 xl* | bgxl* | bgf* | mpixl*) 9133 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9134 lt_prog_compiler_wl='-Wl,' 9135 lt_prog_compiler_pic='-qpic' 9136 lt_prog_compiler_static='-qstaticlink' 9137 ;; 9138 *) 9139 case `$CC -V 2>&1 | sed 5q` in 9140 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9141 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9142 lt_prog_compiler_pic='-KPIC' 9143 lt_prog_compiler_static='-Bstatic' 9144 lt_prog_compiler_wl='' 9145 ;; 9146 *Sun\ F* | *Sun*Fortran*) 9147 lt_prog_compiler_pic='-KPIC' 9148 lt_prog_compiler_static='-Bstatic' 9149 lt_prog_compiler_wl='-Qoption ld ' 9150 ;; 9151 *Sun\ C*) 9152 # Sun C 5.9 9153 lt_prog_compiler_pic='-KPIC' 9154 lt_prog_compiler_static='-Bstatic' 9155 lt_prog_compiler_wl='-Wl,' 9156 ;; 9157 *Intel*\ [CF]*Compiler*) 9158 lt_prog_compiler_wl='-Wl,' 9159 lt_prog_compiler_pic='-fPIC' 9160 lt_prog_compiler_static='-static' 9161 ;; 9162 *Portland\ Group*) 9163 lt_prog_compiler_wl='-Wl,' 9164 lt_prog_compiler_pic='-fpic' 9165 lt_prog_compiler_static='-Bstatic' 9166 ;; 9167 esac 9168 ;; 9169 esac 9170 ;; 9171 9172 newsos6) 9173 lt_prog_compiler_pic='-KPIC' 9174 lt_prog_compiler_static='-Bstatic' 9175 ;; 9176 9177 *nto* | *qnx*) 9178 # QNX uses GNU C++, but need to define -shared option too, otherwise 9179 # it will coredump. 9180 lt_prog_compiler_pic='-fPIC -shared' 9181 ;; 9182 9183 osf3* | osf4* | osf5*) 9184 lt_prog_compiler_wl='-Wl,' 9185 # All OSF/1 code is PIC. 9186 lt_prog_compiler_static='-non_shared' 9187 ;; 9188 9189 rdos*) 9190 lt_prog_compiler_static='-non_shared' 9191 ;; 9192 9193 solaris*) 9194 lt_prog_compiler_pic='-KPIC' 9195 lt_prog_compiler_static='-Bstatic' 9196 case $cc_basename in 9197 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9198 lt_prog_compiler_wl='-Qoption ld ';; 9199 *) 9200 lt_prog_compiler_wl='-Wl,';; 9201 esac 9202 ;; 9203 9204 sunos4*) 9205 lt_prog_compiler_wl='-Qoption ld ' 9206 lt_prog_compiler_pic='-PIC' 9207 lt_prog_compiler_static='-Bstatic' 9208 ;; 9209 9210 sysv4 | sysv4.2uw2* | sysv4.3*) 9211 lt_prog_compiler_wl='-Wl,' 9212 lt_prog_compiler_pic='-KPIC' 9213 lt_prog_compiler_static='-Bstatic' 9214 ;; 9215 9216 sysv4*MP*) 9217 if test -d /usr/nec ;then 9218 lt_prog_compiler_pic='-Kconform_pic' 9219 lt_prog_compiler_static='-Bstatic' 9220 fi 9221 ;; 9222 9223 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9224 lt_prog_compiler_wl='-Wl,' 9225 lt_prog_compiler_pic='-KPIC' 9226 lt_prog_compiler_static='-Bstatic' 9227 ;; 9228 9229 unicos*) 9230 lt_prog_compiler_wl='-Wl,' 9231 lt_prog_compiler_can_build_shared=no 9232 ;; 9233 9234 uts4*) 9235 lt_prog_compiler_pic='-pic' 9236 lt_prog_compiler_static='-Bstatic' 9237 ;; 9238 9239 *) 9240 lt_prog_compiler_can_build_shared=no 9241 ;; 9242 esac 9243 fi 9244 9245case $host_os in 9246 # For platforms which do not support PIC, -DPIC is meaningless: 9247 *djgpp*) 9248 lt_prog_compiler_pic= 9249 ;; 9250 *) 9251 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9252 ;; 9253esac 9254 9255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9256$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9257if ${lt_cv_prog_compiler_pic+:} false; then : 9258 $as_echo_n "(cached) " >&6 9259else 9260 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9261fi 9262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9263$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9264lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9265 9266# 9267# Check to make sure the PIC flag actually works. 9268# 9269if test -n "$lt_prog_compiler_pic"; then 9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9271$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9272if ${lt_cv_prog_compiler_pic_works+:} false; then : 9273 $as_echo_n "(cached) " >&6 9274else 9275 lt_cv_prog_compiler_pic_works=no 9276 ac_outfile=conftest.$ac_objext 9277 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9278 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9279 # Insert the option either (1) after the last *FLAGS variable, or 9280 # (2) before a word containing "conftest.", or (3) at the end. 9281 # Note that $ac_compile itself does not contain backslashes and begins 9282 # with a dollar sign (not a hyphen), so the echo should work correctly. 9283 # The option is referenced via a variable to avoid confusing sed. 9284 lt_compile=`echo "$ac_compile" | $SED \ 9285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9287 -e 's:$: $lt_compiler_flag:'` 9288 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9289 (eval "$lt_compile" 2>conftest.err) 9290 ac_status=$? 9291 cat conftest.err >&5 9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9293 if (exit $ac_status) && test -s "$ac_outfile"; then 9294 # The compiler can only warn and ignore the option if not recognized 9295 # So say no if there are warnings other than the usual output. 9296 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9297 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9298 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9299 lt_cv_prog_compiler_pic_works=yes 9300 fi 9301 fi 9302 $RM conftest* 9303 9304fi 9305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9306$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9307 9308if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9309 case $lt_prog_compiler_pic in 9310 "" | " "*) ;; 9311 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9312 esac 9313else 9314 lt_prog_compiler_pic= 9315 lt_prog_compiler_can_build_shared=no 9316fi 9317 9318fi 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330# 9331# Check to make sure the static flag actually works. 9332# 9333wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9335$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9336if ${lt_cv_prog_compiler_static_works+:} false; then : 9337 $as_echo_n "(cached) " >&6 9338else 9339 lt_cv_prog_compiler_static_works=no 9340 save_LDFLAGS="$LDFLAGS" 9341 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9342 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9343 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9344 # The linker can only warn and ignore the option if not recognized 9345 # So say no if there are warnings 9346 if test -s conftest.err; then 9347 # Append any errors to the config.log. 9348 cat conftest.err 1>&5 9349 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9350 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9351 if diff conftest.exp conftest.er2 >/dev/null; then 9352 lt_cv_prog_compiler_static_works=yes 9353 fi 9354 else 9355 lt_cv_prog_compiler_static_works=yes 9356 fi 9357 fi 9358 $RM -r conftest* 9359 LDFLAGS="$save_LDFLAGS" 9360 9361fi 9362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9363$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9364 9365if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9366 : 9367else 9368 lt_prog_compiler_static= 9369fi 9370 9371 9372 9373 9374 9375 9376 9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9378$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9379if ${lt_cv_prog_compiler_c_o+:} false; then : 9380 $as_echo_n "(cached) " >&6 9381else 9382 lt_cv_prog_compiler_c_o=no 9383 $RM -r conftest 2>/dev/null 9384 mkdir conftest 9385 cd conftest 9386 mkdir out 9387 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9388 9389 lt_compiler_flag="-o out/conftest2.$ac_objext" 9390 # Insert the option either (1) after the last *FLAGS variable, or 9391 # (2) before a word containing "conftest.", or (3) at the end. 9392 # Note that $ac_compile itself does not contain backslashes and begins 9393 # with a dollar sign (not a hyphen), so the echo should work correctly. 9394 lt_compile=`echo "$ac_compile" | $SED \ 9395 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9396 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9397 -e 's:$: $lt_compiler_flag:'` 9398 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9399 (eval "$lt_compile" 2>out/conftest.err) 9400 ac_status=$? 9401 cat out/conftest.err >&5 9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9403 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9404 then 9405 # The compiler can only warn and ignore the option if not recognized 9406 # So say no if there are warnings 9407 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9408 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9409 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9410 lt_cv_prog_compiler_c_o=yes 9411 fi 9412 fi 9413 chmod u+w . 2>&5 9414 $RM conftest* 9415 # SGI C++ compiler will create directory out/ii_files/ for 9416 # template instantiation 9417 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9418 $RM out/* && rmdir out 9419 cd .. 9420 $RM -r conftest 9421 $RM conftest* 9422 9423fi 9424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9425$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9426 9427 9428 9429 9430 9431 9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9433$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9434if ${lt_cv_prog_compiler_c_o+:} false; then : 9435 $as_echo_n "(cached) " >&6 9436else 9437 lt_cv_prog_compiler_c_o=no 9438 $RM -r conftest 2>/dev/null 9439 mkdir conftest 9440 cd conftest 9441 mkdir out 9442 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9443 9444 lt_compiler_flag="-o out/conftest2.$ac_objext" 9445 # Insert the option either (1) after the last *FLAGS variable, or 9446 # (2) before a word containing "conftest.", or (3) at the end. 9447 # Note that $ac_compile itself does not contain backslashes and begins 9448 # with a dollar sign (not a hyphen), so the echo should work correctly. 9449 lt_compile=`echo "$ac_compile" | $SED \ 9450 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9451 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9452 -e 's:$: $lt_compiler_flag:'` 9453 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9454 (eval "$lt_compile" 2>out/conftest.err) 9455 ac_status=$? 9456 cat out/conftest.err >&5 9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9458 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9459 then 9460 # The compiler can only warn and ignore the option if not recognized 9461 # So say no if there are warnings 9462 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9463 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9464 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9465 lt_cv_prog_compiler_c_o=yes 9466 fi 9467 fi 9468 chmod u+w . 2>&5 9469 $RM conftest* 9470 # SGI C++ compiler will create directory out/ii_files/ for 9471 # template instantiation 9472 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9473 $RM out/* && rmdir out 9474 cd .. 9475 $RM -r conftest 9476 $RM conftest* 9477 9478fi 9479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9480$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9481 9482 9483 9484 9485hard_links="nottested" 9486if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9487 # do not overwrite the value of need_locks provided by the user 9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9489$as_echo_n "checking if we can lock with hard links... " >&6; } 9490 hard_links=yes 9491 $RM conftest* 9492 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9493 touch conftest.a 9494 ln conftest.a conftest.b 2>&5 || hard_links=no 9495 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9497$as_echo "$hard_links" >&6; } 9498 if test "$hard_links" = no; then 9499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9500$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9501 need_locks=warn 9502 fi 9503else 9504 need_locks=no 9505fi 9506 9507 9508 9509 9510 9511 9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9513$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9514 9515 runpath_var= 9516 allow_undefined_flag= 9517 always_export_symbols=no 9518 archive_cmds= 9519 archive_expsym_cmds= 9520 compiler_needs_object=no 9521 enable_shared_with_static_runtimes=no 9522 export_dynamic_flag_spec= 9523 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9524 hardcode_automatic=no 9525 hardcode_direct=no 9526 hardcode_direct_absolute=no 9527 hardcode_libdir_flag_spec= 9528 hardcode_libdir_separator= 9529 hardcode_minus_L=no 9530 hardcode_shlibpath_var=unsupported 9531 inherit_rpath=no 9532 link_all_deplibs=unknown 9533 module_cmds= 9534 module_expsym_cmds= 9535 old_archive_from_new_cmds= 9536 old_archive_from_expsyms_cmds= 9537 thread_safe_flag_spec= 9538 whole_archive_flag_spec= 9539 # include_expsyms should be a list of space-separated symbols to be *always* 9540 # included in the symbol list 9541 include_expsyms= 9542 # exclude_expsyms can be an extended regexp of symbols to exclude 9543 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9544 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9545 # as well as any symbol that contains `d'. 9546 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9547 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9548 # platforms (ab)use it in PIC code, but their linkers get confused if 9549 # the symbol is explicitly referenced. Since portable code cannot 9550 # rely on this symbol name, it's probably fine to never include it in 9551 # preloaded symbol tables. 9552 # Exclude shared library initialization/finalization symbols. 9553 extract_expsyms_cmds= 9554 9555 case $host_os in 9556 cygwin* | mingw* | pw32* | cegcc*) 9557 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9558 # When not using gcc, we currently assume that we are using 9559 # Microsoft Visual C++. 9560 if test "$GCC" != yes; then 9561 with_gnu_ld=no 9562 fi 9563 ;; 9564 interix*) 9565 # we just hope/assume this is gcc and not c89 (= MSVC++) 9566 with_gnu_ld=yes 9567 ;; 9568 openbsd*) 9569 with_gnu_ld=no 9570 ;; 9571 linux* | k*bsd*-gnu | gnu*) 9572 link_all_deplibs=no 9573 ;; 9574 esac 9575 9576 ld_shlibs=yes 9577 9578 # On some targets, GNU ld is compatible enough with the native linker 9579 # that we're better off using the native interface for both. 9580 lt_use_gnu_ld_interface=no 9581 if test "$with_gnu_ld" = yes; then 9582 case $host_os in 9583 aix*) 9584 # The AIX port of GNU ld has always aspired to compatibility 9585 # with the native linker. However, as the warning in the GNU ld 9586 # block says, versions before 2.19.5* couldn't really create working 9587 # shared libraries, regardless of the interface used. 9588 case `$LD -v 2>&1` in 9589 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9590 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9591 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9592 *) 9593 lt_use_gnu_ld_interface=yes 9594 ;; 9595 esac 9596 ;; 9597 *) 9598 lt_use_gnu_ld_interface=yes 9599 ;; 9600 esac 9601 fi 9602 9603 if test "$lt_use_gnu_ld_interface" = yes; then 9604 # If archive_cmds runs LD, not CC, wlarc should be empty 9605 wlarc='${wl}' 9606 9607 # Set some defaults for GNU ld with shared library support. These 9608 # are reset later if shared libraries are not supported. Putting them 9609 # here allows them to be overridden if necessary. 9610 runpath_var=LD_RUN_PATH 9611 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9612 export_dynamic_flag_spec='${wl}--export-dynamic' 9613 # ancient GNU ld didn't support --whole-archive et. al. 9614 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9615 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9616 else 9617 whole_archive_flag_spec= 9618 fi 9619 supports_anon_versioning=no 9620 case `$LD -v 2>&1` in 9621 *GNU\ gold*) supports_anon_versioning=yes ;; 9622 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9623 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9624 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9625 *\ 2.11.*) ;; # other 2.11 versions 9626 *) supports_anon_versioning=yes ;; 9627 esac 9628 9629 # See if GNU ld supports shared libraries. 9630 case $host_os in 9631 aix[3-9]*) 9632 # On AIX/PPC, the GNU linker is very broken 9633 if test "$host_cpu" != ia64; then 9634 ld_shlibs=no 9635 cat <<_LT_EOF 1>&2 9636 9637*** Warning: the GNU linker, at least up to release 2.19, is reported 9638*** to be unable to reliably create shared libraries on AIX. 9639*** Therefore, libtool is disabling shared libraries support. If you 9640*** really care for shared libraries, you may want to install binutils 9641*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9642*** You will then need to restart the configuration process. 9643 9644_LT_EOF 9645 fi 9646 ;; 9647 9648 amigaos*) 9649 case $host_cpu in 9650 powerpc) 9651 # see comment about AmigaOS4 .so support 9652 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9653 archive_expsym_cmds='' 9654 ;; 9655 m68k) 9656 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)' 9657 hardcode_libdir_flag_spec='-L$libdir' 9658 hardcode_minus_L=yes 9659 ;; 9660 esac 9661 ;; 9662 9663 beos*) 9664 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9665 allow_undefined_flag=unsupported 9666 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9667 # support --undefined. This deserves some investigation. FIXME 9668 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9669 else 9670 ld_shlibs=no 9671 fi 9672 ;; 9673 9674 cygwin* | mingw* | pw32* | cegcc*) 9675 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9676 # as there is no search path for DLLs. 9677 hardcode_libdir_flag_spec='-L$libdir' 9678 export_dynamic_flag_spec='${wl}--export-all-symbols' 9679 allow_undefined_flag=unsupported 9680 always_export_symbols=no 9681 enable_shared_with_static_runtimes=yes 9682 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' 9683 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9684 9685 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9686 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9687 # If the export-symbols file already is a .def file (1st line 9688 # is EXPORTS), use it as is; otherwise, prepend... 9689 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9690 cp $export_symbols $output_objdir/$soname.def; 9691 else 9692 echo EXPORTS > $output_objdir/$soname.def; 9693 cat $export_symbols >> $output_objdir/$soname.def; 9694 fi~ 9695 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9696 else 9697 ld_shlibs=no 9698 fi 9699 ;; 9700 9701 haiku*) 9702 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9703 link_all_deplibs=yes 9704 ;; 9705 9706 interix[3-9]*) 9707 hardcode_direct=no 9708 hardcode_shlibpath_var=no 9709 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9710 export_dynamic_flag_spec='${wl}-E' 9711 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9712 # Instead, shared libraries are loaded at an image base (0x10000000 by 9713 # default) and relocated if they conflict, which is a slow very memory 9714 # consuming and fragmenting process. To avoid this, we pick a random, 9715 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9716 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9717 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9718 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' 9719 ;; 9720 9721 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9722 tmp_diet=no 9723 if test "$host_os" = linux-dietlibc; then 9724 case $cc_basename in 9725 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9726 esac 9727 fi 9728 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9729 && test "$tmp_diet" = no 9730 then 9731 tmp_addflag=' $pic_flag' 9732 tmp_sharedflag='-shared' 9733 case $cc_basename,$host_cpu in 9734 pgcc*) # Portland Group C compiler 9735 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' 9736 tmp_addflag=' $pic_flag' 9737 ;; 9738 pgf77* | pgf90* | pgf95* | pgfortran*) 9739 # Portland Group f77 and f90 compilers 9740 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' 9741 tmp_addflag=' $pic_flag -Mnomain' ;; 9742 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9743 tmp_addflag=' -i_dynamic' ;; 9744 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9745 tmp_addflag=' -i_dynamic -nofor_main' ;; 9746 ifc* | ifort*) # Intel Fortran compiler 9747 tmp_addflag=' -nofor_main' ;; 9748 lf95*) # Lahey Fortran 8.1 9749 whole_archive_flag_spec= 9750 tmp_sharedflag='--shared' ;; 9751 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9752 tmp_sharedflag='-qmkshrobj' 9753 tmp_addflag= ;; 9754 nvcc*) # Cuda Compiler Driver 2.2 9755 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' 9756 compiler_needs_object=yes 9757 ;; 9758 esac 9759 case `$CC -V 2>&1 | sed 5q` in 9760 *Sun\ C*) # Sun C 5.9 9761 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' 9762 compiler_needs_object=yes 9763 tmp_sharedflag='-G' ;; 9764 *Sun\ F*) # Sun Fortran 8.3 9765 tmp_sharedflag='-G' ;; 9766 esac 9767 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9768 9769 if test "x$supports_anon_versioning" = xyes; then 9770 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9771 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9772 echo "local: *; };" >> $output_objdir/$libname.ver~ 9773 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9774 fi 9775 9776 case $cc_basename in 9777 xlf* | bgf* | bgxlf* | mpixlf*) 9778 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9779 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9780 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9781 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9782 if test "x$supports_anon_versioning" = xyes; then 9783 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9784 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9785 echo "local: *; };" >> $output_objdir/$libname.ver~ 9786 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9787 fi 9788 ;; 9789 esac 9790 else 9791 ld_shlibs=no 9792 fi 9793 ;; 9794 9795 netbsd* | netbsdelf*-gnu) 9796 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9797 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9798 wlarc= 9799 else 9800 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9801 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9802 fi 9803 ;; 9804 9805 solaris*) 9806 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9807 ld_shlibs=no 9808 cat <<_LT_EOF 1>&2 9809 9810*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9811*** create shared libraries on Solaris systems. Therefore, libtool 9812*** is disabling shared libraries support. We urge you to upgrade GNU 9813*** binutils to release 2.9.1 or newer. Another option is to modify 9814*** your PATH or compiler configuration so that the native linker is 9815*** used, and then restart. 9816 9817_LT_EOF 9818 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9819 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9820 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9821 else 9822 ld_shlibs=no 9823 fi 9824 ;; 9825 9826 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9827 case `$LD -v 2>&1` in 9828 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9829 ld_shlibs=no 9830 cat <<_LT_EOF 1>&2 9831 9832*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9833*** reliably create shared libraries on SCO systems. Therefore, libtool 9834*** is disabling shared libraries support. We urge you to upgrade GNU 9835*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9836*** your PATH or compiler configuration so that the native linker is 9837*** used, and then restart. 9838 9839_LT_EOF 9840 ;; 9841 *) 9842 # For security reasons, it is highly recommended that you always 9843 # use absolute paths for naming shared libraries, and exclude the 9844 # DT_RUNPATH tag from executables and libraries. But doing so 9845 # requires that you compile everything twice, which is a pain. 9846 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9847 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9848 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9849 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9850 else 9851 ld_shlibs=no 9852 fi 9853 ;; 9854 esac 9855 ;; 9856 9857 sunos4*) 9858 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9859 wlarc= 9860 hardcode_direct=yes 9861 hardcode_shlibpath_var=no 9862 ;; 9863 9864 *) 9865 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9866 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9867 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9868 else 9869 ld_shlibs=no 9870 fi 9871 ;; 9872 esac 9873 9874 if test "$ld_shlibs" = no; then 9875 runpath_var= 9876 hardcode_libdir_flag_spec= 9877 export_dynamic_flag_spec= 9878 whole_archive_flag_spec= 9879 fi 9880 else 9881 # PORTME fill in a description of your system's linker (not GNU ld) 9882 case $host_os in 9883 aix3*) 9884 allow_undefined_flag=unsupported 9885 always_export_symbols=yes 9886 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' 9887 # Note: this linker hardcodes the directories in LIBPATH if there 9888 # are no directories specified by -L. 9889 hardcode_minus_L=yes 9890 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9891 # Neither direct hardcoding nor static linking is supported with a 9892 # broken collect2. 9893 hardcode_direct=unsupported 9894 fi 9895 ;; 9896 9897 aix[4-9]*) 9898 if test "$host_cpu" = ia64; then 9899 # On IA64, the linker does run time linking by default, so we don't 9900 # have to do anything special. 9901 aix_use_runtimelinking=no 9902 exp_sym_flag='-Bexport' 9903 no_entry_flag="" 9904 else 9905 # If we're using GNU nm, then we don't want the "-C" option. 9906 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9907 # Also, AIX nm treats weak defined symbols like other global 9908 # defined symbols, whereas GNU nm marks them as "W". 9909 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9910 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' 9911 else 9912 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' 9913 fi 9914 aix_use_runtimelinking=no 9915 9916 # Test if we are trying to use run time linking or normal 9917 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9918 # need to do runtime linking. 9919 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9920 for ld_flag in $LDFLAGS; do 9921 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9922 aix_use_runtimelinking=yes 9923 break 9924 fi 9925 done 9926 ;; 9927 esac 9928 9929 exp_sym_flag='-bexport' 9930 no_entry_flag='-bnoentry' 9931 fi 9932 9933 # When large executables or shared objects are built, AIX ld can 9934 # have problems creating the table of contents. If linking a library 9935 # or program results in "error TOC overflow" add -mminimal-toc to 9936 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9937 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9938 9939 archive_cmds='' 9940 hardcode_direct=yes 9941 hardcode_direct_absolute=yes 9942 hardcode_libdir_separator=':' 9943 link_all_deplibs=yes 9944 file_list_spec='${wl}-f,' 9945 9946 if test "$GCC" = yes; then 9947 case $host_os in aix4.[012]|aix4.[012].*) 9948 # We only want to do this on AIX 4.2 and lower, the check 9949 # below for broken collect2 doesn't work under 4.3+ 9950 collect2name=`${CC} -print-prog-name=collect2` 9951 if test -f "$collect2name" && 9952 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9953 then 9954 # We have reworked collect2 9955 : 9956 else 9957 # We have old collect2 9958 hardcode_direct=unsupported 9959 # It fails to find uninstalled libraries when the uninstalled 9960 # path is not listed in the libpath. Setting hardcode_minus_L 9961 # to unsupported forces relinking 9962 hardcode_minus_L=yes 9963 hardcode_libdir_flag_spec='-L$libdir' 9964 hardcode_libdir_separator= 9965 fi 9966 ;; 9967 esac 9968 shared_flag='-shared' 9969 if test "$aix_use_runtimelinking" = yes; then 9970 shared_flag="$shared_flag "'${wl}-G' 9971 fi 9972 link_all_deplibs=no 9973 else 9974 # not using gcc 9975 if test "$host_cpu" = ia64; then 9976 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9977 # chokes on -Wl,-G. The following line is correct: 9978 shared_flag='-G' 9979 else 9980 if test "$aix_use_runtimelinking" = yes; then 9981 shared_flag='${wl}-G' 9982 else 9983 shared_flag='${wl}-bM:SRE' 9984 fi 9985 fi 9986 fi 9987 9988 export_dynamic_flag_spec='${wl}-bexpall' 9989 # It seems that -bexpall does not export symbols beginning with 9990 # underscore (_), so it is better to generate a list of symbols to export. 9991 always_export_symbols=yes 9992 if test "$aix_use_runtimelinking" = yes; then 9993 # Warning - without using the other runtime loading flags (-brtl), 9994 # -berok will link without error, but may produce a broken library. 9995 allow_undefined_flag='-berok' 9996 # Determine the default libpath from the value encoded in an 9997 # empty executable. 9998 if test "${lt_cv_aix_libpath+set}" = set; then 9999 aix_libpath=$lt_cv_aix_libpath 10000else 10001 if ${lt_cv_aix_libpath_+:} false; then : 10002 $as_echo_n "(cached) " >&6 10003else 10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10005/* end confdefs.h. */ 10006 10007int 10008main () 10009{ 10010 10011 ; 10012 return 0; 10013} 10014_ACEOF 10015if ac_fn_c_try_link "$LINENO"; then : 10016 10017 lt_aix_libpath_sed=' 10018 /Import File Strings/,/^$/ { 10019 /^0/ { 10020 s/^0 *\([^ ]*\) *$/\1/ 10021 p 10022 } 10023 }' 10024 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10025 # Check for a 64-bit object if we didn't find anything. 10026 if test -z "$lt_cv_aix_libpath_"; then 10027 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10028 fi 10029fi 10030rm -f core conftest.err conftest.$ac_objext \ 10031 conftest$ac_exeext conftest.$ac_ext 10032 if test -z "$lt_cv_aix_libpath_"; then 10033 lt_cv_aix_libpath_="/usr/lib:/lib" 10034 fi 10035 10036fi 10037 10038 aix_libpath=$lt_cv_aix_libpath_ 10039fi 10040 10041 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10042 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" 10043 else 10044 if test "$host_cpu" = ia64; then 10045 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10046 allow_undefined_flag="-z nodefs" 10047 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" 10048 else 10049 # Determine the default libpath from the value encoded in an 10050 # empty executable. 10051 if test "${lt_cv_aix_libpath+set}" = set; then 10052 aix_libpath=$lt_cv_aix_libpath 10053else 10054 if ${lt_cv_aix_libpath_+:} false; then : 10055 $as_echo_n "(cached) " >&6 10056else 10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10058/* end confdefs.h. */ 10059 10060int 10061main () 10062{ 10063 10064 ; 10065 return 0; 10066} 10067_ACEOF 10068if ac_fn_c_try_link "$LINENO"; then : 10069 10070 lt_aix_libpath_sed=' 10071 /Import File Strings/,/^$/ { 10072 /^0/ { 10073 s/^0 *\([^ ]*\) *$/\1/ 10074 p 10075 } 10076 }' 10077 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10078 # Check for a 64-bit object if we didn't find anything. 10079 if test -z "$lt_cv_aix_libpath_"; then 10080 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10081 fi 10082fi 10083rm -f core conftest.err conftest.$ac_objext \ 10084 conftest$ac_exeext conftest.$ac_ext 10085 if test -z "$lt_cv_aix_libpath_"; then 10086 lt_cv_aix_libpath_="/usr/lib:/lib" 10087 fi 10088 10089fi 10090 10091 aix_libpath=$lt_cv_aix_libpath_ 10092fi 10093 10094 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10095 # Warning - without using the other run time loading flags, 10096 # -berok will link without error, but may produce a broken library. 10097 no_undefined_flag=' ${wl}-bernotok' 10098 allow_undefined_flag=' ${wl}-berok' 10099 if test "$with_gnu_ld" = yes; then 10100 # We only use this code for GNU lds that support --whole-archive. 10101 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 10102 else 10103 # Exported symbols can be pulled into shared objects from archives 10104 whole_archive_flag_spec='$convenience' 10105 fi 10106 archive_cmds_need_lc=yes 10107 # This is similar to how AIX traditionally builds its shared libraries. 10108 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' 10109 fi 10110 fi 10111 ;; 10112 10113 amigaos*) 10114 case $host_cpu in 10115 powerpc) 10116 # see comment about AmigaOS4 .so support 10117 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10118 archive_expsym_cmds='' 10119 ;; 10120 m68k) 10121 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)' 10122 hardcode_libdir_flag_spec='-L$libdir' 10123 hardcode_minus_L=yes 10124 ;; 10125 esac 10126 ;; 10127 10128 bsdi[45]*) 10129 export_dynamic_flag_spec=-rdynamic 10130 ;; 10131 10132 cygwin* | mingw* | pw32* | cegcc*) 10133 # When not using gcc, we currently assume that we are using 10134 # Microsoft Visual C++. 10135 # hardcode_libdir_flag_spec is actually meaningless, as there is 10136 # no search path for DLLs. 10137 case $cc_basename in 10138 cl*) 10139 # Native MSVC 10140 hardcode_libdir_flag_spec=' ' 10141 allow_undefined_flag=unsupported 10142 always_export_symbols=yes 10143 file_list_spec='@' 10144 # Tell ltmain to make .lib files, not .a files. 10145 libext=lib 10146 # Tell ltmain to make .dll files, not .so files. 10147 shrext_cmds=".dll" 10148 # FIXME: Setting linknames here is a bad hack. 10149 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 10150 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10151 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 10152 else 10153 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 10154 fi~ 10155 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10156 linknames=' 10157 # The linker will not automatically build a static lib if we build a DLL. 10158 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10159 enable_shared_with_static_runtimes=yes 10160 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10161 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10162 # Don't use ranlib 10163 old_postinstall_cmds='chmod 644 $oldlib' 10164 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10165 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10166 case $lt_outputfile in 10167 *.exe|*.EXE) ;; 10168 *) 10169 lt_outputfile="$lt_outputfile.exe" 10170 lt_tool_outputfile="$lt_tool_outputfile.exe" 10171 ;; 10172 esac~ 10173 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 10174 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10175 $RM "$lt_outputfile.manifest"; 10176 fi' 10177 ;; 10178 *) 10179 # Assume MSVC wrapper 10180 hardcode_libdir_flag_spec=' ' 10181 allow_undefined_flag=unsupported 10182 # Tell ltmain to make .lib files, not .a files. 10183 libext=lib 10184 # Tell ltmain to make .dll files, not .so files. 10185 shrext_cmds=".dll" 10186 # FIXME: Setting linknames here is a bad hack. 10187 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10188 # The linker will automatically build a .lib file if we build a DLL. 10189 old_archive_from_new_cmds='true' 10190 # FIXME: Should let the user specify the lib program. 10191 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10192 enable_shared_with_static_runtimes=yes 10193 ;; 10194 esac 10195 ;; 10196 10197 darwin* | rhapsody*) 10198 10199 10200 archive_cmds_need_lc=no 10201 hardcode_direct=no 10202 hardcode_automatic=yes 10203 hardcode_shlibpath_var=unsupported 10204 if test "$lt_cv_ld_force_load" = "yes"; then 10205 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\"`' 10206 10207 else 10208 whole_archive_flag_spec='' 10209 fi 10210 link_all_deplibs=yes 10211 allow_undefined_flag="$_lt_dar_allow_undefined" 10212 case $cc_basename in 10213 ifort*) _lt_dar_can_shared=yes ;; 10214 *) _lt_dar_can_shared=$GCC ;; 10215 esac 10216 if test "$_lt_dar_can_shared" = "yes"; then 10217 output_verbose_link_cmd=func_echo_all 10218 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 10219 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 10220 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}" 10221 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}" 10222 10223 else 10224 ld_shlibs=no 10225 fi 10226 10227 ;; 10228 10229 dgux*) 10230 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10231 hardcode_libdir_flag_spec='-L$libdir' 10232 hardcode_shlibpath_var=no 10233 ;; 10234 10235 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10236 # support. Future versions do this automatically, but an explicit c++rt0.o 10237 # does not break anything, and helps significantly (at the cost of a little 10238 # extra space). 10239 freebsd2.2*) 10240 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10241 hardcode_libdir_flag_spec='-R$libdir' 10242 hardcode_direct=yes 10243 hardcode_shlibpath_var=no 10244 ;; 10245 10246 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10247 freebsd2.*) 10248 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10249 hardcode_direct=yes 10250 hardcode_minus_L=yes 10251 hardcode_shlibpath_var=no 10252 ;; 10253 10254 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10255 freebsd* | dragonfly*) 10256 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10257 hardcode_libdir_flag_spec='-R$libdir' 10258 hardcode_direct=yes 10259 hardcode_shlibpath_var=no 10260 ;; 10261 10262 hpux9*) 10263 if test "$GCC" = yes; then 10264 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' 10265 else 10266 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' 10267 fi 10268 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10269 hardcode_libdir_separator=: 10270 hardcode_direct=yes 10271 10272 # hardcode_minus_L: Not really in the search PATH, 10273 # but as the default location of the library. 10274 hardcode_minus_L=yes 10275 export_dynamic_flag_spec='${wl}-E' 10276 ;; 10277 10278 hpux10*) 10279 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10280 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10281 else 10282 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10283 fi 10284 if test "$with_gnu_ld" = no; then 10285 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10286 hardcode_libdir_separator=: 10287 hardcode_direct=yes 10288 hardcode_direct_absolute=yes 10289 export_dynamic_flag_spec='${wl}-E' 10290 # hardcode_minus_L: Not really in the search PATH, 10291 # but as the default location of the library. 10292 hardcode_minus_L=yes 10293 fi 10294 ;; 10295 10296 hpux11*) 10297 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10298 case $host_cpu in 10299 hppa*64*) 10300 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10301 ;; 10302 ia64*) 10303 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10304 ;; 10305 *) 10306 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10307 ;; 10308 esac 10309 else 10310 case $host_cpu in 10311 hppa*64*) 10312 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10313 ;; 10314 ia64*) 10315 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10316 ;; 10317 *) 10318 10319 # Older versions of the 11.00 compiler do not understand -b yet 10320 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10322$as_echo_n "checking if $CC understands -b... " >&6; } 10323if ${lt_cv_prog_compiler__b+:} false; then : 10324 $as_echo_n "(cached) " >&6 10325else 10326 lt_cv_prog_compiler__b=no 10327 save_LDFLAGS="$LDFLAGS" 10328 LDFLAGS="$LDFLAGS -b" 10329 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10330 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10331 # The linker can only warn and ignore the option if not recognized 10332 # So say no if there are warnings 10333 if test -s conftest.err; then 10334 # Append any errors to the config.log. 10335 cat conftest.err 1>&5 10336 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10337 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10338 if diff conftest.exp conftest.er2 >/dev/null; then 10339 lt_cv_prog_compiler__b=yes 10340 fi 10341 else 10342 lt_cv_prog_compiler__b=yes 10343 fi 10344 fi 10345 $RM -r conftest* 10346 LDFLAGS="$save_LDFLAGS" 10347 10348fi 10349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10350$as_echo "$lt_cv_prog_compiler__b" >&6; } 10351 10352if test x"$lt_cv_prog_compiler__b" = xyes; then 10353 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10354else 10355 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10356fi 10357 10358 ;; 10359 esac 10360 fi 10361 if test "$with_gnu_ld" = no; then 10362 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10363 hardcode_libdir_separator=: 10364 10365 case $host_cpu in 10366 hppa*64*|ia64*) 10367 hardcode_direct=no 10368 hardcode_shlibpath_var=no 10369 ;; 10370 *) 10371 hardcode_direct=yes 10372 hardcode_direct_absolute=yes 10373 export_dynamic_flag_spec='${wl}-E' 10374 10375 # hardcode_minus_L: Not really in the search PATH, 10376 # but as the default location of the library. 10377 hardcode_minus_L=yes 10378 ;; 10379 esac 10380 fi 10381 ;; 10382 10383 irix5* | irix6* | nonstopux*) 10384 if test "$GCC" = yes; then 10385 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' 10386 # Try to use the -exported_symbol ld option, if it does not 10387 # work, assume that -exports_file does not work either and 10388 # implicitly export all symbols. 10389 # This should be the same for all languages, so no per-tag cache variable. 10390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10391$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10392if ${lt_cv_irix_exported_symbol+:} false; then : 10393 $as_echo_n "(cached) " >&6 10394else 10395 save_LDFLAGS="$LDFLAGS" 10396 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10398/* end confdefs.h. */ 10399int foo (void) { return 0; } 10400_ACEOF 10401if ac_fn_c_try_link "$LINENO"; then : 10402 lt_cv_irix_exported_symbol=yes 10403else 10404 lt_cv_irix_exported_symbol=no 10405fi 10406rm -f core conftest.err conftest.$ac_objext \ 10407 conftest$ac_exeext conftest.$ac_ext 10408 LDFLAGS="$save_LDFLAGS" 10409fi 10410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10411$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10412 if test "$lt_cv_irix_exported_symbol" = yes; then 10413 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' 10414 fi 10415 else 10416 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' 10417 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' 10418 fi 10419 archive_cmds_need_lc='no' 10420 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10421 hardcode_libdir_separator=: 10422 inherit_rpath=yes 10423 link_all_deplibs=yes 10424 ;; 10425 10426 netbsd* | netbsdelf*-gnu) 10427 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10428 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10429 else 10430 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10431 fi 10432 hardcode_libdir_flag_spec='-R$libdir' 10433 hardcode_direct=yes 10434 hardcode_shlibpath_var=no 10435 ;; 10436 10437 newsos6) 10438 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10439 hardcode_direct=yes 10440 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10441 hardcode_libdir_separator=: 10442 hardcode_shlibpath_var=no 10443 ;; 10444 10445 *nto* | *qnx*) 10446 ;; 10447 10448 openbsd*) 10449 if test -f /usr/libexec/ld.so; then 10450 hardcode_direct=yes 10451 hardcode_shlibpath_var=no 10452 hardcode_direct_absolute=yes 10453 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10454 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10455 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10456 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10457 export_dynamic_flag_spec='${wl}-E' 10458 else 10459 case $host_os in 10460 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10461 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10462 hardcode_libdir_flag_spec='-R$libdir' 10463 ;; 10464 *) 10465 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10466 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10467 ;; 10468 esac 10469 fi 10470 else 10471 ld_shlibs=no 10472 fi 10473 ;; 10474 10475 os2*) 10476 hardcode_libdir_flag_spec='-L$libdir' 10477 hardcode_minus_L=yes 10478 allow_undefined_flag=unsupported 10479 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' 10480 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10481 ;; 10482 10483 osf3*) 10484 if test "$GCC" = yes; then 10485 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10486 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' 10487 else 10488 allow_undefined_flag=' -expect_unresolved \*' 10489 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' 10490 fi 10491 archive_cmds_need_lc='no' 10492 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10493 hardcode_libdir_separator=: 10494 ;; 10495 10496 osf4* | osf5*) # as osf3* with the addition of -msym flag 10497 if test "$GCC" = yes; then 10498 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10499 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' 10500 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10501 else 10502 allow_undefined_flag=' -expect_unresolved \*' 10503 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' 10504 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~ 10505 $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' 10506 10507 # Both c and cxx compiler support -rpath directly 10508 hardcode_libdir_flag_spec='-rpath $libdir' 10509 fi 10510 archive_cmds_need_lc='no' 10511 hardcode_libdir_separator=: 10512 ;; 10513 10514 solaris*) 10515 no_undefined_flag=' -z defs' 10516 if test "$GCC" = yes; then 10517 wlarc='${wl}' 10518 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10519 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10520 $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' 10521 else 10522 case `$CC -V 2>&1` in 10523 *"Compilers 5.0"*) 10524 wlarc='' 10525 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10526 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10527 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10528 ;; 10529 *) 10530 wlarc='${wl}' 10531 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10532 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10533 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10534 ;; 10535 esac 10536 fi 10537 hardcode_libdir_flag_spec='-R$libdir' 10538 hardcode_shlibpath_var=no 10539 case $host_os in 10540 solaris2.[0-5] | solaris2.[0-5].*) ;; 10541 *) 10542 # The compiler driver will combine and reorder linker options, 10543 # but understands `-z linker_flag'. GCC discards it without `$wl', 10544 # but is careful enough not to reorder. 10545 # Supported since Solaris 2.6 (maybe 2.5.1?) 10546 if test "$GCC" = yes; then 10547 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10548 else 10549 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10550 fi 10551 ;; 10552 esac 10553 link_all_deplibs=yes 10554 ;; 10555 10556 sunos4*) 10557 if test "x$host_vendor" = xsequent; then 10558 # Use $CC to link under sequent, because it throws in some extra .o 10559 # files that make .init and .fini sections work. 10560 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10561 else 10562 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10563 fi 10564 hardcode_libdir_flag_spec='-L$libdir' 10565 hardcode_direct=yes 10566 hardcode_minus_L=yes 10567 hardcode_shlibpath_var=no 10568 ;; 10569 10570 sysv4) 10571 case $host_vendor in 10572 sni) 10573 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10574 hardcode_direct=yes # is this really true??? 10575 ;; 10576 siemens) 10577 ## LD is ld it makes a PLAMLIB 10578 ## CC just makes a GrossModule. 10579 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10580 reload_cmds='$CC -r -o $output$reload_objs' 10581 hardcode_direct=no 10582 ;; 10583 motorola) 10584 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10585 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10586 ;; 10587 esac 10588 runpath_var='LD_RUN_PATH' 10589 hardcode_shlibpath_var=no 10590 ;; 10591 10592 sysv4.3*) 10593 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10594 hardcode_shlibpath_var=no 10595 export_dynamic_flag_spec='-Bexport' 10596 ;; 10597 10598 sysv4*MP*) 10599 if test -d /usr/nec; then 10600 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10601 hardcode_shlibpath_var=no 10602 runpath_var=LD_RUN_PATH 10603 hardcode_runpath_var=yes 10604 ld_shlibs=yes 10605 fi 10606 ;; 10607 10608 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10609 no_undefined_flag='${wl}-z,text' 10610 archive_cmds_need_lc=no 10611 hardcode_shlibpath_var=no 10612 runpath_var='LD_RUN_PATH' 10613 10614 if test "$GCC" = yes; then 10615 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10616 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10617 else 10618 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10619 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10620 fi 10621 ;; 10622 10623 sysv5* | sco3.2v5* | sco5v6*) 10624 # Note: We can NOT use -z defs as we might desire, because we do not 10625 # link with -lc, and that would cause any symbols used from libc to 10626 # always be unresolved, which means just about no library would 10627 # ever link correctly. If we're not using GNU ld we use -z text 10628 # though, which does catch some bad symbols but isn't as heavy-handed 10629 # as -z defs. 10630 no_undefined_flag='${wl}-z,text' 10631 allow_undefined_flag='${wl}-z,nodefs' 10632 archive_cmds_need_lc=no 10633 hardcode_shlibpath_var=no 10634 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10635 hardcode_libdir_separator=':' 10636 link_all_deplibs=yes 10637 export_dynamic_flag_spec='${wl}-Bexport' 10638 runpath_var='LD_RUN_PATH' 10639 10640 if test "$GCC" = yes; then 10641 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10642 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10643 else 10644 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10645 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10646 fi 10647 ;; 10648 10649 uts4*) 10650 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10651 hardcode_libdir_flag_spec='-L$libdir' 10652 hardcode_shlibpath_var=no 10653 ;; 10654 10655 *) 10656 ld_shlibs=no 10657 ;; 10658 esac 10659 10660 if test x$host_vendor = xsni; then 10661 case $host in 10662 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10663 export_dynamic_flag_spec='${wl}-Blargedynsym' 10664 ;; 10665 esac 10666 fi 10667 fi 10668 10669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10670$as_echo "$ld_shlibs" >&6; } 10671test "$ld_shlibs" = no && can_build_shared=no 10672 10673with_gnu_ld=$with_gnu_ld 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689# 10690# Do we need to explicitly link libc? 10691# 10692case "x$archive_cmds_need_lc" in 10693x|xyes) 10694 # Assume -lc should be added 10695 archive_cmds_need_lc=yes 10696 10697 if test "$enable_shared" = yes && test "$GCC" = yes; then 10698 case $archive_cmds in 10699 *'~'*) 10700 # FIXME: we may have to deal with multi-command sequences. 10701 ;; 10702 '$CC '*) 10703 # Test whether the compiler implicitly links with -lc since on some 10704 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10705 # to ld, don't add -lc before -lgcc. 10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10707$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10708if ${lt_cv_archive_cmds_need_lc+:} false; then : 10709 $as_echo_n "(cached) " >&6 10710else 10711 $RM conftest* 10712 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10713 10714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10715 (eval $ac_compile) 2>&5 10716 ac_status=$? 10717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10718 test $ac_status = 0; } 2>conftest.err; then 10719 soname=conftest 10720 lib=conftest 10721 libobjs=conftest.$ac_objext 10722 deplibs= 10723 wl=$lt_prog_compiler_wl 10724 pic_flag=$lt_prog_compiler_pic 10725 compiler_flags=-v 10726 linker_flags=-v 10727 verstring= 10728 output_objdir=. 10729 libname=conftest 10730 lt_save_allow_undefined_flag=$allow_undefined_flag 10731 allow_undefined_flag= 10732 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10733 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10734 ac_status=$? 10735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10736 test $ac_status = 0; } 10737 then 10738 lt_cv_archive_cmds_need_lc=no 10739 else 10740 lt_cv_archive_cmds_need_lc=yes 10741 fi 10742 allow_undefined_flag=$lt_save_allow_undefined_flag 10743 else 10744 cat conftest.err 1>&5 10745 fi 10746 $RM conftest* 10747 10748fi 10749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10750$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10751 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10752 ;; 10753 esac 10754 fi 10755 ;; 10756esac 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10910$as_echo_n "checking dynamic linker characteristics... " >&6; } 10911 10912if test "$GCC" = yes; then 10913 case $host_os in 10914 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10915 *) lt_awk_arg="/^libraries:/" ;; 10916 esac 10917 case $host_os in 10918 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10919 *) lt_sed_strip_eq="s,=/,/,g" ;; 10920 esac 10921 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10922 case $lt_search_path_spec in 10923 *\;*) 10924 # if the path contains ";" then we assume it to be the separator 10925 # otherwise default to the standard path separator (i.e. ":") - it is 10926 # assumed that no part of a normal pathname contains ";" but that should 10927 # okay in the real world where ";" in dirpaths is itself problematic. 10928 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10929 ;; 10930 *) 10931 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10932 ;; 10933 esac 10934 # Ok, now we have the path, separated by spaces, we can step through it 10935 # and add multilib dir if necessary. 10936 lt_tmp_lt_search_path_spec= 10937 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10938 for lt_sys_path in $lt_search_path_spec; do 10939 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10940 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10941 else 10942 test -d "$lt_sys_path" && \ 10943 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10944 fi 10945 done 10946 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10947BEGIN {RS=" "; FS="/|\n";} { 10948 lt_foo=""; 10949 lt_count=0; 10950 for (lt_i = NF; lt_i > 0; lt_i--) { 10951 if ($lt_i != "" && $lt_i != ".") { 10952 if ($lt_i == "..") { 10953 lt_count++; 10954 } else { 10955 if (lt_count == 0) { 10956 lt_foo="/" $lt_i lt_foo; 10957 } else { 10958 lt_count--; 10959 } 10960 } 10961 } 10962 } 10963 if (lt_foo != "") { lt_freq[lt_foo]++; } 10964 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10965}'` 10966 # AWK program above erroneously prepends '/' to C:/dos/paths 10967 # for these hosts. 10968 case $host_os in 10969 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10970 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10971 esac 10972 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10973else 10974 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10975fi 10976library_names_spec= 10977libname_spec='lib$name' 10978soname_spec= 10979shrext_cmds=".so" 10980postinstall_cmds= 10981postuninstall_cmds= 10982finish_cmds= 10983finish_eval= 10984shlibpath_var= 10985shlibpath_overrides_runpath=unknown 10986version_type=none 10987dynamic_linker="$host_os ld.so" 10988sys_lib_dlsearch_path_spec="/lib /usr/lib" 10989need_lib_prefix=unknown 10990hardcode_into_libs=no 10991 10992# when you set need_version to no, make sure it does not cause -set_version 10993# flags to be left without arguments 10994need_version=unknown 10995 10996case $host_os in 10997aix3*) 10998 version_type=linux # correct to gnu/linux during the next big refactor 10999 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 11000 shlibpath_var=LIBPATH 11001 11002 # AIX 3 has no versioning support, so we append a major version to the name. 11003 soname_spec='${libname}${release}${shared_ext}$major' 11004 ;; 11005 11006aix[4-9]*) 11007 version_type=linux # correct to gnu/linux during the next big refactor 11008 need_lib_prefix=no 11009 need_version=no 11010 hardcode_into_libs=yes 11011 if test "$host_cpu" = ia64; then 11012 # AIX 5 supports IA64 11013 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 11014 shlibpath_var=LD_LIBRARY_PATH 11015 else 11016 # With GCC up to 2.95.x, collect2 would create an import file 11017 # for dependence libraries. The import file would start with 11018 # the line `#! .'. This would cause the generated library to 11019 # depend on `.', always an invalid library. This was fixed in 11020 # development snapshots of GCC prior to 3.0. 11021 case $host_os in 11022 aix4 | aix4.[01] | aix4.[01].*) 11023 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11024 echo ' yes ' 11025 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 11026 : 11027 else 11028 can_build_shared=no 11029 fi 11030 ;; 11031 esac 11032 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 11033 # soname into executable. Probably we can add versioning support to 11034 # collect2, so additional links can be useful in future. 11035 if test "$aix_use_runtimelinking" = yes; then 11036 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11037 # instead of lib<name>.a to let people know that these are not 11038 # typical AIX shared libraries. 11039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11040 else 11041 # We preserve .a as extension for shared libraries through AIX4.2 11042 # and later when we are not doing run time linking. 11043 library_names_spec='${libname}${release}.a $libname.a' 11044 soname_spec='${libname}${release}${shared_ext}$major' 11045 fi 11046 shlibpath_var=LIBPATH 11047 fi 11048 ;; 11049 11050amigaos*) 11051 case $host_cpu in 11052 powerpc) 11053 # Since July 2007 AmigaOS4 officially supports .so libraries. 11054 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11056 ;; 11057 m68k) 11058 library_names_spec='$libname.ixlibrary $libname.a' 11059 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11060 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' 11061 ;; 11062 esac 11063 ;; 11064 11065beos*) 11066 library_names_spec='${libname}${shared_ext}' 11067 dynamic_linker="$host_os ld.so" 11068 shlibpath_var=LIBRARY_PATH 11069 ;; 11070 11071bsdi[45]*) 11072 version_type=linux # correct to gnu/linux during the next big refactor 11073 need_version=no 11074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11075 soname_spec='${libname}${release}${shared_ext}$major' 11076 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11077 shlibpath_var=LD_LIBRARY_PATH 11078 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11079 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11080 # the default ld.so.conf also contains /usr/contrib/lib and 11081 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11082 # libtool to hard-code these into programs 11083 ;; 11084 11085cygwin* | mingw* | pw32* | cegcc*) 11086 version_type=windows 11087 shrext_cmds=".dll" 11088 need_version=no 11089 need_lib_prefix=no 11090 11091 case $GCC,$cc_basename in 11092 yes,*) 11093 # gcc 11094 library_names_spec='$libname.dll.a' 11095 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11096 postinstall_cmds='base_file=`basename \${file}`~ 11097 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11098 dldir=$destdir/`dirname \$dlpath`~ 11099 test -d \$dldir || mkdir -p \$dldir~ 11100 $install_prog $dir/$dlname \$dldir/$dlname~ 11101 chmod a+x \$dldir/$dlname~ 11102 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11103 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11104 fi' 11105 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11106 dlpath=$dir/\$dldll~ 11107 $RM \$dlpath' 11108 shlibpath_overrides_runpath=yes 11109 11110 case $host_os in 11111 cygwin*) 11112 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11113 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11114 11115 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11116 ;; 11117 mingw* | cegcc*) 11118 # MinGW DLLs use traditional 'lib' prefix 11119 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11120 ;; 11121 pw32*) 11122 # pw32 DLLs use 'pw' prefix rather than 'lib' 11123 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11124 ;; 11125 esac 11126 dynamic_linker='Win32 ld.exe' 11127 ;; 11128 11129 *,cl*) 11130 # Native MSVC 11131 libname_spec='$name' 11132 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11133 library_names_spec='${libname}.dll.lib' 11134 11135 case $build_os in 11136 mingw*) 11137 sys_lib_search_path_spec= 11138 lt_save_ifs=$IFS 11139 IFS=';' 11140 for lt_path in $LIB 11141 do 11142 IFS=$lt_save_ifs 11143 # Let DOS variable expansion print the short 8.3 style file name. 11144 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11145 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11146 done 11147 IFS=$lt_save_ifs 11148 # Convert to MSYS style. 11149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11150 ;; 11151 cygwin*) 11152 # Convert to unix form, then to dos form, then back to unix form 11153 # but this time dos style (no spaces!) so that the unix form looks 11154 # like /cygdrive/c/PROGRA~1:/cygdr... 11155 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11156 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11157 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11158 ;; 11159 *) 11160 sys_lib_search_path_spec="$LIB" 11161 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11162 # It is most probably a Windows format PATH. 11163 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11164 else 11165 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11166 fi 11167 # FIXME: find the short name or the path components, as spaces are 11168 # common. (e.g. "Program Files" -> "PROGRA~1") 11169 ;; 11170 esac 11171 11172 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11173 postinstall_cmds='base_file=`basename \${file}`~ 11174 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11175 dldir=$destdir/`dirname \$dlpath`~ 11176 test -d \$dldir || mkdir -p \$dldir~ 11177 $install_prog $dir/$dlname \$dldir/$dlname' 11178 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11179 dlpath=$dir/\$dldll~ 11180 $RM \$dlpath' 11181 shlibpath_overrides_runpath=yes 11182 dynamic_linker='Win32 link.exe' 11183 ;; 11184 11185 *) 11186 # Assume MSVC wrapper 11187 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 11188 dynamic_linker='Win32 ld.exe' 11189 ;; 11190 esac 11191 # FIXME: first we should search . and the directory the executable is in 11192 shlibpath_var=PATH 11193 ;; 11194 11195darwin* | rhapsody*) 11196 dynamic_linker="$host_os dyld" 11197 version_type=darwin 11198 need_lib_prefix=no 11199 need_version=no 11200 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11201 soname_spec='${libname}${release}${major}$shared_ext' 11202 shlibpath_overrides_runpath=yes 11203 shlibpath_var=DYLD_LIBRARY_PATH 11204 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11205 11206 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11207 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11208 ;; 11209 11210dgux*) 11211 version_type=linux # correct to gnu/linux during the next big refactor 11212 need_lib_prefix=no 11213 need_version=no 11214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 11215 soname_spec='${libname}${release}${shared_ext}$major' 11216 shlibpath_var=LD_LIBRARY_PATH 11217 ;; 11218 11219freebsd* | dragonfly*) 11220 # DragonFly does not have aout. When/if they implement a new 11221 # versioning mechanism, adjust this. 11222 if test -x /usr/bin/objformat; then 11223 objformat=`/usr/bin/objformat` 11224 else 11225 case $host_os in 11226 freebsd[23].*) objformat=aout ;; 11227 *) objformat=elf ;; 11228 esac 11229 fi 11230 version_type=freebsd-$objformat 11231 case $version_type in 11232 freebsd-elf*) 11233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11234 need_version=no 11235 need_lib_prefix=no 11236 ;; 11237 freebsd-*) 11238 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 11239 need_version=yes 11240 ;; 11241 esac 11242 shlibpath_var=LD_LIBRARY_PATH 11243 case $host_os in 11244 freebsd2.*) 11245 shlibpath_overrides_runpath=yes 11246 ;; 11247 freebsd3.[01]* | freebsdelf3.[01]*) 11248 shlibpath_overrides_runpath=yes 11249 hardcode_into_libs=yes 11250 ;; 11251 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11252 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11253 shlibpath_overrides_runpath=no 11254 hardcode_into_libs=yes 11255 ;; 11256 *) # from 4.6 on, and DragonFly 11257 shlibpath_overrides_runpath=yes 11258 hardcode_into_libs=yes 11259 ;; 11260 esac 11261 ;; 11262 11263gnu*) 11264 version_type=linux # correct to gnu/linux during the next big refactor 11265 need_lib_prefix=no 11266 need_version=no 11267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11268 soname_spec='${libname}${release}${shared_ext}$major' 11269 shlibpath_var=LD_LIBRARY_PATH 11270 shlibpath_overrides_runpath=no 11271 hardcode_into_libs=yes 11272 ;; 11273 11274haiku*) 11275 version_type=linux # correct to gnu/linux during the next big refactor 11276 need_lib_prefix=no 11277 need_version=no 11278 dynamic_linker="$host_os runtime_loader" 11279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11280 soname_spec='${libname}${release}${shared_ext}$major' 11281 shlibpath_var=LIBRARY_PATH 11282 shlibpath_overrides_runpath=yes 11283 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11284 hardcode_into_libs=yes 11285 ;; 11286 11287hpux9* | hpux10* | hpux11*) 11288 # Give a soname corresponding to the major version so that dld.sl refuses to 11289 # link against other versions. 11290 version_type=sunos 11291 need_lib_prefix=no 11292 need_version=no 11293 case $host_cpu in 11294 ia64*) 11295 shrext_cmds='.so' 11296 hardcode_into_libs=yes 11297 dynamic_linker="$host_os dld.so" 11298 shlibpath_var=LD_LIBRARY_PATH 11299 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11301 soname_spec='${libname}${release}${shared_ext}$major' 11302 if test "X$HPUX_IA64_MODE" = X32; then 11303 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11304 else 11305 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11306 fi 11307 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11308 ;; 11309 hppa*64*) 11310 shrext_cmds='.sl' 11311 hardcode_into_libs=yes 11312 dynamic_linker="$host_os dld.sl" 11313 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11314 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11316 soname_spec='${libname}${release}${shared_ext}$major' 11317 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11318 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11319 ;; 11320 *) 11321 shrext_cmds='.sl' 11322 dynamic_linker="$host_os dld.sl" 11323 shlibpath_var=SHLIB_PATH 11324 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11326 soname_spec='${libname}${release}${shared_ext}$major' 11327 ;; 11328 esac 11329 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11330 postinstall_cmds='chmod 555 $lib' 11331 # or fails outright, so override atomically: 11332 install_override_mode=555 11333 ;; 11334 11335interix[3-9]*) 11336 version_type=linux # correct to gnu/linux during the next big refactor 11337 need_lib_prefix=no 11338 need_version=no 11339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11340 soname_spec='${libname}${release}${shared_ext}$major' 11341 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11342 shlibpath_var=LD_LIBRARY_PATH 11343 shlibpath_overrides_runpath=no 11344 hardcode_into_libs=yes 11345 ;; 11346 11347irix5* | irix6* | nonstopux*) 11348 case $host_os in 11349 nonstopux*) version_type=nonstopux ;; 11350 *) 11351 if test "$lt_cv_prog_gnu_ld" = yes; then 11352 version_type=linux # correct to gnu/linux during the next big refactor 11353 else 11354 version_type=irix 11355 fi ;; 11356 esac 11357 need_lib_prefix=no 11358 need_version=no 11359 soname_spec='${libname}${release}${shared_ext}$major' 11360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11361 case $host_os in 11362 irix5* | nonstopux*) 11363 libsuff= shlibsuff= 11364 ;; 11365 *) 11366 case $LD in # libtool.m4 will add one of these switches to LD 11367 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11368 libsuff= shlibsuff= libmagic=32-bit;; 11369 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11370 libsuff=32 shlibsuff=N32 libmagic=N32;; 11371 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11372 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11373 *) libsuff= shlibsuff= libmagic=never-match;; 11374 esac 11375 ;; 11376 esac 11377 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11378 shlibpath_overrides_runpath=no 11379 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11380 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11381 hardcode_into_libs=yes 11382 ;; 11383 11384# No shared lib support for Linux oldld, aout, or coff. 11385linux*oldld* | linux*aout* | linux*coff*) 11386 dynamic_linker=no 11387 ;; 11388 11389# This must be glibc/ELF. 11390linux* | k*bsd*-gnu | kopensolaris*-gnu) 11391 version_type=linux # correct to gnu/linux during the next big refactor 11392 need_lib_prefix=no 11393 need_version=no 11394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11395 soname_spec='${libname}${release}${shared_ext}$major' 11396 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11397 shlibpath_var=LD_LIBRARY_PATH 11398 shlibpath_overrides_runpath=no 11399 11400 # Some binutils ld are patched to set DT_RUNPATH 11401 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11402 $as_echo_n "(cached) " >&6 11403else 11404 lt_cv_shlibpath_overrides_runpath=no 11405 save_LDFLAGS=$LDFLAGS 11406 save_libdir=$libdir 11407 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11408 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11410/* end confdefs.h. */ 11411 11412int 11413main () 11414{ 11415 11416 ; 11417 return 0; 11418} 11419_ACEOF 11420if ac_fn_c_try_link "$LINENO"; then : 11421 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11422 lt_cv_shlibpath_overrides_runpath=yes 11423fi 11424fi 11425rm -f core conftest.err conftest.$ac_objext \ 11426 conftest$ac_exeext conftest.$ac_ext 11427 LDFLAGS=$save_LDFLAGS 11428 libdir=$save_libdir 11429 11430fi 11431 11432 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11433 11434 # This implies no fast_install, which is unacceptable. 11435 # Some rework will be needed to allow for fast_install 11436 # before this can be enabled. 11437 hardcode_into_libs=yes 11438 11439 # Append ld.so.conf contents to the search path 11440 if test -f /etc/ld.so.conf; then 11441 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' ' '` 11442 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11443 fi 11444 11445 # We used to test for /lib/ld.so.1 and disable shared libraries on 11446 # powerpc, because MkLinux only supported shared libraries with the 11447 # GNU dynamic linker. Since this was broken with cross compilers, 11448 # most powerpc-linux boxes support dynamic linking these days and 11449 # people can always --disable-shared, the test was removed, and we 11450 # assume the GNU/Linux dynamic linker is in use. 11451 dynamic_linker='GNU/Linux ld.so' 11452 ;; 11453 11454netbsdelf*-gnu) 11455 version_type=linux 11456 need_lib_prefix=no 11457 need_version=no 11458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11459 soname_spec='${libname}${release}${shared_ext}$major' 11460 shlibpath_var=LD_LIBRARY_PATH 11461 shlibpath_overrides_runpath=no 11462 hardcode_into_libs=yes 11463 dynamic_linker='NetBSD ld.elf_so' 11464 ;; 11465 11466netbsd*) 11467 version_type=sunos 11468 need_lib_prefix=no 11469 need_version=no 11470 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11472 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11473 dynamic_linker='NetBSD (a.out) ld.so' 11474 else 11475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11476 soname_spec='${libname}${release}${shared_ext}$major' 11477 dynamic_linker='NetBSD ld.elf_so' 11478 fi 11479 shlibpath_var=LD_LIBRARY_PATH 11480 shlibpath_overrides_runpath=yes 11481 hardcode_into_libs=yes 11482 ;; 11483 11484newsos6) 11485 version_type=linux # correct to gnu/linux during the next big refactor 11486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11487 shlibpath_var=LD_LIBRARY_PATH 11488 shlibpath_overrides_runpath=yes 11489 ;; 11490 11491*nto* | *qnx*) 11492 version_type=qnx 11493 need_lib_prefix=no 11494 need_version=no 11495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11496 soname_spec='${libname}${release}${shared_ext}$major' 11497 shlibpath_var=LD_LIBRARY_PATH 11498 shlibpath_overrides_runpath=no 11499 hardcode_into_libs=yes 11500 dynamic_linker='ldqnx.so' 11501 ;; 11502 11503openbsd*) 11504 version_type=sunos 11505 sys_lib_dlsearch_path_spec="/usr/lib" 11506 need_lib_prefix=no 11507 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11508 case $host_os in 11509 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11510 *) need_version=no ;; 11511 esac 11512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11513 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11514 shlibpath_var=LD_LIBRARY_PATH 11515 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11516 case $host_os in 11517 openbsd2.[89] | openbsd2.[89].*) 11518 shlibpath_overrides_runpath=no 11519 ;; 11520 *) 11521 shlibpath_overrides_runpath=yes 11522 ;; 11523 esac 11524 else 11525 shlibpath_overrides_runpath=yes 11526 fi 11527 ;; 11528 11529os2*) 11530 libname_spec='$name' 11531 shrext_cmds=".dll" 11532 need_lib_prefix=no 11533 library_names_spec='$libname${shared_ext} $libname.a' 11534 dynamic_linker='OS/2 ld.exe' 11535 shlibpath_var=LIBPATH 11536 ;; 11537 11538osf3* | osf4* | osf5*) 11539 version_type=osf 11540 need_lib_prefix=no 11541 need_version=no 11542 soname_spec='${libname}${release}${shared_ext}$major' 11543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11544 shlibpath_var=LD_LIBRARY_PATH 11545 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11546 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11547 ;; 11548 11549rdos*) 11550 dynamic_linker=no 11551 ;; 11552 11553solaris*) 11554 version_type=linux # correct to gnu/linux during the next big refactor 11555 need_lib_prefix=no 11556 need_version=no 11557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11558 soname_spec='${libname}${release}${shared_ext}$major' 11559 shlibpath_var=LD_LIBRARY_PATH 11560 shlibpath_overrides_runpath=yes 11561 hardcode_into_libs=yes 11562 # ldd complains unless libraries are executable 11563 postinstall_cmds='chmod +x $lib' 11564 ;; 11565 11566sunos4*) 11567 version_type=sunos 11568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11569 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11570 shlibpath_var=LD_LIBRARY_PATH 11571 shlibpath_overrides_runpath=yes 11572 if test "$with_gnu_ld" = yes; then 11573 need_lib_prefix=no 11574 fi 11575 need_version=yes 11576 ;; 11577 11578sysv4 | sysv4.3*) 11579 version_type=linux # correct to gnu/linux during the next big refactor 11580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11581 soname_spec='${libname}${release}${shared_ext}$major' 11582 shlibpath_var=LD_LIBRARY_PATH 11583 case $host_vendor in 11584 sni) 11585 shlibpath_overrides_runpath=no 11586 need_lib_prefix=no 11587 runpath_var=LD_RUN_PATH 11588 ;; 11589 siemens) 11590 need_lib_prefix=no 11591 ;; 11592 motorola) 11593 need_lib_prefix=no 11594 need_version=no 11595 shlibpath_overrides_runpath=no 11596 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11597 ;; 11598 esac 11599 ;; 11600 11601sysv4*MP*) 11602 if test -d /usr/nec ;then 11603 version_type=linux # correct to gnu/linux during the next big refactor 11604 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11605 soname_spec='$libname${shared_ext}.$major' 11606 shlibpath_var=LD_LIBRARY_PATH 11607 fi 11608 ;; 11609 11610sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11611 version_type=freebsd-elf 11612 need_lib_prefix=no 11613 need_version=no 11614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11615 soname_spec='${libname}${release}${shared_ext}$major' 11616 shlibpath_var=LD_LIBRARY_PATH 11617 shlibpath_overrides_runpath=yes 11618 hardcode_into_libs=yes 11619 if test "$with_gnu_ld" = yes; then 11620 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11621 else 11622 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11623 case $host_os in 11624 sco3.2v5*) 11625 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11626 ;; 11627 esac 11628 fi 11629 sys_lib_dlsearch_path_spec='/usr/lib' 11630 ;; 11631 11632tpf*) 11633 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11634 version_type=linux # correct to gnu/linux during the next big refactor 11635 need_lib_prefix=no 11636 need_version=no 11637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11638 shlibpath_var=LD_LIBRARY_PATH 11639 shlibpath_overrides_runpath=no 11640 hardcode_into_libs=yes 11641 ;; 11642 11643uts4*) 11644 version_type=linux # correct to gnu/linux during the next big refactor 11645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11646 soname_spec='${libname}${release}${shared_ext}$major' 11647 shlibpath_var=LD_LIBRARY_PATH 11648 ;; 11649 11650*) 11651 dynamic_linker=no 11652 ;; 11653esac 11654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11655$as_echo "$dynamic_linker" >&6; } 11656test "$dynamic_linker" = no && can_build_shared=no 11657 11658variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11659if test "$GCC" = yes; then 11660 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11661fi 11662 11663if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11664 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11665fi 11666if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11667 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11668fi 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11762$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11763hardcode_action= 11764if test -n "$hardcode_libdir_flag_spec" || 11765 test -n "$runpath_var" || 11766 test "X$hardcode_automatic" = "Xyes" ; then 11767 11768 # We can hardcode non-existent directories. 11769 if test "$hardcode_direct" != no && 11770 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11771 # have to relink, otherwise we might link with an installed library 11772 # when we should be linking with a yet-to-be-installed one 11773 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11774 test "$hardcode_minus_L" != no; then 11775 # Linking always hardcodes the temporary library directory. 11776 hardcode_action=relink 11777 else 11778 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11779 hardcode_action=immediate 11780 fi 11781else 11782 # We cannot hardcode anything, or else we can only hardcode existing 11783 # directories. 11784 hardcode_action=unsupported 11785fi 11786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11787$as_echo "$hardcode_action" >&6; } 11788 11789if test "$hardcode_action" = relink || 11790 test "$inherit_rpath" = yes; then 11791 # Fast installation is not supported 11792 enable_fast_install=no 11793elif test "$shlibpath_overrides_runpath" = yes || 11794 test "$enable_shared" = no; then 11795 # Fast installation is not necessary 11796 enable_fast_install=needless 11797fi 11798 11799 11800 11801 11802 11803 11804 if test "x$enable_dlopen" != xyes; then 11805 enable_dlopen=unknown 11806 enable_dlopen_self=unknown 11807 enable_dlopen_self_static=unknown 11808else 11809 lt_cv_dlopen=no 11810 lt_cv_dlopen_libs= 11811 11812 case $host_os in 11813 beos*) 11814 lt_cv_dlopen="load_add_on" 11815 lt_cv_dlopen_libs= 11816 lt_cv_dlopen_self=yes 11817 ;; 11818 11819 mingw* | pw32* | cegcc*) 11820 lt_cv_dlopen="LoadLibrary" 11821 lt_cv_dlopen_libs= 11822 ;; 11823 11824 cygwin*) 11825 lt_cv_dlopen="dlopen" 11826 lt_cv_dlopen_libs= 11827 ;; 11828 11829 darwin*) 11830 # if libdl is installed we need to link against it 11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11832$as_echo_n "checking for dlopen in -ldl... " >&6; } 11833if ${ac_cv_lib_dl_dlopen+:} false; then : 11834 $as_echo_n "(cached) " >&6 11835else 11836 ac_check_lib_save_LIBS=$LIBS 11837LIBS="-ldl $LIBS" 11838cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11839/* end confdefs.h. */ 11840 11841/* Override any GCC internal prototype to avoid an error. 11842 Use char because int might match the return type of a GCC 11843 builtin and then its argument prototype would still apply. */ 11844#ifdef __cplusplus 11845extern "C" 11846#endif 11847char dlopen (); 11848int 11849main () 11850{ 11851return dlopen (); 11852 ; 11853 return 0; 11854} 11855_ACEOF 11856if ac_fn_c_try_link "$LINENO"; then : 11857 ac_cv_lib_dl_dlopen=yes 11858else 11859 ac_cv_lib_dl_dlopen=no 11860fi 11861rm -f core conftest.err conftest.$ac_objext \ 11862 conftest$ac_exeext conftest.$ac_ext 11863LIBS=$ac_check_lib_save_LIBS 11864fi 11865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11866$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11867if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11868 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11869else 11870 11871 lt_cv_dlopen="dyld" 11872 lt_cv_dlopen_libs= 11873 lt_cv_dlopen_self=yes 11874 11875fi 11876 11877 ;; 11878 11879 *) 11880 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11881if test "x$ac_cv_func_shl_load" = xyes; then : 11882 lt_cv_dlopen="shl_load" 11883else 11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11885$as_echo_n "checking for shl_load in -ldld... " >&6; } 11886if ${ac_cv_lib_dld_shl_load+:} false; then : 11887 $as_echo_n "(cached) " >&6 11888else 11889 ac_check_lib_save_LIBS=$LIBS 11890LIBS="-ldld $LIBS" 11891cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11892/* end confdefs.h. */ 11893 11894/* Override any GCC internal prototype to avoid an error. 11895 Use char because int might match the return type of a GCC 11896 builtin and then its argument prototype would still apply. */ 11897#ifdef __cplusplus 11898extern "C" 11899#endif 11900char shl_load (); 11901int 11902main () 11903{ 11904return shl_load (); 11905 ; 11906 return 0; 11907} 11908_ACEOF 11909if ac_fn_c_try_link "$LINENO"; then : 11910 ac_cv_lib_dld_shl_load=yes 11911else 11912 ac_cv_lib_dld_shl_load=no 11913fi 11914rm -f core conftest.err conftest.$ac_objext \ 11915 conftest$ac_exeext conftest.$ac_ext 11916LIBS=$ac_check_lib_save_LIBS 11917fi 11918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11919$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11920if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11921 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11922else 11923 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11924if test "x$ac_cv_func_dlopen" = xyes; then : 11925 lt_cv_dlopen="dlopen" 11926else 11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11928$as_echo_n "checking for dlopen in -ldl... " >&6; } 11929if ${ac_cv_lib_dl_dlopen+:} false; then : 11930 $as_echo_n "(cached) " >&6 11931else 11932 ac_check_lib_save_LIBS=$LIBS 11933LIBS="-ldl $LIBS" 11934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11935/* end confdefs.h. */ 11936 11937/* Override any GCC internal prototype to avoid an error. 11938 Use char because int might match the return type of a GCC 11939 builtin and then its argument prototype would still apply. */ 11940#ifdef __cplusplus 11941extern "C" 11942#endif 11943char dlopen (); 11944int 11945main () 11946{ 11947return dlopen (); 11948 ; 11949 return 0; 11950} 11951_ACEOF 11952if ac_fn_c_try_link "$LINENO"; then : 11953 ac_cv_lib_dl_dlopen=yes 11954else 11955 ac_cv_lib_dl_dlopen=no 11956fi 11957rm -f core conftest.err conftest.$ac_objext \ 11958 conftest$ac_exeext conftest.$ac_ext 11959LIBS=$ac_check_lib_save_LIBS 11960fi 11961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11962$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11963if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11964 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11965else 11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11967$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11968if ${ac_cv_lib_svld_dlopen+:} false; then : 11969 $as_echo_n "(cached) " >&6 11970else 11971 ac_check_lib_save_LIBS=$LIBS 11972LIBS="-lsvld $LIBS" 11973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11974/* end confdefs.h. */ 11975 11976/* Override any GCC internal prototype to avoid an error. 11977 Use char because int might match the return type of a GCC 11978 builtin and then its argument prototype would still apply. */ 11979#ifdef __cplusplus 11980extern "C" 11981#endif 11982char dlopen (); 11983int 11984main () 11985{ 11986return dlopen (); 11987 ; 11988 return 0; 11989} 11990_ACEOF 11991if ac_fn_c_try_link "$LINENO"; then : 11992 ac_cv_lib_svld_dlopen=yes 11993else 11994 ac_cv_lib_svld_dlopen=no 11995fi 11996rm -f core conftest.err conftest.$ac_objext \ 11997 conftest$ac_exeext conftest.$ac_ext 11998LIBS=$ac_check_lib_save_LIBS 11999fi 12000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12001$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12002if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12003 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 12004else 12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12006$as_echo_n "checking for dld_link in -ldld... " >&6; } 12007if ${ac_cv_lib_dld_dld_link+:} false; then : 12008 $as_echo_n "(cached) " >&6 12009else 12010 ac_check_lib_save_LIBS=$LIBS 12011LIBS="-ldld $LIBS" 12012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12013/* end confdefs.h. */ 12014 12015/* Override any GCC internal prototype to avoid an error. 12016 Use char because int might match the return type of a GCC 12017 builtin and then its argument prototype would still apply. */ 12018#ifdef __cplusplus 12019extern "C" 12020#endif 12021char dld_link (); 12022int 12023main () 12024{ 12025return dld_link (); 12026 ; 12027 return 0; 12028} 12029_ACEOF 12030if ac_fn_c_try_link "$LINENO"; then : 12031 ac_cv_lib_dld_dld_link=yes 12032else 12033 ac_cv_lib_dld_dld_link=no 12034fi 12035rm -f core conftest.err conftest.$ac_objext \ 12036 conftest$ac_exeext conftest.$ac_ext 12037LIBS=$ac_check_lib_save_LIBS 12038fi 12039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12040$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12041if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12042 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 12043fi 12044 12045 12046fi 12047 12048 12049fi 12050 12051 12052fi 12053 12054 12055fi 12056 12057 12058fi 12059 12060 ;; 12061 esac 12062 12063 if test "x$lt_cv_dlopen" != xno; then 12064 enable_dlopen=yes 12065 else 12066 enable_dlopen=no 12067 fi 12068 12069 case $lt_cv_dlopen in 12070 dlopen) 12071 save_CPPFLAGS="$CPPFLAGS" 12072 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12073 12074 save_LDFLAGS="$LDFLAGS" 12075 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12076 12077 save_LIBS="$LIBS" 12078 LIBS="$lt_cv_dlopen_libs $LIBS" 12079 12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12081$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12082if ${lt_cv_dlopen_self+:} false; then : 12083 $as_echo_n "(cached) " >&6 12084else 12085 if test "$cross_compiling" = yes; then : 12086 lt_cv_dlopen_self=cross 12087else 12088 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12089 lt_status=$lt_dlunknown 12090 cat > conftest.$ac_ext <<_LT_EOF 12091#line $LINENO "configure" 12092#include "confdefs.h" 12093 12094#if HAVE_DLFCN_H 12095#include <dlfcn.h> 12096#endif 12097 12098#include <stdio.h> 12099 12100#ifdef RTLD_GLOBAL 12101# define LT_DLGLOBAL RTLD_GLOBAL 12102#else 12103# ifdef DL_GLOBAL 12104# define LT_DLGLOBAL DL_GLOBAL 12105# else 12106# define LT_DLGLOBAL 0 12107# endif 12108#endif 12109 12110/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12111 find out it does not work in some platform. */ 12112#ifndef LT_DLLAZY_OR_NOW 12113# ifdef RTLD_LAZY 12114# define LT_DLLAZY_OR_NOW RTLD_LAZY 12115# else 12116# ifdef DL_LAZY 12117# define LT_DLLAZY_OR_NOW DL_LAZY 12118# else 12119# ifdef RTLD_NOW 12120# define LT_DLLAZY_OR_NOW RTLD_NOW 12121# else 12122# ifdef DL_NOW 12123# define LT_DLLAZY_OR_NOW DL_NOW 12124# else 12125# define LT_DLLAZY_OR_NOW 0 12126# endif 12127# endif 12128# endif 12129# endif 12130#endif 12131 12132/* When -fvisbility=hidden is used, assume the code has been annotated 12133 correspondingly for the symbols needed. */ 12134#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12135int fnord () __attribute__((visibility("default"))); 12136#endif 12137 12138int fnord () { return 42; } 12139int main () 12140{ 12141 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12142 int status = $lt_dlunknown; 12143 12144 if (self) 12145 { 12146 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12147 else 12148 { 12149 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12150 else puts (dlerror ()); 12151 } 12152 /* dlclose (self); */ 12153 } 12154 else 12155 puts (dlerror ()); 12156 12157 return status; 12158} 12159_LT_EOF 12160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12161 (eval $ac_link) 2>&5 12162 ac_status=$? 12163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12164 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12165 (./conftest; exit; ) >&5 2>/dev/null 12166 lt_status=$? 12167 case x$lt_status in 12168 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12169 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12170 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12171 esac 12172 else : 12173 # compilation failed 12174 lt_cv_dlopen_self=no 12175 fi 12176fi 12177rm -fr conftest* 12178 12179 12180fi 12181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12182$as_echo "$lt_cv_dlopen_self" >&6; } 12183 12184 if test "x$lt_cv_dlopen_self" = xyes; then 12185 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12187$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12188if ${lt_cv_dlopen_self_static+:} false; then : 12189 $as_echo_n "(cached) " >&6 12190else 12191 if test "$cross_compiling" = yes; then : 12192 lt_cv_dlopen_self_static=cross 12193else 12194 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12195 lt_status=$lt_dlunknown 12196 cat > conftest.$ac_ext <<_LT_EOF 12197#line $LINENO "configure" 12198#include "confdefs.h" 12199 12200#if HAVE_DLFCN_H 12201#include <dlfcn.h> 12202#endif 12203 12204#include <stdio.h> 12205 12206#ifdef RTLD_GLOBAL 12207# define LT_DLGLOBAL RTLD_GLOBAL 12208#else 12209# ifdef DL_GLOBAL 12210# define LT_DLGLOBAL DL_GLOBAL 12211# else 12212# define LT_DLGLOBAL 0 12213# endif 12214#endif 12215 12216/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12217 find out it does not work in some platform. */ 12218#ifndef LT_DLLAZY_OR_NOW 12219# ifdef RTLD_LAZY 12220# define LT_DLLAZY_OR_NOW RTLD_LAZY 12221# else 12222# ifdef DL_LAZY 12223# define LT_DLLAZY_OR_NOW DL_LAZY 12224# else 12225# ifdef RTLD_NOW 12226# define LT_DLLAZY_OR_NOW RTLD_NOW 12227# else 12228# ifdef DL_NOW 12229# define LT_DLLAZY_OR_NOW DL_NOW 12230# else 12231# define LT_DLLAZY_OR_NOW 0 12232# endif 12233# endif 12234# endif 12235# endif 12236#endif 12237 12238/* When -fvisbility=hidden is used, assume the code has been annotated 12239 correspondingly for the symbols needed. */ 12240#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12241int fnord () __attribute__((visibility("default"))); 12242#endif 12243 12244int fnord () { return 42; } 12245int main () 12246{ 12247 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12248 int status = $lt_dlunknown; 12249 12250 if (self) 12251 { 12252 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12253 else 12254 { 12255 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12256 else puts (dlerror ()); 12257 } 12258 /* dlclose (self); */ 12259 } 12260 else 12261 puts (dlerror ()); 12262 12263 return status; 12264} 12265_LT_EOF 12266 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12267 (eval $ac_link) 2>&5 12268 ac_status=$? 12269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12270 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12271 (./conftest; exit; ) >&5 2>/dev/null 12272 lt_status=$? 12273 case x$lt_status in 12274 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12275 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12276 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12277 esac 12278 else : 12279 # compilation failed 12280 lt_cv_dlopen_self_static=no 12281 fi 12282fi 12283rm -fr conftest* 12284 12285 12286fi 12287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12288$as_echo "$lt_cv_dlopen_self_static" >&6; } 12289 fi 12290 12291 CPPFLAGS="$save_CPPFLAGS" 12292 LDFLAGS="$save_LDFLAGS" 12293 LIBS="$save_LIBS" 12294 ;; 12295 esac 12296 12297 case $lt_cv_dlopen_self in 12298 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12299 *) enable_dlopen_self=unknown ;; 12300 esac 12301 12302 case $lt_cv_dlopen_self_static in 12303 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12304 *) enable_dlopen_self_static=unknown ;; 12305 esac 12306fi 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324striplib= 12325old_striplib= 12326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12327$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12328if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12329 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12330 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12332$as_echo "yes" >&6; } 12333else 12334# FIXME - insert some real tests, host_os isn't really good enough 12335 case $host_os in 12336 darwin*) 12337 if test -n "$STRIP" ; then 12338 striplib="$STRIP -x" 12339 old_striplib="$STRIP -S" 12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12341$as_echo "yes" >&6; } 12342 else 12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12344$as_echo "no" >&6; } 12345 fi 12346 ;; 12347 *) 12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12349$as_echo "no" >&6; } 12350 ;; 12351 esac 12352fi 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 # Report which library types will actually be built 12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12367$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12369$as_echo "$can_build_shared" >&6; } 12370 12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12372$as_echo_n "checking whether to build shared libraries... " >&6; } 12373 test "$can_build_shared" = "no" && enable_shared=no 12374 12375 # On AIX, shared libraries and static libraries use the same namespace, and 12376 # are all built from PIC. 12377 case $host_os in 12378 aix3*) 12379 test "$enable_shared" = yes && enable_static=no 12380 if test -n "$RANLIB"; then 12381 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12382 postinstall_cmds='$RANLIB $lib' 12383 fi 12384 ;; 12385 12386 aix[4-9]*) 12387 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12388 test "$enable_shared" = yes && enable_static=no 12389 fi 12390 ;; 12391 esac 12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12393$as_echo "$enable_shared" >&6; } 12394 12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12396$as_echo_n "checking whether to build static libraries... " >&6; } 12397 # Make sure either enable_shared or enable_static is yes. 12398 test "$enable_shared" = yes || enable_static=yes 12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12400$as_echo "$enable_static" >&6; } 12401 12402 12403 12404 12405fi 12406ac_ext=c 12407ac_cpp='$CPP $CPPFLAGS' 12408ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12409ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12410ac_compiler_gnu=$ac_cv_c_compiler_gnu 12411 12412CC="$lt_save_CC" 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 ac_config_commands="$ac_config_commands libtool" 12429 12430 12431 12432 12433# Only expand once: 12434 12435 12436ac_ext=c 12437ac_cpp='$CPP $CPPFLAGS' 12438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12440ac_compiler_gnu=$ac_cv_c_compiler_gnu 12441if test -n "$ac_tool_prefix"; then 12442 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 12443set dummy ${ac_tool_prefix}gcc; ac_word=$2 12444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12445$as_echo_n "checking for $ac_word... " >&6; } 12446if ${ac_cv_prog_CC+:} false; then : 12447 $as_echo_n "(cached) " >&6 12448else 12449 if test -n "$CC"; then 12450 ac_cv_prog_CC="$CC" # Let the user override the test. 12451else 12452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12453for as_dir in $PATH 12454do 12455 IFS=$as_save_IFS 12456 test -z "$as_dir" && as_dir=. 12457 for ac_exec_ext in '' $ac_executable_extensions; do 12458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12459 ac_cv_prog_CC="${ac_tool_prefix}gcc" 12460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12461 break 2 12462 fi 12463done 12464 done 12465IFS=$as_save_IFS 12466 12467fi 12468fi 12469CC=$ac_cv_prog_CC 12470if test -n "$CC"; then 12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12472$as_echo "$CC" >&6; } 12473else 12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12475$as_echo "no" >&6; } 12476fi 12477 12478 12479fi 12480if test -z "$ac_cv_prog_CC"; then 12481 ac_ct_CC=$CC 12482 # Extract the first word of "gcc", so it can be a program name with args. 12483set dummy gcc; ac_word=$2 12484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12485$as_echo_n "checking for $ac_word... " >&6; } 12486if ${ac_cv_prog_ac_ct_CC+:} false; then : 12487 $as_echo_n "(cached) " >&6 12488else 12489 if test -n "$ac_ct_CC"; then 12490 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12491else 12492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12493for as_dir in $PATH 12494do 12495 IFS=$as_save_IFS 12496 test -z "$as_dir" && as_dir=. 12497 for ac_exec_ext in '' $ac_executable_extensions; do 12498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12499 ac_cv_prog_ac_ct_CC="gcc" 12500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12501 break 2 12502 fi 12503done 12504 done 12505IFS=$as_save_IFS 12506 12507fi 12508fi 12509ac_ct_CC=$ac_cv_prog_ac_ct_CC 12510if test -n "$ac_ct_CC"; then 12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12512$as_echo "$ac_ct_CC" >&6; } 12513else 12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12515$as_echo "no" >&6; } 12516fi 12517 12518 if test "x$ac_ct_CC" = x; then 12519 CC="" 12520 else 12521 case $cross_compiling:$ac_tool_warned in 12522yes:) 12523{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12524$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12525ac_tool_warned=yes ;; 12526esac 12527 CC=$ac_ct_CC 12528 fi 12529else 12530 CC="$ac_cv_prog_CC" 12531fi 12532 12533if test -z "$CC"; then 12534 if test -n "$ac_tool_prefix"; then 12535 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 12536set dummy ${ac_tool_prefix}cc; ac_word=$2 12537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12538$as_echo_n "checking for $ac_word... " >&6; } 12539if ${ac_cv_prog_CC+:} false; then : 12540 $as_echo_n "(cached) " >&6 12541else 12542 if test -n "$CC"; then 12543 ac_cv_prog_CC="$CC" # Let the user override the test. 12544else 12545as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12546for as_dir in $PATH 12547do 12548 IFS=$as_save_IFS 12549 test -z "$as_dir" && as_dir=. 12550 for ac_exec_ext in '' $ac_executable_extensions; do 12551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12552 ac_cv_prog_CC="${ac_tool_prefix}cc" 12553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12554 break 2 12555 fi 12556done 12557 done 12558IFS=$as_save_IFS 12559 12560fi 12561fi 12562CC=$ac_cv_prog_CC 12563if test -n "$CC"; then 12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12565$as_echo "$CC" >&6; } 12566else 12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12568$as_echo "no" >&6; } 12569fi 12570 12571 12572 fi 12573fi 12574if test -z "$CC"; then 12575 # Extract the first word of "cc", so it can be a program name with args. 12576set dummy cc; ac_word=$2 12577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12578$as_echo_n "checking for $ac_word... " >&6; } 12579if ${ac_cv_prog_CC+:} false; then : 12580 $as_echo_n "(cached) " >&6 12581else 12582 if test -n "$CC"; then 12583 ac_cv_prog_CC="$CC" # Let the user override the test. 12584else 12585 ac_prog_rejected=no 12586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12587for as_dir in $PATH 12588do 12589 IFS=$as_save_IFS 12590 test -z "$as_dir" && as_dir=. 12591 for ac_exec_ext in '' $ac_executable_extensions; do 12592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12593 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 12594 ac_prog_rejected=yes 12595 continue 12596 fi 12597 ac_cv_prog_CC="cc" 12598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12599 break 2 12600 fi 12601done 12602 done 12603IFS=$as_save_IFS 12604 12605if test $ac_prog_rejected = yes; then 12606 # We found a bogon in the path, so make sure we never use it. 12607 set dummy $ac_cv_prog_CC 12608 shift 12609 if test $# != 0; then 12610 # We chose a different compiler from the bogus one. 12611 # However, it has the same basename, so the bogon will be chosen 12612 # first if we set CC to just the basename; use the full file name. 12613 shift 12614 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 12615 fi 12616fi 12617fi 12618fi 12619CC=$ac_cv_prog_CC 12620if test -n "$CC"; then 12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12622$as_echo "$CC" >&6; } 12623else 12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12625$as_echo "no" >&6; } 12626fi 12627 12628 12629fi 12630if test -z "$CC"; then 12631 if test -n "$ac_tool_prefix"; then 12632 for ac_prog in cl.exe 12633 do 12634 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12635set dummy $ac_tool_prefix$ac_prog; ac_word=$2 12636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12637$as_echo_n "checking for $ac_word... " >&6; } 12638if ${ac_cv_prog_CC+:} false; then : 12639 $as_echo_n "(cached) " >&6 12640else 12641 if test -n "$CC"; then 12642 ac_cv_prog_CC="$CC" # Let the user override the test. 12643else 12644as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12645for as_dir in $PATH 12646do 12647 IFS=$as_save_IFS 12648 test -z "$as_dir" && as_dir=. 12649 for ac_exec_ext in '' $ac_executable_extensions; do 12650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12651 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 12652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12653 break 2 12654 fi 12655done 12656 done 12657IFS=$as_save_IFS 12658 12659fi 12660fi 12661CC=$ac_cv_prog_CC 12662if test -n "$CC"; then 12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12664$as_echo "$CC" >&6; } 12665else 12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12667$as_echo "no" >&6; } 12668fi 12669 12670 12671 test -n "$CC" && break 12672 done 12673fi 12674if test -z "$CC"; then 12675 ac_ct_CC=$CC 12676 for ac_prog in cl.exe 12677do 12678 # Extract the first word of "$ac_prog", so it can be a program name with args. 12679set dummy $ac_prog; ac_word=$2 12680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12681$as_echo_n "checking for $ac_word... " >&6; } 12682if ${ac_cv_prog_ac_ct_CC+:} false; then : 12683 $as_echo_n "(cached) " >&6 12684else 12685 if test -n "$ac_ct_CC"; then 12686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12687else 12688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12689for as_dir in $PATH 12690do 12691 IFS=$as_save_IFS 12692 test -z "$as_dir" && as_dir=. 12693 for ac_exec_ext in '' $ac_executable_extensions; do 12694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12695 ac_cv_prog_ac_ct_CC="$ac_prog" 12696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12697 break 2 12698 fi 12699done 12700 done 12701IFS=$as_save_IFS 12702 12703fi 12704fi 12705ac_ct_CC=$ac_cv_prog_ac_ct_CC 12706if test -n "$ac_ct_CC"; then 12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12708$as_echo "$ac_ct_CC" >&6; } 12709else 12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12711$as_echo "no" >&6; } 12712fi 12713 12714 12715 test -n "$ac_ct_CC" && break 12716done 12717 12718 if test "x$ac_ct_CC" = x; then 12719 CC="" 12720 else 12721 case $cross_compiling:$ac_tool_warned in 12722yes:) 12723{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12724$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12725ac_tool_warned=yes ;; 12726esac 12727 CC=$ac_ct_CC 12728 fi 12729fi 12730 12731fi 12732 12733 12734test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12735$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12736as_fn_error $? "no acceptable C compiler found in \$PATH 12737See \`config.log' for more details" "$LINENO" 5; } 12738 12739# Provide some information about the compiler. 12740$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 12741set X $ac_compile 12742ac_compiler=$2 12743for ac_option in --version -v -V -qversion; do 12744 { { ac_try="$ac_compiler $ac_option >&5" 12745case "(($ac_try" in 12746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12747 *) ac_try_echo=$ac_try;; 12748esac 12749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 12750$as_echo "$ac_try_echo"; } >&5 12751 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 12752 ac_status=$? 12753 if test -s conftest.err; then 12754 sed '10a\ 12755... rest of stderr output deleted ... 12756 10q' conftest.err >conftest.er1 12757 cat conftest.er1 >&5 12758 fi 12759 rm -f conftest.er1 conftest.err 12760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12761 test $ac_status = 0; } 12762done 12763 12764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 12765$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 12766if ${ac_cv_c_compiler_gnu+:} false; then : 12767 $as_echo_n "(cached) " >&6 12768else 12769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12770/* end confdefs.h. */ 12771 12772int 12773main () 12774{ 12775#ifndef __GNUC__ 12776 choke me 12777#endif 12778 12779 ; 12780 return 0; 12781} 12782_ACEOF 12783if ac_fn_c_try_compile "$LINENO"; then : 12784 ac_compiler_gnu=yes 12785else 12786 ac_compiler_gnu=no 12787fi 12788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12789ac_cv_c_compiler_gnu=$ac_compiler_gnu 12790 12791fi 12792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 12793$as_echo "$ac_cv_c_compiler_gnu" >&6; } 12794if test $ac_compiler_gnu = yes; then 12795 GCC=yes 12796else 12797 GCC= 12798fi 12799ac_test_CFLAGS=${CFLAGS+set} 12800ac_save_CFLAGS=$CFLAGS 12801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 12802$as_echo_n "checking whether $CC accepts -g... " >&6; } 12803if ${ac_cv_prog_cc_g+:} false; then : 12804 $as_echo_n "(cached) " >&6 12805else 12806 ac_save_c_werror_flag=$ac_c_werror_flag 12807 ac_c_werror_flag=yes 12808 ac_cv_prog_cc_g=no 12809 CFLAGS="-g" 12810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12811/* end confdefs.h. */ 12812 12813int 12814main () 12815{ 12816 12817 ; 12818 return 0; 12819} 12820_ACEOF 12821if ac_fn_c_try_compile "$LINENO"; then : 12822 ac_cv_prog_cc_g=yes 12823else 12824 CFLAGS="" 12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12826/* end confdefs.h. */ 12827 12828int 12829main () 12830{ 12831 12832 ; 12833 return 0; 12834} 12835_ACEOF 12836if ac_fn_c_try_compile "$LINENO"; then : 12837 12838else 12839 ac_c_werror_flag=$ac_save_c_werror_flag 12840 CFLAGS="-g" 12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12842/* end confdefs.h. */ 12843 12844int 12845main () 12846{ 12847 12848 ; 12849 return 0; 12850} 12851_ACEOF 12852if ac_fn_c_try_compile "$LINENO"; then : 12853 ac_cv_prog_cc_g=yes 12854fi 12855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12856fi 12857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12858fi 12859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12860 ac_c_werror_flag=$ac_save_c_werror_flag 12861fi 12862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 12863$as_echo "$ac_cv_prog_cc_g" >&6; } 12864if test "$ac_test_CFLAGS" = set; then 12865 CFLAGS=$ac_save_CFLAGS 12866elif test $ac_cv_prog_cc_g = yes; then 12867 if test "$GCC" = yes; then 12868 CFLAGS="-g -O2" 12869 else 12870 CFLAGS="-g" 12871 fi 12872else 12873 if test "$GCC" = yes; then 12874 CFLAGS="-O2" 12875 else 12876 CFLAGS= 12877 fi 12878fi 12879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 12880$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 12881if ${ac_cv_prog_cc_c89+:} false; then : 12882 $as_echo_n "(cached) " >&6 12883else 12884 ac_cv_prog_cc_c89=no 12885ac_save_CC=$CC 12886cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12887/* end confdefs.h. */ 12888#include <stdarg.h> 12889#include <stdio.h> 12890#include <sys/types.h> 12891#include <sys/stat.h> 12892/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 12893struct buf { int x; }; 12894FILE * (*rcsopen) (struct buf *, struct stat *, int); 12895static char *e (p, i) 12896 char **p; 12897 int i; 12898{ 12899 return p[i]; 12900} 12901static char *f (char * (*g) (char **, int), char **p, ...) 12902{ 12903 char *s; 12904 va_list v; 12905 va_start (v,p); 12906 s = g (p, va_arg (v,int)); 12907 va_end (v); 12908 return s; 12909} 12910 12911/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 12912 function prototypes and stuff, but not '\xHH' hex character constants. 12913 These don't provoke an error unfortunately, instead are silently treated 12914 as 'x'. The following induces an error, until -std is added to get 12915 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 12916 array size at least. It's necessary to write '\x00'==0 to get something 12917 that's true only with -std. */ 12918int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 12919 12920/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 12921 inside strings and character constants. */ 12922#define FOO(x) 'x' 12923int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 12924 12925int test (int i, double x); 12926struct s1 {int (*f) (int a);}; 12927struct s2 {int (*f) (double a);}; 12928int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 12929int argc; 12930char **argv; 12931int 12932main () 12933{ 12934return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 12935 ; 12936 return 0; 12937} 12938_ACEOF 12939for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 12940 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 12941do 12942 CC="$ac_save_CC $ac_arg" 12943 if ac_fn_c_try_compile "$LINENO"; then : 12944 ac_cv_prog_cc_c89=$ac_arg 12945fi 12946rm -f core conftest.err conftest.$ac_objext 12947 test "x$ac_cv_prog_cc_c89" != "xno" && break 12948done 12949rm -f conftest.$ac_ext 12950CC=$ac_save_CC 12951 12952fi 12953# AC_CACHE_VAL 12954case "x$ac_cv_prog_cc_c89" in 12955 x) 12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 12957$as_echo "none needed" >&6; } ;; 12958 xno) 12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 12960$as_echo "unsupported" >&6; } ;; 12961 *) 12962 CC="$CC $ac_cv_prog_cc_c89" 12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 12964$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 12965esac 12966if test "x$ac_cv_prog_cc_c89" != xno; then : 12967 12968fi 12969 12970ac_ext=c 12971ac_cpp='$CPP $CPPFLAGS' 12972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12974ac_compiler_gnu=$ac_cv_c_compiler_gnu 12975 12976depcc="$CC" am_compiler_list= 12977 12978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 12979$as_echo_n "checking dependency style of $depcc... " >&6; } 12980if ${am_cv_CC_dependencies_compiler_type+:} false; then : 12981 $as_echo_n "(cached) " >&6 12982else 12983 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 12984 # We make a subdir and do the tests there. Otherwise we can end up 12985 # making bogus files that we don't know about and never remove. For 12986 # instance it was reported that on HP-UX the gcc test will end up 12987 # making a dummy file named `D' -- because `-MD' means `put the output 12988 # in D'. 12989 rm -rf conftest.dir 12990 mkdir conftest.dir 12991 # Copy depcomp to subdir because otherwise we won't find it if we're 12992 # using a relative directory. 12993 cp "$am_depcomp" conftest.dir 12994 cd conftest.dir 12995 # We will build objects and dependencies in a subdirectory because 12996 # it helps to detect inapplicable dependency modes. For instance 12997 # both Tru64's cc and ICC support -MD to output dependencies as a 12998 # side effect of compilation, but ICC will put the dependencies in 12999 # the current directory while Tru64 will put them in the object 13000 # directory. 13001 mkdir sub 13002 13003 am_cv_CC_dependencies_compiler_type=none 13004 if test "$am_compiler_list" = ""; then 13005 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 13006 fi 13007 am__universal=false 13008 case " $depcc " in #( 13009 *\ -arch\ *\ -arch\ *) am__universal=true ;; 13010 esac 13011 13012 for depmode in $am_compiler_list; do 13013 # Setup a source with many dependencies, because some compilers 13014 # like to wrap large dependency lists on column 80 (with \), and 13015 # we should not choose a depcomp mode which is confused by this. 13016 # 13017 # We need to recreate these files for each test, as the compiler may 13018 # overwrite some of them when testing with obscure command lines. 13019 # This happens at least with the AIX C compiler. 13020 : > sub/conftest.c 13021 for i in 1 2 3 4 5 6; do 13022 echo '#include "conftst'$i'.h"' >> sub/conftest.c 13023 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 13024 # Solaris 8's {/usr,}/bin/sh. 13025 touch sub/conftst$i.h 13026 done 13027 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 13028 13029 # We check with `-c' and `-o' for the sake of the "dashmstdout" 13030 # mode. It turns out that the SunPro C++ compiler does not properly 13031 # handle `-M -o', and we need to detect this. Also, some Intel 13032 # versions had trouble with output in subdirs 13033 am__obj=sub/conftest.${OBJEXT-o} 13034 am__minus_obj="-o $am__obj" 13035 case $depmode in 13036 gcc) 13037 # This depmode causes a compiler race in universal mode. 13038 test "$am__universal" = false || continue 13039 ;; 13040 nosideeffect) 13041 # after this tag, mechanisms are not by side-effect, so they'll 13042 # only be used when explicitly requested 13043 if test "x$enable_dependency_tracking" = xyes; then 13044 continue 13045 else 13046 break 13047 fi 13048 ;; 13049 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 13050 # This compiler won't grok `-c -o', but also, the minuso test has 13051 # not run yet. These depmodes are late enough in the game, and 13052 # so weak that their functioning should not be impacted. 13053 am__obj=conftest.${OBJEXT-o} 13054 am__minus_obj= 13055 ;; 13056 none) break ;; 13057 esac 13058 if depmode=$depmode \ 13059 source=sub/conftest.c object=$am__obj \ 13060 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 13061 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 13062 >/dev/null 2>conftest.err && 13063 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 13064 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 13065 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 13066 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 13067 # icc doesn't choke on unknown options, it will just issue warnings 13068 # or remarks (even with -Werror). So we grep stderr for any message 13069 # that says an option was ignored or not supported. 13070 # When given -MP, icc 7.0 and 7.1 complain thusly: 13071 # icc: Command line warning: ignoring option '-M'; no argument required 13072 # The diagnosis changed in icc 8.0: 13073 # icc: Command line remark: option '-MP' not supported 13074 if (grep 'ignoring option' conftest.err || 13075 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 13076 am_cv_CC_dependencies_compiler_type=$depmode 13077 break 13078 fi 13079 fi 13080 done 13081 13082 cd .. 13083 rm -rf conftest.dir 13084else 13085 am_cv_CC_dependencies_compiler_type=none 13086fi 13087 13088fi 13089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 13090$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 13091CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 13092 13093 if 13094 test "x$enable_dependency_tracking" != xno \ 13095 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 13096 am__fastdepCC_TRUE= 13097 am__fastdepCC_FALSE='#' 13098else 13099 am__fastdepCC_TRUE='#' 13100 am__fastdepCC_FALSE= 13101fi 13102 13103 13104ac_ext=cpp 13105ac_cpp='$CXXCPP $CPPFLAGS' 13106ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13107ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13108ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13109if test -z "$CXX"; then 13110 if test -n "$CCC"; then 13111 CXX=$CCC 13112 else 13113 if test -n "$ac_tool_prefix"; then 13114 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 13115 do 13116 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13117set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13119$as_echo_n "checking for $ac_word... " >&6; } 13120if ${ac_cv_prog_CXX+:} false; then : 13121 $as_echo_n "(cached) " >&6 13122else 13123 if test -n "$CXX"; then 13124 ac_cv_prog_CXX="$CXX" # Let the user override the test. 13125else 13126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13127for as_dir in $PATH 13128do 13129 IFS=$as_save_IFS 13130 test -z "$as_dir" && as_dir=. 13131 for ac_exec_ext in '' $ac_executable_extensions; do 13132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13133 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 13134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13135 break 2 13136 fi 13137done 13138 done 13139IFS=$as_save_IFS 13140 13141fi 13142fi 13143CXX=$ac_cv_prog_CXX 13144if test -n "$CXX"; then 13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 13146$as_echo "$CXX" >&6; } 13147else 13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13149$as_echo "no" >&6; } 13150fi 13151 13152 13153 test -n "$CXX" && break 13154 done 13155fi 13156if test -z "$CXX"; then 13157 ac_ct_CXX=$CXX 13158 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 13159do 13160 # Extract the first word of "$ac_prog", so it can be a program name with args. 13161set dummy $ac_prog; ac_word=$2 13162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13163$as_echo_n "checking for $ac_word... " >&6; } 13164if ${ac_cv_prog_ac_ct_CXX+:} false; then : 13165 $as_echo_n "(cached) " >&6 13166else 13167 if test -n "$ac_ct_CXX"; then 13168 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 13169else 13170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13171for as_dir in $PATH 13172do 13173 IFS=$as_save_IFS 13174 test -z "$as_dir" && as_dir=. 13175 for ac_exec_ext in '' $ac_executable_extensions; do 13176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13177 ac_cv_prog_ac_ct_CXX="$ac_prog" 13178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13179 break 2 13180 fi 13181done 13182 done 13183IFS=$as_save_IFS 13184 13185fi 13186fi 13187ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 13188if test -n "$ac_ct_CXX"; then 13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 13190$as_echo "$ac_ct_CXX" >&6; } 13191else 13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13193$as_echo "no" >&6; } 13194fi 13195 13196 13197 test -n "$ac_ct_CXX" && break 13198done 13199 13200 if test "x$ac_ct_CXX" = x; then 13201 CXX="g++" 13202 else 13203 case $cross_compiling:$ac_tool_warned in 13204yes:) 13205{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13206$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13207ac_tool_warned=yes ;; 13208esac 13209 CXX=$ac_ct_CXX 13210 fi 13211fi 13212 13213 fi 13214fi 13215# Provide some information about the compiler. 13216$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 13217set X $ac_compile 13218ac_compiler=$2 13219for ac_option in --version -v -V -qversion; do 13220 { { ac_try="$ac_compiler $ac_option >&5" 13221case "(($ac_try" in 13222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13223 *) ac_try_echo=$ac_try;; 13224esac 13225eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 13226$as_echo "$ac_try_echo"; } >&5 13227 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 13228 ac_status=$? 13229 if test -s conftest.err; then 13230 sed '10a\ 13231... rest of stderr output deleted ... 13232 10q' conftest.err >conftest.er1 13233 cat conftest.er1 >&5 13234 fi 13235 rm -f conftest.er1 conftest.err 13236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13237 test $ac_status = 0; } 13238done 13239 13240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 13241$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 13242if ${ac_cv_cxx_compiler_gnu+:} false; then : 13243 $as_echo_n "(cached) " >&6 13244else 13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13246/* end confdefs.h. */ 13247 13248int 13249main () 13250{ 13251#ifndef __GNUC__ 13252 choke me 13253#endif 13254 13255 ; 13256 return 0; 13257} 13258_ACEOF 13259if ac_fn_cxx_try_compile "$LINENO"; then : 13260 ac_compiler_gnu=yes 13261else 13262 ac_compiler_gnu=no 13263fi 13264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13265ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 13266 13267fi 13268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 13269$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 13270if test $ac_compiler_gnu = yes; then 13271 GXX=yes 13272else 13273 GXX= 13274fi 13275ac_test_CXXFLAGS=${CXXFLAGS+set} 13276ac_save_CXXFLAGS=$CXXFLAGS 13277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 13278$as_echo_n "checking whether $CXX accepts -g... " >&6; } 13279if ${ac_cv_prog_cxx_g+:} false; then : 13280 $as_echo_n "(cached) " >&6 13281else 13282 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 13283 ac_cxx_werror_flag=yes 13284 ac_cv_prog_cxx_g=no 13285 CXXFLAGS="-g" 13286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13287/* end confdefs.h. */ 13288 13289int 13290main () 13291{ 13292 13293 ; 13294 return 0; 13295} 13296_ACEOF 13297if ac_fn_cxx_try_compile "$LINENO"; then : 13298 ac_cv_prog_cxx_g=yes 13299else 13300 CXXFLAGS="" 13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13302/* end confdefs.h. */ 13303 13304int 13305main () 13306{ 13307 13308 ; 13309 return 0; 13310} 13311_ACEOF 13312if ac_fn_cxx_try_compile "$LINENO"; then : 13313 13314else 13315 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 13316 CXXFLAGS="-g" 13317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13318/* end confdefs.h. */ 13319 13320int 13321main () 13322{ 13323 13324 ; 13325 return 0; 13326} 13327_ACEOF 13328if ac_fn_cxx_try_compile "$LINENO"; then : 13329 ac_cv_prog_cxx_g=yes 13330fi 13331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13332fi 13333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13334fi 13335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13336 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 13337fi 13338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 13339$as_echo "$ac_cv_prog_cxx_g" >&6; } 13340if test "$ac_test_CXXFLAGS" = set; then 13341 CXXFLAGS=$ac_save_CXXFLAGS 13342elif test $ac_cv_prog_cxx_g = yes; then 13343 if test "$GXX" = yes; then 13344 CXXFLAGS="-g -O2" 13345 else 13346 CXXFLAGS="-g" 13347 fi 13348else 13349 if test "$GXX" = yes; then 13350 CXXFLAGS="-O2" 13351 else 13352 CXXFLAGS= 13353 fi 13354fi 13355ac_ext=c 13356ac_cpp='$CPP $CPPFLAGS' 13357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13359ac_compiler_gnu=$ac_cv_c_compiler_gnu 13360 13361depcc="$CXX" am_compiler_list= 13362 13363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 13364$as_echo_n "checking dependency style of $depcc... " >&6; } 13365if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 13366 $as_echo_n "(cached) " >&6 13367else 13368 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 13369 # We make a subdir and do the tests there. Otherwise we can end up 13370 # making bogus files that we don't know about and never remove. For 13371 # instance it was reported that on HP-UX the gcc test will end up 13372 # making a dummy file named `D' -- because `-MD' means `put the output 13373 # in D'. 13374 rm -rf conftest.dir 13375 mkdir conftest.dir 13376 # Copy depcomp to subdir because otherwise we won't find it if we're 13377 # using a relative directory. 13378 cp "$am_depcomp" conftest.dir 13379 cd conftest.dir 13380 # We will build objects and dependencies in a subdirectory because 13381 # it helps to detect inapplicable dependency modes. For instance 13382 # both Tru64's cc and ICC support -MD to output dependencies as a 13383 # side effect of compilation, but ICC will put the dependencies in 13384 # the current directory while Tru64 will put them in the object 13385 # directory. 13386 mkdir sub 13387 13388 am_cv_CXX_dependencies_compiler_type=none 13389 if test "$am_compiler_list" = ""; then 13390 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 13391 fi 13392 am__universal=false 13393 case " $depcc " in #( 13394 *\ -arch\ *\ -arch\ *) am__universal=true ;; 13395 esac 13396 13397 for depmode in $am_compiler_list; do 13398 # Setup a source with many dependencies, because some compilers 13399 # like to wrap large dependency lists on column 80 (with \), and 13400 # we should not choose a depcomp mode which is confused by this. 13401 # 13402 # We need to recreate these files for each test, as the compiler may 13403 # overwrite some of them when testing with obscure command lines. 13404 # This happens at least with the AIX C compiler. 13405 : > sub/conftest.c 13406 for i in 1 2 3 4 5 6; do 13407 echo '#include "conftst'$i'.h"' >> sub/conftest.c 13408 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 13409 # Solaris 8's {/usr,}/bin/sh. 13410 touch sub/conftst$i.h 13411 done 13412 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 13413 13414 # We check with `-c' and `-o' for the sake of the "dashmstdout" 13415 # mode. It turns out that the SunPro C++ compiler does not properly 13416 # handle `-M -o', and we need to detect this. Also, some Intel 13417 # versions had trouble with output in subdirs 13418 am__obj=sub/conftest.${OBJEXT-o} 13419 am__minus_obj="-o $am__obj" 13420 case $depmode in 13421 gcc) 13422 # This depmode causes a compiler race in universal mode. 13423 test "$am__universal" = false || continue 13424 ;; 13425 nosideeffect) 13426 # after this tag, mechanisms are not by side-effect, so they'll 13427 # only be used when explicitly requested 13428 if test "x$enable_dependency_tracking" = xyes; then 13429 continue 13430 else 13431 break 13432 fi 13433 ;; 13434 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 13435 # This compiler won't grok `-c -o', but also, the minuso test has 13436 # not run yet. These depmodes are late enough in the game, and 13437 # so weak that their functioning should not be impacted. 13438 am__obj=conftest.${OBJEXT-o} 13439 am__minus_obj= 13440 ;; 13441 none) break ;; 13442 esac 13443 if depmode=$depmode \ 13444 source=sub/conftest.c object=$am__obj \ 13445 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 13446 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 13447 >/dev/null 2>conftest.err && 13448 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 13449 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 13450 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 13451 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 13452 # icc doesn't choke on unknown options, it will just issue warnings 13453 # or remarks (even with -Werror). So we grep stderr for any message 13454 # that says an option was ignored or not supported. 13455 # When given -MP, icc 7.0 and 7.1 complain thusly: 13456 # icc: Command line warning: ignoring option '-M'; no argument required 13457 # The diagnosis changed in icc 8.0: 13458 # icc: Command line remark: option '-MP' not supported 13459 if (grep 'ignoring option' conftest.err || 13460 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 13461 am_cv_CXX_dependencies_compiler_type=$depmode 13462 break 13463 fi 13464 fi 13465 done 13466 13467 cd .. 13468 rm -rf conftest.dir 13469else 13470 am_cv_CXX_dependencies_compiler_type=none 13471fi 13472 13473fi 13474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 13475$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 13476CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 13477 13478 if 13479 test "x$enable_dependency_tracking" != xno \ 13480 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 13481 am__fastdepCXX_TRUE= 13482 am__fastdepCXX_FALSE='#' 13483else 13484 am__fastdepCXX_TRUE='#' 13485 am__fastdepCXX_FALSE= 13486fi 13487 13488 13489 13490 13491func_stripname_cnf () 13492{ 13493 case ${2} in 13494 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 13495 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 13496 esac 13497} # func_stripname_cnf 13498 13499 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 13500 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 13501 (test "X$CXX" != "Xg++"))) ; then 13502 ac_ext=cpp 13503ac_cpp='$CXXCPP $CPPFLAGS' 13504ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13505ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13506ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13508$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13509if test -z "$CXXCPP"; then 13510 if ${ac_cv_prog_CXXCPP+:} false; then : 13511 $as_echo_n "(cached) " >&6 13512else 13513 # Double quotes because CXXCPP needs to be expanded 13514 for CXXCPP in "$CXX -E" "/lib/cpp" 13515 do 13516 ac_preproc_ok=false 13517for ac_cxx_preproc_warn_flag in '' yes 13518do 13519 # Use a header file that comes with gcc, so configuring glibc 13520 # with a fresh cross-compiler works. 13521 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13522 # <limits.h> exists even on freestanding compilers. 13523 # On the NeXT, cc -E runs the code through the compiler's parser, 13524 # not just through cpp. "Syntax error" is here to catch this case. 13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13526/* end confdefs.h. */ 13527#ifdef __STDC__ 13528# include <limits.h> 13529#else 13530# include <assert.h> 13531#endif 13532 Syntax error 13533_ACEOF 13534if ac_fn_cxx_try_cpp "$LINENO"; then : 13535 13536else 13537 # Broken: fails on valid input. 13538continue 13539fi 13540rm -f conftest.err conftest.i conftest.$ac_ext 13541 13542 # OK, works on sane cases. Now check whether nonexistent headers 13543 # can be detected and how. 13544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13545/* end confdefs.h. */ 13546#include <ac_nonexistent.h> 13547_ACEOF 13548if ac_fn_cxx_try_cpp "$LINENO"; then : 13549 # Broken: success on invalid input. 13550continue 13551else 13552 # Passes both tests. 13553ac_preproc_ok=: 13554break 13555fi 13556rm -f conftest.err conftest.i conftest.$ac_ext 13557 13558done 13559# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13560rm -f conftest.i conftest.err conftest.$ac_ext 13561if $ac_preproc_ok; then : 13562 break 13563fi 13564 13565 done 13566 ac_cv_prog_CXXCPP=$CXXCPP 13567 13568fi 13569 CXXCPP=$ac_cv_prog_CXXCPP 13570else 13571 ac_cv_prog_CXXCPP=$CXXCPP 13572fi 13573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13574$as_echo "$CXXCPP" >&6; } 13575ac_preproc_ok=false 13576for ac_cxx_preproc_warn_flag in '' yes 13577do 13578 # Use a header file that comes with gcc, so configuring glibc 13579 # with a fresh cross-compiler works. 13580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13581 # <limits.h> exists even on freestanding compilers. 13582 # On the NeXT, cc -E runs the code through the compiler's parser, 13583 # not just through cpp. "Syntax error" is here to catch this case. 13584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13585/* end confdefs.h. */ 13586#ifdef __STDC__ 13587# include <limits.h> 13588#else 13589# include <assert.h> 13590#endif 13591 Syntax error 13592_ACEOF 13593if ac_fn_cxx_try_cpp "$LINENO"; then : 13594 13595else 13596 # Broken: fails on valid input. 13597continue 13598fi 13599rm -f conftest.err conftest.i conftest.$ac_ext 13600 13601 # OK, works on sane cases. Now check whether nonexistent headers 13602 # can be detected and how. 13603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13604/* end confdefs.h. */ 13605#include <ac_nonexistent.h> 13606_ACEOF 13607if ac_fn_cxx_try_cpp "$LINENO"; then : 13608 # Broken: success on invalid input. 13609continue 13610else 13611 # Passes both tests. 13612ac_preproc_ok=: 13613break 13614fi 13615rm -f conftest.err conftest.i conftest.$ac_ext 13616 13617done 13618# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13619rm -f conftest.i conftest.err conftest.$ac_ext 13620if $ac_preproc_ok; then : 13621 13622else 13623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13624$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13625as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13626See \`config.log' for more details" "$LINENO" 5; } 13627fi 13628 13629ac_ext=c 13630ac_cpp='$CPP $CPPFLAGS' 13631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13633ac_compiler_gnu=$ac_cv_c_compiler_gnu 13634 13635else 13636 _lt_caught_CXX_error=yes 13637fi 13638 13639ac_ext=cpp 13640ac_cpp='$CXXCPP $CPPFLAGS' 13641ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13642ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13643ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13644 13645archive_cmds_need_lc_CXX=no 13646allow_undefined_flag_CXX= 13647always_export_symbols_CXX=no 13648archive_expsym_cmds_CXX= 13649compiler_needs_object_CXX=no 13650export_dynamic_flag_spec_CXX= 13651hardcode_direct_CXX=no 13652hardcode_direct_absolute_CXX=no 13653hardcode_libdir_flag_spec_CXX= 13654hardcode_libdir_separator_CXX= 13655hardcode_minus_L_CXX=no 13656hardcode_shlibpath_var_CXX=unsupported 13657hardcode_automatic_CXX=no 13658inherit_rpath_CXX=no 13659module_cmds_CXX= 13660module_expsym_cmds_CXX= 13661link_all_deplibs_CXX=unknown 13662old_archive_cmds_CXX=$old_archive_cmds 13663reload_flag_CXX=$reload_flag 13664reload_cmds_CXX=$reload_cmds 13665no_undefined_flag_CXX= 13666whole_archive_flag_spec_CXX= 13667enable_shared_with_static_runtimes_CXX=no 13668 13669# Source file extension for C++ test sources. 13670ac_ext=cpp 13671 13672# Object file extension for compiled C++ test sources. 13673objext=o 13674objext_CXX=$objext 13675 13676# No sense in running all these tests if we already determined that 13677# the CXX compiler isn't working. Some variables (like enable_shared) 13678# are currently assumed to apply to all compilers on this platform, 13679# and will be corrupted by setting them based on a non-working compiler. 13680if test "$_lt_caught_CXX_error" != yes; then 13681 # Code to be used in simple compile tests 13682 lt_simple_compile_test_code="int some_variable = 0;" 13683 13684 # Code to be used in simple link tests 13685 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13686 13687 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13688 13689 13690 13691 13692 13693 13694# If no C compiler was specified, use CC. 13695LTCC=${LTCC-"$CC"} 13696 13697# If no C compiler flags were specified, use CFLAGS. 13698LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13699 13700# Allow CC to be a program name with arguments. 13701compiler=$CC 13702 13703 13704 # save warnings/boilerplate of simple test code 13705 ac_outfile=conftest.$ac_objext 13706echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13707eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13708_lt_compiler_boilerplate=`cat conftest.err` 13709$RM conftest* 13710 13711 ac_outfile=conftest.$ac_objext 13712echo "$lt_simple_link_test_code" >conftest.$ac_ext 13713eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13714_lt_linker_boilerplate=`cat conftest.err` 13715$RM -r conftest* 13716 13717 13718 # Allow CC to be a program name with arguments. 13719 lt_save_CC=$CC 13720 lt_save_CFLAGS=$CFLAGS 13721 lt_save_LD=$LD 13722 lt_save_GCC=$GCC 13723 GCC=$GXX 13724 lt_save_with_gnu_ld=$with_gnu_ld 13725 lt_save_path_LD=$lt_cv_path_LD 13726 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13727 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13728 else 13729 $as_unset lt_cv_prog_gnu_ld 13730 fi 13731 if test -n "${lt_cv_path_LDCXX+set}"; then 13732 lt_cv_path_LD=$lt_cv_path_LDCXX 13733 else 13734 $as_unset lt_cv_path_LD 13735 fi 13736 test -z "${LDCXX+set}" || LD=$LDCXX 13737 CC=${CXX-"c++"} 13738 CFLAGS=$CXXFLAGS 13739 compiler=$CC 13740 compiler_CXX=$CC 13741 for cc_temp in $compiler""; do 13742 case $cc_temp in 13743 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 13744 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 13745 \-*) ;; 13746 *) break;; 13747 esac 13748done 13749cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 13750 13751 13752 if test -n "$compiler"; then 13753 # We don't want -fno-exception when compiling C++ code, so set the 13754 # no_builtin_flag separately 13755 if test "$GXX" = yes; then 13756 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13757 else 13758 lt_prog_compiler_no_builtin_flag_CXX= 13759 fi 13760 13761 if test "$GXX" = yes; then 13762 # Set up default GNU C++ configuration 13763 13764 13765 13766# Check whether --with-gnu-ld was given. 13767if test "${with_gnu_ld+set}" = set; then : 13768 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 13769else 13770 with_gnu_ld=no 13771fi 13772 13773ac_prog=ld 13774if test "$GCC" = yes; then 13775 # Check if gcc -print-prog-name=ld gives a path. 13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13777$as_echo_n "checking for ld used by $CC... " >&6; } 13778 case $host in 13779 *-*-mingw*) 13780 # gcc leaves a trailing carriage return which upsets mingw 13781 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13782 *) 13783 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13784 esac 13785 case $ac_prog in 13786 # Accept absolute paths. 13787 [\\/]* | ?:[\\/]*) 13788 re_direlt='/[^/][^/]*/\.\./' 13789 # Canonicalize the pathname of ld 13790 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13791 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13792 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13793 done 13794 test -z "$LD" && LD="$ac_prog" 13795 ;; 13796 "") 13797 # If it fails, then pretend we aren't using GCC. 13798 ac_prog=ld 13799 ;; 13800 *) 13801 # If it is relative, then search for the first ld in PATH. 13802 with_gnu_ld=unknown 13803 ;; 13804 esac 13805elif test "$with_gnu_ld" = yes; then 13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13807$as_echo_n "checking for GNU ld... " >&6; } 13808else 13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13810$as_echo_n "checking for non-GNU ld... " >&6; } 13811fi 13812if ${lt_cv_path_LD+:} false; then : 13813 $as_echo_n "(cached) " >&6 13814else 13815 if test -z "$LD"; then 13816 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 13817 for ac_dir in $PATH; do 13818 IFS="$lt_save_ifs" 13819 test -z "$ac_dir" && ac_dir=. 13820 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 13821 lt_cv_path_LD="$ac_dir/$ac_prog" 13822 # Check to see if the program is GNU ld. I'd rather use --version, 13823 # but apparently some variants of GNU ld only accept -v. 13824 # Break only if it was the GNU/non-GNU ld that we prefer. 13825 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 13826 *GNU* | *'with BFD'*) 13827 test "$with_gnu_ld" != no && break 13828 ;; 13829 *) 13830 test "$with_gnu_ld" != yes && break 13831 ;; 13832 esac 13833 fi 13834 done 13835 IFS="$lt_save_ifs" 13836else 13837 lt_cv_path_LD="$LD" # Let the user override the test with a path. 13838fi 13839fi 13840 13841LD="$lt_cv_path_LD" 13842if test -n "$LD"; then 13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 13844$as_echo "$LD" >&6; } 13845else 13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13847$as_echo "no" >&6; } 13848fi 13849test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13851$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13852if ${lt_cv_prog_gnu_ld+:} false; then : 13853 $as_echo_n "(cached) " >&6 13854else 13855 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13856case `$LD -v 2>&1 </dev/null` in 13857*GNU* | *'with BFD'*) 13858 lt_cv_prog_gnu_ld=yes 13859 ;; 13860*) 13861 lt_cv_prog_gnu_ld=no 13862 ;; 13863esac 13864fi 13865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 13866$as_echo "$lt_cv_prog_gnu_ld" >&6; } 13867with_gnu_ld=$lt_cv_prog_gnu_ld 13868 13869 13870 13871 13872 13873 13874 13875 # Check if GNU C++ uses GNU ld as the underlying linker, since the 13876 # archiving commands below assume that GNU ld is being used. 13877 if test "$with_gnu_ld" = yes; then 13878 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13879 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 13880 13881 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13882 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13883 13884 # If archive_cmds runs LD, not CC, wlarc should be empty 13885 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 13886 # investigate it a little bit more. (MM) 13887 wlarc='${wl}' 13888 13889 # ancient GNU ld didn't support --whole-archive et. al. 13890 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 13891 $GREP 'no-whole-archive' > /dev/null; then 13892 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 13893 else 13894 whole_archive_flag_spec_CXX= 13895 fi 13896 else 13897 with_gnu_ld=no 13898 wlarc= 13899 13900 # A generic and very simple default shared library creation 13901 # command for GNU C++ for the case where it uses the native 13902 # linker, instead of GNU ld. If possible, this setting should 13903 # overridden to take advantage of the native linker features on 13904 # the platform it is being used on. 13905 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13906 fi 13907 13908 # Commands to make compiler produce verbose output that lists 13909 # what "hidden" libraries, object files and flags are used when 13910 # linking a shared library. 13911 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13912 13913 else 13914 GXX=no 13915 with_gnu_ld=no 13916 wlarc= 13917 fi 13918 13919 # PORTME: fill in a description of your system's C++ link characteristics 13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13921$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 13922 ld_shlibs_CXX=yes 13923 case $host_os in 13924 aix3*) 13925 # FIXME: insert proper C++ library support 13926 ld_shlibs_CXX=no 13927 ;; 13928 aix[4-9]*) 13929 if test "$host_cpu" = ia64; then 13930 # On IA64, the linker does run time linking by default, so we don't 13931 # have to do anything special. 13932 aix_use_runtimelinking=no 13933 exp_sym_flag='-Bexport' 13934 no_entry_flag="" 13935 else 13936 aix_use_runtimelinking=no 13937 13938 # Test if we are trying to use run time linking or normal 13939 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 13940 # need to do runtime linking. 13941 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 13942 for ld_flag in $LDFLAGS; do 13943 case $ld_flag in 13944 *-brtl*) 13945 aix_use_runtimelinking=yes 13946 break 13947 ;; 13948 esac 13949 done 13950 ;; 13951 esac 13952 13953 exp_sym_flag='-bexport' 13954 no_entry_flag='-bnoentry' 13955 fi 13956 13957 # When large executables or shared objects are built, AIX ld can 13958 # have problems creating the table of contents. If linking a library 13959 # or program results in "error TOC overflow" add -mminimal-toc to 13960 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 13961 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 13962 13963 archive_cmds_CXX='' 13964 hardcode_direct_CXX=yes 13965 hardcode_direct_absolute_CXX=yes 13966 hardcode_libdir_separator_CXX=':' 13967 link_all_deplibs_CXX=yes 13968 file_list_spec_CXX='${wl}-f,' 13969 13970 if test "$GXX" = yes; then 13971 case $host_os in aix4.[012]|aix4.[012].*) 13972 # We only want to do this on AIX 4.2 and lower, the check 13973 # below for broken collect2 doesn't work under 4.3+ 13974 collect2name=`${CC} -print-prog-name=collect2` 13975 if test -f "$collect2name" && 13976 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 13977 then 13978 # We have reworked collect2 13979 : 13980 else 13981 # We have old collect2 13982 hardcode_direct_CXX=unsupported 13983 # It fails to find uninstalled libraries when the uninstalled 13984 # path is not listed in the libpath. Setting hardcode_minus_L 13985 # to unsupported forces relinking 13986 hardcode_minus_L_CXX=yes 13987 hardcode_libdir_flag_spec_CXX='-L$libdir' 13988 hardcode_libdir_separator_CXX= 13989 fi 13990 esac 13991 shared_flag='-shared' 13992 if test "$aix_use_runtimelinking" = yes; then 13993 shared_flag="$shared_flag "'${wl}-G' 13994 fi 13995 else 13996 # not using gcc 13997 if test "$host_cpu" = ia64; then 13998 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 13999 # chokes on -Wl,-G. The following line is correct: 14000 shared_flag='-G' 14001 else 14002 if test "$aix_use_runtimelinking" = yes; then 14003 shared_flag='${wl}-G' 14004 else 14005 shared_flag='${wl}-bM:SRE' 14006 fi 14007 fi 14008 fi 14009 14010 export_dynamic_flag_spec_CXX='${wl}-bexpall' 14011 # It seems that -bexpall does not export symbols beginning with 14012 # underscore (_), so it is better to generate a list of symbols to 14013 # export. 14014 always_export_symbols_CXX=yes 14015 if test "$aix_use_runtimelinking" = yes; then 14016 # Warning - without using the other runtime loading flags (-brtl), 14017 # -berok will link without error, but may produce a broken library. 14018 allow_undefined_flag_CXX='-berok' 14019 # Determine the default libpath from the value encoded in an empty 14020 # executable. 14021 if test "${lt_cv_aix_libpath+set}" = set; then 14022 aix_libpath=$lt_cv_aix_libpath 14023else 14024 if ${lt_cv_aix_libpath__CXX+:} false; then : 14025 $as_echo_n "(cached) " >&6 14026else 14027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14028/* end confdefs.h. */ 14029 14030int 14031main () 14032{ 14033 14034 ; 14035 return 0; 14036} 14037_ACEOF 14038if ac_fn_cxx_try_link "$LINENO"; then : 14039 14040 lt_aix_libpath_sed=' 14041 /Import File Strings/,/^$/ { 14042 /^0/ { 14043 s/^0 *\([^ ]*\) *$/\1/ 14044 p 14045 } 14046 }' 14047 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14048 # Check for a 64-bit object if we didn't find anything. 14049 if test -z "$lt_cv_aix_libpath__CXX"; then 14050 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14051 fi 14052fi 14053rm -f core conftest.err conftest.$ac_objext \ 14054 conftest$ac_exeext conftest.$ac_ext 14055 if test -z "$lt_cv_aix_libpath__CXX"; then 14056 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 14057 fi 14058 14059fi 14060 14061 aix_libpath=$lt_cv_aix_libpath__CXX 14062fi 14063 14064 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 14065 14066 archive_expsym_cmds_CXX='$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" 14067 else 14068 if test "$host_cpu" = ia64; then 14069 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 14070 allow_undefined_flag_CXX="-z nodefs" 14071 archive_expsym_cmds_CXX="\$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" 14072 else 14073 # Determine the default libpath from the value encoded in an 14074 # empty executable. 14075 if test "${lt_cv_aix_libpath+set}" = set; then 14076 aix_libpath=$lt_cv_aix_libpath 14077else 14078 if ${lt_cv_aix_libpath__CXX+:} false; then : 14079 $as_echo_n "(cached) " >&6 14080else 14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14082/* end confdefs.h. */ 14083 14084int 14085main () 14086{ 14087 14088 ; 14089 return 0; 14090} 14091_ACEOF 14092if ac_fn_cxx_try_link "$LINENO"; then : 14093 14094 lt_aix_libpath_sed=' 14095 /Import File Strings/,/^$/ { 14096 /^0/ { 14097 s/^0 *\([^ ]*\) *$/\1/ 14098 p 14099 } 14100 }' 14101 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14102 # Check for a 64-bit object if we didn't find anything. 14103 if test -z "$lt_cv_aix_libpath__CXX"; then 14104 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14105 fi 14106fi 14107rm -f core conftest.err conftest.$ac_objext \ 14108 conftest$ac_exeext conftest.$ac_ext 14109 if test -z "$lt_cv_aix_libpath__CXX"; then 14110 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 14111 fi 14112 14113fi 14114 14115 aix_libpath=$lt_cv_aix_libpath__CXX 14116fi 14117 14118 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 14119 # Warning - without using the other run time loading flags, 14120 # -berok will link without error, but may produce a broken library. 14121 no_undefined_flag_CXX=' ${wl}-bernotok' 14122 allow_undefined_flag_CXX=' ${wl}-berok' 14123 if test "$with_gnu_ld" = yes; then 14124 # We only use this code for GNU lds that support --whole-archive. 14125 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 14126 else 14127 # Exported symbols can be pulled into shared objects from archives 14128 whole_archive_flag_spec_CXX='$convenience' 14129 fi 14130 archive_cmds_need_lc_CXX=yes 14131 # This is similar to how AIX traditionally builds its shared 14132 # libraries. 14133 archive_expsym_cmds_CXX="\$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' 14134 fi 14135 fi 14136 ;; 14137 14138 beos*) 14139 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14140 allow_undefined_flag_CXX=unsupported 14141 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14142 # support --undefined. This deserves some investigation. FIXME 14143 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14144 else 14145 ld_shlibs_CXX=no 14146 fi 14147 ;; 14148 14149 chorus*) 14150 case $cc_basename in 14151 *) 14152 # FIXME: insert proper C++ library support 14153 ld_shlibs_CXX=no 14154 ;; 14155 esac 14156 ;; 14157 14158 cygwin* | mingw* | pw32* | cegcc*) 14159 case $GXX,$cc_basename in 14160 ,cl* | no,cl*) 14161 # Native MSVC 14162 # hardcode_libdir_flag_spec is actually meaningless, as there is 14163 # no search path for DLLs. 14164 hardcode_libdir_flag_spec_CXX=' ' 14165 allow_undefined_flag_CXX=unsupported 14166 always_export_symbols_CXX=yes 14167 file_list_spec_CXX='@' 14168 # Tell ltmain to make .lib files, not .a files. 14169 libext=lib 14170 # Tell ltmain to make .dll files, not .so files. 14171 shrext_cmds=".dll" 14172 # FIXME: Setting linknames here is a bad hack. 14173 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 14174 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 14175 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 14176 else 14177 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 14178 fi~ 14179 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14180 linknames=' 14181 # The linker will not automatically build a static lib if we build a DLL. 14182 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 14183 enable_shared_with_static_runtimes_CXX=yes 14184 # Don't use ranlib 14185 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14186 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14187 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14188 case $lt_outputfile in 14189 *.exe|*.EXE) ;; 14190 *) 14191 lt_outputfile="$lt_outputfile.exe" 14192 lt_tool_outputfile="$lt_tool_outputfile.exe" 14193 ;; 14194 esac~ 14195 func_to_tool_file "$lt_outputfile"~ 14196 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 14197 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14198 $RM "$lt_outputfile.manifest"; 14199 fi' 14200 ;; 14201 *) 14202 # g++ 14203 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14204 # as there is no search path for DLLs. 14205 hardcode_libdir_flag_spec_CXX='-L$libdir' 14206 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' 14207 allow_undefined_flag_CXX=unsupported 14208 always_export_symbols_CXX=no 14209 enable_shared_with_static_runtimes_CXX=yes 14210 14211 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14212 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14213 # If the export-symbols file already is a .def file (1st line 14214 # is EXPORTS), use it as is; otherwise, prepend... 14215 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 14216 cp $export_symbols $output_objdir/$soname.def; 14217 else 14218 echo EXPORTS > $output_objdir/$soname.def; 14219 cat $export_symbols >> $output_objdir/$soname.def; 14220 fi~ 14221 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14222 else 14223 ld_shlibs_CXX=no 14224 fi 14225 ;; 14226 esac 14227 ;; 14228 darwin* | rhapsody*) 14229 14230 14231 archive_cmds_need_lc_CXX=no 14232 hardcode_direct_CXX=no 14233 hardcode_automatic_CXX=yes 14234 hardcode_shlibpath_var_CXX=unsupported 14235 if test "$lt_cv_ld_force_load" = "yes"; then 14236 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 14237 14238 else 14239 whole_archive_flag_spec_CXX='' 14240 fi 14241 link_all_deplibs_CXX=yes 14242 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 14243 case $cc_basename in 14244 ifort*) _lt_dar_can_shared=yes ;; 14245 *) _lt_dar_can_shared=$GCC ;; 14246 esac 14247 if test "$_lt_dar_can_shared" = "yes"; then 14248 output_verbose_link_cmd=func_echo_all 14249 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 14250 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 14251 archive_expsym_cmds_CXX="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}" 14252 module_expsym_cmds_CXX="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}" 14253 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 14254 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 14255 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 14256 fi 14257 14258 else 14259 ld_shlibs_CXX=no 14260 fi 14261 14262 ;; 14263 14264 dgux*) 14265 case $cc_basename in 14266 ec++*) 14267 # FIXME: insert proper C++ library support 14268 ld_shlibs_CXX=no 14269 ;; 14270 ghcx*) 14271 # Green Hills C++ Compiler 14272 # FIXME: insert proper C++ library support 14273 ld_shlibs_CXX=no 14274 ;; 14275 *) 14276 # FIXME: insert proper C++ library support 14277 ld_shlibs_CXX=no 14278 ;; 14279 esac 14280 ;; 14281 14282 freebsd2.*) 14283 # C++ shared libraries reported to be fairly broken before 14284 # switch to ELF 14285 ld_shlibs_CXX=no 14286 ;; 14287 14288 freebsd-elf*) 14289 archive_cmds_need_lc_CXX=no 14290 ;; 14291 14292 freebsd* | dragonfly*) 14293 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14294 # conventions 14295 ld_shlibs_CXX=yes 14296 ;; 14297 14298 gnu*) 14299 ;; 14300 14301 haiku*) 14302 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14303 link_all_deplibs_CXX=yes 14304 ;; 14305 14306 hpux9*) 14307 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 14308 hardcode_libdir_separator_CXX=: 14309 export_dynamic_flag_spec_CXX='${wl}-E' 14310 hardcode_direct_CXX=yes 14311 hardcode_minus_L_CXX=yes # Not in the search PATH, 14312 # but as the default 14313 # location of the library. 14314 14315 case $cc_basename in 14316 CC*) 14317 # FIXME: insert proper C++ library support 14318 ld_shlibs_CXX=no 14319 ;; 14320 aCC*) 14321 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 14322 # Commands to make compiler produce verbose output that lists 14323 # what "hidden" libraries, object files and flags are used when 14324 # linking a shared library. 14325 # 14326 # There doesn't appear to be a way to prevent this compiler from 14327 # explicitly linking system object files so we need to strip them 14328 # from the output so that they don't get included in the library 14329 # dependencies. 14330 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14331 ;; 14332 *) 14333 if test "$GXX" = yes; then 14334 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 14335 else 14336 # FIXME: insert proper C++ library support 14337 ld_shlibs_CXX=no 14338 fi 14339 ;; 14340 esac 14341 ;; 14342 14343 hpux10*|hpux11*) 14344 if test $with_gnu_ld = no; then 14345 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 14346 hardcode_libdir_separator_CXX=: 14347 14348 case $host_cpu in 14349 hppa*64*|ia64*) 14350 ;; 14351 *) 14352 export_dynamic_flag_spec_CXX='${wl}-E' 14353 ;; 14354 esac 14355 fi 14356 case $host_cpu in 14357 hppa*64*|ia64*) 14358 hardcode_direct_CXX=no 14359 hardcode_shlibpath_var_CXX=no 14360 ;; 14361 *) 14362 hardcode_direct_CXX=yes 14363 hardcode_direct_absolute_CXX=yes 14364 hardcode_minus_L_CXX=yes # Not in the search PATH, 14365 # but as the default 14366 # location of the library. 14367 ;; 14368 esac 14369 14370 case $cc_basename in 14371 CC*) 14372 # FIXME: insert proper C++ library support 14373 ld_shlibs_CXX=no 14374 ;; 14375 aCC*) 14376 case $host_cpu in 14377 hppa*64*) 14378 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14379 ;; 14380 ia64*) 14381 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14382 ;; 14383 *) 14384 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14385 ;; 14386 esac 14387 # Commands to make compiler produce verbose output that lists 14388 # what "hidden" libraries, object files and flags are used when 14389 # linking a shared library. 14390 # 14391 # There doesn't appear to be a way to prevent this compiler from 14392 # explicitly linking system object files so we need to strip them 14393 # from the output so that they don't get included in the library 14394 # dependencies. 14395 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14396 ;; 14397 *) 14398 if test "$GXX" = yes; then 14399 if test $with_gnu_ld = no; then 14400 case $host_cpu in 14401 hppa*64*) 14402 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14403 ;; 14404 ia64*) 14405 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14406 ;; 14407 *) 14408 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14409 ;; 14410 esac 14411 fi 14412 else 14413 # FIXME: insert proper C++ library support 14414 ld_shlibs_CXX=no 14415 fi 14416 ;; 14417 esac 14418 ;; 14419 14420 interix[3-9]*) 14421 hardcode_direct_CXX=no 14422 hardcode_shlibpath_var_CXX=no 14423 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14424 export_dynamic_flag_spec_CXX='${wl}-E' 14425 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14426 # Instead, shared libraries are loaded at an image base (0x10000000 by 14427 # default) and relocated if they conflict, which is a slow very memory 14428 # consuming and fragmenting process. To avoid this, we pick a random, 14429 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14430 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14431 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 14432 archive_expsym_cmds_CXX='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' 14433 ;; 14434 irix5* | irix6*) 14435 case $cc_basename in 14436 CC*) 14437 # SGI C++ 14438 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 14439 14440 # Archives containing C++ object files must be created using 14441 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14442 # necessary to make sure instantiated templates are included 14443 # in the archive. 14444 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14445 ;; 14446 *) 14447 if test "$GXX" = yes; then 14448 if test "$with_gnu_ld" = no; then 14449 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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' 14450 else 14451 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' 14452 fi 14453 fi 14454 link_all_deplibs_CXX=yes 14455 ;; 14456 esac 14457 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14458 hardcode_libdir_separator_CXX=: 14459 inherit_rpath_CXX=yes 14460 ;; 14461 14462 linux* | k*bsd*-gnu | kopensolaris*-gnu) 14463 case $cc_basename in 14464 KCC*) 14465 # Kuck and Associates, Inc. (KAI) C++ Compiler 14466 14467 # KCC will only create a shared library if the output file 14468 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14469 # to its proper name (with version) after linking. 14470 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 14471 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 14472 # Commands to make compiler produce verbose output that lists 14473 # what "hidden" libraries, object files and flags are used when 14474 # linking a shared library. 14475 # 14476 # There doesn't appear to be a way to prevent this compiler from 14477 # explicitly linking system object files so we need to strip them 14478 # from the output so that they don't get included in the library 14479 # dependencies. 14480 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14481 14482 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14483 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14484 14485 # Archives containing C++ object files must be created using 14486 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14487 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14488 ;; 14489 icpc* | ecpc* ) 14490 # Intel C++ 14491 with_gnu_ld=yes 14492 # version 8.0 and above of icpc choke on multiply defined symbols 14493 # if we add $predep_objects and $postdep_objects, however 7.1 and 14494 # earlier do not add the objects themselves. 14495 case `$CC -V 2>&1` in 14496 *"Version 7."*) 14497 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 14498 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14499 ;; 14500 *) # Version 8.0 or newer 14501 tmp_idyn= 14502 case $host_cpu in 14503 ia64*) tmp_idyn=' -i_dynamic';; 14504 esac 14505 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14506 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14507 ;; 14508 esac 14509 archive_cmds_need_lc_CXX=no 14510 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14511 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14512 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 14513 ;; 14514 pgCC* | pgcpp*) 14515 # Portland Group C++ compiler 14516 case `$CC -V` in 14517 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14518 prelink_cmds_CXX='tpldir=Template.dir~ 14519 rm -rf $tpldir~ 14520 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14521 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14522 old_archive_cmds_CXX='tpldir=Template.dir~ 14523 rm -rf $tpldir~ 14524 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14525 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14526 $RANLIB $oldlib' 14527 archive_cmds_CXX='tpldir=Template.dir~ 14528 rm -rf $tpldir~ 14529 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14530 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 14531 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14532 rm -rf $tpldir~ 14533 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14534 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 14535 ;; 14536 *) # Version 6 and above use weak symbols 14537 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 14538 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 14539 ;; 14540 esac 14541 14542 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 14543 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14544 whole_archive_flag_spec_CXX='${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' 14545 ;; 14546 cxx*) 14547 # Compaq C++ 14548 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 14549 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 14550 14551 runpath_var=LD_RUN_PATH 14552 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14553 hardcode_libdir_separator_CXX=: 14554 14555 # Commands to make compiler produce verbose output that lists 14556 # what "hidden" libraries, object files and flags are used when 14557 # linking a shared library. 14558 # 14559 # There doesn't appear to be a way to prevent this compiler from 14560 # explicitly linking system object files so we need to strip them 14561 # from the output so that they don't get included in the library 14562 # dependencies. 14563 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 14564 ;; 14565 xl* | mpixl* | bgxl*) 14566 # IBM XL 8.0 on PPC, with GNU ld 14567 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14568 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14569 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14570 if test "x$supports_anon_versioning" = xyes; then 14571 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14572 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14573 echo "local: *; };" >> $output_objdir/$libname.ver~ 14574 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 14575 fi 14576 ;; 14577 *) 14578 case `$CC -V 2>&1 | sed 5q` in 14579 *Sun\ C*) 14580 # Sun C++ 5.9 14581 no_undefined_flag_CXX=' -zdefs' 14582 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14583 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 14584 hardcode_libdir_flag_spec_CXX='-R$libdir' 14585 whole_archive_flag_spec_CXX='${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' 14586 compiler_needs_object_CXX=yes 14587 14588 # Not sure whether something based on 14589 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14590 # would be better. 14591 output_verbose_link_cmd='func_echo_all' 14592 14593 # Archives containing C++ object files must be created using 14594 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14595 # necessary to make sure instantiated templates are included 14596 # in the archive. 14597 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14598 ;; 14599 esac 14600 ;; 14601 esac 14602 ;; 14603 14604 lynxos*) 14605 # FIXME: insert proper C++ library support 14606 ld_shlibs_CXX=no 14607 ;; 14608 14609 m88k*) 14610 # FIXME: insert proper C++ library support 14611 ld_shlibs_CXX=no 14612 ;; 14613 14614 mvs*) 14615 case $cc_basename in 14616 cxx*) 14617 # FIXME: insert proper C++ library support 14618 ld_shlibs_CXX=no 14619 ;; 14620 *) 14621 # FIXME: insert proper C++ library support 14622 ld_shlibs_CXX=no 14623 ;; 14624 esac 14625 ;; 14626 14627 netbsd*) 14628 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14629 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14630 wlarc= 14631 hardcode_libdir_flag_spec_CXX='-R$libdir' 14632 hardcode_direct_CXX=yes 14633 hardcode_shlibpath_var_CXX=no 14634 fi 14635 # Workaround some broken pre-1.5 toolchains 14636 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14637 ;; 14638 14639 *nto* | *qnx*) 14640 ld_shlibs_CXX=yes 14641 ;; 14642 14643 openbsd2*) 14644 # C++ shared libraries are fairly broken 14645 ld_shlibs_CXX=no 14646 ;; 14647 14648 openbsd*) 14649 if test -f /usr/libexec/ld.so; then 14650 hardcode_direct_CXX=yes 14651 hardcode_shlibpath_var_CXX=no 14652 hardcode_direct_absolute_CXX=yes 14653 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14654 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14655 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14656 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 14657 export_dynamic_flag_spec_CXX='${wl}-E' 14658 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 14659 fi 14660 output_verbose_link_cmd=func_echo_all 14661 else 14662 ld_shlibs_CXX=no 14663 fi 14664 ;; 14665 14666 osf3* | osf4* | osf5*) 14667 case $cc_basename in 14668 KCC*) 14669 # Kuck and Associates, Inc. (KAI) C++ Compiler 14670 14671 # KCC will only create a shared library if the output file 14672 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14673 # to its proper name (with version) after linking. 14674 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 14675 14676 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14677 hardcode_libdir_separator_CXX=: 14678 14679 # Archives containing C++ object files must be created using 14680 # the KAI C++ compiler. 14681 case $host in 14682 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14683 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14684 esac 14685 ;; 14686 RCC*) 14687 # Rational C++ 2.4.1 14688 # FIXME: insert proper C++ library support 14689 ld_shlibs_CXX=no 14690 ;; 14691 cxx*) 14692 case $host in 14693 osf3*) 14694 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 14695 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 14696 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14697 ;; 14698 *) 14699 allow_undefined_flag_CXX=' -expect_unresolved \*' 14700 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 14701 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14702 echo "-hidden">> $lib.exp~ 14703 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ 14704 $RM $lib.exp' 14705 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14706 ;; 14707 esac 14708 14709 hardcode_libdir_separator_CXX=: 14710 14711 # Commands to make compiler produce verbose output that lists 14712 # what "hidden" libraries, object files and flags are used when 14713 # linking a shared library. 14714 # 14715 # There doesn't appear to be a way to prevent this compiler from 14716 # explicitly linking system object files so we need to strip them 14717 # from the output so that they don't get included in the library 14718 # dependencies. 14719 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14720 ;; 14721 *) 14722 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 14723 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 14724 case $host in 14725 osf3*) 14726 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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' 14727 ;; 14728 *) 14729 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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' 14730 ;; 14731 esac 14732 14733 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14734 hardcode_libdir_separator_CXX=: 14735 14736 # Commands to make compiler produce verbose output that lists 14737 # what "hidden" libraries, object files and flags are used when 14738 # linking a shared library. 14739 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14740 14741 else 14742 # FIXME: insert proper C++ library support 14743 ld_shlibs_CXX=no 14744 fi 14745 ;; 14746 esac 14747 ;; 14748 14749 psos*) 14750 # FIXME: insert proper C++ library support 14751 ld_shlibs_CXX=no 14752 ;; 14753 14754 sunos4*) 14755 case $cc_basename in 14756 CC*) 14757 # Sun C++ 4.x 14758 # FIXME: insert proper C++ library support 14759 ld_shlibs_CXX=no 14760 ;; 14761 lcc*) 14762 # Lucid 14763 # FIXME: insert proper C++ library support 14764 ld_shlibs_CXX=no 14765 ;; 14766 *) 14767 # FIXME: insert proper C++ library support 14768 ld_shlibs_CXX=no 14769 ;; 14770 esac 14771 ;; 14772 14773 solaris*) 14774 case $cc_basename in 14775 CC* | sunCC*) 14776 # Sun C++ 4.2, 5.x and Centerline C++ 14777 archive_cmds_need_lc_CXX=yes 14778 no_undefined_flag_CXX=' -zdefs' 14779 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14780 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14781 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14782 14783 hardcode_libdir_flag_spec_CXX='-R$libdir' 14784 hardcode_shlibpath_var_CXX=no 14785 case $host_os in 14786 solaris2.[0-5] | solaris2.[0-5].*) ;; 14787 *) 14788 # The compiler driver will combine and reorder linker options, 14789 # but understands `-z linker_flag'. 14790 # Supported since Solaris 2.6 (maybe 2.5.1?) 14791 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 14792 ;; 14793 esac 14794 link_all_deplibs_CXX=yes 14795 14796 output_verbose_link_cmd='func_echo_all' 14797 14798 # Archives containing C++ object files must be created using 14799 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14800 # necessary to make sure instantiated templates are included 14801 # in the archive. 14802 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14803 ;; 14804 gcx*) 14805 # Green Hills C++ Compiler 14806 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 14807 14808 # The C++ compiler must be used to create the archive. 14809 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 14810 ;; 14811 *) 14812 # GNU C++ compiler with Solaris linker 14813 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 14814 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 14815 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 14816 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 14817 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14818 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14819 14820 # Commands to make compiler produce verbose output that lists 14821 # what "hidden" libraries, object files and flags are used when 14822 # linking a shared library. 14823 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14824 else 14825 # g++ 2.7 appears to require `-G' NOT `-shared' on this 14826 # platform. 14827 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 14828 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14829 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14830 14831 # Commands to make compiler produce verbose output that lists 14832 # what "hidden" libraries, object files and flags are used when 14833 # linking a shared library. 14834 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14835 fi 14836 14837 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 14838 case $host_os in 14839 solaris2.[0-5] | solaris2.[0-5].*) ;; 14840 *) 14841 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 14842 ;; 14843 esac 14844 fi 14845 ;; 14846 esac 14847 ;; 14848 14849 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 14850 no_undefined_flag_CXX='${wl}-z,text' 14851 archive_cmds_need_lc_CXX=no 14852 hardcode_shlibpath_var_CXX=no 14853 runpath_var='LD_RUN_PATH' 14854 14855 case $cc_basename in 14856 CC*) 14857 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14858 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14859 ;; 14860 *) 14861 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14862 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14863 ;; 14864 esac 14865 ;; 14866 14867 sysv5* | sco3.2v5* | sco5v6*) 14868 # Note: We can NOT use -z defs as we might desire, because we do not 14869 # link with -lc, and that would cause any symbols used from libc to 14870 # always be unresolved, which means just about no library would 14871 # ever link correctly. If we're not using GNU ld we use -z text 14872 # though, which does catch some bad symbols but isn't as heavy-handed 14873 # as -z defs. 14874 no_undefined_flag_CXX='${wl}-z,text' 14875 allow_undefined_flag_CXX='${wl}-z,nodefs' 14876 archive_cmds_need_lc_CXX=no 14877 hardcode_shlibpath_var_CXX=no 14878 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 14879 hardcode_libdir_separator_CXX=':' 14880 link_all_deplibs_CXX=yes 14881 export_dynamic_flag_spec_CXX='${wl}-Bexport' 14882 runpath_var='LD_RUN_PATH' 14883 14884 case $cc_basename in 14885 CC*) 14886 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14887 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14888 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 14889 '"$old_archive_cmds_CXX" 14890 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 14891 '"$reload_cmds_CXX" 14892 ;; 14893 *) 14894 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14895 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14896 ;; 14897 esac 14898 ;; 14899 14900 tandem*) 14901 case $cc_basename in 14902 NCC*) 14903 # NonStop-UX NCC 3.20 14904 # FIXME: insert proper C++ library support 14905 ld_shlibs_CXX=no 14906 ;; 14907 *) 14908 # FIXME: insert proper C++ library support 14909 ld_shlibs_CXX=no 14910 ;; 14911 esac 14912 ;; 14913 14914 vxworks*) 14915 # FIXME: insert proper C++ library support 14916 ld_shlibs_CXX=no 14917 ;; 14918 14919 *) 14920 # FIXME: insert proper C++ library support 14921 ld_shlibs_CXX=no 14922 ;; 14923 esac 14924 14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14926$as_echo "$ld_shlibs_CXX" >&6; } 14927 test "$ld_shlibs_CXX" = no && can_build_shared=no 14928 14929 GCC_CXX="$GXX" 14930 LD_CXX="$LD" 14931 14932 ## CAVEAT EMPTOR: 14933 ## There is no encapsulation within the following macros, do not change 14934 ## the running order or otherwise move them around unless you know exactly 14935 ## what you are doing... 14936 # Dependencies to place before and after the object being linked: 14937predep_objects_CXX= 14938postdep_objects_CXX= 14939predeps_CXX= 14940postdeps_CXX= 14941compiler_lib_search_path_CXX= 14942 14943cat > conftest.$ac_ext <<_LT_EOF 14944class Foo 14945{ 14946public: 14947 Foo (void) { a = 0; } 14948private: 14949 int a; 14950}; 14951_LT_EOF 14952 14953 14954_lt_libdeps_save_CFLAGS=$CFLAGS 14955case "$CC $CFLAGS " in #( 14956*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 14957*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 14958*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 14959esac 14960 14961if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14962 (eval $ac_compile) 2>&5 14963 ac_status=$? 14964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14965 test $ac_status = 0; }; then 14966 # Parse the compiler output and extract the necessary 14967 # objects, libraries and library flags. 14968 14969 # Sentinel used to keep track of whether or not we are before 14970 # the conftest object file. 14971 pre_test_object_deps_done=no 14972 14973 for p in `eval "$output_verbose_link_cmd"`; do 14974 case ${prev}${p} in 14975 14976 -L* | -R* | -l*) 14977 # Some compilers place space between "-{L,R}" and the path. 14978 # Remove the space. 14979 if test $p = "-L" || 14980 test $p = "-R"; then 14981 prev=$p 14982 continue 14983 fi 14984 14985 # Expand the sysroot to ease extracting the directories later. 14986 if test -z "$prev"; then 14987 case $p in 14988 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 14989 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 14990 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 14991 esac 14992 fi 14993 case $p in 14994 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 14995 esac 14996 if test "$pre_test_object_deps_done" = no; then 14997 case ${prev} in 14998 -L | -R) 14999 # Internal compiler library paths should come after those 15000 # provided the user. The postdeps already come after the 15001 # user supplied libs so there is no need to process them. 15002 if test -z "$compiler_lib_search_path_CXX"; then 15003 compiler_lib_search_path_CXX="${prev}${p}" 15004 else 15005 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 15006 fi 15007 ;; 15008 # The "-l" case would never come before the object being 15009 # linked, so don't bother handling this case. 15010 esac 15011 else 15012 if test -z "$postdeps_CXX"; then 15013 postdeps_CXX="${prev}${p}" 15014 else 15015 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 15016 fi 15017 fi 15018 prev= 15019 ;; 15020 15021 *.lto.$objext) ;; # Ignore GCC LTO objects 15022 *.$objext) 15023 # This assumes that the test object file only shows up 15024 # once in the compiler output. 15025 if test "$p" = "conftest.$objext"; then 15026 pre_test_object_deps_done=yes 15027 continue 15028 fi 15029 15030 if test "$pre_test_object_deps_done" = no; then 15031 if test -z "$predep_objects_CXX"; then 15032 predep_objects_CXX="$p" 15033 else 15034 predep_objects_CXX="$predep_objects_CXX $p" 15035 fi 15036 else 15037 if test -z "$postdep_objects_CXX"; then 15038 postdep_objects_CXX="$p" 15039 else 15040 postdep_objects_CXX="$postdep_objects_CXX $p" 15041 fi 15042 fi 15043 ;; 15044 15045 *) ;; # Ignore the rest. 15046 15047 esac 15048 done 15049 15050 # Clean up. 15051 rm -f a.out a.exe 15052else 15053 echo "libtool.m4: error: problem compiling CXX test program" 15054fi 15055 15056$RM -f confest.$objext 15057CFLAGS=$_lt_libdeps_save_CFLAGS 15058 15059# PORTME: override above test on systems where it is broken 15060case $host_os in 15061interix[3-9]*) 15062 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15063 # hack all around it, let's just trust "g++" to DTRT. 15064 predep_objects_CXX= 15065 postdep_objects_CXX= 15066 postdeps_CXX= 15067 ;; 15068 15069linux*) 15070 case `$CC -V 2>&1 | sed 5q` in 15071 *Sun\ C*) 15072 # Sun C++ 5.9 15073 15074 # The more standards-conforming stlport4 library is 15075 # incompatible with the Cstd library. Avoid specifying 15076 # it if it's in CXXFLAGS. Ignore libCrun as 15077 # -library=stlport4 depends on it. 15078 case " $CXX $CXXFLAGS " in 15079 *" -library=stlport4 "*) 15080 solaris_use_stlport4=yes 15081 ;; 15082 esac 15083 15084 if test "$solaris_use_stlport4" != yes; then 15085 postdeps_CXX='-library=Cstd -library=Crun' 15086 fi 15087 ;; 15088 esac 15089 ;; 15090 15091solaris*) 15092 case $cc_basename in 15093 CC* | sunCC*) 15094 # The more standards-conforming stlport4 library is 15095 # incompatible with the Cstd library. Avoid specifying 15096 # it if it's in CXXFLAGS. Ignore libCrun as 15097 # -library=stlport4 depends on it. 15098 case " $CXX $CXXFLAGS " in 15099 *" -library=stlport4 "*) 15100 solaris_use_stlport4=yes 15101 ;; 15102 esac 15103 15104 # Adding this requires a known-good setup of shared libraries for 15105 # Sun compiler versions before 5.6, else PIC objects from an old 15106 # archive will be linked into the output, leading to subtle bugs. 15107 if test "$solaris_use_stlport4" != yes; then 15108 postdeps_CXX='-library=Cstd -library=Crun' 15109 fi 15110 ;; 15111 esac 15112 ;; 15113esac 15114 15115 15116case " $postdeps_CXX " in 15117*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15118esac 15119 compiler_lib_search_dirs_CXX= 15120if test -n "${compiler_lib_search_path_CXX}"; then 15121 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 15122fi 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 lt_prog_compiler_wl_CXX= 15155lt_prog_compiler_pic_CXX= 15156lt_prog_compiler_static_CXX= 15157 15158 15159 # C++ specific cases for pic, static, wl, etc. 15160 if test "$GXX" = yes; then 15161 lt_prog_compiler_wl_CXX='-Wl,' 15162 lt_prog_compiler_static_CXX='-static' 15163 15164 case $host_os in 15165 aix*) 15166 # All AIX code is PIC. 15167 if test "$host_cpu" = ia64; then 15168 # AIX 5 now supports IA64 processor 15169 lt_prog_compiler_static_CXX='-Bstatic' 15170 fi 15171 ;; 15172 15173 amigaos*) 15174 case $host_cpu in 15175 powerpc) 15176 # see comment about AmigaOS4 .so support 15177 lt_prog_compiler_pic_CXX='-fPIC' 15178 ;; 15179 m68k) 15180 # FIXME: we need at least 68020 code to build shared libraries, but 15181 # adding the `-m68020' flag to GCC prevents building anything better, 15182 # like `-m68040'. 15183 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15184 ;; 15185 esac 15186 ;; 15187 15188 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15189 # PIC is the default for these OSes. 15190 ;; 15191 mingw* | cygwin* | os2* | pw32* | cegcc*) 15192 # This hack is so that the source file can tell whether it is being 15193 # built for inclusion in a dll (and should export symbols for example). 15194 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15195 # (--disable-auto-import) libraries 15196 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15197 ;; 15198 darwin* | rhapsody*) 15199 # PIC is the default on this platform 15200 # Common symbols not allowed in MH_DYLIB files 15201 lt_prog_compiler_pic_CXX='-fno-common' 15202 ;; 15203 *djgpp*) 15204 # DJGPP does not support shared libraries at all 15205 lt_prog_compiler_pic_CXX= 15206 ;; 15207 haiku*) 15208 # PIC is the default for Haiku. 15209 # The "-static" flag exists, but is broken. 15210 lt_prog_compiler_static_CXX= 15211 ;; 15212 interix[3-9]*) 15213 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15214 # Instead, we relocate shared libraries at runtime. 15215 ;; 15216 sysv4*MP*) 15217 if test -d /usr/nec; then 15218 lt_prog_compiler_pic_CXX=-Kconform_pic 15219 fi 15220 ;; 15221 hpux*) 15222 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15223 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15224 # sets the default TLS model and affects inlining. 15225 case $host_cpu in 15226 hppa*64*) 15227 ;; 15228 *) 15229 lt_prog_compiler_pic_CXX='-fPIC' 15230 ;; 15231 esac 15232 ;; 15233 *qnx* | *nto*) 15234 # QNX uses GNU C++, but need to define -shared option too, otherwise 15235 # it will coredump. 15236 lt_prog_compiler_pic_CXX='-fPIC -shared' 15237 ;; 15238 *) 15239 lt_prog_compiler_pic_CXX='-fPIC' 15240 ;; 15241 esac 15242 else 15243 case $host_os in 15244 aix[4-9]*) 15245 # All AIX code is PIC. 15246 if test "$host_cpu" = ia64; then 15247 # AIX 5 now supports IA64 processor 15248 lt_prog_compiler_static_CXX='-Bstatic' 15249 else 15250 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15251 fi 15252 ;; 15253 chorus*) 15254 case $cc_basename in 15255 cxch68*) 15256 # Green Hills C++ Compiler 15257 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 15258 ;; 15259 esac 15260 ;; 15261 mingw* | cygwin* | os2* | pw32* | cegcc*) 15262 # This hack is so that the source file can tell whether it is being 15263 # built for inclusion in a dll (and should export symbols for example). 15264 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15265 ;; 15266 dgux*) 15267 case $cc_basename in 15268 ec++*) 15269 lt_prog_compiler_pic_CXX='-KPIC' 15270 ;; 15271 ghcx*) 15272 # Green Hills C++ Compiler 15273 lt_prog_compiler_pic_CXX='-pic' 15274 ;; 15275 *) 15276 ;; 15277 esac 15278 ;; 15279 freebsd* | dragonfly*) 15280 # FreeBSD uses GNU C++ 15281 ;; 15282 hpux9* | hpux10* | hpux11*) 15283 case $cc_basename in 15284 CC*) 15285 lt_prog_compiler_wl_CXX='-Wl,' 15286 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 15287 if test "$host_cpu" != ia64; then 15288 lt_prog_compiler_pic_CXX='+Z' 15289 fi 15290 ;; 15291 aCC*) 15292 lt_prog_compiler_wl_CXX='-Wl,' 15293 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 15294 case $host_cpu in 15295 hppa*64*|ia64*) 15296 # +Z the default 15297 ;; 15298 *) 15299 lt_prog_compiler_pic_CXX='+Z' 15300 ;; 15301 esac 15302 ;; 15303 *) 15304 ;; 15305 esac 15306 ;; 15307 interix*) 15308 # This is c89, which is MS Visual C++ (no shared libs) 15309 # Anyone wants to do a port? 15310 ;; 15311 irix5* | irix6* | nonstopux*) 15312 case $cc_basename in 15313 CC*) 15314 lt_prog_compiler_wl_CXX='-Wl,' 15315 lt_prog_compiler_static_CXX='-non_shared' 15316 # CC pic flag -KPIC is the default. 15317 ;; 15318 *) 15319 ;; 15320 esac 15321 ;; 15322 linux* | k*bsd*-gnu | kopensolaris*-gnu) 15323 case $cc_basename in 15324 KCC*) 15325 # KAI C++ Compiler 15326 lt_prog_compiler_wl_CXX='--backend -Wl,' 15327 lt_prog_compiler_pic_CXX='-fPIC' 15328 ;; 15329 ecpc* ) 15330 # old Intel C++ for x86_64 which still supported -KPIC. 15331 lt_prog_compiler_wl_CXX='-Wl,' 15332 lt_prog_compiler_pic_CXX='-KPIC' 15333 lt_prog_compiler_static_CXX='-static' 15334 ;; 15335 icpc* ) 15336 # Intel C++, used to be incompatible with GCC. 15337 # ICC 10 doesn't accept -KPIC any more. 15338 lt_prog_compiler_wl_CXX='-Wl,' 15339 lt_prog_compiler_pic_CXX='-fPIC' 15340 lt_prog_compiler_static_CXX='-static' 15341 ;; 15342 pgCC* | pgcpp*) 15343 # Portland Group C++ compiler 15344 lt_prog_compiler_wl_CXX='-Wl,' 15345 lt_prog_compiler_pic_CXX='-fpic' 15346 lt_prog_compiler_static_CXX='-Bstatic' 15347 ;; 15348 cxx*) 15349 # Compaq C++ 15350 # Make sure the PIC flag is empty. It appears that all Alpha 15351 # Linux and Compaq Tru64 Unix objects are PIC. 15352 lt_prog_compiler_pic_CXX= 15353 lt_prog_compiler_static_CXX='-non_shared' 15354 ;; 15355 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15356 # IBM XL 8.0, 9.0 on PPC and BlueGene 15357 lt_prog_compiler_wl_CXX='-Wl,' 15358 lt_prog_compiler_pic_CXX='-qpic' 15359 lt_prog_compiler_static_CXX='-qstaticlink' 15360 ;; 15361 *) 15362 case `$CC -V 2>&1 | sed 5q` in 15363 *Sun\ C*) 15364 # Sun C++ 5.9 15365 lt_prog_compiler_pic_CXX='-KPIC' 15366 lt_prog_compiler_static_CXX='-Bstatic' 15367 lt_prog_compiler_wl_CXX='-Qoption ld ' 15368 ;; 15369 esac 15370 ;; 15371 esac 15372 ;; 15373 lynxos*) 15374 ;; 15375 m88k*) 15376 ;; 15377 mvs*) 15378 case $cc_basename in 15379 cxx*) 15380 lt_prog_compiler_pic_CXX='-W c,exportall' 15381 ;; 15382 *) 15383 ;; 15384 esac 15385 ;; 15386 netbsd* | netbsdelf*-gnu) 15387 ;; 15388 *qnx* | *nto*) 15389 # QNX uses GNU C++, but need to define -shared option too, otherwise 15390 # it will coredump. 15391 lt_prog_compiler_pic_CXX='-fPIC -shared' 15392 ;; 15393 osf3* | osf4* | osf5*) 15394 case $cc_basename in 15395 KCC*) 15396 lt_prog_compiler_wl_CXX='--backend -Wl,' 15397 ;; 15398 RCC*) 15399 # Rational C++ 2.4.1 15400 lt_prog_compiler_pic_CXX='-pic' 15401 ;; 15402 cxx*) 15403 # Digital/Compaq C++ 15404 lt_prog_compiler_wl_CXX='-Wl,' 15405 # Make sure the PIC flag is empty. It appears that all Alpha 15406 # Linux and Compaq Tru64 Unix objects are PIC. 15407 lt_prog_compiler_pic_CXX= 15408 lt_prog_compiler_static_CXX='-non_shared' 15409 ;; 15410 *) 15411 ;; 15412 esac 15413 ;; 15414 psos*) 15415 ;; 15416 solaris*) 15417 case $cc_basename in 15418 CC* | sunCC*) 15419 # Sun C++ 4.2, 5.x and Centerline C++ 15420 lt_prog_compiler_pic_CXX='-KPIC' 15421 lt_prog_compiler_static_CXX='-Bstatic' 15422 lt_prog_compiler_wl_CXX='-Qoption ld ' 15423 ;; 15424 gcx*) 15425 # Green Hills C++ Compiler 15426 lt_prog_compiler_pic_CXX='-PIC' 15427 ;; 15428 *) 15429 ;; 15430 esac 15431 ;; 15432 sunos4*) 15433 case $cc_basename in 15434 CC*) 15435 # Sun C++ 4.x 15436 lt_prog_compiler_pic_CXX='-pic' 15437 lt_prog_compiler_static_CXX='-Bstatic' 15438 ;; 15439 lcc*) 15440 # Lucid 15441 lt_prog_compiler_pic_CXX='-pic' 15442 ;; 15443 *) 15444 ;; 15445 esac 15446 ;; 15447 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15448 case $cc_basename in 15449 CC*) 15450 lt_prog_compiler_wl_CXX='-Wl,' 15451 lt_prog_compiler_pic_CXX='-KPIC' 15452 lt_prog_compiler_static_CXX='-Bstatic' 15453 ;; 15454 esac 15455 ;; 15456 tandem*) 15457 case $cc_basename in 15458 NCC*) 15459 # NonStop-UX NCC 3.20 15460 lt_prog_compiler_pic_CXX='-KPIC' 15461 ;; 15462 *) 15463 ;; 15464 esac 15465 ;; 15466 vxworks*) 15467 ;; 15468 *) 15469 lt_prog_compiler_can_build_shared_CXX=no 15470 ;; 15471 esac 15472 fi 15473 15474case $host_os in 15475 # For platforms which do not support PIC, -DPIC is meaningless: 15476 *djgpp*) 15477 lt_prog_compiler_pic_CXX= 15478 ;; 15479 *) 15480 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15481 ;; 15482esac 15483 15484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15485$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15486if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15487 $as_echo_n "(cached) " >&6 15488else 15489 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15490fi 15491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15492$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15493lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15494 15495# 15496# Check to make sure the PIC flag actually works. 15497# 15498if test -n "$lt_prog_compiler_pic_CXX"; then 15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15500$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15501if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15502 $as_echo_n "(cached) " >&6 15503else 15504 lt_cv_prog_compiler_pic_works_CXX=no 15505 ac_outfile=conftest.$ac_objext 15506 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15507 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 15508 # Insert the option either (1) after the last *FLAGS variable, or 15509 # (2) before a word containing "conftest.", or (3) at the end. 15510 # Note that $ac_compile itself does not contain backslashes and begins 15511 # with a dollar sign (not a hyphen), so the echo should work correctly. 15512 # The option is referenced via a variable to avoid confusing sed. 15513 lt_compile=`echo "$ac_compile" | $SED \ 15514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15516 -e 's:$: $lt_compiler_flag:'` 15517 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15518 (eval "$lt_compile" 2>conftest.err) 15519 ac_status=$? 15520 cat conftest.err >&5 15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15522 if (exit $ac_status) && test -s "$ac_outfile"; then 15523 # The compiler can only warn and ignore the option if not recognized 15524 # So say no if there are warnings other than the usual output. 15525 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15526 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15527 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15528 lt_cv_prog_compiler_pic_works_CXX=yes 15529 fi 15530 fi 15531 $RM conftest* 15532 15533fi 15534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15535$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15536 15537if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 15538 case $lt_prog_compiler_pic_CXX in 15539 "" | " "*) ;; 15540 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15541 esac 15542else 15543 lt_prog_compiler_pic_CXX= 15544 lt_prog_compiler_can_build_shared_CXX=no 15545fi 15546 15547fi 15548 15549 15550 15551 15552 15553# 15554# Check to make sure the static flag actually works. 15555# 15556wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15558$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15559if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15560 $as_echo_n "(cached) " >&6 15561else 15562 lt_cv_prog_compiler_static_works_CXX=no 15563 save_LDFLAGS="$LDFLAGS" 15564 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15565 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15566 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15567 # The linker can only warn and ignore the option if not recognized 15568 # So say no if there are warnings 15569 if test -s conftest.err; then 15570 # Append any errors to the config.log. 15571 cat conftest.err 1>&5 15572 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15573 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15574 if diff conftest.exp conftest.er2 >/dev/null; then 15575 lt_cv_prog_compiler_static_works_CXX=yes 15576 fi 15577 else 15578 lt_cv_prog_compiler_static_works_CXX=yes 15579 fi 15580 fi 15581 $RM -r conftest* 15582 LDFLAGS="$save_LDFLAGS" 15583 15584fi 15585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15586$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15587 15588if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 15589 : 15590else 15591 lt_prog_compiler_static_CXX= 15592fi 15593 15594 15595 15596 15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15598$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15599if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15600 $as_echo_n "(cached) " >&6 15601else 15602 lt_cv_prog_compiler_c_o_CXX=no 15603 $RM -r conftest 2>/dev/null 15604 mkdir conftest 15605 cd conftest 15606 mkdir out 15607 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15608 15609 lt_compiler_flag="-o out/conftest2.$ac_objext" 15610 # Insert the option either (1) after the last *FLAGS variable, or 15611 # (2) before a word containing "conftest.", or (3) at the end. 15612 # Note that $ac_compile itself does not contain backslashes and begins 15613 # with a dollar sign (not a hyphen), so the echo should work correctly. 15614 lt_compile=`echo "$ac_compile" | $SED \ 15615 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15616 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15617 -e 's:$: $lt_compiler_flag:'` 15618 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15619 (eval "$lt_compile" 2>out/conftest.err) 15620 ac_status=$? 15621 cat out/conftest.err >&5 15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15623 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15624 then 15625 # The compiler can only warn and ignore the option if not recognized 15626 # So say no if there are warnings 15627 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15628 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15629 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15630 lt_cv_prog_compiler_c_o_CXX=yes 15631 fi 15632 fi 15633 chmod u+w . 2>&5 15634 $RM conftest* 15635 # SGI C++ compiler will create directory out/ii_files/ for 15636 # template instantiation 15637 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15638 $RM out/* && rmdir out 15639 cd .. 15640 $RM -r conftest 15641 $RM conftest* 15642 15643fi 15644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15645$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15646 15647 15648 15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15650$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15651if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15652 $as_echo_n "(cached) " >&6 15653else 15654 lt_cv_prog_compiler_c_o_CXX=no 15655 $RM -r conftest 2>/dev/null 15656 mkdir conftest 15657 cd conftest 15658 mkdir out 15659 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15660 15661 lt_compiler_flag="-o out/conftest2.$ac_objext" 15662 # Insert the option either (1) after the last *FLAGS variable, or 15663 # (2) before a word containing "conftest.", or (3) at the end. 15664 # Note that $ac_compile itself does not contain backslashes and begins 15665 # with a dollar sign (not a hyphen), so the echo should work correctly. 15666 lt_compile=`echo "$ac_compile" | $SED \ 15667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15669 -e 's:$: $lt_compiler_flag:'` 15670 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15671 (eval "$lt_compile" 2>out/conftest.err) 15672 ac_status=$? 15673 cat out/conftest.err >&5 15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15675 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15676 then 15677 # The compiler can only warn and ignore the option if not recognized 15678 # So say no if there are warnings 15679 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15680 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15681 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15682 lt_cv_prog_compiler_c_o_CXX=yes 15683 fi 15684 fi 15685 chmod u+w . 2>&5 15686 $RM conftest* 15687 # SGI C++ compiler will create directory out/ii_files/ for 15688 # template instantiation 15689 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15690 $RM out/* && rmdir out 15691 cd .. 15692 $RM -r conftest 15693 $RM conftest* 15694 15695fi 15696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15697$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15698 15699 15700 15701 15702hard_links="nottested" 15703if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 15704 # do not overwrite the value of need_locks provided by the user 15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15706$as_echo_n "checking if we can lock with hard links... " >&6; } 15707 hard_links=yes 15708 $RM conftest* 15709 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15710 touch conftest.a 15711 ln conftest.a conftest.b 2>&5 || hard_links=no 15712 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15714$as_echo "$hard_links" >&6; } 15715 if test "$hard_links" = no; then 15716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 15717$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 15718 need_locks=warn 15719 fi 15720else 15721 need_locks=no 15722fi 15723 15724 15725 15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15727$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15728 15729 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15730 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15731 case $host_os in 15732 aix[4-9]*) 15733 # If we're using GNU nm, then we don't want the "-C" option. 15734 # -C means demangle to AIX nm, but means don't demangle with GNU nm 15735 # Also, AIX nm treats weak defined symbols like other global defined 15736 # symbols, whereas GNU nm marks them as "W". 15737 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15738 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 15739 else 15740 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 15741 fi 15742 ;; 15743 pw32*) 15744 export_symbols_cmds_CXX="$ltdll_cmds" 15745 ;; 15746 cygwin* | mingw* | cegcc*) 15747 case $cc_basename in 15748 cl*) 15749 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15750 ;; 15751 *) 15752 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 15753 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15754 ;; 15755 esac 15756 ;; 15757 linux* | k*bsd*-gnu | gnu*) 15758 link_all_deplibs_CXX=no 15759 ;; 15760 *) 15761 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15762 ;; 15763 esac 15764 15765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15766$as_echo "$ld_shlibs_CXX" >&6; } 15767test "$ld_shlibs_CXX" = no && can_build_shared=no 15768 15769with_gnu_ld_CXX=$with_gnu_ld 15770 15771 15772 15773 15774 15775 15776# 15777# Do we need to explicitly link libc? 15778# 15779case "x$archive_cmds_need_lc_CXX" in 15780x|xyes) 15781 # Assume -lc should be added 15782 archive_cmds_need_lc_CXX=yes 15783 15784 if test "$enable_shared" = yes && test "$GCC" = yes; then 15785 case $archive_cmds_CXX in 15786 *'~'*) 15787 # FIXME: we may have to deal with multi-command sequences. 15788 ;; 15789 '$CC '*) 15790 # Test whether the compiler implicitly links with -lc since on some 15791 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15792 # to ld, don't add -lc before -lgcc. 15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15794$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15795if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 15796 $as_echo_n "(cached) " >&6 15797else 15798 $RM conftest* 15799 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15800 15801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15802 (eval $ac_compile) 2>&5 15803 ac_status=$? 15804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15805 test $ac_status = 0; } 2>conftest.err; then 15806 soname=conftest 15807 lib=conftest 15808 libobjs=conftest.$ac_objext 15809 deplibs= 15810 wl=$lt_prog_compiler_wl_CXX 15811 pic_flag=$lt_prog_compiler_pic_CXX 15812 compiler_flags=-v 15813 linker_flags=-v 15814 verstring= 15815 output_objdir=. 15816 libname=conftest 15817 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 15818 allow_undefined_flag_CXX= 15819 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15820 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15821 ac_status=$? 15822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15823 test $ac_status = 0; } 15824 then 15825 lt_cv_archive_cmds_need_lc_CXX=no 15826 else 15827 lt_cv_archive_cmds_need_lc_CXX=yes 15828 fi 15829 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 15830 else 15831 cat conftest.err 1>&5 15832 fi 15833 $RM conftest* 15834 15835fi 15836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 15837$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 15838 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 15839 ;; 15840 esac 15841 fi 15842 ;; 15843esac 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15907$as_echo_n "checking dynamic linker characteristics... " >&6; } 15908 15909library_names_spec= 15910libname_spec='lib$name' 15911soname_spec= 15912shrext_cmds=".so" 15913postinstall_cmds= 15914postuninstall_cmds= 15915finish_cmds= 15916finish_eval= 15917shlibpath_var= 15918shlibpath_overrides_runpath=unknown 15919version_type=none 15920dynamic_linker="$host_os ld.so" 15921sys_lib_dlsearch_path_spec="/lib /usr/lib" 15922need_lib_prefix=unknown 15923hardcode_into_libs=no 15924 15925# when you set need_version to no, make sure it does not cause -set_version 15926# flags to be left without arguments 15927need_version=unknown 15928 15929case $host_os in 15930aix3*) 15931 version_type=linux # correct to gnu/linux during the next big refactor 15932 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 15933 shlibpath_var=LIBPATH 15934 15935 # AIX 3 has no versioning support, so we append a major version to the name. 15936 soname_spec='${libname}${release}${shared_ext}$major' 15937 ;; 15938 15939aix[4-9]*) 15940 version_type=linux # correct to gnu/linux during the next big refactor 15941 need_lib_prefix=no 15942 need_version=no 15943 hardcode_into_libs=yes 15944 if test "$host_cpu" = ia64; then 15945 # AIX 5 supports IA64 15946 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 15947 shlibpath_var=LD_LIBRARY_PATH 15948 else 15949 # With GCC up to 2.95.x, collect2 would create an import file 15950 # for dependence libraries. The import file would start with 15951 # the line `#! .'. This would cause the generated library to 15952 # depend on `.', always an invalid library. This was fixed in 15953 # development snapshots of GCC prior to 3.0. 15954 case $host_os in 15955 aix4 | aix4.[01] | aix4.[01].*) 15956 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15957 echo ' yes ' 15958 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 15959 : 15960 else 15961 can_build_shared=no 15962 fi 15963 ;; 15964 esac 15965 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 15966 # soname into executable. Probably we can add versioning support to 15967 # collect2, so additional links can be useful in future. 15968 if test "$aix_use_runtimelinking" = yes; then 15969 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15970 # instead of lib<name>.a to let people know that these are not 15971 # typical AIX shared libraries. 15972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15973 else 15974 # We preserve .a as extension for shared libraries through AIX4.2 15975 # and later when we are not doing run time linking. 15976 library_names_spec='${libname}${release}.a $libname.a' 15977 soname_spec='${libname}${release}${shared_ext}$major' 15978 fi 15979 shlibpath_var=LIBPATH 15980 fi 15981 ;; 15982 15983amigaos*) 15984 case $host_cpu in 15985 powerpc) 15986 # Since July 2007 AmigaOS4 officially supports .so libraries. 15987 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15989 ;; 15990 m68k) 15991 library_names_spec='$libname.ixlibrary $libname.a' 15992 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15993 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' 15994 ;; 15995 esac 15996 ;; 15997 15998beos*) 15999 library_names_spec='${libname}${shared_ext}' 16000 dynamic_linker="$host_os ld.so" 16001 shlibpath_var=LIBRARY_PATH 16002 ;; 16003 16004bsdi[45]*) 16005 version_type=linux # correct to gnu/linux during the next big refactor 16006 need_version=no 16007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16008 soname_spec='${libname}${release}${shared_ext}$major' 16009 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16010 shlibpath_var=LD_LIBRARY_PATH 16011 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16012 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16013 # the default ld.so.conf also contains /usr/contrib/lib and 16014 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16015 # libtool to hard-code these into programs 16016 ;; 16017 16018cygwin* | mingw* | pw32* | cegcc*) 16019 version_type=windows 16020 shrext_cmds=".dll" 16021 need_version=no 16022 need_lib_prefix=no 16023 16024 case $GCC,$cc_basename in 16025 yes,*) 16026 # gcc 16027 library_names_spec='$libname.dll.a' 16028 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16029 postinstall_cmds='base_file=`basename \${file}`~ 16030 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 16031 dldir=$destdir/`dirname \$dlpath`~ 16032 test -d \$dldir || mkdir -p \$dldir~ 16033 $install_prog $dir/$dlname \$dldir/$dlname~ 16034 chmod a+x \$dldir/$dlname~ 16035 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16036 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16037 fi' 16038 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16039 dlpath=$dir/\$dldll~ 16040 $RM \$dlpath' 16041 shlibpath_overrides_runpath=yes 16042 16043 case $host_os in 16044 cygwin*) 16045 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16046 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16047 16048 ;; 16049 mingw* | cegcc*) 16050 # MinGW DLLs use traditional 'lib' prefix 16051 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16052 ;; 16053 pw32*) 16054 # pw32 DLLs use 'pw' prefix rather than 'lib' 16055 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16056 ;; 16057 esac 16058 dynamic_linker='Win32 ld.exe' 16059 ;; 16060 16061 *,cl*) 16062 # Native MSVC 16063 libname_spec='$name' 16064 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16065 library_names_spec='${libname}.dll.lib' 16066 16067 case $build_os in 16068 mingw*) 16069 sys_lib_search_path_spec= 16070 lt_save_ifs=$IFS 16071 IFS=';' 16072 for lt_path in $LIB 16073 do 16074 IFS=$lt_save_ifs 16075 # Let DOS variable expansion print the short 8.3 style file name. 16076 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16077 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16078 done 16079 IFS=$lt_save_ifs 16080 # Convert to MSYS style. 16081 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16082 ;; 16083 cygwin*) 16084 # Convert to unix form, then to dos form, then back to unix form 16085 # but this time dos style (no spaces!) so that the unix form looks 16086 # like /cygdrive/c/PROGRA~1:/cygdr... 16087 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16088 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16089 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16090 ;; 16091 *) 16092 sys_lib_search_path_spec="$LIB" 16093 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16094 # It is most probably a Windows format PATH. 16095 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16096 else 16097 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16098 fi 16099 # FIXME: find the short name or the path components, as spaces are 16100 # common. (e.g. "Program Files" -> "PROGRA~1") 16101 ;; 16102 esac 16103 16104 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16105 postinstall_cmds='base_file=`basename \${file}`~ 16106 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 16107 dldir=$destdir/`dirname \$dlpath`~ 16108 test -d \$dldir || mkdir -p \$dldir~ 16109 $install_prog $dir/$dlname \$dldir/$dlname' 16110 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16111 dlpath=$dir/\$dldll~ 16112 $RM \$dlpath' 16113 shlibpath_overrides_runpath=yes 16114 dynamic_linker='Win32 link.exe' 16115 ;; 16116 16117 *) 16118 # Assume MSVC wrapper 16119 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 16120 dynamic_linker='Win32 ld.exe' 16121 ;; 16122 esac 16123 # FIXME: first we should search . and the directory the executable is in 16124 shlibpath_var=PATH 16125 ;; 16126 16127darwin* | rhapsody*) 16128 dynamic_linker="$host_os dyld" 16129 version_type=darwin 16130 need_lib_prefix=no 16131 need_version=no 16132 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 16133 soname_spec='${libname}${release}${major}$shared_ext' 16134 shlibpath_overrides_runpath=yes 16135 shlibpath_var=DYLD_LIBRARY_PATH 16136 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16137 16138 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16139 ;; 16140 16141dgux*) 16142 version_type=linux # correct to gnu/linux during the next big refactor 16143 need_lib_prefix=no 16144 need_version=no 16145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 16146 soname_spec='${libname}${release}${shared_ext}$major' 16147 shlibpath_var=LD_LIBRARY_PATH 16148 ;; 16149 16150freebsd* | dragonfly*) 16151 # DragonFly does not have aout. When/if they implement a new 16152 # versioning mechanism, adjust this. 16153 if test -x /usr/bin/objformat; then 16154 objformat=`/usr/bin/objformat` 16155 else 16156 case $host_os in 16157 freebsd[23].*) objformat=aout ;; 16158 *) objformat=elf ;; 16159 esac 16160 fi 16161 version_type=freebsd-$objformat 16162 case $version_type in 16163 freebsd-elf*) 16164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16165 need_version=no 16166 need_lib_prefix=no 16167 ;; 16168 freebsd-*) 16169 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 16170 need_version=yes 16171 ;; 16172 esac 16173 shlibpath_var=LD_LIBRARY_PATH 16174 case $host_os in 16175 freebsd2.*) 16176 shlibpath_overrides_runpath=yes 16177 ;; 16178 freebsd3.[01]* | freebsdelf3.[01]*) 16179 shlibpath_overrides_runpath=yes 16180 hardcode_into_libs=yes 16181 ;; 16182 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16183 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16184 shlibpath_overrides_runpath=no 16185 hardcode_into_libs=yes 16186 ;; 16187 *) # from 4.6 on, and DragonFly 16188 shlibpath_overrides_runpath=yes 16189 hardcode_into_libs=yes 16190 ;; 16191 esac 16192 ;; 16193 16194gnu*) 16195 version_type=linux # correct to gnu/linux during the next big refactor 16196 need_lib_prefix=no 16197 need_version=no 16198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 16199 soname_spec='${libname}${release}${shared_ext}$major' 16200 shlibpath_var=LD_LIBRARY_PATH 16201 shlibpath_overrides_runpath=no 16202 hardcode_into_libs=yes 16203 ;; 16204 16205haiku*) 16206 version_type=linux # correct to gnu/linux during the next big refactor 16207 need_lib_prefix=no 16208 need_version=no 16209 dynamic_linker="$host_os runtime_loader" 16210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 16211 soname_spec='${libname}${release}${shared_ext}$major' 16212 shlibpath_var=LIBRARY_PATH 16213 shlibpath_overrides_runpath=yes 16214 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16215 hardcode_into_libs=yes 16216 ;; 16217 16218hpux9* | hpux10* | hpux11*) 16219 # Give a soname corresponding to the major version so that dld.sl refuses to 16220 # link against other versions. 16221 version_type=sunos 16222 need_lib_prefix=no 16223 need_version=no 16224 case $host_cpu in 16225 ia64*) 16226 shrext_cmds='.so' 16227 hardcode_into_libs=yes 16228 dynamic_linker="$host_os dld.so" 16229 shlibpath_var=LD_LIBRARY_PATH 16230 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16232 soname_spec='${libname}${release}${shared_ext}$major' 16233 if test "X$HPUX_IA64_MODE" = X32; then 16234 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16235 else 16236 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16237 fi 16238 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16239 ;; 16240 hppa*64*) 16241 shrext_cmds='.sl' 16242 hardcode_into_libs=yes 16243 dynamic_linker="$host_os dld.sl" 16244 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16245 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16247 soname_spec='${libname}${release}${shared_ext}$major' 16248 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16249 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16250 ;; 16251 *) 16252 shrext_cmds='.sl' 16253 dynamic_linker="$host_os dld.sl" 16254 shlibpath_var=SHLIB_PATH 16255 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16257 soname_spec='${libname}${release}${shared_ext}$major' 16258 ;; 16259 esac 16260 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16261 postinstall_cmds='chmod 555 $lib' 16262 # or fails outright, so override atomically: 16263 install_override_mode=555 16264 ;; 16265 16266interix[3-9]*) 16267 version_type=linux # correct to gnu/linux during the next big refactor 16268 need_lib_prefix=no 16269 need_version=no 16270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16271 soname_spec='${libname}${release}${shared_ext}$major' 16272 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16273 shlibpath_var=LD_LIBRARY_PATH 16274 shlibpath_overrides_runpath=no 16275 hardcode_into_libs=yes 16276 ;; 16277 16278irix5* | irix6* | nonstopux*) 16279 case $host_os in 16280 nonstopux*) version_type=nonstopux ;; 16281 *) 16282 if test "$lt_cv_prog_gnu_ld" = yes; then 16283 version_type=linux # correct to gnu/linux during the next big refactor 16284 else 16285 version_type=irix 16286 fi ;; 16287 esac 16288 need_lib_prefix=no 16289 need_version=no 16290 soname_spec='${libname}${release}${shared_ext}$major' 16291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 16292 case $host_os in 16293 irix5* | nonstopux*) 16294 libsuff= shlibsuff= 16295 ;; 16296 *) 16297 case $LD in # libtool.m4 will add one of these switches to LD 16298 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16299 libsuff= shlibsuff= libmagic=32-bit;; 16300 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16301 libsuff=32 shlibsuff=N32 libmagic=N32;; 16302 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16303 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16304 *) libsuff= shlibsuff= libmagic=never-match;; 16305 esac 16306 ;; 16307 esac 16308 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16309 shlibpath_overrides_runpath=no 16310 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 16311 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 16312 hardcode_into_libs=yes 16313 ;; 16314 16315# No shared lib support for Linux oldld, aout, or coff. 16316linux*oldld* | linux*aout* | linux*coff*) 16317 dynamic_linker=no 16318 ;; 16319 16320# This must be glibc/ELF. 16321linux* | k*bsd*-gnu | kopensolaris*-gnu) 16322 version_type=linux # correct to gnu/linux during the next big refactor 16323 need_lib_prefix=no 16324 need_version=no 16325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16326 soname_spec='${libname}${release}${shared_ext}$major' 16327 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16328 shlibpath_var=LD_LIBRARY_PATH 16329 shlibpath_overrides_runpath=no 16330 16331 # Some binutils ld are patched to set DT_RUNPATH 16332 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16333 $as_echo_n "(cached) " >&6 16334else 16335 lt_cv_shlibpath_overrides_runpath=no 16336 save_LDFLAGS=$LDFLAGS 16337 save_libdir=$libdir 16338 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16339 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16341/* end confdefs.h. */ 16342 16343int 16344main () 16345{ 16346 16347 ; 16348 return 0; 16349} 16350_ACEOF 16351if ac_fn_cxx_try_link "$LINENO"; then : 16352 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16353 lt_cv_shlibpath_overrides_runpath=yes 16354fi 16355fi 16356rm -f core conftest.err conftest.$ac_objext \ 16357 conftest$ac_exeext conftest.$ac_ext 16358 LDFLAGS=$save_LDFLAGS 16359 libdir=$save_libdir 16360 16361fi 16362 16363 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16364 16365 # This implies no fast_install, which is unacceptable. 16366 # Some rework will be needed to allow for fast_install 16367 # before this can be enabled. 16368 hardcode_into_libs=yes 16369 16370 # Append ld.so.conf contents to the search path 16371 if test -f /etc/ld.so.conf; then 16372 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' ' '` 16373 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 16374 fi 16375 16376 # We used to test for /lib/ld.so.1 and disable shared libraries on 16377 # powerpc, because MkLinux only supported shared libraries with the 16378 # GNU dynamic linker. Since this was broken with cross compilers, 16379 # most powerpc-linux boxes support dynamic linking these days and 16380 # people can always --disable-shared, the test was removed, and we 16381 # assume the GNU/Linux dynamic linker is in use. 16382 dynamic_linker='GNU/Linux ld.so' 16383 ;; 16384 16385netbsdelf*-gnu) 16386 version_type=linux 16387 need_lib_prefix=no 16388 need_version=no 16389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16390 soname_spec='${libname}${release}${shared_ext}$major' 16391 shlibpath_var=LD_LIBRARY_PATH 16392 shlibpath_overrides_runpath=no 16393 hardcode_into_libs=yes 16394 dynamic_linker='NetBSD ld.elf_so' 16395 ;; 16396 16397netbsd*) 16398 version_type=sunos 16399 need_lib_prefix=no 16400 need_version=no 16401 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16403 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16404 dynamic_linker='NetBSD (a.out) ld.so' 16405 else 16406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16407 soname_spec='${libname}${release}${shared_ext}$major' 16408 dynamic_linker='NetBSD ld.elf_so' 16409 fi 16410 shlibpath_var=LD_LIBRARY_PATH 16411 shlibpath_overrides_runpath=yes 16412 hardcode_into_libs=yes 16413 ;; 16414 16415newsos6) 16416 version_type=linux # correct to gnu/linux during the next big refactor 16417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16418 shlibpath_var=LD_LIBRARY_PATH 16419 shlibpath_overrides_runpath=yes 16420 ;; 16421 16422*nto* | *qnx*) 16423 version_type=qnx 16424 need_lib_prefix=no 16425 need_version=no 16426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16427 soname_spec='${libname}${release}${shared_ext}$major' 16428 shlibpath_var=LD_LIBRARY_PATH 16429 shlibpath_overrides_runpath=no 16430 hardcode_into_libs=yes 16431 dynamic_linker='ldqnx.so' 16432 ;; 16433 16434openbsd*) 16435 version_type=sunos 16436 sys_lib_dlsearch_path_spec="/usr/lib" 16437 need_lib_prefix=no 16438 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 16439 case $host_os in 16440 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 16441 *) need_version=no ;; 16442 esac 16443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16444 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16445 shlibpath_var=LD_LIBRARY_PATH 16446 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 16447 case $host_os in 16448 openbsd2.[89] | openbsd2.[89].*) 16449 shlibpath_overrides_runpath=no 16450 ;; 16451 *) 16452 shlibpath_overrides_runpath=yes 16453 ;; 16454 esac 16455 else 16456 shlibpath_overrides_runpath=yes 16457 fi 16458 ;; 16459 16460os2*) 16461 libname_spec='$name' 16462 shrext_cmds=".dll" 16463 need_lib_prefix=no 16464 library_names_spec='$libname${shared_ext} $libname.a' 16465 dynamic_linker='OS/2 ld.exe' 16466 shlibpath_var=LIBPATH 16467 ;; 16468 16469osf3* | osf4* | osf5*) 16470 version_type=osf 16471 need_lib_prefix=no 16472 need_version=no 16473 soname_spec='${libname}${release}${shared_ext}$major' 16474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16475 shlibpath_var=LD_LIBRARY_PATH 16476 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16477 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 16478 ;; 16479 16480rdos*) 16481 dynamic_linker=no 16482 ;; 16483 16484solaris*) 16485 version_type=linux # correct to gnu/linux during the next big refactor 16486 need_lib_prefix=no 16487 need_version=no 16488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16489 soname_spec='${libname}${release}${shared_ext}$major' 16490 shlibpath_var=LD_LIBRARY_PATH 16491 shlibpath_overrides_runpath=yes 16492 hardcode_into_libs=yes 16493 # ldd complains unless libraries are executable 16494 postinstall_cmds='chmod +x $lib' 16495 ;; 16496 16497sunos4*) 16498 version_type=sunos 16499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16500 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16501 shlibpath_var=LD_LIBRARY_PATH 16502 shlibpath_overrides_runpath=yes 16503 if test "$with_gnu_ld" = yes; then 16504 need_lib_prefix=no 16505 fi 16506 need_version=yes 16507 ;; 16508 16509sysv4 | sysv4.3*) 16510 version_type=linux # correct to gnu/linux during the next big refactor 16511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16512 soname_spec='${libname}${release}${shared_ext}$major' 16513 shlibpath_var=LD_LIBRARY_PATH 16514 case $host_vendor in 16515 sni) 16516 shlibpath_overrides_runpath=no 16517 need_lib_prefix=no 16518 runpath_var=LD_RUN_PATH 16519 ;; 16520 siemens) 16521 need_lib_prefix=no 16522 ;; 16523 motorola) 16524 need_lib_prefix=no 16525 need_version=no 16526 shlibpath_overrides_runpath=no 16527 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16528 ;; 16529 esac 16530 ;; 16531 16532sysv4*MP*) 16533 if test -d /usr/nec ;then 16534 version_type=linux # correct to gnu/linux during the next big refactor 16535 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 16536 soname_spec='$libname${shared_ext}.$major' 16537 shlibpath_var=LD_LIBRARY_PATH 16538 fi 16539 ;; 16540 16541sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16542 version_type=freebsd-elf 16543 need_lib_prefix=no 16544 need_version=no 16545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16546 soname_spec='${libname}${release}${shared_ext}$major' 16547 shlibpath_var=LD_LIBRARY_PATH 16548 shlibpath_overrides_runpath=yes 16549 hardcode_into_libs=yes 16550 if test "$with_gnu_ld" = yes; then 16551 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16552 else 16553 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16554 case $host_os in 16555 sco3.2v5*) 16556 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16557 ;; 16558 esac 16559 fi 16560 sys_lib_dlsearch_path_spec='/usr/lib' 16561 ;; 16562 16563tpf*) 16564 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16565 version_type=linux # correct to gnu/linux during the next big refactor 16566 need_lib_prefix=no 16567 need_version=no 16568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16569 shlibpath_var=LD_LIBRARY_PATH 16570 shlibpath_overrides_runpath=no 16571 hardcode_into_libs=yes 16572 ;; 16573 16574uts4*) 16575 version_type=linux # correct to gnu/linux during the next big refactor 16576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16577 soname_spec='${libname}${release}${shared_ext}$major' 16578 shlibpath_var=LD_LIBRARY_PATH 16579 ;; 16580 16581*) 16582 dynamic_linker=no 16583 ;; 16584esac 16585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16586$as_echo "$dynamic_linker" >&6; } 16587test "$dynamic_linker" = no && can_build_shared=no 16588 16589variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16590if test "$GCC" = yes; then 16591 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16592fi 16593 16594if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 16595 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 16596fi 16597if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 16598 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 16599fi 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16639$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16640hardcode_action_CXX= 16641if test -n "$hardcode_libdir_flag_spec_CXX" || 16642 test -n "$runpath_var_CXX" || 16643 test "X$hardcode_automatic_CXX" = "Xyes" ; then 16644 16645 # We can hardcode non-existent directories. 16646 if test "$hardcode_direct_CXX" != no && 16647 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16648 # have to relink, otherwise we might link with an installed library 16649 # when we should be linking with a yet-to-be-installed one 16650 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 16651 test "$hardcode_minus_L_CXX" != no; then 16652 # Linking always hardcodes the temporary library directory. 16653 hardcode_action_CXX=relink 16654 else 16655 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16656 hardcode_action_CXX=immediate 16657 fi 16658else 16659 # We cannot hardcode anything, or else we can only hardcode existing 16660 # directories. 16661 hardcode_action_CXX=unsupported 16662fi 16663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16664$as_echo "$hardcode_action_CXX" >&6; } 16665 16666if test "$hardcode_action_CXX" = relink || 16667 test "$inherit_rpath_CXX" = yes; then 16668 # Fast installation is not supported 16669 enable_fast_install=no 16670elif test "$shlibpath_overrides_runpath" = yes || 16671 test "$enable_shared" = no; then 16672 # Fast installation is not necessary 16673 enable_fast_install=needless 16674fi 16675 16676 16677 16678 16679 16680 16681 16682 fi # test -n "$compiler" 16683 16684 CC=$lt_save_CC 16685 CFLAGS=$lt_save_CFLAGS 16686 LDCXX=$LD 16687 LD=$lt_save_LD 16688 GCC=$lt_save_GCC 16689 with_gnu_ld=$lt_save_with_gnu_ld 16690 lt_cv_path_LDCXX=$lt_cv_path_LD 16691 lt_cv_path_LD=$lt_save_path_LD 16692 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16693 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16694fi # test "$_lt_caught_CXX_error" != yes 16695 16696ac_ext=c 16697ac_cpp='$CPP $CPPFLAGS' 16698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16700ac_compiler_gnu=$ac_cv_c_compiler_gnu 16701 16702 16703ac_ext=m 16704ac_cpp='$OBJCPP $CPPFLAGS' 16705ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16706ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16707ac_compiler_gnu=$ac_cv_objc_compiler_gnu 16708if test -n "$ac_tool_prefix"; then 16709 for ac_prog in gcc objcc objc cc CC 16710 do 16711 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 16712set dummy $ac_tool_prefix$ac_prog; ac_word=$2 16713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16714$as_echo_n "checking for $ac_word... " >&6; } 16715if ${ac_cv_prog_OBJC+:} false; then : 16716 $as_echo_n "(cached) " >&6 16717else 16718 if test -n "$OBJC"; then 16719 ac_cv_prog_OBJC="$OBJC" # Let the user override the test. 16720else 16721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16722for as_dir in $PATH 16723do 16724 IFS=$as_save_IFS 16725 test -z "$as_dir" && as_dir=. 16726 for ac_exec_ext in '' $ac_executable_extensions; do 16727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 16728 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog" 16729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16730 break 2 16731 fi 16732done 16733 done 16734IFS=$as_save_IFS 16735 16736fi 16737fi 16738OBJC=$ac_cv_prog_OBJC 16739if test -n "$OBJC"; then 16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5 16741$as_echo "$OBJC" >&6; } 16742else 16743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16744$as_echo "no" >&6; } 16745fi 16746 16747 16748 test -n "$OBJC" && break 16749 done 16750fi 16751if test -z "$OBJC"; then 16752 ac_ct_OBJC=$OBJC 16753 for ac_prog in gcc objcc objc cc CC 16754do 16755 # Extract the first word of "$ac_prog", so it can be a program name with args. 16756set dummy $ac_prog; ac_word=$2 16757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16758$as_echo_n "checking for $ac_word... " >&6; } 16759if ${ac_cv_prog_ac_ct_OBJC+:} false; then : 16760 $as_echo_n "(cached) " >&6 16761else 16762 if test -n "$ac_ct_OBJC"; then 16763 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test. 16764else 16765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16766for as_dir in $PATH 16767do 16768 IFS=$as_save_IFS 16769 test -z "$as_dir" && as_dir=. 16770 for ac_exec_ext in '' $ac_executable_extensions; do 16771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 16772 ac_cv_prog_ac_ct_OBJC="$ac_prog" 16773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16774 break 2 16775 fi 16776done 16777 done 16778IFS=$as_save_IFS 16779 16780fi 16781fi 16782ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC 16783if test -n "$ac_ct_OBJC"; then 16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5 16785$as_echo "$ac_ct_OBJC" >&6; } 16786else 16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16788$as_echo "no" >&6; } 16789fi 16790 16791 16792 test -n "$ac_ct_OBJC" && break 16793done 16794 16795 if test "x$ac_ct_OBJC" = x; then 16796 OBJC="gcc" 16797 else 16798 case $cross_compiling:$ac_tool_warned in 16799yes:) 16800{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16801$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16802ac_tool_warned=yes ;; 16803esac 16804 OBJC=$ac_ct_OBJC 16805 fi 16806fi 16807 16808# Provide some information about the compiler. 16809$as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5 16810set X $ac_compile 16811ac_compiler=$2 16812for ac_option in --version -v -V -qversion; do 16813 { { ac_try="$ac_compiler $ac_option >&5" 16814case "(($ac_try" in 16815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16816 *) ac_try_echo=$ac_try;; 16817esac 16818eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16819$as_echo "$ac_try_echo"; } >&5 16820 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 16821 ac_status=$? 16822 if test -s conftest.err; then 16823 sed '10a\ 16824... rest of stderr output deleted ... 16825 10q' conftest.err >conftest.er1 16826 cat conftest.er1 >&5 16827 fi 16828 rm -f conftest.er1 conftest.err 16829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16830 test $ac_status = 0; } 16831done 16832 16833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5 16834$as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; } 16835if ${ac_cv_objc_compiler_gnu+:} false; then : 16836 $as_echo_n "(cached) " >&6 16837else 16838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16839/* end confdefs.h. */ 16840 16841int 16842main () 16843{ 16844#ifndef __GNUC__ 16845 choke me 16846#endif 16847 16848 ; 16849 return 0; 16850} 16851_ACEOF 16852if ac_fn_objc_try_compile "$LINENO"; then : 16853 ac_compiler_gnu=yes 16854else 16855 ac_compiler_gnu=no 16856fi 16857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16858ac_cv_objc_compiler_gnu=$ac_compiler_gnu 16859 16860fi 16861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5 16862$as_echo "$ac_cv_objc_compiler_gnu" >&6; } 16863if test $ac_compiler_gnu = yes; then 16864 GOBJC=yes 16865else 16866 GOBJC= 16867fi 16868ac_test_OBJCFLAGS=${OBJCFLAGS+set} 16869ac_save_OBJCFLAGS=$OBJCFLAGS 16870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5 16871$as_echo_n "checking whether $OBJC accepts -g... " >&6; } 16872if ${ac_cv_prog_objc_g+:} false; then : 16873 $as_echo_n "(cached) " >&6 16874else 16875 ac_save_objc_werror_flag=$ac_objc_werror_flag 16876 ac_objc_werror_flag=yes 16877 ac_cv_prog_objc_g=no 16878 OBJCFLAGS="-g" 16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16880/* end confdefs.h. */ 16881 16882int 16883main () 16884{ 16885 16886 ; 16887 return 0; 16888} 16889_ACEOF 16890if ac_fn_objc_try_compile "$LINENO"; then : 16891 ac_cv_prog_objc_g=yes 16892else 16893 OBJCFLAGS="" 16894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16895/* end confdefs.h. */ 16896 16897int 16898main () 16899{ 16900 16901 ; 16902 return 0; 16903} 16904_ACEOF 16905if ac_fn_objc_try_compile "$LINENO"; then : 16906 16907else 16908 ac_objc_werror_flag=$ac_save_objc_werror_flag 16909 OBJCFLAGS="-g" 16910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16911/* end confdefs.h. */ 16912 16913int 16914main () 16915{ 16916 16917 ; 16918 return 0; 16919} 16920_ACEOF 16921if ac_fn_objc_try_compile "$LINENO"; then : 16922 ac_cv_prog_objc_g=yes 16923fi 16924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16925fi 16926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16927fi 16928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16929 ac_objc_werror_flag=$ac_save_objc_werror_flag 16930fi 16931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5 16932$as_echo "$ac_cv_prog_objc_g" >&6; } 16933if test "$ac_test_OBJCFLAGS" = set; then 16934 OBJCFLAGS=$ac_save_OBJCFLAGS 16935elif test $ac_cv_prog_objc_g = yes; then 16936 if test "$GOBJC" = yes; then 16937 OBJCFLAGS="-g -O2" 16938 else 16939 OBJCFLAGS="-g" 16940 fi 16941else 16942 if test "$GOBJC" = yes; then 16943 OBJCFLAGS="-O2" 16944 else 16945 OBJCFLAGS= 16946 fi 16947fi 16948ac_ext=c 16949ac_cpp='$CPP $CPPFLAGS' 16950ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16951ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16952ac_compiler_gnu=$ac_cv_c_compiler_gnu 16953 16954depcc="$OBJC" am_compiler_list='gcc3 gcc' 16955 16956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 16957$as_echo_n "checking dependency style of $depcc... " >&6; } 16958if ${am_cv_OBJC_dependencies_compiler_type+:} false; then : 16959 $as_echo_n "(cached) " >&6 16960else 16961 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 16962 # We make a subdir and do the tests there. Otherwise we can end up 16963 # making bogus files that we don't know about and never remove. For 16964 # instance it was reported that on HP-UX the gcc test will end up 16965 # making a dummy file named `D' -- because `-MD' means `put the output 16966 # in D'. 16967 rm -rf conftest.dir 16968 mkdir conftest.dir 16969 # Copy depcomp to subdir because otherwise we won't find it if we're 16970 # using a relative directory. 16971 cp "$am_depcomp" conftest.dir 16972 cd conftest.dir 16973 # We will build objects and dependencies in a subdirectory because 16974 # it helps to detect inapplicable dependency modes. For instance 16975 # both Tru64's cc and ICC support -MD to output dependencies as a 16976 # side effect of compilation, but ICC will put the dependencies in 16977 # the current directory while Tru64 will put them in the object 16978 # directory. 16979 mkdir sub 16980 16981 am_cv_OBJC_dependencies_compiler_type=none 16982 if test "$am_compiler_list" = ""; then 16983 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 16984 fi 16985 am__universal=false 16986 16987 16988 for depmode in $am_compiler_list; do 16989 # Setup a source with many dependencies, because some compilers 16990 # like to wrap large dependency lists on column 80 (with \), and 16991 # we should not choose a depcomp mode which is confused by this. 16992 # 16993 # We need to recreate these files for each test, as the compiler may 16994 # overwrite some of them when testing with obscure command lines. 16995 # This happens at least with the AIX C compiler. 16996 : > sub/conftest.c 16997 for i in 1 2 3 4 5 6; do 16998 echo '#include "conftst'$i'.h"' >> sub/conftest.c 16999 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 17000 # Solaris 8's {/usr,}/bin/sh. 17001 touch sub/conftst$i.h 17002 done 17003 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 17004 17005 # We check with `-c' and `-o' for the sake of the "dashmstdout" 17006 # mode. It turns out that the SunPro C++ compiler does not properly 17007 # handle `-M -o', and we need to detect this. Also, some Intel 17008 # versions had trouble with output in subdirs 17009 am__obj=sub/conftest.${OBJEXT-o} 17010 am__minus_obj="-o $am__obj" 17011 case $depmode in 17012 gcc) 17013 # This depmode causes a compiler race in universal mode. 17014 test "$am__universal" = false || continue 17015 ;; 17016 nosideeffect) 17017 # after this tag, mechanisms are not by side-effect, so they'll 17018 # only be used when explicitly requested 17019 if test "x$enable_dependency_tracking" = xyes; then 17020 continue 17021 else 17022 break 17023 fi 17024 ;; 17025 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 17026 # This compiler won't grok `-c -o', but also, the minuso test has 17027 # not run yet. These depmodes are late enough in the game, and 17028 # so weak that their functioning should not be impacted. 17029 am__obj=conftest.${OBJEXT-o} 17030 am__minus_obj= 17031 ;; 17032 none) break ;; 17033 esac 17034 if depmode=$depmode \ 17035 source=sub/conftest.c object=$am__obj \ 17036 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 17037 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 17038 >/dev/null 2>conftest.err && 17039 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 17040 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 17041 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 17042 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 17043 # icc doesn't choke on unknown options, it will just issue warnings 17044 # or remarks (even with -Werror). So we grep stderr for any message 17045 # that says an option was ignored or not supported. 17046 # When given -MP, icc 7.0 and 7.1 complain thusly: 17047 # icc: Command line warning: ignoring option '-M'; no argument required 17048 # The diagnosis changed in icc 8.0: 17049 # icc: Command line remark: option '-MP' not supported 17050 if (grep 'ignoring option' conftest.err || 17051 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 17052 am_cv_OBJC_dependencies_compiler_type=$depmode 17053 break 17054 fi 17055 fi 17056 done 17057 17058 cd .. 17059 rm -rf conftest.dir 17060else 17061 am_cv_OBJC_dependencies_compiler_type=none 17062fi 17063 17064fi 17065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5 17066$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; } 17067OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type 17068 17069 if 17070 test "x$enable_dependency_tracking" != xno \ 17071 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then 17072 am__fastdepOBJC_TRUE= 17073 am__fastdepOBJC_FALSE='#' 17074else 17075 am__fastdepOBJC_TRUE='#' 17076 am__fastdepOBJC_FALSE= 17077fi 17078 17079 17080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 17081$as_echo_n "checking for ANSI C header files... " >&6; } 17082if ${ac_cv_header_stdc+:} false; then : 17083 $as_echo_n "(cached) " >&6 17084else 17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17086/* end confdefs.h. */ 17087#include <stdlib.h> 17088#include <stdarg.h> 17089#include <string.h> 17090#include <float.h> 17091 17092int 17093main () 17094{ 17095 17096 ; 17097 return 0; 17098} 17099_ACEOF 17100if ac_fn_c_try_compile "$LINENO"; then : 17101 ac_cv_header_stdc=yes 17102else 17103 ac_cv_header_stdc=no 17104fi 17105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17106 17107if test $ac_cv_header_stdc = yes; then 17108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17110/* end confdefs.h. */ 17111#include <string.h> 17112 17113_ACEOF 17114if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17115 $EGREP "memchr" >/dev/null 2>&1; then : 17116 17117else 17118 ac_cv_header_stdc=no 17119fi 17120rm -f conftest* 17121 17122fi 17123 17124if test $ac_cv_header_stdc = yes; then 17125 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17127/* end confdefs.h. */ 17128#include <stdlib.h> 17129 17130_ACEOF 17131if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17132 $EGREP "free" >/dev/null 2>&1; then : 17133 17134else 17135 ac_cv_header_stdc=no 17136fi 17137rm -f conftest* 17138 17139fi 17140 17141if test $ac_cv_header_stdc = yes; then 17142 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 17143 if test "$cross_compiling" = yes; then : 17144 : 17145else 17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17147/* end confdefs.h. */ 17148#include <ctype.h> 17149#include <stdlib.h> 17150#if ((' ' & 0x0FF) == 0x020) 17151# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 17152# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 17153#else 17154# define ISLOWER(c) \ 17155 (('a' <= (c) && (c) <= 'i') \ 17156 || ('j' <= (c) && (c) <= 'r') \ 17157 || ('s' <= (c) && (c) <= 'z')) 17158# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 17159#endif 17160 17161#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 17162int 17163main () 17164{ 17165 int i; 17166 for (i = 0; i < 256; i++) 17167 if (XOR (islower (i), ISLOWER (i)) 17168 || toupper (i) != TOUPPER (i)) 17169 return 2; 17170 return 0; 17171} 17172_ACEOF 17173if ac_fn_c_try_run "$LINENO"; then : 17174 17175else 17176 ac_cv_header_stdc=no 17177fi 17178rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17179 conftest.$ac_objext conftest.beam conftest.$ac_ext 17180fi 17181 17182fi 17183fi 17184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 17185$as_echo "$ac_cv_header_stdc" >&6; } 17186if test $ac_cv_header_stdc = yes; then 17187 17188$as_echo "#define STDC_HEADERS 1" >>confdefs.h 17189 17190fi 17191 17192 17193 17194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 17195$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 17196if ${ac_cv_c_bigendian+:} false; then : 17197 $as_echo_n "(cached) " >&6 17198else 17199 ac_cv_c_bigendian=unknown 17200 # See if we're dealing with a universal compiler. 17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17202/* end confdefs.h. */ 17203#ifndef __APPLE_CC__ 17204 not a universal capable compiler 17205 #endif 17206 typedef int dummy; 17207 17208_ACEOF 17209if ac_fn_c_try_compile "$LINENO"; then : 17210 17211 # Check for potential -arch flags. It is not universal unless 17212 # there are at least two -arch flags with different values. 17213 ac_arch= 17214 ac_prev= 17215 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 17216 if test -n "$ac_prev"; then 17217 case $ac_word in 17218 i?86 | x86_64 | ppc | ppc64) 17219 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 17220 ac_arch=$ac_word 17221 else 17222 ac_cv_c_bigendian=universal 17223 break 17224 fi 17225 ;; 17226 esac 17227 ac_prev= 17228 elif test "x$ac_word" = "x-arch"; then 17229 ac_prev=arch 17230 fi 17231 done 17232fi 17233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17234 if test $ac_cv_c_bigendian = unknown; then 17235 # See if sys/param.h defines the BYTE_ORDER macro. 17236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17237/* end confdefs.h. */ 17238#include <sys/types.h> 17239 #include <sys/param.h> 17240 17241int 17242main () 17243{ 17244#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 17245 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 17246 && LITTLE_ENDIAN) 17247 bogus endian macros 17248 #endif 17249 17250 ; 17251 return 0; 17252} 17253_ACEOF 17254if ac_fn_c_try_compile "$LINENO"; then : 17255 # It does; now see whether it defined to BIG_ENDIAN or not. 17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17257/* end confdefs.h. */ 17258#include <sys/types.h> 17259 #include <sys/param.h> 17260 17261int 17262main () 17263{ 17264#if BYTE_ORDER != BIG_ENDIAN 17265 not big endian 17266 #endif 17267 17268 ; 17269 return 0; 17270} 17271_ACEOF 17272if ac_fn_c_try_compile "$LINENO"; then : 17273 ac_cv_c_bigendian=yes 17274else 17275 ac_cv_c_bigendian=no 17276fi 17277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17278fi 17279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17280 fi 17281 if test $ac_cv_c_bigendian = unknown; then 17282 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17284/* end confdefs.h. */ 17285#include <limits.h> 17286 17287int 17288main () 17289{ 17290#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 17291 bogus endian macros 17292 #endif 17293 17294 ; 17295 return 0; 17296} 17297_ACEOF 17298if ac_fn_c_try_compile "$LINENO"; then : 17299 # It does; now see whether it defined to _BIG_ENDIAN or not. 17300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17301/* end confdefs.h. */ 17302#include <limits.h> 17303 17304int 17305main () 17306{ 17307#ifndef _BIG_ENDIAN 17308 not big endian 17309 #endif 17310 17311 ; 17312 return 0; 17313} 17314_ACEOF 17315if ac_fn_c_try_compile "$LINENO"; then : 17316 ac_cv_c_bigendian=yes 17317else 17318 ac_cv_c_bigendian=no 17319fi 17320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17321fi 17322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17323 fi 17324 if test $ac_cv_c_bigendian = unknown; then 17325 # Compile a test program. 17326 if test "$cross_compiling" = yes; then : 17327 # Try to guess by grepping values from an object file. 17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17329/* end confdefs.h. */ 17330short int ascii_mm[] = 17331 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 17332 short int ascii_ii[] = 17333 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 17334 int use_ascii (int i) { 17335 return ascii_mm[i] + ascii_ii[i]; 17336 } 17337 short int ebcdic_ii[] = 17338 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 17339 short int ebcdic_mm[] = 17340 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 17341 int use_ebcdic (int i) { 17342 return ebcdic_mm[i] + ebcdic_ii[i]; 17343 } 17344 extern int foo; 17345 17346int 17347main () 17348{ 17349return use_ascii (foo) == use_ebcdic (foo); 17350 ; 17351 return 0; 17352} 17353_ACEOF 17354if ac_fn_c_try_compile "$LINENO"; then : 17355 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 17356 ac_cv_c_bigendian=yes 17357 fi 17358 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 17359 if test "$ac_cv_c_bigendian" = unknown; then 17360 ac_cv_c_bigendian=no 17361 else 17362 # finding both strings is unlikely to happen, but who knows? 17363 ac_cv_c_bigendian=unknown 17364 fi 17365 fi 17366fi 17367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17368else 17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17370/* end confdefs.h. */ 17371$ac_includes_default 17372int 17373main () 17374{ 17375 17376 /* Are we little or big endian? From Harbison&Steele. */ 17377 union 17378 { 17379 long int l; 17380 char c[sizeof (long int)]; 17381 } u; 17382 u.l = 1; 17383 return u.c[sizeof (long int) - 1] == 1; 17384 17385 ; 17386 return 0; 17387} 17388_ACEOF 17389if ac_fn_c_try_run "$LINENO"; then : 17390 ac_cv_c_bigendian=no 17391else 17392 ac_cv_c_bigendian=yes 17393fi 17394rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17395 conftest.$ac_objext conftest.beam conftest.$ac_ext 17396fi 17397 17398 fi 17399fi 17400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 17401$as_echo "$ac_cv_c_bigendian" >&6; } 17402 case $ac_cv_c_bigendian in #( 17403 yes) 17404 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 17405;; #( 17406 no) 17407 ;; #( 17408 universal) 17409 17410$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 17411 17412 ;; #( 17413 *) 17414 as_fn_error $? "unknown endianness 17415 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 17416 esac 17417 17418 17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 17420$as_echo_n "checking whether NLS is requested... " >&6; } 17421 # Check whether --enable-nls was given. 17422if test "${enable_nls+set}" = set; then : 17423 enableval=$enable_nls; USE_NLS=$enableval 17424else 17425 USE_NLS=yes 17426fi 17427 17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 17429$as_echo "$USE_NLS" >&6; } 17430 17431 17432 17433 17434 GETTEXT_MACRO_VERSION=0.18 17435 17436 17437 17438 17439# Prepare PATH_SEPARATOR. 17440# The user is always right. 17441if test "${PATH_SEPARATOR+set}" != set; then 17442 echo "#! /bin/sh" >conf$$.sh 17443 echo "exit 0" >>conf$$.sh 17444 chmod +x conf$$.sh 17445 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17446 PATH_SEPARATOR=';' 17447 else 17448 PATH_SEPARATOR=: 17449 fi 17450 rm -f conf$$.sh 17451fi 17452 17453# Find out how to test for executable files. Don't use a zero-byte file, 17454# as systems may use methods other than mode bits to determine executability. 17455cat >conf$$.file <<_ASEOF 17456#! /bin/sh 17457exit 0 17458_ASEOF 17459chmod +x conf$$.file 17460if test -x conf$$.file >/dev/null 2>&1; then 17461 ac_executable_p="test -x" 17462else 17463 ac_executable_p="test -f" 17464fi 17465rm -f conf$$.file 17466 17467# Extract the first word of "msgfmt", so it can be a program name with args. 17468set dummy msgfmt; ac_word=$2 17469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17470$as_echo_n "checking for $ac_word... " >&6; } 17471if ${ac_cv_path_MSGFMT+:} false; then : 17472 $as_echo_n "(cached) " >&6 17473else 17474 case "$MSGFMT" in 17475 [\\/]* | ?:[\\/]*) 17476 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 17477 ;; 17478 *) 17479 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17480 for ac_dir in $PATH; do 17481 IFS="$ac_save_IFS" 17482 test -z "$ac_dir" && ac_dir=. 17483 for ac_exec_ext in '' $ac_executable_extensions; do 17484 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17485 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17486 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 17487 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 17488 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 17489 break 2 17490 fi 17491 fi 17492 done 17493 done 17494 IFS="$ac_save_IFS" 17495 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 17496 ;; 17497esac 17498fi 17499MSGFMT="$ac_cv_path_MSGFMT" 17500if test "$MSGFMT" != ":"; then 17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 17502$as_echo "$MSGFMT" >&6; } 17503else 17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17505$as_echo "no" >&6; } 17506fi 17507 17508 # Extract the first word of "gmsgfmt", so it can be a program name with args. 17509set dummy gmsgfmt; ac_word=$2 17510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17511$as_echo_n "checking for $ac_word... " >&6; } 17512if ${ac_cv_path_GMSGFMT+:} false; then : 17513 $as_echo_n "(cached) " >&6 17514else 17515 case $GMSGFMT in 17516 [\\/]* | ?:[\\/]*) 17517 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 17518 ;; 17519 *) 17520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17521for as_dir in $PATH 17522do 17523 IFS=$as_save_IFS 17524 test -z "$as_dir" && as_dir=. 17525 for ac_exec_ext in '' $ac_executable_extensions; do 17526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17527 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 17528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17529 break 2 17530 fi 17531done 17532 done 17533IFS=$as_save_IFS 17534 17535 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 17536 ;; 17537esac 17538fi 17539GMSGFMT=$ac_cv_path_GMSGFMT 17540if test -n "$GMSGFMT"; then 17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 17542$as_echo "$GMSGFMT" >&6; } 17543else 17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17545$as_echo "no" >&6; } 17546fi 17547 17548 17549 17550 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17551 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 17552 *) MSGFMT_015=$MSGFMT ;; 17553 esac 17554 17555 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17556 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 17557 *) GMSGFMT_015=$GMSGFMT ;; 17558 esac 17559 17560 17561 17562# Prepare PATH_SEPARATOR. 17563# The user is always right. 17564if test "${PATH_SEPARATOR+set}" != set; then 17565 echo "#! /bin/sh" >conf$$.sh 17566 echo "exit 0" >>conf$$.sh 17567 chmod +x conf$$.sh 17568 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17569 PATH_SEPARATOR=';' 17570 else 17571 PATH_SEPARATOR=: 17572 fi 17573 rm -f conf$$.sh 17574fi 17575 17576# Find out how to test for executable files. Don't use a zero-byte file, 17577# as systems may use methods other than mode bits to determine executability. 17578cat >conf$$.file <<_ASEOF 17579#! /bin/sh 17580exit 0 17581_ASEOF 17582chmod +x conf$$.file 17583if test -x conf$$.file >/dev/null 2>&1; then 17584 ac_executable_p="test -x" 17585else 17586 ac_executable_p="test -f" 17587fi 17588rm -f conf$$.file 17589 17590# Extract the first word of "xgettext", so it can be a program name with args. 17591set dummy xgettext; ac_word=$2 17592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17593$as_echo_n "checking for $ac_word... " >&6; } 17594if ${ac_cv_path_XGETTEXT+:} false; then : 17595 $as_echo_n "(cached) " >&6 17596else 17597 case "$XGETTEXT" in 17598 [\\/]* | ?:[\\/]*) 17599 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 17600 ;; 17601 *) 17602 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17603 for ac_dir in $PATH; do 17604 IFS="$ac_save_IFS" 17605 test -z "$ac_dir" && ac_dir=. 17606 for ac_exec_ext in '' $ac_executable_extensions; do 17607 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17608 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17609 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 17610 (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 17611 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 17612 break 2 17613 fi 17614 fi 17615 done 17616 done 17617 IFS="$ac_save_IFS" 17618 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 17619 ;; 17620esac 17621fi 17622XGETTEXT="$ac_cv_path_XGETTEXT" 17623if test "$XGETTEXT" != ":"; then 17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 17625$as_echo "$XGETTEXT" >&6; } 17626else 17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17628$as_echo "no" >&6; } 17629fi 17630 17631 rm -f messages.po 17632 17633 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17634 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 17635 *) XGETTEXT_015=$XGETTEXT ;; 17636 esac 17637 17638 17639 17640# Prepare PATH_SEPARATOR. 17641# The user is always right. 17642if test "${PATH_SEPARATOR+set}" != set; then 17643 echo "#! /bin/sh" >conf$$.sh 17644 echo "exit 0" >>conf$$.sh 17645 chmod +x conf$$.sh 17646 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17647 PATH_SEPARATOR=';' 17648 else 17649 PATH_SEPARATOR=: 17650 fi 17651 rm -f conf$$.sh 17652fi 17653 17654# Find out how to test for executable files. Don't use a zero-byte file, 17655# as systems may use methods other than mode bits to determine executability. 17656cat >conf$$.file <<_ASEOF 17657#! /bin/sh 17658exit 0 17659_ASEOF 17660chmod +x conf$$.file 17661if test -x conf$$.file >/dev/null 2>&1; then 17662 ac_executable_p="test -x" 17663else 17664 ac_executable_p="test -f" 17665fi 17666rm -f conf$$.file 17667 17668# Extract the first word of "msgmerge", so it can be a program name with args. 17669set dummy msgmerge; ac_word=$2 17670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17671$as_echo_n "checking for $ac_word... " >&6; } 17672if ${ac_cv_path_MSGMERGE+:} false; then : 17673 $as_echo_n "(cached) " >&6 17674else 17675 case "$MSGMERGE" in 17676 [\\/]* | ?:[\\/]*) 17677 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 17678 ;; 17679 *) 17680 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17681 for ac_dir in $PATH; do 17682 IFS="$ac_save_IFS" 17683 test -z "$ac_dir" && ac_dir=. 17684 for ac_exec_ext in '' $ac_executable_extensions; do 17685 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17686 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17687 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 17688 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 17689 break 2 17690 fi 17691 fi 17692 done 17693 done 17694 IFS="$ac_save_IFS" 17695 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 17696 ;; 17697esac 17698fi 17699MSGMERGE="$ac_cv_path_MSGMERGE" 17700if test "$MSGMERGE" != ":"; then 17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 17702$as_echo "$MSGMERGE" >&6; } 17703else 17704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17705$as_echo "no" >&6; } 17706fi 17707 17708 17709 test -n "$localedir" || localedir='${datadir}/locale' 17710 17711 17712 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 17713 17714 17715 ac_config_commands="$ac_config_commands po-directories" 17716 17717 17718 17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2 or newer" >&5 17720$as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; } 17721if ${ac_cv_gnu_library_2+:} false; then : 17722 $as_echo_n "(cached) " >&6 17723else 17724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17725/* end confdefs.h. */ 17726 17727#include <features.h> 17728#ifdef __GNU_LIBRARY__ 17729 #if (__GLIBC__ >= 2) 17730 Lucky GNU user 17731 #endif 17732#endif 17733 17734_ACEOF 17735if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17736 $EGREP "Lucky GNU user" >/dev/null 2>&1; then : 17737 ac_cv_gnu_library_2=yes 17738else 17739 ac_cv_gnu_library_2=no 17740fi 17741rm -f conftest* 17742 17743 17744 17745fi 17746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2" >&5 17747$as_echo "$ac_cv_gnu_library_2" >&6; } 17748 17749 GLIBC2="$ac_cv_gnu_library_2" 17750 17751 17752if test -n "$ac_tool_prefix"; then 17753 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 17754set dummy ${ac_tool_prefix}ranlib; ac_word=$2 17755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17756$as_echo_n "checking for $ac_word... " >&6; } 17757if ${ac_cv_prog_RANLIB+:} false; then : 17758 $as_echo_n "(cached) " >&6 17759else 17760 if test -n "$RANLIB"; then 17761 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 17762else 17763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17764for as_dir in $PATH 17765do 17766 IFS=$as_save_IFS 17767 test -z "$as_dir" && as_dir=. 17768 for ac_exec_ext in '' $ac_executable_extensions; do 17769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17770 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 17771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17772 break 2 17773 fi 17774done 17775 done 17776IFS=$as_save_IFS 17777 17778fi 17779fi 17780RANLIB=$ac_cv_prog_RANLIB 17781if test -n "$RANLIB"; then 17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 17783$as_echo "$RANLIB" >&6; } 17784else 17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17786$as_echo "no" >&6; } 17787fi 17788 17789 17790fi 17791if test -z "$ac_cv_prog_RANLIB"; then 17792 ac_ct_RANLIB=$RANLIB 17793 # Extract the first word of "ranlib", so it can be a program name with args. 17794set dummy ranlib; ac_word=$2 17795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17796$as_echo_n "checking for $ac_word... " >&6; } 17797if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 17798 $as_echo_n "(cached) " >&6 17799else 17800 if test -n "$ac_ct_RANLIB"; then 17801 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 17802else 17803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17804for as_dir in $PATH 17805do 17806 IFS=$as_save_IFS 17807 test -z "$as_dir" && as_dir=. 17808 for ac_exec_ext in '' $ac_executable_extensions; do 17809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17810 ac_cv_prog_ac_ct_RANLIB="ranlib" 17811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17812 break 2 17813 fi 17814done 17815 done 17816IFS=$as_save_IFS 17817 17818fi 17819fi 17820ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 17821if test -n "$ac_ct_RANLIB"; then 17822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 17823$as_echo "$ac_ct_RANLIB" >&6; } 17824else 17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17826$as_echo "no" >&6; } 17827fi 17828 17829 if test "x$ac_ct_RANLIB" = x; then 17830 RANLIB=":" 17831 else 17832 case $cross_compiling:$ac_tool_warned in 17833yes:) 17834{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 17835$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 17836ac_tool_warned=yes ;; 17837esac 17838 RANLIB=$ac_ct_RANLIB 17839 fi 17840else 17841 RANLIB="$ac_cv_prog_RANLIB" 17842fi 17843 17844 17845 17846 CFLAG_VISIBILITY= 17847 HAVE_VISIBILITY=0 17848 if test -n "$GCC"; then 17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5 17850$as_echo_n "checking whether the -Werror option is usable... " >&6; } 17851 if ${gl_cv_cc_vis_werror+:} false; then : 17852 $as_echo_n "(cached) " >&6 17853else 17854 17855 gl_save_CFLAGS="$CFLAGS" 17856 CFLAGS="$CFLAGS -Werror" 17857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17858/* end confdefs.h. */ 17859 17860int 17861main () 17862{ 17863 17864 ; 17865 return 0; 17866} 17867_ACEOF 17868if ac_fn_c_try_compile "$LINENO"; then : 17869 gl_cv_cc_vis_werror=yes 17870else 17871 gl_cv_cc_vis_werror=no 17872fi 17873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17874 CFLAGS="$gl_save_CFLAGS" 17875fi 17876 17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5 17878$as_echo "$gl_cv_cc_vis_werror" >&6; } 17879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 17880$as_echo_n "checking for simple visibility declarations... " >&6; } 17881 if ${gl_cv_cc_visibility+:} false; then : 17882 $as_echo_n "(cached) " >&6 17883else 17884 17885 gl_save_CFLAGS="$CFLAGS" 17886 CFLAGS="$CFLAGS -fvisibility=hidden" 17887 if test $gl_cv_cc_vis_werror = yes; then 17888 CFLAGS="$CFLAGS -Werror" 17889 fi 17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17891/* end confdefs.h. */ 17892extern __attribute__((__visibility__("hidden"))) int hiddenvar; 17893 extern __attribute__((__visibility__("default"))) int exportedvar; 17894 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); 17895 extern __attribute__((__visibility__("default"))) int exportedfunc (void); 17896 void dummyfunc (void) {} 17897int 17898main () 17899{ 17900 17901 ; 17902 return 0; 17903} 17904_ACEOF 17905if ac_fn_c_try_compile "$LINENO"; then : 17906 gl_cv_cc_visibility=yes 17907else 17908 gl_cv_cc_visibility=no 17909fi 17910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17911 CFLAGS="$gl_save_CFLAGS" 17912fi 17913 17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5 17915$as_echo "$gl_cv_cc_visibility" >&6; } 17916 if test $gl_cv_cc_visibility = yes; then 17917 CFLAG_VISIBILITY="-fvisibility=hidden" 17918 HAVE_VISIBILITY=1 17919 fi 17920 fi 17921 17922 17923 17924cat >>confdefs.h <<_ACEOF 17925#define HAVE_VISIBILITY $HAVE_VISIBILITY 17926_ACEOF 17927 17928 17929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 17930$as_echo_n "checking for inline... " >&6; } 17931if ${ac_cv_c_inline+:} false; then : 17932 $as_echo_n "(cached) " >&6 17933else 17934 ac_cv_c_inline=no 17935for ac_kw in inline __inline__ __inline; do 17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17937/* end confdefs.h. */ 17938#ifndef __cplusplus 17939typedef int foo_t; 17940static $ac_kw foo_t static_foo () {return 0; } 17941$ac_kw foo_t foo () {return 0; } 17942#endif 17943 17944_ACEOF 17945if ac_fn_c_try_compile "$LINENO"; then : 17946 ac_cv_c_inline=$ac_kw 17947fi 17948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17949 test "$ac_cv_c_inline" != no && break 17950done 17951 17952fi 17953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 17954$as_echo "$ac_cv_c_inline" >&6; } 17955 17956case $ac_cv_c_inline in 17957 inline | yes) ;; 17958 *) 17959 case $ac_cv_c_inline in 17960 no) ac_val=;; 17961 *) ac_val=$ac_cv_c_inline;; 17962 esac 17963 cat >>confdefs.h <<_ACEOF 17964#ifndef __cplusplus 17965#define inline $ac_val 17966#endif 17967_ACEOF 17968 ;; 17969esac 17970 17971ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 17972if test "x$ac_cv_type_size_t" = xyes; then : 17973 17974else 17975 17976cat >>confdefs.h <<_ACEOF 17977#define size_t unsigned int 17978_ACEOF 17979 17980fi 17981 17982 17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 17984$as_echo_n "checking for stdint.h... " >&6; } 17985if ${gl_cv_header_stdint_h+:} false; then : 17986 $as_echo_n "(cached) " >&6 17987else 17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17989/* end confdefs.h. */ 17990#include <sys/types.h> 17991#include <stdint.h> 17992int 17993main () 17994{ 17995uintmax_t i = (uintmax_t) -1; return !i; 17996 ; 17997 return 0; 17998} 17999_ACEOF 18000if ac_fn_c_try_compile "$LINENO"; then : 18001 gl_cv_header_stdint_h=yes 18002else 18003 gl_cv_header_stdint_h=no 18004fi 18005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18006fi 18007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 18008$as_echo "$gl_cv_header_stdint_h" >&6; } 18009 if test $gl_cv_header_stdint_h = yes; then 18010 18011cat >>confdefs.h <<_ACEOF 18012#define HAVE_STDINT_H_WITH_UINTMAX 1 18013_ACEOF 18014 18015 fi 18016 18017# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 18018# for constant arguments. Useless! 18019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 18020$as_echo_n "checking for working alloca.h... " >&6; } 18021if ${ac_cv_working_alloca_h+:} false; then : 18022 $as_echo_n "(cached) " >&6 18023else 18024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18025/* end confdefs.h. */ 18026#include <alloca.h> 18027int 18028main () 18029{ 18030char *p = (char *) alloca (2 * sizeof (int)); 18031 if (p) return 0; 18032 ; 18033 return 0; 18034} 18035_ACEOF 18036if ac_fn_c_try_link "$LINENO"; then : 18037 ac_cv_working_alloca_h=yes 18038else 18039 ac_cv_working_alloca_h=no 18040fi 18041rm -f core conftest.err conftest.$ac_objext \ 18042 conftest$ac_exeext conftest.$ac_ext 18043fi 18044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 18045$as_echo "$ac_cv_working_alloca_h" >&6; } 18046if test $ac_cv_working_alloca_h = yes; then 18047 18048$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 18049 18050fi 18051 18052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 18053$as_echo_n "checking for alloca... " >&6; } 18054if ${ac_cv_func_alloca_works+:} false; then : 18055 $as_echo_n "(cached) " >&6 18056else 18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18058/* end confdefs.h. */ 18059#ifdef __GNUC__ 18060# define alloca __builtin_alloca 18061#else 18062# ifdef _MSC_VER 18063# include <malloc.h> 18064# define alloca _alloca 18065# else 18066# ifdef HAVE_ALLOCA_H 18067# include <alloca.h> 18068# else 18069# ifdef _AIX 18070 #pragma alloca 18071# else 18072# ifndef alloca /* predefined by HP cc +Olibcalls */ 18073void *alloca (size_t); 18074# endif 18075# endif 18076# endif 18077# endif 18078#endif 18079 18080int 18081main () 18082{ 18083char *p = (char *) alloca (1); 18084 if (p) return 0; 18085 ; 18086 return 0; 18087} 18088_ACEOF 18089if ac_fn_c_try_link "$LINENO"; then : 18090 ac_cv_func_alloca_works=yes 18091else 18092 ac_cv_func_alloca_works=no 18093fi 18094rm -f core conftest.err conftest.$ac_objext \ 18095 conftest$ac_exeext conftest.$ac_ext 18096fi 18097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 18098$as_echo "$ac_cv_func_alloca_works" >&6; } 18099 18100if test $ac_cv_func_alloca_works = yes; then 18101 18102$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 18103 18104else 18105 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 18106# that cause trouble. Some versions do not even contain alloca or 18107# contain a buggy version. If you still want to use their alloca, 18108# use ar to extract alloca.o from them instead of compiling alloca.c. 18109 18110ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 18111 18112$as_echo "#define C_ALLOCA 1" >>confdefs.h 18113 18114 18115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 18116$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 18117if ${ac_cv_os_cray+:} false; then : 18118 $as_echo_n "(cached) " >&6 18119else 18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18121/* end confdefs.h. */ 18122#if defined CRAY && ! defined CRAY2 18123webecray 18124#else 18125wenotbecray 18126#endif 18127 18128_ACEOF 18129if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18130 $EGREP "webecray" >/dev/null 2>&1; then : 18131 ac_cv_os_cray=yes 18132else 18133 ac_cv_os_cray=no 18134fi 18135rm -f conftest* 18136 18137fi 18138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 18139$as_echo "$ac_cv_os_cray" >&6; } 18140if test $ac_cv_os_cray = yes; then 18141 for ac_func in _getb67 GETB67 getb67; do 18142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18143ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 18144if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 18145 18146cat >>confdefs.h <<_ACEOF 18147#define CRAY_STACKSEG_END $ac_func 18148_ACEOF 18149 18150 break 18151fi 18152 18153 done 18154fi 18155 18156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 18157$as_echo_n "checking stack direction for C alloca... " >&6; } 18158if ${ac_cv_c_stack_direction+:} false; then : 18159 $as_echo_n "(cached) " >&6 18160else 18161 if test "$cross_compiling" = yes; then : 18162 ac_cv_c_stack_direction=0 18163else 18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18165/* end confdefs.h. */ 18166$ac_includes_default 18167int 18168find_stack_direction () 18169{ 18170 static char *addr = 0; 18171 auto char dummy; 18172 if (addr == 0) 18173 { 18174 addr = &dummy; 18175 return find_stack_direction (); 18176 } 18177 else 18178 return (&dummy > addr) ? 1 : -1; 18179} 18180 18181int 18182main () 18183{ 18184 return find_stack_direction () < 0; 18185} 18186_ACEOF 18187if ac_fn_c_try_run "$LINENO"; then : 18188 ac_cv_c_stack_direction=1 18189else 18190 ac_cv_c_stack_direction=-1 18191fi 18192rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18193 conftest.$ac_objext conftest.beam conftest.$ac_ext 18194fi 18195 18196fi 18197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 18198$as_echo "$ac_cv_c_stack_direction" >&6; } 18199cat >>confdefs.h <<_ACEOF 18200#define STACK_DIRECTION $ac_cv_c_stack_direction 18201_ACEOF 18202 18203 18204fi 18205 18206 18207 18208 18209 for ac_header in $ac_header_list 18210do : 18211 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18212ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 18213" 18214if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 18215 cat >>confdefs.h <<_ACEOF 18216#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18217_ACEOF 18218 18219fi 18220 18221done 18222 18223 18224 18225 18226 18227 18228 18229 18230for ac_func in getpagesize 18231do : 18232 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 18233if test "x$ac_cv_func_getpagesize" = xyes; then : 18234 cat >>confdefs.h <<_ACEOF 18235#define HAVE_GETPAGESIZE 1 18236_ACEOF 18237 18238fi 18239done 18240 18241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 18242$as_echo_n "checking for working mmap... " >&6; } 18243if ${ac_cv_func_mmap_fixed_mapped+:} false; then : 18244 $as_echo_n "(cached) " >&6 18245else 18246 if test "$cross_compiling" = yes; then : 18247 ac_cv_func_mmap_fixed_mapped=no 18248else 18249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18250/* end confdefs.h. */ 18251$ac_includes_default 18252/* malloc might have been renamed as rpl_malloc. */ 18253#undef malloc 18254 18255/* Thanks to Mike Haertel and Jim Avera for this test. 18256 Here is a matrix of mmap possibilities: 18257 mmap private not fixed 18258 mmap private fixed at somewhere currently unmapped 18259 mmap private fixed at somewhere already mapped 18260 mmap shared not fixed 18261 mmap shared fixed at somewhere currently unmapped 18262 mmap shared fixed at somewhere already mapped 18263 For private mappings, we should verify that changes cannot be read() 18264 back from the file, nor mmap's back from the file at a different 18265 address. (There have been systems where private was not correctly 18266 implemented like the infamous i386 svr4.0, and systems where the 18267 VM page cache was not coherent with the file system buffer cache 18268 like early versions of FreeBSD and possibly contemporary NetBSD.) 18269 For shared mappings, we should conversely verify that changes get 18270 propagated back to all the places they're supposed to be. 18271 18272 Grep wants private fixed already mapped. 18273 The main things grep needs to know about mmap are: 18274 * does it exist and is it safe to write into the mmap'd area 18275 * how to use it (BSD variants) */ 18276 18277#include <fcntl.h> 18278#include <sys/mman.h> 18279 18280#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H 18281char *malloc (); 18282#endif 18283 18284/* This mess was copied from the GNU getpagesize.h. */ 18285#ifndef HAVE_GETPAGESIZE 18286# ifdef _SC_PAGESIZE 18287# define getpagesize() sysconf(_SC_PAGESIZE) 18288# else /* no _SC_PAGESIZE */ 18289# ifdef HAVE_SYS_PARAM_H 18290# include <sys/param.h> 18291# ifdef EXEC_PAGESIZE 18292# define getpagesize() EXEC_PAGESIZE 18293# else /* no EXEC_PAGESIZE */ 18294# ifdef NBPG 18295# define getpagesize() NBPG * CLSIZE 18296# ifndef CLSIZE 18297# define CLSIZE 1 18298# endif /* no CLSIZE */ 18299# else /* no NBPG */ 18300# ifdef NBPC 18301# define getpagesize() NBPC 18302# else /* no NBPC */ 18303# ifdef PAGESIZE 18304# define getpagesize() PAGESIZE 18305# endif /* PAGESIZE */ 18306# endif /* no NBPC */ 18307# endif /* no NBPG */ 18308# endif /* no EXEC_PAGESIZE */ 18309# else /* no HAVE_SYS_PARAM_H */ 18310# define getpagesize() 8192 /* punt totally */ 18311# endif /* no HAVE_SYS_PARAM_H */ 18312# endif /* no _SC_PAGESIZE */ 18313 18314#endif /* no HAVE_GETPAGESIZE */ 18315 18316int 18317main () 18318{ 18319 char *data, *data2, *data3; 18320 const char *cdata2; 18321 int i, pagesize; 18322 int fd, fd2; 18323 18324 pagesize = getpagesize (); 18325 18326 /* First, make a file with some known garbage in it. */ 18327 data = (char *) malloc (pagesize); 18328 if (!data) 18329 return 1; 18330 for (i = 0; i < pagesize; ++i) 18331 *(data + i) = rand (); 18332 umask (0); 18333 fd = creat ("conftest.mmap", 0600); 18334 if (fd < 0) 18335 return 2; 18336 if (write (fd, data, pagesize) != pagesize) 18337 return 3; 18338 close (fd); 18339 18340 /* Next, check that the tail of a page is zero-filled. File must have 18341 non-zero length, otherwise we risk SIGBUS for entire page. */ 18342 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); 18343 if (fd2 < 0) 18344 return 4; 18345 cdata2 = ""; 18346 if (write (fd2, cdata2, 1) != 1) 18347 return 5; 18348 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); 18349 if (data2 == MAP_FAILED) 18350 return 6; 18351 for (i = 0; i < pagesize; ++i) 18352 if (*(data2 + i)) 18353 return 7; 18354 close (fd2); 18355 if (munmap (data2, pagesize)) 18356 return 8; 18357 18358 /* Next, try to mmap the file at a fixed address which already has 18359 something else allocated at it. If we can, also make sure that 18360 we see the same garbage. */ 18361 fd = open ("conftest.mmap", O_RDWR); 18362 if (fd < 0) 18363 return 9; 18364 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 18365 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 18366 return 10; 18367 for (i = 0; i < pagesize; ++i) 18368 if (*(data + i) != *(data2 + i)) 18369 return 11; 18370 18371 /* Finally, make sure that changes to the mapped area do not 18372 percolate back to the file as seen by read(). (This is a bug on 18373 some variants of i386 svr4.0.) */ 18374 for (i = 0; i < pagesize; ++i) 18375 *(data2 + i) = *(data2 + i) + 1; 18376 data3 = (char *) malloc (pagesize); 18377 if (!data3) 18378 return 12; 18379 if (read (fd, data3, pagesize) != pagesize) 18380 return 13; 18381 for (i = 0; i < pagesize; ++i) 18382 if (*(data + i) != *(data3 + i)) 18383 return 14; 18384 close (fd); 18385 return 0; 18386} 18387_ACEOF 18388if ac_fn_c_try_run "$LINENO"; then : 18389 ac_cv_func_mmap_fixed_mapped=yes 18390else 18391 ac_cv_func_mmap_fixed_mapped=no 18392fi 18393rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18394 conftest.$ac_objext conftest.beam conftest.$ac_ext 18395fi 18396 18397fi 18398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 18399$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } 18400if test $ac_cv_func_mmap_fixed_mapped = yes; then 18401 18402$as_echo "#define HAVE_MMAP 1" >>confdefs.h 18403 18404fi 18405rm -f conftest.mmap conftest.txt 18406 18407 18408 18409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5 18410$as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; } 18411if ${gt_cv_int_divbyzero_sigfpe+:} false; then : 18412 $as_echo_n "(cached) " >&6 18413else 18414 18415 gt_cv_int_divbyzero_sigfpe= 18416 case "$host_os" in 18417 macos* | darwin[6-9]* | darwin[1-9][0-9]*) 18418 # On MacOS X 10.2 or newer, just assume the same as when cross- 18419 # compiling. If we were to perform the real test, 1 Crash Report 18420 # dialog window would pop up. 18421 case "$host_cpu" in 18422 i[34567]86 | x86_64) 18423 gt_cv_int_divbyzero_sigfpe="guessing yes" ;; 18424 esac 18425 ;; 18426 esac 18427 if test -z "$gt_cv_int_divbyzero_sigfpe"; then 18428 if test "$cross_compiling" = yes; then : 18429 18430 # Guess based on the CPU. 18431 case "$host_cpu" in 18432 alpha* | i[34567]86 | x86_64 | m68k | s390*) 18433 gt_cv_int_divbyzero_sigfpe="guessing yes";; 18434 *) 18435 gt_cv_int_divbyzero_sigfpe="guessing no";; 18436 esac 18437 18438else 18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18440/* end confdefs.h. */ 18441 18442#include <stdlib.h> 18443#include <signal.h> 18444 18445static void 18446sigfpe_handler (int sig) 18447{ 18448 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ 18449 exit (sig != SIGFPE); 18450} 18451 18452int x = 1; 18453int y = 0; 18454int z; 18455int nan; 18456 18457int main () 18458{ 18459 signal (SIGFPE, sigfpe_handler); 18460/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ 18461#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) 18462 signal (SIGTRAP, sigfpe_handler); 18463#endif 18464/* Linux/SPARC yields signal SIGILL. */ 18465#if defined (__sparc__) && defined (__linux__) 18466 signal (SIGILL, sigfpe_handler); 18467#endif 18468 18469 z = x / y; 18470 nan = y / y; 18471 exit (1); 18472} 18473 18474_ACEOF 18475if ac_fn_c_try_run "$LINENO"; then : 18476 gt_cv_int_divbyzero_sigfpe=yes 18477else 18478 gt_cv_int_divbyzero_sigfpe=no 18479fi 18480rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18481 conftest.$ac_objext conftest.beam conftest.$ac_ext 18482fi 18483 18484 fi 18485 18486fi 18487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5 18488$as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; } 18489 case "$gt_cv_int_divbyzero_sigfpe" in 18490 *yes) value=1;; 18491 *) value=0;; 18492 esac 18493 18494cat >>confdefs.h <<_ACEOF 18495#define INTDIV0_RAISES_SIGFPE $value 18496_ACEOF 18497 18498 18499 18500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 18501$as_echo_n "checking for inttypes.h... " >&6; } 18502if ${gl_cv_header_inttypes_h+:} false; then : 18503 $as_echo_n "(cached) " >&6 18504else 18505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18506/* end confdefs.h. */ 18507#include <sys/types.h> 18508#include <inttypes.h> 18509int 18510main () 18511{ 18512uintmax_t i = (uintmax_t) -1; return !i; 18513 ; 18514 return 0; 18515} 18516_ACEOF 18517if ac_fn_c_try_compile "$LINENO"; then : 18518 gl_cv_header_inttypes_h=yes 18519else 18520 gl_cv_header_inttypes_h=no 18521fi 18522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18523fi 18524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 18525$as_echo "$gl_cv_header_inttypes_h" >&6; } 18526 if test $gl_cv_header_inttypes_h = yes; then 18527 18528cat >>confdefs.h <<_ACEOF 18529#define HAVE_INTTYPES_H_WITH_UINTMAX 1 18530_ACEOF 18531 18532 fi 18533 18534 18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 18536$as_echo_n "checking for unsigned long long int... " >&6; } 18537if ${ac_cv_type_unsigned_long_long_int+:} false; then : 18538 $as_echo_n "(cached) " >&6 18539else 18540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18541/* end confdefs.h. */ 18542 18543 /* For now, do not test the preprocessor; as of 2007 there are too many 18544 implementations with broken preprocessors. Perhaps this can 18545 be revisited in 2012. In the meantime, code should not expect 18546 #if to work with literals wider than 32 bits. */ 18547 /* Test literals. */ 18548 long long int ll = 9223372036854775807ll; 18549 long long int nll = -9223372036854775807LL; 18550 unsigned long long int ull = 18446744073709551615ULL; 18551 /* Test constant expressions. */ 18552 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) 18553 ? 1 : -1)]; 18554 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 18555 ? 1 : -1)]; 18556 int i = 63; 18557int 18558main () 18559{ 18560/* Test availability of runtime routines for shift and division. */ 18561 long long int llmax = 9223372036854775807ll; 18562 unsigned long long int ullmax = 18446744073709551615ull; 18563 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) 18564 | (llmax / ll) | (llmax % ll) 18565 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) 18566 | (ullmax / ull) | (ullmax % ull)); 18567 ; 18568 return 0; 18569} 18570 18571_ACEOF 18572if ac_fn_c_try_link "$LINENO"; then : 18573 ac_cv_type_unsigned_long_long_int=yes 18574else 18575 ac_cv_type_unsigned_long_long_int=no 18576fi 18577rm -f core conftest.err conftest.$ac_objext \ 18578 conftest$ac_exeext conftest.$ac_ext 18579fi 18580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 18581$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } 18582 if test $ac_cv_type_unsigned_long_long_int = yes; then 18583 18584$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h 18585 18586 fi 18587 18588 18589 18590 18591 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then 18592 18593 test $ac_cv_type_unsigned_long_long_int = yes \ 18594 && ac_type='unsigned long long' \ 18595 || ac_type='unsigned long' 18596 18597cat >>confdefs.h <<_ACEOF 18598#define uintmax_t $ac_type 18599_ACEOF 18600 18601 else 18602 18603$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h 18604 18605 fi 18606 18607 18608 for ac_header in inttypes.h 18609do : 18610 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 18611if test "x$ac_cv_header_inttypes_h" = xyes; then : 18612 cat >>confdefs.h <<_ACEOF 18613#define HAVE_INTTYPES_H 1 18614_ACEOF 18615 18616fi 18617 18618done 18619 18620 if test $ac_cv_header_inttypes_h = yes; then 18621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5 18622$as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; } 18623if ${gt_cv_inttypes_pri_broken+:} false; then : 18624 $as_echo_n "(cached) " >&6 18625else 18626 18627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18628/* end confdefs.h. */ 18629#include <inttypes.h> 18630#ifdef PRId32 18631char *p = PRId32; 18632#endif 18633 18634int 18635main () 18636{ 18637 18638 ; 18639 return 0; 18640} 18641_ACEOF 18642if ac_fn_c_try_compile "$LINENO"; then : 18643 gt_cv_inttypes_pri_broken=no 18644else 18645 gt_cv_inttypes_pri_broken=yes 18646fi 18647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18648 18649fi 18650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5 18651$as_echo "$gt_cv_inttypes_pri_broken" >&6; } 18652 fi 18653 if test "$gt_cv_inttypes_pri_broken" = yes; then 18654 18655cat >>confdefs.h <<_ACEOF 18656#define PRI_MACROS_BROKEN 1 18657_ACEOF 18658 18659 PRI_MACROS_BROKEN=1 18660 else 18661 PRI_MACROS_BROKEN=0 18662 fi 18663 18664 18665 18666 18667 18668 18669 18670 # Check whether --enable-threads was given. 18671if test "${enable_threads+set}" = set; then : 18672 enableval=$enable_threads; gl_use_threads=$enableval 18673else 18674 if test -n "$gl_use_threads_default"; then 18675 gl_use_threads="$gl_use_threads_default" 18676 else 18677 case "$host_os" in 18678 osf*) gl_use_threads=no ;; 18679 cygwin*) 18680 case `uname -r` in 18681 1.[0-5].*) gl_use_threads=no ;; 18682 *) gl_use_threads=yes ;; 18683 esac 18684 ;; 18685 *) gl_use_threads=yes ;; 18686 esac 18687 fi 18688 18689fi 18690 18691 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then 18692 # For using <pthread.h>: 18693 case "$host_os" in 18694 osf*) 18695 # On OSF/1, the compiler needs the flag -D_REENTRANT so that it 18696 # groks <pthread.h>. cc also understands the flag -pthread, but 18697 # we don't use it because 1. gcc-2.95 doesn't understand -pthread, 18698 # 2. putting a flag into CPPFLAGS that has an effect on the linker 18699 # causes the AC_TRY_LINK test below to succeed unexpectedly, 18700 # leading to wrong values of LIBTHREAD and LTLIBTHREAD. 18701 CPPFLAGS="$CPPFLAGS -D_REENTRANT" 18702 ;; 18703 esac 18704 # Some systems optimize for single-threaded programs by default, and 18705 # need special flags to disable these optimizations. For example, the 18706 # definition of 'errno' in <errno.h>. 18707 case "$host_os" in 18708 aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; 18709 solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; 18710 esac 18711 fi 18712 18713 18714 18715 18716 18717 if test "X$prefix" = "XNONE"; then 18718 acl_final_prefix="$ac_default_prefix" 18719 else 18720 acl_final_prefix="$prefix" 18721 fi 18722 if test "X$exec_prefix" = "XNONE"; then 18723 acl_final_exec_prefix='${prefix}' 18724 else 18725 acl_final_exec_prefix="$exec_prefix" 18726 fi 18727 acl_save_prefix="$prefix" 18728 prefix="$acl_final_prefix" 18729 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 18730 prefix="$acl_save_prefix" 18731 18732 18733# Check whether --with-gnu-ld was given. 18734if test "${with_gnu_ld+set}" = set; then : 18735 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 18736else 18737 with_gnu_ld=no 18738fi 18739 18740# Prepare PATH_SEPARATOR. 18741# The user is always right. 18742if test "${PATH_SEPARATOR+set}" != set; then 18743 echo "#! /bin/sh" >conf$$.sh 18744 echo "exit 0" >>conf$$.sh 18745 chmod +x conf$$.sh 18746 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 18747 PATH_SEPARATOR=';' 18748 else 18749 PATH_SEPARATOR=: 18750 fi 18751 rm -f conf$$.sh 18752fi 18753ac_prog=ld 18754if test "$GCC" = yes; then 18755 # Check if gcc -print-prog-name=ld gives a path. 18756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 18757$as_echo_n "checking for ld used by GCC... " >&6; } 18758 case $host in 18759 *-*-mingw*) 18760 # gcc leaves a trailing carriage return which upsets mingw 18761 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 18762 *) 18763 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 18764 esac 18765 case $ac_prog in 18766 # Accept absolute paths. 18767 [\\/]* | [A-Za-z]:[\\/]*) 18768 re_direlt='/[^/][^/]*/\.\./' 18769 # Canonicalize the path of ld 18770 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 18771 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 18772 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 18773 done 18774 test -z "$LD" && LD="$ac_prog" 18775 ;; 18776 "") 18777 # If it fails, then pretend we aren't using GCC. 18778 ac_prog=ld 18779 ;; 18780 *) 18781 # If it is relative, then search for the first ld in PATH. 18782 with_gnu_ld=unknown 18783 ;; 18784 esac 18785elif test "$with_gnu_ld" = yes; then 18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 18787$as_echo_n "checking for GNU ld... " >&6; } 18788else 18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 18790$as_echo_n "checking for non-GNU ld... " >&6; } 18791fi 18792if ${acl_cv_path_LD+:} false; then : 18793 $as_echo_n "(cached) " >&6 18794else 18795 if test -z "$LD"; then 18796 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 18797 for ac_dir in $PATH; do 18798 test -z "$ac_dir" && ac_dir=. 18799 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 18800 acl_cv_path_LD="$ac_dir/$ac_prog" 18801 # Check to see if the program is GNU ld. I'd rather use --version, 18802 # but apparently some GNU ld's only accept -v. 18803 # Break only if it was the GNU/non-GNU ld that we prefer. 18804 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 18805 *GNU* | *'with BFD'*) 18806 test "$with_gnu_ld" != no && break ;; 18807 *) 18808 test "$with_gnu_ld" != yes && break ;; 18809 esac 18810 fi 18811 done 18812 IFS="$ac_save_ifs" 18813else 18814 acl_cv_path_LD="$LD" # Let the user override the test with a path. 18815fi 18816fi 18817 18818LD="$acl_cv_path_LD" 18819if test -n "$LD"; then 18820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 18821$as_echo "$LD" >&6; } 18822else 18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18824$as_echo "no" >&6; } 18825fi 18826test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 18827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 18828$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 18829if ${acl_cv_prog_gnu_ld+:} false; then : 18830 $as_echo_n "(cached) " >&6 18831else 18832 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 18833case `$LD -v 2>&1 </dev/null` in 18834*GNU* | *'with BFD'*) 18835 acl_cv_prog_gnu_ld=yes ;; 18836*) 18837 acl_cv_prog_gnu_ld=no ;; 18838esac 18839fi 18840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 18841$as_echo "$acl_cv_prog_gnu_ld" >&6; } 18842with_gnu_ld=$acl_cv_prog_gnu_ld 18843 18844 18845 18846 18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 18848$as_echo_n "checking for shared library run path origin... " >&6; } 18849if ${acl_cv_rpath+:} false; then : 18850 $as_echo_n "(cached) " >&6 18851else 18852 18853 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 18854 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 18855 . ./conftest.sh 18856 rm -f ./conftest.sh 18857 acl_cv_rpath=done 18858 18859fi 18860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 18861$as_echo "$acl_cv_rpath" >&6; } 18862 wl="$acl_cv_wl" 18863 acl_libext="$acl_cv_libext" 18864 acl_shlibext="$acl_cv_shlibext" 18865 acl_libname_spec="$acl_cv_libname_spec" 18866 acl_library_names_spec="$acl_cv_library_names_spec" 18867 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 18868 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 18869 acl_hardcode_direct="$acl_cv_hardcode_direct" 18870 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 18871 # Check whether --enable-rpath was given. 18872if test "${enable_rpath+set}" = set; then : 18873 enableval=$enable_rpath; : 18874else 18875 enable_rpath=yes 18876fi 18877 18878 18879 18880 18881 acl_libdirstem=lib 18882 acl_libdirstem2= 18883 case "$host_os" in 18884 solaris*) 18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 18886$as_echo_n "checking for 64-bit host... " >&6; } 18887if ${gl_cv_solaris_64bit+:} false; then : 18888 $as_echo_n "(cached) " >&6 18889else 18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18891/* end confdefs.h. */ 18892 18893#ifdef _LP64 18894sixtyfour bits 18895#endif 18896 18897_ACEOF 18898if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18899 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 18900 gl_cv_solaris_64bit=yes 18901else 18902 gl_cv_solaris_64bit=no 18903fi 18904rm -f conftest* 18905 18906 18907fi 18908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 18909$as_echo "$gl_cv_solaris_64bit" >&6; } 18910 if test $gl_cv_solaris_64bit = yes; then 18911 acl_libdirstem=lib/64 18912 case "$host_cpu" in 18913 sparc*) acl_libdirstem2=lib/sparcv9 ;; 18914 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 18915 esac 18916 fi 18917 ;; 18918 *) 18919 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 18920 if test -n "$searchpath"; then 18921 acl_save_IFS="${IFS= }"; IFS=":" 18922 for searchdir in $searchpath; do 18923 if test -d "$searchdir"; then 18924 case "$searchdir" in 18925 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 18926 */../ | */.. ) 18927 # Better ignore directories of this form. They are misleading. 18928 ;; 18929 *) searchdir=`cd "$searchdir" && pwd` 18930 case "$searchdir" in 18931 */lib64 ) acl_libdirstem=lib64 ;; 18932 esac ;; 18933 esac 18934 fi 18935 done 18936 IFS="$acl_save_IFS" 18937 fi 18938 ;; 18939 esac 18940 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 18941 18942 18943 18944 gl_threads_api=none 18945 LIBTHREAD= 18946 LTLIBTHREAD= 18947 LIBMULTITHREAD= 18948 LTLIBMULTITHREAD= 18949 if test "$gl_use_threads" != no; then 18950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 18951$as_echo_n "checking whether imported symbols can be declared weak... " >&6; } 18952if ${gl_cv_have_weak+:} false; then : 18953 $as_echo_n "(cached) " >&6 18954else 18955 gl_cv_have_weak=no 18956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18957/* end confdefs.h. */ 18958extern void xyzzy (); 18959#pragma weak xyzzy 18960int 18961main () 18962{ 18963xyzzy(); 18964 ; 18965 return 0; 18966} 18967_ACEOF 18968if ac_fn_c_try_link "$LINENO"; then : 18969 gl_cv_have_weak=maybe 18970fi 18971rm -f core conftest.err conftest.$ac_objext \ 18972 conftest$ac_exeext conftest.$ac_ext 18973 if test $gl_cv_have_weak = maybe; then 18974 if test "$cross_compiling" = yes; then : 18975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18976/* end confdefs.h. */ 18977#ifdef __ELF__ 18978 Extensible Linking Format 18979 #endif 18980 18981_ACEOF 18982if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18983 $EGREP "Extensible Linking Format" >/dev/null 2>&1; then : 18984 gl_cv_have_weak="guessing yes" 18985else 18986 gl_cv_have_weak="guessing no" 18987fi 18988rm -f conftest* 18989 18990 18991else 18992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18993/* end confdefs.h. */ 18994 18995#include <stdio.h> 18996#pragma weak fputs 18997int main () 18998{ 18999 return (fputs == NULL); 19000} 19001_ACEOF 19002if ac_fn_c_try_run "$LINENO"; then : 19003 gl_cv_have_weak=yes 19004else 19005 gl_cv_have_weak=no 19006fi 19007rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 19008 conftest.$ac_objext conftest.beam conftest.$ac_ext 19009fi 19010 19011 fi 19012 19013fi 19014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 19015$as_echo "$gl_cv_have_weak" >&6; } 19016 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then 19017 # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that 19018 # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY. 19019 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 19020if test "x$ac_cv_header_pthread_h" = xyes; then : 19021 gl_have_pthread_h=yes 19022else 19023 gl_have_pthread_h=no 19024fi 19025 19026 19027 if test "$gl_have_pthread_h" = yes; then 19028 # Other possible tests: 19029 # -lpthreads (FSU threads, PCthreads) 19030 # -lgthreads 19031 gl_have_pthread= 19032 # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist 19033 # in libc. IRIX 6.5 has the first one in both libc and libpthread, but 19034 # the second one only in libpthread, and lock.c needs it. 19035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19036/* end confdefs.h. */ 19037#include <pthread.h> 19038int 19039main () 19040{ 19041pthread_mutex_lock((pthread_mutex_t*)0); 19042 pthread_mutexattr_init((pthread_mutexattr_t*)0); 19043 ; 19044 return 0; 19045} 19046_ACEOF 19047if ac_fn_c_try_link "$LINENO"; then : 19048 gl_have_pthread=yes 19049fi 19050rm -f core conftest.err conftest.$ac_objext \ 19051 conftest$ac_exeext conftest.$ac_ext 19052 # Test for libpthread by looking for pthread_kill. (Not pthread_self, 19053 # since it is defined as a macro on OSF/1.) 19054 if test -n "$gl_have_pthread"; then 19055 # The program links fine without libpthread. But it may actually 19056 # need to link with libpthread in order to create multiple threads. 19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 19058$as_echo_n "checking for pthread_kill in -lpthread... " >&6; } 19059if ${ac_cv_lib_pthread_pthread_kill+:} false; then : 19060 $as_echo_n "(cached) " >&6 19061else 19062 ac_check_lib_save_LIBS=$LIBS 19063LIBS="-lpthread $LIBS" 19064cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19065/* end confdefs.h. */ 19066 19067/* Override any GCC internal prototype to avoid an error. 19068 Use char because int might match the return type of a GCC 19069 builtin and then its argument prototype would still apply. */ 19070#ifdef __cplusplus 19071extern "C" 19072#endif 19073char pthread_kill (); 19074int 19075main () 19076{ 19077return pthread_kill (); 19078 ; 19079 return 0; 19080} 19081_ACEOF 19082if ac_fn_c_try_link "$LINENO"; then : 19083 ac_cv_lib_pthread_pthread_kill=yes 19084else 19085 ac_cv_lib_pthread_pthread_kill=no 19086fi 19087rm -f core conftest.err conftest.$ac_objext \ 19088 conftest$ac_exeext conftest.$ac_ext 19089LIBS=$ac_check_lib_save_LIBS 19090fi 19091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 19092$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } 19093if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : 19094 LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread 19095 # On Solaris and HP-UX, most pthread functions exist also in libc. 19096 # Therefore pthread_in_use() needs to actually try to create a 19097 # thread: pthread_create from libc will fail, whereas 19098 # pthread_create will actually create a thread. 19099 case "$host_os" in 19100 solaris* | hpux*) 19101 19102$as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h 19103 19104 esac 19105 19106fi 19107 19108 else 19109 # Some library is needed. Try libpthread and libc_r. 19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 19111$as_echo_n "checking for pthread_kill in -lpthread... " >&6; } 19112if ${ac_cv_lib_pthread_pthread_kill+:} false; then : 19113 $as_echo_n "(cached) " >&6 19114else 19115 ac_check_lib_save_LIBS=$LIBS 19116LIBS="-lpthread $LIBS" 19117cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19118/* end confdefs.h. */ 19119 19120/* Override any GCC internal prototype to avoid an error. 19121 Use char because int might match the return type of a GCC 19122 builtin and then its argument prototype would still apply. */ 19123#ifdef __cplusplus 19124extern "C" 19125#endif 19126char pthread_kill (); 19127int 19128main () 19129{ 19130return pthread_kill (); 19131 ; 19132 return 0; 19133} 19134_ACEOF 19135if ac_fn_c_try_link "$LINENO"; then : 19136 ac_cv_lib_pthread_pthread_kill=yes 19137else 19138 ac_cv_lib_pthread_pthread_kill=no 19139fi 19140rm -f core conftest.err conftest.$ac_objext \ 19141 conftest$ac_exeext conftest.$ac_ext 19142LIBS=$ac_check_lib_save_LIBS 19143fi 19144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 19145$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } 19146if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : 19147 gl_have_pthread=yes 19148 LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread 19149 LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread 19150fi 19151 19152 if test -z "$gl_have_pthread"; then 19153 # For FreeBSD 4. 19154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 19155$as_echo_n "checking for pthread_kill in -lc_r... " >&6; } 19156if ${ac_cv_lib_c_r_pthread_kill+:} false; then : 19157 $as_echo_n "(cached) " >&6 19158else 19159 ac_check_lib_save_LIBS=$LIBS 19160LIBS="-lc_r $LIBS" 19161cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19162/* end confdefs.h. */ 19163 19164/* Override any GCC internal prototype to avoid an error. 19165 Use char because int might match the return type of a GCC 19166 builtin and then its argument prototype would still apply. */ 19167#ifdef __cplusplus 19168extern "C" 19169#endif 19170char pthread_kill (); 19171int 19172main () 19173{ 19174return pthread_kill (); 19175 ; 19176 return 0; 19177} 19178_ACEOF 19179if ac_fn_c_try_link "$LINENO"; then : 19180 ac_cv_lib_c_r_pthread_kill=yes 19181else 19182 ac_cv_lib_c_r_pthread_kill=no 19183fi 19184rm -f core conftest.err conftest.$ac_objext \ 19185 conftest$ac_exeext conftest.$ac_ext 19186LIBS=$ac_check_lib_save_LIBS 19187fi 19188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5 19189$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; } 19190if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then : 19191 gl_have_pthread=yes 19192 LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r 19193 LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r 19194fi 19195 19196 fi 19197 fi 19198 if test -n "$gl_have_pthread"; then 19199 gl_threads_api=posix 19200 19201$as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h 19202 19203 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then 19204 if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then 19205 19206$as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h 19207 19208 LIBTHREAD= 19209 LTLIBTHREAD= 19210 fi 19211 fi 19212 fi 19213 fi 19214 fi 19215 if test -z "$gl_have_pthread"; then 19216 if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then 19217 gl_have_solaristhread= 19218 gl_save_LIBS="$LIBS" 19219 LIBS="$LIBS -lthread" 19220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19221/* end confdefs.h. */ 19222#include <thread.h> 19223#include <synch.h> 19224int 19225main () 19226{ 19227thr_self(); 19228 ; 19229 return 0; 19230} 19231_ACEOF 19232if ac_fn_c_try_link "$LINENO"; then : 19233 gl_have_solaristhread=yes 19234fi 19235rm -f core conftest.err conftest.$ac_objext \ 19236 conftest$ac_exeext conftest.$ac_ext 19237 LIBS="$gl_save_LIBS" 19238 if test -n "$gl_have_solaristhread"; then 19239 gl_threads_api=solaris 19240 LIBTHREAD=-lthread 19241 LTLIBTHREAD=-lthread 19242 LIBMULTITHREAD="$LIBTHREAD" 19243 LTLIBMULTITHREAD="$LTLIBTHREAD" 19244 19245$as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h 19246 19247 if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then 19248 19249$as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h 19250 19251 LIBTHREAD= 19252 LTLIBTHREAD= 19253 fi 19254 fi 19255 fi 19256 fi 19257 if test "$gl_use_threads" = pth; then 19258 gl_save_CPPFLAGS="$CPPFLAGS" 19259 19260 19261 19262 19263 19264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5 19265$as_echo_n "checking how to link with libpth... " >&6; } 19266if ${ac_cv_libpth_libs+:} false; then : 19267 $as_echo_n "(cached) " >&6 19268else 19269 19270 19271 19272 19273 19274 19275 19276 19277 use_additional=yes 19278 19279 acl_save_prefix="$prefix" 19280 prefix="$acl_final_prefix" 19281 acl_save_exec_prefix="$exec_prefix" 19282 exec_prefix="$acl_final_exec_prefix" 19283 19284 eval additional_includedir=\"$includedir\" 19285 eval additional_libdir=\"$libdir\" 19286 19287 exec_prefix="$acl_save_exec_prefix" 19288 prefix="$acl_save_prefix" 19289 19290 19291# Check whether --with-libpth-prefix was given. 19292if test "${with_libpth_prefix+set}" = set; then : 19293 withval=$with_libpth_prefix; 19294 if test "X$withval" = "Xno"; then 19295 use_additional=no 19296 else 19297 if test "X$withval" = "X"; then 19298 19299 acl_save_prefix="$prefix" 19300 prefix="$acl_final_prefix" 19301 acl_save_exec_prefix="$exec_prefix" 19302 exec_prefix="$acl_final_exec_prefix" 19303 19304 eval additional_includedir=\"$includedir\" 19305 eval additional_libdir=\"$libdir\" 19306 19307 exec_prefix="$acl_save_exec_prefix" 19308 prefix="$acl_save_prefix" 19309 19310 else 19311 additional_includedir="$withval/include" 19312 additional_libdir="$withval/$acl_libdirstem" 19313 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 19314 && ! test -d "$withval/$acl_libdirstem"; then 19315 additional_libdir="$withval/$acl_libdirstem2" 19316 fi 19317 fi 19318 fi 19319 19320fi 19321 19322 LIBPTH= 19323 LTLIBPTH= 19324 INCPTH= 19325 LIBPTH_PREFIX= 19326 HAVE_LIBPTH= 19327 rpathdirs= 19328 ltrpathdirs= 19329 names_already_handled= 19330 names_next_round='pth ' 19331 while test -n "$names_next_round"; do 19332 names_this_round="$names_next_round" 19333 names_next_round= 19334 for name in $names_this_round; do 19335 already_handled= 19336 for n in $names_already_handled; do 19337 if test "$n" = "$name"; then 19338 already_handled=yes 19339 break 19340 fi 19341 done 19342 if test -z "$already_handled"; then 19343 names_already_handled="$names_already_handled $name" 19344 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 19345 eval value=\"\$HAVE_LIB$uppername\" 19346 if test -n "$value"; then 19347 if test "$value" = yes; then 19348 eval value=\"\$LIB$uppername\" 19349 test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value" 19350 eval value=\"\$LTLIB$uppername\" 19351 test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value" 19352 else 19353 : 19354 fi 19355 else 19356 found_dir= 19357 found_la= 19358 found_so= 19359 found_a= 19360 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 19361 if test -n "$acl_shlibext"; then 19362 shrext=".$acl_shlibext" # typically: shrext=.so 19363 else 19364 shrext= 19365 fi 19366 if test $use_additional = yes; then 19367 dir="$additional_libdir" 19368 if test -n "$acl_shlibext"; then 19369 if test -f "$dir/$libname$shrext"; then 19370 found_dir="$dir" 19371 found_so="$dir/$libname$shrext" 19372 else 19373 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 19374 ver=`(cd "$dir" && \ 19375 for f in "$libname$shrext".*; do echo "$f"; done \ 19376 | sed -e "s,^$libname$shrext\\\\.,," \ 19377 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 19378 | sed 1q ) 2>/dev/null` 19379 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 19380 found_dir="$dir" 19381 found_so="$dir/$libname$shrext.$ver" 19382 fi 19383 else 19384 eval library_names=\"$acl_library_names_spec\" 19385 for f in $library_names; do 19386 if test -f "$dir/$f"; then 19387 found_dir="$dir" 19388 found_so="$dir/$f" 19389 break 19390 fi 19391 done 19392 fi 19393 fi 19394 fi 19395 if test "X$found_dir" = "X"; then 19396 if test -f "$dir/$libname.$acl_libext"; then 19397 found_dir="$dir" 19398 found_a="$dir/$libname.$acl_libext" 19399 fi 19400 fi 19401 if test "X$found_dir" != "X"; then 19402 if test -f "$dir/$libname.la"; then 19403 found_la="$dir/$libname.la" 19404 fi 19405 fi 19406 fi 19407 if test "X$found_dir" = "X"; then 19408 for x in $LDFLAGS $LTLIBPTH; do 19409 19410 acl_save_prefix="$prefix" 19411 prefix="$acl_final_prefix" 19412 acl_save_exec_prefix="$exec_prefix" 19413 exec_prefix="$acl_final_exec_prefix" 19414 eval x=\"$x\" 19415 exec_prefix="$acl_save_exec_prefix" 19416 prefix="$acl_save_prefix" 19417 19418 case "$x" in 19419 -L*) 19420 dir=`echo "X$x" | sed -e 's/^X-L//'` 19421 if test -n "$acl_shlibext"; then 19422 if test -f "$dir/$libname$shrext"; then 19423 found_dir="$dir" 19424 found_so="$dir/$libname$shrext" 19425 else 19426 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 19427 ver=`(cd "$dir" && \ 19428 for f in "$libname$shrext".*; do echo "$f"; done \ 19429 | sed -e "s,^$libname$shrext\\\\.,," \ 19430 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 19431 | sed 1q ) 2>/dev/null` 19432 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 19433 found_dir="$dir" 19434 found_so="$dir/$libname$shrext.$ver" 19435 fi 19436 else 19437 eval library_names=\"$acl_library_names_spec\" 19438 for f in $library_names; do 19439 if test -f "$dir/$f"; then 19440 found_dir="$dir" 19441 found_so="$dir/$f" 19442 break 19443 fi 19444 done 19445 fi 19446 fi 19447 fi 19448 if test "X$found_dir" = "X"; then 19449 if test -f "$dir/$libname.$acl_libext"; then 19450 found_dir="$dir" 19451 found_a="$dir/$libname.$acl_libext" 19452 fi 19453 fi 19454 if test "X$found_dir" != "X"; then 19455 if test -f "$dir/$libname.la"; then 19456 found_la="$dir/$libname.la" 19457 fi 19458 fi 19459 ;; 19460 esac 19461 if test "X$found_dir" != "X"; then 19462 break 19463 fi 19464 done 19465 fi 19466 if test "X$found_dir" != "X"; then 19467 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name" 19468 if test "X$found_so" != "X"; then 19469 if test "$enable_rpath" = no \ 19470 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 19471 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 19472 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" 19473 else 19474 haveit= 19475 for x in $ltrpathdirs; do 19476 if test "X$x" = "X$found_dir"; then 19477 haveit=yes 19478 break 19479 fi 19480 done 19481 if test -z "$haveit"; then 19482 ltrpathdirs="$ltrpathdirs $found_dir" 19483 fi 19484 if test "$acl_hardcode_direct" = yes; then 19485 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" 19486 else 19487 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 19488 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" 19489 haveit= 19490 for x in $rpathdirs; do 19491 if test "X$x" = "X$found_dir"; then 19492 haveit=yes 19493 break 19494 fi 19495 done 19496 if test -z "$haveit"; then 19497 rpathdirs="$rpathdirs $found_dir" 19498 fi 19499 else 19500 haveit= 19501 for x in $LDFLAGS $LIBPTH; do 19502 19503 acl_save_prefix="$prefix" 19504 prefix="$acl_final_prefix" 19505 acl_save_exec_prefix="$exec_prefix" 19506 exec_prefix="$acl_final_exec_prefix" 19507 eval x=\"$x\" 19508 exec_prefix="$acl_save_exec_prefix" 19509 prefix="$acl_save_prefix" 19510 19511 if test "X$x" = "X-L$found_dir"; then 19512 haveit=yes 19513 break 19514 fi 19515 done 19516 if test -z "$haveit"; then 19517 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir" 19518 fi 19519 if test "$acl_hardcode_minus_L" != no; then 19520 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" 19521 else 19522 LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name" 19523 fi 19524 fi 19525 fi 19526 fi 19527 else 19528 if test "X$found_a" != "X"; then 19529 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a" 19530 else 19531 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name" 19532 fi 19533 fi 19534 additional_includedir= 19535 case "$found_dir" in 19536 */$acl_libdirstem | */$acl_libdirstem/) 19537 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 19538 if test "$name" = 'pth'; then 19539 LIBPTH_PREFIX="$basedir" 19540 fi 19541 additional_includedir="$basedir/include" 19542 ;; 19543 */$acl_libdirstem2 | */$acl_libdirstem2/) 19544 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 19545 if test "$name" = 'pth'; then 19546 LIBPTH_PREFIX="$basedir" 19547 fi 19548 additional_includedir="$basedir/include" 19549 ;; 19550 esac 19551 if test "X$additional_includedir" != "X"; then 19552 if test "X$additional_includedir" != "X/usr/include"; then 19553 haveit= 19554 if test "X$additional_includedir" = "X/usr/local/include"; then 19555 if test -n "$GCC"; then 19556 case $host_os in 19557 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 19558 esac 19559 fi 19560 fi 19561 if test -z "$haveit"; then 19562 for x in $CPPFLAGS $INCPTH; do 19563 19564 acl_save_prefix="$prefix" 19565 prefix="$acl_final_prefix" 19566 acl_save_exec_prefix="$exec_prefix" 19567 exec_prefix="$acl_final_exec_prefix" 19568 eval x=\"$x\" 19569 exec_prefix="$acl_save_exec_prefix" 19570 prefix="$acl_save_prefix" 19571 19572 if test "X$x" = "X-I$additional_includedir"; then 19573 haveit=yes 19574 break 19575 fi 19576 done 19577 if test -z "$haveit"; then 19578 if test -d "$additional_includedir"; then 19579 INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir" 19580 fi 19581 fi 19582 fi 19583 fi 19584 fi 19585 if test -n "$found_la"; then 19586 save_libdir="$libdir" 19587 case "$found_la" in 19588 */* | *\\*) . "$found_la" ;; 19589 *) . "./$found_la" ;; 19590 esac 19591 libdir="$save_libdir" 19592 for dep in $dependency_libs; do 19593 case "$dep" in 19594 -L*) 19595 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 19596 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 19597 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 19598 haveit= 19599 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 19600 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 19601 if test -n "$GCC"; then 19602 case $host_os in 19603 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 19604 esac 19605 fi 19606 fi 19607 if test -z "$haveit"; then 19608 haveit= 19609 for x in $LDFLAGS $LIBPTH; do 19610 19611 acl_save_prefix="$prefix" 19612 prefix="$acl_final_prefix" 19613 acl_save_exec_prefix="$exec_prefix" 19614 exec_prefix="$acl_final_exec_prefix" 19615 eval x=\"$x\" 19616 exec_prefix="$acl_save_exec_prefix" 19617 prefix="$acl_save_prefix" 19618 19619 if test "X$x" = "X-L$additional_libdir"; then 19620 haveit=yes 19621 break 19622 fi 19623 done 19624 if test -z "$haveit"; then 19625 if test -d "$additional_libdir"; then 19626 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir" 19627 fi 19628 fi 19629 haveit= 19630 for x in $LDFLAGS $LTLIBPTH; do 19631 19632 acl_save_prefix="$prefix" 19633 prefix="$acl_final_prefix" 19634 acl_save_exec_prefix="$exec_prefix" 19635 exec_prefix="$acl_final_exec_prefix" 19636 eval x=\"$x\" 19637 exec_prefix="$acl_save_exec_prefix" 19638 prefix="$acl_save_prefix" 19639 19640 if test "X$x" = "X-L$additional_libdir"; then 19641 haveit=yes 19642 break 19643 fi 19644 done 19645 if test -z "$haveit"; then 19646 if test -d "$additional_libdir"; then 19647 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir" 19648 fi 19649 fi 19650 fi 19651 fi 19652 ;; 19653 -R*) 19654 dir=`echo "X$dep" | sed -e 's/^X-R//'` 19655 if test "$enable_rpath" != no; then 19656 haveit= 19657 for x in $rpathdirs; do 19658 if test "X$x" = "X$dir"; then 19659 haveit=yes 19660 break 19661 fi 19662 done 19663 if test -z "$haveit"; then 19664 rpathdirs="$rpathdirs $dir" 19665 fi 19666 haveit= 19667 for x in $ltrpathdirs; do 19668 if test "X$x" = "X$dir"; then 19669 haveit=yes 19670 break 19671 fi 19672 done 19673 if test -z "$haveit"; then 19674 ltrpathdirs="$ltrpathdirs $dir" 19675 fi 19676 fi 19677 ;; 19678 -l*) 19679 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 19680 ;; 19681 *.la) 19682 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 19683 ;; 19684 *) 19685 LIBPTH="${LIBPTH}${LIBPTH:+ }$dep" 19686 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep" 19687 ;; 19688 esac 19689 done 19690 fi 19691 else 19692 LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name" 19693 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name" 19694 fi 19695 fi 19696 fi 19697 done 19698 done 19699 if test "X$rpathdirs" != "X"; then 19700 if test -n "$acl_hardcode_libdir_separator"; then 19701 alldirs= 19702 for found_dir in $rpathdirs; do 19703 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 19704 done 19705 acl_save_libdir="$libdir" 19706 libdir="$alldirs" 19707 eval flag=\"$acl_hardcode_libdir_flag_spec\" 19708 libdir="$acl_save_libdir" 19709 LIBPTH="${LIBPTH}${LIBPTH:+ }$flag" 19710 else 19711 for found_dir in $rpathdirs; do 19712 acl_save_libdir="$libdir" 19713 libdir="$found_dir" 19714 eval flag=\"$acl_hardcode_libdir_flag_spec\" 19715 libdir="$acl_save_libdir" 19716 LIBPTH="${LIBPTH}${LIBPTH:+ }$flag" 19717 done 19718 fi 19719 fi 19720 if test "X$ltrpathdirs" != "X"; then 19721 for found_dir in $ltrpathdirs; do 19722 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir" 19723 done 19724 fi 19725 19726 19727 19728 19729 19730 19731 ac_cv_libpth_libs="$LIBPTH" 19732 ac_cv_libpth_ltlibs="$LTLIBPTH" 19733 ac_cv_libpth_cppflags="$INCPTH" 19734 ac_cv_libpth_prefix="$LIBPTH_PREFIX" 19735 19736fi 19737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5 19738$as_echo "$ac_cv_libpth_libs" >&6; } 19739 LIBPTH="$ac_cv_libpth_libs" 19740 LTLIBPTH="$ac_cv_libpth_ltlibs" 19741 INCPTH="$ac_cv_libpth_cppflags" 19742 LIBPTH_PREFIX="$ac_cv_libpth_prefix" 19743 19744 for element in $INCPTH; do 19745 haveit= 19746 for x in $CPPFLAGS; do 19747 19748 acl_save_prefix="$prefix" 19749 prefix="$acl_final_prefix" 19750 acl_save_exec_prefix="$exec_prefix" 19751 exec_prefix="$acl_final_exec_prefix" 19752 eval x=\"$x\" 19753 exec_prefix="$acl_save_exec_prefix" 19754 prefix="$acl_save_prefix" 19755 19756 if test "X$x" = "X$element"; then 19757 haveit=yes 19758 break 19759 fi 19760 done 19761 if test -z "$haveit"; then 19762 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 19763 fi 19764 done 19765 19766 19767 19768 19769 HAVE_LIBPTH=yes 19770 19771 19772 19773 gl_have_pth= 19774 gl_save_LIBS="$LIBS" 19775 LIBS="$LIBS -lpth" 19776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19777/* end confdefs.h. */ 19778#include <pth.h> 19779int 19780main () 19781{ 19782pth_self(); 19783 ; 19784 return 0; 19785} 19786_ACEOF 19787if ac_fn_c_try_link "$LINENO"; then : 19788 gl_have_pth=yes 19789fi 19790rm -f core conftest.err conftest.$ac_objext \ 19791 conftest$ac_exeext conftest.$ac_ext 19792 LIBS="$gl_save_LIBS" 19793 if test -n "$gl_have_pth"; then 19794 gl_threads_api=pth 19795 LIBTHREAD="$LIBPTH" 19796 LTLIBTHREAD="$LTLIBPTH" 19797 LIBMULTITHREAD="$LIBTHREAD" 19798 LTLIBMULTITHREAD="$LTLIBTHREAD" 19799 19800$as_echo "#define USE_PTH_THREADS 1" >>confdefs.h 19801 19802 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then 19803 if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then 19804 19805$as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h 19806 19807 LIBTHREAD= 19808 LTLIBTHREAD= 19809 fi 19810 fi 19811 else 19812 CPPFLAGS="$gl_save_CPPFLAGS" 19813 fi 19814 fi 19815 if test -z "$gl_have_pthread"; then 19816 if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then 19817 if { case "$host_os" in 19818 mingw*) true;; 19819 *) false;; 19820 esac 19821 }; then 19822 gl_threads_api=win32 19823 19824$as_echo "#define USE_WIN32_THREADS 1" >>confdefs.h 19825 19826 fi 19827 fi 19828 fi 19829 fi 19830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5 19831$as_echo_n "checking for multithread API to use... " >&6; } 19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5 19833$as_echo "$gl_threads_api" >&6; } 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 if test "$gl_threads_api" = posix; then 19846 # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the 19847 # pthread_rwlock_* functions. 19848 ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h> 19849" 19850if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then : 19851 19852$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h 19853 19854fi 19855 19856 # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. 19857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19858/* end confdefs.h. */ 19859#include <pthread.h> 19860int 19861main () 19862{ 19863#if __FreeBSD__ == 4 19864error "No, in FreeBSD 4.0 recursive mutexes actually don't work." 19865#else 19866int x = (int)PTHREAD_MUTEX_RECURSIVE; 19867return !x; 19868#endif 19869 ; 19870 return 0; 19871} 19872_ACEOF 19873if ac_fn_c_try_compile "$LINENO"; then : 19874 19875$as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h 19876 19877fi 19878rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19879 fi 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 use_additional=yes 19896 19897 acl_save_prefix="$prefix" 19898 prefix="$acl_final_prefix" 19899 acl_save_exec_prefix="$exec_prefix" 19900 exec_prefix="$acl_final_exec_prefix" 19901 19902 eval additional_includedir=\"$includedir\" 19903 eval additional_libdir=\"$libdir\" 19904 19905 exec_prefix="$acl_save_exec_prefix" 19906 prefix="$acl_save_prefix" 19907 19908 19909# Check whether --with-libiconv-prefix was given. 19910if test "${with_libiconv_prefix+set}" = set; then : 19911 withval=$with_libiconv_prefix; 19912 if test "X$withval" = "Xno"; then 19913 use_additional=no 19914 else 19915 if test "X$withval" = "X"; then 19916 19917 acl_save_prefix="$prefix" 19918 prefix="$acl_final_prefix" 19919 acl_save_exec_prefix="$exec_prefix" 19920 exec_prefix="$acl_final_exec_prefix" 19921 19922 eval additional_includedir=\"$includedir\" 19923 eval additional_libdir=\"$libdir\" 19924 19925 exec_prefix="$acl_save_exec_prefix" 19926 prefix="$acl_save_prefix" 19927 19928 else 19929 additional_includedir="$withval/include" 19930 additional_libdir="$withval/$acl_libdirstem" 19931 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 19932 && ! test -d "$withval/$acl_libdirstem"; then 19933 additional_libdir="$withval/$acl_libdirstem2" 19934 fi 19935 fi 19936 fi 19937 19938fi 19939 19940 LIBICONV= 19941 LTLIBICONV= 19942 INCICONV= 19943 LIBICONV_PREFIX= 19944 HAVE_LIBICONV= 19945 rpathdirs= 19946 ltrpathdirs= 19947 names_already_handled= 19948 names_next_round='iconv ' 19949 while test -n "$names_next_round"; do 19950 names_this_round="$names_next_round" 19951 names_next_round= 19952 for name in $names_this_round; do 19953 already_handled= 19954 for n in $names_already_handled; do 19955 if test "$n" = "$name"; then 19956 already_handled=yes 19957 break 19958 fi 19959 done 19960 if test -z "$already_handled"; then 19961 names_already_handled="$names_already_handled $name" 19962 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 19963 eval value=\"\$HAVE_LIB$uppername\" 19964 if test -n "$value"; then 19965 if test "$value" = yes; then 19966 eval value=\"\$LIB$uppername\" 19967 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 19968 eval value=\"\$LTLIB$uppername\" 19969 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 19970 else 19971 : 19972 fi 19973 else 19974 found_dir= 19975 found_la= 19976 found_so= 19977 found_a= 19978 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 19979 if test -n "$acl_shlibext"; then 19980 shrext=".$acl_shlibext" # typically: shrext=.so 19981 else 19982 shrext= 19983 fi 19984 if test $use_additional = yes; then 19985 dir="$additional_libdir" 19986 if test -n "$acl_shlibext"; then 19987 if test -f "$dir/$libname$shrext"; then 19988 found_dir="$dir" 19989 found_so="$dir/$libname$shrext" 19990 else 19991 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 19992 ver=`(cd "$dir" && \ 19993 for f in "$libname$shrext".*; do echo "$f"; done \ 19994 | sed -e "s,^$libname$shrext\\\\.,," \ 19995 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 19996 | sed 1q ) 2>/dev/null` 19997 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 19998 found_dir="$dir" 19999 found_so="$dir/$libname$shrext.$ver" 20000 fi 20001 else 20002 eval library_names=\"$acl_library_names_spec\" 20003 for f in $library_names; do 20004 if test -f "$dir/$f"; then 20005 found_dir="$dir" 20006 found_so="$dir/$f" 20007 break 20008 fi 20009 done 20010 fi 20011 fi 20012 fi 20013 if test "X$found_dir" = "X"; then 20014 if test -f "$dir/$libname.$acl_libext"; then 20015 found_dir="$dir" 20016 found_a="$dir/$libname.$acl_libext" 20017 fi 20018 fi 20019 if test "X$found_dir" != "X"; then 20020 if test -f "$dir/$libname.la"; then 20021 found_la="$dir/$libname.la" 20022 fi 20023 fi 20024 fi 20025 if test "X$found_dir" = "X"; then 20026 for x in $LDFLAGS $LTLIBICONV; do 20027 20028 acl_save_prefix="$prefix" 20029 prefix="$acl_final_prefix" 20030 acl_save_exec_prefix="$exec_prefix" 20031 exec_prefix="$acl_final_exec_prefix" 20032 eval x=\"$x\" 20033 exec_prefix="$acl_save_exec_prefix" 20034 prefix="$acl_save_prefix" 20035 20036 case "$x" in 20037 -L*) 20038 dir=`echo "X$x" | sed -e 's/^X-L//'` 20039 if test -n "$acl_shlibext"; then 20040 if test -f "$dir/$libname$shrext"; then 20041 found_dir="$dir" 20042 found_so="$dir/$libname$shrext" 20043 else 20044 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 20045 ver=`(cd "$dir" && \ 20046 for f in "$libname$shrext".*; do echo "$f"; done \ 20047 | sed -e "s,^$libname$shrext\\\\.,," \ 20048 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 20049 | sed 1q ) 2>/dev/null` 20050 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 20051 found_dir="$dir" 20052 found_so="$dir/$libname$shrext.$ver" 20053 fi 20054 else 20055 eval library_names=\"$acl_library_names_spec\" 20056 for f in $library_names; do 20057 if test -f "$dir/$f"; then 20058 found_dir="$dir" 20059 found_so="$dir/$f" 20060 break 20061 fi 20062 done 20063 fi 20064 fi 20065 fi 20066 if test "X$found_dir" = "X"; then 20067 if test -f "$dir/$libname.$acl_libext"; then 20068 found_dir="$dir" 20069 found_a="$dir/$libname.$acl_libext" 20070 fi 20071 fi 20072 if test "X$found_dir" != "X"; then 20073 if test -f "$dir/$libname.la"; then 20074 found_la="$dir/$libname.la" 20075 fi 20076 fi 20077 ;; 20078 esac 20079 if test "X$found_dir" != "X"; then 20080 break 20081 fi 20082 done 20083 fi 20084 if test "X$found_dir" != "X"; then 20085 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 20086 if test "X$found_so" != "X"; then 20087 if test "$enable_rpath" = no \ 20088 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 20089 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 20090 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 20091 else 20092 haveit= 20093 for x in $ltrpathdirs; do 20094 if test "X$x" = "X$found_dir"; then 20095 haveit=yes 20096 break 20097 fi 20098 done 20099 if test -z "$haveit"; then 20100 ltrpathdirs="$ltrpathdirs $found_dir" 20101 fi 20102 if test "$acl_hardcode_direct" = yes; then 20103 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 20104 else 20105 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 20106 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 20107 haveit= 20108 for x in $rpathdirs; do 20109 if test "X$x" = "X$found_dir"; then 20110 haveit=yes 20111 break 20112 fi 20113 done 20114 if test -z "$haveit"; then 20115 rpathdirs="$rpathdirs $found_dir" 20116 fi 20117 else 20118 haveit= 20119 for x in $LDFLAGS $LIBICONV; do 20120 20121 acl_save_prefix="$prefix" 20122 prefix="$acl_final_prefix" 20123 acl_save_exec_prefix="$exec_prefix" 20124 exec_prefix="$acl_final_exec_prefix" 20125 eval x=\"$x\" 20126 exec_prefix="$acl_save_exec_prefix" 20127 prefix="$acl_save_prefix" 20128 20129 if test "X$x" = "X-L$found_dir"; then 20130 haveit=yes 20131 break 20132 fi 20133 done 20134 if test -z "$haveit"; then 20135 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 20136 fi 20137 if test "$acl_hardcode_minus_L" != no; then 20138 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 20139 else 20140 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 20141 fi 20142 fi 20143 fi 20144 fi 20145 else 20146 if test "X$found_a" != "X"; then 20147 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 20148 else 20149 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 20150 fi 20151 fi 20152 additional_includedir= 20153 case "$found_dir" in 20154 */$acl_libdirstem | */$acl_libdirstem/) 20155 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 20156 if test "$name" = 'iconv'; then 20157 LIBICONV_PREFIX="$basedir" 20158 fi 20159 additional_includedir="$basedir/include" 20160 ;; 20161 */$acl_libdirstem2 | */$acl_libdirstem2/) 20162 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 20163 if test "$name" = 'iconv'; then 20164 LIBICONV_PREFIX="$basedir" 20165 fi 20166 additional_includedir="$basedir/include" 20167 ;; 20168 esac 20169 if test "X$additional_includedir" != "X"; then 20170 if test "X$additional_includedir" != "X/usr/include"; then 20171 haveit= 20172 if test "X$additional_includedir" = "X/usr/local/include"; then 20173 if test -n "$GCC"; then 20174 case $host_os in 20175 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 20176 esac 20177 fi 20178 fi 20179 if test -z "$haveit"; then 20180 for x in $CPPFLAGS $INCICONV; do 20181 20182 acl_save_prefix="$prefix" 20183 prefix="$acl_final_prefix" 20184 acl_save_exec_prefix="$exec_prefix" 20185 exec_prefix="$acl_final_exec_prefix" 20186 eval x=\"$x\" 20187 exec_prefix="$acl_save_exec_prefix" 20188 prefix="$acl_save_prefix" 20189 20190 if test "X$x" = "X-I$additional_includedir"; then 20191 haveit=yes 20192 break 20193 fi 20194 done 20195 if test -z "$haveit"; then 20196 if test -d "$additional_includedir"; then 20197 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 20198 fi 20199 fi 20200 fi 20201 fi 20202 fi 20203 if test -n "$found_la"; then 20204 save_libdir="$libdir" 20205 case "$found_la" in 20206 */* | *\\*) . "$found_la" ;; 20207 *) . "./$found_la" ;; 20208 esac 20209 libdir="$save_libdir" 20210 for dep in $dependency_libs; do 20211 case "$dep" in 20212 -L*) 20213 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 20214 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 20215 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 20216 haveit= 20217 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 20218 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 20219 if test -n "$GCC"; then 20220 case $host_os in 20221 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 20222 esac 20223 fi 20224 fi 20225 if test -z "$haveit"; then 20226 haveit= 20227 for x in $LDFLAGS $LIBICONV; do 20228 20229 acl_save_prefix="$prefix" 20230 prefix="$acl_final_prefix" 20231 acl_save_exec_prefix="$exec_prefix" 20232 exec_prefix="$acl_final_exec_prefix" 20233 eval x=\"$x\" 20234 exec_prefix="$acl_save_exec_prefix" 20235 prefix="$acl_save_prefix" 20236 20237 if test "X$x" = "X-L$additional_libdir"; then 20238 haveit=yes 20239 break 20240 fi 20241 done 20242 if test -z "$haveit"; then 20243 if test -d "$additional_libdir"; then 20244 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 20245 fi 20246 fi 20247 haveit= 20248 for x in $LDFLAGS $LTLIBICONV; do 20249 20250 acl_save_prefix="$prefix" 20251 prefix="$acl_final_prefix" 20252 acl_save_exec_prefix="$exec_prefix" 20253 exec_prefix="$acl_final_exec_prefix" 20254 eval x=\"$x\" 20255 exec_prefix="$acl_save_exec_prefix" 20256 prefix="$acl_save_prefix" 20257 20258 if test "X$x" = "X-L$additional_libdir"; then 20259 haveit=yes 20260 break 20261 fi 20262 done 20263 if test -z "$haveit"; then 20264 if test -d "$additional_libdir"; then 20265 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 20266 fi 20267 fi 20268 fi 20269 fi 20270 ;; 20271 -R*) 20272 dir=`echo "X$dep" | sed -e 's/^X-R//'` 20273 if test "$enable_rpath" != no; then 20274 haveit= 20275 for x in $rpathdirs; do 20276 if test "X$x" = "X$dir"; then 20277 haveit=yes 20278 break 20279 fi 20280 done 20281 if test -z "$haveit"; then 20282 rpathdirs="$rpathdirs $dir" 20283 fi 20284 haveit= 20285 for x in $ltrpathdirs; do 20286 if test "X$x" = "X$dir"; then 20287 haveit=yes 20288 break 20289 fi 20290 done 20291 if test -z "$haveit"; then 20292 ltrpathdirs="$ltrpathdirs $dir" 20293 fi 20294 fi 20295 ;; 20296 -l*) 20297 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 20298 ;; 20299 *.la) 20300 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 20301 ;; 20302 *) 20303 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 20304 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 20305 ;; 20306 esac 20307 done 20308 fi 20309 else 20310 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 20311 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 20312 fi 20313 fi 20314 fi 20315 done 20316 done 20317 if test "X$rpathdirs" != "X"; then 20318 if test -n "$acl_hardcode_libdir_separator"; then 20319 alldirs= 20320 for found_dir in $rpathdirs; do 20321 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 20322 done 20323 acl_save_libdir="$libdir" 20324 libdir="$alldirs" 20325 eval flag=\"$acl_hardcode_libdir_flag_spec\" 20326 libdir="$acl_save_libdir" 20327 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 20328 else 20329 for found_dir in $rpathdirs; do 20330 acl_save_libdir="$libdir" 20331 libdir="$found_dir" 20332 eval flag=\"$acl_hardcode_libdir_flag_spec\" 20333 libdir="$acl_save_libdir" 20334 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 20335 done 20336 fi 20337 fi 20338 if test "X$ltrpathdirs" != "X"; then 20339 for found_dir in $ltrpathdirs; do 20340 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 20341 done 20342 fi 20343 20344 20345 20346 20347 20348 20349 20350 20351 20352 20353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20354/* end confdefs.h. */ 20355int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; } 20356int 20357main () 20358{ 20359 20360 ; 20361 return 0; 20362} 20363_ACEOF 20364if ac_fn_c_try_link "$LINENO"; then : 20365 20366$as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h 20367 20368fi 20369rm -f core conftest.err conftest.$ac_objext \ 20370 conftest$ac_exeext conftest.$ac_ext 20371 20372 for ac_header in argz.h inttypes.h limits.h unistd.h sys/param.h 20373do : 20374 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 20375ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 20376if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 20377 cat >>confdefs.h <<_ACEOF 20378#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 20379_ACEOF 20380 20381fi 20382 20383done 20384 20385 for ac_func in getcwd getegid geteuid getgid getuid mempcpy munmap \ 20386 stpcpy strcasecmp strdup strtoul tsearch uselocale argz_count \ 20387 argz_stringify argz_next __fsetlocking 20388do : 20389 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20390ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20391if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20392 cat >>confdefs.h <<_ACEOF 20393#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20394_ACEOF 20395 20396fi 20397done 20398 20399 20400 20401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5 20402$as_echo_n "checking whether feof_unlocked is declared... " >&6; } 20403if ${ac_cv_have_decl_feof_unlocked+:} false; then : 20404 $as_echo_n "(cached) " >&6 20405else 20406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20407/* end confdefs.h. */ 20408#include <stdio.h> 20409int 20410main () 20411{ 20412 20413#ifndef feof_unlocked 20414 char *p = (char *) feof_unlocked; 20415#endif 20416 20417 ; 20418 return 0; 20419} 20420_ACEOF 20421if ac_fn_c_try_compile "$LINENO"; then : 20422 ac_cv_have_decl_feof_unlocked=yes 20423else 20424 ac_cv_have_decl_feof_unlocked=no 20425fi 20426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20427fi 20428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&5 20429$as_echo "$ac_cv_have_decl_feof_unlocked" >&6; } 20430 if test $ac_cv_have_decl_feof_unlocked = yes; then 20431 gt_value=1 20432 else 20433 gt_value=0 20434 fi 20435 20436cat >>confdefs.h <<_ACEOF 20437#define HAVE_DECL_FEOF_UNLOCKED $gt_value 20438_ACEOF 20439 20440 20441 20442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5 20443$as_echo_n "checking whether fgets_unlocked is declared... " >&6; } 20444if ${ac_cv_have_decl_fgets_unlocked+:} false; then : 20445 $as_echo_n "(cached) " >&6 20446else 20447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20448/* end confdefs.h. */ 20449#include <stdio.h> 20450int 20451main () 20452{ 20453 20454#ifndef fgets_unlocked 20455 char *p = (char *) fgets_unlocked; 20456#endif 20457 20458 ; 20459 return 0; 20460} 20461_ACEOF 20462if ac_fn_c_try_compile "$LINENO"; then : 20463 ac_cv_have_decl_fgets_unlocked=yes 20464else 20465 ac_cv_have_decl_fgets_unlocked=no 20466fi 20467rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20468fi 20469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&5 20470$as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; } 20471 if test $ac_cv_have_decl_fgets_unlocked = yes; then 20472 gt_value=1 20473 else 20474 gt_value=0 20475 fi 20476 20477cat >>confdefs.h <<_ACEOF 20478#define HAVE_DECL_FGETS_UNLOCKED $gt_value 20479_ACEOF 20480 20481 20482 20483 20484 20485 20486 20487 20488 am_save_CPPFLAGS="$CPPFLAGS" 20489 20490 for element in $INCICONV; do 20491 haveit= 20492 for x in $CPPFLAGS; do 20493 20494 acl_save_prefix="$prefix" 20495 prefix="$acl_final_prefix" 20496 acl_save_exec_prefix="$exec_prefix" 20497 exec_prefix="$acl_final_exec_prefix" 20498 eval x=\"$x\" 20499 exec_prefix="$acl_save_exec_prefix" 20500 prefix="$acl_save_prefix" 20501 20502 if test "X$x" = "X$element"; then 20503 haveit=yes 20504 break 20505 fi 20506 done 20507 if test -z "$haveit"; then 20508 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 20509 fi 20510 done 20511 20512 20513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 20514$as_echo_n "checking for iconv... " >&6; } 20515if ${am_cv_func_iconv+:} false; then : 20516 $as_echo_n "(cached) " >&6 20517else 20518 20519 am_cv_func_iconv="no, consider installing GNU libiconv" 20520 am_cv_lib_iconv=no 20521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20522/* end confdefs.h. */ 20523#include <stdlib.h> 20524#include <iconv.h> 20525int 20526main () 20527{ 20528iconv_t cd = iconv_open("",""); 20529 iconv(cd,NULL,NULL,NULL,NULL); 20530 iconv_close(cd); 20531 ; 20532 return 0; 20533} 20534_ACEOF 20535if ac_fn_c_try_link "$LINENO"; then : 20536 am_cv_func_iconv=yes 20537fi 20538rm -f core conftest.err conftest.$ac_objext \ 20539 conftest$ac_exeext conftest.$ac_ext 20540 if test "$am_cv_func_iconv" != yes; then 20541 am_save_LIBS="$LIBS" 20542 LIBS="$LIBS $LIBICONV" 20543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20544/* end confdefs.h. */ 20545#include <stdlib.h> 20546#include <iconv.h> 20547int 20548main () 20549{ 20550iconv_t cd = iconv_open("",""); 20551 iconv(cd,NULL,NULL,NULL,NULL); 20552 iconv_close(cd); 20553 ; 20554 return 0; 20555} 20556_ACEOF 20557if ac_fn_c_try_link "$LINENO"; then : 20558 am_cv_lib_iconv=yes 20559 am_cv_func_iconv=yes 20560fi 20561rm -f core conftest.err conftest.$ac_objext \ 20562 conftest$ac_exeext conftest.$ac_ext 20563 LIBS="$am_save_LIBS" 20564 fi 20565 20566fi 20567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 20568$as_echo "$am_cv_func_iconv" >&6; } 20569 if test "$am_cv_func_iconv" = yes; then 20570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 20571$as_echo_n "checking for working iconv... " >&6; } 20572if ${am_cv_func_iconv_works+:} false; then : 20573 $as_echo_n "(cached) " >&6 20574else 20575 20576 am_save_LIBS="$LIBS" 20577 if test $am_cv_lib_iconv = yes; then 20578 LIBS="$LIBS $LIBICONV" 20579 fi 20580 if test "$cross_compiling" = yes; then : 20581 case "$host_os" in 20582 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 20583 *) am_cv_func_iconv_works="guessing yes" ;; 20584 esac 20585else 20586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20587/* end confdefs.h. */ 20588 20589#include <iconv.h> 20590#include <string.h> 20591int main () 20592{ 20593 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 20594 returns. */ 20595 { 20596 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 20597 if (cd_utf8_to_88591 != (iconv_t)(-1)) 20598 { 20599 static const char input[] = "\342\202\254"; /* EURO SIGN */ 20600 char buf[10]; 20601 const char *inptr = input; 20602 size_t inbytesleft = strlen (input); 20603 char *outptr = buf; 20604 size_t outbytesleft = sizeof (buf); 20605 size_t res = iconv (cd_utf8_to_88591, 20606 (char **) &inptr, &inbytesleft, 20607 &outptr, &outbytesleft); 20608 if (res == 0) 20609 return 1; 20610 } 20611 } 20612 /* Test against Solaris 10 bug: Failures are not distinguishable from 20613 successful returns. */ 20614 { 20615 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 20616 if (cd_ascii_to_88591 != (iconv_t)(-1)) 20617 { 20618 static const char input[] = "\263"; 20619 char buf[10]; 20620 const char *inptr = input; 20621 size_t inbytesleft = strlen (input); 20622 char *outptr = buf; 20623 size_t outbytesleft = sizeof (buf); 20624 size_t res = iconv (cd_ascii_to_88591, 20625 (char **) &inptr, &inbytesleft, 20626 &outptr, &outbytesleft); 20627 if (res == 0) 20628 return 1; 20629 } 20630 } 20631#if 0 /* This bug could be worked around by the caller. */ 20632 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 20633 { 20634 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 20635 if (cd_88591_to_utf8 != (iconv_t)(-1)) 20636 { 20637 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 20638 char buf[50]; 20639 const char *inptr = input; 20640 size_t inbytesleft = strlen (input); 20641 char *outptr = buf; 20642 size_t outbytesleft = sizeof (buf); 20643 size_t res = iconv (cd_88591_to_utf8, 20644 (char **) &inptr, &inbytesleft, 20645 &outptr, &outbytesleft); 20646 if ((int)res > 0) 20647 return 1; 20648 } 20649 } 20650#endif 20651 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 20652 provided. */ 20653 if (/* Try standardized names. */ 20654 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 20655 /* Try IRIX, OSF/1 names. */ 20656 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 20657 /* Try AIX names. */ 20658 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 20659 /* Try HP-UX names. */ 20660 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 20661 return 1; 20662 return 0; 20663} 20664_ACEOF 20665if ac_fn_c_try_run "$LINENO"; then : 20666 am_cv_func_iconv_works=yes 20667else 20668 am_cv_func_iconv_works=no 20669fi 20670rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20671 conftest.$ac_objext conftest.beam conftest.$ac_ext 20672fi 20673 20674 LIBS="$am_save_LIBS" 20675 20676fi 20677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 20678$as_echo "$am_cv_func_iconv_works" >&6; } 20679 case "$am_cv_func_iconv_works" in 20680 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 20681 *) am_func_iconv=yes ;; 20682 esac 20683 else 20684 am_func_iconv=no am_cv_lib_iconv=no 20685 fi 20686 if test "$am_func_iconv" = yes; then 20687 20688$as_echo "#define HAVE_ICONV 1" >>confdefs.h 20689 20690 fi 20691 if test "$am_cv_lib_iconv" = yes; then 20692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 20693$as_echo_n "checking how to link with libiconv... " >&6; } 20694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 20695$as_echo "$LIBICONV" >&6; } 20696 else 20697 CPPFLAGS="$am_save_CPPFLAGS" 20698 LIBICONV= 20699 LTLIBICONV= 20700 fi 20701 20702 20703 20704 if test "$am_cv_func_iconv" = yes; then 20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 20706$as_echo_n "checking for iconv declaration... " >&6; } 20707 if ${am_cv_proto_iconv+:} false; then : 20708 $as_echo_n "(cached) " >&6 20709else 20710 20711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20712/* end confdefs.h. */ 20713 20714#include <stdlib.h> 20715#include <iconv.h> 20716extern 20717#ifdef __cplusplus 20718"C" 20719#endif 20720#if defined(__STDC__) || defined(__cplusplus) 20721size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 20722#else 20723size_t iconv(); 20724#endif 20725 20726int 20727main () 20728{ 20729 20730 ; 20731 return 0; 20732} 20733_ACEOF 20734if ac_fn_c_try_compile "$LINENO"; then : 20735 am_cv_proto_iconv_arg1="" 20736else 20737 am_cv_proto_iconv_arg1="const" 20738fi 20739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20740 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 20741fi 20742 20743 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 20744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 20745 $am_cv_proto_iconv" >&5 20746$as_echo " 20747 $am_cv_proto_iconv" >&6; } 20748 20749cat >>confdefs.h <<_ACEOF 20750#define ICONV_CONST $am_cv_proto_iconv_arg1 20751_ACEOF 20752 20753 fi 20754 20755 20756 for ac_prog in bison 20757do 20758 # Extract the first word of "$ac_prog", so it can be a program name with args. 20759set dummy $ac_prog; ac_word=$2 20760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20761$as_echo_n "checking for $ac_word... " >&6; } 20762if ${ac_cv_prog_INTLBISON+:} false; then : 20763 $as_echo_n "(cached) " >&6 20764else 20765 if test -n "$INTLBISON"; then 20766 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test. 20767else 20768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20769for as_dir in $PATH 20770do 20771 IFS=$as_save_IFS 20772 test -z "$as_dir" && as_dir=. 20773 for ac_exec_ext in '' $ac_executable_extensions; do 20774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 20775 ac_cv_prog_INTLBISON="$ac_prog" 20776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20777 break 2 20778 fi 20779done 20780 done 20781IFS=$as_save_IFS 20782 20783fi 20784fi 20785INTLBISON=$ac_cv_prog_INTLBISON 20786if test -n "$INTLBISON"; then 20787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5 20788$as_echo "$INTLBISON" >&6; } 20789else 20790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20791$as_echo "no" >&6; } 20792fi 20793 20794 20795 test -n "$INTLBISON" && break 20796done 20797 20798 if test -z "$INTLBISON"; then 20799 ac_verc_fail=yes 20800 else 20801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5 20802$as_echo_n "checking version of bison... " >&6; } 20803 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` 20804 case $ac_prog_version in 20805 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 20806 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) 20807 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; 20808 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; 20809 esac 20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5 20811$as_echo "$ac_prog_version" >&6; } 20812 fi 20813 if test $ac_verc_fail = yes; then 20814 INTLBISON=: 20815 fi 20816 20817 20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 20819$as_echo_n "checking for long long int... " >&6; } 20820if ${ac_cv_type_long_long_int+:} false; then : 20821 $as_echo_n "(cached) " >&6 20822else 20823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20824/* end confdefs.h. */ 20825 20826 /* For now, do not test the preprocessor; as of 2007 there are too many 20827 implementations with broken preprocessors. Perhaps this can 20828 be revisited in 2012. In the meantime, code should not expect 20829 #if to work with literals wider than 32 bits. */ 20830 /* Test literals. */ 20831 long long int ll = 9223372036854775807ll; 20832 long long int nll = -9223372036854775807LL; 20833 unsigned long long int ull = 18446744073709551615ULL; 20834 /* Test constant expressions. */ 20835 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) 20836 ? 1 : -1)]; 20837 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 20838 ? 1 : -1)]; 20839 int i = 63; 20840int 20841main () 20842{ 20843/* Test availability of runtime routines for shift and division. */ 20844 long long int llmax = 9223372036854775807ll; 20845 unsigned long long int ullmax = 18446744073709551615ull; 20846 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) 20847 | (llmax / ll) | (llmax % ll) 20848 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) 20849 | (ullmax / ull) | (ullmax % ull)); 20850 ; 20851 return 0; 20852} 20853 20854_ACEOF 20855if ac_fn_c_try_link "$LINENO"; then : 20856 if test "$cross_compiling" = yes; then : 20857 ac_cv_type_long_long_int=yes 20858else 20859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20860/* end confdefs.h. */ 20861#include <limits.h> 20862 #ifndef LLONG_MAX 20863 # define HALF \ 20864 (1LL << (sizeof (long long int) * CHAR_BIT - 2)) 20865 # define LLONG_MAX (HALF - 1 + HALF) 20866 #endif 20867int 20868main () 20869{ 20870long long int n = 1; 20871 int i; 20872 for (i = 0; ; i++) 20873 { 20874 long long int m = n << i; 20875 if (m >> i != n) 20876 return 1; 20877 if (LLONG_MAX / 2 < m) 20878 break; 20879 } 20880 return 0; 20881 ; 20882 return 0; 20883} 20884_ACEOF 20885if ac_fn_c_try_run "$LINENO"; then : 20886 ac_cv_type_long_long_int=yes 20887else 20888 ac_cv_type_long_long_int=no 20889fi 20890rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20891 conftest.$ac_objext conftest.beam conftest.$ac_ext 20892fi 20893 20894else 20895 ac_cv_type_long_long_int=no 20896fi 20897rm -f core conftest.err conftest.$ac_objext \ 20898 conftest$ac_exeext conftest.$ac_ext 20899fi 20900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 20901$as_echo "$ac_cv_type_long_long_int" >&6; } 20902 if test $ac_cv_type_long_long_int = yes; then 20903 20904$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h 20905 20906 fi 20907 20908 20909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 20910$as_echo_n "checking for wchar_t... " >&6; } 20911if ${gt_cv_c_wchar_t+:} false; then : 20912 $as_echo_n "(cached) " >&6 20913else 20914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20915/* end confdefs.h. */ 20916#include <stddef.h> 20917 wchar_t foo = (wchar_t)'\0'; 20918int 20919main () 20920{ 20921 20922 ; 20923 return 0; 20924} 20925_ACEOF 20926if ac_fn_c_try_compile "$LINENO"; then : 20927 gt_cv_c_wchar_t=yes 20928else 20929 gt_cv_c_wchar_t=no 20930fi 20931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20932fi 20933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 20934$as_echo "$gt_cv_c_wchar_t" >&6; } 20935 if test $gt_cv_c_wchar_t = yes; then 20936 20937$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h 20938 20939 fi 20940 20941 20942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 20943$as_echo_n "checking for wint_t... " >&6; } 20944if ${gt_cv_c_wint_t+:} false; then : 20945 $as_echo_n "(cached) " >&6 20946else 20947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20948/* end confdefs.h. */ 20949 20950/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before 20951 <wchar.h>. 20952 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included 20953 before <wchar.h>. */ 20954#include <stddef.h> 20955#include <stdio.h> 20956#include <time.h> 20957#include <wchar.h> 20958 wint_t foo = (wchar_t)'\0'; 20959int 20960main () 20961{ 20962 20963 ; 20964 return 0; 20965} 20966_ACEOF 20967if ac_fn_c_try_compile "$LINENO"; then : 20968 gt_cv_c_wint_t=yes 20969else 20970 gt_cv_c_wint_t=no 20971fi 20972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20973fi 20974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 20975$as_echo "$gt_cv_c_wint_t" >&6; } 20976 if test $gt_cv_c_wint_t = yes; then 20977 20978$as_echo "#define HAVE_WINT_T 1" >>confdefs.h 20979 20980 fi 20981 20982 20983 20984 20985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 20986$as_echo_n "checking for intmax_t... " >&6; } 20987if ${gt_cv_c_intmax_t+:} false; then : 20988 $as_echo_n "(cached) " >&6 20989else 20990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20991/* end confdefs.h. */ 20992 20993#include <stddef.h> 20994#include <stdlib.h> 20995#if HAVE_STDINT_H_WITH_UINTMAX 20996#include <stdint.h> 20997#endif 20998#if HAVE_INTTYPES_H_WITH_UINTMAX 20999#include <inttypes.h> 21000#endif 21001 21002int 21003main () 21004{ 21005intmax_t x = -1; 21006 return !x; 21007 ; 21008 return 0; 21009} 21010_ACEOF 21011if ac_fn_c_try_compile "$LINENO"; then : 21012 gt_cv_c_intmax_t=yes 21013else 21014 gt_cv_c_intmax_t=no 21015fi 21016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21017fi 21018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 21019$as_echo "$gt_cv_c_intmax_t" >&6; } 21020 if test $gt_cv_c_intmax_t = yes; then 21021 21022$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h 21023 21024 fi 21025 21026 21027 21028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5 21029$as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; } 21030if ${gt_cv_func_printf_posix+:} false; then : 21031 $as_echo_n "(cached) " >&6 21032else 21033 21034 if test "$cross_compiling" = yes; then : 21035 21036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21037/* end confdefs.h. */ 21038 21039#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ 21040 notposix 21041#endif 21042 21043_ACEOF 21044if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 21045 $EGREP "notposix" >/dev/null 2>&1; then : 21046 gt_cv_func_printf_posix="guessing no" 21047else 21048 gt_cv_func_printf_posix="guessing yes" 21049fi 21050rm -f conftest* 21051 21052 21053else 21054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21055/* end confdefs.h. */ 21056 21057#include <stdio.h> 21058#include <string.h> 21059/* The string "%2$d %1$d", with dollar characters protected from the shell's 21060 dollar expansion (possibly an autoconf bug). */ 21061static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; 21062static char buf[100]; 21063int main () 21064{ 21065 sprintf (buf, format, 33, 55); 21066 return (strcmp (buf, "55 33") != 0); 21067} 21068_ACEOF 21069if ac_fn_c_try_run "$LINENO"; then : 21070 gt_cv_func_printf_posix=yes 21071else 21072 gt_cv_func_printf_posix=no 21073fi 21074rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21075 conftest.$ac_objext conftest.beam conftest.$ac_ext 21076fi 21077 21078 21079fi 21080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5 21081$as_echo "$gt_cv_func_printf_posix" >&6; } 21082 case $gt_cv_func_printf_posix in 21083 *yes) 21084 21085$as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h 21086 21087 ;; 21088 esac 21089 21090 21091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5 21092$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; } 21093if ${ac_cv_gnu_library_2_1+:} false; then : 21094 $as_echo_n "(cached) " >&6 21095else 21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21097/* end confdefs.h. */ 21098 21099#include <features.h> 21100#ifdef __GNU_LIBRARY__ 21101 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) 21102 Lucky GNU user 21103 #endif 21104#endif 21105 21106_ACEOF 21107if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 21108 $EGREP "Lucky GNU user" >/dev/null 2>&1; then : 21109 ac_cv_gnu_library_2_1=yes 21110else 21111 ac_cv_gnu_library_2_1=no 21112fi 21113rm -f conftest* 21114 21115 21116 21117fi 21118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 21119$as_echo "$ac_cv_gnu_library_2_1" >&6; } 21120 21121 GLIBC21="$ac_cv_gnu_library_2_1" 21122 21123 21124 21125 for ac_header in stdint.h 21126do : 21127 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 21128if test "x$ac_cv_header_stdint_h" = xyes; then : 21129 cat >>confdefs.h <<_ACEOF 21130#define HAVE_STDINT_H 1 21131_ACEOF 21132 21133fi 21134 21135done 21136 21137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 21138$as_echo_n "checking for SIZE_MAX... " >&6; } 21139if ${gl_cv_size_max+:} false; then : 21140 $as_echo_n "(cached) " >&6 21141else 21142 21143 gl_cv_size_max= 21144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21145/* end confdefs.h. */ 21146 21147#include <limits.h> 21148#if HAVE_STDINT_H 21149#include <stdint.h> 21150#endif 21151#ifdef SIZE_MAX 21152Found it 21153#endif 21154 21155_ACEOF 21156if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 21157 $EGREP "Found it" >/dev/null 2>&1; then : 21158 gl_cv_size_max=yes 21159fi 21160rm -f conftest* 21161 21162 if test -z "$gl_cv_size_max"; then 21163 if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include <stddef.h> 21164#include <limits.h>"; then : 21165 21166else 21167 size_t_bits_minus_1= 21168fi 21169 21170 if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then : 21171 21172else 21173 fits_in_uint= 21174fi 21175 21176 if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then 21177 if test $fits_in_uint = 1; then 21178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21179/* end confdefs.h. */ 21180#include <stddef.h> 21181 extern size_t foo; 21182 extern unsigned long foo; 21183 21184int 21185main () 21186{ 21187 21188 ; 21189 return 0; 21190} 21191_ACEOF 21192if ac_fn_c_try_compile "$LINENO"; then : 21193 fits_in_uint=0 21194fi 21195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21196 fi 21197 if test $fits_in_uint = 1; then 21198 gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" 21199 else 21200 gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" 21201 fi 21202 else 21203 gl_cv_size_max='((size_t)~(size_t)0)' 21204 fi 21205 fi 21206 21207fi 21208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 21209$as_echo "$gl_cv_size_max" >&6; } 21210 if test "$gl_cv_size_max" != yes; then 21211 21212cat >>confdefs.h <<_ACEOF 21213#define SIZE_MAX $gl_cv_size_max 21214_ACEOF 21215 21216 fi 21217 21218 21219 21220 21221 21222 for ac_header in stdint.h 21223do : 21224 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 21225if test "x$ac_cv_header_stdint_h" = xyes; then : 21226 cat >>confdefs.h <<_ACEOF 21227#define HAVE_STDINT_H 1 21228_ACEOF 21229 21230fi 21231 21232done 21233 21234 21235 21236 21237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 21238$as_echo_n "checking for working fcntl.h... " >&6; } 21239if ${gl_cv_header_working_fcntl_h+:} false; then : 21240 $as_echo_n "(cached) " >&6 21241else 21242 if test "$cross_compiling" = yes; then : 21243 gl_cv_header_working_fcntl_h=cross-compiling 21244else 21245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21246/* end confdefs.h. */ 21247#include <sys/types.h> 21248 #include <sys/stat.h> 21249 #include <unistd.h> 21250 #include <fcntl.h> 21251 #ifndef O_NOATIME 21252 #define O_NOATIME 0 21253 #endif 21254 #ifndef O_NOFOLLOW 21255 #define O_NOFOLLOW 0 21256 #endif 21257 static int const constants[] = 21258 { 21259 O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, 21260 O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY 21261 }; 21262 21263int 21264main () 21265{ 21266 21267 int status = !constants; 21268 { 21269 static char const sym[] = "conftest.sym"; 21270 if (symlink (".", sym) != 0 21271 || close (open (sym, O_RDONLY | O_NOFOLLOW)) == 0) 21272 status |= 32; 21273 unlink (sym); 21274 } 21275 { 21276 static char const file[] = "confdefs.h"; 21277 int fd = open (file, O_RDONLY | O_NOATIME); 21278 char c; 21279 struct stat st0, st1; 21280 if (fd < 0 21281 || fstat (fd, &st0) != 0 21282 || sleep (1) != 0 21283 || read (fd, &c, 1) != 1 21284 || close (fd) != 0 21285 || stat (file, &st1) != 0 21286 || st0.st_atime != st1.st_atime) 21287 status |= 64; 21288 } 21289 return status; 21290 ; 21291 return 0; 21292} 21293_ACEOF 21294if ac_fn_c_try_run "$LINENO"; then : 21295 gl_cv_header_working_fcntl_h=yes 21296else 21297 case $? in #( 21298 32) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( 21299 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( 21300 96) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( 21301 *) gl_cv_header_working_fcntl_h='no';; 21302 esac 21303fi 21304rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21305 conftest.$ac_objext conftest.beam conftest.$ac_ext 21306fi 21307 21308fi 21309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 21310$as_echo "$gl_cv_header_working_fcntl_h" >&6; } 21311 21312 case $gl_cv_header_working_fcntl_h in #( 21313 *O_NOATIME* | no | cross-compiling) ac_val=0;; #( 21314 *) ac_val=1;; 21315 esac 21316 21317cat >>confdefs.h <<_ACEOF 21318#define HAVE_WORKING_O_NOATIME $ac_val 21319_ACEOF 21320 21321 21322 case $gl_cv_header_working_fcntl_h in #( 21323 *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( 21324 *) ac_val=1;; 21325 esac 21326 21327cat >>confdefs.h <<_ACEOF 21328#define HAVE_WORKING_O_NOFOLLOW $ac_val 21329_ACEOF 21330 21331 21332 21333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 21334$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 21335if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 21336 $as_echo_n "(cached) " >&6 21337else 21338 gt_save_LIBS="$LIBS" 21339 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 21340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21341/* end confdefs.h. */ 21342#include <CoreFoundation/CFPreferences.h> 21343int 21344main () 21345{ 21346CFPreferencesCopyAppValue(NULL, NULL) 21347 ; 21348 return 0; 21349} 21350_ACEOF 21351if ac_fn_c_try_link "$LINENO"; then : 21352 gt_cv_func_CFPreferencesCopyAppValue=yes 21353else 21354 gt_cv_func_CFPreferencesCopyAppValue=no 21355fi 21356rm -f core conftest.err conftest.$ac_objext \ 21357 conftest$ac_exeext conftest.$ac_ext 21358 LIBS="$gt_save_LIBS" 21359fi 21360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 21361$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 21362 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 21363 21364$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 21365 21366 fi 21367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 21368$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 21369if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 21370 $as_echo_n "(cached) " >&6 21371else 21372 gt_save_LIBS="$LIBS" 21373 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 21374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21375/* end confdefs.h. */ 21376#include <CoreFoundation/CFLocale.h> 21377int 21378main () 21379{ 21380CFLocaleCopyCurrent(); 21381 ; 21382 return 0; 21383} 21384_ACEOF 21385if ac_fn_c_try_link "$LINENO"; then : 21386 gt_cv_func_CFLocaleCopyCurrent=yes 21387else 21388 gt_cv_func_CFLocaleCopyCurrent=no 21389fi 21390rm -f core conftest.err conftest.$ac_objext \ 21391 conftest$ac_exeext conftest.$ac_ext 21392 LIBS="$gt_save_LIBS" 21393fi 21394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 21395$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 21396 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 21397 21398$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 21399 21400 fi 21401 INTL_MACOSX_LIBS= 21402 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 21403 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 21404 fi 21405 21406 21407 21408 21409 21410 21411 21412 case "$enable_silent_rules" in 21413 yes) INTL_DEFAULT_VERBOSITY=0;; 21414 no) INTL_DEFAULT_VERBOSITY=1;; 21415 *) INTL_DEFAULT_VERBOSITY=1;; 21416 esac 21417 21418 21419 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" 21420if test "x$ac_cv_type_ptrdiff_t" = xyes; then : 21421 21422else 21423 21424$as_echo "#define ptrdiff_t long" >>confdefs.h 21425 21426 21427fi 21428 21429 for ac_header in stddef.h stdlib.h string.h 21430do : 21431 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21432ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21433if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21434 cat >>confdefs.h <<_ACEOF 21435#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21436_ACEOF 21437 21438fi 21439 21440done 21441 21442 for ac_func in asprintf fwprintf newlocale putenv setenv setlocale \ 21443 snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb 21444do : 21445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 21446ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 21447if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 21448 cat >>confdefs.h <<_ACEOF 21449#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 21450_ACEOF 21451 21452fi 21453done 21454 21455 21456 21457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5 21458$as_echo_n "checking whether _snprintf is declared... " >&6; } 21459if ${ac_cv_have_decl__snprintf+:} false; then : 21460 $as_echo_n "(cached) " >&6 21461else 21462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21463/* end confdefs.h. */ 21464#include <stdio.h> 21465int 21466main () 21467{ 21468 21469#ifndef _snprintf 21470 char *p = (char *) _snprintf; 21471#endif 21472 21473 ; 21474 return 0; 21475} 21476_ACEOF 21477if ac_fn_c_try_compile "$LINENO"; then : 21478 ac_cv_have_decl__snprintf=yes 21479else 21480 ac_cv_have_decl__snprintf=no 21481fi 21482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21483fi 21484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5 21485$as_echo "$ac_cv_have_decl__snprintf" >&6; } 21486 if test $ac_cv_have_decl__snprintf = yes; then 21487 gt_value=1 21488 else 21489 gt_value=0 21490 fi 21491 21492cat >>confdefs.h <<_ACEOF 21493#define HAVE_DECL__SNPRINTF $gt_value 21494_ACEOF 21495 21496 21497 21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5 21499$as_echo_n "checking whether _snwprintf is declared... " >&6; } 21500if ${ac_cv_have_decl__snwprintf+:} false; then : 21501 $as_echo_n "(cached) " >&6 21502else 21503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21504/* end confdefs.h. */ 21505#include <stdio.h> 21506int 21507main () 21508{ 21509 21510#ifndef _snwprintf 21511 char *p = (char *) _snwprintf; 21512#endif 21513 21514 ; 21515 return 0; 21516} 21517_ACEOF 21518if ac_fn_c_try_compile "$LINENO"; then : 21519 ac_cv_have_decl__snwprintf=yes 21520else 21521 ac_cv_have_decl__snwprintf=no 21522fi 21523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21524fi 21525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5 21526$as_echo "$ac_cv_have_decl__snwprintf" >&6; } 21527 if test $ac_cv_have_decl__snwprintf = yes; then 21528 gt_value=1 21529 else 21530 gt_value=0 21531 fi 21532 21533cat >>confdefs.h <<_ACEOF 21534#define HAVE_DECL__SNWPRINTF $gt_value 21535_ACEOF 21536 21537 21538 21539 21540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5 21541$as_echo_n "checking whether getc_unlocked is declared... " >&6; } 21542if ${ac_cv_have_decl_getc_unlocked+:} false; then : 21543 $as_echo_n "(cached) " >&6 21544else 21545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21546/* end confdefs.h. */ 21547#include <stdio.h> 21548int 21549main () 21550{ 21551 21552#ifndef getc_unlocked 21553 char *p = (char *) getc_unlocked; 21554#endif 21555 21556 ; 21557 return 0; 21558} 21559_ACEOF 21560if ac_fn_c_try_compile "$LINENO"; then : 21561 ac_cv_have_decl_getc_unlocked=yes 21562else 21563 ac_cv_have_decl_getc_unlocked=no 21564fi 21565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21566fi 21567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5 21568$as_echo "$ac_cv_have_decl_getc_unlocked" >&6; } 21569 if test $ac_cv_have_decl_getc_unlocked = yes; then 21570 gt_value=1 21571 else 21572 gt_value=0 21573 fi 21574 21575cat >>confdefs.h <<_ACEOF 21576#define HAVE_DECL_GETC_UNLOCKED $gt_value 21577_ACEOF 21578 21579 21580 21581 case $gt_cv_func_printf_posix in 21582 *yes) HAVE_POSIX_PRINTF=1 ;; 21583 *) HAVE_POSIX_PRINTF=0 ;; 21584 esac 21585 21586 if test "$ac_cv_func_asprintf" = yes; then 21587 HAVE_ASPRINTF=1 21588 else 21589 HAVE_ASPRINTF=0 21590 fi 21591 21592 if test "$ac_cv_func_snprintf" = yes; then 21593 HAVE_SNPRINTF=1 21594 else 21595 HAVE_SNPRINTF=0 21596 fi 21597 21598 if test "$ac_cv_func_newlocale" = yes; then 21599 HAVE_NEWLOCALE=1 21600 else 21601 HAVE_NEWLOCALE=0 21602 fi 21603 21604 if test "$ac_cv_func_wprintf" = yes; then 21605 HAVE_WPRINTF=1 21606 else 21607 HAVE_WPRINTF=0 21608 fi 21609 21610 21611 21612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 21613$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 21614if ${am_cv_langinfo_codeset+:} false; then : 21615 $as_echo_n "(cached) " >&6 21616else 21617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21618/* end confdefs.h. */ 21619#include <langinfo.h> 21620int 21621main () 21622{ 21623char* cs = nl_langinfo(CODESET); return !cs; 21624 ; 21625 return 0; 21626} 21627_ACEOF 21628if ac_fn_c_try_link "$LINENO"; then : 21629 am_cv_langinfo_codeset=yes 21630else 21631 am_cv_langinfo_codeset=no 21632fi 21633rm -f core conftest.err conftest.$ac_objext \ 21634 conftest$ac_exeext conftest.$ac_ext 21635 21636fi 21637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 21638$as_echo "$am_cv_langinfo_codeset" >&6; } 21639 if test $am_cv_langinfo_codeset = yes; then 21640 21641$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 21642 21643 fi 21644 21645 21646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 21647$as_echo_n "checking for LC_MESSAGES... " >&6; } 21648if ${gt_cv_val_LC_MESSAGES+:} false; then : 21649 $as_echo_n "(cached) " >&6 21650else 21651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21652/* end confdefs.h. */ 21653#include <locale.h> 21654int 21655main () 21656{ 21657return LC_MESSAGES 21658 ; 21659 return 0; 21660} 21661_ACEOF 21662if ac_fn_c_try_link "$LINENO"; then : 21663 gt_cv_val_LC_MESSAGES=yes 21664else 21665 gt_cv_val_LC_MESSAGES=no 21666fi 21667rm -f core conftest.err conftest.$ac_objext \ 21668 conftest$ac_exeext conftest.$ac_ext 21669fi 21670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5 21671$as_echo "$gt_cv_val_LC_MESSAGES" >&6; } 21672 if test $gt_cv_val_LC_MESSAGES = yes; then 21673 21674$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 21675 21676 fi 21677 21678 21679 if test "$enable_shared" = yes; then 21680 case "$host_os" in 21681 mingw* | cygwin*) is_woe32dll=yes ;; 21682 *) is_woe32dll=no ;; 21683 esac 21684 else 21685 is_woe32dll=no 21686 fi 21687 WOE32DLL=$is_woe32dll 21688 21689 21690 case "$host_os" in 21691 mingw* | cygwin*) is_woe32=yes ;; 21692 *) is_woe32=no ;; 21693 esac 21694 WOE32=$is_woe32 21695 21696 if test $WOE32 = yes; then 21697 if test -n "$ac_tool_prefix"; then 21698 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. 21699set dummy ${ac_tool_prefix}windres; ac_word=$2 21700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21701$as_echo_n "checking for $ac_word... " >&6; } 21702if ${ac_cv_prog_WINDRES+:} false; then : 21703 $as_echo_n "(cached) " >&6 21704else 21705 if test -n "$WINDRES"; then 21706 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. 21707else 21708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21709for as_dir in $PATH 21710do 21711 IFS=$as_save_IFS 21712 test -z "$as_dir" && as_dir=. 21713 for ac_exec_ext in '' $ac_executable_extensions; do 21714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21715 ac_cv_prog_WINDRES="${ac_tool_prefix}windres" 21716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21717 break 2 21718 fi 21719done 21720 done 21721IFS=$as_save_IFS 21722 21723fi 21724fi 21725WINDRES=$ac_cv_prog_WINDRES 21726if test -n "$WINDRES"; then 21727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 21728$as_echo "$WINDRES" >&6; } 21729else 21730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21731$as_echo "no" >&6; } 21732fi 21733 21734 21735fi 21736if test -z "$ac_cv_prog_WINDRES"; then 21737 ac_ct_WINDRES=$WINDRES 21738 # Extract the first word of "windres", so it can be a program name with args. 21739set dummy windres; ac_word=$2 21740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21741$as_echo_n "checking for $ac_word... " >&6; } 21742if ${ac_cv_prog_ac_ct_WINDRES+:} false; then : 21743 $as_echo_n "(cached) " >&6 21744else 21745 if test -n "$ac_ct_WINDRES"; then 21746 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. 21747else 21748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21749for as_dir in $PATH 21750do 21751 IFS=$as_save_IFS 21752 test -z "$as_dir" && as_dir=. 21753 for ac_exec_ext in '' $ac_executable_extensions; do 21754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21755 ac_cv_prog_ac_ct_WINDRES="windres" 21756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21757 break 2 21758 fi 21759done 21760 done 21761IFS=$as_save_IFS 21762 21763fi 21764fi 21765ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES 21766if test -n "$ac_ct_WINDRES"; then 21767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 21768$as_echo "$ac_ct_WINDRES" >&6; } 21769else 21770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21771$as_echo "no" >&6; } 21772fi 21773 21774 if test "x$ac_ct_WINDRES" = x; then 21775 WINDRES="" 21776 else 21777 case $cross_compiling:$ac_tool_warned in 21778yes:) 21779{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 21780$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 21781ac_tool_warned=yes ;; 21782esac 21783 WINDRES=$ac_ct_WINDRES 21784 fi 21785else 21786 WINDRES="$ac_cv_prog_WINDRES" 21787fi 21788 21789 fi 21790 21791 case "$host_os" in 21792 hpux*) LTLIBC="" ;; 21793 *) LTLIBC="-lc" ;; 21794 esac 21795 21796 21797 21798 21799 21800 21801 21802 21803 21804 21805 21806 21807 21808 21809 21810 21811 21812 21813 21814 21815 21816 21817 21818 21819 21820 21821 21822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 21823$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 21824if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 21825 $as_echo_n "(cached) " >&6 21826else 21827 gt_save_LIBS="$LIBS" 21828 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 21829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21830/* end confdefs.h. */ 21831#include <CoreFoundation/CFPreferences.h> 21832int 21833main () 21834{ 21835CFPreferencesCopyAppValue(NULL, NULL) 21836 ; 21837 return 0; 21838} 21839_ACEOF 21840if ac_fn_c_try_link "$LINENO"; then : 21841 gt_cv_func_CFPreferencesCopyAppValue=yes 21842else 21843 gt_cv_func_CFPreferencesCopyAppValue=no 21844fi 21845rm -f core conftest.err conftest.$ac_objext \ 21846 conftest$ac_exeext conftest.$ac_ext 21847 LIBS="$gt_save_LIBS" 21848fi 21849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 21850$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 21851 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 21852 21853$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 21854 21855 fi 21856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 21857$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 21858if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 21859 $as_echo_n "(cached) " >&6 21860else 21861 gt_save_LIBS="$LIBS" 21862 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 21863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21864/* end confdefs.h. */ 21865#include <CoreFoundation/CFLocale.h> 21866int 21867main () 21868{ 21869CFLocaleCopyCurrent(); 21870 ; 21871 return 0; 21872} 21873_ACEOF 21874if ac_fn_c_try_link "$LINENO"; then : 21875 gt_cv_func_CFLocaleCopyCurrent=yes 21876else 21877 gt_cv_func_CFLocaleCopyCurrent=no 21878fi 21879rm -f core conftest.err conftest.$ac_objext \ 21880 conftest$ac_exeext conftest.$ac_ext 21881 LIBS="$gt_save_LIBS" 21882fi 21883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 21884$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 21885 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 21886 21887$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 21888 21889 fi 21890 INTL_MACOSX_LIBS= 21891 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 21892 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 21893 fi 21894 21895 21896 21897 21898 21899 21900 BUILD_INCLUDED_LIBINTL=no 21901 USE_INCLUDED_LIBINTL=no 21902 21903 LIBINTL= 21904 LTLIBINTL= 21905 POSUB= 21906 21907 case " $gt_needs " in 21908 *" need-formatstring-macros "*) gt_api_version=3 ;; 21909 *" need-ngettext "*) gt_api_version=2 ;; 21910 *) gt_api_version=1 ;; 21911 esac 21912 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 21913 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 21914 21915 if test "$USE_NLS" = "yes"; then 21916 gt_use_preinstalled_gnugettext=no 21917 21918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5 21919$as_echo_n "checking whether included gettext is requested... " >&6; } 21920 21921# Check whether --with-included-gettext was given. 21922if test "${with_included_gettext+set}" = set; then : 21923 withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval 21924else 21925 nls_cv_force_use_gnu_gettext=no 21926fi 21927 21928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5 21929$as_echo "$nls_cv_force_use_gnu_gettext" >&6; } 21930 21931 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 21932 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 21933 21934 21935 if test $gt_api_version -ge 3; then 21936 gt_revision_test_code=' 21937#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 21938#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 21939#endif 21940typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 21941' 21942 else 21943 gt_revision_test_code= 21944 fi 21945 if test $gt_api_version -ge 2; then 21946 gt_expression_test_code=' + * ngettext ("", "", 0)' 21947 else 21948 gt_expression_test_code= 21949 fi 21950 21951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 21952$as_echo_n "checking for GNU gettext in libc... " >&6; } 21953if eval \${$gt_func_gnugettext_libc+:} false; then : 21954 $as_echo_n "(cached) " >&6 21955else 21956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21957/* end confdefs.h. */ 21958#include <libintl.h> 21959$gt_revision_test_code 21960extern int _nl_msg_cat_cntr; 21961extern int *_nl_domain_bindings; 21962int 21963main () 21964{ 21965bindtextdomain ("", ""); 21966return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 21967 ; 21968 return 0; 21969} 21970_ACEOF 21971if ac_fn_c_try_link "$LINENO"; then : 21972 eval "$gt_func_gnugettext_libc=yes" 21973else 21974 eval "$gt_func_gnugettext_libc=no" 21975fi 21976rm -f core conftest.err conftest.$ac_objext \ 21977 conftest$ac_exeext conftest.$ac_ext 21978fi 21979eval ac_res=\$$gt_func_gnugettext_libc 21980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 21981$as_echo "$ac_res" >&6; } 21982 21983 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 21984 21985 21986 21987 21988 21989 21990 21991 21992 use_additional=yes 21993 21994 acl_save_prefix="$prefix" 21995 prefix="$acl_final_prefix" 21996 acl_save_exec_prefix="$exec_prefix" 21997 exec_prefix="$acl_final_exec_prefix" 21998 21999 eval additional_includedir=\"$includedir\" 22000 eval additional_libdir=\"$libdir\" 22001 22002 exec_prefix="$acl_save_exec_prefix" 22003 prefix="$acl_save_prefix" 22004 22005 22006# Check whether --with-libintl-prefix was given. 22007if test "${with_libintl_prefix+set}" = set; then : 22008 withval=$with_libintl_prefix; 22009 if test "X$withval" = "Xno"; then 22010 use_additional=no 22011 else 22012 if test "X$withval" = "X"; then 22013 22014 acl_save_prefix="$prefix" 22015 prefix="$acl_final_prefix" 22016 acl_save_exec_prefix="$exec_prefix" 22017 exec_prefix="$acl_final_exec_prefix" 22018 22019 eval additional_includedir=\"$includedir\" 22020 eval additional_libdir=\"$libdir\" 22021 22022 exec_prefix="$acl_save_exec_prefix" 22023 prefix="$acl_save_prefix" 22024 22025 else 22026 additional_includedir="$withval/include" 22027 additional_libdir="$withval/$acl_libdirstem" 22028 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 22029 && ! test -d "$withval/$acl_libdirstem"; then 22030 additional_libdir="$withval/$acl_libdirstem2" 22031 fi 22032 fi 22033 fi 22034 22035fi 22036 22037 LIBINTL= 22038 LTLIBINTL= 22039 INCINTL= 22040 LIBINTL_PREFIX= 22041 HAVE_LIBINTL= 22042 rpathdirs= 22043 ltrpathdirs= 22044 names_already_handled= 22045 names_next_round='intl ' 22046 while test -n "$names_next_round"; do 22047 names_this_round="$names_next_round" 22048 names_next_round= 22049 for name in $names_this_round; do 22050 already_handled= 22051 for n in $names_already_handled; do 22052 if test "$n" = "$name"; then 22053 already_handled=yes 22054 break 22055 fi 22056 done 22057 if test -z "$already_handled"; then 22058 names_already_handled="$names_already_handled $name" 22059 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 22060 eval value=\"\$HAVE_LIB$uppername\" 22061 if test -n "$value"; then 22062 if test "$value" = yes; then 22063 eval value=\"\$LIB$uppername\" 22064 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 22065 eval value=\"\$LTLIB$uppername\" 22066 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 22067 else 22068 : 22069 fi 22070 else 22071 found_dir= 22072 found_la= 22073 found_so= 22074 found_a= 22075 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 22076 if test -n "$acl_shlibext"; then 22077 shrext=".$acl_shlibext" # typically: shrext=.so 22078 else 22079 shrext= 22080 fi 22081 if test $use_additional = yes; then 22082 dir="$additional_libdir" 22083 if test -n "$acl_shlibext"; then 22084 if test -f "$dir/$libname$shrext"; then 22085 found_dir="$dir" 22086 found_so="$dir/$libname$shrext" 22087 else 22088 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 22089 ver=`(cd "$dir" && \ 22090 for f in "$libname$shrext".*; do echo "$f"; done \ 22091 | sed -e "s,^$libname$shrext\\\\.,," \ 22092 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 22093 | sed 1q ) 2>/dev/null` 22094 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 22095 found_dir="$dir" 22096 found_so="$dir/$libname$shrext.$ver" 22097 fi 22098 else 22099 eval library_names=\"$acl_library_names_spec\" 22100 for f in $library_names; do 22101 if test -f "$dir/$f"; then 22102 found_dir="$dir" 22103 found_so="$dir/$f" 22104 break 22105 fi 22106 done 22107 fi 22108 fi 22109 fi 22110 if test "X$found_dir" = "X"; then 22111 if test -f "$dir/$libname.$acl_libext"; then 22112 found_dir="$dir" 22113 found_a="$dir/$libname.$acl_libext" 22114 fi 22115 fi 22116 if test "X$found_dir" != "X"; then 22117 if test -f "$dir/$libname.la"; then 22118 found_la="$dir/$libname.la" 22119 fi 22120 fi 22121 fi 22122 if test "X$found_dir" = "X"; then 22123 for x in $LDFLAGS $LTLIBINTL; do 22124 22125 acl_save_prefix="$prefix" 22126 prefix="$acl_final_prefix" 22127 acl_save_exec_prefix="$exec_prefix" 22128 exec_prefix="$acl_final_exec_prefix" 22129 eval x=\"$x\" 22130 exec_prefix="$acl_save_exec_prefix" 22131 prefix="$acl_save_prefix" 22132 22133 case "$x" in 22134 -L*) 22135 dir=`echo "X$x" | sed -e 's/^X-L//'` 22136 if test -n "$acl_shlibext"; then 22137 if test -f "$dir/$libname$shrext"; then 22138 found_dir="$dir" 22139 found_so="$dir/$libname$shrext" 22140 else 22141 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 22142 ver=`(cd "$dir" && \ 22143 for f in "$libname$shrext".*; do echo "$f"; done \ 22144 | sed -e "s,^$libname$shrext\\\\.,," \ 22145 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 22146 | sed 1q ) 2>/dev/null` 22147 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 22148 found_dir="$dir" 22149 found_so="$dir/$libname$shrext.$ver" 22150 fi 22151 else 22152 eval library_names=\"$acl_library_names_spec\" 22153 for f in $library_names; do 22154 if test -f "$dir/$f"; then 22155 found_dir="$dir" 22156 found_so="$dir/$f" 22157 break 22158 fi 22159 done 22160 fi 22161 fi 22162 fi 22163 if test "X$found_dir" = "X"; then 22164 if test -f "$dir/$libname.$acl_libext"; then 22165 found_dir="$dir" 22166 found_a="$dir/$libname.$acl_libext" 22167 fi 22168 fi 22169 if test "X$found_dir" != "X"; then 22170 if test -f "$dir/$libname.la"; then 22171 found_la="$dir/$libname.la" 22172 fi 22173 fi 22174 ;; 22175 esac 22176 if test "X$found_dir" != "X"; then 22177 break 22178 fi 22179 done 22180 fi 22181 if test "X$found_dir" != "X"; then 22182 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 22183 if test "X$found_so" != "X"; then 22184 if test "$enable_rpath" = no \ 22185 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 22186 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 22187 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 22188 else 22189 haveit= 22190 for x in $ltrpathdirs; do 22191 if test "X$x" = "X$found_dir"; then 22192 haveit=yes 22193 break 22194 fi 22195 done 22196 if test -z "$haveit"; then 22197 ltrpathdirs="$ltrpathdirs $found_dir" 22198 fi 22199 if test "$acl_hardcode_direct" = yes; then 22200 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 22201 else 22202 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 22203 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 22204 haveit= 22205 for x in $rpathdirs; do 22206 if test "X$x" = "X$found_dir"; then 22207 haveit=yes 22208 break 22209 fi 22210 done 22211 if test -z "$haveit"; then 22212 rpathdirs="$rpathdirs $found_dir" 22213 fi 22214 else 22215 haveit= 22216 for x in $LDFLAGS $LIBINTL; do 22217 22218 acl_save_prefix="$prefix" 22219 prefix="$acl_final_prefix" 22220 acl_save_exec_prefix="$exec_prefix" 22221 exec_prefix="$acl_final_exec_prefix" 22222 eval x=\"$x\" 22223 exec_prefix="$acl_save_exec_prefix" 22224 prefix="$acl_save_prefix" 22225 22226 if test "X$x" = "X-L$found_dir"; then 22227 haveit=yes 22228 break 22229 fi 22230 done 22231 if test -z "$haveit"; then 22232 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 22233 fi 22234 if test "$acl_hardcode_minus_L" != no; then 22235 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 22236 else 22237 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 22238 fi 22239 fi 22240 fi 22241 fi 22242 else 22243 if test "X$found_a" != "X"; then 22244 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 22245 else 22246 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 22247 fi 22248 fi 22249 additional_includedir= 22250 case "$found_dir" in 22251 */$acl_libdirstem | */$acl_libdirstem/) 22252 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 22253 if test "$name" = 'intl'; then 22254 LIBINTL_PREFIX="$basedir" 22255 fi 22256 additional_includedir="$basedir/include" 22257 ;; 22258 */$acl_libdirstem2 | */$acl_libdirstem2/) 22259 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 22260 if test "$name" = 'intl'; then 22261 LIBINTL_PREFIX="$basedir" 22262 fi 22263 additional_includedir="$basedir/include" 22264 ;; 22265 esac 22266 if test "X$additional_includedir" != "X"; then 22267 if test "X$additional_includedir" != "X/usr/include"; then 22268 haveit= 22269 if test "X$additional_includedir" = "X/usr/local/include"; then 22270 if test -n "$GCC"; then 22271 case $host_os in 22272 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 22273 esac 22274 fi 22275 fi 22276 if test -z "$haveit"; then 22277 for x in $CPPFLAGS $INCINTL; do 22278 22279 acl_save_prefix="$prefix" 22280 prefix="$acl_final_prefix" 22281 acl_save_exec_prefix="$exec_prefix" 22282 exec_prefix="$acl_final_exec_prefix" 22283 eval x=\"$x\" 22284 exec_prefix="$acl_save_exec_prefix" 22285 prefix="$acl_save_prefix" 22286 22287 if test "X$x" = "X-I$additional_includedir"; then 22288 haveit=yes 22289 break 22290 fi 22291 done 22292 if test -z "$haveit"; then 22293 if test -d "$additional_includedir"; then 22294 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 22295 fi 22296 fi 22297 fi 22298 fi 22299 fi 22300 if test -n "$found_la"; then 22301 save_libdir="$libdir" 22302 case "$found_la" in 22303 */* | *\\*) . "$found_la" ;; 22304 *) . "./$found_la" ;; 22305 esac 22306 libdir="$save_libdir" 22307 for dep in $dependency_libs; do 22308 case "$dep" in 22309 -L*) 22310 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 22311 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 22312 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 22313 haveit= 22314 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 22315 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 22316 if test -n "$GCC"; then 22317 case $host_os in 22318 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 22319 esac 22320 fi 22321 fi 22322 if test -z "$haveit"; then 22323 haveit= 22324 for x in $LDFLAGS $LIBINTL; do 22325 22326 acl_save_prefix="$prefix" 22327 prefix="$acl_final_prefix" 22328 acl_save_exec_prefix="$exec_prefix" 22329 exec_prefix="$acl_final_exec_prefix" 22330 eval x=\"$x\" 22331 exec_prefix="$acl_save_exec_prefix" 22332 prefix="$acl_save_prefix" 22333 22334 if test "X$x" = "X-L$additional_libdir"; then 22335 haveit=yes 22336 break 22337 fi 22338 done 22339 if test -z "$haveit"; then 22340 if test -d "$additional_libdir"; then 22341 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 22342 fi 22343 fi 22344 haveit= 22345 for x in $LDFLAGS $LTLIBINTL; do 22346 22347 acl_save_prefix="$prefix" 22348 prefix="$acl_final_prefix" 22349 acl_save_exec_prefix="$exec_prefix" 22350 exec_prefix="$acl_final_exec_prefix" 22351 eval x=\"$x\" 22352 exec_prefix="$acl_save_exec_prefix" 22353 prefix="$acl_save_prefix" 22354 22355 if test "X$x" = "X-L$additional_libdir"; then 22356 haveit=yes 22357 break 22358 fi 22359 done 22360 if test -z "$haveit"; then 22361 if test -d "$additional_libdir"; then 22362 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 22363 fi 22364 fi 22365 fi 22366 fi 22367 ;; 22368 -R*) 22369 dir=`echo "X$dep" | sed -e 's/^X-R//'` 22370 if test "$enable_rpath" != no; then 22371 haveit= 22372 for x in $rpathdirs; do 22373 if test "X$x" = "X$dir"; then 22374 haveit=yes 22375 break 22376 fi 22377 done 22378 if test -z "$haveit"; then 22379 rpathdirs="$rpathdirs $dir" 22380 fi 22381 haveit= 22382 for x in $ltrpathdirs; do 22383 if test "X$x" = "X$dir"; then 22384 haveit=yes 22385 break 22386 fi 22387 done 22388 if test -z "$haveit"; then 22389 ltrpathdirs="$ltrpathdirs $dir" 22390 fi 22391 fi 22392 ;; 22393 -l*) 22394 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 22395 ;; 22396 *.la) 22397 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 22398 ;; 22399 *) 22400 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 22401 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 22402 ;; 22403 esac 22404 done 22405 fi 22406 else 22407 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 22408 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 22409 fi 22410 fi 22411 fi 22412 done 22413 done 22414 if test "X$rpathdirs" != "X"; then 22415 if test -n "$acl_hardcode_libdir_separator"; then 22416 alldirs= 22417 for found_dir in $rpathdirs; do 22418 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 22419 done 22420 acl_save_libdir="$libdir" 22421 libdir="$alldirs" 22422 eval flag=\"$acl_hardcode_libdir_flag_spec\" 22423 libdir="$acl_save_libdir" 22424 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 22425 else 22426 for found_dir in $rpathdirs; do 22427 acl_save_libdir="$libdir" 22428 libdir="$found_dir" 22429 eval flag=\"$acl_hardcode_libdir_flag_spec\" 22430 libdir="$acl_save_libdir" 22431 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 22432 done 22433 fi 22434 fi 22435 if test "X$ltrpathdirs" != "X"; then 22436 for found_dir in $ltrpathdirs; do 22437 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 22438 done 22439 fi 22440 22441 22442 22443 22444 22445 22446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 22447$as_echo_n "checking for GNU gettext in libintl... " >&6; } 22448if eval \${$gt_func_gnugettext_libintl+:} false; then : 22449 $as_echo_n "(cached) " >&6 22450else 22451 gt_save_CPPFLAGS="$CPPFLAGS" 22452 CPPFLAGS="$CPPFLAGS $INCINTL" 22453 gt_save_LIBS="$LIBS" 22454 LIBS="$LIBS $LIBINTL" 22455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22456/* end confdefs.h. */ 22457#include <libintl.h> 22458$gt_revision_test_code 22459extern int _nl_msg_cat_cntr; 22460extern 22461#ifdef __cplusplus 22462"C" 22463#endif 22464const char *_nl_expand_alias (const char *); 22465int 22466main () 22467{ 22468bindtextdomain ("", ""); 22469return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 22470 ; 22471 return 0; 22472} 22473_ACEOF 22474if ac_fn_c_try_link "$LINENO"; then : 22475 eval "$gt_func_gnugettext_libintl=yes" 22476else 22477 eval "$gt_func_gnugettext_libintl=no" 22478fi 22479rm -f core conftest.err conftest.$ac_objext \ 22480 conftest$ac_exeext conftest.$ac_ext 22481 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 22482 LIBS="$LIBS $LIBICONV" 22483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22484/* end confdefs.h. */ 22485#include <libintl.h> 22486$gt_revision_test_code 22487extern int _nl_msg_cat_cntr; 22488extern 22489#ifdef __cplusplus 22490"C" 22491#endif 22492const char *_nl_expand_alias (const char *); 22493int 22494main () 22495{ 22496bindtextdomain ("", ""); 22497return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 22498 ; 22499 return 0; 22500} 22501_ACEOF 22502if ac_fn_c_try_link "$LINENO"; then : 22503 LIBINTL="$LIBINTL $LIBICONV" 22504 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 22505 eval "$gt_func_gnugettext_libintl=yes" 22506 22507fi 22508rm -f core conftest.err conftest.$ac_objext \ 22509 conftest$ac_exeext conftest.$ac_ext 22510 fi 22511 CPPFLAGS="$gt_save_CPPFLAGS" 22512 LIBS="$gt_save_LIBS" 22513fi 22514eval ac_res=\$$gt_func_gnugettext_libintl 22515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 22516$as_echo "$ac_res" >&6; } 22517 fi 22518 22519 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 22520 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 22521 && test "$PACKAGE" != gettext-runtime \ 22522 && test "$PACKAGE" != gettext-tools; }; then 22523 gt_use_preinstalled_gnugettext=yes 22524 else 22525 LIBINTL= 22526 LTLIBINTL= 22527 INCINTL= 22528 fi 22529 22530 22531 if test "$gt_use_preinstalled_gnugettext" != "yes"; then 22532 nls_cv_use_gnu_gettext=yes 22533 fi 22534 fi 22535 22536 if test "$nls_cv_use_gnu_gettext" = "yes"; then 22537 BUILD_INCLUDED_LIBINTL=yes 22538 USE_INCLUDED_LIBINTL=yes 22539 LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV $LIBTHREAD" 22540 LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV $LTLIBTHREAD" 22541 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` 22542 fi 22543 22544 CATOBJEXT= 22545 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 22546 || test "$nls_cv_use_gnu_gettext" = "yes"; then 22547 CATOBJEXT=.gmo 22548 fi 22549 22550 22551 if test -n "$INTL_MACOSX_LIBS"; then 22552 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 22553 || test "$nls_cv_use_gnu_gettext" = "yes"; then 22554 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 22555 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 22556 fi 22557 fi 22558 22559 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 22560 || test "$nls_cv_use_gnu_gettext" = "yes"; then 22561 22562$as_echo "#define ENABLE_NLS 1" >>confdefs.h 22563 22564 else 22565 USE_NLS=no 22566 fi 22567 fi 22568 22569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 22570$as_echo_n "checking whether to use NLS... " >&6; } 22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 22572$as_echo "$USE_NLS" >&6; } 22573 if test "$USE_NLS" = "yes"; then 22574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 22575$as_echo_n "checking where the gettext function comes from... " >&6; } 22576 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 22577 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 22578 gt_source="external libintl" 22579 else 22580 gt_source="libc" 22581 fi 22582 else 22583 gt_source="included intl directory" 22584 fi 22585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 22586$as_echo "$gt_source" >&6; } 22587 fi 22588 22589 if test "$USE_NLS" = "yes"; then 22590 22591 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 22592 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 22593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 22594$as_echo_n "checking how to link with libintl... " >&6; } 22595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 22596$as_echo "$LIBINTL" >&6; } 22597 22598 for element in $INCINTL; do 22599 haveit= 22600 for x in $CPPFLAGS; do 22601 22602 acl_save_prefix="$prefix" 22603 prefix="$acl_final_prefix" 22604 acl_save_exec_prefix="$exec_prefix" 22605 exec_prefix="$acl_final_exec_prefix" 22606 eval x=\"$x\" 22607 exec_prefix="$acl_save_exec_prefix" 22608 prefix="$acl_save_prefix" 22609 22610 if test "X$x" = "X$element"; then 22611 haveit=yes 22612 break 22613 fi 22614 done 22615 if test -z "$haveit"; then 22616 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 22617 fi 22618 done 22619 22620 fi 22621 22622 22623$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 22624 22625 22626$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 22627 22628 fi 22629 22630 POSUB=po 22631 fi 22632 22633 22634 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then 22635 BUILD_INCLUDED_LIBINTL=yes 22636 fi 22637 22638 22639 22640 22641 22642 nls_cv_header_intl= 22643 nls_cv_header_libgt= 22644 22645 DATADIRNAME=share 22646 22647 22648 INSTOBJEXT=.mo 22649 22650 22651 GENCAT=gencat 22652 22653 22654 INTLOBJS= 22655 if test "$USE_INCLUDED_LIBINTL" = yes; then 22656 INTLOBJS="\$(GETTOBJS)" 22657 fi 22658 22659 22660 INTL_LIBTOOL_SUFFIX_PREFIX= 22661 22662 22663 22664 INTLLIBS="$LIBINTL" 22665 22666 22667 22668 22669 22670 22671 22672 22673 22674 22675 22676 22677 22678if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 22679 if test -n "$ac_tool_prefix"; then 22680 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 22681set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 22682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22683$as_echo_n "checking for $ac_word... " >&6; } 22684if ${ac_cv_path_PKG_CONFIG+:} false; then : 22685 $as_echo_n "(cached) " >&6 22686else 22687 case $PKG_CONFIG in 22688 [\\/]* | ?:[\\/]*) 22689 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 22690 ;; 22691 *) 22692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22693for as_dir in $PATH 22694do 22695 IFS=$as_save_IFS 22696 test -z "$as_dir" && as_dir=. 22697 for ac_exec_ext in '' $ac_executable_extensions; do 22698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22699 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 22700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22701 break 2 22702 fi 22703done 22704 done 22705IFS=$as_save_IFS 22706 22707 ;; 22708esac 22709fi 22710PKG_CONFIG=$ac_cv_path_PKG_CONFIG 22711if test -n "$PKG_CONFIG"; then 22712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 22713$as_echo "$PKG_CONFIG" >&6; } 22714else 22715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22716$as_echo "no" >&6; } 22717fi 22718 22719 22720fi 22721if test -z "$ac_cv_path_PKG_CONFIG"; then 22722 ac_pt_PKG_CONFIG=$PKG_CONFIG 22723 # Extract the first word of "pkg-config", so it can be a program name with args. 22724set dummy pkg-config; ac_word=$2 22725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22726$as_echo_n "checking for $ac_word... " >&6; } 22727if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 22728 $as_echo_n "(cached) " >&6 22729else 22730 case $ac_pt_PKG_CONFIG in 22731 [\\/]* | ?:[\\/]*) 22732 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 22733 ;; 22734 *) 22735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22736for as_dir in $PATH 22737do 22738 IFS=$as_save_IFS 22739 test -z "$as_dir" && as_dir=. 22740 for ac_exec_ext in '' $ac_executable_extensions; do 22741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22742 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 22743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22744 break 2 22745 fi 22746done 22747 done 22748IFS=$as_save_IFS 22749 22750 ;; 22751esac 22752fi 22753ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 22754if test -n "$ac_pt_PKG_CONFIG"; then 22755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 22756$as_echo "$ac_pt_PKG_CONFIG" >&6; } 22757else 22758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22759$as_echo "no" >&6; } 22760fi 22761 22762 if test "x$ac_pt_PKG_CONFIG" = x; then 22763 PKG_CONFIG="" 22764 else 22765 case $cross_compiling:$ac_tool_warned in 22766yes:) 22767{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 22768$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22769ac_tool_warned=yes ;; 22770esac 22771 PKG_CONFIG=$ac_pt_PKG_CONFIG 22772 fi 22773else 22774 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 22775fi 22776 22777fi 22778if test -n "$PKG_CONFIG"; then 22779 _pkg_min_version=0.9.0 22780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 22781$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 22782 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 22783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22784$as_echo "yes" >&6; } 22785 else 22786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22787$as_echo "no" >&6; } 22788 PKG_CONFIG="" 22789 fi 22790fi 22791if test "x$CC" != xcc; then 22792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 22793$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 22794else 22795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 22796$as_echo_n "checking whether cc understands -c and -o together... " >&6; } 22797fi 22798set dummy $CC; ac_cc=`$as_echo "$2" | 22799 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 22800if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : 22801 $as_echo_n "(cached) " >&6 22802else 22803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22804/* end confdefs.h. */ 22805 22806int 22807main () 22808{ 22809 22810 ; 22811 return 0; 22812} 22813_ACEOF 22814# Make sure it works both with $CC and with simple cc. 22815# We do the test twice because some compilers refuse to overwrite an 22816# existing .o file with -o, though they will create one. 22817ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 22818rm -f conftest2.* 22819if { { case "(($ac_try" in 22820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22821 *) ac_try_echo=$ac_try;; 22822esac 22823eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 22824$as_echo "$ac_try_echo"; } >&5 22825 (eval "$ac_try") 2>&5 22826 ac_status=$? 22827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22828 test $ac_status = 0; } && 22829 test -f conftest2.$ac_objext && { { case "(($ac_try" in 22830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22831 *) ac_try_echo=$ac_try;; 22832esac 22833eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 22834$as_echo "$ac_try_echo"; } >&5 22835 (eval "$ac_try") 2>&5 22836 ac_status=$? 22837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22838 test $ac_status = 0; }; 22839then 22840 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 22841 if test "x$CC" != xcc; then 22842 # Test first that cc exists at all. 22843 if { ac_try='cc -c conftest.$ac_ext >&5' 22844 { { case "(($ac_try" in 22845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22846 *) ac_try_echo=$ac_try;; 22847esac 22848eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 22849$as_echo "$ac_try_echo"; } >&5 22850 (eval "$ac_try") 2>&5 22851 ac_status=$? 22852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22853 test $ac_status = 0; }; }; then 22854 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 22855 rm -f conftest2.* 22856 if { { case "(($ac_try" in 22857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22858 *) ac_try_echo=$ac_try;; 22859esac 22860eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 22861$as_echo "$ac_try_echo"; } >&5 22862 (eval "$ac_try") 2>&5 22863 ac_status=$? 22864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22865 test $ac_status = 0; } && 22866 test -f conftest2.$ac_objext && { { case "(($ac_try" in 22867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22868 *) ac_try_echo=$ac_try;; 22869esac 22870eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 22871$as_echo "$ac_try_echo"; } >&5 22872 (eval "$ac_try") 2>&5 22873 ac_status=$? 22874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22875 test $ac_status = 0; }; 22876 then 22877 # cc works too. 22878 : 22879 else 22880 # cc exists but doesn't like -o. 22881 eval ac_cv_prog_cc_${ac_cc}_c_o=no 22882 fi 22883 fi 22884 fi 22885else 22886 eval ac_cv_prog_cc_${ac_cc}_c_o=no 22887fi 22888rm -f core conftest* 22889 22890fi 22891if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 22892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22893$as_echo "yes" >&6; } 22894else 22895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22896$as_echo "no" >&6; } 22897 22898$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h 22899 22900fi 22901 22902# FIXME: we rely on the cache variable name because 22903# there is no other way. 22904set dummy $CC 22905am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 22906eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 22907if test "$am_t" != yes; then 22908 # Losing compiler, so override with the script. 22909 # FIXME: It is wrong to rewrite CC. 22910 # But if we don't then we get into trouble of one sort or another. 22911 # A longer-term fix would be to have automake use am__CC in this case, 22912 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 22913 CC="$am_aux_dir/compile $CC" 22914fi 22915 22916 22917 22918 22919 22920case "$am__api_version" in 22921 1.01234) 22922 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 22923 ;; 22924 *) 22925 ;; 22926esac 22927 22928INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 22929INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 22930INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 22931if test -n "0.40.0"; then 22932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5 22933$as_echo_n "checking for intltool >= 0.40.0... " >&6; } 22934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 22935$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 22936 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 22937 as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5 22938fi 22939 22940# Extract the first word of "intltool-update", so it can be a program name with args. 22941set dummy intltool-update; ac_word=$2 22942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22943$as_echo_n "checking for $ac_word... " >&6; } 22944if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 22945 $as_echo_n "(cached) " >&6 22946else 22947 case $INTLTOOL_UPDATE in 22948 [\\/]* | ?:[\\/]*) 22949 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 22950 ;; 22951 *) 22952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22953for as_dir in $PATH 22954do 22955 IFS=$as_save_IFS 22956 test -z "$as_dir" && as_dir=. 22957 for ac_exec_ext in '' $ac_executable_extensions; do 22958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22959 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 22960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22961 break 2 22962 fi 22963done 22964 done 22965IFS=$as_save_IFS 22966 22967 ;; 22968esac 22969fi 22970INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 22971if test -n "$INTLTOOL_UPDATE"; then 22972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 22973$as_echo "$INTLTOOL_UPDATE" >&6; } 22974else 22975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22976$as_echo "no" >&6; } 22977fi 22978 22979 22980# Extract the first word of "intltool-merge", so it can be a program name with args. 22981set dummy intltool-merge; ac_word=$2 22982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22983$as_echo_n "checking for $ac_word... " >&6; } 22984if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 22985 $as_echo_n "(cached) " >&6 22986else 22987 case $INTLTOOL_MERGE in 22988 [\\/]* | ?:[\\/]*) 22989 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 22990 ;; 22991 *) 22992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22993for as_dir in $PATH 22994do 22995 IFS=$as_save_IFS 22996 test -z "$as_dir" && as_dir=. 22997 for ac_exec_ext in '' $ac_executable_extensions; do 22998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22999 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 23000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23001 break 2 23002 fi 23003done 23004 done 23005IFS=$as_save_IFS 23006 23007 ;; 23008esac 23009fi 23010INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 23011if test -n "$INTLTOOL_MERGE"; then 23012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 23013$as_echo "$INTLTOOL_MERGE" >&6; } 23014else 23015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23016$as_echo "no" >&6; } 23017fi 23018 23019 23020# Extract the first word of "intltool-extract", so it can be a program name with args. 23021set dummy intltool-extract; ac_word=$2 23022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23023$as_echo_n "checking for $ac_word... " >&6; } 23024if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 23025 $as_echo_n "(cached) " >&6 23026else 23027 case $INTLTOOL_EXTRACT in 23028 [\\/]* | ?:[\\/]*) 23029 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 23030 ;; 23031 *) 23032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23033for as_dir in $PATH 23034do 23035 IFS=$as_save_IFS 23036 test -z "$as_dir" && as_dir=. 23037 for ac_exec_ext in '' $ac_executable_extensions; do 23038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23039 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 23040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23041 break 2 23042 fi 23043done 23044 done 23045IFS=$as_save_IFS 23046 23047 ;; 23048esac 23049fi 23050INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 23051if test -n "$INTLTOOL_EXTRACT"; then 23052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 23053$as_echo "$INTLTOOL_EXTRACT" >&6; } 23054else 23055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23056$as_echo "no" >&6; } 23057fi 23058 23059 23060if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 23061 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 23062fi 23063 23064if test -z "$AM_DEFAULT_VERBOSITY"; then 23065 AM_DEFAULT_VERBOSITY=1 23066fi 23067 23068 23069INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 23070INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 23071INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 23072 23073 23074 23075 23076INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 23077intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 23078intltool__v_merge_options_0='-q' 23079 23080 23081 23082 23083 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23084INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23085 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23086 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23087 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' 23088 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23089 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23090 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23091INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23092 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23093 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23094if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 23095 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' 23096else 23097 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' 23098fi 23099 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23100 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23101 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23102 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23103 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23104 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23105 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 23106 23107 23108 23109 23110 23111 23112 23113 23114 23115 23116 23117 23118 23119 23120 23121 23122 23123 23124 23125 23126 23127 23128 23129 23130 23131 23132 23133 23134 23135 23136 23137 23138 23139 23140 23141 23142 23143 23144 23145 23146 23147 23148 23149 23150 23151 23152 23153 23154 23155 23156 23157 23158 23159 23160 23161 23162 23163 23164 23165 23166 23167 23168 23169 23170 23171 23172 23173 23174 23175 23176 23177 23178 23179 23180 23181 23182 23183 23184 23185 23186 23187 23188 23189 23190 23191 23192 23193 23194 23195 23196 23197 23198 23199 23200 23201 23202 23203# Check the gettext tools to make sure they are GNU 23204# Extract the first word of "xgettext", so it can be a program name with args. 23205set dummy xgettext; ac_word=$2 23206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23207$as_echo_n "checking for $ac_word... " >&6; } 23208if ${ac_cv_path_XGETTEXT+:} false; then : 23209 $as_echo_n "(cached) " >&6 23210else 23211 case $XGETTEXT in 23212 [\\/]* | ?:[\\/]*) 23213 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 23214 ;; 23215 *) 23216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23217for as_dir in $PATH 23218do 23219 IFS=$as_save_IFS 23220 test -z "$as_dir" && as_dir=. 23221 for ac_exec_ext in '' $ac_executable_extensions; do 23222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23223 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 23224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23225 break 2 23226 fi 23227done 23228 done 23229IFS=$as_save_IFS 23230 23231 ;; 23232esac 23233fi 23234XGETTEXT=$ac_cv_path_XGETTEXT 23235if test -n "$XGETTEXT"; then 23236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 23237$as_echo "$XGETTEXT" >&6; } 23238else 23239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23240$as_echo "no" >&6; } 23241fi 23242 23243 23244# Extract the first word of "msgmerge", so it can be a program name with args. 23245set dummy msgmerge; ac_word=$2 23246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23247$as_echo_n "checking for $ac_word... " >&6; } 23248if ${ac_cv_path_MSGMERGE+:} false; then : 23249 $as_echo_n "(cached) " >&6 23250else 23251 case $MSGMERGE in 23252 [\\/]* | ?:[\\/]*) 23253 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 23254 ;; 23255 *) 23256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23257for as_dir in $PATH 23258do 23259 IFS=$as_save_IFS 23260 test -z "$as_dir" && as_dir=. 23261 for ac_exec_ext in '' $ac_executable_extensions; do 23262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23263 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 23264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23265 break 2 23266 fi 23267done 23268 done 23269IFS=$as_save_IFS 23270 23271 ;; 23272esac 23273fi 23274MSGMERGE=$ac_cv_path_MSGMERGE 23275if test -n "$MSGMERGE"; then 23276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 23277$as_echo "$MSGMERGE" >&6; } 23278else 23279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23280$as_echo "no" >&6; } 23281fi 23282 23283 23284# Extract the first word of "msgfmt", so it can be a program name with args. 23285set dummy msgfmt; ac_word=$2 23286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23287$as_echo_n "checking for $ac_word... " >&6; } 23288if ${ac_cv_path_MSGFMT+:} false; then : 23289 $as_echo_n "(cached) " >&6 23290else 23291 case $MSGFMT in 23292 [\\/]* | ?:[\\/]*) 23293 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 23294 ;; 23295 *) 23296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23297for as_dir in $PATH 23298do 23299 IFS=$as_save_IFS 23300 test -z "$as_dir" && as_dir=. 23301 for ac_exec_ext in '' $ac_executable_extensions; do 23302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23303 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 23304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23305 break 2 23306 fi 23307done 23308 done 23309IFS=$as_save_IFS 23310 23311 ;; 23312esac 23313fi 23314MSGFMT=$ac_cv_path_MSGFMT 23315if test -n "$MSGFMT"; then 23316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 23317$as_echo "$MSGFMT" >&6; } 23318else 23319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23320$as_echo "no" >&6; } 23321fi 23322 23323 23324# Extract the first word of "gmsgfmt", so it can be a program name with args. 23325set dummy gmsgfmt; ac_word=$2 23326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23327$as_echo_n "checking for $ac_word... " >&6; } 23328if ${ac_cv_path_GMSGFMT+:} false; then : 23329 $as_echo_n "(cached) " >&6 23330else 23331 case $GMSGFMT in 23332 [\\/]* | ?:[\\/]*) 23333 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 23334 ;; 23335 *) 23336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23337for as_dir in $PATH 23338do 23339 IFS=$as_save_IFS 23340 test -z "$as_dir" && as_dir=. 23341 for ac_exec_ext in '' $ac_executable_extensions; do 23342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23343 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 23344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23345 break 2 23346 fi 23347done 23348 done 23349IFS=$as_save_IFS 23350 23351 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 23352 ;; 23353esac 23354fi 23355GMSGFMT=$ac_cv_path_GMSGFMT 23356if test -n "$GMSGFMT"; then 23357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 23358$as_echo "$GMSGFMT" >&6; } 23359else 23360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23361$as_echo "no" >&6; } 23362fi 23363 23364 23365if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 23366 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 23367fi 23368xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 23369mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 23370mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 23371if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 23372 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 23373fi 23374 23375# Extract the first word of "perl", so it can be a program name with args. 23376set dummy perl; ac_word=$2 23377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23378$as_echo_n "checking for $ac_word... " >&6; } 23379if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 23380 $as_echo_n "(cached) " >&6 23381else 23382 case $INTLTOOL_PERL in 23383 [\\/]* | ?:[\\/]*) 23384 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 23385 ;; 23386 *) 23387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23388for as_dir in $PATH 23389do 23390 IFS=$as_save_IFS 23391 test -z "$as_dir" && as_dir=. 23392 for ac_exec_ext in '' $ac_executable_extensions; do 23393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23394 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 23395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23396 break 2 23397 fi 23398done 23399 done 23400IFS=$as_save_IFS 23401 23402 ;; 23403esac 23404fi 23405INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 23406if test -n "$INTLTOOL_PERL"; then 23407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 23408$as_echo "$INTLTOOL_PERL" >&6; } 23409else 23410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23411$as_echo "no" >&6; } 23412fi 23413 23414 23415if test -z "$INTLTOOL_PERL"; then 23416 as_fn_error $? "perl not found" "$LINENO" 5 23417fi 23418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 23419$as_echo_n "checking for perl >= 5.8.1... " >&6; } 23420$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 23421if test $? -ne 0; then 23422 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 23423else 23424 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 23425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 23426$as_echo "$IT_PERL_VERSION" >&6; } 23427fi 23428if test "x" != "xno-xml"; then 23429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 23430$as_echo_n "checking for XML::Parser... " >&6; } 23431 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 23432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 23433$as_echo "ok" >&6; } 23434 else 23435 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 23436 fi 23437fi 23438 23439# Substitute ALL_LINGUAS so we can use it in po/Makefile 23440 23441 23442# Set DATADIRNAME correctly if it is not set yet 23443# (copied from glib-gettext.m4) 23444if test -z "$DATADIRNAME"; then 23445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23446/* end confdefs.h. */ 23447 23448int 23449main () 23450{ 23451extern int _nl_msg_cat_cntr; 23452 return _nl_msg_cat_cntr 23453 ; 23454 return 0; 23455} 23456_ACEOF 23457if ac_fn_c_try_link "$LINENO"; then : 23458 DATADIRNAME=share 23459else 23460 case $host in 23461 *-*-solaris*) 23462 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 23463if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 23464 DATADIRNAME=share 23465else 23466 DATADIRNAME=lib 23467fi 23468 23469 ;; 23470 *) 23471 DATADIRNAME=lib 23472 ;; 23473 esac 23474fi 23475rm -f core conftest.err conftest.$ac_objext \ 23476 conftest$ac_exeext conftest.$ac_ext 23477fi 23478 23479 23480 23481 23482 23483GETTEXT_PACKAGE=deadbeef 23484 23485 23486test "$prefix" = NONE && prefix=/usr/local 23487 23488cat >>confdefs.h <<_ACEOF 23489#define LOCALEDIR "${prefix}/${DATADIRNAME}/locale" 23490_ACEOF 23491 23492 23493case "$host" in 23494 i686-apple-*) 23495 23496$as_echo "#define ARCH_X86_32 1" >>confdefs.h 23497 23498 LIB="static-deps/lib-x86-32-apple" 23499 YASM_FLAGS="-f macho32 -D ARCH_X86_32 -m x86 -DPREFIX" 23500 APE_USE_YASM=yes 23501 OS_OSX=yes 23502 ;; 23503 x86_64-apple-*) 23504 23505$as_echo "#define ARCH_X86_64 1" >>confdefs.h 23506 23507 LIB="static-deps/lib-x86-64-apple" 23508 YASM_FLAGS="-f macho64 -D ARCH_X86_64 -m amd64 -DPIC -DPREFIX" 23509 APE_USE_YASM=yes 23510 OS_OSX=yes 23511 ;; 23512 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*) 23513 23514$as_echo "#define ARCH_X86_32 1" >>confdefs.h 23515 23516 LIB="static-deps/lib-x86-32" 23517 YASM_FLAGS="-f elf -D ARCH_X86_32 -m x86" 23518 APE_USE_YASM=yes 23519 ;; 23520 x86_64-*-* | amd64-*-*) 23521 23522$as_echo "#define ARCH_X86_64 1" >>confdefs.h 23523 23524 LIB="static-deps/lib-x86-64" 23525 YASM_FLAGS="-f elf -D ARCH_X86_64 -m amd64" 23526 APE_USE_YASM=yes 23527 ;; 23528 powerpc-*-* ) 23529 23530$as_echo "#define ARCH_PPC_32 1" >>confdefs.h 23531 23532 LIB="static-deps/lib-ppc-32" 23533 ;; 23534 powerpc64-*-* ) 23535 23536$as_echo "#define ARCH_PPC_64 1" >>confdefs.h 23537 23538 LIB="static-deps/lib-ppc-64" 23539 ;; 23540 *) 23541 23542$as_echo "#define ARCH_UNKNOWN 1" >>confdefs.h 23543 23544 ;; 23545esac 23546 23547 23548 23549test "x$prefix" = xNONE && prefix=$ac_default_prefix 23550 23551 23552 23553 23554 23555# Check whether --enable-nullout was given. 23556if test "${enable_nullout+set}" = set; then : 23557 enableval=$enable_nullout; enable_nullout=$enableval 23558else 23559 enable_nullout=yes 23560fi 23561 23562# Check whether --enable-alsa was given. 23563if test "${enable_alsa+set}" = set; then : 23564 enableval=$enable_alsa; enable_alsa=$enableval 23565else 23566 enable_alsa=yes 23567fi 23568 23569# Check whether --enable-oss was given. 23570if test "${enable_oss+set}" = set; then : 23571 enableval=$enable_oss; enable_oss=$enableval 23572else 23573 enable_oss=yes 23574fi 23575 23576# Check whether --enable-pulse was given. 23577if test "${enable_pulse+set}" = set; then : 23578 enableval=$enable_pulse; enable_pulse=$enableval 23579else 23580 enable_pulse=yes 23581fi 23582 23583# Check whether --enable-coreaudio was given. 23584if test "${enable_coreaudio+set}" = set; then : 23585 enableval=$enable_coreaudio; enable_coreaudio=$enableval 23586else 23587 enable_coreaudio=yes 23588fi 23589 23590# Check whether --enable-gtk3 was given. 23591if test "${enable_gtk3+set}" = set; then : 23592 enableval=$enable_gtk3; enable_gtk3=$enableval 23593else 23594 enable_gtk3=yes 23595fi 23596 23597# Check whether --enable-gtk2 was given. 23598if test "${enable_gtk2+set}" = set; then : 23599 enableval=$enable_gtk2; enable_gtk2=$enableval 23600else 23601 enable_gtk2=yes 23602fi 23603 23604# Check whether --enable-vfs_curl was given. 23605if test "${enable_vfs_curl+set}" = set; then : 23606 enableval=$enable_vfs_curl; enable_vfs_curl=$enableval 23607else 23608 enable_vfs_curl=yes 23609fi 23610 23611# Check whether --enable-lfm was given. 23612if test "${enable_lfm+set}" = set; then : 23613 enableval=$enable_lfm; enable_lfm=$enableval 23614else 23615 enable_lfm=yes 23616fi 23617 23618# Check whether --enable-artwork was given. 23619if test "${enable_artwork+set}" = set; then : 23620 enableval=$enable_artwork; enable_artwork=$enableval 23621else 23622 enable_artwork=yes 23623fi 23624 23625# Check whether --enable-artwork-network was given. 23626if test "${enable_artwork_network+set}" = set; then : 23627 enableval=$enable_artwork_network; enable_artwork_network=$enableval 23628else 23629 enable_artwork_network=yes 23630fi 23631 23632# Check whether --enable-supereq was given. 23633if test "${enable_supereq+set}" = set; then : 23634 enableval=$enable_supereq; enable_supereq=$enableval 23635else 23636 enable_supereq=yes 23637fi 23638 23639# Check whether --enable-sid was given. 23640if test "${enable_sid+set}" = set; then : 23641 enableval=$enable_sid; enable_sid=$enableval 23642else 23643 enable_sid=yes 23644fi 23645 23646# Check whether --enable-mp3 was given. 23647if test "${enable_mp3+set}" = set; then : 23648 enableval=$enable_mp3; enable_mp3=$enableval 23649else 23650 enable_mp3=yes 23651fi 23652 23653# Check whether --enable-libmad was given. 23654if test "${enable_libmad+set}" = set; then : 23655 enableval=$enable_libmad; enable_libmad=$enableval 23656else 23657 enable_libmad=yes 23658fi 23659 23660# Check whether --enable-libmpg123 was given. 23661if test "${enable_libmpg123+set}" = set; then : 23662 enableval=$enable_libmpg123; enable_libmpg123=$enableval 23663else 23664 enable_libmpg123=yes 23665fi 23666 23667# Check whether --enable-ffap was given. 23668if test "${enable_ffap+set}" = set; then : 23669 enableval=$enable_ffap; enable_ffap=$enableval 23670else 23671 enable_ffap=yes 23672fi 23673 23674# Check whether --enable-vtx was given. 23675if test "${enable_vtx+set}" = set; then : 23676 enableval=$enable_vtx; enable_vtx=$enableval 23677else 23678 enable_vtx=yes 23679fi 23680 23681# Check whether --enable-adplug was given. 23682if test "${enable_adplug+set}" = set; then : 23683 enableval=$enable_adplug; enable_adplug=$enableval 23684else 23685 enable_adplug=yes 23686fi 23687 23688# Check whether --enable-hotkeys was given. 23689if test "${enable_hotkeys+set}" = set; then : 23690 enableval=$enable_hotkeys; enable_hotkeys=$enableval 23691else 23692 enable_hotkeys=yes 23693fi 23694 23695# Check whether --enable-vorbis was given. 23696if test "${enable_vorbis+set}" = set; then : 23697 enableval=$enable_vorbis; enable_vorbis=$enableval 23698else 23699 enable_vorbis=yes 23700fi 23701 23702# Check whether --enable-ffmpeg was given. 23703if test "${enable_ffmpeg+set}" = set; then : 23704 enableval=$enable_ffmpeg; enable_ffmpeg=$enableval 23705else 23706 enable_ffmpeg=yes 23707fi 23708 23709# Check whether --enable-flac was given. 23710if test "${enable_flac+set}" = set; then : 23711 enableval=$enable_flac; enable_flac=$enableval 23712else 23713 enable_flac=yes 23714fi 23715 23716# Check whether --enable-sndfile was given. 23717if test "${enable_sndfile+set}" = set; then : 23718 enableval=$enable_sndfile; enable_sndfile=$enableval 23719else 23720 enable_sndfile=yes 23721fi 23722 23723# Check whether --enable-wavpack was given. 23724if test "${enable_wavpack+set}" = set; then : 23725 enableval=$enable_wavpack; enable_wavpack=$enableval 23726else 23727 enable_wavpack=yes 23728fi 23729 23730# Check whether --enable-cdda was given. 23731if test "${enable_cdda+set}" = set; then : 23732 enableval=$enable_cdda; enable_cdda=$enableval 23733else 23734 enable_cdda=yes 23735fi 23736 23737# Check whether --enable-cdda-paranoia was given. 23738if test "${enable_cdda_paranoia+set}" = set; then : 23739 enableval=$enable_cdda_paranoia; enable_cdda_paranoia=$enableval 23740else 23741 enable_cdda_paranoia=yes 23742fi 23743 23744# Check whether --enable-gme was given. 23745if test "${enable_gme+set}" = set; then : 23746 enableval=$enable_gme; enable_gme=$enableval 23747else 23748 enable_gme=yes 23749fi 23750 23751# Check whether --enable-notify was given. 23752if test "${enable_notify+set}" = set; then : 23753 enableval=$enable_notify; enable_notify=$enableval 23754else 23755 enable_notify=yes 23756fi 23757 23758# Check whether --enable-shellexec was given. 23759if test "${enable_shellexec+set}" = set; then : 23760 enableval=$enable_shellexec; enable_shellexec=$enableval 23761else 23762 enable_shellexec=yes 23763fi 23764 23765# Check whether --enable-musepack was given. 23766if test "${enable_musepack+set}" = set; then : 23767 enableval=$enable_musepack; enable_musepack=$enableval 23768else 23769 enable_musepack=yes 23770fi 23771 23772# Check whether --enable-wildmidi was given. 23773if test "${enable_wildmidi+set}" = set; then : 23774 enableval=$enable_wildmidi; enable_wildmidi=$enableval 23775else 23776 enable_wildmidi=yes 23777fi 23778 23779# Check whether --enable-tta was given. 23780if test "${enable_tta+set}" = set; then : 23781 enableval=$enable_tta; enable_tta=$enableval 23782else 23783 enable_tta=yes 23784fi 23785 23786# Check whether --enable-dca was given. 23787if test "${enable_dca+set}" = set; then : 23788 enableval=$enable_dca; enable_dca=$enableval 23789else 23790 enable_dca=yes 23791fi 23792 23793# Check whether --enable-aac was given. 23794if test "${enable_aac+set}" = set; then : 23795 enableval=$enable_aac; enable_aac=$enableval 23796else 23797 enable_aac=yes 23798fi 23799 23800# Check whether --enable-mms was given. 23801if test "${enable_mms+set}" = set; then : 23802 enableval=$enable_mms; enable_mms=$enableval 23803else 23804 enable_mms=yes 23805fi 23806 23807# Check whether --enable-staticlink was given. 23808if test "${enable_staticlink+set}" = set; then : 23809 enableval=$enable_staticlink; enable_staticlink=$enableval 23810else 23811 enable_staticlink=no 23812fi 23813 23814# Check whether --enable-portable was given. 23815if test "${enable_portable+set}" = set; then : 23816 enableval=$enable_portable; enable_portable=$enableval 23817else 23818 enable_portable=no 23819fi 23820 23821# Check whether --enable-src was given. 23822if test "${enable_src+set}" = set; then : 23823 enableval=$enable_src; enable_src=$enableval 23824else 23825 enable_src=yes 23826fi 23827 23828# Check whether --enable-m3u was given. 23829if test "${enable_m3u+set}" = set; then : 23830 enableval=$enable_m3u; enable_m3u=$enableval 23831else 23832 enable_m3u=yes 23833fi 23834 23835# Check whether --enable-vfs-zip was given. 23836if test "${enable_vfs_zip+set}" = set; then : 23837 enableval=$enable_vfs_zip; enable_vfs_zip=$enableval 23838else 23839 enable_vfs_zip=yes 23840fi 23841 23842# Check whether --enable-converter was given. 23843if test "${enable_converter+set}" = set; then : 23844 enableval=$enable_converter; enable_converter=$enableval 23845else 23846 enable_converter=yes 23847fi 23848 23849# Check whether --enable-artwork-imlib2 was given. 23850if test "${enable_artwork_imlib2+set}" = set; then : 23851 enableval=$enable_artwork_imlib2; enable_artwork_imlib2=$enableval 23852else 23853 enable_artwork_imlib2=yes 23854fi 23855 23856# Check whether --enable-dumb was given. 23857if test "${enable_dumb+set}" = set; then : 23858 enableval=$enable_dumb; enable_dumb=$enableval 23859else 23860 enable_dumb=yes 23861fi 23862 23863# Check whether --enable-shn was given. 23864if test "${enable_shn+set}" = set; then : 23865 enableval=$enable_shn; enable_shn=$enableval 23866else 23867 enable_shn=yes 23868fi 23869 23870# Check whether --enable-psf was given. 23871if test "${enable_psf+set}" = set; then : 23872 enableval=$enable_psf; enable_psf=$enableval 23873else 23874 enable_psf=yes 23875fi 23876 23877# Check whether --enable-mono2stereo was given. 23878if test "${enable_mono2stereo+set}" = set; then : 23879 enableval=$enable_mono2stereo; enable_mono2stereo=$enableval 23880else 23881 enable_mono2stereo=yes 23882fi 23883 23884# Check whether --enable-shellexecui was given. 23885if test "${enable_shellexecui+set}" = set; then : 23886 enableval=$enable_shellexecui; enable_shellexecui=$enableval 23887else 23888 enable_shellexecui=yes 23889fi 23890 23891# Check whether --enable-alac was given. 23892if test "${enable_alac+set}" = set; then : 23893 enableval=$enable_alac; enable_alac=$enableval 23894else 23895 enable_alac=yes 23896fi 23897 23898# Check whether --enable-wma was given. 23899if test "${enable_wma+set}" = set; then : 23900 enableval=$enable_wma; enable_wma=$enableval 23901else 23902 enable_wma=yes 23903fi 23904 23905# Check whether --enable-pltbrowser was given. 23906if test "${enable_pltbrowser+set}" = set; then : 23907 enableval=$enable_pltbrowser; enable_pltbrowser=$enableval 23908else 23909 enable_pltbrowser=yes 23910fi 23911 23912# Check whether --enable-sc68 was given. 23913if test "${enable_sc68+set}" = set; then : 23914 enableval=$enable_sc68; enable_sc68=$enableval 23915else 23916 enable_sc68=yes 23917fi 23918 23919# Check whether --enable-abstract_socket was given. 23920if test "${enable_abstract_socket+set}" = set; then : 23921 enableval=$enable_abstract_socket; enable_abstract_socket=$enableval 23922else 23923 enable_abstract_socket=no 23924fi 23925 23926 23927if test "${enable_staticlink}" != "no"; then : 23928 23929 23930cat >>confdefs.h <<_ACEOF 23931#define STATICLINK 1 23932_ACEOF 23933 23934 STATICLINK=yes 23935 23936fi 23937 23938if test "${enable_abstract_socket}" != "no"; then : 23939 23940 23941cat >>confdefs.h <<_ACEOF 23942#define USE_ABSTRACT_SOCKET_NAME 1 23943_ACEOF 23944 23945 USE_ABSTRACT_SOCKET_NAME=yes 23946 23947fi 23948 23949case "$host" in 23950 *-*-gnu ) 23951 if test "${enable_staticlink}" != "no"; then : 23952 23953 NOCPPLIB="-nostdlib ../../$LIB/lib/libsupc++.a" 23954 23955else 23956 23957 NOCPPLIB="" 23958 23959fi 23960 23961 ;; 23962esac 23963 23964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lintl" >&5 23965$as_echo_n "checking for main in -lintl... " >&6; } 23966if ${ac_cv_lib_intl_main+:} false; then : 23967 $as_echo_n "(cached) " >&6 23968else 23969 ac_check_lib_save_LIBS=$LIBS 23970LIBS="-lintl $LIBS" 23971cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23972/* end confdefs.h. */ 23973 23974 23975int 23976main () 23977{ 23978return main (); 23979 ; 23980 return 0; 23981} 23982_ACEOF 23983if ac_fn_c_try_link "$LINENO"; then : 23984 ac_cv_lib_intl_main=yes 23985else 23986 ac_cv_lib_intl_main=no 23987fi 23988rm -f core conftest.err conftest.$ac_objext \ 23989 conftest$ac_exeext conftest.$ac_ext 23990LIBS=$ac_check_lib_save_LIBS 23991fi 23992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_main" >&5 23993$as_echo "$ac_cv_lib_intl_main" >&6; } 23994if test "x$ac_cv_lib_intl_main" = xyes; then : 23995 INTL_LIBS="-lintl"; 23996fi 23997 23998 23999# Extract the first word of "yasm", so it can be a program name with args. 24000set dummy yasm; ac_word=$2 24001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24002$as_echo_n "checking for $ac_word... " >&6; } 24003if ${ac_cv_prog_HAVE_YASM+:} false; then : 24004 $as_echo_n "(cached) " >&6 24005else 24006 if test -n "$HAVE_YASM"; then 24007 ac_cv_prog_HAVE_YASM="$HAVE_YASM" # Let the user override the test. 24008else 24009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24010for as_dir in $PATH 24011do 24012 IFS=$as_save_IFS 24013 test -z "$as_dir" && as_dir=. 24014 for ac_exec_ext in '' $ac_executable_extensions; do 24015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 24016 ac_cv_prog_HAVE_YASM="yes" 24017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24018 break 2 24019 fi 24020done 24021 done 24022IFS=$as_save_IFS 24023 24024 test -z "$ac_cv_prog_HAVE_YASM" && ac_cv_prog_HAVE_YASM="no" 24025fi 24026fi 24027HAVE_YASM=$ac_cv_prog_HAVE_YASM 24028if test -n "$HAVE_YASM"; then 24029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_YASM" >&5 24030$as_echo "$HAVE_YASM" >&6; } 24031else 24032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24033$as_echo "no" >&6; } 24034fi 24035 24036 24037 24038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log2 in -lm" >&5 24039$as_echo_n "checking for log2 in -lm... " >&6; } 24040if ${ac_cv_lib_m_log2+:} false; then : 24041 $as_echo_n "(cached) " >&6 24042else 24043 ac_check_lib_save_LIBS=$LIBS 24044LIBS="-lm $LIBS" 24045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24046/* end confdefs.h. */ 24047 24048/* Override any GCC internal prototype to avoid an error. 24049 Use char because int might match the return type of a GCC 24050 builtin and then its argument prototype would still apply. */ 24051#ifdef __cplusplus 24052extern "C" 24053#endif 24054char log2 (); 24055int 24056main () 24057{ 24058return log2 (); 24059 ; 24060 return 0; 24061} 24062_ACEOF 24063if ac_fn_c_try_link "$LINENO"; then : 24064 ac_cv_lib_m_log2=yes 24065else 24066 ac_cv_lib_m_log2=no 24067fi 24068rm -f core conftest.err conftest.$ac_objext \ 24069 conftest$ac_exeext conftest.$ac_ext 24070LIBS=$ac_check_lib_save_LIBS 24071fi 24072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log2" >&5 24073$as_echo "$ac_cv_lib_m_log2" >&6; } 24074if test "x$ac_cv_lib_m_log2" = xyes; then : 24075 24076$as_echo "#define HAVE_LOG2 /**/" >>confdefs.h 24077 24078fi 24079 24080 24081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5 24082$as_echo_n "checking for main in -ldl... " >&6; } 24083if ${ac_cv_lib_dl_main+:} false; then : 24084 $as_echo_n "(cached) " >&6 24085else 24086 ac_check_lib_save_LIBS=$LIBS 24087LIBS="-ldl $LIBS" 24088cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24089/* end confdefs.h. */ 24090 24091 24092int 24093main () 24094{ 24095return main (); 24096 ; 24097 return 0; 24098} 24099_ACEOF 24100if ac_fn_c_try_link "$LINENO"; then : 24101 ac_cv_lib_dl_main=yes 24102else 24103 ac_cv_lib_dl_main=no 24104fi 24105rm -f core conftest.err conftest.$ac_objext \ 24106 conftest$ac_exeext conftest.$ac_ext 24107LIBS=$ac_check_lib_save_LIBS 24108fi 24109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5 24110$as_echo "$ac_cv_lib_dl_main" >&6; } 24111if test "x$ac_cv_lib_dl_main" = xyes; then : 24112 HAVE_DL=yes;DL_LIBS="-ldl"; 24113fi 24114 24115 24116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5 24117$as_echo_n "checking for main in -lsocket... " >&6; } 24118if ${ac_cv_lib_socket_main+:} false; then : 24119 $as_echo_n "(cached) " >&6 24120else 24121 ac_check_lib_save_LIBS=$LIBS 24122LIBS="-lsocket $LIBS" 24123cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24124/* end confdefs.h. */ 24125 24126 24127int 24128main () 24129{ 24130return main (); 24131 ; 24132 return 0; 24133} 24134_ACEOF 24135if ac_fn_c_try_link "$LINENO"; then : 24136 ac_cv_lib_socket_main=yes 24137else 24138 ac_cv_lib_socket_main=no 24139fi 24140rm -f core conftest.err conftest.$ac_objext \ 24141 conftest$ac_exeext conftest.$ac_ext 24142LIBS=$ac_check_lib_save_LIBS 24143fi 24144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5 24145$as_echo "$ac_cv_lib_socket_main" >&6; } 24146if test "x$ac_cv_lib_socket_main" = xyes; then : 24147 HAVE_SOCKET=yes;DL_LIBS="-lsocket"; 24148fi 24149 24150ac_fn_c_check_header_mongrel "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac_includes_default" 24151if test "x$ac_cv_header_alloca_h" = xyes; then : 24152 24153else 24154 alloca.h not found. 24155fi 24156 24157 24158for ac_header in sys/syslimits.h 24159do : 24160 ac_fn_c_check_header_mongrel "$LINENO" "sys/syslimits.h" "ac_cv_header_sys_syslimits_h" "$ac_includes_default" 24161if test "x$ac_cv_header_sys_syslimits_h" = xyes; then : 24162 cat >>confdefs.h <<_ACEOF 24163#define HAVE_SYS_SYSLIMITS_H 1 24164_ACEOF 24165 24166fi 24167 24168done 24169 24170for ac_header in sys/cdefs.h 24171do : 24172 ac_fn_c_check_header_mongrel "$LINENO" "sys/cdefs.h" "ac_cv_header_sys_cdefs_h" "$ac_includes_default" 24173if test "x$ac_cv_header_sys_cdefs_h" = xyes; then : 24174 cat >>confdefs.h <<_ACEOF 24175#define HAVE_SYS_CDEFS_H 1 24176_ACEOF 24177 24178fi 24179 24180done 24181 24182 24183if test "${enable_portable}" != "no" -a "${enable_staticlink}" != "no"; then : 24184 24185 24186cat >>confdefs.h <<_ACEOF 24187#define PORTABLE 1 24188_ACEOF 24189 24190 PORTABLE=yes 24191 24192 24193 if test "${enable_portable}" = "full"; then : 24194 24195 24196cat >>confdefs.h <<_ACEOF 24197#define PORTABLE_FULL 1 24198_ACEOF 24199 24200 PORTABLE_FULL=yes 24201 24202fi 24203 24204 PREFIXFLAGS="-DPREFIX=donotuse -DLIBDIR=donotuse -DDOCDIR=donotuse -I./$LIB/include -I../../$LIB/include" 24205 24206else 24207 24208 PREFIXFLAGS=" -DLIBDIR=\\\"$libdir\\\" -DPREFIX=\\\"$prefix\\\" -DDOCDIR=\\\"$docdir\\\"" 24209 24210fi 24211 24212CXXFLAGS="$CXXFLAGS $INSANE_CXXFLAGS -D_GNU_SOURCE $PREFIXFLAGS -DDDB_WARN_DEPRECATED=1" 24213CFLAGS="$CFLAGS $INSANE_CFLAGS -D_GNU_SOURCE $PREFIXFLAGS -DDDB_WARN_DEPRECATED=1" 24214 24215if test "${enable_staticlink}" != "no"; then : 24216 24217 HAVE_ZLIB=yes 24218 ZLIB_CFLAGS="-I../../$LIB/include" 24219 ZLIB_LIBS="../../$LIB/lib/libz.a" 24220 24221 24222 24223else 24224 24225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5 24226$as_echo_n "checking for main in -lz... " >&6; } 24227if ${ac_cv_lib_z_main+:} false; then : 24228 $as_echo_n "(cached) " >&6 24229else 24230 ac_check_lib_save_LIBS=$LIBS 24231LIBS="-lz $LIBS" 24232cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24233/* end confdefs.h. */ 24234 24235 24236int 24237main () 24238{ 24239return main (); 24240 ; 24241 return 0; 24242} 24243_ACEOF 24244if ac_fn_c_try_link "$LINENO"; then : 24245 ac_cv_lib_z_main=yes 24246else 24247 ac_cv_lib_z_main=no 24248fi 24249rm -f core conftest.err conftest.$ac_objext \ 24250 conftest$ac_exeext conftest.$ac_ext 24251LIBS=$ac_check_lib_save_LIBS 24252fi 24253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_main" >&5 24254$as_echo "$ac_cv_lib_z_main" >&6; } 24255if test "x$ac_cv_lib_z_main" = xyes; then : 24256 HAVE_ZLIB=yes 24257fi 24258 24259 ZLIB_LIBS="-lz" 24260 24261 24262fi 24263 24264if test "${enable_staticlink}" != "no"; then : 24265 24266 HAVE_ZIP=yes 24267 ZIP_CFLAGS="-I../../$LIB/include" 24268 ZIP_LIBS="../../$LIB/lib/libzip.a ../../$LIB/lib/libz.a" 24269 24270 24271 24272else 24273 24274 24275pkg_failed=no 24276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZIP" >&5 24277$as_echo_n "checking for ZIP... " >&6; } 24278 24279if test -n "$ZIP_CFLAGS"; then 24280 pkg_cv_ZIP_CFLAGS="$ZIP_CFLAGS" 24281 elif test -n "$PKG_CONFIG"; then 24282 if test -n "$PKG_CONFIG" && \ 24283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzip\""; } >&5 24284 ($PKG_CONFIG --exists --print-errors "libzip") 2>&5 24285 ac_status=$? 24286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24287 test $ac_status = 0; }; then 24288 pkg_cv_ZIP_CFLAGS=`$PKG_CONFIG --cflags "libzip" 2>/dev/null` 24289 test "x$?" != "x0" && pkg_failed=yes 24290else 24291 pkg_failed=yes 24292fi 24293 else 24294 pkg_failed=untried 24295fi 24296if test -n "$ZIP_LIBS"; then 24297 pkg_cv_ZIP_LIBS="$ZIP_LIBS" 24298 elif test -n "$PKG_CONFIG"; then 24299 if test -n "$PKG_CONFIG" && \ 24300 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzip\""; } >&5 24301 ($PKG_CONFIG --exists --print-errors "libzip") 2>&5 24302 ac_status=$? 24303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24304 test $ac_status = 0; }; then 24305 pkg_cv_ZIP_LIBS=`$PKG_CONFIG --libs "libzip" 2>/dev/null` 24306 test "x$?" != "x0" && pkg_failed=yes 24307else 24308 pkg_failed=yes 24309fi 24310 else 24311 pkg_failed=untried 24312fi 24313 24314 24315 24316if test $pkg_failed = yes; then 24317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24318$as_echo "no" >&6; } 24319 24320if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24321 _pkg_short_errors_supported=yes 24322else 24323 _pkg_short_errors_supported=no 24324fi 24325 if test $_pkg_short_errors_supported = yes; then 24326 ZIP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzip" 2>&1` 24327 else 24328 ZIP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzip" 2>&1` 24329 fi 24330 # Put the nasty error message in config.log where it belongs 24331 echo "$ZIP_PKG_ERRORS" >&5 24332 24333 HAVE_ZIP=no 24334elif test $pkg_failed = untried; then 24335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24336$as_echo "no" >&6; } 24337 HAVE_ZIP=no 24338else 24339 ZIP_CFLAGS=$pkg_cv_ZIP_CFLAGS 24340 ZIP_LIBS=$pkg_cv_ZIP_LIBS 24341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24342$as_echo "yes" >&6; } 24343 HAVE_ZIP=yes 24344fi 24345 24346fi 24347 24348if test "${enable_gtk3}" = "yes"; then : 24349 24350 if test "${enable_staticlink}" != "no"; then : 24351 24352 GTK3_DEPS_CFLAGS="-I../../${LIB}/gtk-3.0.0/include/gtk-3.0 -I../../${LIB}/gtk-3.0.0/include/pango-1.0 -I../../${LIB}/gtk-3.0.0/include/gio-unix-2.0/ -I../../${LIB}/gtk-3.0.0/include/atk-1.0 -I../../${LIB}/gtk-3.0.0/include/cairo -I../../${LIB}/gtk-3.0.0/include/gdk-pixbuf-2.0 -I../../${LIB}/gtk-3.0.0/include/freetype2 -I../../${LIB}/gtk-3.0.0/include/glib-2.0 -I../../${LIB}/gtk-3.0.0/lib/glib-2.0/include" 24353 GTK3_DEPS_LIBS="-L${GTK_ROOT_300}/lib -lgtk-3 -lpango-1.0 -lcairo -lgobject-2.0 -lgthread-2.0 -lglib-2.0" 24354 24355 24356 HAVE_GTK3=yes 24357 24358else 24359 24360 24361pkg_failed=no 24362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3_DEPS" >&5 24363$as_echo_n "checking for GTK3_DEPS... " >&6; } 24364 24365if test -n "$GTK3_DEPS_CFLAGS"; then 24366 pkg_cv_GTK3_DEPS_CFLAGS="$GTK3_DEPS_CFLAGS" 24367 elif test -n "$PKG_CONFIG"; then 24368 if test -n "$PKG_CONFIG" && \ 24369 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.0 gthread-2.0 glib-2.0\""; } >&5 24370 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0 gthread-2.0 glib-2.0") 2>&5 24371 ac_status=$? 24372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24373 test $ac_status = 0; }; then 24374 pkg_cv_GTK3_DEPS_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.0 gthread-2.0 glib-2.0" 2>/dev/null` 24375 test "x$?" != "x0" && pkg_failed=yes 24376else 24377 pkg_failed=yes 24378fi 24379 else 24380 pkg_failed=untried 24381fi 24382if test -n "$GTK3_DEPS_LIBS"; then 24383 pkg_cv_GTK3_DEPS_LIBS="$GTK3_DEPS_LIBS" 24384 elif test -n "$PKG_CONFIG"; then 24385 if test -n "$PKG_CONFIG" && \ 24386 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.0 gthread-2.0 glib-2.0\""; } >&5 24387 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0 gthread-2.0 glib-2.0") 2>&5 24388 ac_status=$? 24389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24390 test $ac_status = 0; }; then 24391 pkg_cv_GTK3_DEPS_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.0 gthread-2.0 glib-2.0" 2>/dev/null` 24392 test "x$?" != "x0" && pkg_failed=yes 24393else 24394 pkg_failed=yes 24395fi 24396 else 24397 pkg_failed=untried 24398fi 24399 24400 24401 24402if test $pkg_failed = yes; then 24403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24404$as_echo "no" >&6; } 24405 24406if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24407 _pkg_short_errors_supported=yes 24408else 24409 _pkg_short_errors_supported=no 24410fi 24411 if test $_pkg_short_errors_supported = yes; then 24412 GTK3_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.0 gthread-2.0 glib-2.0" 2>&1` 24413 else 24414 GTK3_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.0 gthread-2.0 glib-2.0" 2>&1` 24415 fi 24416 # Put the nasty error message in config.log where it belongs 24417 echo "$GTK3_DEPS_PKG_ERRORS" >&5 24418 24419 HAVE_GTK3=no 24420elif test $pkg_failed = untried; then 24421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24422$as_echo "no" >&6; } 24423 HAVE_GTK3=no 24424else 24425 GTK3_DEPS_CFLAGS=$pkg_cv_GTK3_DEPS_CFLAGS 24426 GTK3_DEPS_LIBS=$pkg_cv_GTK3_DEPS_LIBS 24427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24428$as_echo "yes" >&6; } 24429 HAVE_GTK3=yes 24430fi 24431 24432fi 24433 if test "$OS_OSX" = "yes"; then 24434 24435pkg_failed=no 24436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_MAC" >&5 24437$as_echo_n "checking for GTK_MAC... " >&6; } 24438 24439if test -n "$GTK_MAC_CFLAGS"; then 24440 pkg_cv_GTK_MAC_CFLAGS="$GTK_MAC_CFLAGS" 24441 elif test -n "$PKG_CONFIG"; then 24442 if test -n "$PKG_CONFIG" && \ 24443 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration\""; } >&5 24444 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration") 2>&5 24445 ac_status=$? 24446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24447 test $ac_status = 0; }; then 24448 pkg_cv_GTK_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration" 2>/dev/null` 24449 test "x$?" != "x0" && pkg_failed=yes 24450else 24451 pkg_failed=yes 24452fi 24453 else 24454 pkg_failed=untried 24455fi 24456if test -n "$GTK_MAC_LIBS"; then 24457 pkg_cv_GTK_MAC_LIBS="$GTK_MAC_LIBS" 24458 elif test -n "$PKG_CONFIG"; then 24459 if test -n "$PKG_CONFIG" && \ 24460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration\""; } >&5 24461 ($PKG_CONFIG --exists --print-errors "gtk-mac-integration") 2>&5 24462 ac_status=$? 24463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24464 test $ac_status = 0; }; then 24465 pkg_cv_GTK_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration" 2>/dev/null` 24466 test "x$?" != "x0" && pkg_failed=yes 24467else 24468 pkg_failed=yes 24469fi 24470 else 24471 pkg_failed=untried 24472fi 24473 24474 24475 24476if test $pkg_failed = yes; then 24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24478$as_echo "no" >&6; } 24479 24480if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24481 _pkg_short_errors_supported=yes 24482else 24483 _pkg_short_errors_supported=no 24484fi 24485 if test $_pkg_short_errors_supported = yes; then 24486 GTK_MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration" 2>&1` 24487 else 24488 GTK_MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration" 2>&1` 24489 fi 24490 # Put the nasty error message in config.log where it belongs 24491 echo "$GTK_MAC_PKG_ERRORS" >&5 24492 24493 as_fn_error $? "Package requirements (gtk-mac-integration) were not met: 24494 24495$GTK_MAC_PKG_ERRORS 24496 24497Consider adjusting the PKG_CONFIG_PATH environment variable if you 24498installed software in a non-standard prefix. 24499 24500Alternatively, you may set the environment variables GTK_MAC_CFLAGS 24501and GTK_MAC_LIBS to avoid the need to call pkg-config. 24502See the pkg-config man page for more details." "$LINENO" 5 24503elif test $pkg_failed = untried; then 24504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24505$as_echo "no" >&6; } 24506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 24507$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24508as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 24509is in your PATH or set the PKG_CONFIG environment variable to the full 24510path to pkg-config. 24511 24512Alternatively, you may set the environment variables GTK_MAC_CFLAGS 24513and GTK_MAC_LIBS to avoid the need to call pkg-config. 24514See the pkg-config man page for more details. 24515 24516To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24517See \`config.log' for more details" "$LINENO" 5; } 24518else 24519 GTK_MAC_CFLAGS=$pkg_cv_GTK_MAC_CFLAGS 24520 GTK_MAC_LIBS=$pkg_cv_GTK_MAC_LIBS 24521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24522$as_echo "yes" >&6; } 24523 24524fi 24525 24526 24527 fi 24528 24529 24530else 24531 24532 HAVE_GTK3=no 24533 24534fi 24535 if test "x$OS_OSX" = "xyes"; then 24536 OS_OSX_TRUE= 24537 OS_OSX_FALSE='#' 24538else 24539 OS_OSX_TRUE='#' 24540 OS_OSX_FALSE= 24541fi 24542 24543 24544 24545if test "${enable_gtk2}" = "yes" -o "${enable_gtk3}" = "yes"; then : 24546 24547 if test "${enable_staticlink}" != "no"; then : 24548 24549 JANSSON_CFLAGS="-I../../$LIB/include" 24550 JANSSON_LIBS=-ljansson 24551 24552 24553 24554else 24555 24556 24557pkg_failed=no 24558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JANSSON" >&5 24559$as_echo_n "checking for JANSSON... " >&6; } 24560 24561if test -n "$JANSSON_CFLAGS"; then 24562 pkg_cv_JANSSON_CFLAGS="$JANSSON_CFLAGS" 24563 elif test -n "$PKG_CONFIG"; then 24564 if test -n "$PKG_CONFIG" && \ 24565 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5 24566 ($PKG_CONFIG --exists --print-errors "jansson") 2>&5 24567 ac_status=$? 24568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24569 test $ac_status = 0; }; then 24570 pkg_cv_JANSSON_CFLAGS=`$PKG_CONFIG --cflags "jansson" 2>/dev/null` 24571 test "x$?" != "x0" && pkg_failed=yes 24572else 24573 pkg_failed=yes 24574fi 24575 else 24576 pkg_failed=untried 24577fi 24578if test -n "$JANSSON_LIBS"; then 24579 pkg_cv_JANSSON_LIBS="$JANSSON_LIBS" 24580 elif test -n "$PKG_CONFIG"; then 24581 if test -n "$PKG_CONFIG" && \ 24582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5 24583 ($PKG_CONFIG --exists --print-errors "jansson") 2>&5 24584 ac_status=$? 24585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24586 test $ac_status = 0; }; then 24587 pkg_cv_JANSSON_LIBS=`$PKG_CONFIG --libs "jansson" 2>/dev/null` 24588 test "x$?" != "x0" && pkg_failed=yes 24589else 24590 pkg_failed=yes 24591fi 24592 else 24593 pkg_failed=untried 24594fi 24595 24596 24597 24598if test $pkg_failed = yes; then 24599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24600$as_echo "no" >&6; } 24601 24602if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24603 _pkg_short_errors_supported=yes 24604else 24605 _pkg_short_errors_supported=no 24606fi 24607 if test $_pkg_short_errors_supported = yes; then 24608 JANSSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jansson" 2>&1` 24609 else 24610 JANSSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jansson" 2>&1` 24611 fi 24612 # Put the nasty error message in config.log where it belongs 24613 echo "$JANSSON_PKG_ERRORS" >&5 24614 24615 as_fn_error $? "Package requirements (jansson) were not met: 24616 24617$JANSSON_PKG_ERRORS 24618 24619Consider adjusting the PKG_CONFIG_PATH environment variable if you 24620installed software in a non-standard prefix. 24621 24622Alternatively, you may set the environment variables JANSSON_CFLAGS 24623and JANSSON_LIBS to avoid the need to call pkg-config. 24624See the pkg-config man page for more details." "$LINENO" 5 24625elif test $pkg_failed = untried; then 24626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24627$as_echo "no" >&6; } 24628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 24629$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24630as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 24631is in your PATH or set the PKG_CONFIG environment variable to the full 24632path to pkg-config. 24633 24634Alternatively, you may set the environment variables JANSSON_CFLAGS 24635and JANSSON_LIBS to avoid the need to call pkg-config. 24636See the pkg-config man page for more details. 24637 24638To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24639See \`config.log' for more details" "$LINENO" 5; } 24640else 24641 JANSSON_CFLAGS=$pkg_cv_JANSSON_CFLAGS 24642 JANSSON_LIBS=$pkg_cv_JANSSON_LIBS 24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24644$as_echo "yes" >&6; } 24645 24646fi 24647 24648fi 24649 24650fi 24651 24652if test "${enable_gtk2}" = "yes"; then : 24653 24654 if test "${enable_staticlink}" != "no"; then : 24655 24656 GTK2_DEPS_CFLAGS="-I${GTK_ROOT_216}/include/gtk-2.0 -I${GTK_ROOT_216}/lib/gtk-2.0/include -I${GTK_ROOT_216}/include/atk-1.0 -I${GTK_ROOT_216}/include/cairo -I${GTK_ROOT_216}/include/pango-1.0 -I${GTK_ROOT_216}/include -I${GTK_ROOT_216}/include/glib-2.0 -I${GTK_ROOT_216}/lib/glib-2.0/include" 24657 GTK2_DEPS_LIBS="-L${GTK_ROOT_216}/lib -lgtk-x11-2.0 -lpango-1.0 -lcairo -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0" 24658 24659 24660 HAVE_GTK2=yes 24661 24662else 24663 24664 24665pkg_failed=no 24666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2_DEPS" >&5 24667$as_echo_n "checking for GTK2_DEPS... " >&6; } 24668 24669if test -n "$GTK2_DEPS_CFLAGS"; then 24670 pkg_cv_GTK2_DEPS_CFLAGS="$GTK2_DEPS_CFLAGS" 24671 elif test -n "$PKG_CONFIG"; then 24672 if test -n "$PKG_CONFIG" && \ 24673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12 gthread-2.0 glib-2.0\""; } >&5 24674 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12 gthread-2.0 glib-2.0") 2>&5 24675 ac_status=$? 24676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24677 test $ac_status = 0; }; then 24678 pkg_cv_GTK2_DEPS_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.12 gthread-2.0 glib-2.0" 2>/dev/null` 24679 test "x$?" != "x0" && pkg_failed=yes 24680else 24681 pkg_failed=yes 24682fi 24683 else 24684 pkg_failed=untried 24685fi 24686if test -n "$GTK2_DEPS_LIBS"; then 24687 pkg_cv_GTK2_DEPS_LIBS="$GTK2_DEPS_LIBS" 24688 elif test -n "$PKG_CONFIG"; then 24689 if test -n "$PKG_CONFIG" && \ 24690 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12 gthread-2.0 glib-2.0\""; } >&5 24691 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12 gthread-2.0 glib-2.0") 2>&5 24692 ac_status=$? 24693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24694 test $ac_status = 0; }; then 24695 pkg_cv_GTK2_DEPS_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.12 gthread-2.0 glib-2.0" 2>/dev/null` 24696 test "x$?" != "x0" && pkg_failed=yes 24697else 24698 pkg_failed=yes 24699fi 24700 else 24701 pkg_failed=untried 24702fi 24703 24704 24705 24706if test $pkg_failed = yes; then 24707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24708$as_echo "no" >&6; } 24709 24710if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24711 _pkg_short_errors_supported=yes 24712else 24713 _pkg_short_errors_supported=no 24714fi 24715 if test $_pkg_short_errors_supported = yes; then 24716 GTK2_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.12 gthread-2.0 glib-2.0" 2>&1` 24717 else 24718 GTK2_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.12 gthread-2.0 glib-2.0" 2>&1` 24719 fi 24720 # Put the nasty error message in config.log where it belongs 24721 echo "$GTK2_DEPS_PKG_ERRORS" >&5 24722 24723 HAVE_GTK2=no 24724elif test $pkg_failed = untried; then 24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24726$as_echo "no" >&6; } 24727 HAVE_GTK2=no 24728else 24729 GTK2_DEPS_CFLAGS=$pkg_cv_GTK2_DEPS_CFLAGS 24730 GTK2_DEPS_LIBS=$pkg_cv_GTK2_DEPS_LIBS 24731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24732$as_echo "yes" >&6; } 24733 HAVE_GTK2=yes 24734fi 24735 24736fi 24737 24738else 24739 24740 HAVE_GTK2=no 24741 24742fi 24743 24744if test "${enable_alsa}" != "no"; then : 24745 24746 if test "${enable_staticlink}" != "no"; then : 24747 24748 HAVE_ALSA=yes 24749 ALSA_DEPS_CFLAGS="-I../../$LIB/include" 24750 ALSA_DEPS_LIBS="-lasound" 24751 24752 24753 24754else 24755 24756 24757pkg_failed=no 24758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA_DEPS" >&5 24759$as_echo_n "checking for ALSA_DEPS... " >&6; } 24760 24761if test -n "$ALSA_DEPS_CFLAGS"; then 24762 pkg_cv_ALSA_DEPS_CFLAGS="$ALSA_DEPS_CFLAGS" 24763 elif test -n "$PKG_CONFIG"; then 24764 if test -n "$PKG_CONFIG" && \ 24765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5 24766 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5 24767 ac_status=$? 24768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24769 test $ac_status = 0; }; then 24770 pkg_cv_ALSA_DEPS_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null` 24771 test "x$?" != "x0" && pkg_failed=yes 24772else 24773 pkg_failed=yes 24774fi 24775 else 24776 pkg_failed=untried 24777fi 24778if test -n "$ALSA_DEPS_LIBS"; then 24779 pkg_cv_ALSA_DEPS_LIBS="$ALSA_DEPS_LIBS" 24780 elif test -n "$PKG_CONFIG"; then 24781 if test -n "$PKG_CONFIG" && \ 24782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5 24783 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5 24784 ac_status=$? 24785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24786 test $ac_status = 0; }; then 24787 pkg_cv_ALSA_DEPS_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null` 24788 test "x$?" != "x0" && pkg_failed=yes 24789else 24790 pkg_failed=yes 24791fi 24792 else 24793 pkg_failed=untried 24794fi 24795 24796 24797 24798if test $pkg_failed = yes; then 24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24800$as_echo "no" >&6; } 24801 24802if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24803 _pkg_short_errors_supported=yes 24804else 24805 _pkg_short_errors_supported=no 24806fi 24807 if test $_pkg_short_errors_supported = yes; then 24808 ALSA_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa" 2>&1` 24809 else 24810 ALSA_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa" 2>&1` 24811 fi 24812 # Put the nasty error message in config.log where it belongs 24813 echo "$ALSA_DEPS_PKG_ERRORS" >&5 24814 24815 HAVE_ALSA=no 24816elif test $pkg_failed = untried; then 24817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24818$as_echo "no" >&6; } 24819 HAVE_ALSA=no 24820else 24821 ALSA_DEPS_CFLAGS=$pkg_cv_ALSA_DEPS_CFLAGS 24822 ALSA_DEPS_LIBS=$pkg_cv_ALSA_DEPS_LIBS 24823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24824$as_echo "yes" >&6; } 24825 HAVE_ALSA=yes 24826fi 24827 24828fi 24829 24830fi 24831 24832ac_fn_c_check_header_mongrel "$LINENO" "CoreAudio/AudioHardware.h" "ac_cv_header_CoreAudio_AudioHardware_h" "$ac_includes_default" 24833if test "x$ac_cv_header_CoreAudio_AudioHardware_h" = xyes; then : 24834 found_coreaudio_h=yes 24835else 24836 found_coreaudio_h=no 24837fi 24838 24839 24840 24841if test "${enable_coreaudio}" != "no" -a "${found_coreaudio_h}" != "no"; then : 24842 24843 24844$as_echo "#define HAVE_COREAUDIO 1" >>confdefs.h 24845 24846 HAVE_COREAUDIO=yes 24847 COREAUDIO_LIBS="-Wl,-framework,CoreAudio -Wl,-framework,AudioUnit" 24848 24849fi 24850 24851 24852 24853if test "${enable_ffmpeg}" != "no"; then : 24854 24855 if test "${enable_staticlink}" != "no"; then : 24856 24857 FFMPEG_DEPS_CFLAGS="-I../../$LIB/include" 24858 FFMPEG_DEPS_LIBS="../../$LIB/lib/libavcodec.a -lpthread ../../$LIB/lib/libavformat.a ../../$LIB/lib/libavcodec.a ../../$LIB/lib/libavutil.a -lm ../../$LIB/lib/libz.a ../../$LIB/lib/libopencore-amrnb.a ../../$LIB/lib/libopencore-amrwb.a ../../$LIB/lib/libopus.a" 24859 24860 24861 HAVE_FFMPEG=yes 24862 24863else 24864 24865 24866pkg_failed=no 24867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFMPEG_DEPS" >&5 24868$as_echo_n "checking for FFMPEG_DEPS... " >&6; } 24869 24870if test -n "$FFMPEG_DEPS_CFLAGS"; then 24871 pkg_cv_FFMPEG_DEPS_CFLAGS="$FFMPEG_DEPS_CFLAGS" 24872 elif test -n "$PKG_CONFIG"; then 24873 if test -n "$PKG_CONFIG" && \ 24874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec >= 51.0.0 libavutil libavformat >= 52.0.0\""; } >&5 24875 ($PKG_CONFIG --exists --print-errors "libavcodec >= 51.0.0 libavutil libavformat >= 52.0.0") 2>&5 24876 ac_status=$? 24877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24878 test $ac_status = 0; }; then 24879 pkg_cv_FFMPEG_DEPS_CFLAGS=`$PKG_CONFIG --cflags "libavcodec >= 51.0.0 libavutil libavformat >= 52.0.0" 2>/dev/null` 24880 test "x$?" != "x0" && pkg_failed=yes 24881else 24882 pkg_failed=yes 24883fi 24884 else 24885 pkg_failed=untried 24886fi 24887if test -n "$FFMPEG_DEPS_LIBS"; then 24888 pkg_cv_FFMPEG_DEPS_LIBS="$FFMPEG_DEPS_LIBS" 24889 elif test -n "$PKG_CONFIG"; then 24890 if test -n "$PKG_CONFIG" && \ 24891 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec >= 51.0.0 libavutil libavformat >= 52.0.0\""; } >&5 24892 ($PKG_CONFIG --exists --print-errors "libavcodec >= 51.0.0 libavutil libavformat >= 52.0.0") 2>&5 24893 ac_status=$? 24894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24895 test $ac_status = 0; }; then 24896 pkg_cv_FFMPEG_DEPS_LIBS=`$PKG_CONFIG --libs "libavcodec >= 51.0.0 libavutil libavformat >= 52.0.0" 2>/dev/null` 24897 test "x$?" != "x0" && pkg_failed=yes 24898else 24899 pkg_failed=yes 24900fi 24901 else 24902 pkg_failed=untried 24903fi 24904 24905 24906 24907if test $pkg_failed = yes; then 24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24909$as_echo "no" >&6; } 24910 24911if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24912 _pkg_short_errors_supported=yes 24913else 24914 _pkg_short_errors_supported=no 24915fi 24916 if test $_pkg_short_errors_supported = yes; then 24917 FFMPEG_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libavcodec >= 51.0.0 libavutil libavformat >= 52.0.0" 2>&1` 24918 else 24919 FFMPEG_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libavcodec >= 51.0.0 libavutil libavformat >= 52.0.0" 2>&1` 24920 fi 24921 # Put the nasty error message in config.log where it belongs 24922 echo "$FFMPEG_DEPS_PKG_ERRORS" >&5 24923 24924 HAVE_FFMPEG=no 24925elif test $pkg_failed = untried; then 24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24927$as_echo "no" >&6; } 24928 HAVE_FFMPEG=no 24929else 24930 FFMPEG_DEPS_CFLAGS=$pkg_cv_FFMPEG_DEPS_CFLAGS 24931 FFMPEG_DEPS_LIBS=$pkg_cv_FFMPEG_DEPS_LIBS 24932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24933$as_echo "yes" >&6; } 24934 HAVE_FFMPEG=yes 24935fi 24936 24937fi 24938 24939fi 24940 24941if test "${enable_staticlink}" != "no"; then : 24942 24943 HAVE_DBUS=yes 24944 DBUS_DEPS_LIBS="../../$LIB/lib/libdbus-1.a ../../$LIB/lib/libexpat.a -lrt" 24945 DBUS_DEPS_CFLAGS="-I../../$LIB/include/dbus-1" 24946 24947 24948else 24949 24950 24951pkg_failed=no 24952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_DEPS" >&5 24953$as_echo_n "checking for DBUS_DEPS... " >&6; } 24954 24955if test -n "$DBUS_DEPS_CFLAGS"; then 24956 pkg_cv_DBUS_DEPS_CFLAGS="$DBUS_DEPS_CFLAGS" 24957 elif test -n "$PKG_CONFIG"; then 24958 if test -n "$PKG_CONFIG" && \ 24959 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5 24960 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 24961 ac_status=$? 24962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24963 test $ac_status = 0; }; then 24964 pkg_cv_DBUS_DEPS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null` 24965 test "x$?" != "x0" && pkg_failed=yes 24966else 24967 pkg_failed=yes 24968fi 24969 else 24970 pkg_failed=untried 24971fi 24972if test -n "$DBUS_DEPS_LIBS"; then 24973 pkg_cv_DBUS_DEPS_LIBS="$DBUS_DEPS_LIBS" 24974 elif test -n "$PKG_CONFIG"; then 24975 if test -n "$PKG_CONFIG" && \ 24976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5 24977 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 24978 ac_status=$? 24979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24980 test $ac_status = 0; }; then 24981 pkg_cv_DBUS_DEPS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null` 24982 test "x$?" != "x0" && pkg_failed=yes 24983else 24984 pkg_failed=yes 24985fi 24986 else 24987 pkg_failed=untried 24988fi 24989 24990 24991 24992if test $pkg_failed = yes; then 24993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24994$as_echo "no" >&6; } 24995 24996if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24997 _pkg_short_errors_supported=yes 24998else 24999 _pkg_short_errors_supported=no 25000fi 25001 if test $_pkg_short_errors_supported = yes; then 25002 DBUS_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1` 25003 else 25004 DBUS_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1` 25005 fi 25006 # Put the nasty error message in config.log where it belongs 25007 echo "$DBUS_DEPS_PKG_ERRORS" >&5 25008 25009 HAVE_DBUS=no 25010elif test $pkg_failed = untried; then 25011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25012$as_echo "no" >&6; } 25013 HAVE_DBUS=no 25014else 25015 DBUS_DEPS_CFLAGS=$pkg_cv_DBUS_DEPS_CFLAGS 25016 DBUS_DEPS_LIBS=$pkg_cv_DBUS_DEPS_LIBS 25017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25018$as_echo "yes" >&6; } 25019 HAVE_DBUS=yes 25020fi 25021 25022fi 25023 25024if test "${enable_pulse}" != "no"; then : 25025 25026 if test "${enable_staticlink}" != "no"; then : 25027 25028 HAVE_PULSE=yes 25029 PULSE_DEPS_LIBS="-lpulse-simple" 25030 PULSE_DEPS_CFLAGS="-I../../$LIB/include/" 25031 25032 25033 25034else 25035 25036 25037pkg_failed=no 25038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE_DEPS" >&5 25039$as_echo_n "checking for PULSE_DEPS... " >&6; } 25040 25041if test -n "$PULSE_DEPS_CFLAGS"; then 25042 pkg_cv_PULSE_DEPS_CFLAGS="$PULSE_DEPS_CFLAGS" 25043 elif test -n "$PKG_CONFIG"; then 25044 if test -n "$PKG_CONFIG" && \ 25045 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\""; } >&5 25046 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5 25047 ac_status=$? 25048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25049 test $ac_status = 0; }; then 25050 pkg_cv_PULSE_DEPS_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null` 25051 test "x$?" != "x0" && pkg_failed=yes 25052else 25053 pkg_failed=yes 25054fi 25055 else 25056 pkg_failed=untried 25057fi 25058if test -n "$PULSE_DEPS_LIBS"; then 25059 pkg_cv_PULSE_DEPS_LIBS="$PULSE_DEPS_LIBS" 25060 elif test -n "$PKG_CONFIG"; then 25061 if test -n "$PKG_CONFIG" && \ 25062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\""; } >&5 25063 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5 25064 ac_status=$? 25065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25066 test $ac_status = 0; }; then 25067 pkg_cv_PULSE_DEPS_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null` 25068 test "x$?" != "x0" && pkg_failed=yes 25069else 25070 pkg_failed=yes 25071fi 25072 else 25073 pkg_failed=untried 25074fi 25075 25076 25077 25078if test $pkg_failed = yes; then 25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25080$as_echo "no" >&6; } 25081 25082if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25083 _pkg_short_errors_supported=yes 25084else 25085 _pkg_short_errors_supported=no 25086fi 25087 if test $_pkg_short_errors_supported = yes; then 25088 PULSE_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpulse-simple" 2>&1` 25089 else 25090 PULSE_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpulse-simple" 2>&1` 25091 fi 25092 # Put the nasty error message in config.log where it belongs 25093 echo "$PULSE_DEPS_PKG_ERRORS" >&5 25094 25095 HAVE_PULSE=no 25096elif test $pkg_failed = untried; then 25097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25098$as_echo "no" >&6; } 25099 HAVE_PULSE=no 25100else 25101 PULSE_DEPS_CFLAGS=$pkg_cv_PULSE_DEPS_CFLAGS 25102 PULSE_DEPS_LIBS=$pkg_cv_PULSE_DEPS_LIBS 25103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25104$as_echo "yes" >&6; } 25105 HAVE_PULSE=yes 25106fi 25107 25108fi 25109 25110fi 25111 25112ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default" 25113if test "x$ac_cv_header_iconv_h" = xyes; then : 25114 25115else 25116 iconv.h not found. 25117fi 25118 25119 25120 25121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liconv" >&5 25122$as_echo_n "checking for main in -liconv... " >&6; } 25123if ${ac_cv_lib_iconv_main+:} false; then : 25124 $as_echo_n "(cached) " >&6 25125else 25126 ac_check_lib_save_LIBS=$LIBS 25127LIBS="-liconv $LIBS" 25128cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25129/* end confdefs.h. */ 25130 25131 25132int 25133main () 25134{ 25135return main (); 25136 ; 25137 return 0; 25138} 25139_ACEOF 25140if ac_fn_c_try_link "$LINENO"; then : 25141 ac_cv_lib_iconv_main=yes 25142else 25143 ac_cv_lib_iconv_main=no 25144fi 25145rm -f core conftest.err conftest.$ac_objext \ 25146 conftest$ac_exeext conftest.$ac_ext 25147LIBS=$ac_check_lib_save_LIBS 25148fi 25149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_main" >&5 25150$as_echo "$ac_cv_lib_iconv_main" >&6; } 25151if test "x$ac_cv_lib_iconv_main" = xyes; then : 25152 have_iconv=yes 25153else 25154 have_iconv=no 25155fi 25156 25157if test "${have_iconv}" = "yes"; then : 25158 25159 ICONV_LIB="-liconv" 25160 25161 25162$as_echo "#define HAVE_LIBICONV 1" >>confdefs.h 25163 25164 25165fi 25166 25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse2" >&5 25168$as_echo_n "checking whether C compiler accepts -msse2... " >&6; } 25169if ${ax_cv_c_flags__msse2+:} false; then : 25170 $as_echo_n "(cached) " >&6 25171else 25172 25173 ax_save_FLAGS=$CFLAGS 25174 CFLAGS="-msse2" 25175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25176/* end confdefs.h. */ 25177#include <xmmintrin.h> 25178int 25179main () 25180{ 25181 25182 ; 25183 return 0; 25184} 25185_ACEOF 25186if ac_fn_c_try_compile "$LINENO"; then : 25187 ax_cv_c_flags__msse2=yes 25188else 25189 ax_cv_c_flags__msse2=no 25190fi 25191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25192 CFLAGS=$ax_save_FLAGS 25193fi 25194 25195eval ax_check_compiler_flags=$ax_cv_c_flags__msse2 25196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5 25197$as_echo "$ax_check_compiler_flags" >&6; } 25198if test "x$ax_check_compiler_flags" = xyes; then 25199 HAVE_SSE2=1 25200else 25201 : 25202fi 25203 25204if test "${HAVE_SSE2}"; then : 25205 25206 25207$as_echo "#define HAVE_SSE2 1" >>confdefs.h 25208 25209 25210fi 25211 25212if test "${enable_staticlink}" != "no"; then : 25213 25214 HAVE_CURL=yes 25215 CURL_LIBS="../../$LIB/lib/libcurl.a -lrt" 25216 CURL_CFLAGS="-I../../$LIB/include" 25217 25218 25219 25220else 25221 25222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5 25223$as_echo_n "checking for main in -lcurl... " >&6; } 25224if ${ac_cv_lib_curl_main+:} false; then : 25225 $as_echo_n "(cached) " >&6 25226else 25227 ac_check_lib_save_LIBS=$LIBS 25228LIBS="-lcurl $LIBS" 25229cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25230/* end confdefs.h. */ 25231 25232 25233int 25234main () 25235{ 25236return main (); 25237 ; 25238 return 0; 25239} 25240_ACEOF 25241if ac_fn_c_try_link "$LINENO"; then : 25242 ac_cv_lib_curl_main=yes 25243else 25244 ac_cv_lib_curl_main=no 25245fi 25246rm -f core conftest.err conftest.$ac_objext \ 25247 conftest$ac_exeext conftest.$ac_ext 25248LIBS=$ac_check_lib_save_LIBS 25249fi 25250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5 25251$as_echo "$ac_cv_lib_curl_main" >&6; } 25252if test "x$ac_cv_lib_curl_main" = xyes; then : 25253 HAVE_CURL=yes 25254fi 25255 25256 CURL_LIBS="-lcurl" 25257 25258 25259fi 25260 25261 25262if test "${enable_mp3}" != "no"; then : 25263 25264 if test "${enable_staticlink}" != "no"; then : 25265 25266 HAVE_MP3=yes 25267 HAVE_LIBMAD=yes 25268 MAD_CFLAGS="-I../../$LIB/include" 25269 MAD_LIBS="../../$LIB/lib/libmad.a" 25270 25271 25272 HAVE_LIBMPG123=yes 25273 MPG123_CFLAGS="-I../../$LIB/include" 25274 MPG123_LIBS="../../$LIB/lib/libmpg123.a" 25275 25276 25277 25278else 25279 25280 if test "${enable_libmad}" != "no"; then : 25281 25282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmad" >&5 25283$as_echo_n "checking for main in -lmad... " >&6; } 25284if ${ac_cv_lib_mad_main+:} false; then : 25285 $as_echo_n "(cached) " >&6 25286else 25287 ac_check_lib_save_LIBS=$LIBS 25288LIBS="-lmad $LIBS" 25289cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25290/* end confdefs.h. */ 25291 25292 25293int 25294main () 25295{ 25296return main (); 25297 ; 25298 return 0; 25299} 25300_ACEOF 25301if ac_fn_c_try_link "$LINENO"; then : 25302 ac_cv_lib_mad_main=yes 25303else 25304 ac_cv_lib_mad_main=no 25305fi 25306rm -f core conftest.err conftest.$ac_objext \ 25307 conftest$ac_exeext conftest.$ac_ext 25308LIBS=$ac_check_lib_save_LIBS 25309fi 25310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mad_main" >&5 25311$as_echo "$ac_cv_lib_mad_main" >&6; } 25312if test "x$ac_cv_lib_mad_main" = xyes; then : 25313 HAVE_LIBMAD=yes 25314fi 25315 25316 25317fi 25318 if test "${enable_libmpg123}" != "no"; then : 25319 25320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmpg123" >&5 25321$as_echo_n "checking for main in -lmpg123... " >&6; } 25322if ${ac_cv_lib_mpg123_main+:} false; then : 25323 $as_echo_n "(cached) " >&6 25324else 25325 ac_check_lib_save_LIBS=$LIBS 25326LIBS="-lmpg123 $LIBS" 25327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25328/* end confdefs.h. */ 25329 25330 25331int 25332main () 25333{ 25334return main (); 25335 ; 25336 return 0; 25337} 25338_ACEOF 25339if ac_fn_c_try_link "$LINENO"; then : 25340 ac_cv_lib_mpg123_main=yes 25341else 25342 ac_cv_lib_mpg123_main=no 25343fi 25344rm -f core conftest.err conftest.$ac_objext \ 25345 conftest$ac_exeext conftest.$ac_ext 25346LIBS=$ac_check_lib_save_LIBS 25347fi 25348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_main" >&5 25349$as_echo "$ac_cv_lib_mpg123_main" >&6; } 25350if test "x$ac_cv_lib_mpg123_main" = xyes; then : 25351 HAVE_LIBMPG123=yes 25352fi 25353 25354 25355fi 25356 HAVE_MP3=yes 25357 if test "${HAVE_LIBMAD}" = "yes"; then : 25358 25359 MAD_LIBS="-lmad" 25360 25361 25362fi 25363 if test "${HAVE_LIBMPG123}" = "yes"; then : 25364 25365 MPG123_LIBS="-lmpg123" 25366 25367 25368fi 25369 if test "${HAVE_LIBMAD}" != "yes" -a "${HAVE_LIBMPG123}" != "yes"; then : 25370 25371 echo "MP3 plugin is disabled: can't find either libmad of libmpg123" 25372 HAVE_MP3=no 25373 25374fi 25375 25376fi 25377 25378fi 25379 25380if test "${enable_vorbis}" != "no"; then : 25381 25382 if test "${enable_staticlink}" != "no"; then : 25383 25384 HAVE_VORBISPLUGIN=yes 25385 VORBIS_LIBS="-lvorbisfile -lvorbis -lm -logg" 25386 VORBIS_CFLAGS="-I../../$LIB/include" 25387 25388 25389 25390else 25391 25392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvorbis" >&5 25393$as_echo_n "checking for main in -lvorbis... " >&6; } 25394if ${ac_cv_lib_vorbis_main+:} false; then : 25395 $as_echo_n "(cached) " >&6 25396else 25397 ac_check_lib_save_LIBS=$LIBS 25398LIBS="-lvorbis $LIBS" 25399cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25400/* end confdefs.h. */ 25401 25402 25403int 25404main () 25405{ 25406return main (); 25407 ; 25408 return 0; 25409} 25410_ACEOF 25411if ac_fn_c_try_link "$LINENO"; then : 25412 ac_cv_lib_vorbis_main=yes 25413else 25414 ac_cv_lib_vorbis_main=no 25415fi 25416rm -f core conftest.err conftest.$ac_objext \ 25417 conftest$ac_exeext conftest.$ac_ext 25418LIBS=$ac_check_lib_save_LIBS 25419fi 25420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbis_main" >&5 25421$as_echo "$ac_cv_lib_vorbis_main" >&6; } 25422if test "x$ac_cv_lib_vorbis_main" = xyes; then : 25423 HAVE_VORBIS=yes 25424fi 25425 25426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lvorbisfile" >&5 25427$as_echo_n "checking for main in -lvorbisfile... " >&6; } 25428if ${ac_cv_lib_vorbisfile_main+:} false; then : 25429 $as_echo_n "(cached) " >&6 25430else 25431 ac_check_lib_save_LIBS=$LIBS 25432LIBS="-lvorbisfile $LIBS" 25433cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25434/* end confdefs.h. */ 25435 25436 25437int 25438main () 25439{ 25440return main (); 25441 ; 25442 return 0; 25443} 25444_ACEOF 25445if ac_fn_c_try_link "$LINENO"; then : 25446 ac_cv_lib_vorbisfile_main=yes 25447else 25448 ac_cv_lib_vorbisfile_main=no 25449fi 25450rm -f core conftest.err conftest.$ac_objext \ 25451 conftest$ac_exeext conftest.$ac_ext 25452LIBS=$ac_check_lib_save_LIBS 25453fi 25454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisfile_main" >&5 25455$as_echo "$ac_cv_lib_vorbisfile_main" >&6; } 25456if test "x$ac_cv_lib_vorbisfile_main" = xyes; then : 25457 HAVE_VORBISFILE=yes 25458fi 25459 25460 if test "$HAVE_VORBIS" = "yes" -a "${HAVE_VORBISFILE}" = "yes"; then : 25461 25462 HAVE_VORBISPLUGIN=yes 25463 VORBIS_LIBS="-lvorbis -lvorbisfile" 25464 25465 25466fi 25467 25468fi 25469 25470fi 25471 25472if test "${enable_staticlink}" != "no"; then : 25473 25474 HAVE_OGG=yes 25475 OGG_LIBS="-logg" 25476 OGG_CFLAGS="-I../../$LIB/include" 25477 25478 25479 25480else 25481 25482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -logg" >&5 25483$as_echo_n "checking for main in -logg... " >&6; } 25484if ${ac_cv_lib_ogg_main+:} false; then : 25485 $as_echo_n "(cached) " >&6 25486else 25487 ac_check_lib_save_LIBS=$LIBS 25488LIBS="-logg $LIBS" 25489cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25490/* end confdefs.h. */ 25491 25492 25493int 25494main () 25495{ 25496return main (); 25497 ; 25498 return 0; 25499} 25500_ACEOF 25501if ac_fn_c_try_link "$LINENO"; then : 25502 ac_cv_lib_ogg_main=yes 25503else 25504 ac_cv_lib_ogg_main=no 25505fi 25506rm -f core conftest.err conftest.$ac_objext \ 25507 conftest$ac_exeext conftest.$ac_ext 25508LIBS=$ac_check_lib_save_LIBS 25509fi 25510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ogg_main" >&5 25511$as_echo "$ac_cv_lib_ogg_main" >&6; } 25512if test "x$ac_cv_lib_ogg_main" = xyes; then : 25513 HAVE_OGG=yes 25514fi 25515 25516 if test "$HAVE_OGG" = "yes"; then : 25517 25518 OGG_LIBS="-logg" 25519 25520 25521fi 25522 25523fi 25524 25525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg_stream_flush_fill in -logg" >&5 25526$as_echo_n "checking for ogg_stream_flush_fill in -logg... " >&6; } 25527if ${ac_cv_lib_ogg_ogg_stream_flush_fill+:} false; then : 25528 $as_echo_n "(cached) " >&6 25529else 25530 ac_check_lib_save_LIBS=$LIBS 25531LIBS="-logg $LIBS" 25532cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25533/* end confdefs.h. */ 25534 25535/* Override any GCC internal prototype to avoid an error. 25536 Use char because int might match the return type of a GCC 25537 builtin and then its argument prototype would still apply. */ 25538#ifdef __cplusplus 25539extern "C" 25540#endif 25541char ogg_stream_flush_fill (); 25542int 25543main () 25544{ 25545return ogg_stream_flush_fill (); 25546 ; 25547 return 0; 25548} 25549_ACEOF 25550if ac_fn_c_try_link "$LINENO"; then : 25551 ac_cv_lib_ogg_ogg_stream_flush_fill=yes 25552else 25553 ac_cv_lib_ogg_ogg_stream_flush_fill=no 25554fi 25555rm -f core conftest.err conftest.$ac_objext \ 25556 conftest$ac_exeext conftest.$ac_ext 25557LIBS=$ac_check_lib_save_LIBS 25558fi 25559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ogg_ogg_stream_flush_fill" >&5 25560$as_echo "$ac_cv_lib_ogg_ogg_stream_flush_fill" >&6; } 25561if test "x$ac_cv_lib_ogg_ogg_stream_flush_fill" = xyes; then : 25562 HAVE_OGG_STREAM_FLUSH_FILL=yes 25563fi 25564 25565 25566if test "${enable_flac}" != "no"; then : 25567 25568 if test "${enable_staticlink}" != "no"; then : 25569 25570 HAVE_FLACPLUGIN=yes 25571 FLAC_CFLAGS="-I../../$LIB/include" 25572 FLAC_LIBS="-lFLAC" 25573 25574 25575 25576else 25577 25578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lFLAC" >&5 25579$as_echo_n "checking for main in -lFLAC... " >&6; } 25580if ${ac_cv_lib_FLAC_main+:} false; then : 25581 $as_echo_n "(cached) " >&6 25582else 25583 ac_check_lib_save_LIBS=$LIBS 25584LIBS="-lFLAC $LIBS" 25585cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25586/* end confdefs.h. */ 25587 25588 25589int 25590main () 25591{ 25592return main (); 25593 ; 25594 return 0; 25595} 25596_ACEOF 25597if ac_fn_c_try_link "$LINENO"; then : 25598 ac_cv_lib_FLAC_main=yes 25599else 25600 ac_cv_lib_FLAC_main=no 25601fi 25602rm -f core conftest.err conftest.$ac_objext \ 25603 conftest$ac_exeext conftest.$ac_ext 25604LIBS=$ac_check_lib_save_LIBS 25605fi 25606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_FLAC_main" >&5 25607$as_echo "$ac_cv_lib_FLAC_main" >&6; } 25608if test "x$ac_cv_lib_FLAC_main" = xyes; then : 25609 HAVE_FLAC=yes 25610fi 25611 25612 if test "${HAVE_FLAC}" = "yes"; then : 25613 25614 HAVE_FLACPLUGIN=yes 25615 FLAC_LIBS="-lFLAC" 25616 25617 25618fi 25619 25620fi 25621 25622fi 25623 25624if test "${enable_wavpack}" != "no"; then : 25625 25626 if test "${enable_staticlink}" != "no"; then : 25627 25628 HAVE_WAVPACKPLUGIN=yes 25629 WAVPACK_CFLAGS="-I../../$LIB/include" 25630 WAVPACK_LIBS="../../$LIB/lib/libwavpack.a" 25631 25632 25633 25634else 25635 25636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lwavpack" >&5 25637$as_echo_n "checking for main in -lwavpack... " >&6; } 25638if ${ac_cv_lib_wavpack_main+:} false; then : 25639 $as_echo_n "(cached) " >&6 25640else 25641 ac_check_lib_save_LIBS=$LIBS 25642LIBS="-lwavpack $LIBS" 25643cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25644/* end confdefs.h. */ 25645 25646 25647int 25648main () 25649{ 25650return main (); 25651 ; 25652 return 0; 25653} 25654_ACEOF 25655if ac_fn_c_try_link "$LINENO"; then : 25656 ac_cv_lib_wavpack_main=yes 25657else 25658 ac_cv_lib_wavpack_main=no 25659fi 25660rm -f core conftest.err conftest.$ac_objext \ 25661 conftest$ac_exeext conftest.$ac_ext 25662LIBS=$ac_check_lib_save_LIBS 25663fi 25664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wavpack_main" >&5 25665$as_echo "$ac_cv_lib_wavpack_main" >&6; } 25666if test "x$ac_cv_lib_wavpack_main" = xyes; then : 25667 HAVE_WAVPACK=yes 25668fi 25669 25670 if test "${HAVE_WAVPACK}" = "yes"; then : 25671 25672 HAVE_WAVPACKPLUGIN=yes 25673 WAVPACK_LIBS="-lwavpack" 25674 25675 25676fi 25677 25678fi 25679 25680fi 25681 25682if test "${enable_sndfile}" != "no"; then : 25683 25684 if test "${enable_staticlink}" != "no"; then : 25685 25686 HAVE_SNDFILEPLUGIN=yes 25687 SNDFILE_CFLAGS="-I../../$LIB/include" 25688 SNDFILE_LIBS="../../$LIB/lib/libsndfile.a" 25689 25690 25691 25692else 25693 25694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsndfile" >&5 25695$as_echo_n "checking for main in -lsndfile... " >&6; } 25696if ${ac_cv_lib_sndfile_main+:} false; then : 25697 $as_echo_n "(cached) " >&6 25698else 25699 ac_check_lib_save_LIBS=$LIBS 25700LIBS="-lsndfile $LIBS" 25701cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25702/* end confdefs.h. */ 25703 25704 25705int 25706main () 25707{ 25708return main (); 25709 ; 25710 return 0; 25711} 25712_ACEOF 25713if ac_fn_c_try_link "$LINENO"; then : 25714 ac_cv_lib_sndfile_main=yes 25715else 25716 ac_cv_lib_sndfile_main=no 25717fi 25718rm -f core conftest.err conftest.$ac_objext \ 25719 conftest$ac_exeext conftest.$ac_ext 25720LIBS=$ac_check_lib_save_LIBS 25721fi 25722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sndfile_main" >&5 25723$as_echo "$ac_cv_lib_sndfile_main" >&6; } 25724if test "x$ac_cv_lib_sndfile_main" = xyes; then : 25725 HAVE_SNDFILE=yes 25726fi 25727 25728 if test "${HAVE_SNDFILE}" = "yes"; then : 25729 25730 HAVE_SNDFILEPLUGIN=yes 25731 SNDFILE_LIBS="-lsndfile" 25732 25733 25734fi 25735 25736fi 25737 25738fi 25739 25740if test "${enable_vfs_curl}" != "no"; then : 25741 25742 if test "${HAVE_CURL}" = "yes"; then : 25743 25744 HAVE_VFS_CURL=yes 25745 VFS_CURL_LIBS="$CURL_LIBS" 25746 25747 VFS_CURL_CFLAGS="$CURL_CFLAGS" 25748 25749 25750fi 25751 25752fi 25753 25754if test "${enable_cdda}" != "no"; then : 25755 25756 if test "${enable_staticlink}" != "no"; then : 25757 25758 HAVE_CDDAPLUGIN=yes 25759 CDDA_LIBS="../../$LIB/lib/libcdio.a ../../$LIB/lib/libcdio_cdda.a ../../$LIB/lib/libcdio_paranoia.a ../../$LIB/lib/libudf.a ../../$LIB/lib/libiso9660.a ../../$LIB/lib/libcddb.a" 25760 CDDA_CFLAGS="-I../../$LIB/include -DUSE_PARANOIA -DUSE_PARANOIA_10_2" 25761 25762 25763 25764else 25765 25766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcdio" >&5 25767$as_echo_n "checking for main in -lcdio... " >&6; } 25768if ${ac_cv_lib_cdio_main+:} false; then : 25769 $as_echo_n "(cached) " >&6 25770else 25771 ac_check_lib_save_LIBS=$LIBS 25772LIBS="-lcdio $LIBS" 25773cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25774/* end confdefs.h. */ 25775 25776 25777int 25778main () 25779{ 25780return main (); 25781 ; 25782 return 0; 25783} 25784_ACEOF 25785if ac_fn_c_try_link "$LINENO"; then : 25786 ac_cv_lib_cdio_main=yes 25787else 25788 ac_cv_lib_cdio_main=no 25789fi 25790rm -f core conftest.err conftest.$ac_objext \ 25791 conftest$ac_exeext conftest.$ac_ext 25792LIBS=$ac_check_lib_save_LIBS 25793fi 25794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdio_main" >&5 25795$as_echo "$ac_cv_lib_cdio_main" >&6; } 25796if test "x$ac_cv_lib_cdio_main" = xyes; then : 25797 HAVE_CDIO=yes 25798fi 25799 25800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcddb" >&5 25801$as_echo_n "checking for main in -lcddb... " >&6; } 25802if ${ac_cv_lib_cddb_main+:} false; then : 25803 $as_echo_n "(cached) " >&6 25804else 25805 ac_check_lib_save_LIBS=$LIBS 25806LIBS="-lcddb $LIBS" 25807cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25808/* end confdefs.h. */ 25809 25810 25811int 25812main () 25813{ 25814return main (); 25815 ; 25816 return 0; 25817} 25818_ACEOF 25819if ac_fn_c_try_link "$LINENO"; then : 25820 ac_cv_lib_cddb_main=yes 25821else 25822 ac_cv_lib_cddb_main=no 25823fi 25824rm -f core conftest.err conftest.$ac_objext \ 25825 conftest$ac_exeext conftest.$ac_ext 25826LIBS=$ac_check_lib_save_LIBS 25827fi 25828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cddb_main" >&5 25829$as_echo "$ac_cv_lib_cddb_main" >&6; } 25830if test "x$ac_cv_lib_cddb_main" = xyes; then : 25831 HAVE_CDDB=yes 25832fi 25833 25834 if test "${HAVE_CDIO}" = "yes" -a "${HAVE_CDDB}" = "yes"; then : 25835 25836 HAVE_CDDAPLUGIN=yes 25837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcdda_interface" >&5 25838$as_echo_n "checking for main in -lcdda_interface... " >&6; } 25839if ${ac_cv_lib_cdda_interface_main+:} false; then : 25840 $as_echo_n "(cached) " >&6 25841else 25842 ac_check_lib_save_LIBS=$LIBS 25843LIBS="-lcdda_interface $LIBS" 25844cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25845/* end confdefs.h. */ 25846 25847 25848int 25849main () 25850{ 25851return main (); 25852 ; 25853 return 0; 25854} 25855_ACEOF 25856if ac_fn_c_try_link "$LINENO"; then : 25857 ac_cv_lib_cdda_interface_main=yes 25858else 25859 ac_cv_lib_cdda_interface_main=no 25860fi 25861rm -f core conftest.err conftest.$ac_objext \ 25862 conftest$ac_exeext conftest.$ac_ext 25863LIBS=$ac_check_lib_save_LIBS 25864fi 25865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_main" >&5 25866$as_echo "$ac_cv_lib_cdda_interface_main" >&6; } 25867if test "x$ac_cv_lib_cdda_interface_main" = xyes; then : 25868 HAVE_CDDA_INTERFACE=yes 25869fi 25870 25871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcdda_paranoia" >&5 25872$as_echo_n "checking for main in -lcdda_paranoia... " >&6; } 25873if ${ac_cv_lib_cdda_paranoia_main+:} false; then : 25874 $as_echo_n "(cached) " >&6 25875else 25876 ac_check_lib_save_LIBS=$LIBS 25877LIBS="-lcdda_paranoia $LIBS" 25878cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25879/* end confdefs.h. */ 25880 25881 25882int 25883main () 25884{ 25885return main (); 25886 ; 25887 return 0; 25888} 25889_ACEOF 25890if ac_fn_c_try_link "$LINENO"; then : 25891 ac_cv_lib_cdda_paranoia_main=yes 25892else 25893 ac_cv_lib_cdda_paranoia_main=no 25894fi 25895rm -f core conftest.err conftest.$ac_objext \ 25896 conftest$ac_exeext conftest.$ac_ext 25897LIBS=$ac_check_lib_save_LIBS 25898fi 25899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_paranoia_main" >&5 25900$as_echo "$ac_cv_lib_cdda_paranoia_main" >&6; } 25901if test "x$ac_cv_lib_cdda_paranoia_main" = xyes; then : 25902 HAVE_CDDA_PARANOIA=yes 25903fi 25904 25905 if test "${enable_cdda_paranoia}" != "no" -a "${HAVE_CDDA_INTERFACE}" = "yes" -a "${HAVE_CDDA_PARANOIA}" = "yes"; then : 25906 25907 CDDA_CFLAGS="-DUSE_PARANOIA" 25908 ac_fn_c_check_header_mongrel "$LINENO" "cdda/cdda_interface.h" "ac_cv_header_cdda_cdda_interface_h" "$ac_includes_default" 25909if test "x$ac_cv_header_cdda_cdda_interface_h" = xyes; then : 25910 CDDA_CFLAGS="-DUSE_CDDA_SUBDIR $CDDA_CFLAGS" 25911fi 25912 25913 25914 25915 CDDA_LIBS="-lcdio -lcdda_interface -lcdda_paranoia -lcddb" 25916 25917else 25918 25919 CDDA_LIBS="-lcdio -lcddb" 25920 25921fi 25922 25923 25924fi 25925 25926fi 25927 25928fi 25929 25930if test "${enable_alsa}" != "no" -a "${HAVE_ALSA}" = "yes"; then : 25931 25932 HAVE_ALSAPLUGIN=yes 25933 25934fi 25935 25936if test "${enable_ffmpeg}" != "no"; then : 25937 25938 if test "${enable_staticlink}" = "no"; then : 25939 25940 if test "${HAVE_FFMPEG}" = "yes"; then : 25941 25942 HAVE_FFMPEGPLUGIN=yes 25943 ac_fn_c_check_header_mongrel "$LINENO" "ffmpeg/avformat.h" "ac_cv_header_ffmpeg_avformat_h" "$ac_includes_default" 25944if test "x$ac_cv_header_ffmpeg_avformat_h" = xyes; then : 25945 FFMPEG_DEPS_CFLAGS="$FFMPEG_DEPS_CFLAGS -D FFMPEG_OLD" 25946fi 25947 25948 25949 25950fi 25951 25952else 25953 25954 HAVE_FFMPEGPLUGIN=yes 25955 25956fi 25957 25958fi 25959 25960if test "${enable_hotkeys}" != "no"; then : 25961 25962 if test "${enable_staticlink}" != "no"; then : 25963 25964 HOTKEYS_CFLAGS="-I../../$LIB/include" 25965 HOTKEYS_LIBS="-lX11" 25966 25967 25968 HAVE_HOTKEYS=yes 25969 25970else 25971 25972 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default" 25973if test "x$ac_cv_header_X11_Xlib_h" = xyes; then : 25974 HAVE_XLIB_H=yes 25975fi 25976 25977 25978 if test "${HAVE_XLIB_H}" = "yes"; then : 25979 25980 if test "${HAVE_XLIB_H}" = "yes"; then : 25981 25982 HOTKEYS_LIBS="-lX11" 25983 25984 HAVE_HOTKEYS=yes 25985 25986fi 25987 25988fi 25989 25990fi 25991 25992fi 25993 25994if test "${OS_OSX}" = "yes"; then : 25995 25996 HAVE_HOTKEYS=yes 25997 25998fi 25999 26000if test "${enable_oss}" != "no"; then : 26001 26002 have_oss=no 26003 26004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSS include dir" >&5 26005$as_echo_n "checking for OSS include dir... " >&6; } 26006 OSS_CFLAGS="" 26007 if test -f "/etc/oss.conf"; then : 26008 26009 for i in `cat /etc/oss.conf`; do 26010 t=`echo $i | sed -e 's/OSSLIBDIR=//'` 26011 if test "${i}" != "${t}"; then : 26012 26013 if test -f "${t}/include/sys/soundcard.h" -o -f "${i}/include/soundcard.h"; then : 26014 26015 OSS_CFLAGS="-I$t/include/sys" 26016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSS_CFLAGS" >&5 26017$as_echo "$OSS_CFLAGS" >&6; } 26018 have_oss=yes 26019 26020fi 26021 26022fi 26023 done 26024 26025else 26026 26027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 26028$as_echo "not found" >&6; } 26029 26030fi 26031 26032 if test "${have_oss}" != "yes"; then : 26033 26034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/soundcard.h" >&5 26035$as_echo_n "checking for sys/soundcard.h... " >&6; } 26036 for ac_header in sys/soundcard.h 26037do : 26038 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 26039if test "x$ac_cv_header_sys_soundcard_h" = xyes; then : 26040 cat >>confdefs.h <<_ACEOF 26041#define HAVE_SYS_SOUNDCARD_H 1 26042_ACEOF 26043 26044fi 26045 26046done 26047 26048 if test "${ac_cv_header_sys_soundcard_h}" = "yes"; then : 26049 26050 have_oss=yes 26051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 26052$as_echo "found" >&6; } 26053 26054else 26055 26056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 26057$as_echo "not found" >&6; } 26058 26059fi 26060 26061fi 26062 26063 26064 if test "${have_oss}" = "yes"; then : 26065 26066 HAVE_OSS=yes 26067 26068 26069fi 26070 26071fi 26072 26073if test "${enable_pulseaudio}" != "no"; then : 26074 26075 if test "${HAVE_PULSE}" = "yes"; then : 26076 26077 HAVE_PULSEPLUGIN=yes 26078 26079fi 26080 26081fi 26082 26083if test "${enable_lfm}" != "no"; then : 26084 26085 if test "${HAVE_CURL}" = "yes" -a "${enable_lastfm}" != "no"; then : 26086 26087 HAVE_LASTFM=yes 26088 26089fi 26090 26091fi 26092 26093if test "${enable_shellexec}" != "no"; then : 26094 26095 HAVE_SHELLEXEC=yes 26096 26097fi 26098 26099if test "${enable_shellexecui}" != "no" -a "${enable_shellexec}" != "no"; then : 26100 26101 if test "${HAVE_GTK2}" = "yes" -o "${HAVE_GTK3}" = "yes"; then : 26102 26103 HAVE_SHELLEXECUI=yes 26104 26105fi 26106 26107fi 26108 26109if test "${enable_artwork}" != "no"; then : 26110 26111 if test "${enable_staticlink}" != "no"; then : 26112 26113 HAVE_JPEG=yes 26114 JPEG_DEPS_LIBS="../../$LIB/lib/libjpeg.a" 26115 JPEG_DEPS_CFLAGS="-I../../$LIB/include" 26116 26117 26118 HAVE_PNG=yes 26119 PNG_DEPS_CFLAGS="-I../../$LIB/include/libpng15" 26120 PNG_DEPS_LIBS="../../$LIB/lib/libpng.a ../../$LIB/lib/libz.a" 26121 26122 26123 HAVE_IMLIB2=no 26124 26125else 26126 26127 if test "${enable_artwork_imlib2}" != "no"; then : 26128 26129 26130pkg_failed=no 26131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMLIB2_DEPS" >&5 26132$as_echo_n "checking for IMLIB2_DEPS... " >&6; } 26133 26134if test -n "$IMLIB2_DEPS_CFLAGS"; then 26135 pkg_cv_IMLIB2_DEPS_CFLAGS="$IMLIB2_DEPS_CFLAGS" 26136 elif test -n "$PKG_CONFIG"; then 26137 if test -n "$PKG_CONFIG" && \ 26138 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib2\""; } >&5 26139 ($PKG_CONFIG --exists --print-errors "imlib2") 2>&5 26140 ac_status=$? 26141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26142 test $ac_status = 0; }; then 26143 pkg_cv_IMLIB2_DEPS_CFLAGS=`$PKG_CONFIG --cflags "imlib2" 2>/dev/null` 26144 test "x$?" != "x0" && pkg_failed=yes 26145else 26146 pkg_failed=yes 26147fi 26148 else 26149 pkg_failed=untried 26150fi 26151if test -n "$IMLIB2_DEPS_LIBS"; then 26152 pkg_cv_IMLIB2_DEPS_LIBS="$IMLIB2_DEPS_LIBS" 26153 elif test -n "$PKG_CONFIG"; then 26154 if test -n "$PKG_CONFIG" && \ 26155 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib2\""; } >&5 26156 ($PKG_CONFIG --exists --print-errors "imlib2") 2>&5 26157 ac_status=$? 26158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26159 test $ac_status = 0; }; then 26160 pkg_cv_IMLIB2_DEPS_LIBS=`$PKG_CONFIG --libs "imlib2" 2>/dev/null` 26161 test "x$?" != "x0" && pkg_failed=yes 26162else 26163 pkg_failed=yes 26164fi 26165 else 26166 pkg_failed=untried 26167fi 26168 26169 26170 26171if test $pkg_failed = yes; then 26172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26173$as_echo "no" >&6; } 26174 26175if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26176 _pkg_short_errors_supported=yes 26177else 26178 _pkg_short_errors_supported=no 26179fi 26180 if test $_pkg_short_errors_supported = yes; then 26181 IMLIB2_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "imlib2" 2>&1` 26182 else 26183 IMLIB2_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "imlib2" 2>&1` 26184 fi 26185 # Put the nasty error message in config.log where it belongs 26186 echo "$IMLIB2_DEPS_PKG_ERRORS" >&5 26187 26188 HAVE_IMLIB2=no 26189elif test $pkg_failed = untried; then 26190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26191$as_echo "no" >&6; } 26192 HAVE_IMLIB2=no 26193else 26194 IMLIB2_DEPS_CFLAGS=$pkg_cv_IMLIB2_DEPS_CFLAGS 26195 IMLIB2_DEPS_LIBS=$pkg_cv_IMLIB2_DEPS_LIBS 26196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26197$as_echo "yes" >&6; } 26198 HAVE_IMLIB2=yes 26199fi 26200 26201fi 26202 26203 if test "${enable_artwork_imlib2}" = "no" -o "${HAVE_IMLIB2}" = "no"; then : 26204 26205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljpeg" >&5 26206$as_echo_n "checking for main in -ljpeg... " >&6; } 26207if ${ac_cv_lib_jpeg_main+:} false; then : 26208 $as_echo_n "(cached) " >&6 26209else 26210 ac_check_lib_save_LIBS=$LIBS 26211LIBS="-ljpeg $LIBS" 26212cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26213/* end confdefs.h. */ 26214 26215 26216int 26217main () 26218{ 26219return main (); 26220 ; 26221 return 0; 26222} 26223_ACEOF 26224if ac_fn_c_try_link "$LINENO"; then : 26225 ac_cv_lib_jpeg_main=yes 26226else 26227 ac_cv_lib_jpeg_main=no 26228fi 26229rm -f core conftest.err conftest.$ac_objext \ 26230 conftest$ac_exeext conftest.$ac_ext 26231LIBS=$ac_check_lib_save_LIBS 26232fi 26233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_main" >&5 26234$as_echo "$ac_cv_lib_jpeg_main" >&6; } 26235if test "x$ac_cv_lib_jpeg_main" = xyes; then : 26236 HAVE_JPEG=yes;JPEG_DEPS_LIBS="-ljpeg"; 26237fi 26238 26239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpng" >&5 26240$as_echo_n "checking for main in -lpng... " >&6; } 26241if ${ac_cv_lib_png_main+:} false; then : 26242 $as_echo_n "(cached) " >&6 26243else 26244 ac_check_lib_save_LIBS=$LIBS 26245LIBS="-lpng $LIBS" 26246cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26247/* end confdefs.h. */ 26248 26249 26250int 26251main () 26252{ 26253return main (); 26254 ; 26255 return 0; 26256} 26257_ACEOF 26258if ac_fn_c_try_link "$LINENO"; then : 26259 ac_cv_lib_png_main=yes 26260else 26261 ac_cv_lib_png_main=no 26262fi 26263rm -f core conftest.err conftest.$ac_objext \ 26264 conftest$ac_exeext conftest.$ac_ext 26265LIBS=$ac_check_lib_save_LIBS 26266fi 26267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_main" >&5 26268$as_echo "$ac_cv_lib_png_main" >&6; } 26269if test "x$ac_cv_lib_png_main" = xyes; then : 26270 HAVE_PNG=yes;PNG_DEPS_LIBS="-lpng -lz"; 26271fi 26272 26273 26274fi 26275 26276fi 26277 26278 if test "${enable_artwork_network}" = "yes"; then : 26279 26280 ARTWORK_USE_VFS_CURL=yes 26281 26282fi 26283 26284 if test "${HAVE_VFS_CURL}" = "yes" -o "${enable_artwork_network}" = "no" ; then : 26285 26286 if test "${HAVE_JPEG}" = "yes" -o "${HAVE_IMLIB2}" = "yes"; then : 26287 26288 HAVE_ARTWORK=yes 26289 26290fi 26291 26292fi 26293 26294fi 26295 26296if test "${enable_adplug}" != "no"; then : 26297 26298 HAVE_ADPLUG=yes 26299 26300fi 26301 26302if test "${enable_ffap}" != "no"; then : 26303 26304 if test "${HAVE_YASM}" = "yes" -o "${APE_USE_YASM}" != "yes"; then : 26305 26306 HAVE_FFAP=yes 26307 26308fi 26309 26310fi 26311 26312if test "${enable_sid}" != "no"; then : 26313 26314 HAVE_SID=yes 26315 26316fi 26317 26318if test "${enable_nullout}" != "no"; then : 26319 26320 HAVE_NULLOUT=yes 26321 26322fi 26323 26324if test "${enable_src}" != "no"; then : 26325 26326 if test "${enable_staticlink}" != "no"; then : 26327 26328 LIBSAMPLERATE_DEPS_CFLAGS="-I../../$LIB/include" 26329 LIBSAMPLERATE_DEPS_LIBS="../../$LIB/lib/libsamplerate.a -lpthread ${DL_LIBS}" 26330 26331 26332 HAVE_DSP_SRC=yes 26333 26334else 26335 26336 26337pkg_failed=no 26338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSAMPLERATE_DEPS" >&5 26339$as_echo_n "checking for LIBSAMPLERATE_DEPS... " >&6; } 26340 26341if test -n "$LIBSAMPLERATE_DEPS_CFLAGS"; then 26342 pkg_cv_LIBSAMPLERATE_DEPS_CFLAGS="$LIBSAMPLERATE_DEPS_CFLAGS" 26343 elif test -n "$PKG_CONFIG"; then 26344 if test -n "$PKG_CONFIG" && \ 26345 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 26346 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5 26347 ac_status=$? 26348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26349 test $ac_status = 0; }; then 26350 pkg_cv_LIBSAMPLERATE_DEPS_CFLAGS=`$PKG_CONFIG --cflags "samplerate" 2>/dev/null` 26351 test "x$?" != "x0" && pkg_failed=yes 26352else 26353 pkg_failed=yes 26354fi 26355 else 26356 pkg_failed=untried 26357fi 26358if test -n "$LIBSAMPLERATE_DEPS_LIBS"; then 26359 pkg_cv_LIBSAMPLERATE_DEPS_LIBS="$LIBSAMPLERATE_DEPS_LIBS" 26360 elif test -n "$PKG_CONFIG"; then 26361 if test -n "$PKG_CONFIG" && \ 26362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 26363 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5 26364 ac_status=$? 26365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26366 test $ac_status = 0; }; then 26367 pkg_cv_LIBSAMPLERATE_DEPS_LIBS=`$PKG_CONFIG --libs "samplerate" 2>/dev/null` 26368 test "x$?" != "x0" && pkg_failed=yes 26369else 26370 pkg_failed=yes 26371fi 26372 else 26373 pkg_failed=untried 26374fi 26375 26376 26377 26378if test $pkg_failed = yes; then 26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26380$as_echo "no" >&6; } 26381 26382if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26383 _pkg_short_errors_supported=yes 26384else 26385 _pkg_short_errors_supported=no 26386fi 26387 if test $_pkg_short_errors_supported = yes; then 26388 LIBSAMPLERATE_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "samplerate" 2>&1` 26389 else 26390 LIBSAMPLERATE_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "samplerate" 2>&1` 26391 fi 26392 # Put the nasty error message in config.log where it belongs 26393 echo "$LIBSAMPLERATE_DEPS_PKG_ERRORS" >&5 26394 26395 HAVE_LIBSAMPLERATE=no 26396elif test $pkg_failed = untried; then 26397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26398$as_echo "no" >&6; } 26399 HAVE_LIBSAMPLERATE=no 26400else 26401 LIBSAMPLERATE_DEPS_CFLAGS=$pkg_cv_LIBSAMPLERATE_DEPS_CFLAGS 26402 LIBSAMPLERATE_DEPS_LIBS=$pkg_cv_LIBSAMPLERATE_DEPS_LIBS 26403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26404$as_echo "yes" >&6; } 26405 HAVE_LIBSAMPLERATE=yes 26406fi 26407 if test "${HAVE_LIBSAMPLERATE}" = "yes"; then : 26408 26409 HAVE_DSP_SRC=yes 26410 26411fi 26412 26413fi 26414 26415fi 26416 26417if test "${enable_supereq}" != "no"; then : 26418 26419 HAVE_SUPEREQ=yes 26420 26421fi 26422 26423if test "${enable_vtx}" != "no"; then : 26424 26425 HAVE_VTX=yes 26426 26427fi 26428 26429if test "${enable_gme}" != "no"; then : 26430 26431 HAVE_GME=yes 26432 26433fi 26434 26435if test "${HAVE_DBUS}" = "yes" -a "${enable_notify}" != "no"; then : 26436 26437 HAVE_NOTIFY=yes 26438 NOTIFY_LIBS="$DBUS_DEPS_LIBS" 26439 NOTIFY_CFLAGS="$DBUS_DEPS_CFLAGS" 26440 26441 26442 26443fi 26444 26445if test "${enable_musepack}" != "no"; then : 26446 26447 HAVE_MUSEPACK=yes 26448 26449fi 26450 26451if test "${enable_wildmidi}" != "no"; then : 26452 26453 HAVE_WILDMIDI=yes 26454 26455fi 26456 26457if test "${enable_tta}" != "no"; then : 26458 26459 HAVE_TTA=yes 26460 26461fi 26462 26463if test "${enable_dca}" != "no"; then : 26464 26465 HAVE_DCA=yes 26466 26467fi 26468 26469if test "${enable_aac}" != "no"; then : 26470 26471 if test "${enable_staticlink}" != "no"; then : 26472 26473 FAAD2_CFLAGS="-I../../$LIB/include" 26474 FAAD2_LIBS="../../$LIB/lib/libfaad.a" 26475 26476 26477 HAVE_AAC=yes 26478 26479else 26480 26481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lfaad" >&5 26482$as_echo_n "checking for main in -lfaad... " >&6; } 26483if ${ac_cv_lib_faad_main+:} false; then : 26484 $as_echo_n "(cached) " >&6 26485else 26486 ac_check_lib_save_LIBS=$LIBS 26487LIBS="-lfaad $LIBS" 26488cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26489/* end confdefs.h. */ 26490 26491 26492int 26493main () 26494{ 26495return main (); 26496 ; 26497 return 0; 26498} 26499_ACEOF 26500if ac_fn_c_try_link "$LINENO"; then : 26501 ac_cv_lib_faad_main=yes 26502else 26503 ac_cv_lib_faad_main=no 26504fi 26505rm -f core conftest.err conftest.$ac_objext \ 26506 conftest$ac_exeext conftest.$ac_ext 26507LIBS=$ac_check_lib_save_LIBS 26508fi 26509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faad_main" >&5 26510$as_echo "$ac_cv_lib_faad_main" >&6; } 26511if test "x$ac_cv_lib_faad_main" = xyes; then : 26512 HAVE_FAAD=1 26513fi 26514 26515 if test "${HAVE_FAAD}"; then : 26516 26517 FAAD2_LIBS="-lfaad" 26518 26519 HAVE_AAC=yes 26520 26521fi 26522 26523fi 26524 26525fi 26526 26527if test "${enable_mms}" != "no"; then : 26528 26529 LIBMMS_LIBS="" 26530 26531 HAVE_MMS=yes 26532 26533fi 26534 26535if test "${enable_m3u}" != "no"; then : 26536 26537 HAVE_M3U=yes 26538 26539fi 26540 26541if test "${enable_vfs_zip}" != "no"; then : 26542 26543 if test "${HAVE_ZLIB}" = "yes" -a "${HAVE_ZIP}" = "yes"; then : 26544 26545 HAVE_VFS_ZIP=yes 26546 26547fi 26548 26549fi 26550 26551if test "${enable_converter}" != "no"; then : 26552 26553 if test "${HAVE_GTK2}" = "yes" -o "${HAVE_GTK3}" = "yes"; then : 26554 26555 HAVE_CONVERTER=yes 26556 26557fi 26558 26559fi 26560 26561 26562if test "${enable_dumb}" != "no"; then : 26563 26564 HAVE_DUMB=yes 26565 26566fi 26567 26568if test "${enable_shn}" != "no"; then : 26569 26570 HAVE_SHN=yes 26571 26572fi 26573 26574if test "${enable_psf}" != "no"; then : 26575 26576 HAVE_PSF=yes 26577 26578fi 26579 26580if test "${enable_mono2stereo}" != "no"; then : 26581 26582 HAVE_MONO2STEREO=yes 26583 26584fi 26585 26586if test "${enable_alac}" != "no"; then : 26587 26588 HAVE_ALAC=yes 26589 26590fi 26591 26592if test "${enable_wma}" != "no"; then : 26593 26594 HAVE_WMA=yes 26595 26596fi 26597 26598if test "${enable_pltbrowser}" != "no"; then : 26599 26600 HAVE_PLTBROWSER=yes 26601 26602fi 26603 26604if test "${enable_sc68}" != "no"; then : 26605 26606 HAVE_SC68=yes 26607 26608fi 26609 26610PLUGINS_DIRS="plugins/liboggedit plugins/libmp4ff plugins/libparser plugins/lastfm plugins/mp3 plugins/vorbis plugins/flac plugins/wavpack plugins/sndfile plugins/vfs_curl plugins/cdda plugins/gtkui plugins/alsa plugins/ffmpeg plugins/hotkeys plugins/oss plugins/artwork plugins/adplug plugins/ffap plugins/sid plugins/nullout plugins/supereq plugins/vtx plugins/gme plugins/pulse plugins/notify plugins/musepack plugins/wildmidi plugins/tta plugins/dca plugins/aac plugins/mms plugins/shellexec plugins/shellexecui plugins/dsp_libsrc plugins/m3u plugins/vfs_zip plugins/converter plugins/dumb plugins/shn plugins/ao plugins/mono2stereo plugins/alac plugins/wma plugins/pltbrowser plugins/coreaudio plugins/sc68" 26611 26612 if test "x$APE_USE_YASM" = "xyes"; then 26613 APE_USE_YASM_TRUE= 26614 APE_USE_YASM_FALSE='#' 26615else 26616 APE_USE_YASM_TRUE='#' 26617 APE_USE_YASM_FALSE= 26618fi 26619 26620 if test "x$HAVE_VORBISPLUGIN" = "xyes"; then 26621 HAVE_VORBIS_TRUE= 26622 HAVE_VORBIS_FALSE='#' 26623else 26624 HAVE_VORBIS_TRUE='#' 26625 HAVE_VORBIS_FALSE= 26626fi 26627 26628 if test "x$HAVE_OGG" = "xyes"; then 26629 HAVE_OGG_TRUE= 26630 HAVE_OGG_FALSE='#' 26631else 26632 HAVE_OGG_TRUE='#' 26633 HAVE_OGG_FALSE= 26634fi 26635 26636 if test "x$HAVE_OGG_STREAM_FLUSH_FILL" = "xyes"; then 26637 HAVE_OGG_STREAM_FLUSH_FILL_TRUE= 26638 HAVE_OGG_STREAM_FLUSH_FILL_FALSE='#' 26639else 26640 HAVE_OGG_STREAM_FLUSH_FILL_TRUE='#' 26641 HAVE_OGG_STREAM_FLUSH_FILL_FALSE= 26642fi 26643 26644 if test "x$HAVE_FLACPLUGIN" = "xyes"; then 26645 HAVE_FLAC_TRUE= 26646 HAVE_FLAC_FALSE='#' 26647else 26648 HAVE_FLAC_TRUE='#' 26649 HAVE_FLAC_FALSE= 26650fi 26651 26652 if test "x$HAVE_WAVPACKPLUGIN" = "xyes"; then 26653 HAVE_WAVPACK_TRUE= 26654 HAVE_WAVPACK_FALSE='#' 26655else 26656 HAVE_WAVPACK_TRUE='#' 26657 HAVE_WAVPACK_FALSE= 26658fi 26659 26660 if test "x$HAVE_SNDFILEPLUGIN" = "xyes"; then 26661 HAVE_SNDFILE_TRUE= 26662 HAVE_SNDFILE_FALSE='#' 26663else 26664 HAVE_SNDFILE_TRUE='#' 26665 HAVE_SNDFILE_FALSE= 26666fi 26667 26668 if test "x$HAVE_CDDAPLUGIN" = "xyes"; then 26669 HAVE_CDDA_TRUE= 26670 HAVE_CDDA_FALSE='#' 26671else 26672 HAVE_CDDA_TRUE='#' 26673 HAVE_CDDA_FALSE= 26674fi 26675 26676 if test "x$HAVE_CDDAPLUGIN" = "xyes"; then 26677 USE_CDPARANOIA_TRUE= 26678 USE_CDPARANOIA_FALSE='#' 26679else 26680 USE_CDPARANOIA_TRUE='#' 26681 USE_CDPARANOIA_FALSE= 26682fi 26683 26684 if test "x$HAVE_GTK2" = "xyes"; then 26685 HAVE_GTK2_TRUE= 26686 HAVE_GTK2_FALSE='#' 26687else 26688 HAVE_GTK2_TRUE='#' 26689 HAVE_GTK2_FALSE= 26690fi 26691 26692 if test "x$HAVE_GTK3" = "xyes"; then 26693 HAVE_GTK3_TRUE= 26694 HAVE_GTK3_FALSE='#' 26695else 26696 HAVE_GTK3_TRUE='#' 26697 HAVE_GTK3_FALSE= 26698fi 26699 26700 if test "x$HAVE_ALSAPLUGIN" = "xyes"; then 26701 HAVE_ALSA_TRUE= 26702 HAVE_ALSA_FALSE='#' 26703else 26704 HAVE_ALSA_TRUE='#' 26705 HAVE_ALSA_FALSE= 26706fi 26707 26708 if test "x$HAVE_COREAUDIO" = "xyes"; then 26709 HAVE_COREAUDIO_TRUE= 26710 HAVE_COREAUDIO_FALSE='#' 26711else 26712 HAVE_COREAUDIO_TRUE='#' 26713 HAVE_COREAUDIO_FALSE= 26714fi 26715 26716 if test "x$HAVE_FFMPEGPLUGIN" = "xyes"; then 26717 HAVE_FFMPEG_TRUE= 26718 HAVE_FFMPEG_FALSE='#' 26719else 26720 HAVE_FFMPEG_TRUE='#' 26721 HAVE_FFMPEG_FALSE= 26722fi 26723 26724 if test "x$HAVE_PULSEPLUGIN" = "xyes"; then 26725 HAVE_PULSE_TRUE= 26726 HAVE_PULSE_FALSE='#' 26727else 26728 HAVE_PULSE_TRUE='#' 26729 HAVE_PULSE_FALSE= 26730fi 26731 26732 if test "x$HAVE_ARTWORK" = "xyes"; then 26733 HAVE_ARTWORK_TRUE= 26734 HAVE_ARTWORK_FALSE='#' 26735else 26736 HAVE_ARTWORK_TRUE='#' 26737 HAVE_ARTWORK_FALSE= 26738fi 26739 26740 if test "x$ARTWORK_USE_VFS_CURL" = "xyes"; then 26741 ARTWORK_USE_VFS_CURL_TRUE= 26742 ARTWORK_USE_VFS_CURL_FALSE='#' 26743else 26744 ARTWORK_USE_VFS_CURL_TRUE='#' 26745 ARTWORK_USE_VFS_CURL_FALSE= 26746fi 26747 26748 if test "x$HAVE_ADPLUG" = "xyes"; then 26749 HAVE_ADPLUG_TRUE= 26750 HAVE_ADPLUG_FALSE='#' 26751else 26752 HAVE_ADPLUG_TRUE='#' 26753 HAVE_ADPLUG_FALSE= 26754fi 26755 26756 if test "x$HAVE_FFAP" = "xyes"; then 26757 HAVE_FFAP_TRUE= 26758 HAVE_FFAP_FALSE='#' 26759else 26760 HAVE_FFAP_TRUE='#' 26761 HAVE_FFAP_FALSE= 26762fi 26763 26764 if test "x$HAVE_SID" = "xyes"; then 26765 HAVE_SID_TRUE= 26766 HAVE_SID_FALSE='#' 26767else 26768 HAVE_SID_TRUE='#' 26769 HAVE_SID_FALSE= 26770fi 26771 26772 if test "x$HAVE_NULLOUT" = "xyes"; then 26773 HAVE_NULLOUT_TRUE= 26774 HAVE_NULLOUT_FALSE='#' 26775else 26776 HAVE_NULLOUT_TRUE='#' 26777 HAVE_NULLOUT_FALSE= 26778fi 26779 26780 if test "x$HAVE_VTX" = "xyes"; then 26781 HAVE_VTX_TRUE= 26782 HAVE_VTX_FALSE='#' 26783else 26784 HAVE_VTX_TRUE='#' 26785 HAVE_VTX_FALSE= 26786fi 26787 26788 if test "x$HAVE_GME" = "xyes"; then 26789 HAVE_GME_TRUE= 26790 HAVE_GME_FALSE='#' 26791else 26792 HAVE_GME_TRUE='#' 26793 HAVE_GME_FALSE= 26794fi 26795 26796 if test "x$HAVE_LASTFM" = "xyes"; then 26797 HAVE_LASTFM_TRUE= 26798 HAVE_LASTFM_FALSE='#' 26799else 26800 HAVE_LASTFM_TRUE='#' 26801 HAVE_LASTFM_FALSE= 26802fi 26803 26804 if test "x$HAVE_VFS_CURL" = "xyes"; then 26805 HAVE_VFS_CURL_TRUE= 26806 HAVE_VFS_CURL_FALSE='#' 26807else 26808 HAVE_VFS_CURL_TRUE='#' 26809 HAVE_VFS_CURL_FALSE= 26810fi 26811 26812 if test "x$HAVE_HOTKEYS" = "xyes"; then 26813 HAVE_HOTKEYS_TRUE= 26814 HAVE_HOTKEYS_FALSE='#' 26815else 26816 HAVE_HOTKEYS_TRUE='#' 26817 HAVE_HOTKEYS_FALSE= 26818fi 26819 26820 if test "x$HAVE_MP3" = "xyes"; then 26821 HAVE_MP3_TRUE= 26822 HAVE_MP3_FALSE='#' 26823else 26824 HAVE_MP3_TRUE='#' 26825 HAVE_MP3_FALSE= 26826fi 26827 26828 if test "x$HAVE_LIBMAD" = "xyes"; then 26829 HAVE_LIBMAD_TRUE= 26830 HAVE_LIBMAD_FALSE='#' 26831else 26832 HAVE_LIBMAD_TRUE='#' 26833 HAVE_LIBMAD_FALSE= 26834fi 26835 26836 if test "x$HAVE_LIBMPG123" = "xyes"; then 26837 HAVE_LIBMPG123_TRUE= 26838 HAVE_LIBMPG123_FALSE='#' 26839else 26840 HAVE_LIBMPG123_TRUE='#' 26841 HAVE_LIBMPG123_FALSE= 26842fi 26843 26844 if test "x$HAVE_OSS" = "xyes"; then 26845 HAVE_OSS_TRUE= 26846 HAVE_OSS_FALSE='#' 26847else 26848 HAVE_OSS_TRUE='#' 26849 HAVE_OSS_FALSE= 26850fi 26851 26852 if test "x$HAVE_SUPEREQ" = "xyes"; then 26853 HAVE_SUPEREQ_TRUE= 26854 HAVE_SUPEREQ_FALSE='#' 26855else 26856 HAVE_SUPEREQ_TRUE='#' 26857 HAVE_SUPEREQ_FALSE= 26858fi 26859 26860 if test "x$HAVE_NOTIFY" = "xyes"; then 26861 HAVE_NOTIFY_TRUE= 26862 HAVE_NOTIFY_FALSE='#' 26863else 26864 HAVE_NOTIFY_TRUE='#' 26865 HAVE_NOTIFY_FALSE= 26866fi 26867 26868 if test "x$HAVE_SHELLEXEC" = "xyes"; then 26869 HAVE_SHELLEXEC_TRUE= 26870 HAVE_SHELLEXEC_FALSE='#' 26871else 26872 HAVE_SHELLEXEC_TRUE='#' 26873 HAVE_SHELLEXEC_FALSE= 26874fi 26875 26876 if test "x$HAVE_SHELLEXECUI" = "xyes"; then 26877 HAVE_SHELLEXECUI_TRUE= 26878 HAVE_SHELLEXECUI_FALSE='#' 26879else 26880 HAVE_SHELLEXECUI_TRUE='#' 26881 HAVE_SHELLEXECUI_FALSE= 26882fi 26883 26884 if test "x$HAVE_MUSEPACK" = "xyes"; then 26885 HAVE_MUSEPACK_TRUE= 26886 HAVE_MUSEPACK_FALSE='#' 26887else 26888 HAVE_MUSEPACK_TRUE='#' 26889 HAVE_MUSEPACK_FALSE= 26890fi 26891 26892 if test "x$HAVE_WILDMIDI" = "xyes"; then 26893 HAVE_WILDMIDI_TRUE= 26894 HAVE_WILDMIDI_FALSE='#' 26895else 26896 HAVE_WILDMIDI_TRUE='#' 26897 HAVE_WILDMIDI_FALSE= 26898fi 26899 26900 if test "x$HAVE_TTA" = "xyes"; then 26901 HAVE_TTA_TRUE= 26902 HAVE_TTA_FALSE='#' 26903else 26904 HAVE_TTA_TRUE='#' 26905 HAVE_TTA_FALSE= 26906fi 26907 26908 if test "x$HAVE_DCA" = "xyes"; then 26909 HAVE_DCA_TRUE= 26910 HAVE_DCA_FALSE='#' 26911else 26912 HAVE_DCA_TRUE='#' 26913 HAVE_DCA_FALSE= 26914fi 26915 26916 if test "x$HAVE_AAC" = "xyes"; then 26917 HAVE_AAC_TRUE= 26918 HAVE_AAC_FALSE='#' 26919else 26920 HAVE_AAC_TRUE='#' 26921 HAVE_AAC_FALSE= 26922fi 26923 26924 if test "x$HAVE_MMS" = "xyes"; then 26925 HAVE_MMS_TRUE= 26926 HAVE_MMS_FALSE='#' 26927else 26928 HAVE_MMS_TRUE='#' 26929 HAVE_MMS_FALSE= 26930fi 26931 26932 if test "x$HAVE_DSP_SRC" = "xyes"; then 26933 HAVE_DSP_SRC_TRUE= 26934 HAVE_DSP_SRC_FALSE='#' 26935else 26936 HAVE_DSP_SRC_TRUE='#' 26937 HAVE_DSP_SRC_FALSE= 26938fi 26939 26940 if test "x$HAVE_M3U" = "xyes"; then 26941 HAVE_M3U_TRUE= 26942 HAVE_M3U_FALSE='#' 26943else 26944 HAVE_M3U_TRUE='#' 26945 HAVE_M3U_FALSE= 26946fi 26947 26948 if test "x$HAVE_VFS_ZIP" = "xyes"; then 26949 HAVE_VFS_ZIP_TRUE= 26950 HAVE_VFS_ZIP_FALSE='#' 26951else 26952 HAVE_VFS_ZIP_TRUE='#' 26953 HAVE_VFS_ZIP_FALSE= 26954fi 26955 26956 if test "x$HAVE_CONVERTER" = "xyes"; then 26957 HAVE_CONVERTER_TRUE= 26958 HAVE_CONVERTER_FALSE='#' 26959else 26960 HAVE_CONVERTER_TRUE='#' 26961 HAVE_CONVERTER_FALSE= 26962fi 26963 26964 if test "x$HAVE_IMLIB2" = "xyes"; then 26965 HAVE_IMLIB2_TRUE= 26966 HAVE_IMLIB2_FALSE='#' 26967else 26968 HAVE_IMLIB2_TRUE='#' 26969 HAVE_IMLIB2_FALSE= 26970fi 26971 26972 if test "x$HAVE_JPEG" = "xyes"; then 26973 HAVE_JPEG_TRUE= 26974 HAVE_JPEG_FALSE='#' 26975else 26976 HAVE_JPEG_TRUE='#' 26977 HAVE_JPEG_FALSE= 26978fi 26979 26980 if test "x$HAVE_PNG" = "xyes"; then 26981 HAVE_PNG_TRUE= 26982 HAVE_PNG_FALSE='#' 26983else 26984 HAVE_PNG_TRUE='#' 26985 HAVE_PNG_FALSE= 26986fi 26987 26988 if test "x$HAVE_YASM" = "xyes"; then 26989 HAVE_YASM_TRUE= 26990 HAVE_YASM_FALSE='#' 26991else 26992 HAVE_YASM_TRUE='#' 26993 HAVE_YASM_FALSE= 26994fi 26995 26996 if test "x$HAVE_DUMB" = "xyes"; then 26997 HAVE_DUMB_TRUE= 26998 HAVE_DUMB_FALSE='#' 26999else 27000 HAVE_DUMB_TRUE='#' 27001 HAVE_DUMB_FALSE= 27002fi 27003 27004 if test "x$HAVE_PSF" = "xyes"; then 27005 HAVE_PSF_TRUE= 27006 HAVE_PSF_FALSE='#' 27007else 27008 HAVE_PSF_TRUE='#' 27009 HAVE_PSF_FALSE= 27010fi 27011 27012 if test "x$HAVE_SHN" = "xyes"; then 27013 HAVE_SHN_TRUE= 27014 HAVE_SHN_FALSE='#' 27015else 27016 HAVE_SHN_TRUE='#' 27017 HAVE_SHN_FALSE= 27018fi 27019 27020 if test "x$HAVE_MONO2STEREO" = "xyes"; then 27021 HAVE_MONO2STEREO_TRUE= 27022 HAVE_MONO2STEREO_FALSE='#' 27023else 27024 HAVE_MONO2STEREO_TRUE='#' 27025 HAVE_MONO2STEREO_FALSE= 27026fi 27027 27028 if test "x$HAVE_ALAC" = "xyes"; then 27029 HAVE_ALAC_TRUE= 27030 HAVE_ALAC_FALSE='#' 27031else 27032 HAVE_ALAC_TRUE='#' 27033 HAVE_ALAC_FALSE= 27034fi 27035 27036 if test "x$HAVE_WMA" = "xyes"; then 27037 HAVE_WMA_TRUE= 27038 HAVE_WMA_FALSE='#' 27039else 27040 HAVE_WMA_TRUE='#' 27041 HAVE_WMA_FALSE= 27042fi 27043 27044 if test "x$HAVE_PLTBROWSER" = "xyes"; then 27045 HAVE_PLTBROWSER_TRUE= 27046 HAVE_PLTBROWSER_FALSE='#' 27047else 27048 HAVE_PLTBROWSER_TRUE='#' 27049 HAVE_PLTBROWSER_FALSE= 27050fi 27051 27052 if test "x$HAVE_SC68" = "xyes"; then 27053 HAVE_SC68_TRUE= 27054 HAVE_SC68_FALSE='#' 27055else 27056 HAVE_SC68_TRUE='#' 27057 HAVE_SC68_FALSE= 27058fi 27059 27060 if test "x$STATICLINK" = "xyes"; then 27061 STATICLINK_TRUE= 27062 STATICLINK_FALSE='#' 27063else 27064 STATICLINK_TRUE='#' 27065 STATICLINK_FALSE= 27066fi 27067 27068 if test "x$PORTABLE" = "xyes"; then 27069 PORTABLE_TRUE= 27070 PORTABLE_FALSE='#' 27071else 27072 PORTABLE_TRUE='#' 27073 PORTABLE_FALSE= 27074fi 27075 27076 if test "x$PORTABLE_FULL" = "xyes"; then 27077 PORTABLE_FULL_TRUE= 27078 PORTABLE_FULL_FALSE='#' 27079else 27080 PORTABLE_FULL_TRUE='#' 27081 PORTABLE_FULL_FALSE= 27082fi 27083 27084 if test "x$USE_ABSTRACT_SOCKET_NAME" = "xyes"; then 27085 USE_ABSTRACT_SOCKET_NAME_TRUE= 27086 USE_ABSTRACT_SOCKET_NAME_FALSE='#' 27087else 27088 USE_ABSTRACT_SOCKET_NAME_TRUE='#' 27089 USE_ABSTRACT_SOCKET_NAME_FALSE= 27090fi 27091 27092 if test "${HAVE_SSE2}"; then 27093 HAVE_SSE2_TRUE= 27094 HAVE_SSE2_FALSE='#' 27095else 27096 HAVE_SSE2_TRUE='#' 27097 HAVE_SSE2_FALSE= 27098fi 27099 27100 27101 27102 27103ac_config_files="$ac_config_files Makefile pixmaps/Makefile icons/Makefile plugins/liboggedit/Makefile plugins/libmp4ff/Makefile plugins/libparser/Makefile plugins/gme/Makefile plugins/alsa/Makefile plugins/hotkeys/Makefile plugins/lastfm/Makefile plugins/ffap/Makefile plugins/mp3/Makefile plugins/vorbis/Makefile plugins/flac/Makefile plugins/wavpack/Makefile plugins/sndfile/Makefile plugins/vfs_curl/Makefile plugins/cdda/Makefile plugins/gtkui/Makefile plugins/nullout/Makefile plugins/vtx/Makefile plugins/adplug/Makefile plugins/ffmpeg/Makefile plugins/sid/Makefile plugins/oss/Makefile plugins/pulse/Makefile plugins/artwork/Makefile plugins/supereq/Makefile plugins/notify/Makefile plugins/shellexec/Makefile plugins/musepack/Makefile plugins/wildmidi/Makefile plugins/tta/Makefile plugins/dca/Makefile plugins/aac/Makefile plugins/mms/Makefile plugins/dsp_libsrc/Makefile plugins/m3u/Makefile plugins/vfs_zip/Makefile plugins/converter/Makefile plugins/dumb/Makefile plugins/ao/Makefile plugins/shn/Makefile plugins/mono2stereo/Makefile plugins/shellexecui/Makefile plugins/alac/Makefile plugins/wma/Makefile plugins/pltbrowser/Makefile plugins/sc68/Makefile plugins/coreaudio/Makefile intl/Makefile po/Makefile.in deadbeef.desktop" 27104 27105 27106cat >confcache <<\_ACEOF 27107# This file is a shell script that caches the results of configure 27108# tests run on this system so they can be shared between configure 27109# scripts and configure runs, see configure's option --config-cache. 27110# It is not useful on other systems. If it contains results you don't 27111# want to keep, you may remove or edit it. 27112# 27113# config.status only pays attention to the cache file if you give it 27114# the --recheck option to rerun configure. 27115# 27116# `ac_cv_env_foo' variables (set or unset) will be overridden when 27117# loading this file, other *unset* `ac_cv_foo' will be assigned the 27118# following values. 27119 27120_ACEOF 27121 27122# The following way of writing the cache mishandles newlines in values, 27123# but we know of no workaround that is simple, portable, and efficient. 27124# So, we kill variables containing newlines. 27125# Ultrix sh set writes to stderr and can't be redirected directly, 27126# and sets the high bit in the cache file unless we assign to the vars. 27127( 27128 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 27129 eval ac_val=\$$ac_var 27130 case $ac_val in #( 27131 *${as_nl}*) 27132 case $ac_var in #( 27133 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 27134$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 27135 esac 27136 case $ac_var in #( 27137 _ | IFS | as_nl) ;; #( 27138 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 27139 *) { eval $ac_var=; unset $ac_var;} ;; 27140 esac ;; 27141 esac 27142 done 27143 27144 (set) 2>&1 | 27145 case $as_nl`(ac_space=' '; set) 2>&1` in #( 27146 *${as_nl}ac_space=\ *) 27147 # `set' does not quote correctly, so add quotes: double-quote 27148 # substitution turns \\\\ into \\, and sed turns \\ into \. 27149 sed -n \ 27150 "s/'/'\\\\''/g; 27151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 27152 ;; #( 27153 *) 27154 # `set' quotes correctly as required by POSIX, so do not add quotes. 27155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 27156 ;; 27157 esac | 27158 sort 27159) | 27160 sed ' 27161 /^ac_cv_env_/b end 27162 t clear 27163 :clear 27164 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 27165 t end 27166 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 27167 :end' >>confcache 27168if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 27169 if test -w "$cache_file"; then 27170 if test "x$cache_file" != "x/dev/null"; then 27171 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 27172$as_echo "$as_me: updating cache $cache_file" >&6;} 27173 if test ! -f "$cache_file" || test -h "$cache_file"; then 27174 cat confcache >"$cache_file" 27175 else 27176 case $cache_file in #( 27177 */* | ?:*) 27178 mv -f confcache "$cache_file"$$ && 27179 mv -f "$cache_file"$$ "$cache_file" ;; #( 27180 *) 27181 mv -f confcache "$cache_file" ;; 27182 esac 27183 fi 27184 fi 27185 else 27186 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 27187$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 27188 fi 27189fi 27190rm -f confcache 27191 27192test "x$prefix" = xNONE && prefix=$ac_default_prefix 27193# Let make expand exec_prefix. 27194test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 27195 27196DEFS=-DHAVE_CONFIG_H 27197 27198ac_libobjs= 27199ac_ltlibobjs= 27200U= 27201for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 27202 # 1. Remove the extension, and $U if already installed. 27203 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 27204 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 27205 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 27206 # will be set to the directory where LIBOBJS objects are built. 27207 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 27208 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 27209done 27210LIBOBJS=$ac_libobjs 27211 27212LTLIBOBJS=$ac_ltlibobjs 27213 27214 27215 if test -n "$EXEEXT"; then 27216 am__EXEEXT_TRUE= 27217 am__EXEEXT_FALSE='#' 27218else 27219 am__EXEEXT_TRUE='#' 27220 am__EXEEXT_FALSE= 27221fi 27222 27223if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 27224 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 27225Usually this means the macro was only invoked conditionally." "$LINENO" 5 27226fi 27227if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 27228 as_fn_error $? "conditional \"AMDEP\" was never defined. 27229Usually this means the macro was only invoked conditionally." "$LINENO" 5 27230fi 27231if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 27232 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 27233Usually this means the macro was only invoked conditionally." "$LINENO" 5 27234fi 27235if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 27236 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 27237Usually this means the macro was only invoked conditionally." "$LINENO" 5 27238fi 27239if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 27240 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 27241Usually this means the macro was only invoked conditionally." "$LINENO" 5 27242fi 27243if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then 27244 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined. 27245Usually this means the macro was only invoked conditionally." "$LINENO" 5 27246fi 27247 27248 27249 ac_config_commands="$ac_config_commands po/stamp-it" 27250 27251 27252if test -z "${OS_OSX_TRUE}" && test -z "${OS_OSX_FALSE}"; then 27253 as_fn_error $? "conditional \"OS_OSX\" was never defined. 27254Usually this means the macro was only invoked conditionally." "$LINENO" 5 27255fi 27256if test -z "${APE_USE_YASM_TRUE}" && test -z "${APE_USE_YASM_FALSE}"; then 27257 as_fn_error $? "conditional \"APE_USE_YASM\" was never defined. 27258Usually this means the macro was only invoked conditionally." "$LINENO" 5 27259fi 27260if test -z "${HAVE_VORBIS_TRUE}" && test -z "${HAVE_VORBIS_FALSE}"; then 27261 as_fn_error $? "conditional \"HAVE_VORBIS\" was never defined. 27262Usually this means the macro was only invoked conditionally." "$LINENO" 5 27263fi 27264if test -z "${HAVE_OGG_TRUE}" && test -z "${HAVE_OGG_FALSE}"; then 27265 as_fn_error $? "conditional \"HAVE_OGG\" was never defined. 27266Usually this means the macro was only invoked conditionally." "$LINENO" 5 27267fi 27268if test -z "${HAVE_OGG_STREAM_FLUSH_FILL_TRUE}" && test -z "${HAVE_OGG_STREAM_FLUSH_FILL_FALSE}"; then 27269 as_fn_error $? "conditional \"HAVE_OGG_STREAM_FLUSH_FILL\" was never defined. 27270Usually this means the macro was only invoked conditionally." "$LINENO" 5 27271fi 27272if test -z "${HAVE_FLAC_TRUE}" && test -z "${HAVE_FLAC_FALSE}"; then 27273 as_fn_error $? "conditional \"HAVE_FLAC\" was never defined. 27274Usually this means the macro was only invoked conditionally." "$LINENO" 5 27275fi 27276if test -z "${HAVE_WAVPACK_TRUE}" && test -z "${HAVE_WAVPACK_FALSE}"; then 27277 as_fn_error $? "conditional \"HAVE_WAVPACK\" was never defined. 27278Usually this means the macro was only invoked conditionally." "$LINENO" 5 27279fi 27280if test -z "${HAVE_SNDFILE_TRUE}" && test -z "${HAVE_SNDFILE_FALSE}"; then 27281 as_fn_error $? "conditional \"HAVE_SNDFILE\" was never defined. 27282Usually this means the macro was only invoked conditionally." "$LINENO" 5 27283fi 27284if test -z "${HAVE_CDDA_TRUE}" && test -z "${HAVE_CDDA_FALSE}"; then 27285 as_fn_error $? "conditional \"HAVE_CDDA\" was never defined. 27286Usually this means the macro was only invoked conditionally." "$LINENO" 5 27287fi 27288if test -z "${USE_CDPARANOIA_TRUE}" && test -z "${USE_CDPARANOIA_FALSE}"; then 27289 as_fn_error $? "conditional \"USE_CDPARANOIA\" was never defined. 27290Usually this means the macro was only invoked conditionally." "$LINENO" 5 27291fi 27292if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then 27293 as_fn_error $? "conditional \"HAVE_GTK2\" was never defined. 27294Usually this means the macro was only invoked conditionally." "$LINENO" 5 27295fi 27296if test -z "${HAVE_GTK3_TRUE}" && test -z "${HAVE_GTK3_FALSE}"; then 27297 as_fn_error $? "conditional \"HAVE_GTK3\" was never defined. 27298Usually this means the macro was only invoked conditionally." "$LINENO" 5 27299fi 27300if test -z "${HAVE_ALSA_TRUE}" && test -z "${HAVE_ALSA_FALSE}"; then 27301 as_fn_error $? "conditional \"HAVE_ALSA\" was never defined. 27302Usually this means the macro was only invoked conditionally." "$LINENO" 5 27303fi 27304if test -z "${HAVE_COREAUDIO_TRUE}" && test -z "${HAVE_COREAUDIO_FALSE}"; then 27305 as_fn_error $? "conditional \"HAVE_COREAUDIO\" was never defined. 27306Usually this means the macro was only invoked conditionally." "$LINENO" 5 27307fi 27308if test -z "${HAVE_FFMPEG_TRUE}" && test -z "${HAVE_FFMPEG_FALSE}"; then 27309 as_fn_error $? "conditional \"HAVE_FFMPEG\" was never defined. 27310Usually this means the macro was only invoked conditionally." "$LINENO" 5 27311fi 27312if test -z "${HAVE_PULSE_TRUE}" && test -z "${HAVE_PULSE_FALSE}"; then 27313 as_fn_error $? "conditional \"HAVE_PULSE\" was never defined. 27314Usually this means the macro was only invoked conditionally." "$LINENO" 5 27315fi 27316if test -z "${HAVE_ARTWORK_TRUE}" && test -z "${HAVE_ARTWORK_FALSE}"; then 27317 as_fn_error $? "conditional \"HAVE_ARTWORK\" was never defined. 27318Usually this means the macro was only invoked conditionally." "$LINENO" 5 27319fi 27320if test -z "${ARTWORK_USE_VFS_CURL_TRUE}" && test -z "${ARTWORK_USE_VFS_CURL_FALSE}"; then 27321 as_fn_error $? "conditional \"ARTWORK_USE_VFS_CURL\" was never defined. 27322Usually this means the macro was only invoked conditionally." "$LINENO" 5 27323fi 27324if test -z "${HAVE_ADPLUG_TRUE}" && test -z "${HAVE_ADPLUG_FALSE}"; then 27325 as_fn_error $? "conditional \"HAVE_ADPLUG\" was never defined. 27326Usually this means the macro was only invoked conditionally." "$LINENO" 5 27327fi 27328if test -z "${HAVE_FFAP_TRUE}" && test -z "${HAVE_FFAP_FALSE}"; then 27329 as_fn_error $? "conditional \"HAVE_FFAP\" was never defined. 27330Usually this means the macro was only invoked conditionally." "$LINENO" 5 27331fi 27332if test -z "${HAVE_SID_TRUE}" && test -z "${HAVE_SID_FALSE}"; then 27333 as_fn_error $? "conditional \"HAVE_SID\" was never defined. 27334Usually this means the macro was only invoked conditionally." "$LINENO" 5 27335fi 27336if test -z "${HAVE_NULLOUT_TRUE}" && test -z "${HAVE_NULLOUT_FALSE}"; then 27337 as_fn_error $? "conditional \"HAVE_NULLOUT\" was never defined. 27338Usually this means the macro was only invoked conditionally." "$LINENO" 5 27339fi 27340if test -z "${HAVE_VTX_TRUE}" && test -z "${HAVE_VTX_FALSE}"; then 27341 as_fn_error $? "conditional \"HAVE_VTX\" was never defined. 27342Usually this means the macro was only invoked conditionally." "$LINENO" 5 27343fi 27344if test -z "${HAVE_GME_TRUE}" && test -z "${HAVE_GME_FALSE}"; then 27345 as_fn_error $? "conditional \"HAVE_GME\" was never defined. 27346Usually this means the macro was only invoked conditionally." "$LINENO" 5 27347fi 27348if test -z "${HAVE_LASTFM_TRUE}" && test -z "${HAVE_LASTFM_FALSE}"; then 27349 as_fn_error $? "conditional \"HAVE_LASTFM\" was never defined. 27350Usually this means the macro was only invoked conditionally." "$LINENO" 5 27351fi 27352if test -z "${HAVE_VFS_CURL_TRUE}" && test -z "${HAVE_VFS_CURL_FALSE}"; then 27353 as_fn_error $? "conditional \"HAVE_VFS_CURL\" was never defined. 27354Usually this means the macro was only invoked conditionally." "$LINENO" 5 27355fi 27356if test -z "${HAVE_HOTKEYS_TRUE}" && test -z "${HAVE_HOTKEYS_FALSE}"; then 27357 as_fn_error $? "conditional \"HAVE_HOTKEYS\" was never defined. 27358Usually this means the macro was only invoked conditionally." "$LINENO" 5 27359fi 27360if test -z "${HAVE_MP3_TRUE}" && test -z "${HAVE_MP3_FALSE}"; then 27361 as_fn_error $? "conditional \"HAVE_MP3\" was never defined. 27362Usually this means the macro was only invoked conditionally." "$LINENO" 5 27363fi 27364if test -z "${HAVE_LIBMAD_TRUE}" && test -z "${HAVE_LIBMAD_FALSE}"; then 27365 as_fn_error $? "conditional \"HAVE_LIBMAD\" was never defined. 27366Usually this means the macro was only invoked conditionally." "$LINENO" 5 27367fi 27368if test -z "${HAVE_LIBMPG123_TRUE}" && test -z "${HAVE_LIBMPG123_FALSE}"; then 27369 as_fn_error $? "conditional \"HAVE_LIBMPG123\" was never defined. 27370Usually this means the macro was only invoked conditionally." "$LINENO" 5 27371fi 27372if test -z "${HAVE_OSS_TRUE}" && test -z "${HAVE_OSS_FALSE}"; then 27373 as_fn_error $? "conditional \"HAVE_OSS\" was never defined. 27374Usually this means the macro was only invoked conditionally." "$LINENO" 5 27375fi 27376if test -z "${HAVE_SUPEREQ_TRUE}" && test -z "${HAVE_SUPEREQ_FALSE}"; then 27377 as_fn_error $? "conditional \"HAVE_SUPEREQ\" was never defined. 27378Usually this means the macro was only invoked conditionally." "$LINENO" 5 27379fi 27380if test -z "${HAVE_NOTIFY_TRUE}" && test -z "${HAVE_NOTIFY_FALSE}"; then 27381 as_fn_error $? "conditional \"HAVE_NOTIFY\" was never defined. 27382Usually this means the macro was only invoked conditionally." "$LINENO" 5 27383fi 27384if test -z "${HAVE_SHELLEXEC_TRUE}" && test -z "${HAVE_SHELLEXEC_FALSE}"; then 27385 as_fn_error $? "conditional \"HAVE_SHELLEXEC\" was never defined. 27386Usually this means the macro was only invoked conditionally." "$LINENO" 5 27387fi 27388if test -z "${HAVE_SHELLEXECUI_TRUE}" && test -z "${HAVE_SHELLEXECUI_FALSE}"; then 27389 as_fn_error $? "conditional \"HAVE_SHELLEXECUI\" was never defined. 27390Usually this means the macro was only invoked conditionally." "$LINENO" 5 27391fi 27392if test -z "${HAVE_MUSEPACK_TRUE}" && test -z "${HAVE_MUSEPACK_FALSE}"; then 27393 as_fn_error $? "conditional \"HAVE_MUSEPACK\" was never defined. 27394Usually this means the macro was only invoked conditionally." "$LINENO" 5 27395fi 27396if test -z "${HAVE_WILDMIDI_TRUE}" && test -z "${HAVE_WILDMIDI_FALSE}"; then 27397 as_fn_error $? "conditional \"HAVE_WILDMIDI\" was never defined. 27398Usually this means the macro was only invoked conditionally." "$LINENO" 5 27399fi 27400if test -z "${HAVE_TTA_TRUE}" && test -z "${HAVE_TTA_FALSE}"; then 27401 as_fn_error $? "conditional \"HAVE_TTA\" was never defined. 27402Usually this means the macro was only invoked conditionally." "$LINENO" 5 27403fi 27404if test -z "${HAVE_DCA_TRUE}" && test -z "${HAVE_DCA_FALSE}"; then 27405 as_fn_error $? "conditional \"HAVE_DCA\" was never defined. 27406Usually this means the macro was only invoked conditionally." "$LINENO" 5 27407fi 27408if test -z "${HAVE_AAC_TRUE}" && test -z "${HAVE_AAC_FALSE}"; then 27409 as_fn_error $? "conditional \"HAVE_AAC\" was never defined. 27410Usually this means the macro was only invoked conditionally." "$LINENO" 5 27411fi 27412if test -z "${HAVE_MMS_TRUE}" && test -z "${HAVE_MMS_FALSE}"; then 27413 as_fn_error $? "conditional \"HAVE_MMS\" was never defined. 27414Usually this means the macro was only invoked conditionally." "$LINENO" 5 27415fi 27416if test -z "${HAVE_DSP_SRC_TRUE}" && test -z "${HAVE_DSP_SRC_FALSE}"; then 27417 as_fn_error $? "conditional \"HAVE_DSP_SRC\" was never defined. 27418Usually this means the macro was only invoked conditionally." "$LINENO" 5 27419fi 27420if test -z "${HAVE_M3U_TRUE}" && test -z "${HAVE_M3U_FALSE}"; then 27421 as_fn_error $? "conditional \"HAVE_M3U\" was never defined. 27422Usually this means the macro was only invoked conditionally." "$LINENO" 5 27423fi 27424if test -z "${HAVE_VFS_ZIP_TRUE}" && test -z "${HAVE_VFS_ZIP_FALSE}"; then 27425 as_fn_error $? "conditional \"HAVE_VFS_ZIP\" was never defined. 27426Usually this means the macro was only invoked conditionally." "$LINENO" 5 27427fi 27428if test -z "${HAVE_CONVERTER_TRUE}" && test -z "${HAVE_CONVERTER_FALSE}"; then 27429 as_fn_error $? "conditional \"HAVE_CONVERTER\" was never defined. 27430Usually this means the macro was only invoked conditionally." "$LINENO" 5 27431fi 27432if test -z "${HAVE_IMLIB2_TRUE}" && test -z "${HAVE_IMLIB2_FALSE}"; then 27433 as_fn_error $? "conditional \"HAVE_IMLIB2\" was never defined. 27434Usually this means the macro was only invoked conditionally." "$LINENO" 5 27435fi 27436if test -z "${HAVE_JPEG_TRUE}" && test -z "${HAVE_JPEG_FALSE}"; then 27437 as_fn_error $? "conditional \"HAVE_JPEG\" was never defined. 27438Usually this means the macro was only invoked conditionally." "$LINENO" 5 27439fi 27440if test -z "${HAVE_PNG_TRUE}" && test -z "${HAVE_PNG_FALSE}"; then 27441 as_fn_error $? "conditional \"HAVE_PNG\" was never defined. 27442Usually this means the macro was only invoked conditionally." "$LINENO" 5 27443fi 27444if test -z "${HAVE_YASM_TRUE}" && test -z "${HAVE_YASM_FALSE}"; then 27445 as_fn_error $? "conditional \"HAVE_YASM\" was never defined. 27446Usually this means the macro was only invoked conditionally." "$LINENO" 5 27447fi 27448if test -z "${HAVE_DUMB_TRUE}" && test -z "${HAVE_DUMB_FALSE}"; then 27449 as_fn_error $? "conditional \"HAVE_DUMB\" was never defined. 27450Usually this means the macro was only invoked conditionally." "$LINENO" 5 27451fi 27452if test -z "${HAVE_PSF_TRUE}" && test -z "${HAVE_PSF_FALSE}"; then 27453 as_fn_error $? "conditional \"HAVE_PSF\" was never defined. 27454Usually this means the macro was only invoked conditionally." "$LINENO" 5 27455fi 27456if test -z "${HAVE_SHN_TRUE}" && test -z "${HAVE_SHN_FALSE}"; then 27457 as_fn_error $? "conditional \"HAVE_SHN\" was never defined. 27458Usually this means the macro was only invoked conditionally." "$LINENO" 5 27459fi 27460if test -z "${HAVE_MONO2STEREO_TRUE}" && test -z "${HAVE_MONO2STEREO_FALSE}"; then 27461 as_fn_error $? "conditional \"HAVE_MONO2STEREO\" was never defined. 27462Usually this means the macro was only invoked conditionally." "$LINENO" 5 27463fi 27464if test -z "${HAVE_ALAC_TRUE}" && test -z "${HAVE_ALAC_FALSE}"; then 27465 as_fn_error $? "conditional \"HAVE_ALAC\" was never defined. 27466Usually this means the macro was only invoked conditionally." "$LINENO" 5 27467fi 27468if test -z "${HAVE_WMA_TRUE}" && test -z "${HAVE_WMA_FALSE}"; then 27469 as_fn_error $? "conditional \"HAVE_WMA\" was never defined. 27470Usually this means the macro was only invoked conditionally." "$LINENO" 5 27471fi 27472if test -z "${HAVE_PLTBROWSER_TRUE}" && test -z "${HAVE_PLTBROWSER_FALSE}"; then 27473 as_fn_error $? "conditional \"HAVE_PLTBROWSER\" was never defined. 27474Usually this means the macro was only invoked conditionally." "$LINENO" 5 27475fi 27476if test -z "${HAVE_SC68_TRUE}" && test -z "${HAVE_SC68_FALSE}"; then 27477 as_fn_error $? "conditional \"HAVE_SC68\" was never defined. 27478Usually this means the macro was only invoked conditionally." "$LINENO" 5 27479fi 27480if test -z "${STATICLINK_TRUE}" && test -z "${STATICLINK_FALSE}"; then 27481 as_fn_error $? "conditional \"STATICLINK\" was never defined. 27482Usually this means the macro was only invoked conditionally." "$LINENO" 5 27483fi 27484if test -z "${PORTABLE_TRUE}" && test -z "${PORTABLE_FALSE}"; then 27485 as_fn_error $? "conditional \"PORTABLE\" was never defined. 27486Usually this means the macro was only invoked conditionally." "$LINENO" 5 27487fi 27488if test -z "${PORTABLE_FULL_TRUE}" && test -z "${PORTABLE_FULL_FALSE}"; then 27489 as_fn_error $? "conditional \"PORTABLE_FULL\" was never defined. 27490Usually this means the macro was only invoked conditionally." "$LINENO" 5 27491fi 27492if test -z "${USE_ABSTRACT_SOCKET_NAME_TRUE}" && test -z "${USE_ABSTRACT_SOCKET_NAME_FALSE}"; then 27493 as_fn_error $? "conditional \"USE_ABSTRACT_SOCKET_NAME\" was never defined. 27494Usually this means the macro was only invoked conditionally." "$LINENO" 5 27495fi 27496if test -z "${HAVE_SSE2_TRUE}" && test -z "${HAVE_SSE2_FALSE}"; then 27497 as_fn_error $? "conditional \"HAVE_SSE2\" was never defined. 27498Usually this means the macro was only invoked conditionally." "$LINENO" 5 27499fi 27500 27501: "${CONFIG_STATUS=./config.status}" 27502ac_write_fail=0 27503ac_clean_files_save=$ac_clean_files 27504ac_clean_files="$ac_clean_files $CONFIG_STATUS" 27505{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 27506$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 27507as_write_fail=0 27508cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 27509#! $SHELL 27510# Generated by $as_me. 27511# Run this file to recreate the current configuration. 27512# Compiler output produced by configure, useful for debugging 27513# configure, is in config.log if it exists. 27514 27515debug=false 27516ac_cs_recheck=false 27517ac_cs_silent=false 27518 27519SHELL=\${CONFIG_SHELL-$SHELL} 27520export SHELL 27521_ASEOF 27522cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 27523## -------------------- ## 27524## M4sh Initialization. ## 27525## -------------------- ## 27526 27527# Be more Bourne compatible 27528DUALCASE=1; export DUALCASE # for MKS sh 27529if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 27530 emulate sh 27531 NULLCMD=: 27532 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 27533 # is contrary to our usage. Disable this feature. 27534 alias -g '${1+"$@"}'='"$@"' 27535 setopt NO_GLOB_SUBST 27536else 27537 case `(set -o) 2>/dev/null` in #( 27538 *posix*) : 27539 set -o posix ;; #( 27540 *) : 27541 ;; 27542esac 27543fi 27544 27545 27546as_nl=' 27547' 27548export as_nl 27549# Printing a long string crashes Solaris 7 /usr/bin/printf. 27550as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 27551as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 27552as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 27553# Prefer a ksh shell builtin over an external printf program on Solaris, 27554# but without wasting forks for bash or zsh. 27555if test -z "$BASH_VERSION$ZSH_VERSION" \ 27556 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 27557 as_echo='print -r --' 27558 as_echo_n='print -rn --' 27559elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 27560 as_echo='printf %s\n' 27561 as_echo_n='printf %s' 27562else 27563 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 27564 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 27565 as_echo_n='/usr/ucb/echo -n' 27566 else 27567 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 27568 as_echo_n_body='eval 27569 arg=$1; 27570 case $arg in #( 27571 *"$as_nl"*) 27572 expr "X$arg" : "X\\(.*\\)$as_nl"; 27573 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 27574 esac; 27575 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 27576 ' 27577 export as_echo_n_body 27578 as_echo_n='sh -c $as_echo_n_body as_echo' 27579 fi 27580 export as_echo_body 27581 as_echo='sh -c $as_echo_body as_echo' 27582fi 27583 27584# The user is always right. 27585if test "${PATH_SEPARATOR+set}" != set; then 27586 PATH_SEPARATOR=: 27587 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 27588 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 27589 PATH_SEPARATOR=';' 27590 } 27591fi 27592 27593 27594# IFS 27595# We need space, tab and new line, in precisely that order. Quoting is 27596# there to prevent editors from complaining about space-tab. 27597# (If _AS_PATH_WALK were called with IFS unset, it would disable word 27598# splitting by setting IFS to empty value.) 27599IFS=" "" $as_nl" 27600 27601# Find who we are. Look in the path if we contain no directory separator. 27602as_myself= 27603case $0 in #(( 27604 *[\\/]* ) as_myself=$0 ;; 27605 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27606for as_dir in $PATH 27607do 27608 IFS=$as_save_IFS 27609 test -z "$as_dir" && as_dir=. 27610 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 27611 done 27612IFS=$as_save_IFS 27613 27614 ;; 27615esac 27616# We did not find ourselves, most probably we were run as `sh COMMAND' 27617# in which case we are not to be found in the path. 27618if test "x$as_myself" = x; then 27619 as_myself=$0 27620fi 27621if test ! -f "$as_myself"; then 27622 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 27623 exit 1 27624fi 27625 27626# Unset variables that we do not need and which cause bugs (e.g. in 27627# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 27628# suppresses any "Segmentation fault" message there. '((' could 27629# trigger a bug in pdksh 5.2.14. 27630for as_var in BASH_ENV ENV MAIL MAILPATH 27631do eval test x\${$as_var+set} = xset \ 27632 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 27633done 27634PS1='$ ' 27635PS2='> ' 27636PS4='+ ' 27637 27638# NLS nuisances. 27639LC_ALL=C 27640export LC_ALL 27641LANGUAGE=C 27642export LANGUAGE 27643 27644# CDPATH. 27645(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 27646 27647 27648# as_fn_error STATUS ERROR [LINENO LOG_FD] 27649# ---------------------------------------- 27650# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 27651# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 27652# script with STATUS, using 1 if that was 0. 27653as_fn_error () 27654{ 27655 as_status=$1; test $as_status -eq 0 && as_status=1 27656 if test "$4"; then 27657 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 27658 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 27659 fi 27660 $as_echo "$as_me: error: $2" >&2 27661 as_fn_exit $as_status 27662} # as_fn_error 27663 27664 27665# as_fn_set_status STATUS 27666# ----------------------- 27667# Set $? to STATUS, without forking. 27668as_fn_set_status () 27669{ 27670 return $1 27671} # as_fn_set_status 27672 27673# as_fn_exit STATUS 27674# ----------------- 27675# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 27676as_fn_exit () 27677{ 27678 set +e 27679 as_fn_set_status $1 27680 exit $1 27681} # as_fn_exit 27682 27683# as_fn_unset VAR 27684# --------------- 27685# Portably unset VAR. 27686as_fn_unset () 27687{ 27688 { eval $1=; unset $1;} 27689} 27690as_unset=as_fn_unset 27691# as_fn_append VAR VALUE 27692# ---------------------- 27693# Append the text in VALUE to the end of the definition contained in VAR. Take 27694# advantage of any shell optimizations that allow amortized linear growth over 27695# repeated appends, instead of the typical quadratic growth present in naive 27696# implementations. 27697if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 27698 eval 'as_fn_append () 27699 { 27700 eval $1+=\$2 27701 }' 27702else 27703 as_fn_append () 27704 { 27705 eval $1=\$$1\$2 27706 } 27707fi # as_fn_append 27708 27709# as_fn_arith ARG... 27710# ------------------ 27711# Perform arithmetic evaluation on the ARGs, and store the result in the 27712# global $as_val. Take advantage of shells that can avoid forks. The arguments 27713# must be portable across $(()) and expr. 27714if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 27715 eval 'as_fn_arith () 27716 { 27717 as_val=$(( $* )) 27718 }' 27719else 27720 as_fn_arith () 27721 { 27722 as_val=`expr "$@" || test $? -eq 1` 27723 } 27724fi # as_fn_arith 27725 27726 27727if expr a : '\(a\)' >/dev/null 2>&1 && 27728 test "X`expr 00001 : '.*\(...\)'`" = X001; then 27729 as_expr=expr 27730else 27731 as_expr=false 27732fi 27733 27734if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 27735 as_basename=basename 27736else 27737 as_basename=false 27738fi 27739 27740if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 27741 as_dirname=dirname 27742else 27743 as_dirname=false 27744fi 27745 27746as_me=`$as_basename -- "$0" || 27747$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 27748 X"$0" : 'X\(//\)$' \| \ 27749 X"$0" : 'X\(/\)' \| . 2>/dev/null || 27750$as_echo X/"$0" | 27751 sed '/^.*\/\([^/][^/]*\)\/*$/{ 27752 s//\1/ 27753 q 27754 } 27755 /^X\/\(\/\/\)$/{ 27756 s//\1/ 27757 q 27758 } 27759 /^X\/\(\/\).*/{ 27760 s//\1/ 27761 q 27762 } 27763 s/.*/./; q'` 27764 27765# Avoid depending upon Character Ranges. 27766as_cr_letters='abcdefghijklmnopqrstuvwxyz' 27767as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 27768as_cr_Letters=$as_cr_letters$as_cr_LETTERS 27769as_cr_digits='0123456789' 27770as_cr_alnum=$as_cr_Letters$as_cr_digits 27771 27772ECHO_C= ECHO_N= ECHO_T= 27773case `echo -n x` in #((((( 27774-n*) 27775 case `echo 'xy\c'` in 27776 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 27777 xy) ECHO_C='\c';; 27778 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 27779 ECHO_T=' ';; 27780 esac;; 27781*) 27782 ECHO_N='-n';; 27783esac 27784 27785rm -f conf$$ conf$$.exe conf$$.file 27786if test -d conf$$.dir; then 27787 rm -f conf$$.dir/conf$$.file 27788else 27789 rm -f conf$$.dir 27790 mkdir conf$$.dir 2>/dev/null 27791fi 27792if (echo >conf$$.file) 2>/dev/null; then 27793 if ln -s conf$$.file conf$$ 2>/dev/null; then 27794 as_ln_s='ln -s' 27795 # ... but there are two gotchas: 27796 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 27797 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 27798 # In both cases, we have to default to `cp -p'. 27799 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 27800 as_ln_s='cp -p' 27801 elif ln conf$$.file conf$$ 2>/dev/null; then 27802 as_ln_s=ln 27803 else 27804 as_ln_s='cp -p' 27805 fi 27806else 27807 as_ln_s='cp -p' 27808fi 27809rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 27810rmdir conf$$.dir 2>/dev/null 27811 27812 27813# as_fn_mkdir_p 27814# ------------- 27815# Create "$as_dir" as a directory, including parents if necessary. 27816as_fn_mkdir_p () 27817{ 27818 27819 case $as_dir in #( 27820 -*) as_dir=./$as_dir;; 27821 esac 27822 test -d "$as_dir" || eval $as_mkdir_p || { 27823 as_dirs= 27824 while :; do 27825 case $as_dir in #( 27826 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 27827 *) as_qdir=$as_dir;; 27828 esac 27829 as_dirs="'$as_qdir' $as_dirs" 27830 as_dir=`$as_dirname -- "$as_dir" || 27831$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 27832 X"$as_dir" : 'X\(//\)[^/]' \| \ 27833 X"$as_dir" : 'X\(//\)$' \| \ 27834 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 27835$as_echo X"$as_dir" | 27836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 27837 s//\1/ 27838 q 27839 } 27840 /^X\(\/\/\)[^/].*/{ 27841 s//\1/ 27842 q 27843 } 27844 /^X\(\/\/\)$/{ 27845 s//\1/ 27846 q 27847 } 27848 /^X\(\/\).*/{ 27849 s//\1/ 27850 q 27851 } 27852 s/.*/./; q'` 27853 test -d "$as_dir" && break 27854 done 27855 test -z "$as_dirs" || eval "mkdir $as_dirs" 27856 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 27857 27858 27859} # as_fn_mkdir_p 27860if mkdir -p . 2>/dev/null; then 27861 as_mkdir_p='mkdir -p "$as_dir"' 27862else 27863 test -d ./-p && rmdir ./-p 27864 as_mkdir_p=false 27865fi 27866 27867if test -x / >/dev/null 2>&1; then 27868 as_test_x='test -x' 27869else 27870 if ls -dL / >/dev/null 2>&1; then 27871 as_ls_L_option=L 27872 else 27873 as_ls_L_option= 27874 fi 27875 as_test_x=' 27876 eval sh -c '\'' 27877 if test -d "$1"; then 27878 test -d "$1/."; 27879 else 27880 case $1 in #( 27881 -*)set "./$1";; 27882 esac; 27883 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 27884 ???[sx]*):;;*)false;;esac;fi 27885 '\'' sh 27886 ' 27887fi 27888as_executable_p=$as_test_x 27889 27890# Sed expression to map a string onto a valid CPP name. 27891as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 27892 27893# Sed expression to map a string onto a valid variable name. 27894as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 27895 27896 27897exec 6>&1 27898## ----------------------------------- ## 27899## Main body of $CONFIG_STATUS script. ## 27900## ----------------------------------- ## 27901_ASEOF 27902test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 27903 27904cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27905# Save the log message, to keep $0 and so on meaningful, and to 27906# report actual input values of CONFIG_FILES etc. instead of their 27907# values after options handling. 27908ac_log=" 27909This file was extended by deadbeef $as_me 0.7.2, which was 27910generated by GNU Autoconf 2.68. Invocation command line was 27911 27912 CONFIG_FILES = $CONFIG_FILES 27913 CONFIG_HEADERS = $CONFIG_HEADERS 27914 CONFIG_LINKS = $CONFIG_LINKS 27915 CONFIG_COMMANDS = $CONFIG_COMMANDS 27916 $ $0 $@ 27917 27918on `(hostname || uname -n) 2>/dev/null | sed 1q` 27919" 27920 27921_ACEOF 27922 27923case $ac_config_files in *" 27924"*) set x $ac_config_files; shift; ac_config_files=$*;; 27925esac 27926 27927case $ac_config_headers in *" 27928"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 27929esac 27930 27931 27932cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27933# Files that config.status was made for. 27934config_files="$ac_config_files" 27935config_headers="$ac_config_headers" 27936config_commands="$ac_config_commands" 27937 27938_ACEOF 27939 27940cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27941ac_cs_usage="\ 27942\`$as_me' instantiates files and other configuration actions 27943from templates according to the current configuration. Unless the files 27944and actions are specified as TAGs, all are instantiated by default. 27945 27946Usage: $0 [OPTION]... [TAG]... 27947 27948 -h, --help print this help, then exit 27949 -V, --version print version number and configuration settings, then exit 27950 --config print configuration, then exit 27951 -q, --quiet, --silent 27952 do not print progress messages 27953 -d, --debug don't remove temporary files 27954 --recheck update $as_me by reconfiguring in the same conditions 27955 --file=FILE[:TEMPLATE] 27956 instantiate the configuration file FILE 27957 --header=FILE[:TEMPLATE] 27958 instantiate the configuration header FILE 27959 27960Configuration files: 27961$config_files 27962 27963Configuration headers: 27964$config_headers 27965 27966Configuration commands: 27967$config_commands 27968 27969Report bugs to the package provider." 27970 27971_ACEOF 27972cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27973ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 27974ac_cs_version="\\ 27975deadbeef config.status 0.7.2 27976configured by $0, generated by GNU Autoconf 2.68, 27977 with options \\"\$ac_cs_config\\" 27978 27979Copyright (C) 2010 Free Software Foundation, Inc. 27980This config.status script is free software; the Free Software Foundation 27981gives unlimited permission to copy, distribute and modify it." 27982 27983ac_pwd='$ac_pwd' 27984srcdir='$srcdir' 27985INSTALL='$INSTALL' 27986MKDIR_P='$MKDIR_P' 27987AWK='$AWK' 27988test -n "\$AWK" || AWK=awk 27989_ACEOF 27990 27991cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27992# The default lists apply if the user does not specify any file. 27993ac_need_defaults=: 27994while test $# != 0 27995do 27996 case $1 in 27997 --*=?*) 27998 ac_option=`expr "X$1" : 'X\([^=]*\)='` 27999 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 28000 ac_shift=: 28001 ;; 28002 --*=) 28003 ac_option=`expr "X$1" : 'X\([^=]*\)='` 28004 ac_optarg= 28005 ac_shift=: 28006 ;; 28007 *) 28008 ac_option=$1 28009 ac_optarg=$2 28010 ac_shift=shift 28011 ;; 28012 esac 28013 28014 case $ac_option in 28015 # Handling of the options. 28016 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 28017 ac_cs_recheck=: ;; 28018 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 28019 $as_echo "$ac_cs_version"; exit ;; 28020 --config | --confi | --conf | --con | --co | --c ) 28021 $as_echo "$ac_cs_config"; exit ;; 28022 --debug | --debu | --deb | --de | --d | -d ) 28023 debug=: ;; 28024 --file | --fil | --fi | --f ) 28025 $ac_shift 28026 case $ac_optarg in 28027 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 28028 '') as_fn_error $? "missing file argument" ;; 28029 esac 28030 as_fn_append CONFIG_FILES " '$ac_optarg'" 28031 ac_need_defaults=false;; 28032 --header | --heade | --head | --hea ) 28033 $ac_shift 28034 case $ac_optarg in 28035 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 28036 esac 28037 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 28038 ac_need_defaults=false;; 28039 --he | --h) 28040 # Conflict between --help and --header 28041 as_fn_error $? "ambiguous option: \`$1' 28042Try \`$0 --help' for more information.";; 28043 --help | --hel | -h ) 28044 $as_echo "$ac_cs_usage"; exit ;; 28045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 28046 | -silent | --silent | --silen | --sile | --sil | --si | --s) 28047 ac_cs_silent=: ;; 28048 28049 # This is an error. 28050 -*) as_fn_error $? "unrecognized option: \`$1' 28051Try \`$0 --help' for more information." ;; 28052 28053 *) as_fn_append ac_config_targets " $1" 28054 ac_need_defaults=false ;; 28055 28056 esac 28057 shift 28058done 28059 28060ac_configure_extra_args= 28061 28062if $ac_cs_silent; then 28063 exec 6>/dev/null 28064 ac_configure_extra_args="$ac_configure_extra_args --silent" 28065fi 28066 28067_ACEOF 28068cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 28069if \$ac_cs_recheck; then 28070 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 28071 shift 28072 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 28073 CONFIG_SHELL='$SHELL' 28074 export CONFIG_SHELL 28075 exec "\$@" 28076fi 28077 28078_ACEOF 28079cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 28080exec 5>>config.log 28081{ 28082 echo 28083 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 28084## Running $as_me. ## 28085_ASBOX 28086 $as_echo "$ac_log" 28087} >&5 28088 28089_ACEOF 28090cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 28091# 28092# INIT-COMMANDS 28093# 28094AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 28095 28096 28097# The HP-UX ksh and POSIX shell print the target directory to stdout 28098# if CDPATH is set. 28099(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 28100 28101sed_quote_subst='$sed_quote_subst' 28102double_quote_subst='$double_quote_subst' 28103delay_variable_subst='$delay_variable_subst' 28104macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 28105macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 28106enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 28107enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 28108pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 28109enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 28110SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 28111ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 28112PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 28113host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 28114host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 28115host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 28116build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 28117build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 28118build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 28119SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 28120Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 28121GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 28122EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 28123FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 28124LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 28125NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 28126LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 28127max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 28128ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 28129exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 28130lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 28131lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 28132lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 28133lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 28134lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 28135reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 28136reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 28137OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 28138deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 28139file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 28140file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 28141want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 28142DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 28143sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 28144AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 28145AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 28146archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 28147STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 28148RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 28149old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 28150old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 28151old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 28152lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 28153CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 28154CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 28155compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 28156GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 28157lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 28158lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 28159lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 28160lt_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"`' 28161nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 28162lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 28163objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 28164MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 28165lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 28166lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 28167lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 28168lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 28169lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 28170need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 28171MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 28172DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 28173NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 28174LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 28175OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 28176OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 28177libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 28178shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 28179extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 28180archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 28181enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 28182export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 28183whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 28184compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 28185old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 28186old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 28187archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 28188archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 28189module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 28190module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 28191with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 28192allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 28193no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 28194hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 28195hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 28196hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 28197hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 28198hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 28199hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 28200hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 28201inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 28202link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 28203always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 28204export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 28205exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 28206include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 28207prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 28208postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 28209file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 28210variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 28211need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 28212need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 28213version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 28214runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 28215shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 28216shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 28217libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 28218library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 28219soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 28220install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 28221postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 28222postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 28223finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 28224finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 28225hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 28226sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 28227sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 28228hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 28229enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 28230enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 28231enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 28232old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 28233striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 28234compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 28235predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 28236postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 28237predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 28238postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 28239compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 28240LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 28241reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 28242reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 28243old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 28244compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 28245GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 28246lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 28247lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 28248lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 28249lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 28250lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 28251archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 28252enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 28253export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 28254whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 28255compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 28256old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 28257old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 28258archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 28259archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 28260module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 28261module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 28262with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 28263allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 28264no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 28265hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 28266hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 28267hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 28268hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 28269hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 28270hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 28271hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 28272inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 28273link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 28274always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 28275export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 28276exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 28277include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 28278prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 28279postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 28280file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 28281hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 28282compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 28283predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 28284postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 28285predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 28286postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 28287compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 28288 28289LTCC='$LTCC' 28290LTCFLAGS='$LTCFLAGS' 28291compiler='$compiler_DEFAULT' 28292 28293# A function that is used when there is no print builtin or printf. 28294func_fallback_echo () 28295{ 28296 eval 'cat <<_LTECHO_EOF 28297\$1 28298_LTECHO_EOF' 28299} 28300 28301# Quote evaled strings. 28302for var in SHELL \ 28303ECHO \ 28304PATH_SEPARATOR \ 28305SED \ 28306GREP \ 28307EGREP \ 28308FGREP \ 28309LD \ 28310NM \ 28311LN_S \ 28312lt_SP2NL \ 28313lt_NL2SP \ 28314reload_flag \ 28315OBJDUMP \ 28316deplibs_check_method \ 28317file_magic_cmd \ 28318file_magic_glob \ 28319want_nocaseglob \ 28320DLLTOOL \ 28321sharedlib_from_linklib_cmd \ 28322AR \ 28323AR_FLAGS \ 28324archiver_list_spec \ 28325STRIP \ 28326RANLIB \ 28327CC \ 28328CFLAGS \ 28329compiler \ 28330lt_cv_sys_global_symbol_pipe \ 28331lt_cv_sys_global_symbol_to_cdecl \ 28332lt_cv_sys_global_symbol_to_c_name_address \ 28333lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 28334nm_file_list_spec \ 28335lt_prog_compiler_no_builtin_flag \ 28336lt_prog_compiler_pic \ 28337lt_prog_compiler_wl \ 28338lt_prog_compiler_static \ 28339lt_cv_prog_compiler_c_o \ 28340need_locks \ 28341MANIFEST_TOOL \ 28342DSYMUTIL \ 28343NMEDIT \ 28344LIPO \ 28345OTOOL \ 28346OTOOL64 \ 28347shrext_cmds \ 28348export_dynamic_flag_spec \ 28349whole_archive_flag_spec \ 28350compiler_needs_object \ 28351with_gnu_ld \ 28352allow_undefined_flag \ 28353no_undefined_flag \ 28354hardcode_libdir_flag_spec \ 28355hardcode_libdir_separator \ 28356exclude_expsyms \ 28357include_expsyms \ 28358file_list_spec \ 28359variables_saved_for_relink \ 28360libname_spec \ 28361library_names_spec \ 28362soname_spec \ 28363install_override_mode \ 28364finish_eval \ 28365old_striplib \ 28366striplib \ 28367compiler_lib_search_dirs \ 28368predep_objects \ 28369postdep_objects \ 28370predeps \ 28371postdeps \ 28372compiler_lib_search_path \ 28373LD_CXX \ 28374reload_flag_CXX \ 28375compiler_CXX \ 28376lt_prog_compiler_no_builtin_flag_CXX \ 28377lt_prog_compiler_pic_CXX \ 28378lt_prog_compiler_wl_CXX \ 28379lt_prog_compiler_static_CXX \ 28380lt_cv_prog_compiler_c_o_CXX \ 28381export_dynamic_flag_spec_CXX \ 28382whole_archive_flag_spec_CXX \ 28383compiler_needs_object_CXX \ 28384with_gnu_ld_CXX \ 28385allow_undefined_flag_CXX \ 28386no_undefined_flag_CXX \ 28387hardcode_libdir_flag_spec_CXX \ 28388hardcode_libdir_separator_CXX \ 28389exclude_expsyms_CXX \ 28390include_expsyms_CXX \ 28391file_list_spec_CXX \ 28392compiler_lib_search_dirs_CXX \ 28393predep_objects_CXX \ 28394postdep_objects_CXX \ 28395predeps_CXX \ 28396postdeps_CXX \ 28397compiler_lib_search_path_CXX; do 28398 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 28399 *[\\\\\\\`\\"\\\$]*) 28400 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 28401 ;; 28402 *) 28403 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 28404 ;; 28405 esac 28406done 28407 28408# Double-quote double-evaled strings. 28409for var in reload_cmds \ 28410old_postinstall_cmds \ 28411old_postuninstall_cmds \ 28412old_archive_cmds \ 28413extract_expsyms_cmds \ 28414old_archive_from_new_cmds \ 28415old_archive_from_expsyms_cmds \ 28416archive_cmds \ 28417archive_expsym_cmds \ 28418module_cmds \ 28419module_expsym_cmds \ 28420export_symbols_cmds \ 28421prelink_cmds \ 28422postlink_cmds \ 28423postinstall_cmds \ 28424postuninstall_cmds \ 28425finish_cmds \ 28426sys_lib_search_path_spec \ 28427sys_lib_dlsearch_path_spec \ 28428reload_cmds_CXX \ 28429old_archive_cmds_CXX \ 28430old_archive_from_new_cmds_CXX \ 28431old_archive_from_expsyms_cmds_CXX \ 28432archive_cmds_CXX \ 28433archive_expsym_cmds_CXX \ 28434module_cmds_CXX \ 28435module_expsym_cmds_CXX \ 28436export_symbols_cmds_CXX \ 28437prelink_cmds_CXX \ 28438postlink_cmds_CXX; do 28439 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 28440 *[\\\\\\\`\\"\\\$]*) 28441 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 28442 ;; 28443 *) 28444 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 28445 ;; 28446 esac 28447done 28448 28449ac_aux_dir='$ac_aux_dir' 28450xsi_shell='$xsi_shell' 28451lt_shell_append='$lt_shell_append' 28452 28453# See if we are running on zsh, and set the options which allow our 28454# commands through without removal of \ escapes INIT. 28455if test -n "\${ZSH_VERSION+set}" ; then 28456 setopt NO_GLOB_SUBST 28457fi 28458 28459 28460 PACKAGE='$PACKAGE' 28461 VERSION='$VERSION' 28462 TIMESTAMP='$TIMESTAMP' 28463 RM='$RM' 28464 ofile='$ofile' 28465 28466 28467 28468 28469 28470# Capture the value of obsolete ALL_LINGUAS because we need it to compute 28471 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 28472 # from automake < 1.5. 28473 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 28474 # Capture the value of LINGUAS because we need it to compute CATALOGS. 28475 LINGUAS="${LINGUAS-%UNSET%}" 28476 28477 28478_ACEOF 28479 28480cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 28481 28482# Handling of arguments. 28483for ac_config_target in $ac_config_targets 28484do 28485 case $ac_config_target in 28486 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 28487 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 28488 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 28489 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 28490 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 28491 "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;; 28492 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;; 28493 "plugins/liboggedit/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/liboggedit/Makefile" ;; 28494 "plugins/libmp4ff/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/libmp4ff/Makefile" ;; 28495 "plugins/libparser/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/libparser/Makefile" ;; 28496 "plugins/gme/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/gme/Makefile" ;; 28497 "plugins/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/alsa/Makefile" ;; 28498 "plugins/hotkeys/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/hotkeys/Makefile" ;; 28499 "plugins/lastfm/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/lastfm/Makefile" ;; 28500 "plugins/ffap/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ffap/Makefile" ;; 28501 "plugins/mp3/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mp3/Makefile" ;; 28502 "plugins/vorbis/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/vorbis/Makefile" ;; 28503 "plugins/flac/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/flac/Makefile" ;; 28504 "plugins/wavpack/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/wavpack/Makefile" ;; 28505 "plugins/sndfile/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/sndfile/Makefile" ;; 28506 "plugins/vfs_curl/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/vfs_curl/Makefile" ;; 28507 "plugins/cdda/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/cdda/Makefile" ;; 28508 "plugins/gtkui/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/gtkui/Makefile" ;; 28509 "plugins/nullout/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/nullout/Makefile" ;; 28510 "plugins/vtx/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/vtx/Makefile" ;; 28511 "plugins/adplug/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/adplug/Makefile" ;; 28512 "plugins/ffmpeg/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ffmpeg/Makefile" ;; 28513 "plugins/sid/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/sid/Makefile" ;; 28514 "plugins/oss/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/oss/Makefile" ;; 28515 "plugins/pulse/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pulse/Makefile" ;; 28516 "plugins/artwork/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/artwork/Makefile" ;; 28517 "plugins/supereq/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/supereq/Makefile" ;; 28518 "plugins/notify/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/notify/Makefile" ;; 28519 "plugins/shellexec/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/shellexec/Makefile" ;; 28520 "plugins/musepack/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/musepack/Makefile" ;; 28521 "plugins/wildmidi/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/wildmidi/Makefile" ;; 28522 "plugins/tta/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/tta/Makefile" ;; 28523 "plugins/dca/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dca/Makefile" ;; 28524 "plugins/aac/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/aac/Makefile" ;; 28525 "plugins/mms/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mms/Makefile" ;; 28526 "plugins/dsp_libsrc/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dsp_libsrc/Makefile" ;; 28527 "plugins/m3u/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/m3u/Makefile" ;; 28528 "plugins/vfs_zip/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/vfs_zip/Makefile" ;; 28529 "plugins/converter/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/converter/Makefile" ;; 28530 "plugins/dumb/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dumb/Makefile" ;; 28531 "plugins/ao/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ao/Makefile" ;; 28532 "plugins/shn/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/shn/Makefile" ;; 28533 "plugins/mono2stereo/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mono2stereo/Makefile" ;; 28534 "plugins/shellexecui/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/shellexecui/Makefile" ;; 28535 "plugins/alac/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/alac/Makefile" ;; 28536 "plugins/wma/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/wma/Makefile" ;; 28537 "plugins/pltbrowser/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pltbrowser/Makefile" ;; 28538 "plugins/sc68/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/sc68/Makefile" ;; 28539 "plugins/coreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/coreaudio/Makefile" ;; 28540 "intl/Makefile") CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;; 28541 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 28542 "deadbeef.desktop") CONFIG_FILES="$CONFIG_FILES deadbeef.desktop" ;; 28543 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 28544 28545 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 28546 esac 28547done 28548 28549 28550# If the user did not use the arguments to specify the items to instantiate, 28551# then the envvar interface is used. Set only those that are not. 28552# We use the long form for the default assignment because of an extremely 28553# bizarre bug on SunOS 4.1.3. 28554if $ac_need_defaults; then 28555 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 28556 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 28557 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 28558fi 28559 28560# Have a temporary directory for convenience. Make it in the build tree 28561# simply because there is no reason against having it here, and in addition, 28562# creating and moving files from /tmp can sometimes cause problems. 28563# Hook for its removal unless debugging. 28564# Note that there is a small window in which the directory will not be cleaned: 28565# after its creation but before its name has been assigned to `$tmp'. 28566$debug || 28567{ 28568 tmp= ac_tmp= 28569 trap 'exit_status=$? 28570 : "${ac_tmp:=$tmp}" 28571 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 28572' 0 28573 trap 'as_fn_exit 1' 1 2 13 15 28574} 28575# Create a (secure) tmp directory for tmp files. 28576 28577{ 28578 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 28579 test -d "$tmp" 28580} || 28581{ 28582 tmp=./conf$$-$RANDOM 28583 (umask 077 && mkdir "$tmp") 28584} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 28585ac_tmp=$tmp 28586 28587# Set up the scripts for CONFIG_FILES section. 28588# No need to generate them if there are no CONFIG_FILES. 28589# This happens for instance with `./config.status config.h'. 28590if test -n "$CONFIG_FILES"; then 28591 28592 28593ac_cr=`echo X | tr X '\015'` 28594# On cygwin, bash can eat \r inside `` if the user requested igncr. 28595# But we know of no other shell where ac_cr would be empty at this 28596# point, so we can use a bashism as a fallback. 28597if test "x$ac_cr" = x; then 28598 eval ac_cr=\$\'\\r\' 28599fi 28600ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 28601if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 28602 ac_cs_awk_cr='\\r' 28603else 28604 ac_cs_awk_cr=$ac_cr 28605fi 28606 28607echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 28608_ACEOF 28609 28610 28611{ 28612 echo "cat >conf$$subs.awk <<_ACEOF" && 28613 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 28614 echo "_ACEOF" 28615} >conf$$subs.sh || 28616 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 28617ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 28618ac_delim='%!_!# ' 28619for ac_last_try in false false false false false :; do 28620 . ./conf$$subs.sh || 28621 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 28622 28623 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 28624 if test $ac_delim_n = $ac_delim_num; then 28625 break 28626 elif $ac_last_try; then 28627 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 28628 else 28629 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 28630 fi 28631done 28632rm -f conf$$subs.sh 28633 28634cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 28635cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 28636_ACEOF 28637sed -n ' 28638h 28639s/^/S["/; s/!.*/"]=/ 28640p 28641g 28642s/^[^!]*!// 28643:repl 28644t repl 28645s/'"$ac_delim"'$// 28646t delim 28647:nl 28648h 28649s/\(.\{148\}\)..*/\1/ 28650t more1 28651s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 28652p 28653n 28654b repl 28655:more1 28656s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 28657p 28658g 28659s/.\{148\}// 28660t nl 28661:delim 28662h 28663s/\(.\{148\}\)..*/\1/ 28664t more2 28665s/["\\]/\\&/g; s/^/"/; s/$/"/ 28666p 28667b 28668:more2 28669s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 28670p 28671g 28672s/.\{148\}// 28673t delim 28674' <conf$$subs.awk | sed ' 28675/^[^""]/{ 28676 N 28677 s/\n// 28678} 28679' >>$CONFIG_STATUS || ac_write_fail=1 28680rm -f conf$$subs.awk 28681cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 28682_ACAWK 28683cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 28684 for (key in S) S_is_set[key] = 1 28685 FS = "" 28686 28687} 28688{ 28689 line = $ 0 28690 nfields = split(line, field, "@") 28691 substed = 0 28692 len = length(field[1]) 28693 for (i = 2; i < nfields; i++) { 28694 key = field[i] 28695 keylen = length(key) 28696 if (S_is_set[key]) { 28697 value = S[key] 28698 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 28699 len += length(value) + length(field[++i]) 28700 substed = 1 28701 } else 28702 len += 1 + keylen 28703 } 28704 28705 print line 28706} 28707 28708_ACAWK 28709_ACEOF 28710cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 28711if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 28712 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 28713else 28714 cat 28715fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 28716 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 28717_ACEOF 28718 28719# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 28720# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 28721# trailing colons and then remove the whole line if VPATH becomes empty 28722# (actually we leave an empty line to preserve line numbers). 28723if test "x$srcdir" = x.; then 28724 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 28725h 28726s/// 28727s/^/:/ 28728s/[ ]*$/:/ 28729s/:\$(srcdir):/:/g 28730s/:\${srcdir}:/:/g 28731s/:@srcdir@:/:/g 28732s/^:*// 28733s/:*$// 28734x 28735s/\(=[ ]*\).*/\1/ 28736G 28737s/\n// 28738s/^[^=]*=[ ]*$// 28739}' 28740fi 28741 28742cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 28743fi # test -n "$CONFIG_FILES" 28744 28745# Set up the scripts for CONFIG_HEADERS section. 28746# No need to generate them if there are no CONFIG_HEADERS. 28747# This happens for instance with `./config.status Makefile'. 28748if test -n "$CONFIG_HEADERS"; then 28749cat >"$ac_tmp/defines.awk" <<\_ACAWK || 28750BEGIN { 28751_ACEOF 28752 28753# Transform confdefs.h into an awk script `defines.awk', embedded as 28754# here-document in config.status, that substitutes the proper values into 28755# config.h.in to produce config.h. 28756 28757# Create a delimiter string that does not exist in confdefs.h, to ease 28758# handling of long lines. 28759ac_delim='%!_!# ' 28760for ac_last_try in false false :; do 28761 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 28762 if test -z "$ac_tt"; then 28763 break 28764 elif $ac_last_try; then 28765 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 28766 else 28767 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 28768 fi 28769done 28770 28771# For the awk script, D is an array of macro values keyed by name, 28772# likewise P contains macro parameters if any. Preserve backslash 28773# newline sequences. 28774 28775ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 28776sed -n ' 28777s/.\{148\}/&'"$ac_delim"'/g 28778t rset 28779:rset 28780s/^[ ]*#[ ]*define[ ][ ]*/ / 28781t def 28782d 28783:def 28784s/\\$// 28785t bsnl 28786s/["\\]/\\&/g 28787s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 28788D["\1"]=" \3"/p 28789s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 28790d 28791:bsnl 28792s/["\\]/\\&/g 28793s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 28794D["\1"]=" \3\\\\\\n"\\/p 28795t cont 28796s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 28797t cont 28798d 28799:cont 28800n 28801s/.\{148\}/&'"$ac_delim"'/g 28802t clear 28803:clear 28804s/\\$// 28805t bsnlc 28806s/["\\]/\\&/g; s/^/"/; s/$/"/p 28807d 28808:bsnlc 28809s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 28810b cont 28811' <confdefs.h | sed ' 28812s/'"$ac_delim"'/"\\\ 28813"/g' >>$CONFIG_STATUS || ac_write_fail=1 28814 28815cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 28816 for (key in D) D_is_set[key] = 1 28817 FS = "" 28818} 28819/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 28820 line = \$ 0 28821 split(line, arg, " ") 28822 if (arg[1] == "#") { 28823 defundef = arg[2] 28824 mac1 = arg[3] 28825 } else { 28826 defundef = substr(arg[1], 2) 28827 mac1 = arg[2] 28828 } 28829 split(mac1, mac2, "(") #) 28830 macro = mac2[1] 28831 prefix = substr(line, 1, index(line, defundef) - 1) 28832 if (D_is_set[macro]) { 28833 # Preserve the white space surrounding the "#". 28834 print prefix "define", macro P[macro] D[macro] 28835 next 28836 } else { 28837 # Replace #undef with comments. This is necessary, for example, 28838 # in the case of _POSIX_SOURCE, which is predefined and required 28839 # on some systems where configure will not decide to define it. 28840 if (defundef == "undef") { 28841 print "/*", prefix defundef, macro, "*/" 28842 next 28843 } 28844 } 28845} 28846{ print } 28847_ACAWK 28848_ACEOF 28849cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 28850 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 28851fi # test -n "$CONFIG_HEADERS" 28852 28853 28854eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 28855shift 28856for ac_tag 28857do 28858 case $ac_tag in 28859 :[FHLC]) ac_mode=$ac_tag; continue;; 28860 esac 28861 case $ac_mode$ac_tag in 28862 :[FHL]*:*);; 28863 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 28864 :[FH]-) ac_tag=-:-;; 28865 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 28866 esac 28867 ac_save_IFS=$IFS 28868 IFS=: 28869 set x $ac_tag 28870 IFS=$ac_save_IFS 28871 shift 28872 ac_file=$1 28873 shift 28874 28875 case $ac_mode in 28876 :L) ac_source=$1;; 28877 :[FH]) 28878 ac_file_inputs= 28879 for ac_f 28880 do 28881 case $ac_f in 28882 -) ac_f="$ac_tmp/stdin";; 28883 *) # Look for the file first in the build tree, then in the source tree 28884 # (if the path is not absolute). The absolute path cannot be DOS-style, 28885 # because $ac_f cannot contain `:'. 28886 test -f "$ac_f" || 28887 case $ac_f in 28888 [\\/$]*) false;; 28889 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 28890 esac || 28891 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 28892 esac 28893 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 28894 as_fn_append ac_file_inputs " '$ac_f'" 28895 done 28896 28897 # Let's still pretend it is `configure' which instantiates (i.e., don't 28898 # use $as_me), people would be surprised to read: 28899 # /* config.h. Generated by config.status. */ 28900 configure_input='Generated from '` 28901 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 28902 `' by configure.' 28903 if test x"$ac_file" != x-; then 28904 configure_input="$ac_file. $configure_input" 28905 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 28906$as_echo "$as_me: creating $ac_file" >&6;} 28907 fi 28908 # Neutralize special characters interpreted by sed in replacement strings. 28909 case $configure_input in #( 28910 *\&* | *\|* | *\\* ) 28911 ac_sed_conf_input=`$as_echo "$configure_input" | 28912 sed 's/[\\\\&|]/\\\\&/g'`;; #( 28913 *) ac_sed_conf_input=$configure_input;; 28914 esac 28915 28916 case $ac_tag in 28917 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 28918 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 28919 esac 28920 ;; 28921 esac 28922 28923 ac_dir=`$as_dirname -- "$ac_file" || 28924$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 28925 X"$ac_file" : 'X\(//\)[^/]' \| \ 28926 X"$ac_file" : 'X\(//\)$' \| \ 28927 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 28928$as_echo X"$ac_file" | 28929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 28930 s//\1/ 28931 q 28932 } 28933 /^X\(\/\/\)[^/].*/{ 28934 s//\1/ 28935 q 28936 } 28937 /^X\(\/\/\)$/{ 28938 s//\1/ 28939 q 28940 } 28941 /^X\(\/\).*/{ 28942 s//\1/ 28943 q 28944 } 28945 s/.*/./; q'` 28946 as_dir="$ac_dir"; as_fn_mkdir_p 28947 ac_builddir=. 28948 28949case "$ac_dir" in 28950.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 28951*) 28952 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 28953 # A ".." for each directory in $ac_dir_suffix. 28954 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 28955 case $ac_top_builddir_sub in 28956 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 28957 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 28958 esac ;; 28959esac 28960ac_abs_top_builddir=$ac_pwd 28961ac_abs_builddir=$ac_pwd$ac_dir_suffix 28962# for backward compatibility: 28963ac_top_builddir=$ac_top_build_prefix 28964 28965case $srcdir in 28966 .) # We are building in place. 28967 ac_srcdir=. 28968 ac_top_srcdir=$ac_top_builddir_sub 28969 ac_abs_top_srcdir=$ac_pwd ;; 28970 [\\/]* | ?:[\\/]* ) # Absolute name. 28971 ac_srcdir=$srcdir$ac_dir_suffix; 28972 ac_top_srcdir=$srcdir 28973 ac_abs_top_srcdir=$srcdir ;; 28974 *) # Relative name. 28975 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 28976 ac_top_srcdir=$ac_top_build_prefix$srcdir 28977 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 28978esac 28979ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 28980 28981 28982 case $ac_mode in 28983 :F) 28984 # 28985 # CONFIG_FILE 28986 # 28987 28988 case $INSTALL in 28989 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 28990 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 28991 esac 28992 ac_MKDIR_P=$MKDIR_P 28993 case $MKDIR_P in 28994 [\\/$]* | ?:[\\/]* ) ;; 28995 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 28996 esac 28997_ACEOF 28998 28999cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29000# If the template does not know about datarootdir, expand it. 29001# FIXME: This hack should be removed a few years after 2.60. 29002ac_datarootdir_hack=; ac_datarootdir_seen= 29003ac_sed_dataroot=' 29004/datarootdir/ { 29005 p 29006 q 29007} 29008/@datadir@/p 29009/@docdir@/p 29010/@infodir@/p 29011/@localedir@/p 29012/@mandir@/p' 29013case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 29014*datarootdir*) ac_datarootdir_seen=yes;; 29015*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 29016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 29017$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 29018_ACEOF 29019cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29020 ac_datarootdir_hack=' 29021 s&@datadir@&$datadir&g 29022 s&@docdir@&$docdir&g 29023 s&@infodir@&$infodir&g 29024 s&@localedir@&$localedir&g 29025 s&@mandir@&$mandir&g 29026 s&\\\${datarootdir}&$datarootdir&g' ;; 29027esac 29028_ACEOF 29029 29030# Neutralize VPATH when `$srcdir' = `.'. 29031# Shell code in configure.ac might set extrasub. 29032# FIXME: do we really want to maintain this feature? 29033cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29034ac_sed_extra="$ac_vpsub 29035$extrasub 29036_ACEOF 29037cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29038:t 29039/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 29040s|@configure_input@|$ac_sed_conf_input|;t t 29041s&@top_builddir@&$ac_top_builddir_sub&;t t 29042s&@top_build_prefix@&$ac_top_build_prefix&;t t 29043s&@srcdir@&$ac_srcdir&;t t 29044s&@abs_srcdir@&$ac_abs_srcdir&;t t 29045s&@top_srcdir@&$ac_top_srcdir&;t t 29046s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 29047s&@builddir@&$ac_builddir&;t t 29048s&@abs_builddir@&$ac_abs_builddir&;t t 29049s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 29050s&@INSTALL@&$ac_INSTALL&;t t 29051s&@MKDIR_P@&$ac_MKDIR_P&;t t 29052$ac_datarootdir_hack 29053" 29054eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 29055 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 29056 29057test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 29058 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 29059 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 29060 "$ac_tmp/out"`; test -z "$ac_out"; } && 29061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 29062which seems to be undefined. Please make sure it is defined" >&5 29063$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 29064which seems to be undefined. Please make sure it is defined" >&2;} 29065 29066 rm -f "$ac_tmp/stdin" 29067 case $ac_file in 29068 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 29069 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 29070 esac \ 29071 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 29072 ;; 29073 :H) 29074 # 29075 # CONFIG_HEADER 29076 # 29077 if test x"$ac_file" != x-; then 29078 { 29079 $as_echo "/* $configure_input */" \ 29080 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 29081 } >"$ac_tmp/config.h" \ 29082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 29083 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 29084 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 29085$as_echo "$as_me: $ac_file is unchanged" >&6;} 29086 else 29087 rm -f "$ac_file" 29088 mv "$ac_tmp/config.h" "$ac_file" \ 29089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 29090 fi 29091 else 29092 $as_echo "/* $configure_input */" \ 29093 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 29094 || as_fn_error $? "could not create -" "$LINENO" 5 29095 fi 29096# Compute "$ac_file"'s index in $config_headers. 29097_am_arg="$ac_file" 29098_am_stamp_count=1 29099for _am_header in $config_headers :; do 29100 case $_am_header in 29101 $_am_arg | $_am_arg:* ) 29102 break ;; 29103 * ) 29104 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 29105 esac 29106done 29107echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 29108$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 29109 X"$_am_arg" : 'X\(//\)[^/]' \| \ 29110 X"$_am_arg" : 'X\(//\)$' \| \ 29111 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 29112$as_echo X"$_am_arg" | 29113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 29114 s//\1/ 29115 q 29116 } 29117 /^X\(\/\/\)[^/].*/{ 29118 s//\1/ 29119 q 29120 } 29121 /^X\(\/\/\)$/{ 29122 s//\1/ 29123 q 29124 } 29125 /^X\(\/\).*/{ 29126 s//\1/ 29127 q 29128 } 29129 s/.*/./; q'`/stamp-h$_am_stamp_count 29130 ;; 29131 29132 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 29133$as_echo "$as_me: executing $ac_file commands" >&6;} 29134 ;; 29135 esac 29136 29137 29138 case $ac_file$ac_mode in 29139 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 29140 # Autoconf 2.62 quotes --file arguments for eval, but not when files 29141 # are listed without --file. Let's play safe and only enable the eval 29142 # if we detect the quoting. 29143 case $CONFIG_FILES in 29144 *\'*) eval set x "$CONFIG_FILES" ;; 29145 *) set x $CONFIG_FILES ;; 29146 esac 29147 shift 29148 for mf 29149 do 29150 # Strip MF so we end up with the name of the file. 29151 mf=`echo "$mf" | sed -e 's/:.*$//'` 29152 # Check whether this is an Automake generated Makefile or not. 29153 # We used to match only the files named `Makefile.in', but 29154 # some people rename them; so instead we look at the file content. 29155 # Grep'ing the first line is not enough: some people post-process 29156 # each Makefile.in and add a new line on top of each file to say so. 29157 # Grep'ing the whole file is not good either: AIX grep has a line 29158 # limit of 2048, but all sed's we know have understand at least 4000. 29159 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 29160 dirpart=`$as_dirname -- "$mf" || 29161$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 29162 X"$mf" : 'X\(//\)[^/]' \| \ 29163 X"$mf" : 'X\(//\)$' \| \ 29164 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 29165$as_echo X"$mf" | 29166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 29167 s//\1/ 29168 q 29169 } 29170 /^X\(\/\/\)[^/].*/{ 29171 s//\1/ 29172 q 29173 } 29174 /^X\(\/\/\)$/{ 29175 s//\1/ 29176 q 29177 } 29178 /^X\(\/\).*/{ 29179 s//\1/ 29180 q 29181 } 29182 s/.*/./; q'` 29183 else 29184 continue 29185 fi 29186 # Extract the definition of DEPDIR, am__include, and am__quote 29187 # from the Makefile without running `make'. 29188 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 29189 test -z "$DEPDIR" && continue 29190 am__include=`sed -n 's/^am__include = //p' < "$mf"` 29191 test -z "am__include" && continue 29192 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 29193 # When using ansi2knr, U may be empty or an underscore; expand it 29194 U=`sed -n 's/^U = //p' < "$mf"` 29195 # Find all dependency output files, they are included files with 29196 # $(DEPDIR) in their names. We invoke sed twice because it is the 29197 # simplest approach to changing $(DEPDIR) to its actual value in the 29198 # expansion. 29199 for file in `sed -n " 29200 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 29201 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 29202 # Make sure the directory exists. 29203 test -f "$dirpart/$file" && continue 29204 fdir=`$as_dirname -- "$file" || 29205$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 29206 X"$file" : 'X\(//\)[^/]' \| \ 29207 X"$file" : 'X\(//\)$' \| \ 29208 X"$file" : 'X\(/\)' \| . 2>/dev/null || 29209$as_echo X"$file" | 29210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 29211 s//\1/ 29212 q 29213 } 29214 /^X\(\/\/\)[^/].*/{ 29215 s//\1/ 29216 q 29217 } 29218 /^X\(\/\/\)$/{ 29219 s//\1/ 29220 q 29221 } 29222 /^X\(\/\).*/{ 29223 s//\1/ 29224 q 29225 } 29226 s/.*/./; q'` 29227 as_dir=$dirpart/$fdir; as_fn_mkdir_p 29228 # echo "creating $dirpart/$file" 29229 echo '# dummy' > "$dirpart/$file" 29230 done 29231 done 29232} 29233 ;; 29234 "libtool":C) 29235 29236 # See if we are running on zsh, and set the options which allow our 29237 # commands through without removal of \ escapes. 29238 if test -n "${ZSH_VERSION+set}" ; then 29239 setopt NO_GLOB_SUBST 29240 fi 29241 29242 cfgfile="${ofile}T" 29243 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 29244 $RM "$cfgfile" 29245 29246 cat <<_LT_EOF >> "$cfgfile" 29247#! $SHELL 29248 29249# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 29250# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 29251# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 29252# NOTE: Changes made to this file will be lost: look at ltmain.sh. 29253# 29254# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 29255# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 29256# Foundation, Inc. 29257# Written by Gordon Matzigkeit, 1996 29258# 29259# This file is part of GNU Libtool. 29260# 29261# GNU Libtool is free software; you can redistribute it and/or 29262# modify it under the terms of the GNU General Public License as 29263# published by the Free Software Foundation; either version 2 of 29264# the License, or (at your option) any later version. 29265# 29266# As a special exception to the GNU General Public License, 29267# if you distribute this file as part of a program or library that 29268# is built using GNU Libtool, you may include this file under the 29269# same distribution terms that you use for the rest of that program. 29270# 29271# GNU Libtool is distributed in the hope that it will be useful, 29272# but WITHOUT ANY WARRANTY; without even the implied warranty of 29273# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 29274# GNU General Public License for more details. 29275# 29276# You should have received a copy of the GNU General Public License 29277# along with GNU Libtool; see the file COPYING. If not, a copy 29278# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 29279# obtained by writing to the Free Software Foundation, Inc., 29280# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 29281 29282 29283# The names of the tagged configurations supported by this script. 29284available_tags="CXX " 29285 29286# ### BEGIN LIBTOOL CONFIG 29287 29288# Which release of libtool.m4 was used? 29289macro_version=$macro_version 29290macro_revision=$macro_revision 29291 29292# Whether or not to build static libraries. 29293build_old_libs=$enable_static 29294 29295# Whether or not to build shared libraries. 29296build_libtool_libs=$enable_shared 29297 29298# What type of objects to build. 29299pic_mode=$pic_mode 29300 29301# Whether or not to optimize for fast installation. 29302fast_install=$enable_fast_install 29303 29304# Shell to use when invoking shell scripts. 29305SHELL=$lt_SHELL 29306 29307# An echo program that protects backslashes. 29308ECHO=$lt_ECHO 29309 29310# The PATH separator for the build system. 29311PATH_SEPARATOR=$lt_PATH_SEPARATOR 29312 29313# The host system. 29314host_alias=$host_alias 29315host=$host 29316host_os=$host_os 29317 29318# The build system. 29319build_alias=$build_alias 29320build=$build 29321build_os=$build_os 29322 29323# A sed program that does not truncate output. 29324SED=$lt_SED 29325 29326# Sed that helps us avoid accidentally triggering echo(1) options like -n. 29327Xsed="\$SED -e 1s/^X//" 29328 29329# A grep program that handles long lines. 29330GREP=$lt_GREP 29331 29332# An ERE matcher. 29333EGREP=$lt_EGREP 29334 29335# A literal string matcher. 29336FGREP=$lt_FGREP 29337 29338# A BSD- or MS-compatible name lister. 29339NM=$lt_NM 29340 29341# Whether we need soft or hard links. 29342LN_S=$lt_LN_S 29343 29344# What is the maximum length of a command? 29345max_cmd_len=$max_cmd_len 29346 29347# Object file suffix (normally "o"). 29348objext=$ac_objext 29349 29350# Executable file suffix (normally ""). 29351exeext=$exeext 29352 29353# whether the shell understands "unset". 29354lt_unset=$lt_unset 29355 29356# turn spaces into newlines. 29357SP2NL=$lt_lt_SP2NL 29358 29359# turn newlines into spaces. 29360NL2SP=$lt_lt_NL2SP 29361 29362# convert \$build file names to \$host format. 29363to_host_file_cmd=$lt_cv_to_host_file_cmd 29364 29365# convert \$build files to toolchain format. 29366to_tool_file_cmd=$lt_cv_to_tool_file_cmd 29367 29368# An object symbol dumper. 29369OBJDUMP=$lt_OBJDUMP 29370 29371# Method to check whether dependent libraries are shared objects. 29372deplibs_check_method=$lt_deplibs_check_method 29373 29374# Command to use when deplibs_check_method = "file_magic". 29375file_magic_cmd=$lt_file_magic_cmd 29376 29377# How to find potential files when deplibs_check_method = "file_magic". 29378file_magic_glob=$lt_file_magic_glob 29379 29380# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 29381want_nocaseglob=$lt_want_nocaseglob 29382 29383# DLL creation program. 29384DLLTOOL=$lt_DLLTOOL 29385 29386# Command to associate shared and link libraries. 29387sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 29388 29389# The archiver. 29390AR=$lt_AR 29391 29392# Flags to create an archive. 29393AR_FLAGS=$lt_AR_FLAGS 29394 29395# How to feed a file listing to the archiver. 29396archiver_list_spec=$lt_archiver_list_spec 29397 29398# A symbol stripping program. 29399STRIP=$lt_STRIP 29400 29401# Commands used to install an old-style archive. 29402RANLIB=$lt_RANLIB 29403old_postinstall_cmds=$lt_old_postinstall_cmds 29404old_postuninstall_cmds=$lt_old_postuninstall_cmds 29405 29406# Whether to use a lock for old archive extraction. 29407lock_old_archive_extraction=$lock_old_archive_extraction 29408 29409# A C compiler. 29410LTCC=$lt_CC 29411 29412# LTCC compiler flags. 29413LTCFLAGS=$lt_CFLAGS 29414 29415# Take the output of nm and produce a listing of raw symbols and C names. 29416global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 29417 29418# Transform the output of nm in a proper C declaration. 29419global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 29420 29421# Transform the output of nm in a C name address pair. 29422global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 29423 29424# Transform the output of nm in a C name address pair when lib prefix is needed. 29425global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 29426 29427# Specify filename containing input files for \$NM. 29428nm_file_list_spec=$lt_nm_file_list_spec 29429 29430# The root where to search for dependent libraries,and in which our libraries should be installed. 29431lt_sysroot=$lt_sysroot 29432 29433# The name of the directory that contains temporary libtool files. 29434objdir=$objdir 29435 29436# Used to examine libraries when file_magic_cmd begins with "file". 29437MAGIC_CMD=$MAGIC_CMD 29438 29439# Must we lock files when doing compilation? 29440need_locks=$lt_need_locks 29441 29442# Manifest tool. 29443MANIFEST_TOOL=$lt_MANIFEST_TOOL 29444 29445# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 29446DSYMUTIL=$lt_DSYMUTIL 29447 29448# Tool to change global to local symbols on Mac OS X. 29449NMEDIT=$lt_NMEDIT 29450 29451# Tool to manipulate fat objects and archives on Mac OS X. 29452LIPO=$lt_LIPO 29453 29454# ldd/readelf like tool for Mach-O binaries on Mac OS X. 29455OTOOL=$lt_OTOOL 29456 29457# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 29458OTOOL64=$lt_OTOOL64 29459 29460# Old archive suffix (normally "a"). 29461libext=$libext 29462 29463# Shared library suffix (normally ".so"). 29464shrext_cmds=$lt_shrext_cmds 29465 29466# The commands to extract the exported symbol list from a shared archive. 29467extract_expsyms_cmds=$lt_extract_expsyms_cmds 29468 29469# Variables whose values should be saved in libtool wrapper scripts and 29470# restored at link time. 29471variables_saved_for_relink=$lt_variables_saved_for_relink 29472 29473# Do we need the "lib" prefix for modules? 29474need_lib_prefix=$need_lib_prefix 29475 29476# Do we need a version for libraries? 29477need_version=$need_version 29478 29479# Library versioning type. 29480version_type=$version_type 29481 29482# Shared library runtime path variable. 29483runpath_var=$runpath_var 29484 29485# Shared library path variable. 29486shlibpath_var=$shlibpath_var 29487 29488# Is shlibpath searched before the hard-coded library search path? 29489shlibpath_overrides_runpath=$shlibpath_overrides_runpath 29490 29491# Format of library name prefix. 29492libname_spec=$lt_libname_spec 29493 29494# List of archive names. First name is the real one, the rest are links. 29495# The last name is the one that the linker finds with -lNAME 29496library_names_spec=$lt_library_names_spec 29497 29498# The coded name of the library, if different from the real name. 29499soname_spec=$lt_soname_spec 29500 29501# Permission mode override for installation of shared libraries. 29502install_override_mode=$lt_install_override_mode 29503 29504# Command to use after installation of a shared archive. 29505postinstall_cmds=$lt_postinstall_cmds 29506 29507# Command to use after uninstallation of a shared archive. 29508postuninstall_cmds=$lt_postuninstall_cmds 29509 29510# Commands used to finish a libtool library installation in a directory. 29511finish_cmds=$lt_finish_cmds 29512 29513# As "finish_cmds", except a single script fragment to be evaled but 29514# not shown. 29515finish_eval=$lt_finish_eval 29516 29517# Whether we should hardcode library paths into libraries. 29518hardcode_into_libs=$hardcode_into_libs 29519 29520# Compile-time system search path for libraries. 29521sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 29522 29523# Run-time system search path for libraries. 29524sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 29525 29526# Whether dlopen is supported. 29527dlopen_support=$enable_dlopen 29528 29529# Whether dlopen of programs is supported. 29530dlopen_self=$enable_dlopen_self 29531 29532# Whether dlopen of statically linked programs is supported. 29533dlopen_self_static=$enable_dlopen_self_static 29534 29535# Commands to strip libraries. 29536old_striplib=$lt_old_striplib 29537striplib=$lt_striplib 29538 29539 29540# The linker used to build libraries. 29541LD=$lt_LD 29542 29543# How to create reloadable object files. 29544reload_flag=$lt_reload_flag 29545reload_cmds=$lt_reload_cmds 29546 29547# Commands used to build an old-style archive. 29548old_archive_cmds=$lt_old_archive_cmds 29549 29550# A language specific compiler. 29551CC=$lt_compiler 29552 29553# Is the compiler the GNU compiler? 29554with_gcc=$GCC 29555 29556# Compiler flag to turn off builtin functions. 29557no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 29558 29559# Additional compiler flags for building library objects. 29560pic_flag=$lt_lt_prog_compiler_pic 29561 29562# How to pass a linker flag through the compiler. 29563wl=$lt_lt_prog_compiler_wl 29564 29565# Compiler flag to prevent dynamic linking. 29566link_static_flag=$lt_lt_prog_compiler_static 29567 29568# Does compiler simultaneously support -c and -o options? 29569compiler_c_o=$lt_lt_cv_prog_compiler_c_o 29570 29571# Whether or not to add -lc for building shared libraries. 29572build_libtool_need_lc=$archive_cmds_need_lc 29573 29574# Whether or not to disallow shared libs when runtime libs are static. 29575allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 29576 29577# Compiler flag to allow reflexive dlopens. 29578export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 29579 29580# Compiler flag to generate shared objects directly from archives. 29581whole_archive_flag_spec=$lt_whole_archive_flag_spec 29582 29583# Whether the compiler copes with passing no objects directly. 29584compiler_needs_object=$lt_compiler_needs_object 29585 29586# Create an old-style archive from a shared archive. 29587old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 29588 29589# Create a temporary old-style archive to link instead of a shared archive. 29590old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 29591 29592# Commands used to build a shared archive. 29593archive_cmds=$lt_archive_cmds 29594archive_expsym_cmds=$lt_archive_expsym_cmds 29595 29596# Commands used to build a loadable module if different from building 29597# a shared archive. 29598module_cmds=$lt_module_cmds 29599module_expsym_cmds=$lt_module_expsym_cmds 29600 29601# Whether we are building with GNU ld or not. 29602with_gnu_ld=$lt_with_gnu_ld 29603 29604# Flag that allows shared libraries with undefined symbols to be built. 29605allow_undefined_flag=$lt_allow_undefined_flag 29606 29607# Flag that enforces no undefined symbols. 29608no_undefined_flag=$lt_no_undefined_flag 29609 29610# Flag to hardcode \$libdir into a binary during linking. 29611# This must work even if \$libdir does not exist 29612hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 29613 29614# Whether we need a single "-rpath" flag with a separated argument. 29615hardcode_libdir_separator=$lt_hardcode_libdir_separator 29616 29617# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 29618# DIR into the resulting binary. 29619hardcode_direct=$hardcode_direct 29620 29621# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 29622# DIR into the resulting binary and the resulting library dependency is 29623# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 29624# library is relocated. 29625hardcode_direct_absolute=$hardcode_direct_absolute 29626 29627# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 29628# into the resulting binary. 29629hardcode_minus_L=$hardcode_minus_L 29630 29631# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 29632# into the resulting binary. 29633hardcode_shlibpath_var=$hardcode_shlibpath_var 29634 29635# Set to "yes" if building a shared library automatically hardcodes DIR 29636# into the library and all subsequent libraries and executables linked 29637# against it. 29638hardcode_automatic=$hardcode_automatic 29639 29640# Set to yes if linker adds runtime paths of dependent libraries 29641# to runtime path list. 29642inherit_rpath=$inherit_rpath 29643 29644# Whether libtool must link a program against all its dependency libraries. 29645link_all_deplibs=$link_all_deplibs 29646 29647# Set to "yes" if exported symbols are required. 29648always_export_symbols=$always_export_symbols 29649 29650# The commands to list exported symbols. 29651export_symbols_cmds=$lt_export_symbols_cmds 29652 29653# Symbols that should not be listed in the preloaded symbols. 29654exclude_expsyms=$lt_exclude_expsyms 29655 29656# Symbols that must always be exported. 29657include_expsyms=$lt_include_expsyms 29658 29659# Commands necessary for linking programs (against libraries) with templates. 29660prelink_cmds=$lt_prelink_cmds 29661 29662# Commands necessary for finishing linking programs. 29663postlink_cmds=$lt_postlink_cmds 29664 29665# Specify filename containing input files. 29666file_list_spec=$lt_file_list_spec 29667 29668# How to hardcode a shared library path into an executable. 29669hardcode_action=$hardcode_action 29670 29671# The directories searched by this compiler when creating a shared library. 29672compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 29673 29674# Dependencies to place before and after the objects being linked to 29675# create a shared library. 29676predep_objects=$lt_predep_objects 29677postdep_objects=$lt_postdep_objects 29678predeps=$lt_predeps 29679postdeps=$lt_postdeps 29680 29681# The library search path used internally by the compiler when linking 29682# a shared library. 29683compiler_lib_search_path=$lt_compiler_lib_search_path 29684 29685# ### END LIBTOOL CONFIG 29686 29687_LT_EOF 29688 29689 case $host_os in 29690 aix3*) 29691 cat <<\_LT_EOF >> "$cfgfile" 29692# AIX sometimes has problems with the GCC collect2 program. For some 29693# reason, if we set the COLLECT_NAMES environment variable, the problems 29694# vanish in a puff of smoke. 29695if test "X${COLLECT_NAMES+set}" != Xset; then 29696 COLLECT_NAMES= 29697 export COLLECT_NAMES 29698fi 29699_LT_EOF 29700 ;; 29701 esac 29702 29703 29704ltmain="$ac_aux_dir/ltmain.sh" 29705 29706 29707 # We use sed instead of cat because bash on DJGPP gets confused if 29708 # if finds mixed CR/LF and LF-only lines. Since sed operates in 29709 # text mode, it properly converts lines to CR/LF. This bash problem 29710 # is reportedly fixed, but why not run on old versions too? 29711 sed '$q' "$ltmain" >> "$cfgfile" \ 29712 || (rm -f "$cfgfile"; exit 1) 29713 29714 if test x"$xsi_shell" = xyes; then 29715 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 29716func_dirname ()\ 29717{\ 29718\ case ${1} in\ 29719\ */*) func_dirname_result="${1%/*}${2}" ;;\ 29720\ * ) func_dirname_result="${3}" ;;\ 29721\ esac\ 29722} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 29723 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29724 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29725test 0 -eq $? || _lt_function_replace_fail=: 29726 29727 29728 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 29729func_basename ()\ 29730{\ 29731\ func_basename_result="${1##*/}"\ 29732} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 29733 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29734 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29735test 0 -eq $? || _lt_function_replace_fail=: 29736 29737 29738 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 29739func_dirname_and_basename ()\ 29740{\ 29741\ case ${1} in\ 29742\ */*) func_dirname_result="${1%/*}${2}" ;;\ 29743\ * ) func_dirname_result="${3}" ;;\ 29744\ esac\ 29745\ func_basename_result="${1##*/}"\ 29746} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 29747 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29748 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29749test 0 -eq $? || _lt_function_replace_fail=: 29750 29751 29752 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 29753func_stripname ()\ 29754{\ 29755\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 29756\ # positional parameters, so assign one to ordinary parameter first.\ 29757\ func_stripname_result=${3}\ 29758\ func_stripname_result=${func_stripname_result#"${1}"}\ 29759\ func_stripname_result=${func_stripname_result%"${2}"}\ 29760} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 29761 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29762 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29763test 0 -eq $? || _lt_function_replace_fail=: 29764 29765 29766 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 29767func_split_long_opt ()\ 29768{\ 29769\ func_split_long_opt_name=${1%%=*}\ 29770\ func_split_long_opt_arg=${1#*=}\ 29771} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 29772 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29773 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29774test 0 -eq $? || _lt_function_replace_fail=: 29775 29776 29777 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 29778func_split_short_opt ()\ 29779{\ 29780\ func_split_short_opt_arg=${1#??}\ 29781\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 29782} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 29783 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29784 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29785test 0 -eq $? || _lt_function_replace_fail=: 29786 29787 29788 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 29789func_lo2o ()\ 29790{\ 29791\ case ${1} in\ 29792\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 29793\ *) func_lo2o_result=${1} ;;\ 29794\ esac\ 29795} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 29796 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29797 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29798test 0 -eq $? || _lt_function_replace_fail=: 29799 29800 29801 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 29802func_xform ()\ 29803{\ 29804 func_xform_result=${1%.*}.lo\ 29805} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 29806 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29807 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29808test 0 -eq $? || _lt_function_replace_fail=: 29809 29810 29811 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 29812func_arith ()\ 29813{\ 29814 func_arith_result=$(( $* ))\ 29815} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 29816 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29817 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29818test 0 -eq $? || _lt_function_replace_fail=: 29819 29820 29821 sed -e '/^func_len ()$/,/^} # func_len /c\ 29822func_len ()\ 29823{\ 29824 func_len_result=${#1}\ 29825} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 29826 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29827 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29828test 0 -eq $? || _lt_function_replace_fail=: 29829 29830fi 29831 29832if test x"$lt_shell_append" = xyes; then 29833 sed -e '/^func_append ()$/,/^} # func_append /c\ 29834func_append ()\ 29835{\ 29836 eval "${1}+=\\${2}"\ 29837} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 29838 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29839 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29840test 0 -eq $? || _lt_function_replace_fail=: 29841 29842 29843 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 29844func_append_quoted ()\ 29845{\ 29846\ func_quote_for_eval "${2}"\ 29847\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 29848} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 29849 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29850 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29851test 0 -eq $? || _lt_function_replace_fail=: 29852 29853 29854 # Save a `func_append' function call where possible by direct use of '+=' 29855 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 29856 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29857 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29858 test 0 -eq $? || _lt_function_replace_fail=: 29859else 29860 # Save a `func_append' function call even when '+=' is not available 29861 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 29862 && mv -f "$cfgfile.tmp" "$cfgfile" \ 29863 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 29864 test 0 -eq $? || _lt_function_replace_fail=: 29865fi 29866 29867if test x"$_lt_function_replace_fail" = x":"; then 29868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 29869$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 29870fi 29871 29872 29873 mv -f "$cfgfile" "$ofile" || 29874 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 29875 chmod +x "$ofile" 29876 29877 29878 cat <<_LT_EOF >> "$ofile" 29879 29880# ### BEGIN LIBTOOL TAG CONFIG: CXX 29881 29882# The linker used to build libraries. 29883LD=$lt_LD_CXX 29884 29885# How to create reloadable object files. 29886reload_flag=$lt_reload_flag_CXX 29887reload_cmds=$lt_reload_cmds_CXX 29888 29889# Commands used to build an old-style archive. 29890old_archive_cmds=$lt_old_archive_cmds_CXX 29891 29892# A language specific compiler. 29893CC=$lt_compiler_CXX 29894 29895# Is the compiler the GNU compiler? 29896with_gcc=$GCC_CXX 29897 29898# Compiler flag to turn off builtin functions. 29899no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 29900 29901# Additional compiler flags for building library objects. 29902pic_flag=$lt_lt_prog_compiler_pic_CXX 29903 29904# How to pass a linker flag through the compiler. 29905wl=$lt_lt_prog_compiler_wl_CXX 29906 29907# Compiler flag to prevent dynamic linking. 29908link_static_flag=$lt_lt_prog_compiler_static_CXX 29909 29910# Does compiler simultaneously support -c and -o options? 29911compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 29912 29913# Whether or not to add -lc for building shared libraries. 29914build_libtool_need_lc=$archive_cmds_need_lc_CXX 29915 29916# Whether or not to disallow shared libs when runtime libs are static. 29917allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 29918 29919# Compiler flag to allow reflexive dlopens. 29920export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 29921 29922# Compiler flag to generate shared objects directly from archives. 29923whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 29924 29925# Whether the compiler copes with passing no objects directly. 29926compiler_needs_object=$lt_compiler_needs_object_CXX 29927 29928# Create an old-style archive from a shared archive. 29929old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 29930 29931# Create a temporary old-style archive to link instead of a shared archive. 29932old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 29933 29934# Commands used to build a shared archive. 29935archive_cmds=$lt_archive_cmds_CXX 29936archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 29937 29938# Commands used to build a loadable module if different from building 29939# a shared archive. 29940module_cmds=$lt_module_cmds_CXX 29941module_expsym_cmds=$lt_module_expsym_cmds_CXX 29942 29943# Whether we are building with GNU ld or not. 29944with_gnu_ld=$lt_with_gnu_ld_CXX 29945 29946# Flag that allows shared libraries with undefined symbols to be built. 29947allow_undefined_flag=$lt_allow_undefined_flag_CXX 29948 29949# Flag that enforces no undefined symbols. 29950no_undefined_flag=$lt_no_undefined_flag_CXX 29951 29952# Flag to hardcode \$libdir into a binary during linking. 29953# This must work even if \$libdir does not exist 29954hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 29955 29956# Whether we need a single "-rpath" flag with a separated argument. 29957hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 29958 29959# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 29960# DIR into the resulting binary. 29961hardcode_direct=$hardcode_direct_CXX 29962 29963# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 29964# DIR into the resulting binary and the resulting library dependency is 29965# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 29966# library is relocated. 29967hardcode_direct_absolute=$hardcode_direct_absolute_CXX 29968 29969# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 29970# into the resulting binary. 29971hardcode_minus_L=$hardcode_minus_L_CXX 29972 29973# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 29974# into the resulting binary. 29975hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 29976 29977# Set to "yes" if building a shared library automatically hardcodes DIR 29978# into the library and all subsequent libraries and executables linked 29979# against it. 29980hardcode_automatic=$hardcode_automatic_CXX 29981 29982# Set to yes if linker adds runtime paths of dependent libraries 29983# to runtime path list. 29984inherit_rpath=$inherit_rpath_CXX 29985 29986# Whether libtool must link a program against all its dependency libraries. 29987link_all_deplibs=$link_all_deplibs_CXX 29988 29989# Set to "yes" if exported symbols are required. 29990always_export_symbols=$always_export_symbols_CXX 29991 29992# The commands to list exported symbols. 29993export_symbols_cmds=$lt_export_symbols_cmds_CXX 29994 29995# Symbols that should not be listed in the preloaded symbols. 29996exclude_expsyms=$lt_exclude_expsyms_CXX 29997 29998# Symbols that must always be exported. 29999include_expsyms=$lt_include_expsyms_CXX 30000 30001# Commands necessary for linking programs (against libraries) with templates. 30002prelink_cmds=$lt_prelink_cmds_CXX 30003 30004# Commands necessary for finishing linking programs. 30005postlink_cmds=$lt_postlink_cmds_CXX 30006 30007# Specify filename containing input files. 30008file_list_spec=$lt_file_list_spec_CXX 30009 30010# How to hardcode a shared library path into an executable. 30011hardcode_action=$hardcode_action_CXX 30012 30013# The directories searched by this compiler when creating a shared library. 30014compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 30015 30016# Dependencies to place before and after the objects being linked to 30017# create a shared library. 30018predep_objects=$lt_predep_objects_CXX 30019postdep_objects=$lt_postdep_objects_CXX 30020predeps=$lt_predeps_CXX 30021postdeps=$lt_postdeps_CXX 30022 30023# The library search path used internally by the compiler when linking 30024# a shared library. 30025compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 30026 30027# ### END LIBTOOL TAG CONFIG: CXX 30028_LT_EOF 30029 30030 ;; 30031 "po-directories":C) 30032 for ac_file in $CONFIG_FILES; do 30033 # Support "outfile[:infile[:infile...]]" 30034 case "$ac_file" in 30035 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 30036 esac 30037 # PO directories have a Makefile.in generated from Makefile.in.in. 30038 case "$ac_file" in */Makefile.in) 30039 # Adjust a relative srcdir. 30040 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 30041 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 30042 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 30043 # In autoconf-2.13 it is called $ac_given_srcdir. 30044 # In autoconf-2.50 it is called $srcdir. 30045 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 30046 case "$ac_given_srcdir" in 30047 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 30048 /*) top_srcdir="$ac_given_srcdir" ;; 30049 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 30050 esac 30051 # Treat a directory as a PO directory if and only if it has a 30052 # POTFILES.in file. This allows packages to have multiple PO 30053 # directories under different names or in different locations. 30054 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 30055 rm -f "$ac_dir/POTFILES" 30056 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 30057 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 30058 POMAKEFILEDEPS="POTFILES.in" 30059 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 30060 # on $ac_dir but don't depend on user-specified configuration 30061 # parameters. 30062 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 30063 # The LINGUAS file contains the set of available languages. 30064 if test -n "$OBSOLETE_ALL_LINGUAS"; then 30065 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 30066 fi 30067 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 30068 # Hide the ALL_LINGUAS assigment from automake < 1.5. 30069 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 30070 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 30071 else 30072 # The set of available languages was given in configure.in. 30073 # Hide the ALL_LINGUAS assigment from automake < 1.5. 30074 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 30075 fi 30076 # Compute POFILES 30077 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 30078 # Compute UPDATEPOFILES 30079 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 30080 # Compute DUMMYPOFILES 30081 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 30082 # Compute GMOFILES 30083 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 30084 case "$ac_given_srcdir" in 30085 .) srcdirpre= ;; 30086 *) srcdirpre='$(srcdir)/' ;; 30087 esac 30088 POFILES= 30089 UPDATEPOFILES= 30090 DUMMYPOFILES= 30091 GMOFILES= 30092 for lang in $ALL_LINGUAS; do 30093 POFILES="$POFILES $srcdirpre$lang.po" 30094 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 30095 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 30096 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 30097 done 30098 # CATALOGS depends on both $ac_dir and the user's LINGUAS 30099 # environment variable. 30100 INST_LINGUAS= 30101 if test -n "$ALL_LINGUAS"; then 30102 for presentlang in $ALL_LINGUAS; do 30103 useit=no 30104 if test "%UNSET%" != "$LINGUAS"; then 30105 desiredlanguages="$LINGUAS" 30106 else 30107 desiredlanguages="$ALL_LINGUAS" 30108 fi 30109 for desiredlang in $desiredlanguages; do 30110 # Use the presentlang catalog if desiredlang is 30111 # a. equal to presentlang, or 30112 # b. a variant of presentlang (because in this case, 30113 # presentlang can be used as a fallback for messages 30114 # which are not translated in the desiredlang catalog). 30115 case "$desiredlang" in 30116 "$presentlang"*) useit=yes;; 30117 esac 30118 done 30119 if test $useit = yes; then 30120 INST_LINGUAS="$INST_LINGUAS $presentlang" 30121 fi 30122 done 30123 fi 30124 CATALOGS= 30125 if test -n "$INST_LINGUAS"; then 30126 for lang in $INST_LINGUAS; do 30127 CATALOGS="$CATALOGS $lang.gmo" 30128 done 30129 fi 30130 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 30131 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" 30132 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 30133 if test -f "$f"; then 30134 case "$f" in 30135 *.orig | *.bak | *~) ;; 30136 *) cat "$f" >> "$ac_dir/Makefile" ;; 30137 esac 30138 fi 30139 done 30140 fi 30141 ;; 30142 esac 30143 done ;; 30144 "po/stamp-it":C) 30145 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 30146 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 30147 fi 30148 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 30149 >"po/stamp-it.tmp" 30150 sed '/^#/d 30151 s/^[[].*] *// 30152 /^[ ]*$/d 30153 '"s|^| $ac_top_srcdir/|" \ 30154 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 30155 30156 sed '/^POTFILES =/,/[^\\]$/ { 30157 /^POTFILES =/!d 30158 r po/POTFILES 30159 } 30160 ' "po/Makefile.in" >"po/Makefile" 30161 rm -f "po/Makefile.tmp" 30162 mv "po/stamp-it.tmp" "po/stamp-it" 30163 ;; 30164 30165 esac 30166done # for ac_tag 30167 30168 30169as_fn_exit 0 30170_ACEOF 30171ac_clean_files=$ac_clean_files_save 30172 30173test $ac_write_fail = 0 || 30174 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 30175 30176 30177# configure is writing to config.log, and then calls config.status. 30178# config.status does its own redirection, appending to config.log. 30179# Unfortunately, on DOS this fails, as config.log is still kept open 30180# by configure, so config.status won't be able to write to it; its 30181# output is simply discarded. So we exec the FD to /dev/null, 30182# effectively closing config.log, so it can be properly (re)opened and 30183# appended to by config.status. When coming back to configure, we 30184# need to make the FD available again. 30185if test "$no_create" != yes; then 30186 ac_cs_success=: 30187 ac_config_status_args= 30188 test "$silent" = yes && 30189 ac_config_status_args="$ac_config_status_args --quiet" 30190 exec 5>/dev/null 30191 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 30192 exec 5>>config.log 30193 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 30194 # would make configure fail if this is the last instruction. 30195 $ac_cs_success || as_fn_exit 1 30196fi 30197if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 30198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 30199$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 30200fi 30201 30202 30203if test "${USE_MAINTAINER_MODE}" = "yes"; then : 30204 30205echo 30206echo "Build Configuration:" 30207echo 30208echo "* Maintainer Mode: $USE_MAINTAINER_MODE" 30209 30210fi 30211 30212echo 30213echo "Plugin Summary:" 30214echo 30215 30216 30217 30218 30219 if true ; then 30220 echo " stdio: yes - Standard IO plugin" 30221 else 30222 echo " stdio: no - Standard IO plugin" 30223 fi 30224 30225 30226 30227 if test "x$HAVE_GME" = "xyes" ; then 30228 echo " gme: yes - chiptune music player based on GME" 30229 else 30230 echo " gme: no - chiptune music player based on GME" 30231 fi 30232 30233 30234 30235 if test "x$HAVE_NULLOUT" = "xyes" ; then 30236 echo " nullout: yes - NULL output" 30237 else 30238 echo " nullout: no - NULL output" 30239 fi 30240 30241 30242 30243 if test "x$HAVE_ALSA" = "xyes" ; then 30244 echo " alsa: yes - ALSA output" 30245 else 30246 echo " alsa: no - ALSA output" 30247 fi 30248 30249 30250 30251 if test "x$HAVE_OSS" = "xyes" ; then 30252 echo " oss: yes - oss output plugin" 30253 else 30254 echo " oss: no - oss output plugin" 30255 fi 30256 30257 30258 30259 if test "x$HAVE_PULSEPLUGIN" = "xyes" ; then 30260 echo " pulse: yes - PulseAudio output plugin" 30261 else 30262 echo " pulse: no - PulseAudio output plugin" 30263 fi 30264 30265 30266 30267 if test "x$HAVE_COREAUDIO" = "xyes" ; then 30268 echo " coreaudio: yes - CoreAudio output plugin" 30269 else 30270 echo " coreaudio: no - CoreAudio output plugin" 30271 fi 30272 30273 30274 30275 if test "x$HAVE_SID" = "xyes" ; then 30276 echo " sid: yes - SID player based on libsidplay2" 30277 else 30278 echo " sid: no - SID player based on libsidplay2" 30279 fi 30280 30281 30282 30283 if test "x$HAVE_FFAP" = "xyes" ; then 30284 echo " ffap: yes - Monkey's audio (APE) decoder" 30285 else 30286 echo " ffap: no - Monkey's audio (APE) decoder" 30287 fi 30288 30289 30290 30291 if test "x$HAVE_LASTFM" = "xyes" ; then 30292 echo " lastfm: yes - last.fm scrobbler" 30293 else 30294 echo " lastfm: no - last.fm scrobbler" 30295 fi 30296 30297 30298 30299 if test "x$HAVE_MP3" = "xyes" ; then 30300 echo " mp3: yes - mp3 plugin" 30301 else 30302 echo " mp3: no - mp3 plugin" 30303 fi 30304 30305 30306 30307 if test "x$HAVE_LIBMAD" = "xyes" ; then 30308 echo " libmad: yes - libmad backend for mp3 plugin" 30309 else 30310 echo " libmad: no - libmad backend for mp3 plugin" 30311 fi 30312 30313 30314 30315 if test "x$HAVE_LIBMPG123" = "xyes" ; then 30316 echo " libmpg123: yes - libmpg123 backend for mp3 plugin" 30317 else 30318 echo " libmpg123: no - libmpg123 backend for mp3 plugin" 30319 fi 30320 30321 30322 30323 if test "x$HAVE_VORBISPLUGIN" = "xyes" ; then 30324 echo " vorbis: yes - ogg vorbis player" 30325 else 30326 echo " vorbis: no - ogg vorbis player" 30327 fi 30328 30329 30330 30331 if test "x$HAVE_FLACPLUGIN" = "xyes" ; then 30332 echo " flac: yes - flac player" 30333 else 30334 echo " flac: no - flac player" 30335 fi 30336 30337 30338 30339 if test "x$HAVE_WAVPACKPLUGIN" = "xyes" ; then 30340 echo " wavpack: yes - wavpack player" 30341 else 30342 echo " wavpack: no - wavpack player" 30343 fi 30344 30345 30346 30347 if test "x$HAVE_SNDFILEPLUGIN" = "xyes" ; then 30348 echo " sndfile: yes - PCM (wav,aiff,etc) player based on libsndfile" 30349 else 30350 echo " sndfile: no - PCM (wav,aiff,etc) player based on libsndfile" 30351 fi 30352 30353 30354 30355 if test "x$HAVE_VTX" = "xyes" ; then 30356 echo " vtx: yes - vtx file player (ay8910/12 emulation)" 30357 else 30358 echo " vtx: no - vtx file player (ay8910/12 emulation)" 30359 fi 30360 30361 30362 30363 if test "x$HAVE_ADPLUG" = "xyes" ; then 30364 echo " adplug: yes - adplug player (OPL2/OPL3 emulation)" 30365 else 30366 echo " adplug: no - adplug player (OPL2/OPL3 emulation)" 30367 fi 30368 30369 30370 30371 if test "x$HAVE_VFS_CURL" = "xyes" ; then 30372 echo " vfs_curl: yes - http/ftp streaming support" 30373 else 30374 echo " vfs_curl: no - http/ftp streaming support" 30375 fi 30376 30377 30378 30379 if test "x$HAVE_CDDAPLUGIN" = "xyes" ; then 30380 echo " cdda: yes - cd audio player" 30381 else 30382 echo " cdda: no - cd audio player" 30383 fi 30384 30385 30386 30387 if test "x$HAVE_GTK2" = "xyes" ; then 30388 echo " gtkui: yes - GTK2 user interface" 30389 else 30390 echo " gtkui: no - GTK2 user interface" 30391 fi 30392 30393 30394 30395 if test "x$HAVE_GTK3" = "xyes" ; then 30396 echo " gtkui3: yes - GTK3 user interface" 30397 else 30398 echo " gtkui3: no - GTK3 user interface" 30399 fi 30400 30401 30402 30403 if test "x$HAVE_HOTKEYS" = "xyes" ; then 30404 echo " hotkeys: yes - Local and global hotkeys support" 30405 else 30406 echo " hotkeys: no - Local and global hotkeys support" 30407 fi 30408 30409 30410 30411 if test "x$HAVE_FFMPEGPLUGIN" = "xyes" ; then 30412 echo " ffmpeg: yes - ffmpeg codecs" 30413 else 30414 echo " ffmpeg: no - ffmpeg codecs" 30415 fi 30416 30417 30418 30419 if test "x$HAVE_ARTWORK" = "xyes" ; then 30420 echo " artwork: yes - Cover art plugin" 30421 else 30422 echo " artwork: no - Cover art plugin" 30423 fi 30424 30425 30426 30427 if test "x$HAVE_SUPEREQ" = "xyes" ; then 30428 echo " supereq: yes - Equalizer based on Super EQ library by Naoki Shibata" 30429 else 30430 echo " supereq: no - Equalizer based on Super EQ library by Naoki Shibata" 30431 fi 30432 30433 30434 30435 if test "x$HAVE_NOTIFY" = "xyes" ; then 30436 echo " notify: yes - notification-daemon support plugin" 30437 else 30438 echo " notify: no - notification-daemon support plugin" 30439 fi 30440 30441 30442 30443 if test "x$HAVE_SHELLEXEC" = "xyes" ; then 30444 echo " shellexec: yes - shell commands plugin" 30445 else 30446 echo " shellexec: no - shell commands plugin" 30447 fi 30448 30449 30450 30451 if test "x$HAVE_SHELLEXECUI" = "xyes" ; then 30452 echo " shellexecui: yes - GTK user interface for setting up shellexec plugin" 30453 else 30454 echo " shellexecui: no - GTK user interface for setting up shellexec plugin" 30455 fi 30456 30457 30458 30459 if test "x$HAVE_MUSEPACK" = "xyes" ; then 30460 echo " musepack: yes - musepack player plugin" 30461 else 30462 echo " musepack: no - musepack player plugin" 30463 fi 30464 30465 30466 30467 if test "x$HAVE_WILDMIDI" = "xyes" ; then 30468 echo " wildmidi: yes - WildMidi player plugin" 30469 else 30470 echo " wildmidi: no - WildMidi player plugin" 30471 fi 30472 30473 30474 30475 if test "x$HAVE_TTA" = "xyes" ; then 30476 echo " tta: yes - TTA player plugin" 30477 else 30478 echo " tta: no - TTA player plugin" 30479 fi 30480 30481 30482 30483 if test "x$HAVE_DCA" = "xyes" ; then 30484 echo " dca: yes - libdca (DTS Audio) player plugin" 30485 else 30486 echo " dca: no - libdca (DTS Audio) player plugin" 30487 fi 30488 30489 30490 30491 if test "x$HAVE_AAC" = "xyes" ; then 30492 echo " aac: yes - AAC player (m4a, aac, mp4) based on FAAD2" 30493 else 30494 echo " aac: no - AAC player (m4a, aac, mp4) based on FAAD2" 30495 fi 30496 30497 30498 30499 if test "x$HAVE_MMS" = "xyes" ; then 30500 echo " mms: yes - mms streaming support" 30501 else 30502 echo " mms: no - mms streaming support" 30503 fi 30504 30505 30506 30507 if test "x$HAVE_DSP_SRC" = "xyes" ; then 30508 echo " dsp_src: yes - High quality samplerate conversion using libsamplerate" 30509 else 30510 echo " dsp_src: no - High quality samplerate conversion using libsamplerate" 30511 fi 30512 30513 30514 30515 if test "x$HAVE_M3U" = "xyes" ; then 30516 echo " m3u: yes - M3U and PLS playlist support" 30517 else 30518 echo " m3u: no - M3U and PLS playlist support" 30519 fi 30520 30521 30522 30523 if test "x$HAVE_VFS_ZIP" = "xyes" ; then 30524 echo " vfs_zip: yes - zip archive support" 30525 else 30526 echo " vfs_zip: no - zip archive support" 30527 fi 30528 30529 30530 30531 if test "x$HAVE_CONVERTER" = "xyes" ; then 30532 echo " converter: yes - plugin for converting files to any formats" 30533 else 30534 echo " converter: no - plugin for converting files to any formats" 30535 fi 30536 30537 30538 30539 if test "x$HAVE_PSF" = "xyes" ; then 30540 echo " psf: yes - PSF format plugin, using AOSDK" 30541 else 30542 echo " psf: no - PSF format plugin, using AOSDK" 30543 fi 30544 30545 30546 30547 if test "x$HAVE_DUMB" = "xyes" ; then 30548 echo " dumb: yes - DUMB module plugin, for MOD, S3M, etc" 30549 else 30550 echo " dumb: no - DUMB module plugin, for MOD, S3M, etc" 30551 fi 30552 30553 30554 30555 if test "x$HAVE_SHN" = "xyes" ; then 30556 echo " shn: yes - SHN plugin based on xmms-shn" 30557 else 30558 echo " shn: no - SHN plugin based on xmms-shn" 30559 fi 30560 30561 30562 30563 if test "x$HAVE_MONO2STEREO" = "xyes" ; then 30564 echo " mono2stereo: yes - mono2stereo DSP plugin" 30565 else 30566 echo " mono2stereo: no - mono2stereo DSP plugin" 30567 fi 30568 30569 30570 30571 if test "x$HAVE_ALAC" = "xyes" ; then 30572 echo " alac: yes - ALAC plugin" 30573 else 30574 echo " alac: no - ALAC plugin" 30575 fi 30576 30577 30578 30579 if test "x$HAVE_WMA" = "xyes" ; then 30580 echo " wma: yes - WMA plugin" 30581 else 30582 echo " wma: no - WMA plugin" 30583 fi 30584 30585 30586 30587 if test "x$HAVE_PLTBROWSER" = "xyes" ; then 30588 echo " pltbrowser: yes - playlist browser gui plugin" 30589 else 30590 echo " pltbrowser: no - playlist browser gui plugin" 30591 fi 30592 30593 30594 30595 if test "x$HAVE_SC68" = "xyes" ; then 30596 echo " sc68: yes - sc68 Atari ST And Amiga player" 30597 else 30598 echo " sc68: no - sc68 Atari ST And Amiga player" 30599 fi 30600 30601 30602 30603echo 30604 30605