1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for zeitgeist 1.0.3. 4# 5# Report bugs to <https://gitlab.freedesktop.org/zeitgeist/zeitgeist/issues>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: https://gitlab.freedesktop.org/zeitgeist/zeitgeist/issues 279$0: about your system, including any error possibly output 280$0: before this message. Then install a modern shell, or 281$0: manually run the script under such a shell if you do 282$0: have one." 283 fi 284 exit 1 285fi 286fi 287fi 288SHELL=${CONFIG_SHELL-/bin/sh} 289export SHELL 290# Unset more variables known to interfere with behavior of common tools. 291CLICOLOR_FORCE= GREP_OPTIONS= 292unset CLICOLOR_FORCE GREP_OPTIONS 293 294## --------------------- ## 295## M4sh Shell Functions. ## 296## --------------------- ## 297# as_fn_unset VAR 298# --------------- 299# Portably unset VAR. 300as_fn_unset () 301{ 302 { eval $1=; unset $1;} 303} 304as_unset=as_fn_unset 305 306# as_fn_set_status STATUS 307# ----------------------- 308# Set $? to STATUS, without forking. 309as_fn_set_status () 310{ 311 return $1 312} # as_fn_set_status 313 314# as_fn_exit STATUS 315# ----------------- 316# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 317as_fn_exit () 318{ 319 set +e 320 as_fn_set_status $1 321 exit $1 322} # as_fn_exit 323 324# as_fn_mkdir_p 325# ------------- 326# Create "$as_dir" as a directory, including parents if necessary. 327as_fn_mkdir_p () 328{ 329 330 case $as_dir in #( 331 -*) as_dir=./$as_dir;; 332 esac 333 test -d "$as_dir" || eval $as_mkdir_p || { 334 as_dirs= 335 while :; do 336 case $as_dir in #( 337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 338 *) as_qdir=$as_dir;; 339 esac 340 as_dirs="'$as_qdir' $as_dirs" 341 as_dir=`$as_dirname -- "$as_dir" || 342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 343 X"$as_dir" : 'X\(//\)[^/]' \| \ 344 X"$as_dir" : 'X\(//\)$' \| \ 345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 346$as_echo X"$as_dir" | 347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)[^/].*/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\/\)$/{ 356 s//\1/ 357 q 358 } 359 /^X\(\/\).*/{ 360 s//\1/ 361 q 362 } 363 s/.*/./; q'` 364 test -d "$as_dir" && break 365 done 366 test -z "$as_dirs" || eval "mkdir $as_dirs" 367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 368 369 370} # as_fn_mkdir_p 371 372# as_fn_executable_p FILE 373# ----------------------- 374# Test if FILE is an executable regular file. 375as_fn_executable_p () 376{ 377 test -f "$1" && test -x "$1" 378} # as_fn_executable_p 379# as_fn_append VAR VALUE 380# ---------------------- 381# Append the text in VALUE to the end of the definition contained in VAR. Take 382# advantage of any shell optimizations that allow amortized linear growth over 383# repeated appends, instead of the typical quadratic growth present in naive 384# implementations. 385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 386 eval 'as_fn_append () 387 { 388 eval $1+=\$2 389 }' 390else 391 as_fn_append () 392 { 393 eval $1=\$$1\$2 394 } 395fi # as_fn_append 396 397# as_fn_arith ARG... 398# ------------------ 399# Perform arithmetic evaluation on the ARGs, and store the result in the 400# global $as_val. Take advantage of shells that can avoid forks. The arguments 401# must be portable across $(()) and expr. 402if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 403 eval 'as_fn_arith () 404 { 405 as_val=$(( $* )) 406 }' 407else 408 as_fn_arith () 409 { 410 as_val=`expr "$@" || test $? -eq 1` 411 } 412fi # as_fn_arith 413 414 415# as_fn_error STATUS ERROR [LINENO LOG_FD] 416# ---------------------------------------- 417# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 418# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 419# script with STATUS, using 1 if that was 0. 420as_fn_error () 421{ 422 as_status=$1; test $as_status -eq 0 && as_status=1 423 if test "$4"; then 424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 426 fi 427 $as_echo "$as_me: error: $2" >&2 428 as_fn_exit $as_status 429} # as_fn_error 430 431if expr a : '\(a\)' >/dev/null 2>&1 && 432 test "X`expr 00001 : '.*\(...\)'`" = X001; then 433 as_expr=expr 434else 435 as_expr=false 436fi 437 438if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 439 as_basename=basename 440else 441 as_basename=false 442fi 443 444if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 445 as_dirname=dirname 446else 447 as_dirname=false 448fi 449 450as_me=`$as_basename -- "$0" || 451$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 452 X"$0" : 'X\(//\)$' \| \ 453 X"$0" : 'X\(/\)' \| . 2>/dev/null || 454$as_echo X/"$0" | 455 sed '/^.*\/\([^/][^/]*\)\/*$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\/\)$/{ 460 s//\1/ 461 q 462 } 463 /^X\/\(\/\).*/{ 464 s//\1/ 465 q 466 } 467 s/.*/./; q'` 468 469# Avoid depending upon Character Ranges. 470as_cr_letters='abcdefghijklmnopqrstuvwxyz' 471as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 472as_cr_Letters=$as_cr_letters$as_cr_LETTERS 473as_cr_digits='0123456789' 474as_cr_alnum=$as_cr_Letters$as_cr_digits 475 476 477 as_lineno_1=$LINENO as_lineno_1a=$LINENO 478 as_lineno_2=$LINENO as_lineno_2a=$LINENO 479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 482 sed -n ' 483 p 484 /[$]LINENO/= 485 ' <$as_myself | 486 sed ' 487 s/[$]LINENO.*/&-/ 488 t lineno 489 b 490 :lineno 491 N 492 :loop 493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 494 t loop 495 s/-\n.*// 496 ' >$as_me.lineno && 497 chmod +x "$as_me.lineno" || 498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 499 500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 501 # already done that, so ensure we don't try to do so again and fall 502 # in an infinite loop. This has already happened in practice. 503 _as_can_reexec=no; export _as_can_reexec 504 # Don't try to exec as it changes $[0], causing all sort of problems 505 # (the dirname of $[0] is not the place where we might find the 506 # original and so on. Autoconf is especially sensitive to this). 507 . "./$as_me.lineno" 508 # Exit status is that of the last command. 509 exit 510} 511 512ECHO_C= ECHO_N= ECHO_T= 513case `echo -n x` in #((((( 514-n*) 515 case `echo 'xy\c'` in 516 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 517 xy) ECHO_C='\c';; 518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 519 ECHO_T=' ';; 520 esac;; 521*) 522 ECHO_N='-n';; 523esac 524 525rm -f conf$$ conf$$.exe conf$$.file 526if test -d conf$$.dir; then 527 rm -f conf$$.dir/conf$$.file 528else 529 rm -f conf$$.dir 530 mkdir conf$$.dir 2>/dev/null 531fi 532if (echo >conf$$.file) 2>/dev/null; then 533 if ln -s conf$$.file conf$$ 2>/dev/null; then 534 as_ln_s='ln -s' 535 # ... but there are two gotchas: 536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 538 # In both cases, we have to default to `cp -pR'. 539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 540 as_ln_s='cp -pR' 541 elif ln conf$$.file conf$$ 2>/dev/null; then 542 as_ln_s=ln 543 else 544 as_ln_s='cp -pR' 545 fi 546else 547 as_ln_s='cp -pR' 548fi 549rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 550rmdir conf$$.dir 2>/dev/null 551 552if mkdir -p . 2>/dev/null; then 553 as_mkdir_p='mkdir -p "$as_dir"' 554else 555 test -d ./-p && rmdir ./-p 556 as_mkdir_p=false 557fi 558 559as_test_x='test -x' 560as_executable_p=as_fn_executable_p 561 562# Sed expression to map a string onto a valid CPP name. 563as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 564 565# Sed expression to map a string onto a valid variable name. 566as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 567 568SHELL=${CONFIG_SHELL-/bin/sh} 569 570as_awk_strverscmp=' 571 # Use only awk features that work with 7th edition Unix awk (1978). 572 # My, what an old awk you have, Mr. Solaris! 573 END { 574 while (length(v1) && length(v2)) { 575 # Set d1 to be the next thing to compare from v1, and likewise for d2. 576 # Normally this is a single character, but if v1 and v2 contain digits, 577 # compare them as integers and fractions as strverscmp does. 578 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) { 579 # Split v1 and v2 into their leading digit string components d1 and d2, 580 # and advance v1 and v2 past the leading digit strings. 581 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue 582 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue 583 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1) 584 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1) 585 if (d1 ~ /^0/) { 586 if (d2 ~ /^0/) { 587 # Compare two fractions. 588 while (d1 ~ /^0/ && d2 ~ /^0/) { 589 d1 = substr(d1, 2); len1-- 590 d2 = substr(d2, 2); len2-- 591 } 592 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) { 593 # The two components differ in length, and the common prefix 594 # contains only leading zeros. Consider the longer to be less. 595 d1 = -len1 596 d2 = -len2 597 } else { 598 # Otherwise, compare as strings. 599 d1 = "x" d1 600 d2 = "x" d2 601 } 602 } else { 603 # A fraction is less than an integer. 604 exit 1 605 } 606 } else { 607 if (d2 ~ /^0/) { 608 # An integer is greater than a fraction. 609 exit 2 610 } else { 611 # Compare two integers. 612 d1 += 0 613 d2 += 0 614 } 615 } 616 } else { 617 # The normal case, without worrying about digits. 618 d1 = substr(v1, 1, 1); v1 = substr(v1, 2) 619 d2 = substr(v2, 1, 1); v2 = substr(v2, 2) 620 } 621 if (d1 < d2) exit 1 622 if (d1 > d2) exit 2 623 } 624 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10), 625 # which mishandles some comparisons of empty strings to integers. 626 if (length(v2)) exit 1 627 if (length(v1)) exit 2 628 } 629' 630 631test -n "$DJDIR" || exec 7<&0 </dev/null 632exec 6>&1 633 634# Name of the host. 635# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 636# so uname gets run too. 637ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 638 639# 640# Initializations. 641# 642ac_default_prefix=/usr/local 643ac_clean_files= 644ac_config_libobj_dir=. 645LIBOBJS= 646cross_compiling=no 647subdirs= 648MFLAGS= 649MAKEFLAGS= 650 651# Identity of this package. 652PACKAGE_NAME='zeitgeist' 653PACKAGE_TARNAME='zeitgeist' 654PACKAGE_VERSION='1.0.3' 655PACKAGE_STRING='zeitgeist 1.0.3' 656PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/zeitgeist/zeitgeist/issues' 657PACKAGE_URL='https://launchpad.net/zeitgeist/' 658 659ac_unique_file="Makefile.am" 660# Factoring default headers for most tests. 661ac_includes_default="\ 662#include <stdio.h> 663#ifdef HAVE_SYS_TYPES_H 664# include <sys/types.h> 665#endif 666#ifdef HAVE_SYS_STAT_H 667# include <sys/stat.h> 668#endif 669#ifdef STDC_HEADERS 670# include <stdlib.h> 671# include <stddef.h> 672#else 673# ifdef HAVE_STDLIB_H 674# include <stdlib.h> 675# endif 676#endif 677#ifdef HAVE_STRING_H 678# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 679# include <memory.h> 680# endif 681# include <string.h> 682#endif 683#ifdef HAVE_STRINGS_H 684# include <strings.h> 685#endif 686#ifdef HAVE_INTTYPES_H 687# include <inttypes.h> 688#endif 689#ifdef HAVE_STDINT_H 690# include <stdint.h> 691#endif 692#ifdef HAVE_UNISTD_H 693# include <unistd.h> 694#endif" 695 696gt_needs= 697ac_subst_vars='am__EXEEXT_FALSE 698am__EXEEXT_TRUE 699LTLIBOBJS 700LIBOBJS 701INTROSPECTION_MAKEFILE 702INTROSPECTION_LIBS 703INTROSPECTION_CFLAGS 704INTROSPECTION_TYPELIBDIR 705INTROSPECTION_GIRDIR 706INTROSPECTION_GENERATE 707INTROSPECTION_COMPILER 708INTROSPECTION_SCANNER 709_GI_EXP_LIBDIR 710_GI_EXP_DATADIR 711HAVE_INTROSPECTION_FALSE 712HAVE_INTROSPECTION_TRUE 713ENABLE_DOCS_FALSE 714ENABLE_DOCS_TRUE 715GTKDOC_SCAN 716VALADOC 717LIBZEITGEIST_LT_VERSION 718ZEITGEIST_DATAHUB_LIBS 719ZEITGEIST_DATAHUB_CFLAGS 720ENABLE_DOWNLOADS_MONITOR_FALSE 721ENABLE_DOWNLOADS_MONITOR_TRUE 722ENABLE_TELEPATHY_FALSE 723ENABLE_TELEPATHY_TRUE 724TELEPATHY_GLIB_LIBS 725TELEPATHY_GLIB_CFLAGS 726ENABLE_DATAHUB_FALSE 727ENABLE_DATAHUB_TRUE 728XAPIAN_CXXFLAGS 729XAPIAN_LIBS 730HAVE_XAPIAN 731HAVE_FTS_FALSE 732HAVE_FTS_TRUE 733EXPLAIN_QUERIES_FALSE 734EXPLAIN_QUERIES_TRUE 735HAVE_DEE_ICU_FALSE 736HAVE_DEE_ICU_TRUE 737DEE_ICU_LIBS 738DEE_ICU_CFLAGS 739ZEITGEIST_LIBS 740ZEITGEIST_CFLAGS 741POSUB 742LTLIBINTL 743LIBINTL 744INTLLIBS 745LTLIBICONV 746LIBICONV 747INTL_MACOSX_LIBS 748XGETTEXT_EXTRA_OPTIONS 749MSGMERGE 750XGETTEXT_015 751XGETTEXT 752GMSGFMT_015 753MSGFMT_015 754GMSGFMT 755MSGFMT 756GETTEXT_MACRO_VERSION 757USE_NLS 758GETTEXT_PACKAGE 759VALAC 760PKG_CONFIG_LIBDIR 761PKG_CONFIG_PATH 762PKG_CONFIG 763CXXCPP 764CPP 765LT_SYS_LIBRARY_PATH 766OTOOL64 767OTOOL 768LIPO 769NMEDIT 770DSYMUTIL 771MANIFEST_TOOL 772RANLIB 773ac_ct_AR 774AR 775DLLTOOL 776OBJDUMP 777LN_S 778NM 779ac_ct_DUMPBIN 780DUMPBIN 781LD 782FGREP 783EGREP 784GREP 785SED 786host_os 787host_vendor 788host_cpu 789host 790build_os 791build_vendor 792build_cpu 793build 794LIBTOOL 795am__fastdepCXX_FALSE 796am__fastdepCXX_TRUE 797CXXDEPMODE 798ac_ct_CXX 799CXXFLAGS 800CXX 801am__fastdepCC_FALSE 802am__fastdepCC_TRUE 803CCDEPMODE 804am__nodep 805AMDEPBACKSLASH 806AMDEP_FALSE 807AMDEP_TRUE 808am__include 809DEPDIR 810OBJEXT 811EXEEXT 812ac_ct_CC 813CPPFLAGS 814LDFLAGS 815CFLAGS 816CC 817pkgpyexecdir 818pyexecdir 819pkgpythondir 820pythondir 821PYTHON_PLATFORM 822PYTHON_EXEC_PREFIX 823PYTHON_PREFIX 824PYTHON_VERSION 825PYTHON 826MAINT 827MAINTAINER_MODE_FALSE 828MAINTAINER_MODE_TRUE 829AM_BACKSLASH 830AM_DEFAULT_VERBOSITY 831AM_DEFAULT_V 832AM_V 833am__untar 834am__tar 835AMTAR 836am__leading_dot 837SET_MAKE 838AWK 839mkdir_p 840MKDIR_P 841INSTALL_STRIP_PROGRAM 842STRIP 843install_sh 844MAKEINFO 845AUTOHEADER 846AUTOMAKE 847AUTOCONF 848ACLOCAL 849VERSION 850PACKAGE 851CYGPATH_W 852am__isrc 853INSTALL_DATA 854INSTALL_SCRIPT 855INSTALL_PROGRAM 856target_alias 857host_alias 858build_alias 859LIBS 860ECHO_T 861ECHO_N 862ECHO_C 863DEFS 864mandir 865localedir 866libdir 867psdir 868pdfdir 869dvidir 870htmldir 871infodir 872docdir 873oldincludedir 874includedir 875runstatedir 876localstatedir 877sharedstatedir 878sysconfdir 879datadir 880datarootdir 881libexecdir 882sbindir 883bindir 884program_transform_name 885prefix 886exec_prefix 887PACKAGE_URL 888PACKAGE_BUGREPORT 889PACKAGE_STRING 890PACKAGE_VERSION 891PACKAGE_TARNAME 892PACKAGE_NAME 893PATH_SEPARATOR 894SHELL 895am__quote' 896ac_subst_files='' 897ac_user_opts=' 898enable_option_checking 899enable_silent_rules 900enable_maintainer_mode 901enable_dependency_tracking 902enable_static 903enable_shared 904with_pic 905enable_fast_install 906with_aix_soname 907with_gnu_ld 908with_sysroot 909enable_libtool_lock 910enable_nls 911enable_rpath 912with_libiconv_prefix 913with_libintl_prefix 914with_dee_icu 915enable_explain_queries 916enable_fts 917enable_datahub 918enable_telepathy 919enable_downloads_monitor 920enable_docs 921enable_introspection 922' 923 ac_precious_vars='build_alias 924host_alias 925target_alias 926PYTHON 927CC 928CFLAGS 929LDFLAGS 930LIBS 931CPPFLAGS 932CXX 933CXXFLAGS 934CCC 935LT_SYS_LIBRARY_PATH 936CPP 937CXXCPP 938PKG_CONFIG 939PKG_CONFIG_PATH 940PKG_CONFIG_LIBDIR 941ZEITGEIST_CFLAGS 942ZEITGEIST_LIBS 943DEE_ICU_CFLAGS 944DEE_ICU_LIBS 945TELEPATHY_GLIB_CFLAGS 946TELEPATHY_GLIB_LIBS 947ZEITGEIST_DATAHUB_CFLAGS 948ZEITGEIST_DATAHUB_LIBS' 949 950 951# Initialize some variables set by options. 952ac_init_help= 953ac_init_version=false 954ac_unrecognized_opts= 955ac_unrecognized_sep= 956# The variables have the same names as the options, with 957# dashes changed to underlines. 958cache_file=/dev/null 959exec_prefix=NONE 960no_create= 961no_recursion= 962prefix=NONE 963program_prefix=NONE 964program_suffix=NONE 965program_transform_name=s,x,x, 966silent= 967site= 968srcdir= 969verbose= 970x_includes=NONE 971x_libraries=NONE 972 973# Installation directory options. 974# These are left unexpanded so users can "make install exec_prefix=/foo" 975# and all the variables that are supposed to be based on exec_prefix 976# by default will actually change. 977# Use braces instead of parens because sh, perl, etc. also accept them. 978# (The list follows the same order as the GNU Coding Standards.) 979bindir='${exec_prefix}/bin' 980sbindir='${exec_prefix}/sbin' 981libexecdir='${exec_prefix}/libexec' 982datarootdir='${prefix}/share' 983datadir='${datarootdir}' 984sysconfdir='${prefix}/etc' 985sharedstatedir='${prefix}/com' 986localstatedir='${prefix}/var' 987runstatedir='${localstatedir}/run' 988includedir='${prefix}/include' 989oldincludedir='/usr/include' 990docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 991infodir='${datarootdir}/info' 992htmldir='${docdir}' 993dvidir='${docdir}' 994pdfdir='${docdir}' 995psdir='${docdir}' 996libdir='${exec_prefix}/lib' 997localedir='${datarootdir}/locale' 998mandir='${datarootdir}/man' 999 1000ac_prev= 1001ac_dashdash= 1002for ac_option 1003do 1004 # If the previous option needs an argument, assign it. 1005 if test -n "$ac_prev"; then 1006 eval $ac_prev=\$ac_option 1007 ac_prev= 1008 continue 1009 fi 1010 1011 case $ac_option in 1012 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1013 *=) ac_optarg= ;; 1014 *) ac_optarg=yes ;; 1015 esac 1016 1017 # Accept the important Cygnus configure options, so we can diagnose typos. 1018 1019 case $ac_dashdash$ac_option in 1020 --) 1021 ac_dashdash=yes ;; 1022 1023 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1024 ac_prev=bindir ;; 1025 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1026 bindir=$ac_optarg ;; 1027 1028 -build | --build | --buil | --bui | --bu) 1029 ac_prev=build_alias ;; 1030 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1031 build_alias=$ac_optarg ;; 1032 1033 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1034 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1035 ac_prev=cache_file ;; 1036 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1037 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1038 cache_file=$ac_optarg ;; 1039 1040 --config-cache | -C) 1041 cache_file=config.cache ;; 1042 1043 -datadir | --datadir | --datadi | --datad) 1044 ac_prev=datadir ;; 1045 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1046 datadir=$ac_optarg ;; 1047 1048 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1049 | --dataroo | --dataro | --datar) 1050 ac_prev=datarootdir ;; 1051 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1052 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1053 datarootdir=$ac_optarg ;; 1054 1055 -disable-* | --disable-*) 1056 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1057 # Reject names that are not valid shell variable names. 1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1059 as_fn_error $? "invalid feature name: $ac_useropt" 1060 ac_useropt_orig=$ac_useropt 1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1062 case $ac_user_opts in 1063 *" 1064"enable_$ac_useropt" 1065"*) ;; 1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1067 ac_unrecognized_sep=', ';; 1068 esac 1069 eval enable_$ac_useropt=no ;; 1070 1071 -docdir | --docdir | --docdi | --doc | --do) 1072 ac_prev=docdir ;; 1073 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1074 docdir=$ac_optarg ;; 1075 1076 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1077 ac_prev=dvidir ;; 1078 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1079 dvidir=$ac_optarg ;; 1080 1081 -enable-* | --enable-*) 1082 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1083 # Reject names that are not valid shell variable names. 1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1085 as_fn_error $? "invalid feature name: $ac_useropt" 1086 ac_useropt_orig=$ac_useropt 1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1088 case $ac_user_opts in 1089 *" 1090"enable_$ac_useropt" 1091"*) ;; 1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1093 ac_unrecognized_sep=', ';; 1094 esac 1095 eval enable_$ac_useropt=\$ac_optarg ;; 1096 1097 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1098 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1099 | --exec | --exe | --ex) 1100 ac_prev=exec_prefix ;; 1101 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1102 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1103 | --exec=* | --exe=* | --ex=*) 1104 exec_prefix=$ac_optarg ;; 1105 1106 -gas | --gas | --ga | --g) 1107 # Obsolete; use --with-gas. 1108 with_gas=yes ;; 1109 1110 -help | --help | --hel | --he | -h) 1111 ac_init_help=long ;; 1112 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1113 ac_init_help=recursive ;; 1114 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1115 ac_init_help=short ;; 1116 1117 -host | --host | --hos | --ho) 1118 ac_prev=host_alias ;; 1119 -host=* | --host=* | --hos=* | --ho=*) 1120 host_alias=$ac_optarg ;; 1121 1122 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1123 ac_prev=htmldir ;; 1124 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1125 | --ht=*) 1126 htmldir=$ac_optarg ;; 1127 1128 -includedir | --includedir | --includedi | --included | --include \ 1129 | --includ | --inclu | --incl | --inc) 1130 ac_prev=includedir ;; 1131 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1132 | --includ=* | --inclu=* | --incl=* | --inc=*) 1133 includedir=$ac_optarg ;; 1134 1135 -infodir | --infodir | --infodi | --infod | --info | --inf) 1136 ac_prev=infodir ;; 1137 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1138 infodir=$ac_optarg ;; 1139 1140 -libdir | --libdir | --libdi | --libd) 1141 ac_prev=libdir ;; 1142 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1143 libdir=$ac_optarg ;; 1144 1145 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1146 | --libexe | --libex | --libe) 1147 ac_prev=libexecdir ;; 1148 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1149 | --libexe=* | --libex=* | --libe=*) 1150 libexecdir=$ac_optarg ;; 1151 1152 -localedir | --localedir | --localedi | --localed | --locale) 1153 ac_prev=localedir ;; 1154 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1155 localedir=$ac_optarg ;; 1156 1157 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1158 | --localstate | --localstat | --localsta | --localst | --locals) 1159 ac_prev=localstatedir ;; 1160 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1161 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1162 localstatedir=$ac_optarg ;; 1163 1164 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1165 ac_prev=mandir ;; 1166 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1167 mandir=$ac_optarg ;; 1168 1169 -nfp | --nfp | --nf) 1170 # Obsolete; use --without-fp. 1171 with_fp=no ;; 1172 1173 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1174 | --no-cr | --no-c | -n) 1175 no_create=yes ;; 1176 1177 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1178 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1179 no_recursion=yes ;; 1180 1181 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1182 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1183 | --oldin | --oldi | --old | --ol | --o) 1184 ac_prev=oldincludedir ;; 1185 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1186 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1187 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1188 oldincludedir=$ac_optarg ;; 1189 1190 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1191 ac_prev=prefix ;; 1192 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1193 prefix=$ac_optarg ;; 1194 1195 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1196 | --program-pre | --program-pr | --program-p) 1197 ac_prev=program_prefix ;; 1198 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1199 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1200 program_prefix=$ac_optarg ;; 1201 1202 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1203 | --program-suf | --program-su | --program-s) 1204 ac_prev=program_suffix ;; 1205 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1206 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1207 program_suffix=$ac_optarg ;; 1208 1209 -program-transform-name | --program-transform-name \ 1210 | --program-transform-nam | --program-transform-na \ 1211 | --program-transform-n | --program-transform- \ 1212 | --program-transform | --program-transfor \ 1213 | --program-transfo | --program-transf \ 1214 | --program-trans | --program-tran \ 1215 | --progr-tra | --program-tr | --program-t) 1216 ac_prev=program_transform_name ;; 1217 -program-transform-name=* | --program-transform-name=* \ 1218 | --program-transform-nam=* | --program-transform-na=* \ 1219 | --program-transform-n=* | --program-transform-=* \ 1220 | --program-transform=* | --program-transfor=* \ 1221 | --program-transfo=* | --program-transf=* \ 1222 | --program-trans=* | --program-tran=* \ 1223 | --progr-tra=* | --program-tr=* | --program-t=*) 1224 program_transform_name=$ac_optarg ;; 1225 1226 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1227 ac_prev=pdfdir ;; 1228 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1229 pdfdir=$ac_optarg ;; 1230 1231 -psdir | --psdir | --psdi | --psd | --ps) 1232 ac_prev=psdir ;; 1233 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1234 psdir=$ac_optarg ;; 1235 1236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1237 | -silent | --silent | --silen | --sile | --sil) 1238 silent=yes ;; 1239 1240 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1241 | --runstate | --runstat | --runsta | --runst | --runs \ 1242 | --run | --ru | --r) 1243 ac_prev=runstatedir ;; 1244 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1245 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1246 | --run=* | --ru=* | --r=*) 1247 runstatedir=$ac_optarg ;; 1248 1249 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1250 ac_prev=sbindir ;; 1251 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1252 | --sbi=* | --sb=*) 1253 sbindir=$ac_optarg ;; 1254 1255 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1256 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1257 | --sharedst | --shareds | --shared | --share | --shar \ 1258 | --sha | --sh) 1259 ac_prev=sharedstatedir ;; 1260 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1261 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1262 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1263 | --sha=* | --sh=*) 1264 sharedstatedir=$ac_optarg ;; 1265 1266 -site | --site | --sit) 1267 ac_prev=site ;; 1268 -site=* | --site=* | --sit=*) 1269 site=$ac_optarg ;; 1270 1271 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1272 ac_prev=srcdir ;; 1273 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1274 srcdir=$ac_optarg ;; 1275 1276 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1277 | --syscon | --sysco | --sysc | --sys | --sy) 1278 ac_prev=sysconfdir ;; 1279 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1280 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1281 sysconfdir=$ac_optarg ;; 1282 1283 -target | --target | --targe | --targ | --tar | --ta | --t) 1284 ac_prev=target_alias ;; 1285 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1286 target_alias=$ac_optarg ;; 1287 1288 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1289 verbose=yes ;; 1290 1291 -version | --version | --versio | --versi | --vers | -V) 1292 ac_init_version=: ;; 1293 1294 -with-* | --with-*) 1295 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1296 # Reject names that are not valid shell variable names. 1297 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1298 as_fn_error $? "invalid package name: $ac_useropt" 1299 ac_useropt_orig=$ac_useropt 1300 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1301 case $ac_user_opts in 1302 *" 1303"with_$ac_useropt" 1304"*) ;; 1305 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1306 ac_unrecognized_sep=', ';; 1307 esac 1308 eval with_$ac_useropt=\$ac_optarg ;; 1309 1310 -without-* | --without-*) 1311 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1312 # Reject names that are not valid shell variable names. 1313 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1314 as_fn_error $? "invalid package name: $ac_useropt" 1315 ac_useropt_orig=$ac_useropt 1316 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1317 case $ac_user_opts in 1318 *" 1319"with_$ac_useropt" 1320"*) ;; 1321 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1322 ac_unrecognized_sep=', ';; 1323 esac 1324 eval with_$ac_useropt=no ;; 1325 1326 --x) 1327 # Obsolete; use --with-x. 1328 with_x=yes ;; 1329 1330 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1331 | --x-incl | --x-inc | --x-in | --x-i) 1332 ac_prev=x_includes ;; 1333 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1334 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1335 x_includes=$ac_optarg ;; 1336 1337 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1338 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1339 ac_prev=x_libraries ;; 1340 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1341 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1342 x_libraries=$ac_optarg ;; 1343 1344 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1345Try \`$0 --help' for more information" 1346 ;; 1347 1348 *=*) 1349 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1350 # Reject names that are not valid shell variable names. 1351 case $ac_envvar in #( 1352 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1353 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1354 esac 1355 eval $ac_envvar=\$ac_optarg 1356 export $ac_envvar ;; 1357 1358 *) 1359 # FIXME: should be removed in autoconf 3.0. 1360 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1361 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1362 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1363 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1364 ;; 1365 1366 esac 1367done 1368 1369if test -n "$ac_prev"; then 1370 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1371 as_fn_error $? "missing argument to $ac_option" 1372fi 1373 1374if test -n "$ac_unrecognized_opts"; then 1375 case $enable_option_checking in 1376 no) ;; 1377 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1378 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1379 esac 1380fi 1381 1382# Check all directory arguments for consistency. 1383for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1384 datadir sysconfdir sharedstatedir localstatedir includedir \ 1385 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1386 libdir localedir mandir runstatedir 1387do 1388 eval ac_val=\$$ac_var 1389 # Remove trailing slashes. 1390 case $ac_val in 1391 */ ) 1392 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1393 eval $ac_var=\$ac_val;; 1394 esac 1395 # Be sure to have absolute directory names. 1396 case $ac_val in 1397 [\\/$]* | ?:[\\/]* ) continue;; 1398 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1399 esac 1400 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1401done 1402 1403# There might be people who depend on the old broken behavior: `$host' 1404# used to hold the argument of --host etc. 1405# FIXME: To remove some day. 1406build=$build_alias 1407host=$host_alias 1408target=$target_alias 1409 1410# FIXME: To remove some day. 1411if test "x$host_alias" != x; then 1412 if test "x$build_alias" = x; then 1413 cross_compiling=maybe 1414 elif test "x$build_alias" != "x$host_alias"; then 1415 cross_compiling=yes 1416 fi 1417fi 1418 1419ac_tool_prefix= 1420test -n "$host_alias" && ac_tool_prefix=$host_alias- 1421 1422test "$silent" = yes && exec 6>/dev/null 1423 1424 1425ac_pwd=`pwd` && test -n "$ac_pwd" && 1426ac_ls_di=`ls -di .` && 1427ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1428 as_fn_error $? "working directory cannot be determined" 1429test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1430 as_fn_error $? "pwd does not report name of working directory" 1431 1432 1433# Find the source files, if location was not specified. 1434if test -z "$srcdir"; then 1435 ac_srcdir_defaulted=yes 1436 # Try the directory containing this script, then the parent directory. 1437 ac_confdir=`$as_dirname -- "$as_myself" || 1438$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1439 X"$as_myself" : 'X\(//\)[^/]' \| \ 1440 X"$as_myself" : 'X\(//\)$' \| \ 1441 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1442$as_echo X"$as_myself" | 1443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1444 s//\1/ 1445 q 1446 } 1447 /^X\(\/\/\)[^/].*/{ 1448 s//\1/ 1449 q 1450 } 1451 /^X\(\/\/\)$/{ 1452 s//\1/ 1453 q 1454 } 1455 /^X\(\/\).*/{ 1456 s//\1/ 1457 q 1458 } 1459 s/.*/./; q'` 1460 srcdir=$ac_confdir 1461 if test ! -r "$srcdir/$ac_unique_file"; then 1462 srcdir=.. 1463 fi 1464else 1465 ac_srcdir_defaulted=no 1466fi 1467if test ! -r "$srcdir/$ac_unique_file"; then 1468 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1469 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1470fi 1471ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1472ac_abs_confdir=`( 1473 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1474 pwd)` 1475# When building in place, set srcdir=. 1476if test "$ac_abs_confdir" = "$ac_pwd"; then 1477 srcdir=. 1478fi 1479# Remove unnecessary trailing slashes from srcdir. 1480# Double slashes in file names in object file debugging info 1481# mess up M-x gdb in Emacs. 1482case $srcdir in 1483*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1484esac 1485for ac_var in $ac_precious_vars; do 1486 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1487 eval ac_env_${ac_var}_value=\$${ac_var} 1488 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1489 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1490done 1491 1492# 1493# Report the --help message. 1494# 1495if test "$ac_init_help" = "long"; then 1496 # Omit some internal or obsolete options to make the list less imposing. 1497 # This message is too long to be a string in the A/UX 3.1 sh. 1498 cat <<_ACEOF 1499\`configure' configures zeitgeist 1.0.3 to adapt to many kinds of systems. 1500 1501Usage: $0 [OPTION]... [VAR=VALUE]... 1502 1503To assign environment variables (e.g., CC, CFLAGS...), specify them as 1504VAR=VALUE. See below for descriptions of some of the useful variables. 1505 1506Defaults for the options are specified in brackets. 1507 1508Configuration: 1509 -h, --help display this help and exit 1510 --help=short display options specific to this package 1511 --help=recursive display the short help of all the included packages 1512 -V, --version display version information and exit 1513 -q, --quiet, --silent do not print \`checking ...' messages 1514 --cache-file=FILE cache test results in FILE [disabled] 1515 -C, --config-cache alias for \`--cache-file=config.cache' 1516 -n, --no-create do not create output files 1517 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1518 1519Installation directories: 1520 --prefix=PREFIX install architecture-independent files in PREFIX 1521 [$ac_default_prefix] 1522 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1523 [PREFIX] 1524 1525By default, \`make install' will install all the files in 1526\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1527an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1528for instance \`--prefix=\$HOME'. 1529 1530For better control, use the options below. 1531 1532Fine tuning of the installation directories: 1533 --bindir=DIR user executables [EPREFIX/bin] 1534 --sbindir=DIR system admin executables [EPREFIX/sbin] 1535 --libexecdir=DIR program executables [EPREFIX/libexec] 1536 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1537 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1538 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1539 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1540 --libdir=DIR object code libraries [EPREFIX/lib] 1541 --includedir=DIR C header files [PREFIX/include] 1542 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1543 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1544 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1545 --infodir=DIR info documentation [DATAROOTDIR/info] 1546 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1547 --mandir=DIR man documentation [DATAROOTDIR/man] 1548 --docdir=DIR documentation root [DATAROOTDIR/doc/zeitgeist] 1549 --htmldir=DIR html documentation [DOCDIR] 1550 --dvidir=DIR dvi documentation [DOCDIR] 1551 --pdfdir=DIR pdf documentation [DOCDIR] 1552 --psdir=DIR ps documentation [DOCDIR] 1553_ACEOF 1554 1555 cat <<\_ACEOF 1556 1557Program names: 1558 --program-prefix=PREFIX prepend PREFIX to installed program names 1559 --program-suffix=SUFFIX append SUFFIX to installed program names 1560 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1561 1562System types: 1563 --build=BUILD configure for building on BUILD [guessed] 1564 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1565_ACEOF 1566fi 1567 1568if test -n "$ac_init_help"; then 1569 case $ac_init_help in 1570 short | recursive ) echo "Configuration of zeitgeist 1.0.3:";; 1571 esac 1572 cat <<\_ACEOF 1573 1574Optional Features: 1575 --disable-option-checking ignore unrecognized --enable/--with options 1576 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1577 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1578 --enable-silent-rules less verbose build output (undo: "make V=1") 1579 --disable-silent-rules verbose build output (undo: "make V=0") 1580 --disable-maintainer-mode 1581 disable make rules and dependencies not useful (and 1582 sometimes confusing) to the casual installer 1583 --enable-dependency-tracking 1584 do not reject slow dependency extractors 1585 --disable-dependency-tracking 1586 speeds up one-time build 1587 --enable-static[=PKGS] build static libraries [default=no] 1588 --enable-shared[=PKGS] build shared libraries [default=yes] 1589 --enable-fast-install[=PKGS] 1590 optimize for fast installation [default=yes] 1591 --disable-libtool-lock avoid locking (might break parallel builds) 1592 --disable-nls do not use Native Language Support 1593 --disable-rpath do not hardcode runtime library paths 1594 --enable-explain-queries 1595 Enable SQL debugging 1596 --enable-fts Build with FTS++ extension 1597 --enable-datahub Whether to build zeitgeist-datahub 1598 --disable-telepathy Disables the Telepathy 1599 --disable-downloads-monitor 1600 Disables the XDG_DOWNLOAD_DIRECTORY file monitor 1601 --enable-docs Enable documentation generation 1602 --disable-introspection Enable Introspection 1603 1604Optional Packages: 1605 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1606 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1607 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1608 both] 1609 --with-aix-soname=aix|svr4|both 1610 shared library versioning (aka "SONAME") variant to 1611 provide on AIX, [default=aix]. 1612 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1613 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1614 compiler's sysroot if not specified). 1615 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1616 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1617 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1618 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1619 --without-libintl-prefix don't search for libintl in includedir and libdir 1620 --with-dee-icu=[no/auto/yes] 1621 Build the FTS extension with dee-icu 1622 1623Some influential environment variables: 1624 PYTHON the Python interpreter 1625 CC C compiler command 1626 CFLAGS C compiler flags 1627 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1628 nonstandard directory <lib dir> 1629 LIBS libraries to pass to the linker, e.g. -l<library> 1630 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1631 you have headers in a nonstandard directory <include dir> 1632 CXX C++ compiler command 1633 CXXFLAGS C++ compiler flags 1634 LT_SYS_LIBRARY_PATH 1635 User-defined run-time library search path. 1636 CPP C preprocessor 1637 CXXCPP C++ preprocessor 1638 PKG_CONFIG path to pkg-config utility 1639 PKG_CONFIG_PATH 1640 directories to add to pkg-config's search path 1641 PKG_CONFIG_LIBDIR 1642 path overriding pkg-config's built-in search path 1643 ZEITGEIST_CFLAGS 1644 C compiler flags for ZEITGEIST, overriding pkg-config 1645 ZEITGEIST_LIBS 1646 linker flags for ZEITGEIST, overriding pkg-config 1647 DEE_ICU_CFLAGS 1648 C compiler flags for DEE_ICU, overriding pkg-config 1649 DEE_ICU_LIBS 1650 linker flags for DEE_ICU, overriding pkg-config 1651 TELEPATHY_GLIB_CFLAGS 1652 C compiler flags for TELEPATHY_GLIB, overriding pkg-config 1653 TELEPATHY_GLIB_LIBS 1654 linker flags for TELEPATHY_GLIB, overriding pkg-config 1655 ZEITGEIST_DATAHUB_CFLAGS 1656 C compiler flags for ZEITGEIST_DATAHUB, overriding pkg-config 1657 ZEITGEIST_DATAHUB_LIBS 1658 linker flags for ZEITGEIST_DATAHUB, overriding pkg-config 1659 1660Use these variables to override the choices made by `configure' or to help 1661it to find libraries and programs with nonstandard names/locations. 1662 1663Report bugs to <https://gitlab.freedesktop.org/zeitgeist/zeitgeist/issues>. 1664zeitgeist home page: <https://launchpad.net/zeitgeist/>. 1665_ACEOF 1666ac_status=$? 1667fi 1668 1669if test "$ac_init_help" = "recursive"; then 1670 # If there are subdirs, report their specific --help. 1671 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1672 test -d "$ac_dir" || 1673 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1674 continue 1675 ac_builddir=. 1676 1677case "$ac_dir" in 1678.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1679*) 1680 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1681 # A ".." for each directory in $ac_dir_suffix. 1682 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1683 case $ac_top_builddir_sub in 1684 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1685 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1686 esac ;; 1687esac 1688ac_abs_top_builddir=$ac_pwd 1689ac_abs_builddir=$ac_pwd$ac_dir_suffix 1690# for backward compatibility: 1691ac_top_builddir=$ac_top_build_prefix 1692 1693case $srcdir in 1694 .) # We are building in place. 1695 ac_srcdir=. 1696 ac_top_srcdir=$ac_top_builddir_sub 1697 ac_abs_top_srcdir=$ac_pwd ;; 1698 [\\/]* | ?:[\\/]* ) # Absolute name. 1699 ac_srcdir=$srcdir$ac_dir_suffix; 1700 ac_top_srcdir=$srcdir 1701 ac_abs_top_srcdir=$srcdir ;; 1702 *) # Relative name. 1703 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1704 ac_top_srcdir=$ac_top_build_prefix$srcdir 1705 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1706esac 1707ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1708 1709 cd "$ac_dir" || { ac_status=$?; continue; } 1710 # Check for guested configure. 1711 if test -f "$ac_srcdir/configure.gnu"; then 1712 echo && 1713 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1714 elif test -f "$ac_srcdir/configure"; then 1715 echo && 1716 $SHELL "$ac_srcdir/configure" --help=recursive 1717 else 1718 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1719 fi || ac_status=$? 1720 cd "$ac_pwd" || { ac_status=$?; break; } 1721 done 1722fi 1723 1724test -n "$ac_init_help" && exit $ac_status 1725if $ac_init_version; then 1726 cat <<\_ACEOF 1727zeitgeist configure 1.0.3 1728generated by GNU Autoconf 2.69 1729 1730Copyright (C) 2012 Free Software Foundation, Inc. 1731This configure script is free software; the Free Software Foundation 1732gives unlimited permission to copy, distribute and modify it. 1733_ACEOF 1734 exit 1735fi 1736 1737## ------------------------ ## 1738## Autoconf initialization. ## 1739## ------------------------ ## 1740 1741# ac_fn_c_try_compile LINENO 1742# -------------------------- 1743# Try to compile conftest.$ac_ext, and return whether this succeeded. 1744ac_fn_c_try_compile () 1745{ 1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1747 rm -f conftest.$ac_objext 1748 if { { ac_try="$ac_compile" 1749case "(($ac_try" in 1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1751 *) ac_try_echo=$ac_try;; 1752esac 1753eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1754$as_echo "$ac_try_echo"; } >&5 1755 (eval "$ac_compile") 2>conftest.err 1756 ac_status=$? 1757 if test -s conftest.err; then 1758 grep -v '^ *+' conftest.err >conftest.er1 1759 cat conftest.er1 >&5 1760 mv -f conftest.er1 conftest.err 1761 fi 1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1763 test $ac_status = 0; } && { 1764 test -z "$ac_c_werror_flag" || 1765 test ! -s conftest.err 1766 } && test -s conftest.$ac_objext; then : 1767 ac_retval=0 1768else 1769 $as_echo "$as_me: failed program was:" >&5 1770sed 's/^/| /' conftest.$ac_ext >&5 1771 1772 ac_retval=1 1773fi 1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1775 as_fn_set_status $ac_retval 1776 1777} # ac_fn_c_try_compile 1778 1779# ac_fn_cxx_try_compile LINENO 1780# ---------------------------- 1781# Try to compile conftest.$ac_ext, and return whether this succeeded. 1782ac_fn_cxx_try_compile () 1783{ 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1785 rm -f conftest.$ac_objext 1786 if { { ac_try="$ac_compile" 1787case "(($ac_try" in 1788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1789 *) ac_try_echo=$ac_try;; 1790esac 1791eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1792$as_echo "$ac_try_echo"; } >&5 1793 (eval "$ac_compile") 2>conftest.err 1794 ac_status=$? 1795 if test -s conftest.err; then 1796 grep -v '^ *+' conftest.err >conftest.er1 1797 cat conftest.er1 >&5 1798 mv -f conftest.er1 conftest.err 1799 fi 1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1801 test $ac_status = 0; } && { 1802 test -z "$ac_cxx_werror_flag" || 1803 test ! -s conftest.err 1804 } && test -s conftest.$ac_objext; then : 1805 ac_retval=0 1806else 1807 $as_echo "$as_me: failed program was:" >&5 1808sed 's/^/| /' conftest.$ac_ext >&5 1809 1810 ac_retval=1 1811fi 1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1813 as_fn_set_status $ac_retval 1814 1815} # ac_fn_cxx_try_compile 1816 1817# ac_fn_c_try_link LINENO 1818# ----------------------- 1819# Try to link conftest.$ac_ext, and return whether this succeeded. 1820ac_fn_c_try_link () 1821{ 1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1823 rm -f conftest.$ac_objext conftest$ac_exeext 1824 if { { ac_try="$ac_link" 1825case "(($ac_try" in 1826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1827 *) ac_try_echo=$ac_try;; 1828esac 1829eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1830$as_echo "$ac_try_echo"; } >&5 1831 (eval "$ac_link") 2>conftest.err 1832 ac_status=$? 1833 if test -s conftest.err; then 1834 grep -v '^ *+' conftest.err >conftest.er1 1835 cat conftest.er1 >&5 1836 mv -f conftest.er1 conftest.err 1837 fi 1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1839 test $ac_status = 0; } && { 1840 test -z "$ac_c_werror_flag" || 1841 test ! -s conftest.err 1842 } && test -s conftest$ac_exeext && { 1843 test "$cross_compiling" = yes || 1844 test -x conftest$ac_exeext 1845 }; then : 1846 ac_retval=0 1847else 1848 $as_echo "$as_me: failed program was:" >&5 1849sed 's/^/| /' conftest.$ac_ext >&5 1850 1851 ac_retval=1 1852fi 1853 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1854 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1855 # interfere with the next link command; also delete a directory that is 1856 # left behind by Apple's compiler. We do this before executing the actions. 1857 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1859 as_fn_set_status $ac_retval 1860 1861} # ac_fn_c_try_link 1862 1863# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1864# ------------------------------------------------------- 1865# Tests whether HEADER exists and can be compiled using the include files in 1866# INCLUDES, setting the cache variable VAR accordingly. 1867ac_fn_c_check_header_compile () 1868{ 1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1871$as_echo_n "checking for $2... " >&6; } 1872if eval \${$3+:} false; then : 1873 $as_echo_n "(cached) " >&6 1874else 1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1876/* end confdefs.h. */ 1877$4 1878#include <$2> 1879_ACEOF 1880if ac_fn_c_try_compile "$LINENO"; then : 1881 eval "$3=yes" 1882else 1883 eval "$3=no" 1884fi 1885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1886fi 1887eval ac_res=\$$3 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1889$as_echo "$ac_res" >&6; } 1890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1891 1892} # ac_fn_c_check_header_compile 1893 1894# ac_fn_c_try_cpp LINENO 1895# ---------------------- 1896# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1897ac_fn_c_try_cpp () 1898{ 1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1900 if { { ac_try="$ac_cpp conftest.$ac_ext" 1901case "(($ac_try" in 1902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1903 *) ac_try_echo=$ac_try;; 1904esac 1905eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1906$as_echo "$ac_try_echo"; } >&5 1907 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1908 ac_status=$? 1909 if test -s conftest.err; then 1910 grep -v '^ *+' conftest.err >conftest.er1 1911 cat conftest.er1 >&5 1912 mv -f conftest.er1 conftest.err 1913 fi 1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1915 test $ac_status = 0; } > conftest.i && { 1916 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1917 test ! -s conftest.err 1918 }; then : 1919 ac_retval=0 1920else 1921 $as_echo "$as_me: failed program was:" >&5 1922sed 's/^/| /' conftest.$ac_ext >&5 1923 1924 ac_retval=1 1925fi 1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1927 as_fn_set_status $ac_retval 1928 1929} # ac_fn_c_try_cpp 1930 1931# ac_fn_c_try_run LINENO 1932# ---------------------- 1933# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1934# that executables *can* be run. 1935ac_fn_c_try_run () 1936{ 1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1938 if { { ac_try="$ac_link" 1939case "(($ac_try" in 1940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1941 *) ac_try_echo=$ac_try;; 1942esac 1943eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1944$as_echo "$ac_try_echo"; } >&5 1945 (eval "$ac_link") 2>&5 1946 ac_status=$? 1947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1948 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1949 { { case "(($ac_try" in 1950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1951 *) ac_try_echo=$ac_try;; 1952esac 1953eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1954$as_echo "$ac_try_echo"; } >&5 1955 (eval "$ac_try") 2>&5 1956 ac_status=$? 1957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1958 test $ac_status = 0; }; }; then : 1959 ac_retval=0 1960else 1961 $as_echo "$as_me: program exited with status $ac_status" >&5 1962 $as_echo "$as_me: failed program was:" >&5 1963sed 's/^/| /' conftest.$ac_ext >&5 1964 1965 ac_retval=$ac_status 1966fi 1967 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1969 as_fn_set_status $ac_retval 1970 1971} # ac_fn_c_try_run 1972 1973# ac_fn_c_check_func LINENO FUNC VAR 1974# ---------------------------------- 1975# Tests whether FUNC exists, setting the cache variable VAR accordingly 1976ac_fn_c_check_func () 1977{ 1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1980$as_echo_n "checking for $2... " >&6; } 1981if eval \${$3+:} false; then : 1982 $as_echo_n "(cached) " >&6 1983else 1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1985/* end confdefs.h. */ 1986/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1987 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1988#define $2 innocuous_$2 1989 1990/* System header to define __stub macros and hopefully few prototypes, 1991 which can conflict with char $2 (); below. 1992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1993 <limits.h> exists even on freestanding compilers. */ 1994 1995#ifdef __STDC__ 1996# include <limits.h> 1997#else 1998# include <assert.h> 1999#endif 2000 2001#undef $2 2002 2003/* Override any GCC internal prototype to avoid an error. 2004 Use char because int might match the return type of a GCC 2005 builtin and then its argument prototype would still apply. */ 2006#ifdef __cplusplus 2007extern "C" 2008#endif 2009char $2 (); 2010/* The GNU C library defines this for functions which it implements 2011 to always fail with ENOSYS. Some functions are actually named 2012 something starting with __ and the normal name is an alias. */ 2013#if defined __stub_$2 || defined __stub___$2 2014choke me 2015#endif 2016 2017int 2018main () 2019{ 2020return $2 (); 2021 ; 2022 return 0; 2023} 2024_ACEOF 2025if ac_fn_c_try_link "$LINENO"; then : 2026 eval "$3=yes" 2027else 2028 eval "$3=no" 2029fi 2030rm -f core conftest.err conftest.$ac_objext \ 2031 conftest$ac_exeext conftest.$ac_ext 2032fi 2033eval ac_res=\$$3 2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2035$as_echo "$ac_res" >&6; } 2036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2037 2038} # ac_fn_c_check_func 2039 2040# ac_fn_cxx_try_cpp LINENO 2041# ------------------------ 2042# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2043ac_fn_cxx_try_cpp () 2044{ 2045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2046 if { { ac_try="$ac_cpp conftest.$ac_ext" 2047case "(($ac_try" in 2048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2049 *) ac_try_echo=$ac_try;; 2050esac 2051eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2052$as_echo "$ac_try_echo"; } >&5 2053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2054 ac_status=$? 2055 if test -s conftest.err; then 2056 grep -v '^ *+' conftest.err >conftest.er1 2057 cat conftest.er1 >&5 2058 mv -f conftest.er1 conftest.err 2059 fi 2060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2061 test $ac_status = 0; } > conftest.i && { 2062 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2063 test ! -s conftest.err 2064 }; then : 2065 ac_retval=0 2066else 2067 $as_echo "$as_me: failed program was:" >&5 2068sed 's/^/| /' conftest.$ac_ext >&5 2069 2070 ac_retval=1 2071fi 2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2073 as_fn_set_status $ac_retval 2074 2075} # ac_fn_cxx_try_cpp 2076 2077# ac_fn_cxx_try_link LINENO 2078# ------------------------- 2079# Try to link conftest.$ac_ext, and return whether this succeeded. 2080ac_fn_cxx_try_link () 2081{ 2082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2083 rm -f conftest.$ac_objext conftest$ac_exeext 2084 if { { ac_try="$ac_link" 2085case "(($ac_try" in 2086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2087 *) ac_try_echo=$ac_try;; 2088esac 2089eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2090$as_echo "$ac_try_echo"; } >&5 2091 (eval "$ac_link") 2>conftest.err 2092 ac_status=$? 2093 if test -s conftest.err; then 2094 grep -v '^ *+' conftest.err >conftest.er1 2095 cat conftest.er1 >&5 2096 mv -f conftest.er1 conftest.err 2097 fi 2098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2099 test $ac_status = 0; } && { 2100 test -z "$ac_cxx_werror_flag" || 2101 test ! -s conftest.err 2102 } && test -s conftest$ac_exeext && { 2103 test "$cross_compiling" = yes || 2104 test -x conftest$ac_exeext 2105 }; then : 2106 ac_retval=0 2107else 2108 $as_echo "$as_me: failed program was:" >&5 2109sed 's/^/| /' conftest.$ac_ext >&5 2110 2111 ac_retval=1 2112fi 2113 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2114 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2115 # interfere with the next link command; also delete a directory that is 2116 # left behind by Apple's compiler. We do this before executing the actions. 2117 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2118 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2119 as_fn_set_status $ac_retval 2120 2121} # ac_fn_cxx_try_link 2122cat >config.log <<_ACEOF 2123This file contains any messages produced by compilers while 2124running configure, to aid debugging if configure makes a mistake. 2125 2126It was created by zeitgeist $as_me 1.0.3, which was 2127generated by GNU Autoconf 2.69. Invocation command line was 2128 2129 $ $0 $@ 2130 2131_ACEOF 2132exec 5>>config.log 2133{ 2134cat <<_ASUNAME 2135## --------- ## 2136## Platform. ## 2137## --------- ## 2138 2139hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2140uname -m = `(uname -m) 2>/dev/null || echo unknown` 2141uname -r = `(uname -r) 2>/dev/null || echo unknown` 2142uname -s = `(uname -s) 2>/dev/null || echo unknown` 2143uname -v = `(uname -v) 2>/dev/null || echo unknown` 2144 2145/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2146/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2147 2148/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2149/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2150/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2151/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2152/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2153/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2154/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2155 2156_ASUNAME 2157 2158as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2159for as_dir in $PATH 2160do 2161 IFS=$as_save_IFS 2162 test -z "$as_dir" && as_dir=. 2163 $as_echo "PATH: $as_dir" 2164 done 2165IFS=$as_save_IFS 2166 2167} >&5 2168 2169cat >&5 <<_ACEOF 2170 2171 2172## ----------- ## 2173## Core tests. ## 2174## ----------- ## 2175 2176_ACEOF 2177 2178 2179# Keep a trace of the command line. 2180# Strip out --no-create and --no-recursion so they do not pile up. 2181# Strip out --silent because we don't want to record it for future runs. 2182# Also quote any args containing shell meta-characters. 2183# Make two passes to allow for proper duplicate-argument suppression. 2184ac_configure_args= 2185ac_configure_args0= 2186ac_configure_args1= 2187ac_must_keep_next=false 2188for ac_pass in 1 2 2189do 2190 for ac_arg 2191 do 2192 case $ac_arg in 2193 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2194 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2195 | -silent | --silent | --silen | --sile | --sil) 2196 continue ;; 2197 *\'*) 2198 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2199 esac 2200 case $ac_pass in 2201 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2202 2) 2203 as_fn_append ac_configure_args1 " '$ac_arg'" 2204 if test $ac_must_keep_next = true; then 2205 ac_must_keep_next=false # Got value, back to normal. 2206 else 2207 case $ac_arg in 2208 *=* | --config-cache | -C | -disable-* | --disable-* \ 2209 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2210 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2211 | -with-* | --with-* | -without-* | --without-* | --x) 2212 case "$ac_configure_args0 " in 2213 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2214 esac 2215 ;; 2216 -* ) ac_must_keep_next=true ;; 2217 esac 2218 fi 2219 as_fn_append ac_configure_args " '$ac_arg'" 2220 ;; 2221 esac 2222 done 2223done 2224{ ac_configure_args0=; unset ac_configure_args0;} 2225{ ac_configure_args1=; unset ac_configure_args1;} 2226 2227# When interrupted or exit'd, cleanup temporary files, and complete 2228# config.log. We remove comments because anyway the quotes in there 2229# would cause problems or look ugly. 2230# WARNING: Use '\'' to represent an apostrophe within the trap. 2231# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2232trap 'exit_status=$? 2233 # Save into config.log some information that might help in debugging. 2234 { 2235 echo 2236 2237 $as_echo "## ---------------- ## 2238## Cache variables. ## 2239## ---------------- ##" 2240 echo 2241 # The following way of writing the cache mishandles newlines in values, 2242( 2243 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2244 eval ac_val=\$$ac_var 2245 case $ac_val in #( 2246 *${as_nl}*) 2247 case $ac_var in #( 2248 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2249$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2250 esac 2251 case $ac_var in #( 2252 _ | IFS | as_nl) ;; #( 2253 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2254 *) { eval $ac_var=; unset $ac_var;} ;; 2255 esac ;; 2256 esac 2257 done 2258 (set) 2>&1 | 2259 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2260 *${as_nl}ac_space=\ *) 2261 sed -n \ 2262 "s/'\''/'\''\\\\'\'''\''/g; 2263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2264 ;; #( 2265 *) 2266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2267 ;; 2268 esac | 2269 sort 2270) 2271 echo 2272 2273 $as_echo "## ----------------- ## 2274## Output variables. ## 2275## ----------------- ##" 2276 echo 2277 for ac_var in $ac_subst_vars 2278 do 2279 eval ac_val=\$$ac_var 2280 case $ac_val in 2281 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2282 esac 2283 $as_echo "$ac_var='\''$ac_val'\''" 2284 done | sort 2285 echo 2286 2287 if test -n "$ac_subst_files"; then 2288 $as_echo "## ------------------- ## 2289## File substitutions. ## 2290## ------------------- ##" 2291 echo 2292 for ac_var in $ac_subst_files 2293 do 2294 eval ac_val=\$$ac_var 2295 case $ac_val in 2296 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2297 esac 2298 $as_echo "$ac_var='\''$ac_val'\''" 2299 done | sort 2300 echo 2301 fi 2302 2303 if test -s confdefs.h; then 2304 $as_echo "## ----------- ## 2305## confdefs.h. ## 2306## ----------- ##" 2307 echo 2308 cat confdefs.h 2309 echo 2310 fi 2311 test "$ac_signal" != 0 && 2312 $as_echo "$as_me: caught signal $ac_signal" 2313 $as_echo "$as_me: exit $exit_status" 2314 } >&5 2315 rm -f core *.core core.conftest.* && 2316 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2317 exit $exit_status 2318' 0 2319for ac_signal in 1 2 13 15; do 2320 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2321done 2322ac_signal=0 2323 2324# confdefs.h avoids OS command line length limits that DEFS can exceed. 2325rm -f -r conftest* confdefs.h 2326 2327$as_echo "/* confdefs.h */" > confdefs.h 2328 2329# Predefined preprocessor variables. 2330 2331cat >>confdefs.h <<_ACEOF 2332#define PACKAGE_NAME "$PACKAGE_NAME" 2333_ACEOF 2334 2335cat >>confdefs.h <<_ACEOF 2336#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2337_ACEOF 2338 2339cat >>confdefs.h <<_ACEOF 2340#define PACKAGE_VERSION "$PACKAGE_VERSION" 2341_ACEOF 2342 2343cat >>confdefs.h <<_ACEOF 2344#define PACKAGE_STRING "$PACKAGE_STRING" 2345_ACEOF 2346 2347cat >>confdefs.h <<_ACEOF 2348#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2349_ACEOF 2350 2351cat >>confdefs.h <<_ACEOF 2352#define PACKAGE_URL "$PACKAGE_URL" 2353_ACEOF 2354 2355 2356# Let the site file select an alternate cache file if it wants to. 2357# Prefer an explicitly selected file to automatically selected ones. 2358ac_site_file1=NONE 2359ac_site_file2=NONE 2360if test -n "$CONFIG_SITE"; then 2361 # We do not want a PATH search for config.site. 2362 case $CONFIG_SITE in #(( 2363 -*) ac_site_file1=./$CONFIG_SITE;; 2364 */*) ac_site_file1=$CONFIG_SITE;; 2365 *) ac_site_file1=./$CONFIG_SITE;; 2366 esac 2367elif test "x$prefix" != xNONE; then 2368 ac_site_file1=$prefix/share/config.site 2369 ac_site_file2=$prefix/etc/config.site 2370else 2371 ac_site_file1=$ac_default_prefix/share/config.site 2372 ac_site_file2=$ac_default_prefix/etc/config.site 2373fi 2374for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2375do 2376 test "x$ac_site_file" = xNONE && continue 2377 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2378 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2379$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2380 sed 's/^/| /' "$ac_site_file" >&5 2381 . "$ac_site_file" \ 2382 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2384as_fn_error $? "failed to load site script $ac_site_file 2385See \`config.log' for more details" "$LINENO" 5; } 2386 fi 2387done 2388 2389if test -r "$cache_file"; then 2390 # Some versions of bash will fail to source /dev/null (special files 2391 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2392 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2393 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2394$as_echo "$as_me: loading cache $cache_file" >&6;} 2395 case $cache_file in 2396 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2397 *) . "./$cache_file";; 2398 esac 2399 fi 2400else 2401 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2402$as_echo "$as_me: creating cache $cache_file" >&6;} 2403 >$cache_file 2404fi 2405 2406gt_needs="$gt_needs " 2407# Check that the precious variables saved in the cache have kept the same 2408# value. 2409ac_cache_corrupted=false 2410for ac_var in $ac_precious_vars; do 2411 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2412 eval ac_new_set=\$ac_env_${ac_var}_set 2413 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2414 eval ac_new_val=\$ac_env_${ac_var}_value 2415 case $ac_old_set,$ac_new_set in 2416 set,) 2417 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2418$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2419 ac_cache_corrupted=: ;; 2420 ,set) 2421 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2422$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2423 ac_cache_corrupted=: ;; 2424 ,);; 2425 *) 2426 if test "x$ac_old_val" != "x$ac_new_val"; then 2427 # differences in whitespace do not lead to failure. 2428 ac_old_val_w=`echo x $ac_old_val` 2429 ac_new_val_w=`echo x $ac_new_val` 2430 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2432$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2433 ac_cache_corrupted=: 2434 else 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2436$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2437 eval $ac_var=\$ac_old_val 2438 fi 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2440$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2441 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2442$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2443 fi;; 2444 esac 2445 # Pass precious variables to config.status. 2446 if test "$ac_new_set" = set; then 2447 case $ac_new_val in 2448 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2449 *) ac_arg=$ac_var=$ac_new_val ;; 2450 esac 2451 case " $ac_configure_args " in 2452 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2453 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2454 esac 2455 fi 2456done 2457if $ac_cache_corrupted; then 2458 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2459$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2460 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2461$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2462 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2463fi 2464## -------------------- ## 2465## Main body of script. ## 2466## -------------------- ## 2467 2468ac_ext=c 2469ac_cpp='$CPP $CPPFLAGS' 2470ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2471ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2472ac_compiler_gnu=$ac_cv_c_compiler_gnu 2473 2474 2475 2476 2477 2478 2479ac_aux_dir= 2480for ac_dir in build-aux "$srcdir"/build-aux; do 2481 if test -f "$ac_dir/install-sh"; then 2482 ac_aux_dir=$ac_dir 2483 ac_install_sh="$ac_aux_dir/install-sh -c" 2484 break 2485 elif test -f "$ac_dir/install.sh"; then 2486 ac_aux_dir=$ac_dir 2487 ac_install_sh="$ac_aux_dir/install.sh -c" 2488 break 2489 elif test -f "$ac_dir/shtool"; then 2490 ac_aux_dir=$ac_dir 2491 ac_install_sh="$ac_aux_dir/shtool install -c" 2492 break 2493 fi 2494done 2495if test -z "$ac_aux_dir"; then 2496 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2497fi 2498 2499# These three variables are undocumented and unsupported, 2500# and are intended to be withdrawn in a future Autoconf release. 2501# They can cause serious problems if a builder's source tree is in a directory 2502# whose full name contains unusual characters. 2503ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2504ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2505ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2506 2507 2508 2509ac_config_headers="$ac_config_headers config.h" 2510 2511am__api_version='1.16' 2512 2513# Find a good install program. We prefer a C program (faster), 2514# so one script is as good as another. But avoid the broken or 2515# incompatible versions: 2516# SysV /etc/install, /usr/sbin/install 2517# SunOS /usr/etc/install 2518# IRIX /sbin/install 2519# AIX /bin/install 2520# AmigaOS /C/install, which installs bootblocks on floppy discs 2521# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2522# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2523# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2524# OS/2's system install, which has a completely different semantic 2525# ./install, which can be erroneously created by make from ./install.sh. 2526# Reject install programs that cannot install multiple files. 2527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2528$as_echo_n "checking for a BSD-compatible install... " >&6; } 2529if test -z "$INSTALL"; then 2530if ${ac_cv_path_install+:} false; then : 2531 $as_echo_n "(cached) " >&6 2532else 2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2534for as_dir in $PATH 2535do 2536 IFS=$as_save_IFS 2537 test -z "$as_dir" && as_dir=. 2538 # Account for people who put trailing slashes in PATH elements. 2539case $as_dir/ in #(( 2540 ./ | .// | /[cC]/* | \ 2541 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2542 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2543 /usr/ucb/* ) ;; 2544 *) 2545 # OSF1 and SCO ODT 3.0 have their own names for install. 2546 # Don't use installbsd from OSF since it installs stuff as root 2547 # by default. 2548 for ac_prog in ginstall scoinst install; do 2549 for ac_exec_ext in '' $ac_executable_extensions; do 2550 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2551 if test $ac_prog = install && 2552 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2553 # AIX install. It has an incompatible calling convention. 2554 : 2555 elif test $ac_prog = install && 2556 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2557 # program-specific install script used by HP pwplus--don't use. 2558 : 2559 else 2560 rm -rf conftest.one conftest.two conftest.dir 2561 echo one > conftest.one 2562 echo two > conftest.two 2563 mkdir conftest.dir 2564 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2565 test -s conftest.one && test -s conftest.two && 2566 test -s conftest.dir/conftest.one && 2567 test -s conftest.dir/conftest.two 2568 then 2569 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2570 break 3 2571 fi 2572 fi 2573 fi 2574 done 2575 done 2576 ;; 2577esac 2578 2579 done 2580IFS=$as_save_IFS 2581 2582rm -rf conftest.one conftest.two conftest.dir 2583 2584fi 2585 if test "${ac_cv_path_install+set}" = set; then 2586 INSTALL=$ac_cv_path_install 2587 else 2588 # As a last resort, use the slow shell script. Don't cache a 2589 # value for INSTALL within a source directory, because that will 2590 # break other packages using the cache if that directory is 2591 # removed, or if the value is a relative name. 2592 INSTALL=$ac_install_sh 2593 fi 2594fi 2595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2596$as_echo "$INSTALL" >&6; } 2597 2598# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2599# It thinks the first close brace ends the variable substitution. 2600test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2601 2602test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2603 2604test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2605 2606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2607$as_echo_n "checking whether build environment is sane... " >&6; } 2608# Reject unsafe characters in $srcdir or the absolute working directory 2609# name. Accept space and tab only in the latter. 2610am_lf=' 2611' 2612case `pwd` in 2613 *[\\\"\#\$\&\'\`$am_lf]*) 2614 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2615esac 2616case $srcdir in 2617 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2618 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2619esac 2620 2621# Do 'set' in a subshell so we don't clobber the current shell's 2622# arguments. Must try -L first in case configure is actually a 2623# symlink; some systems play weird games with the mod time of symlinks 2624# (eg FreeBSD returns the mod time of the symlink's containing 2625# directory). 2626if ( 2627 am_has_slept=no 2628 for am_try in 1 2; do 2629 echo "timestamp, slept: $am_has_slept" > conftest.file 2630 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2631 if test "$*" = "X"; then 2632 # -L didn't work. 2633 set X `ls -t "$srcdir/configure" conftest.file` 2634 fi 2635 if test "$*" != "X $srcdir/configure conftest.file" \ 2636 && test "$*" != "X conftest.file $srcdir/configure"; then 2637 2638 # If neither matched, then we have a broken ls. This can happen 2639 # if, for instance, CONFIG_SHELL is bash and it inherits a 2640 # broken ls alias from the environment. This has actually 2641 # happened. Such a system could not be considered "sane". 2642 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2643 alias in your environment" "$LINENO" 5 2644 fi 2645 if test "$2" = conftest.file || test $am_try -eq 2; then 2646 break 2647 fi 2648 # Just in case. 2649 sleep 1 2650 am_has_slept=yes 2651 done 2652 test "$2" = conftest.file 2653 ) 2654then 2655 # Ok. 2656 : 2657else 2658 as_fn_error $? "newly created file is older than distributed files! 2659Check your system clock" "$LINENO" 5 2660fi 2661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2662$as_echo "yes" >&6; } 2663# If we didn't sleep, we still need to ensure time stamps of config.status and 2664# generated files are strictly newer. 2665am_sleep_pid= 2666if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2667 ( sleep 1 ) & 2668 am_sleep_pid=$! 2669fi 2670 2671rm -f conftest.file 2672 2673test "$program_prefix" != NONE && 2674 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2675# Use a double $ so make ignores it. 2676test "$program_suffix" != NONE && 2677 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2678# Double any \ or $. 2679# By default was `s,x,x', remove it if useless. 2680ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2681program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2682 2683# Expand $ac_aux_dir to an absolute path. 2684am_aux_dir=`cd "$ac_aux_dir" && pwd` 2685 2686if test x"${MISSING+set}" != xset; then 2687 case $am_aux_dir in 2688 *\ * | *\ *) 2689 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2690 *) 2691 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2692 esac 2693fi 2694# Use eval to expand $SHELL 2695if eval "$MISSING --is-lightweight"; then 2696 am_missing_run="$MISSING " 2697else 2698 am_missing_run= 2699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2700$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2701fi 2702 2703if test x"${install_sh+set}" != xset; then 2704 case $am_aux_dir in 2705 *\ * | *\ *) 2706 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2707 *) 2708 install_sh="\${SHELL} $am_aux_dir/install-sh" 2709 esac 2710fi 2711 2712# Installed binaries are usually stripped using 'strip' when the user 2713# run "make install-strip". However 'strip' might not be the right 2714# tool to use in cross-compilation environments, therefore Automake 2715# will honor the 'STRIP' environment variable to overrule this program. 2716if test "$cross_compiling" != no; then 2717 if test -n "$ac_tool_prefix"; then 2718 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2719set dummy ${ac_tool_prefix}strip; ac_word=$2 2720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2721$as_echo_n "checking for $ac_word... " >&6; } 2722if ${ac_cv_prog_STRIP+:} false; then : 2723 $as_echo_n "(cached) " >&6 2724else 2725 if test -n "$STRIP"; then 2726 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2727else 2728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2729for as_dir in $PATH 2730do 2731 IFS=$as_save_IFS 2732 test -z "$as_dir" && as_dir=. 2733 for ac_exec_ext in '' $ac_executable_extensions; do 2734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2735 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2737 break 2 2738 fi 2739done 2740 done 2741IFS=$as_save_IFS 2742 2743fi 2744fi 2745STRIP=$ac_cv_prog_STRIP 2746if test -n "$STRIP"; then 2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2748$as_echo "$STRIP" >&6; } 2749else 2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2751$as_echo "no" >&6; } 2752fi 2753 2754 2755fi 2756if test -z "$ac_cv_prog_STRIP"; then 2757 ac_ct_STRIP=$STRIP 2758 # Extract the first word of "strip", so it can be a program name with args. 2759set dummy strip; ac_word=$2 2760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2761$as_echo_n "checking for $ac_word... " >&6; } 2762if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2763 $as_echo_n "(cached) " >&6 2764else 2765 if test -n "$ac_ct_STRIP"; then 2766 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2767else 2768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2769for as_dir in $PATH 2770do 2771 IFS=$as_save_IFS 2772 test -z "$as_dir" && as_dir=. 2773 for ac_exec_ext in '' $ac_executable_extensions; do 2774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2775 ac_cv_prog_ac_ct_STRIP="strip" 2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2777 break 2 2778 fi 2779done 2780 done 2781IFS=$as_save_IFS 2782 2783fi 2784fi 2785ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2786if test -n "$ac_ct_STRIP"; then 2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2788$as_echo "$ac_ct_STRIP" >&6; } 2789else 2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2791$as_echo "no" >&6; } 2792fi 2793 2794 if test "x$ac_ct_STRIP" = x; then 2795 STRIP=":" 2796 else 2797 case $cross_compiling:$ac_tool_warned in 2798yes:) 2799{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2800$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2801ac_tool_warned=yes ;; 2802esac 2803 STRIP=$ac_ct_STRIP 2804 fi 2805else 2806 STRIP="$ac_cv_prog_STRIP" 2807fi 2808 2809fi 2810INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2811 2812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2813$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2814if test -z "$MKDIR_P"; then 2815 if ${ac_cv_path_mkdir+:} false; then : 2816 $as_echo_n "(cached) " >&6 2817else 2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2819for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2820do 2821 IFS=$as_save_IFS 2822 test -z "$as_dir" && as_dir=. 2823 for ac_prog in mkdir gmkdir; do 2824 for ac_exec_ext in '' $ac_executable_extensions; do 2825 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2826 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2827 'mkdir (GNU coreutils) '* | \ 2828 'mkdir (coreutils) '* | \ 2829 'mkdir (fileutils) '4.1*) 2830 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2831 break 3;; 2832 esac 2833 done 2834 done 2835 done 2836IFS=$as_save_IFS 2837 2838fi 2839 2840 test -d ./--version && rmdir ./--version 2841 if test "${ac_cv_path_mkdir+set}" = set; then 2842 MKDIR_P="$ac_cv_path_mkdir -p" 2843 else 2844 # As a last resort, use the slow shell script. Don't cache a 2845 # value for MKDIR_P within a source directory, because that will 2846 # break other packages using the cache if that directory is 2847 # removed, or if the value is a relative name. 2848 MKDIR_P="$ac_install_sh -d" 2849 fi 2850fi 2851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2852$as_echo "$MKDIR_P" >&6; } 2853 2854for ac_prog in gawk mawk nawk awk 2855do 2856 # Extract the first word of "$ac_prog", so it can be a program name with args. 2857set dummy $ac_prog; ac_word=$2 2858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2859$as_echo_n "checking for $ac_word... " >&6; } 2860if ${ac_cv_prog_AWK+:} false; then : 2861 $as_echo_n "(cached) " >&6 2862else 2863 if test -n "$AWK"; then 2864 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2865else 2866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2867for as_dir in $PATH 2868do 2869 IFS=$as_save_IFS 2870 test -z "$as_dir" && as_dir=. 2871 for ac_exec_ext in '' $ac_executable_extensions; do 2872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2873 ac_cv_prog_AWK="$ac_prog" 2874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2875 break 2 2876 fi 2877done 2878 done 2879IFS=$as_save_IFS 2880 2881fi 2882fi 2883AWK=$ac_cv_prog_AWK 2884if test -n "$AWK"; then 2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2886$as_echo "$AWK" >&6; } 2887else 2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2889$as_echo "no" >&6; } 2890fi 2891 2892 2893 test -n "$AWK" && break 2894done 2895 2896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2897$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2898set x ${MAKE-make} 2899ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2900if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2901 $as_echo_n "(cached) " >&6 2902else 2903 cat >conftest.make <<\_ACEOF 2904SHELL = /bin/sh 2905all: 2906 @echo '@@@%%%=$(MAKE)=@@@%%%' 2907_ACEOF 2908# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2909case `${MAKE-make} -f conftest.make 2>/dev/null` in 2910 *@@@%%%=?*=@@@%%%*) 2911 eval ac_cv_prog_make_${ac_make}_set=yes;; 2912 *) 2913 eval ac_cv_prog_make_${ac_make}_set=no;; 2914esac 2915rm -f conftest.make 2916fi 2917if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2919$as_echo "yes" >&6; } 2920 SET_MAKE= 2921else 2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2923$as_echo "no" >&6; } 2924 SET_MAKE="MAKE=${MAKE-make}" 2925fi 2926 2927rm -rf .tst 2>/dev/null 2928mkdir .tst 2>/dev/null 2929if test -d .tst; then 2930 am__leading_dot=. 2931else 2932 am__leading_dot=_ 2933fi 2934rmdir .tst 2>/dev/null 2935 2936# Check whether --enable-silent-rules was given. 2937if test "${enable_silent_rules+set}" = set; then : 2938 enableval=$enable_silent_rules; 2939fi 2940 2941case $enable_silent_rules in # ((( 2942 yes) AM_DEFAULT_VERBOSITY=0;; 2943 no) AM_DEFAULT_VERBOSITY=1;; 2944 *) AM_DEFAULT_VERBOSITY=1;; 2945esac 2946am_make=${MAKE-make} 2947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2948$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2949if ${am_cv_make_support_nested_variables+:} false; then : 2950 $as_echo_n "(cached) " >&6 2951else 2952 if $as_echo 'TRUE=$(BAR$(V)) 2953BAR0=false 2954BAR1=true 2955V=1 2956am__doit: 2957 @$(TRUE) 2958.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2959 am_cv_make_support_nested_variables=yes 2960else 2961 am_cv_make_support_nested_variables=no 2962fi 2963fi 2964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2965$as_echo "$am_cv_make_support_nested_variables" >&6; } 2966if test $am_cv_make_support_nested_variables = yes; then 2967 AM_V='$(V)' 2968 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2969else 2970 AM_V=$AM_DEFAULT_VERBOSITY 2971 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2972fi 2973AM_BACKSLASH='\' 2974 2975if test "`cd $srcdir && pwd`" != "`pwd`"; then 2976 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2977 # is not polluted with repeated "-I." 2978 am__isrc=' -I$(srcdir)' 2979 # test to see if srcdir already configured 2980 if test -f $srcdir/config.status; then 2981 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2982 fi 2983fi 2984 2985# test whether we have cygpath 2986if test -z "$CYGPATH_W"; then 2987 if (cygpath --version) >/dev/null 2>/dev/null; then 2988 CYGPATH_W='cygpath -w' 2989 else 2990 CYGPATH_W=echo 2991 fi 2992fi 2993 2994 2995# Define the identity of the package. 2996 PACKAGE='zeitgeist' 2997 VERSION='1.0.3' 2998 2999 3000cat >>confdefs.h <<_ACEOF 3001#define PACKAGE "$PACKAGE" 3002_ACEOF 3003 3004 3005cat >>confdefs.h <<_ACEOF 3006#define VERSION "$VERSION" 3007_ACEOF 3008 3009# Some tools Automake needs. 3010 3011ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3012 3013 3014AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3015 3016 3017AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3018 3019 3020AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3021 3022 3023MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3024 3025# For better backward compatibility. To be removed once Automake 1.9.x 3026# dies out for good. For more background, see: 3027# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3028# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3029mkdir_p='$(MKDIR_P)' 3030 3031# We need awk for the "check" target (and possibly the TAP driver). The 3032# system "awk" is bad on some platforms. 3033# Always define AMTAR for backward compatibility. Yes, it's still used 3034# in the wild :-( We should find a proper way to deprecate it ... 3035AMTAR='$${TAR-tar}' 3036 3037 3038# We'll loop over all known methods to create a tar archive until one works. 3039_am_tools='gnutar plaintar pax cpio none' 3040 3041# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3042 # There is notably a 21 bits limit for the UID and the GID. In fact, 3043 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3044 # and bug#13588). 3045 am_max_uid=2097151 # 2^21 - 1 3046 am_max_gid=$am_max_uid 3047 # The $UID and $GID variables are not portable, so we need to resort 3048 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3049 # below are definitely unexpected, so allow the users to see them 3050 # (that is, avoid stderr redirection). 3051 am_uid=`id -u || echo unknown` 3052 am_gid=`id -g || echo unknown` 3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3054$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3055 if test $am_uid -le $am_max_uid; then 3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3057$as_echo "yes" >&6; } 3058 else 3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3060$as_echo "no" >&6; } 3061 _am_tools=none 3062 fi 3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3064$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3065 if test $am_gid -le $am_max_gid; then 3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3067$as_echo "yes" >&6; } 3068 else 3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3070$as_echo "no" >&6; } 3071 _am_tools=none 3072 fi 3073 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3075$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3076 3077 # Go ahead even if we have the value already cached. We do so because we 3078 # need to set the values for the 'am__tar' and 'am__untar' variables. 3079 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3080 3081 for _am_tool in $_am_tools; do 3082 case $_am_tool in 3083 gnutar) 3084 for _am_tar in tar gnutar gtar; do 3085 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3086 ($_am_tar --version) >&5 2>&5 3087 ac_status=$? 3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3089 (exit $ac_status); } && break 3090 done 3091 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3092 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3093 am__untar="$_am_tar -xf -" 3094 ;; 3095 plaintar) 3096 # Must skip GNU tar: if it does not support --format= it doesn't create 3097 # ustar tarball either. 3098 (tar --version) >/dev/null 2>&1 && continue 3099 am__tar='tar chf - "$$tardir"' 3100 am__tar_='tar chf - "$tardir"' 3101 am__untar='tar xf -' 3102 ;; 3103 pax) 3104 am__tar='pax -L -x ustar -w "$$tardir"' 3105 am__tar_='pax -L -x ustar -w "$tardir"' 3106 am__untar='pax -r' 3107 ;; 3108 cpio) 3109 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3110 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3111 am__untar='cpio -i -H ustar -d' 3112 ;; 3113 none) 3114 am__tar=false 3115 am__tar_=false 3116 am__untar=false 3117 ;; 3118 esac 3119 3120 # If the value was cached, stop now. We just wanted to have am__tar 3121 # and am__untar set. 3122 test -n "${am_cv_prog_tar_ustar}" && break 3123 3124 # tar/untar a dummy directory, and stop if the command works. 3125 rm -rf conftest.dir 3126 mkdir conftest.dir 3127 echo GrepMe > conftest.dir/file 3128 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3129 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3130 ac_status=$? 3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3132 (exit $ac_status); } 3133 rm -rf conftest.dir 3134 if test -s conftest.tar; then 3135 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3136 ($am__untar <conftest.tar) >&5 2>&5 3137 ac_status=$? 3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3139 (exit $ac_status); } 3140 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3141 (cat conftest.dir/file) >&5 2>&5 3142 ac_status=$? 3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3144 (exit $ac_status); } 3145 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3146 fi 3147 done 3148 rm -rf conftest.dir 3149 3150 if ${am_cv_prog_tar_ustar+:} false; then : 3151 $as_echo_n "(cached) " >&6 3152else 3153 am_cv_prog_tar_ustar=$_am_tool 3154fi 3155 3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3157$as_echo "$am_cv_prog_tar_ustar" >&6; } 3158 3159 3160 3161 3162 3163 3164# POSIX will say in a future version that running "rm -f" with no argument 3165# is OK; and we want to be able to make that assumption in our Makefile 3166# recipes. So use an aggressive probe to check that the usage we want is 3167# actually supported "in the wild" to an acceptable degree. 3168# See automake bug#10828. 3169# To make any issue more visible, cause the running configure to be aborted 3170# by default if the 'rm' program in use doesn't match our expectations; the 3171# user can still override this though. 3172if rm -f && rm -fr && rm -rf; then : OK; else 3173 cat >&2 <<'END' 3174Oops! 3175 3176Your 'rm' program seems unable to run without file operands specified 3177on the command line, even when the '-f' option is present. This is contrary 3178to the behaviour of most rm programs out there, and not conforming with 3179the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3180 3181Please tell bug-automake@gnu.org about your system, including the value 3182of your $PATH and any error possibly output before this message. This 3183can help us improve future automake versions. 3184 3185END 3186 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3187 echo 'Configuration will proceed anyway, since you have set the' >&2 3188 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3189 echo >&2 3190 else 3191 cat >&2 <<'END' 3192Aborting the configuration process, to ensure you take notice of the issue. 3193 3194You can download and install GNU coreutils to get an 'rm' implementation 3195that behaves properly: <https://www.gnu.org/software/coreutils/>. 3196 3197If you want to complete the configuration process using your problematic 3198'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3199to "yes", and re-run configure. 3200 3201END 3202 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3203 fi 3204fi 3205 3206 3207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3208$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3209 # Check whether --enable-maintainer-mode was given. 3210if test "${enable_maintainer_mode+set}" = set; then : 3211 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3212else 3213 USE_MAINTAINER_MODE=yes 3214fi 3215 3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3217$as_echo "$USE_MAINTAINER_MODE" >&6; } 3218 if test $USE_MAINTAINER_MODE = yes; then 3219 MAINTAINER_MODE_TRUE= 3220 MAINTAINER_MODE_FALSE='#' 3221else 3222 MAINTAINER_MODE_TRUE='#' 3223 MAINTAINER_MODE_FALSE= 3224fi 3225 3226 MAINT=$MAINTAINER_MODE_TRUE 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 if test -n "$PYTHON"; then 3237 # If the user set $PYTHON, use it and don't search something else. 3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3" >&5 3239$as_echo_n "checking whether $PYTHON version is >= 3... " >&6; } 3240 prog="import sys 3241# split strings by '.' and convert to numeric. Append some zeros 3242# because we need at least 4 digits for the hex conversion. 3243# map returns an iterator in Python 3.0 and a list in 2.x 3244minver = list(map(int, '3'.split('.'))) + [0, 0, 0] 3245minverhex = 0 3246# xrange is not present in Python 3.0 and range returns an iterator 3247for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] 3248sys.exit(sys.hexversion < minverhex)" 3249 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 3250 ($PYTHON -c "$prog") >&5 2>&5 3251 ac_status=$? 3252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3253 (exit $ac_status); }; then : 3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3255$as_echo "yes" >&6; } 3256else 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3258$as_echo "no" >&6; } 3259 as_fn_error $? "Python interpreter is too old" "$LINENO" 5 3260fi 3261 am_display_PYTHON=$PYTHON 3262 else 3263 # Otherwise, try each interpreter until we find one that satisfies 3264 # VERSION. 3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3" >&5 3266$as_echo_n "checking for a Python interpreter with version >= 3... " >&6; } 3267if ${am_cv_pathless_PYTHON+:} false; then : 3268 $as_echo_n "(cached) " >&6 3269else 3270 3271 for am_cv_pathless_PYTHON in python python2 python3 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do 3272 test "$am_cv_pathless_PYTHON" = none && break 3273 prog="import sys 3274# split strings by '.' and convert to numeric. Append some zeros 3275# because we need at least 4 digits for the hex conversion. 3276# map returns an iterator in Python 3.0 and a list in 2.x 3277minver = list(map(int, '3'.split('.'))) + [0, 0, 0] 3278minverhex = 0 3279# xrange is not present in Python 3.0 and range returns an iterator 3280for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] 3281sys.exit(sys.hexversion < minverhex)" 3282 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 3283 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 3284 ac_status=$? 3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3286 (exit $ac_status); }; then : 3287 break 3288fi 3289 done 3290fi 3291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 3292$as_echo "$am_cv_pathless_PYTHON" >&6; } 3293 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. 3294 if test "$am_cv_pathless_PYTHON" = none; then 3295 PYTHON=: 3296 else 3297 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. 3298set dummy $am_cv_pathless_PYTHON; ac_word=$2 3299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3300$as_echo_n "checking for $ac_word... " >&6; } 3301if ${ac_cv_path_PYTHON+:} false; then : 3302 $as_echo_n "(cached) " >&6 3303else 3304 case $PYTHON in 3305 [\\/]* | ?:[\\/]*) 3306 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 3307 ;; 3308 *) 3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3310for as_dir in $PATH 3311do 3312 IFS=$as_save_IFS 3313 test -z "$as_dir" && as_dir=. 3314 for ac_exec_ext in '' $ac_executable_extensions; do 3315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3316 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3318 break 2 3319 fi 3320done 3321 done 3322IFS=$as_save_IFS 3323 3324 ;; 3325esac 3326fi 3327PYTHON=$ac_cv_path_PYTHON 3328if test -n "$PYTHON"; then 3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3330$as_echo "$PYTHON" >&6; } 3331else 3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3333$as_echo "no" >&6; } 3334fi 3335 3336 3337 fi 3338 am_display_PYTHON=$am_cv_pathless_PYTHON 3339 fi 3340 3341 3342 if test "$PYTHON" = :; then 3343 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 3344 else 3345 3346 3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 3348$as_echo_n "checking for $am_display_PYTHON version... " >&6; } 3349if ${am_cv_python_version+:} false; then : 3350 $as_echo_n "(cached) " >&6 3351else 3352 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` 3353fi 3354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 3355$as_echo "$am_cv_python_version" >&6; } 3356 PYTHON_VERSION=$am_cv_python_version 3357 3358 3359 3360 PYTHON_PREFIX='${prefix}' 3361 3362 PYTHON_EXEC_PREFIX='${exec_prefix}' 3363 3364 3365 3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 3367$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } 3368if ${am_cv_python_platform+:} false; then : 3369 $as_echo_n "(cached) " >&6 3370else 3371 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` 3372fi 3373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 3374$as_echo "$am_cv_python_platform" >&6; } 3375 PYTHON_PLATFORM=$am_cv_python_platform 3376 3377 3378 # Just factor out some code duplication. 3379 am_python_setup_sysconfig="\ 3380import sys 3381# Prefer sysconfig over distutils.sysconfig, for better compatibility 3382# with python 3.x. See automake bug#10227. 3383try: 3384 import sysconfig 3385except ImportError: 3386 can_use_sysconfig = 0 3387else: 3388 can_use_sysconfig = 1 3389# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: 3390# <https://github.com/pypa/virtualenv/issues/118> 3391try: 3392 from platform import python_implementation 3393 if python_implementation() == 'CPython' and sys.version[:3] == '2.7': 3394 can_use_sysconfig = 0 3395except ImportError: 3396 pass" 3397 3398 3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 3400$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } 3401if ${am_cv_python_pythondir+:} false; then : 3402 $as_echo_n "(cached) " >&6 3403else 3404 if test "x$prefix" = xNONE 3405 then 3406 am_py_prefix=$ac_default_prefix 3407 else 3408 am_py_prefix=$prefix 3409 fi 3410 am_cv_python_pythondir=`$PYTHON -c " 3411$am_python_setup_sysconfig 3412if can_use_sysconfig: 3413 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) 3414else: 3415 from distutils import sysconfig 3416 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') 3417sys.stdout.write(sitedir)"` 3418 case $am_cv_python_pythondir in 3419 $am_py_prefix*) 3420 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` 3421 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` 3422 ;; 3423 *) 3424 case $am_py_prefix in 3425 /usr|/System*) ;; 3426 *) 3427 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages 3428 ;; 3429 esac 3430 ;; 3431 esac 3432 3433fi 3434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 3435$as_echo "$am_cv_python_pythondir" >&6; } 3436 pythondir=$am_cv_python_pythondir 3437 3438 3439 3440 pkgpythondir=\${pythondir}/$PACKAGE 3441 3442 3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 3444$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } 3445if ${am_cv_python_pyexecdir+:} false; then : 3446 $as_echo_n "(cached) " >&6 3447else 3448 if test "x$exec_prefix" = xNONE 3449 then 3450 am_py_exec_prefix=$am_py_prefix 3451 else 3452 am_py_exec_prefix=$exec_prefix 3453 fi 3454 am_cv_python_pyexecdir=`$PYTHON -c " 3455$am_python_setup_sysconfig 3456if can_use_sysconfig: 3457 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) 3458else: 3459 from distutils import sysconfig 3460 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') 3461sys.stdout.write(sitedir)"` 3462 case $am_cv_python_pyexecdir in 3463 $am_py_exec_prefix*) 3464 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` 3465 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` 3466 ;; 3467 *) 3468 case $am_py_exec_prefix in 3469 /usr|/System*) ;; 3470 *) 3471 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages 3472 ;; 3473 esac 3474 ;; 3475 esac 3476 3477fi 3478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 3479$as_echo "$am_cv_python_pyexecdir" >&6; } 3480 pyexecdir=$am_cv_python_pyexecdir 3481 3482 3483 3484 pkgpyexecdir=\${pyexecdir}/$PACKAGE 3485 3486 3487 3488 fi 3489 3490 3491 3492ac_ext=c 3493ac_cpp='$CPP $CPPFLAGS' 3494ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3495ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3496ac_compiler_gnu=$ac_cv_c_compiler_gnu 3497if test -n "$ac_tool_prefix"; then 3498 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3499set dummy ${ac_tool_prefix}gcc; ac_word=$2 3500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3501$as_echo_n "checking for $ac_word... " >&6; } 3502if ${ac_cv_prog_CC+:} false; then : 3503 $as_echo_n "(cached) " >&6 3504else 3505 if test -n "$CC"; then 3506 ac_cv_prog_CC="$CC" # Let the user override the test. 3507else 3508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3509for as_dir in $PATH 3510do 3511 IFS=$as_save_IFS 3512 test -z "$as_dir" && as_dir=. 3513 for ac_exec_ext in '' $ac_executable_extensions; do 3514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3515 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3517 break 2 3518 fi 3519done 3520 done 3521IFS=$as_save_IFS 3522 3523fi 3524fi 3525CC=$ac_cv_prog_CC 3526if test -n "$CC"; then 3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3528$as_echo "$CC" >&6; } 3529else 3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3531$as_echo "no" >&6; } 3532fi 3533 3534 3535fi 3536if test -z "$ac_cv_prog_CC"; then 3537 ac_ct_CC=$CC 3538 # Extract the first word of "gcc", so it can be a program name with args. 3539set dummy gcc; ac_word=$2 3540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3541$as_echo_n "checking for $ac_word... " >&6; } 3542if ${ac_cv_prog_ac_ct_CC+:} false; then : 3543 $as_echo_n "(cached) " >&6 3544else 3545 if test -n "$ac_ct_CC"; then 3546 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3547else 3548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3549for as_dir in $PATH 3550do 3551 IFS=$as_save_IFS 3552 test -z "$as_dir" && as_dir=. 3553 for ac_exec_ext in '' $ac_executable_extensions; do 3554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3555 ac_cv_prog_ac_ct_CC="gcc" 3556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3557 break 2 3558 fi 3559done 3560 done 3561IFS=$as_save_IFS 3562 3563fi 3564fi 3565ac_ct_CC=$ac_cv_prog_ac_ct_CC 3566if test -n "$ac_ct_CC"; then 3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3568$as_echo "$ac_ct_CC" >&6; } 3569else 3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3571$as_echo "no" >&6; } 3572fi 3573 3574 if test "x$ac_ct_CC" = x; then 3575 CC="" 3576 else 3577 case $cross_compiling:$ac_tool_warned in 3578yes:) 3579{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3580$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3581ac_tool_warned=yes ;; 3582esac 3583 CC=$ac_ct_CC 3584 fi 3585else 3586 CC="$ac_cv_prog_CC" 3587fi 3588 3589if test -z "$CC"; then 3590 if test -n "$ac_tool_prefix"; then 3591 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3592set dummy ${ac_tool_prefix}cc; ac_word=$2 3593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3594$as_echo_n "checking for $ac_word... " >&6; } 3595if ${ac_cv_prog_CC+:} false; then : 3596 $as_echo_n "(cached) " >&6 3597else 3598 if test -n "$CC"; then 3599 ac_cv_prog_CC="$CC" # Let the user override the test. 3600else 3601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3602for as_dir in $PATH 3603do 3604 IFS=$as_save_IFS 3605 test -z "$as_dir" && as_dir=. 3606 for ac_exec_ext in '' $ac_executable_extensions; do 3607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3608 ac_cv_prog_CC="${ac_tool_prefix}cc" 3609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3610 break 2 3611 fi 3612done 3613 done 3614IFS=$as_save_IFS 3615 3616fi 3617fi 3618CC=$ac_cv_prog_CC 3619if test -n "$CC"; then 3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3621$as_echo "$CC" >&6; } 3622else 3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3624$as_echo "no" >&6; } 3625fi 3626 3627 3628 fi 3629fi 3630if test -z "$CC"; then 3631 # Extract the first word of "cc", so it can be a program name with args. 3632set dummy cc; ac_word=$2 3633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3634$as_echo_n "checking for $ac_word... " >&6; } 3635if ${ac_cv_prog_CC+:} false; then : 3636 $as_echo_n "(cached) " >&6 3637else 3638 if test -n "$CC"; then 3639 ac_cv_prog_CC="$CC" # Let the user override the test. 3640else 3641 ac_prog_rejected=no 3642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3643for as_dir in $PATH 3644do 3645 IFS=$as_save_IFS 3646 test -z "$as_dir" && as_dir=. 3647 for ac_exec_ext in '' $ac_executable_extensions; do 3648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3649 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3650 ac_prog_rejected=yes 3651 continue 3652 fi 3653 ac_cv_prog_CC="cc" 3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3655 break 2 3656 fi 3657done 3658 done 3659IFS=$as_save_IFS 3660 3661if test $ac_prog_rejected = yes; then 3662 # We found a bogon in the path, so make sure we never use it. 3663 set dummy $ac_cv_prog_CC 3664 shift 3665 if test $# != 0; then 3666 # We chose a different compiler from the bogus one. 3667 # However, it has the same basename, so the bogon will be chosen 3668 # first if we set CC to just the basename; use the full file name. 3669 shift 3670 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3671 fi 3672fi 3673fi 3674fi 3675CC=$ac_cv_prog_CC 3676if test -n "$CC"; then 3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3678$as_echo "$CC" >&6; } 3679else 3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3681$as_echo "no" >&6; } 3682fi 3683 3684 3685fi 3686if test -z "$CC"; then 3687 if test -n "$ac_tool_prefix"; then 3688 for ac_prog in cl.exe 3689 do 3690 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3691set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3693$as_echo_n "checking for $ac_word... " >&6; } 3694if ${ac_cv_prog_CC+:} false; then : 3695 $as_echo_n "(cached) " >&6 3696else 3697 if test -n "$CC"; then 3698 ac_cv_prog_CC="$CC" # Let the user override the test. 3699else 3700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3701for as_dir in $PATH 3702do 3703 IFS=$as_save_IFS 3704 test -z "$as_dir" && as_dir=. 3705 for ac_exec_ext in '' $ac_executable_extensions; do 3706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3707 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3709 break 2 3710 fi 3711done 3712 done 3713IFS=$as_save_IFS 3714 3715fi 3716fi 3717CC=$ac_cv_prog_CC 3718if test -n "$CC"; then 3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3720$as_echo "$CC" >&6; } 3721else 3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3723$as_echo "no" >&6; } 3724fi 3725 3726 3727 test -n "$CC" && break 3728 done 3729fi 3730if test -z "$CC"; then 3731 ac_ct_CC=$CC 3732 for ac_prog in cl.exe 3733do 3734 # Extract the first word of "$ac_prog", so it can be a program name with args. 3735set dummy $ac_prog; ac_word=$2 3736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3737$as_echo_n "checking for $ac_word... " >&6; } 3738if ${ac_cv_prog_ac_ct_CC+:} false; then : 3739 $as_echo_n "(cached) " >&6 3740else 3741 if test -n "$ac_ct_CC"; then 3742 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3743else 3744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3745for as_dir in $PATH 3746do 3747 IFS=$as_save_IFS 3748 test -z "$as_dir" && as_dir=. 3749 for ac_exec_ext in '' $ac_executable_extensions; do 3750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3751 ac_cv_prog_ac_ct_CC="$ac_prog" 3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3753 break 2 3754 fi 3755done 3756 done 3757IFS=$as_save_IFS 3758 3759fi 3760fi 3761ac_ct_CC=$ac_cv_prog_ac_ct_CC 3762if test -n "$ac_ct_CC"; then 3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3764$as_echo "$ac_ct_CC" >&6; } 3765else 3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3767$as_echo "no" >&6; } 3768fi 3769 3770 3771 test -n "$ac_ct_CC" && break 3772done 3773 3774 if test "x$ac_ct_CC" = x; then 3775 CC="" 3776 else 3777 case $cross_compiling:$ac_tool_warned in 3778yes:) 3779{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3780$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3781ac_tool_warned=yes ;; 3782esac 3783 CC=$ac_ct_CC 3784 fi 3785fi 3786 3787fi 3788 3789 3790test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3791$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3792as_fn_error $? "no acceptable C compiler found in \$PATH 3793See \`config.log' for more details" "$LINENO" 5; } 3794 3795# Provide some information about the compiler. 3796$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3797set X $ac_compile 3798ac_compiler=$2 3799for ac_option in --version -v -V -qversion; do 3800 { { ac_try="$ac_compiler $ac_option >&5" 3801case "(($ac_try" in 3802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3803 *) ac_try_echo=$ac_try;; 3804esac 3805eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3806$as_echo "$ac_try_echo"; } >&5 3807 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3808 ac_status=$? 3809 if test -s conftest.err; then 3810 sed '10a\ 3811... rest of stderr output deleted ... 3812 10q' conftest.err >conftest.er1 3813 cat conftest.er1 >&5 3814 fi 3815 rm -f conftest.er1 conftest.err 3816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3817 test $ac_status = 0; } 3818done 3819 3820cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3821/* end confdefs.h. */ 3822 3823int 3824main () 3825{ 3826 3827 ; 3828 return 0; 3829} 3830_ACEOF 3831ac_clean_files_save=$ac_clean_files 3832ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3833# Try to create an executable without -o first, disregard a.out. 3834# It will help us diagnose broken compilers, and finding out an intuition 3835# of exeext. 3836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3837$as_echo_n "checking whether the C compiler works... " >&6; } 3838ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3839 3840# The possible output files: 3841ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3842 3843ac_rmfiles= 3844for ac_file in $ac_files 3845do 3846 case $ac_file in 3847 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3848 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3849 esac 3850done 3851rm -f $ac_rmfiles 3852 3853if { { ac_try="$ac_link_default" 3854case "(($ac_try" in 3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3856 *) ac_try_echo=$ac_try;; 3857esac 3858eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3859$as_echo "$ac_try_echo"; } >&5 3860 (eval "$ac_link_default") 2>&5 3861 ac_status=$? 3862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3863 test $ac_status = 0; }; then : 3864 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3865# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3866# in a Makefile. We should not override ac_cv_exeext if it was cached, 3867# so that the user can short-circuit this test for compilers unknown to 3868# Autoconf. 3869for ac_file in $ac_files '' 3870do 3871 test -f "$ac_file" || continue 3872 case $ac_file in 3873 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3874 ;; 3875 [ab].out ) 3876 # We found the default executable, but exeext='' is most 3877 # certainly right. 3878 break;; 3879 *.* ) 3880 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3881 then :; else 3882 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3883 fi 3884 # We set ac_cv_exeext here because the later test for it is not 3885 # safe: cross compilers may not add the suffix if given an `-o' 3886 # argument, so we may need to know it at that point already. 3887 # Even if this section looks crufty: it has the advantage of 3888 # actually working. 3889 break;; 3890 * ) 3891 break;; 3892 esac 3893done 3894test "$ac_cv_exeext" = no && ac_cv_exeext= 3895 3896else 3897 ac_file='' 3898fi 3899if test -z "$ac_file"; then : 3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3901$as_echo "no" >&6; } 3902$as_echo "$as_me: failed program was:" >&5 3903sed 's/^/| /' conftest.$ac_ext >&5 3904 3905{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3906$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3907as_fn_error 77 "C compiler cannot create executables 3908See \`config.log' for more details" "$LINENO" 5; } 3909else 3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3911$as_echo "yes" >&6; } 3912fi 3913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3914$as_echo_n "checking for C compiler default output file name... " >&6; } 3915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3916$as_echo "$ac_file" >&6; } 3917ac_exeext=$ac_cv_exeext 3918 3919rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3920ac_clean_files=$ac_clean_files_save 3921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3922$as_echo_n "checking for suffix of executables... " >&6; } 3923if { { ac_try="$ac_link" 3924case "(($ac_try" in 3925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3926 *) ac_try_echo=$ac_try;; 3927esac 3928eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3929$as_echo "$ac_try_echo"; } >&5 3930 (eval "$ac_link") 2>&5 3931 ac_status=$? 3932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3933 test $ac_status = 0; }; then : 3934 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3935# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3936# work properly (i.e., refer to `conftest.exe'), while it won't with 3937# `rm'. 3938for ac_file in conftest.exe conftest conftest.*; do 3939 test -f "$ac_file" || continue 3940 case $ac_file in 3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3942 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3943 break;; 3944 * ) break;; 3945 esac 3946done 3947else 3948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3949$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3950as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3951See \`config.log' for more details" "$LINENO" 5; } 3952fi 3953rm -f conftest conftest$ac_cv_exeext 3954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3955$as_echo "$ac_cv_exeext" >&6; } 3956 3957rm -f conftest.$ac_ext 3958EXEEXT=$ac_cv_exeext 3959ac_exeext=$EXEEXT 3960cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3961/* end confdefs.h. */ 3962#include <stdio.h> 3963int 3964main () 3965{ 3966FILE *f = fopen ("conftest.out", "w"); 3967 return ferror (f) || fclose (f) != 0; 3968 3969 ; 3970 return 0; 3971} 3972_ACEOF 3973ac_clean_files="$ac_clean_files conftest.out" 3974# Check that the compiler produces executables we can run. If not, either 3975# the compiler is broken, or we cross compile. 3976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3977$as_echo_n "checking whether we are cross compiling... " >&6; } 3978if test "$cross_compiling" != yes; then 3979 { { ac_try="$ac_link" 3980case "(($ac_try" in 3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3982 *) ac_try_echo=$ac_try;; 3983esac 3984eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3985$as_echo "$ac_try_echo"; } >&5 3986 (eval "$ac_link") 2>&5 3987 ac_status=$? 3988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3989 test $ac_status = 0; } 3990 if { ac_try='./conftest$ac_cv_exeext' 3991 { { case "(($ac_try" in 3992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3993 *) ac_try_echo=$ac_try;; 3994esac 3995eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3996$as_echo "$ac_try_echo"; } >&5 3997 (eval "$ac_try") 2>&5 3998 ac_status=$? 3999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4000 test $ac_status = 0; }; }; then 4001 cross_compiling=no 4002 else 4003 if test "$cross_compiling" = maybe; then 4004 cross_compiling=yes 4005 else 4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4007$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4008as_fn_error $? "cannot run C compiled programs. 4009If you meant to cross compile, use \`--host'. 4010See \`config.log' for more details" "$LINENO" 5; } 4011 fi 4012 fi 4013fi 4014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4015$as_echo "$cross_compiling" >&6; } 4016 4017rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4018ac_clean_files=$ac_clean_files_save 4019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4020$as_echo_n "checking for suffix of object files... " >&6; } 4021if ${ac_cv_objext+:} false; then : 4022 $as_echo_n "(cached) " >&6 4023else 4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4025/* end confdefs.h. */ 4026 4027int 4028main () 4029{ 4030 4031 ; 4032 return 0; 4033} 4034_ACEOF 4035rm -f conftest.o conftest.obj 4036if { { ac_try="$ac_compile" 4037case "(($ac_try" in 4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4039 *) ac_try_echo=$ac_try;; 4040esac 4041eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4042$as_echo "$ac_try_echo"; } >&5 4043 (eval "$ac_compile") 2>&5 4044 ac_status=$? 4045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4046 test $ac_status = 0; }; then : 4047 for ac_file in conftest.o conftest.obj conftest.*; do 4048 test -f "$ac_file" || continue; 4049 case $ac_file in 4050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4051 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4052 break;; 4053 esac 4054done 4055else 4056 $as_echo "$as_me: failed program was:" >&5 4057sed 's/^/| /' conftest.$ac_ext >&5 4058 4059{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4060$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4061as_fn_error $? "cannot compute suffix of object files: cannot compile 4062See \`config.log' for more details" "$LINENO" 5; } 4063fi 4064rm -f conftest.$ac_cv_objext conftest.$ac_ext 4065fi 4066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4067$as_echo "$ac_cv_objext" >&6; } 4068OBJEXT=$ac_cv_objext 4069ac_objext=$OBJEXT 4070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4071$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4072if ${ac_cv_c_compiler_gnu+:} false; then : 4073 $as_echo_n "(cached) " >&6 4074else 4075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4076/* end confdefs.h. */ 4077 4078int 4079main () 4080{ 4081#ifndef __GNUC__ 4082 choke me 4083#endif 4084 4085 ; 4086 return 0; 4087} 4088_ACEOF 4089if ac_fn_c_try_compile "$LINENO"; then : 4090 ac_compiler_gnu=yes 4091else 4092 ac_compiler_gnu=no 4093fi 4094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4095ac_cv_c_compiler_gnu=$ac_compiler_gnu 4096 4097fi 4098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4099$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4100if test $ac_compiler_gnu = yes; then 4101 GCC=yes 4102else 4103 GCC= 4104fi 4105ac_test_CFLAGS=${CFLAGS+set} 4106ac_save_CFLAGS=$CFLAGS 4107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4108$as_echo_n "checking whether $CC accepts -g... " >&6; } 4109if ${ac_cv_prog_cc_g+:} false; then : 4110 $as_echo_n "(cached) " >&6 4111else 4112 ac_save_c_werror_flag=$ac_c_werror_flag 4113 ac_c_werror_flag=yes 4114 ac_cv_prog_cc_g=no 4115 CFLAGS="-g" 4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4117/* end confdefs.h. */ 4118 4119int 4120main () 4121{ 4122 4123 ; 4124 return 0; 4125} 4126_ACEOF 4127if ac_fn_c_try_compile "$LINENO"; then : 4128 ac_cv_prog_cc_g=yes 4129else 4130 CFLAGS="" 4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4132/* end confdefs.h. */ 4133 4134int 4135main () 4136{ 4137 4138 ; 4139 return 0; 4140} 4141_ACEOF 4142if ac_fn_c_try_compile "$LINENO"; then : 4143 4144else 4145 ac_c_werror_flag=$ac_save_c_werror_flag 4146 CFLAGS="-g" 4147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4148/* end confdefs.h. */ 4149 4150int 4151main () 4152{ 4153 4154 ; 4155 return 0; 4156} 4157_ACEOF 4158if ac_fn_c_try_compile "$LINENO"; then : 4159 ac_cv_prog_cc_g=yes 4160fi 4161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4162fi 4163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4164fi 4165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4166 ac_c_werror_flag=$ac_save_c_werror_flag 4167fi 4168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4169$as_echo "$ac_cv_prog_cc_g" >&6; } 4170if test "$ac_test_CFLAGS" = set; then 4171 CFLAGS=$ac_save_CFLAGS 4172elif test $ac_cv_prog_cc_g = yes; then 4173 if test "$GCC" = yes; then 4174 CFLAGS="-g -O2" 4175 else 4176 CFLAGS="-g" 4177 fi 4178else 4179 if test "$GCC" = yes; then 4180 CFLAGS="-O2" 4181 else 4182 CFLAGS= 4183 fi 4184fi 4185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4186$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4187if ${ac_cv_prog_cc_c89+:} false; then : 4188 $as_echo_n "(cached) " >&6 4189else 4190 ac_cv_prog_cc_c89=no 4191ac_save_CC=$CC 4192cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4193/* end confdefs.h. */ 4194#include <stdarg.h> 4195#include <stdio.h> 4196struct stat; 4197/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4198struct buf { int x; }; 4199FILE * (*rcsopen) (struct buf *, struct stat *, int); 4200static char *e (p, i) 4201 char **p; 4202 int i; 4203{ 4204 return p[i]; 4205} 4206static char *f (char * (*g) (char **, int), char **p, ...) 4207{ 4208 char *s; 4209 va_list v; 4210 va_start (v,p); 4211 s = g (p, va_arg (v,int)); 4212 va_end (v); 4213 return s; 4214} 4215 4216/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4217 function prototypes and stuff, but not '\xHH' hex character constants. 4218 These don't provoke an error unfortunately, instead are silently treated 4219 as 'x'. The following induces an error, until -std is added to get 4220 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4221 array size at least. It's necessary to write '\x00'==0 to get something 4222 that's true only with -std. */ 4223int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4224 4225/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4226 inside strings and character constants. */ 4227#define FOO(x) 'x' 4228int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4229 4230int test (int i, double x); 4231struct s1 {int (*f) (int a);}; 4232struct s2 {int (*f) (double a);}; 4233int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4234int argc; 4235char **argv; 4236int 4237main () 4238{ 4239return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4240 ; 4241 return 0; 4242} 4243_ACEOF 4244for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4245 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4246do 4247 CC="$ac_save_CC $ac_arg" 4248 if ac_fn_c_try_compile "$LINENO"; then : 4249 ac_cv_prog_cc_c89=$ac_arg 4250fi 4251rm -f core conftest.err conftest.$ac_objext 4252 test "x$ac_cv_prog_cc_c89" != "xno" && break 4253done 4254rm -f conftest.$ac_ext 4255CC=$ac_save_CC 4256 4257fi 4258# AC_CACHE_VAL 4259case "x$ac_cv_prog_cc_c89" in 4260 x) 4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4262$as_echo "none needed" >&6; } ;; 4263 xno) 4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4265$as_echo "unsupported" >&6; } ;; 4266 *) 4267 CC="$CC $ac_cv_prog_cc_c89" 4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4269$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4270esac 4271if test "x$ac_cv_prog_cc_c89" != xno; then : 4272 4273fi 4274 4275ac_ext=c 4276ac_cpp='$CPP $CPPFLAGS' 4277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4279ac_compiler_gnu=$ac_cv_c_compiler_gnu 4280 4281ac_ext=c 4282ac_cpp='$CPP $CPPFLAGS' 4283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4285ac_compiler_gnu=$ac_cv_c_compiler_gnu 4286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4287$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4288if ${am_cv_prog_cc_c_o+:} false; then : 4289 $as_echo_n "(cached) " >&6 4290else 4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4292/* end confdefs.h. */ 4293 4294int 4295main () 4296{ 4297 4298 ; 4299 return 0; 4300} 4301_ACEOF 4302 # Make sure it works both with $CC and with simple cc. 4303 # Following AC_PROG_CC_C_O, we do the test twice because some 4304 # compilers refuse to overwrite an existing .o file with -o, 4305 # though they will create one. 4306 am_cv_prog_cc_c_o=yes 4307 for am_i in 1 2; do 4308 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4309 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4310 ac_status=$? 4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4312 (exit $ac_status); } \ 4313 && test -f conftest2.$ac_objext; then 4314 : OK 4315 else 4316 am_cv_prog_cc_c_o=no 4317 break 4318 fi 4319 done 4320 rm -f core conftest* 4321 unset am_i 4322fi 4323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4324$as_echo "$am_cv_prog_cc_c_o" >&6; } 4325if test "$am_cv_prog_cc_c_o" != yes; then 4326 # Losing compiler, so override with the script. 4327 # FIXME: It is wrong to rewrite CC. 4328 # But if we don't then we get into trouble of one sort or another. 4329 # A longer-term fix would be to have automake use am__CC in this case, 4330 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4331 CC="$am_aux_dir/compile $CC" 4332fi 4333ac_ext=c 4334ac_cpp='$CPP $CPPFLAGS' 4335ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4336ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4337ac_compiler_gnu=$ac_cv_c_compiler_gnu 4338 4339DEPDIR="${am__leading_dot}deps" 4340 4341ac_config_commands="$ac_config_commands depfiles" 4342 4343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 4344$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 4345cat > confinc.mk << 'END' 4346am__doit: 4347 @echo this is the am__doit target >confinc.out 4348.PHONY: am__doit 4349END 4350am__include="#" 4351am__quote= 4352# BSD make does it like this. 4353echo '.include "confinc.mk" # ignored' > confmf.BSD 4354# Other make implementations (GNU, Solaris 10, AIX) do it like this. 4355echo 'include confinc.mk # ignored' > confmf.GNU 4356_am_result=no 4357for s in GNU BSD; do 4358 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 4359 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 4360 ac_status=$? 4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4362 (exit $ac_status); } 4363 case $?:`cat confinc.out 2>/dev/null` in #( 4364 '0:this is the am__doit target') : 4365 case $s in #( 4366 BSD) : 4367 am__include='.include' am__quote='"' ;; #( 4368 *) : 4369 am__include='include' am__quote='' ;; 4370esac ;; #( 4371 *) : 4372 ;; 4373esac 4374 if test "$am__include" != "#"; then 4375 _am_result="yes ($s style)" 4376 break 4377 fi 4378done 4379rm -f confinc.* confmf.* 4380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 4381$as_echo "${_am_result}" >&6; } 4382 4383# Check whether --enable-dependency-tracking was given. 4384if test "${enable_dependency_tracking+set}" = set; then : 4385 enableval=$enable_dependency_tracking; 4386fi 4387 4388if test "x$enable_dependency_tracking" != xno; then 4389 am_depcomp="$ac_aux_dir/depcomp" 4390 AMDEPBACKSLASH='\' 4391 am__nodep='_no' 4392fi 4393 if test "x$enable_dependency_tracking" != xno; then 4394 AMDEP_TRUE= 4395 AMDEP_FALSE='#' 4396else 4397 AMDEP_TRUE='#' 4398 AMDEP_FALSE= 4399fi 4400 4401 4402 4403depcc="$CC" am_compiler_list= 4404 4405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4406$as_echo_n "checking dependency style of $depcc... " >&6; } 4407if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4408 $as_echo_n "(cached) " >&6 4409else 4410 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4411 # We make a subdir and do the tests there. Otherwise we can end up 4412 # making bogus files that we don't know about and never remove. For 4413 # instance it was reported that on HP-UX the gcc test will end up 4414 # making a dummy file named 'D' -- because '-MD' means "put the output 4415 # in D". 4416 rm -rf conftest.dir 4417 mkdir conftest.dir 4418 # Copy depcomp to subdir because otherwise we won't find it if we're 4419 # using a relative directory. 4420 cp "$am_depcomp" conftest.dir 4421 cd conftest.dir 4422 # We will build objects and dependencies in a subdirectory because 4423 # it helps to detect inapplicable dependency modes. For instance 4424 # both Tru64's cc and ICC support -MD to output dependencies as a 4425 # side effect of compilation, but ICC will put the dependencies in 4426 # the current directory while Tru64 will put them in the object 4427 # directory. 4428 mkdir sub 4429 4430 am_cv_CC_dependencies_compiler_type=none 4431 if test "$am_compiler_list" = ""; then 4432 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4433 fi 4434 am__universal=false 4435 case " $depcc " in #( 4436 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4437 esac 4438 4439 for depmode in $am_compiler_list; do 4440 # Setup a source with many dependencies, because some compilers 4441 # like to wrap large dependency lists on column 80 (with \), and 4442 # we should not choose a depcomp mode which is confused by this. 4443 # 4444 # We need to recreate these files for each test, as the compiler may 4445 # overwrite some of them when testing with obscure command lines. 4446 # This happens at least with the AIX C compiler. 4447 : > sub/conftest.c 4448 for i in 1 2 3 4 5 6; do 4449 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4450 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4451 # Solaris 10 /bin/sh. 4452 echo '/* dummy */' > sub/conftst$i.h 4453 done 4454 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4455 4456 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4457 # mode. It turns out that the SunPro C++ compiler does not properly 4458 # handle '-M -o', and we need to detect this. Also, some Intel 4459 # versions had trouble with output in subdirs. 4460 am__obj=sub/conftest.${OBJEXT-o} 4461 am__minus_obj="-o $am__obj" 4462 case $depmode in 4463 gcc) 4464 # This depmode causes a compiler race in universal mode. 4465 test "$am__universal" = false || continue 4466 ;; 4467 nosideeffect) 4468 # After this tag, mechanisms are not by side-effect, so they'll 4469 # only be used when explicitly requested. 4470 if test "x$enable_dependency_tracking" = xyes; then 4471 continue 4472 else 4473 break 4474 fi 4475 ;; 4476 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4477 # This compiler won't grok '-c -o', but also, the minuso test has 4478 # not run yet. These depmodes are late enough in the game, and 4479 # so weak that their functioning should not be impacted. 4480 am__obj=conftest.${OBJEXT-o} 4481 am__minus_obj= 4482 ;; 4483 none) break ;; 4484 esac 4485 if depmode=$depmode \ 4486 source=sub/conftest.c object=$am__obj \ 4487 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4488 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4489 >/dev/null 2>conftest.err && 4490 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4491 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4492 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4493 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4494 # icc doesn't choke on unknown options, it will just issue warnings 4495 # or remarks (even with -Werror). So we grep stderr for any message 4496 # that says an option was ignored or not supported. 4497 # When given -MP, icc 7.0 and 7.1 complain thusly: 4498 # icc: Command line warning: ignoring option '-M'; no argument required 4499 # The diagnosis changed in icc 8.0: 4500 # icc: Command line remark: option '-MP' not supported 4501 if (grep 'ignoring option' conftest.err || 4502 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4503 am_cv_CC_dependencies_compiler_type=$depmode 4504 break 4505 fi 4506 fi 4507 done 4508 4509 cd .. 4510 rm -rf conftest.dir 4511else 4512 am_cv_CC_dependencies_compiler_type=none 4513fi 4514 4515fi 4516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4517$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4518CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4519 4520 if 4521 test "x$enable_dependency_tracking" != xno \ 4522 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4523 am__fastdepCC_TRUE= 4524 am__fastdepCC_FALSE='#' 4525else 4526 am__fastdepCC_TRUE='#' 4527 am__fastdepCC_FALSE= 4528fi 4529 4530 4531 4532ac_ext=cpp 4533ac_cpp='$CXXCPP $CPPFLAGS' 4534ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4535ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4536ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4537if test -z "$CXX"; then 4538 if test -n "$CCC"; then 4539 CXX=$CCC 4540 else 4541 if test -n "$ac_tool_prefix"; then 4542 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4543 do 4544 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4545set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4547$as_echo_n "checking for $ac_word... " >&6; } 4548if ${ac_cv_prog_CXX+:} false; then : 4549 $as_echo_n "(cached) " >&6 4550else 4551 if test -n "$CXX"; then 4552 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4553else 4554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4555for as_dir in $PATH 4556do 4557 IFS=$as_save_IFS 4558 test -z "$as_dir" && as_dir=. 4559 for ac_exec_ext in '' $ac_executable_extensions; do 4560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4561 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4563 break 2 4564 fi 4565done 4566 done 4567IFS=$as_save_IFS 4568 4569fi 4570fi 4571CXX=$ac_cv_prog_CXX 4572if test -n "$CXX"; then 4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4574$as_echo "$CXX" >&6; } 4575else 4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4577$as_echo "no" >&6; } 4578fi 4579 4580 4581 test -n "$CXX" && break 4582 done 4583fi 4584if test -z "$CXX"; then 4585 ac_ct_CXX=$CXX 4586 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4587do 4588 # Extract the first word of "$ac_prog", so it can be a program name with args. 4589set dummy $ac_prog; ac_word=$2 4590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4591$as_echo_n "checking for $ac_word... " >&6; } 4592if ${ac_cv_prog_ac_ct_CXX+:} false; then : 4593 $as_echo_n "(cached) " >&6 4594else 4595 if test -n "$ac_ct_CXX"; then 4596 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4597else 4598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4599for as_dir in $PATH 4600do 4601 IFS=$as_save_IFS 4602 test -z "$as_dir" && as_dir=. 4603 for ac_exec_ext in '' $ac_executable_extensions; do 4604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4605 ac_cv_prog_ac_ct_CXX="$ac_prog" 4606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4607 break 2 4608 fi 4609done 4610 done 4611IFS=$as_save_IFS 4612 4613fi 4614fi 4615ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4616if test -n "$ac_ct_CXX"; then 4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4618$as_echo "$ac_ct_CXX" >&6; } 4619else 4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4621$as_echo "no" >&6; } 4622fi 4623 4624 4625 test -n "$ac_ct_CXX" && break 4626done 4627 4628 if test "x$ac_ct_CXX" = x; then 4629 CXX="g++" 4630 else 4631 case $cross_compiling:$ac_tool_warned in 4632yes:) 4633{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4634$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4635ac_tool_warned=yes ;; 4636esac 4637 CXX=$ac_ct_CXX 4638 fi 4639fi 4640 4641 fi 4642fi 4643# Provide some information about the compiler. 4644$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4645set X $ac_compile 4646ac_compiler=$2 4647for ac_option in --version -v -V -qversion; do 4648 { { ac_try="$ac_compiler $ac_option >&5" 4649case "(($ac_try" in 4650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4651 *) ac_try_echo=$ac_try;; 4652esac 4653eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4654$as_echo "$ac_try_echo"; } >&5 4655 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4656 ac_status=$? 4657 if test -s conftest.err; then 4658 sed '10a\ 4659... rest of stderr output deleted ... 4660 10q' conftest.err >conftest.er1 4661 cat conftest.er1 >&5 4662 fi 4663 rm -f conftest.er1 conftest.err 4664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4665 test $ac_status = 0; } 4666done 4667 4668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4669$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4670if ${ac_cv_cxx_compiler_gnu+:} false; then : 4671 $as_echo_n "(cached) " >&6 4672else 4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4674/* end confdefs.h. */ 4675 4676int 4677main () 4678{ 4679#ifndef __GNUC__ 4680 choke me 4681#endif 4682 4683 ; 4684 return 0; 4685} 4686_ACEOF 4687if ac_fn_cxx_try_compile "$LINENO"; then : 4688 ac_compiler_gnu=yes 4689else 4690 ac_compiler_gnu=no 4691fi 4692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4693ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4694 4695fi 4696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4697$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4698if test $ac_compiler_gnu = yes; then 4699 GXX=yes 4700else 4701 GXX= 4702fi 4703ac_test_CXXFLAGS=${CXXFLAGS+set} 4704ac_save_CXXFLAGS=$CXXFLAGS 4705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4706$as_echo_n "checking whether $CXX accepts -g... " >&6; } 4707if ${ac_cv_prog_cxx_g+:} false; then : 4708 $as_echo_n "(cached) " >&6 4709else 4710 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4711 ac_cxx_werror_flag=yes 4712 ac_cv_prog_cxx_g=no 4713 CXXFLAGS="-g" 4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4715/* end confdefs.h. */ 4716 4717int 4718main () 4719{ 4720 4721 ; 4722 return 0; 4723} 4724_ACEOF 4725if ac_fn_cxx_try_compile "$LINENO"; then : 4726 ac_cv_prog_cxx_g=yes 4727else 4728 CXXFLAGS="" 4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4730/* end confdefs.h. */ 4731 4732int 4733main () 4734{ 4735 4736 ; 4737 return 0; 4738} 4739_ACEOF 4740if ac_fn_cxx_try_compile "$LINENO"; then : 4741 4742else 4743 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4744 CXXFLAGS="-g" 4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4746/* end confdefs.h. */ 4747 4748int 4749main () 4750{ 4751 4752 ; 4753 return 0; 4754} 4755_ACEOF 4756if ac_fn_cxx_try_compile "$LINENO"; then : 4757 ac_cv_prog_cxx_g=yes 4758fi 4759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4760fi 4761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4762fi 4763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4764 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4765fi 4766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4767$as_echo "$ac_cv_prog_cxx_g" >&6; } 4768if test "$ac_test_CXXFLAGS" = set; then 4769 CXXFLAGS=$ac_save_CXXFLAGS 4770elif test $ac_cv_prog_cxx_g = yes; then 4771 if test "$GXX" = yes; then 4772 CXXFLAGS="-g -O2" 4773 else 4774 CXXFLAGS="-g" 4775 fi 4776else 4777 if test "$GXX" = yes; then 4778 CXXFLAGS="-O2" 4779 else 4780 CXXFLAGS= 4781 fi 4782fi 4783ac_ext=c 4784ac_cpp='$CPP $CPPFLAGS' 4785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4787ac_compiler_gnu=$ac_cv_c_compiler_gnu 4788 4789depcc="$CXX" am_compiler_list= 4790 4791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4792$as_echo_n "checking dependency style of $depcc... " >&6; } 4793if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 4794 $as_echo_n "(cached) " >&6 4795else 4796 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4797 # We make a subdir and do the tests there. Otherwise we can end up 4798 # making bogus files that we don't know about and never remove. For 4799 # instance it was reported that on HP-UX the gcc test will end up 4800 # making a dummy file named 'D' -- because '-MD' means "put the output 4801 # in D". 4802 rm -rf conftest.dir 4803 mkdir conftest.dir 4804 # Copy depcomp to subdir because otherwise we won't find it if we're 4805 # using a relative directory. 4806 cp "$am_depcomp" conftest.dir 4807 cd conftest.dir 4808 # We will build objects and dependencies in a subdirectory because 4809 # it helps to detect inapplicable dependency modes. For instance 4810 # both Tru64's cc and ICC support -MD to output dependencies as a 4811 # side effect of compilation, but ICC will put the dependencies in 4812 # the current directory while Tru64 will put them in the object 4813 # directory. 4814 mkdir sub 4815 4816 am_cv_CXX_dependencies_compiler_type=none 4817 if test "$am_compiler_list" = ""; then 4818 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4819 fi 4820 am__universal=false 4821 case " $depcc " in #( 4822 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4823 esac 4824 4825 for depmode in $am_compiler_list; do 4826 # Setup a source with many dependencies, because some compilers 4827 # like to wrap large dependency lists on column 80 (with \), and 4828 # we should not choose a depcomp mode which is confused by this. 4829 # 4830 # We need to recreate these files for each test, as the compiler may 4831 # overwrite some of them when testing with obscure command lines. 4832 # This happens at least with the AIX C compiler. 4833 : > sub/conftest.c 4834 for i in 1 2 3 4 5 6; do 4835 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4836 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4837 # Solaris 10 /bin/sh. 4838 echo '/* dummy */' > sub/conftst$i.h 4839 done 4840 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4841 4842 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4843 # mode. It turns out that the SunPro C++ compiler does not properly 4844 # handle '-M -o', and we need to detect this. Also, some Intel 4845 # versions had trouble with output in subdirs. 4846 am__obj=sub/conftest.${OBJEXT-o} 4847 am__minus_obj="-o $am__obj" 4848 case $depmode in 4849 gcc) 4850 # This depmode causes a compiler race in universal mode. 4851 test "$am__universal" = false || continue 4852 ;; 4853 nosideeffect) 4854 # After this tag, mechanisms are not by side-effect, so they'll 4855 # only be used when explicitly requested. 4856 if test "x$enable_dependency_tracking" = xyes; then 4857 continue 4858 else 4859 break 4860 fi 4861 ;; 4862 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4863 # This compiler won't grok '-c -o', but also, the minuso test has 4864 # not run yet. These depmodes are late enough in the game, and 4865 # so weak that their functioning should not be impacted. 4866 am__obj=conftest.${OBJEXT-o} 4867 am__minus_obj= 4868 ;; 4869 none) break ;; 4870 esac 4871 if depmode=$depmode \ 4872 source=sub/conftest.c object=$am__obj \ 4873 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4874 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4875 >/dev/null 2>conftest.err && 4876 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4877 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4878 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4879 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4880 # icc doesn't choke on unknown options, it will just issue warnings 4881 # or remarks (even with -Werror). So we grep stderr for any message 4882 # that says an option was ignored or not supported. 4883 # When given -MP, icc 7.0 and 7.1 complain thusly: 4884 # icc: Command line warning: ignoring option '-M'; no argument required 4885 # The diagnosis changed in icc 8.0: 4886 # icc: Command line remark: option '-MP' not supported 4887 if (grep 'ignoring option' conftest.err || 4888 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4889 am_cv_CXX_dependencies_compiler_type=$depmode 4890 break 4891 fi 4892 fi 4893 done 4894 4895 cd .. 4896 rm -rf conftest.dir 4897else 4898 am_cv_CXX_dependencies_compiler_type=none 4899fi 4900 4901fi 4902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4903$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4904CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4905 4906 if 4907 test "x$enable_dependency_tracking" != xno \ 4908 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4909 am__fastdepCXX_TRUE= 4910 am__fastdepCXX_FALSE='#' 4911else 4912 am__fastdepCXX_TRUE='#' 4913 am__fastdepCXX_FALSE= 4914fi 4915 4916 4917ac_ext=cpp 4918ac_cpp='$CXXCPP $CPPFLAGS' 4919ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4920ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4921ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX understands -c and -o together" >&5 4923$as_echo_n "checking whether $CXX understands -c and -o together... " >&6; } 4924if ${ac_cv_prog_cxx_c_o+:} false; then : 4925 $as_echo_n "(cached) " >&6 4926else 4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4928/* end confdefs.h. */ 4929 4930int 4931main () 4932{ 4933 4934 ; 4935 return 0; 4936} 4937_ACEOF 4938# We test twice because some compilers refuse to overwrite an existing 4939# `.o' file with `-o', although they will create one. 4940ac_try='$CXX $CXXFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 4941rm -f conftest2.* 4942if { { case "(($ac_try" in 4943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4944 *) ac_try_echo=$ac_try;; 4945esac 4946eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4947$as_echo "$ac_try_echo"; } >&5 4948 (eval "$ac_try") 2>&5 4949 ac_status=$? 4950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4951 test $ac_status = 0; } && 4952 test -f conftest2.$ac_objext && 4953 { { case "(($ac_try" in 4954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4955 *) ac_try_echo=$ac_try;; 4956esac 4957eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4958$as_echo "$ac_try_echo"; } >&5 4959 (eval "$ac_try") 2>&5 4960 ac_status=$? 4961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4962 test $ac_status = 0; }; then 4963 ac_cv_prog_cxx_c_o=yes 4964else 4965 ac_cv_prog_cxx_c_o=no 4966fi 4967rm -f conftest* 4968fi 4969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_c_o" >&5 4970$as_echo "$ac_cv_prog_cxx_c_o" >&6; } 4971if test $ac_cv_prog_cxx_c_o = no; then 4972 4973$as_echo "#define CXX_NO_MINUS_C_MINUS_O 1" >>confdefs.h 4974 4975fi 4976ac_ext=c 4977ac_cpp='$CPP $CPPFLAGS' 4978ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4979ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4980ac_compiler_gnu=$ac_cv_c_compiler_gnu 4981 4982 4983 4984 4985case `pwd` in 4986 *\ * | *\ *) 4987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4988$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4989esac 4990 4991 4992 4993macro_version='2.4.6' 4994macro_revision='2.4.6' 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008ltmain=$ac_aux_dir/ltmain.sh 5009 5010# Make sure we can run config.sub. 5011$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 5012 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 5013 5014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 5015$as_echo_n "checking build system type... " >&6; } 5016if ${ac_cv_build+:} false; then : 5017 $as_echo_n "(cached) " >&6 5018else 5019 ac_build_alias=$build_alias 5020test "x$ac_build_alias" = x && 5021 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 5022test "x$ac_build_alias" = x && 5023 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 5024ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 5025 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 5026 5027fi 5028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 5029$as_echo "$ac_cv_build" >&6; } 5030case $ac_cv_build in 5031*-*-*) ;; 5032*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 5033esac 5034build=$ac_cv_build 5035ac_save_IFS=$IFS; IFS='-' 5036set x $ac_cv_build 5037shift 5038build_cpu=$1 5039build_vendor=$2 5040shift; shift 5041# Remember, the first character of IFS is used to create $*, 5042# except with old shells: 5043build_os=$* 5044IFS=$ac_save_IFS 5045case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 5046 5047 5048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 5049$as_echo_n "checking host system type... " >&6; } 5050if ${ac_cv_host+:} false; then : 5051 $as_echo_n "(cached) " >&6 5052else 5053 if test "x$host_alias" = x; then 5054 ac_cv_host=$ac_cv_build 5055else 5056 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 5057 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 5058fi 5059 5060fi 5061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 5062$as_echo "$ac_cv_host" >&6; } 5063case $ac_cv_host in 5064*-*-*) ;; 5065*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 5066esac 5067host=$ac_cv_host 5068ac_save_IFS=$IFS; IFS='-' 5069set x $ac_cv_host 5070shift 5071host_cpu=$1 5072host_vendor=$2 5073shift; shift 5074# Remember, the first character of IFS is used to create $*, 5075# except with old shells: 5076host_os=$* 5077IFS=$ac_save_IFS 5078case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 5079 5080 5081# Backslashify metacharacters that are still active within 5082# double-quoted strings. 5083sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5084 5085# Same as above, but do not quote variable references. 5086double_quote_subst='s/\(["`\\]\)/\\\1/g' 5087 5088# Sed substitution to delay expansion of an escaped shell variable in a 5089# double_quote_subst'ed string. 5090delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5091 5092# Sed substitution to delay expansion of an escaped single quote. 5093delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5094 5095# Sed substitution to avoid accidental globbing in evaled expressions 5096no_glob_subst='s/\*/\\\*/g' 5097 5098ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5099ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5100ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5101 5102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5103$as_echo_n "checking how to print strings... " >&6; } 5104# Test print first, because it will be a builtin if present. 5105if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5106 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5107 ECHO='print -r --' 5108elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5109 ECHO='printf %s\n' 5110else 5111 # Use this function as a fallback that always works. 5112 func_fallback_echo () 5113 { 5114 eval 'cat <<_LTECHO_EOF 5115$1 5116_LTECHO_EOF' 5117 } 5118 ECHO='func_fallback_echo' 5119fi 5120 5121# func_echo_all arg... 5122# Invoke $ECHO with all args, space-separated. 5123func_echo_all () 5124{ 5125 $ECHO "" 5126} 5127 5128case $ECHO in 5129 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5130$as_echo "printf" >&6; } ;; 5131 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5132$as_echo "print -r" >&6; } ;; 5133 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5134$as_echo "cat" >&6; } ;; 5135esac 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5151$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5152if ${ac_cv_path_SED+:} false; then : 5153 $as_echo_n "(cached) " >&6 5154else 5155 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5156 for ac_i in 1 2 3 4 5 6 7; do 5157 ac_script="$ac_script$as_nl$ac_script" 5158 done 5159 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5160 { ac_script=; unset ac_script;} 5161 if test -z "$SED"; then 5162 ac_path_SED_found=false 5163 # Loop through the user's path and test for each of PROGNAME-LIST 5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5165for as_dir in $PATH 5166do 5167 IFS=$as_save_IFS 5168 test -z "$as_dir" && as_dir=. 5169 for ac_prog in sed gsed; do 5170 for ac_exec_ext in '' $ac_executable_extensions; do 5171 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5172 as_fn_executable_p "$ac_path_SED" || continue 5173# Check for GNU ac_path_SED and select it if it is found. 5174 # Check for GNU $ac_path_SED 5175case `"$ac_path_SED" --version 2>&1` in 5176*GNU*) 5177 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5178*) 5179 ac_count=0 5180 $as_echo_n 0123456789 >"conftest.in" 5181 while : 5182 do 5183 cat "conftest.in" "conftest.in" >"conftest.tmp" 5184 mv "conftest.tmp" "conftest.in" 5185 cp "conftest.in" "conftest.nl" 5186 $as_echo '' >> "conftest.nl" 5187 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5188 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5189 as_fn_arith $ac_count + 1 && ac_count=$as_val 5190 if test $ac_count -gt ${ac_path_SED_max-0}; then 5191 # Best one so far, save it but keep looking for a better one 5192 ac_cv_path_SED="$ac_path_SED" 5193 ac_path_SED_max=$ac_count 5194 fi 5195 # 10*(2^10) chars as input seems more than enough 5196 test $ac_count -gt 10 && break 5197 done 5198 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5199esac 5200 5201 $ac_path_SED_found && break 3 5202 done 5203 done 5204 done 5205IFS=$as_save_IFS 5206 if test -z "$ac_cv_path_SED"; then 5207 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5208 fi 5209else 5210 ac_cv_path_SED=$SED 5211fi 5212 5213fi 5214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5215$as_echo "$ac_cv_path_SED" >&6; } 5216 SED="$ac_cv_path_SED" 5217 rm -f conftest.sed 5218 5219test -z "$SED" && SED=sed 5220Xsed="$SED -e 1s/^X//" 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5233$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5234if ${ac_cv_path_GREP+:} false; then : 5235 $as_echo_n "(cached) " >&6 5236else 5237 if test -z "$GREP"; then 5238 ac_path_GREP_found=false 5239 # Loop through the user's path and test for each of PROGNAME-LIST 5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5241for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5242do 5243 IFS=$as_save_IFS 5244 test -z "$as_dir" && as_dir=. 5245 for ac_prog in grep ggrep; do 5246 for ac_exec_ext in '' $ac_executable_extensions; do 5247 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5248 as_fn_executable_p "$ac_path_GREP" || continue 5249# Check for GNU ac_path_GREP and select it if it is found. 5250 # Check for GNU $ac_path_GREP 5251case `"$ac_path_GREP" --version 2>&1` in 5252*GNU*) 5253 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5254*) 5255 ac_count=0 5256 $as_echo_n 0123456789 >"conftest.in" 5257 while : 5258 do 5259 cat "conftest.in" "conftest.in" >"conftest.tmp" 5260 mv "conftest.tmp" "conftest.in" 5261 cp "conftest.in" "conftest.nl" 5262 $as_echo 'GREP' >> "conftest.nl" 5263 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5264 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5265 as_fn_arith $ac_count + 1 && ac_count=$as_val 5266 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5267 # Best one so far, save it but keep looking for a better one 5268 ac_cv_path_GREP="$ac_path_GREP" 5269 ac_path_GREP_max=$ac_count 5270 fi 5271 # 10*(2^10) chars as input seems more than enough 5272 test $ac_count -gt 10 && break 5273 done 5274 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5275esac 5276 5277 $ac_path_GREP_found && break 3 5278 done 5279 done 5280 done 5281IFS=$as_save_IFS 5282 if test -z "$ac_cv_path_GREP"; then 5283 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5284 fi 5285else 5286 ac_cv_path_GREP=$GREP 5287fi 5288 5289fi 5290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5291$as_echo "$ac_cv_path_GREP" >&6; } 5292 GREP="$ac_cv_path_GREP" 5293 5294 5295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5296$as_echo_n "checking for egrep... " >&6; } 5297if ${ac_cv_path_EGREP+:} false; then : 5298 $as_echo_n "(cached) " >&6 5299else 5300 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5301 then ac_cv_path_EGREP="$GREP -E" 5302 else 5303 if test -z "$EGREP"; then 5304 ac_path_EGREP_found=false 5305 # Loop through the user's path and test for each of PROGNAME-LIST 5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5307for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5308do 5309 IFS=$as_save_IFS 5310 test -z "$as_dir" && as_dir=. 5311 for ac_prog in egrep; do 5312 for ac_exec_ext in '' $ac_executable_extensions; do 5313 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5314 as_fn_executable_p "$ac_path_EGREP" || continue 5315# Check for GNU ac_path_EGREP and select it if it is found. 5316 # Check for GNU $ac_path_EGREP 5317case `"$ac_path_EGREP" --version 2>&1` in 5318*GNU*) 5319 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5320*) 5321 ac_count=0 5322 $as_echo_n 0123456789 >"conftest.in" 5323 while : 5324 do 5325 cat "conftest.in" "conftest.in" >"conftest.tmp" 5326 mv "conftest.tmp" "conftest.in" 5327 cp "conftest.in" "conftest.nl" 5328 $as_echo 'EGREP' >> "conftest.nl" 5329 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5330 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5331 as_fn_arith $ac_count + 1 && ac_count=$as_val 5332 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5333 # Best one so far, save it but keep looking for a better one 5334 ac_cv_path_EGREP="$ac_path_EGREP" 5335 ac_path_EGREP_max=$ac_count 5336 fi 5337 # 10*(2^10) chars as input seems more than enough 5338 test $ac_count -gt 10 && break 5339 done 5340 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5341esac 5342 5343 $ac_path_EGREP_found && break 3 5344 done 5345 done 5346 done 5347IFS=$as_save_IFS 5348 if test -z "$ac_cv_path_EGREP"; then 5349 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5350 fi 5351else 5352 ac_cv_path_EGREP=$EGREP 5353fi 5354 5355 fi 5356fi 5357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5358$as_echo "$ac_cv_path_EGREP" >&6; } 5359 EGREP="$ac_cv_path_EGREP" 5360 5361 5362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5363$as_echo_n "checking for fgrep... " >&6; } 5364if ${ac_cv_path_FGREP+:} false; then : 5365 $as_echo_n "(cached) " >&6 5366else 5367 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5368 then ac_cv_path_FGREP="$GREP -F" 5369 else 5370 if test -z "$FGREP"; then 5371 ac_path_FGREP_found=false 5372 # Loop through the user's path and test for each of PROGNAME-LIST 5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5374for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5375do 5376 IFS=$as_save_IFS 5377 test -z "$as_dir" && as_dir=. 5378 for ac_prog in fgrep; do 5379 for ac_exec_ext in '' $ac_executable_extensions; do 5380 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5381 as_fn_executable_p "$ac_path_FGREP" || continue 5382# Check for GNU ac_path_FGREP and select it if it is found. 5383 # Check for GNU $ac_path_FGREP 5384case `"$ac_path_FGREP" --version 2>&1` in 5385*GNU*) 5386 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5387*) 5388 ac_count=0 5389 $as_echo_n 0123456789 >"conftest.in" 5390 while : 5391 do 5392 cat "conftest.in" "conftest.in" >"conftest.tmp" 5393 mv "conftest.tmp" "conftest.in" 5394 cp "conftest.in" "conftest.nl" 5395 $as_echo 'FGREP' >> "conftest.nl" 5396 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5397 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5398 as_fn_arith $ac_count + 1 && ac_count=$as_val 5399 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5400 # Best one so far, save it but keep looking for a better one 5401 ac_cv_path_FGREP="$ac_path_FGREP" 5402 ac_path_FGREP_max=$ac_count 5403 fi 5404 # 10*(2^10) chars as input seems more than enough 5405 test $ac_count -gt 10 && break 5406 done 5407 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5408esac 5409 5410 $ac_path_FGREP_found && break 3 5411 done 5412 done 5413 done 5414IFS=$as_save_IFS 5415 if test -z "$ac_cv_path_FGREP"; then 5416 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5417 fi 5418else 5419 ac_cv_path_FGREP=$FGREP 5420fi 5421 5422 fi 5423fi 5424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5425$as_echo "$ac_cv_path_FGREP" >&6; } 5426 FGREP="$ac_cv_path_FGREP" 5427 5428 5429test -z "$GREP" && GREP=grep 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449# Check whether --with-gnu-ld was given. 5450if test "${with_gnu_ld+set}" = set; then : 5451 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5452else 5453 with_gnu_ld=no 5454fi 5455 5456ac_prog=ld 5457if test yes = "$GCC"; then 5458 # Check if gcc -print-prog-name=ld gives a path. 5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5460$as_echo_n "checking for ld used by $CC... " >&6; } 5461 case $host in 5462 *-*-mingw*) 5463 # gcc leaves a trailing carriage return, which upsets mingw 5464 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5465 *) 5466 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5467 esac 5468 case $ac_prog in 5469 # Accept absolute paths. 5470 [\\/]* | ?:[\\/]*) 5471 re_direlt='/[^/][^/]*/\.\./' 5472 # Canonicalize the pathname of ld 5473 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5474 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5475 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5476 done 5477 test -z "$LD" && LD=$ac_prog 5478 ;; 5479 "") 5480 # If it fails, then pretend we aren't using GCC. 5481 ac_prog=ld 5482 ;; 5483 *) 5484 # If it is relative, then search for the first ld in PATH. 5485 with_gnu_ld=unknown 5486 ;; 5487 esac 5488elif test yes = "$with_gnu_ld"; then 5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5490$as_echo_n "checking for GNU ld... " >&6; } 5491else 5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5493$as_echo_n "checking for non-GNU ld... " >&6; } 5494fi 5495if ${lt_cv_path_LD+:} false; then : 5496 $as_echo_n "(cached) " >&6 5497else 5498 if test -z "$LD"; then 5499 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5500 for ac_dir in $PATH; do 5501 IFS=$lt_save_ifs 5502 test -z "$ac_dir" && ac_dir=. 5503 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5504 lt_cv_path_LD=$ac_dir/$ac_prog 5505 # Check to see if the program is GNU ld. I'd rather use --version, 5506 # but apparently some variants of GNU ld only accept -v. 5507 # Break only if it was the GNU/non-GNU ld that we prefer. 5508 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5509 *GNU* | *'with BFD'*) 5510 test no != "$with_gnu_ld" && break 5511 ;; 5512 *) 5513 test yes != "$with_gnu_ld" && break 5514 ;; 5515 esac 5516 fi 5517 done 5518 IFS=$lt_save_ifs 5519else 5520 lt_cv_path_LD=$LD # Let the user override the test with a path. 5521fi 5522fi 5523 5524LD=$lt_cv_path_LD 5525if test -n "$LD"; then 5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5527$as_echo "$LD" >&6; } 5528else 5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5530$as_echo "no" >&6; } 5531fi 5532test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5534$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5535if ${lt_cv_prog_gnu_ld+:} false; then : 5536 $as_echo_n "(cached) " >&6 5537else 5538 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5539case `$LD -v 2>&1 </dev/null` in 5540*GNU* | *'with BFD'*) 5541 lt_cv_prog_gnu_ld=yes 5542 ;; 5543*) 5544 lt_cv_prog_gnu_ld=no 5545 ;; 5546esac 5547fi 5548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5549$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5550with_gnu_ld=$lt_cv_prog_gnu_ld 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5561$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5562if ${lt_cv_path_NM+:} false; then : 5563 $as_echo_n "(cached) " >&6 5564else 5565 if test -n "$NM"; then 5566 # Let the user override the test. 5567 lt_cv_path_NM=$NM 5568else 5569 lt_nm_to_check=${ac_tool_prefix}nm 5570 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5571 lt_nm_to_check="$lt_nm_to_check nm" 5572 fi 5573 for lt_tmp_nm in $lt_nm_to_check; do 5574 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5575 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5576 IFS=$lt_save_ifs 5577 test -z "$ac_dir" && ac_dir=. 5578 tmp_nm=$ac_dir/$lt_tmp_nm 5579 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5580 # Check to see if the nm accepts a BSD-compat flag. 5581 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5582 # nm: unknown option "B" ignored 5583 # Tru64's nm complains that /dev/null is an invalid object file 5584 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5585 case $build_os in 5586 mingw*) lt_bad_file=conftest.nm/nofile ;; 5587 *) lt_bad_file=/dev/null ;; 5588 esac 5589 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5590 *$lt_bad_file* | *'Invalid file or object type'*) 5591 lt_cv_path_NM="$tmp_nm -B" 5592 break 2 5593 ;; 5594 *) 5595 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5596 */dev/null*) 5597 lt_cv_path_NM="$tmp_nm -p" 5598 break 2 5599 ;; 5600 *) 5601 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5602 continue # so that we can try to find one that supports BSD flags 5603 ;; 5604 esac 5605 ;; 5606 esac 5607 fi 5608 done 5609 IFS=$lt_save_ifs 5610 done 5611 : ${lt_cv_path_NM=no} 5612fi 5613fi 5614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5615$as_echo "$lt_cv_path_NM" >&6; } 5616if test no != "$lt_cv_path_NM"; then 5617 NM=$lt_cv_path_NM 5618else 5619 # Didn't find any BSD compatible name lister, look for dumpbin. 5620 if test -n "$DUMPBIN"; then : 5621 # Let the user override the test. 5622 else 5623 if test -n "$ac_tool_prefix"; then 5624 for ac_prog in dumpbin "link -dump" 5625 do 5626 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5627set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5629$as_echo_n "checking for $ac_word... " >&6; } 5630if ${ac_cv_prog_DUMPBIN+:} false; then : 5631 $as_echo_n "(cached) " >&6 5632else 5633 if test -n "$DUMPBIN"; then 5634 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5635else 5636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5637for as_dir in $PATH 5638do 5639 IFS=$as_save_IFS 5640 test -z "$as_dir" && as_dir=. 5641 for ac_exec_ext in '' $ac_executable_extensions; do 5642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5643 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5645 break 2 5646 fi 5647done 5648 done 5649IFS=$as_save_IFS 5650 5651fi 5652fi 5653DUMPBIN=$ac_cv_prog_DUMPBIN 5654if test -n "$DUMPBIN"; then 5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5656$as_echo "$DUMPBIN" >&6; } 5657else 5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5659$as_echo "no" >&6; } 5660fi 5661 5662 5663 test -n "$DUMPBIN" && break 5664 done 5665fi 5666if test -z "$DUMPBIN"; then 5667 ac_ct_DUMPBIN=$DUMPBIN 5668 for ac_prog in dumpbin "link -dump" 5669do 5670 # Extract the first word of "$ac_prog", so it can be a program name with args. 5671set dummy $ac_prog; ac_word=$2 5672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5673$as_echo_n "checking for $ac_word... " >&6; } 5674if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5675 $as_echo_n "(cached) " >&6 5676else 5677 if test -n "$ac_ct_DUMPBIN"; then 5678 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5679else 5680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5681for as_dir in $PATH 5682do 5683 IFS=$as_save_IFS 5684 test -z "$as_dir" && as_dir=. 5685 for ac_exec_ext in '' $ac_executable_extensions; do 5686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5687 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5689 break 2 5690 fi 5691done 5692 done 5693IFS=$as_save_IFS 5694 5695fi 5696fi 5697ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5698if test -n "$ac_ct_DUMPBIN"; then 5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5700$as_echo "$ac_ct_DUMPBIN" >&6; } 5701else 5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5703$as_echo "no" >&6; } 5704fi 5705 5706 5707 test -n "$ac_ct_DUMPBIN" && break 5708done 5709 5710 if test "x$ac_ct_DUMPBIN" = x; then 5711 DUMPBIN=":" 5712 else 5713 case $cross_compiling:$ac_tool_warned in 5714yes:) 5715{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5716$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5717ac_tool_warned=yes ;; 5718esac 5719 DUMPBIN=$ac_ct_DUMPBIN 5720 fi 5721fi 5722 5723 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5724 *COFF*) 5725 DUMPBIN="$DUMPBIN -symbols -headers" 5726 ;; 5727 *) 5728 DUMPBIN=: 5729 ;; 5730 esac 5731 fi 5732 5733 if test : != "$DUMPBIN"; then 5734 NM=$DUMPBIN 5735 fi 5736fi 5737test -z "$NM" && NM=nm 5738 5739 5740 5741 5742 5743 5744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5745$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5746if ${lt_cv_nm_interface+:} false; then : 5747 $as_echo_n "(cached) " >&6 5748else 5749 lt_cv_nm_interface="BSD nm" 5750 echo "int some_variable = 0;" > conftest.$ac_ext 5751 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5752 (eval "$ac_compile" 2>conftest.err) 5753 cat conftest.err >&5 5754 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5755 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5756 cat conftest.err >&5 5757 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5758 cat conftest.out >&5 5759 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5760 lt_cv_nm_interface="MS dumpbin" 5761 fi 5762 rm -f conftest* 5763fi 5764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5765$as_echo "$lt_cv_nm_interface" >&6; } 5766 5767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5768$as_echo_n "checking whether ln -s works... " >&6; } 5769LN_S=$as_ln_s 5770if test "$LN_S" = "ln -s"; then 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5772$as_echo "yes" >&6; } 5773else 5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5775$as_echo "no, using $LN_S" >&6; } 5776fi 5777 5778# find the maximum length of command line arguments 5779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5780$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5781if ${lt_cv_sys_max_cmd_len+:} false; then : 5782 $as_echo_n "(cached) " >&6 5783else 5784 i=0 5785 teststring=ABCD 5786 5787 case $build_os in 5788 msdosdjgpp*) 5789 # On DJGPP, this test can blow up pretty badly due to problems in libc 5790 # (any single argument exceeding 2000 bytes causes a buffer overrun 5791 # during glob expansion). Even if it were fixed, the result of this 5792 # check would be larger than it should be. 5793 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5794 ;; 5795 5796 gnu*) 5797 # Under GNU Hurd, this test is not required because there is 5798 # no limit to the length of command line arguments. 5799 # Libtool will interpret -1 as no limit whatsoever 5800 lt_cv_sys_max_cmd_len=-1; 5801 ;; 5802 5803 cygwin* | mingw* | cegcc*) 5804 # On Win9x/ME, this test blows up -- it succeeds, but takes 5805 # about 5 minutes as the teststring grows exponentially. 5806 # Worse, since 9x/ME are not pre-emptively multitasking, 5807 # you end up with a "frozen" computer, even though with patience 5808 # the test eventually succeeds (with a max line length of 256k). 5809 # Instead, let's just punt: use the minimum linelength reported by 5810 # all of the supported platforms: 8192 (on NT/2K/XP). 5811 lt_cv_sys_max_cmd_len=8192; 5812 ;; 5813 5814 mint*) 5815 # On MiNT this can take a long time and run out of memory. 5816 lt_cv_sys_max_cmd_len=8192; 5817 ;; 5818 5819 amigaos*) 5820 # On AmigaOS with pdksh, this test takes hours, literally. 5821 # So we just punt and use a minimum line length of 8192. 5822 lt_cv_sys_max_cmd_len=8192; 5823 ;; 5824 5825 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5826 # This has been around since 386BSD, at least. Likely further. 5827 if test -x /sbin/sysctl; then 5828 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5829 elif test -x /usr/sbin/sysctl; then 5830 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5831 else 5832 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5833 fi 5834 # And add a safety zone 5835 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5836 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5837 ;; 5838 5839 interix*) 5840 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5841 lt_cv_sys_max_cmd_len=196608 5842 ;; 5843 5844 os2*) 5845 # The test takes a long time on OS/2. 5846 lt_cv_sys_max_cmd_len=8192 5847 ;; 5848 5849 osf*) 5850 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5851 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5852 # nice to cause kernel panics so lets avoid the loop below. 5853 # First set a reasonable default. 5854 lt_cv_sys_max_cmd_len=16384 5855 # 5856 if test -x /sbin/sysconfig; then 5857 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5858 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5859 esac 5860 fi 5861 ;; 5862 sco3.2v5*) 5863 lt_cv_sys_max_cmd_len=102400 5864 ;; 5865 sysv5* | sco5v6* | sysv4.2uw2*) 5866 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5867 if test -n "$kargmax"; then 5868 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5869 else 5870 lt_cv_sys_max_cmd_len=32768 5871 fi 5872 ;; 5873 *) 5874 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5875 if test -n "$lt_cv_sys_max_cmd_len" && \ 5876 test undefined != "$lt_cv_sys_max_cmd_len"; then 5877 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5878 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5879 else 5880 # Make teststring a little bigger before we do anything with it. 5881 # a 1K string should be a reasonable start. 5882 for i in 1 2 3 4 5 6 7 8; do 5883 teststring=$teststring$teststring 5884 done 5885 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5886 # If test is not a shell built-in, we'll probably end up computing a 5887 # maximum length that is only half of the actual maximum length, but 5888 # we can't tell. 5889 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5890 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5891 test 17 != "$i" # 1/2 MB should be enough 5892 do 5893 i=`expr $i + 1` 5894 teststring=$teststring$teststring 5895 done 5896 # Only check the string length outside the loop. 5897 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5898 teststring= 5899 # Add a significant safety factor because C++ compilers can tack on 5900 # massive amounts of additional arguments before passing them to the 5901 # linker. It appears as though 1/2 is a usable value. 5902 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5903 fi 5904 ;; 5905 esac 5906 5907fi 5908 5909if test -n "$lt_cv_sys_max_cmd_len"; then 5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5911$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5912else 5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5914$as_echo "none" >&6; } 5915fi 5916max_cmd_len=$lt_cv_sys_max_cmd_len 5917 5918 5919 5920 5921 5922 5923: ${CP="cp -f"} 5924: ${MV="mv -f"} 5925: ${RM="rm -f"} 5926 5927if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5928 lt_unset=unset 5929else 5930 lt_unset=false 5931fi 5932 5933 5934 5935 5936 5937# test EBCDIC or ASCII 5938case `echo X|tr X '\101'` in 5939 A) # ASCII based system 5940 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5941 lt_SP2NL='tr \040 \012' 5942 lt_NL2SP='tr \015\012 \040\040' 5943 ;; 5944 *) # EBCDIC based system 5945 lt_SP2NL='tr \100 \n' 5946 lt_NL2SP='tr \r\n \100\100' 5947 ;; 5948esac 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5959$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5960if ${lt_cv_to_host_file_cmd+:} false; then : 5961 $as_echo_n "(cached) " >&6 5962else 5963 case $host in 5964 *-*-mingw* ) 5965 case $build in 5966 *-*-mingw* ) # actually msys 5967 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5968 ;; 5969 *-*-cygwin* ) 5970 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5971 ;; 5972 * ) # otherwise, assume *nix 5973 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5974 ;; 5975 esac 5976 ;; 5977 *-*-cygwin* ) 5978 case $build in 5979 *-*-mingw* ) # actually msys 5980 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5981 ;; 5982 *-*-cygwin* ) 5983 lt_cv_to_host_file_cmd=func_convert_file_noop 5984 ;; 5985 * ) # otherwise, assume *nix 5986 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5987 ;; 5988 esac 5989 ;; 5990 * ) # unhandled hosts (and "normal" native builds) 5991 lt_cv_to_host_file_cmd=func_convert_file_noop 5992 ;; 5993esac 5994 5995fi 5996 5997to_host_file_cmd=$lt_cv_to_host_file_cmd 5998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5999$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6000 6001 6002 6003 6004 6005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6006$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6007if ${lt_cv_to_tool_file_cmd+:} false; then : 6008 $as_echo_n "(cached) " >&6 6009else 6010 #assume ordinary cross tools, or native build. 6011lt_cv_to_tool_file_cmd=func_convert_file_noop 6012case $host in 6013 *-*-mingw* ) 6014 case $build in 6015 *-*-mingw* ) # actually msys 6016 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6017 ;; 6018 esac 6019 ;; 6020esac 6021 6022fi 6023 6024to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6026$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6027 6028 6029 6030 6031 6032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6033$as_echo_n "checking for $LD option to reload object files... " >&6; } 6034if ${lt_cv_ld_reload_flag+:} false; then : 6035 $as_echo_n "(cached) " >&6 6036else 6037 lt_cv_ld_reload_flag='-r' 6038fi 6039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6040$as_echo "$lt_cv_ld_reload_flag" >&6; } 6041reload_flag=$lt_cv_ld_reload_flag 6042case $reload_flag in 6043"" | " "*) ;; 6044*) reload_flag=" $reload_flag" ;; 6045esac 6046reload_cmds='$LD$reload_flag -o $output$reload_objs' 6047case $host_os in 6048 cygwin* | mingw* | pw32* | cegcc*) 6049 if test yes != "$GCC"; then 6050 reload_cmds=false 6051 fi 6052 ;; 6053 darwin*) 6054 if test yes = "$GCC"; then 6055 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6056 else 6057 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6058 fi 6059 ;; 6060esac 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070if test -n "$ac_tool_prefix"; then 6071 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6072set dummy ${ac_tool_prefix}objdump; ac_word=$2 6073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6074$as_echo_n "checking for $ac_word... " >&6; } 6075if ${ac_cv_prog_OBJDUMP+:} false; then : 6076 $as_echo_n "(cached) " >&6 6077else 6078 if test -n "$OBJDUMP"; then 6079 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6080else 6081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6082for as_dir in $PATH 6083do 6084 IFS=$as_save_IFS 6085 test -z "$as_dir" && as_dir=. 6086 for ac_exec_ext in '' $ac_executable_extensions; do 6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6088 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6090 break 2 6091 fi 6092done 6093 done 6094IFS=$as_save_IFS 6095 6096fi 6097fi 6098OBJDUMP=$ac_cv_prog_OBJDUMP 6099if test -n "$OBJDUMP"; then 6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6101$as_echo "$OBJDUMP" >&6; } 6102else 6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6104$as_echo "no" >&6; } 6105fi 6106 6107 6108fi 6109if test -z "$ac_cv_prog_OBJDUMP"; then 6110 ac_ct_OBJDUMP=$OBJDUMP 6111 # Extract the first word of "objdump", so it can be a program name with args. 6112set dummy objdump; ac_word=$2 6113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6114$as_echo_n "checking for $ac_word... " >&6; } 6115if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6116 $as_echo_n "(cached) " >&6 6117else 6118 if test -n "$ac_ct_OBJDUMP"; then 6119 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6120else 6121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6122for as_dir in $PATH 6123do 6124 IFS=$as_save_IFS 6125 test -z "$as_dir" && as_dir=. 6126 for ac_exec_ext in '' $ac_executable_extensions; do 6127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6128 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6130 break 2 6131 fi 6132done 6133 done 6134IFS=$as_save_IFS 6135 6136fi 6137fi 6138ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6139if test -n "$ac_ct_OBJDUMP"; then 6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6141$as_echo "$ac_ct_OBJDUMP" >&6; } 6142else 6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6144$as_echo "no" >&6; } 6145fi 6146 6147 if test "x$ac_ct_OBJDUMP" = x; then 6148 OBJDUMP="false" 6149 else 6150 case $cross_compiling:$ac_tool_warned in 6151yes:) 6152{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6153$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6154ac_tool_warned=yes ;; 6155esac 6156 OBJDUMP=$ac_ct_OBJDUMP 6157 fi 6158else 6159 OBJDUMP="$ac_cv_prog_OBJDUMP" 6160fi 6161 6162test -z "$OBJDUMP" && OBJDUMP=objdump 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6173$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6174if ${lt_cv_deplibs_check_method+:} false; then : 6175 $as_echo_n "(cached) " >&6 6176else 6177 lt_cv_file_magic_cmd='$MAGIC_CMD' 6178lt_cv_file_magic_test_file= 6179lt_cv_deplibs_check_method='unknown' 6180# Need to set the preceding variable on all platforms that support 6181# interlibrary dependencies. 6182# 'none' -- dependencies not supported. 6183# 'unknown' -- same as none, but documents that we really don't know. 6184# 'pass_all' -- all dependencies passed with no checks. 6185# 'test_compile' -- check by making test program. 6186# 'file_magic [[regex]]' -- check by looking for files in library path 6187# that responds to the $file_magic_cmd with a given extended regex. 6188# If you have 'file' or equivalent on your system and you're not sure 6189# whether 'pass_all' will *always* work, you probably want this one. 6190 6191case $host_os in 6192aix[4-9]*) 6193 lt_cv_deplibs_check_method=pass_all 6194 ;; 6195 6196beos*) 6197 lt_cv_deplibs_check_method=pass_all 6198 ;; 6199 6200bsdi[45]*) 6201 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6202 lt_cv_file_magic_cmd='/usr/bin/file -L' 6203 lt_cv_file_magic_test_file=/shlib/libc.so 6204 ;; 6205 6206cygwin*) 6207 # func_win32_libid is a shell function defined in ltmain.sh 6208 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6209 lt_cv_file_magic_cmd='func_win32_libid' 6210 ;; 6211 6212mingw* | pw32*) 6213 # Base MSYS/MinGW do not provide the 'file' command needed by 6214 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6215 # unless we find 'file', for example because we are cross-compiling. 6216 if ( file / ) >/dev/null 2>&1; then 6217 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6218 lt_cv_file_magic_cmd='func_win32_libid' 6219 else 6220 # Keep this pattern in sync with the one in func_win32_libid. 6221 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6222 lt_cv_file_magic_cmd='$OBJDUMP -f' 6223 fi 6224 ;; 6225 6226cegcc*) 6227 # use the weaker test based on 'objdump'. See mingw*. 6228 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6229 lt_cv_file_magic_cmd='$OBJDUMP -f' 6230 ;; 6231 6232darwin* | rhapsody*) 6233 lt_cv_deplibs_check_method=pass_all 6234 ;; 6235 6236freebsd* | dragonfly*) 6237 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6238 case $host_cpu in 6239 i*86 ) 6240 # Not sure whether the presence of OpenBSD here was a mistake. 6241 # Let's accept both of them until this is cleared up. 6242 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6243 lt_cv_file_magic_cmd=/usr/bin/file 6244 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6245 ;; 6246 esac 6247 else 6248 lt_cv_deplibs_check_method=pass_all 6249 fi 6250 ;; 6251 6252haiku*) 6253 lt_cv_deplibs_check_method=pass_all 6254 ;; 6255 6256hpux10.20* | hpux11*) 6257 lt_cv_file_magic_cmd=/usr/bin/file 6258 case $host_cpu in 6259 ia64*) 6260 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6261 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6262 ;; 6263 hppa*64*) 6264 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]' 6265 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6266 ;; 6267 *) 6268 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6269 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6270 ;; 6271 esac 6272 ;; 6273 6274interix[3-9]*) 6275 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6276 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6277 ;; 6278 6279irix5* | irix6* | nonstopux*) 6280 case $LD in 6281 *-32|*"-32 ") libmagic=32-bit;; 6282 *-n32|*"-n32 ") libmagic=N32;; 6283 *-64|*"-64 ") libmagic=64-bit;; 6284 *) libmagic=never-match;; 6285 esac 6286 lt_cv_deplibs_check_method=pass_all 6287 ;; 6288 6289# This must be glibc/ELF. 6290linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6291 lt_cv_deplibs_check_method=pass_all 6292 ;; 6293 6294netbsd* | netbsdelf*-gnu) 6295 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6296 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6297 else 6298 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6299 fi 6300 ;; 6301 6302newos6*) 6303 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6304 lt_cv_file_magic_cmd=/usr/bin/file 6305 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6306 ;; 6307 6308*nto* | *qnx*) 6309 lt_cv_deplibs_check_method=pass_all 6310 ;; 6311 6312openbsd* | bitrig*) 6313 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6315 else 6316 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6317 fi 6318 ;; 6319 6320osf3* | osf4* | osf5*) 6321 lt_cv_deplibs_check_method=pass_all 6322 ;; 6323 6324rdos*) 6325 lt_cv_deplibs_check_method=pass_all 6326 ;; 6327 6328solaris*) 6329 lt_cv_deplibs_check_method=pass_all 6330 ;; 6331 6332sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6333 lt_cv_deplibs_check_method=pass_all 6334 ;; 6335 6336sysv4 | sysv4.3*) 6337 case $host_vendor in 6338 motorola) 6339 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]' 6340 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6341 ;; 6342 ncr) 6343 lt_cv_deplibs_check_method=pass_all 6344 ;; 6345 sequent) 6346 lt_cv_file_magic_cmd='/bin/file' 6347 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6348 ;; 6349 sni) 6350 lt_cv_file_magic_cmd='/bin/file' 6351 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6352 lt_cv_file_magic_test_file=/lib/libc.so 6353 ;; 6354 siemens) 6355 lt_cv_deplibs_check_method=pass_all 6356 ;; 6357 pc) 6358 lt_cv_deplibs_check_method=pass_all 6359 ;; 6360 esac 6361 ;; 6362 6363tpf*) 6364 lt_cv_deplibs_check_method=pass_all 6365 ;; 6366os2*) 6367 lt_cv_deplibs_check_method=pass_all 6368 ;; 6369esac 6370 6371fi 6372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6373$as_echo "$lt_cv_deplibs_check_method" >&6; } 6374 6375file_magic_glob= 6376want_nocaseglob=no 6377if test "$build" = "$host"; then 6378 case $host_os in 6379 mingw* | pw32*) 6380 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6381 want_nocaseglob=yes 6382 else 6383 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6384 fi 6385 ;; 6386 esac 6387fi 6388 6389file_magic_cmd=$lt_cv_file_magic_cmd 6390deplibs_check_method=$lt_cv_deplibs_check_method 6391test -z "$deplibs_check_method" && deplibs_check_method=unknown 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414if test -n "$ac_tool_prefix"; then 6415 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6416set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6418$as_echo_n "checking for $ac_word... " >&6; } 6419if ${ac_cv_prog_DLLTOOL+:} false; then : 6420 $as_echo_n "(cached) " >&6 6421else 6422 if test -n "$DLLTOOL"; then 6423 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6424else 6425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6426for as_dir in $PATH 6427do 6428 IFS=$as_save_IFS 6429 test -z "$as_dir" && as_dir=. 6430 for ac_exec_ext in '' $ac_executable_extensions; do 6431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6432 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6434 break 2 6435 fi 6436done 6437 done 6438IFS=$as_save_IFS 6439 6440fi 6441fi 6442DLLTOOL=$ac_cv_prog_DLLTOOL 6443if test -n "$DLLTOOL"; then 6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6445$as_echo "$DLLTOOL" >&6; } 6446else 6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6448$as_echo "no" >&6; } 6449fi 6450 6451 6452fi 6453if test -z "$ac_cv_prog_DLLTOOL"; then 6454 ac_ct_DLLTOOL=$DLLTOOL 6455 # Extract the first word of "dlltool", so it can be a program name with args. 6456set dummy dlltool; ac_word=$2 6457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6458$as_echo_n "checking for $ac_word... " >&6; } 6459if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6460 $as_echo_n "(cached) " >&6 6461else 6462 if test -n "$ac_ct_DLLTOOL"; then 6463 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6464else 6465as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6466for as_dir in $PATH 6467do 6468 IFS=$as_save_IFS 6469 test -z "$as_dir" && as_dir=. 6470 for ac_exec_ext in '' $ac_executable_extensions; do 6471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6472 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6474 break 2 6475 fi 6476done 6477 done 6478IFS=$as_save_IFS 6479 6480fi 6481fi 6482ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6483if test -n "$ac_ct_DLLTOOL"; then 6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6485$as_echo "$ac_ct_DLLTOOL" >&6; } 6486else 6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6488$as_echo "no" >&6; } 6489fi 6490 6491 if test "x$ac_ct_DLLTOOL" = x; then 6492 DLLTOOL="false" 6493 else 6494 case $cross_compiling:$ac_tool_warned in 6495yes:) 6496{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6497$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6498ac_tool_warned=yes ;; 6499esac 6500 DLLTOOL=$ac_ct_DLLTOOL 6501 fi 6502else 6503 DLLTOOL="$ac_cv_prog_DLLTOOL" 6504fi 6505 6506test -z "$DLLTOOL" && DLLTOOL=dlltool 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6518$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6519if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6520 $as_echo_n "(cached) " >&6 6521else 6522 lt_cv_sharedlib_from_linklib_cmd='unknown' 6523 6524case $host_os in 6525cygwin* | mingw* | pw32* | cegcc*) 6526 # two different shell functions defined in ltmain.sh; 6527 # decide which one to use based on capabilities of $DLLTOOL 6528 case `$DLLTOOL --help 2>&1` in 6529 *--identify-strict*) 6530 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6531 ;; 6532 *) 6533 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6534 ;; 6535 esac 6536 ;; 6537*) 6538 # fallback: assume linklib IS sharedlib 6539 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6540 ;; 6541esac 6542 6543fi 6544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6545$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6546sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6547test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6548 6549 6550 6551 6552 6553 6554 6555 6556if test -n "$ac_tool_prefix"; then 6557 for ac_prog in ar 6558 do 6559 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6560set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6562$as_echo_n "checking for $ac_word... " >&6; } 6563if ${ac_cv_prog_AR+:} false; then : 6564 $as_echo_n "(cached) " >&6 6565else 6566 if test -n "$AR"; then 6567 ac_cv_prog_AR="$AR" # Let the user override the test. 6568else 6569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6570for as_dir in $PATH 6571do 6572 IFS=$as_save_IFS 6573 test -z "$as_dir" && as_dir=. 6574 for ac_exec_ext in '' $ac_executable_extensions; do 6575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6576 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6578 break 2 6579 fi 6580done 6581 done 6582IFS=$as_save_IFS 6583 6584fi 6585fi 6586AR=$ac_cv_prog_AR 6587if test -n "$AR"; then 6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6589$as_echo "$AR" >&6; } 6590else 6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6592$as_echo "no" >&6; } 6593fi 6594 6595 6596 test -n "$AR" && break 6597 done 6598fi 6599if test -z "$AR"; then 6600 ac_ct_AR=$AR 6601 for ac_prog in ar 6602do 6603 # Extract the first word of "$ac_prog", so it can be a program name with args. 6604set dummy $ac_prog; ac_word=$2 6605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6606$as_echo_n "checking for $ac_word... " >&6; } 6607if ${ac_cv_prog_ac_ct_AR+:} false; then : 6608 $as_echo_n "(cached) " >&6 6609else 6610 if test -n "$ac_ct_AR"; then 6611 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6612else 6613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6614for as_dir in $PATH 6615do 6616 IFS=$as_save_IFS 6617 test -z "$as_dir" && as_dir=. 6618 for ac_exec_ext in '' $ac_executable_extensions; do 6619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6620 ac_cv_prog_ac_ct_AR="$ac_prog" 6621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6622 break 2 6623 fi 6624done 6625 done 6626IFS=$as_save_IFS 6627 6628fi 6629fi 6630ac_ct_AR=$ac_cv_prog_ac_ct_AR 6631if test -n "$ac_ct_AR"; then 6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6633$as_echo "$ac_ct_AR" >&6; } 6634else 6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6636$as_echo "no" >&6; } 6637fi 6638 6639 6640 test -n "$ac_ct_AR" && break 6641done 6642 6643 if test "x$ac_ct_AR" = x; then 6644 AR="false" 6645 else 6646 case $cross_compiling:$ac_tool_warned in 6647yes:) 6648{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6649$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6650ac_tool_warned=yes ;; 6651esac 6652 AR=$ac_ct_AR 6653 fi 6654fi 6655 6656: ${AR=ar} 6657: ${AR_FLAGS=cr} 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6670$as_echo_n "checking for archiver @FILE support... " >&6; } 6671if ${lt_cv_ar_at_file+:} false; then : 6672 $as_echo_n "(cached) " >&6 6673else 6674 lt_cv_ar_at_file=no 6675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6676/* end confdefs.h. */ 6677 6678int 6679main () 6680{ 6681 6682 ; 6683 return 0; 6684} 6685_ACEOF 6686if ac_fn_c_try_compile "$LINENO"; then : 6687 echo conftest.$ac_objext > conftest.lst 6688 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6689 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6690 (eval $lt_ar_try) 2>&5 6691 ac_status=$? 6692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6693 test $ac_status = 0; } 6694 if test 0 -eq "$ac_status"; then 6695 # Ensure the archiver fails upon bogus file names. 6696 rm -f conftest.$ac_objext libconftest.a 6697 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6698 (eval $lt_ar_try) 2>&5 6699 ac_status=$? 6700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6701 test $ac_status = 0; } 6702 if test 0 -ne "$ac_status"; then 6703 lt_cv_ar_at_file=@ 6704 fi 6705 fi 6706 rm -f conftest.* libconftest.a 6707 6708fi 6709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6710 6711fi 6712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6713$as_echo "$lt_cv_ar_at_file" >&6; } 6714 6715if test no = "$lt_cv_ar_at_file"; then 6716 archiver_list_spec= 6717else 6718 archiver_list_spec=$lt_cv_ar_at_file 6719fi 6720 6721 6722 6723 6724 6725 6726 6727if test -n "$ac_tool_prefix"; then 6728 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6729set dummy ${ac_tool_prefix}strip; ac_word=$2 6730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6731$as_echo_n "checking for $ac_word... " >&6; } 6732if ${ac_cv_prog_STRIP+:} false; then : 6733 $as_echo_n "(cached) " >&6 6734else 6735 if test -n "$STRIP"; then 6736 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6737else 6738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6739for as_dir in $PATH 6740do 6741 IFS=$as_save_IFS 6742 test -z "$as_dir" && as_dir=. 6743 for ac_exec_ext in '' $ac_executable_extensions; do 6744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6745 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6747 break 2 6748 fi 6749done 6750 done 6751IFS=$as_save_IFS 6752 6753fi 6754fi 6755STRIP=$ac_cv_prog_STRIP 6756if test -n "$STRIP"; then 6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6758$as_echo "$STRIP" >&6; } 6759else 6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6761$as_echo "no" >&6; } 6762fi 6763 6764 6765fi 6766if test -z "$ac_cv_prog_STRIP"; then 6767 ac_ct_STRIP=$STRIP 6768 # Extract the first word of "strip", so it can be a program name with args. 6769set dummy strip; ac_word=$2 6770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6771$as_echo_n "checking for $ac_word... " >&6; } 6772if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6773 $as_echo_n "(cached) " >&6 6774else 6775 if test -n "$ac_ct_STRIP"; then 6776 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6777else 6778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6779for as_dir in $PATH 6780do 6781 IFS=$as_save_IFS 6782 test -z "$as_dir" && as_dir=. 6783 for ac_exec_ext in '' $ac_executable_extensions; do 6784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6785 ac_cv_prog_ac_ct_STRIP="strip" 6786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6787 break 2 6788 fi 6789done 6790 done 6791IFS=$as_save_IFS 6792 6793fi 6794fi 6795ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6796if test -n "$ac_ct_STRIP"; then 6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6798$as_echo "$ac_ct_STRIP" >&6; } 6799else 6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6801$as_echo "no" >&6; } 6802fi 6803 6804 if test "x$ac_ct_STRIP" = x; then 6805 STRIP=":" 6806 else 6807 case $cross_compiling:$ac_tool_warned in 6808yes:) 6809{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6810$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6811ac_tool_warned=yes ;; 6812esac 6813 STRIP=$ac_ct_STRIP 6814 fi 6815else 6816 STRIP="$ac_cv_prog_STRIP" 6817fi 6818 6819test -z "$STRIP" && STRIP=: 6820 6821 6822 6823 6824 6825 6826if test -n "$ac_tool_prefix"; then 6827 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6828set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6830$as_echo_n "checking for $ac_word... " >&6; } 6831if ${ac_cv_prog_RANLIB+:} false; then : 6832 $as_echo_n "(cached) " >&6 6833else 6834 if test -n "$RANLIB"; then 6835 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6836else 6837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6838for as_dir in $PATH 6839do 6840 IFS=$as_save_IFS 6841 test -z "$as_dir" && as_dir=. 6842 for ac_exec_ext in '' $ac_executable_extensions; do 6843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6844 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6846 break 2 6847 fi 6848done 6849 done 6850IFS=$as_save_IFS 6851 6852fi 6853fi 6854RANLIB=$ac_cv_prog_RANLIB 6855if test -n "$RANLIB"; then 6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6857$as_echo "$RANLIB" >&6; } 6858else 6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6860$as_echo "no" >&6; } 6861fi 6862 6863 6864fi 6865if test -z "$ac_cv_prog_RANLIB"; then 6866 ac_ct_RANLIB=$RANLIB 6867 # Extract the first word of "ranlib", so it can be a program name with args. 6868set dummy ranlib; ac_word=$2 6869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6870$as_echo_n "checking for $ac_word... " >&6; } 6871if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6872 $as_echo_n "(cached) " >&6 6873else 6874 if test -n "$ac_ct_RANLIB"; then 6875 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6876else 6877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6878for as_dir in $PATH 6879do 6880 IFS=$as_save_IFS 6881 test -z "$as_dir" && as_dir=. 6882 for ac_exec_ext in '' $ac_executable_extensions; do 6883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6884 ac_cv_prog_ac_ct_RANLIB="ranlib" 6885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6886 break 2 6887 fi 6888done 6889 done 6890IFS=$as_save_IFS 6891 6892fi 6893fi 6894ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6895if test -n "$ac_ct_RANLIB"; then 6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6897$as_echo "$ac_ct_RANLIB" >&6; } 6898else 6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6900$as_echo "no" >&6; } 6901fi 6902 6903 if test "x$ac_ct_RANLIB" = x; then 6904 RANLIB=":" 6905 else 6906 case $cross_compiling:$ac_tool_warned in 6907yes:) 6908{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6909$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6910ac_tool_warned=yes ;; 6911esac 6912 RANLIB=$ac_ct_RANLIB 6913 fi 6914else 6915 RANLIB="$ac_cv_prog_RANLIB" 6916fi 6917 6918test -z "$RANLIB" && RANLIB=: 6919 6920 6921 6922 6923 6924 6925# Determine commands to create old-style static archives. 6926old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6927old_postinstall_cmds='chmod 644 $oldlib' 6928old_postuninstall_cmds= 6929 6930if test -n "$RANLIB"; then 6931 case $host_os in 6932 bitrig* | openbsd*) 6933 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6934 ;; 6935 *) 6936 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6937 ;; 6938 esac 6939 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6940fi 6941 6942case $host_os in 6943 darwin*) 6944 lock_old_archive_extraction=yes ;; 6945 *) 6946 lock_old_archive_extraction=no ;; 6947esac 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987# If no C compiler was specified, use CC. 6988LTCC=${LTCC-"$CC"} 6989 6990# If no C compiler flags were specified, use CFLAGS. 6991LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6992 6993# Allow CC to be a program name with arguments. 6994compiler=$CC 6995 6996 6997# Check for command to grab the raw symbol name followed by C symbol from nm. 6998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6999$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7000if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7001 $as_echo_n "(cached) " >&6 7002else 7003 7004# These are sane defaults that work on at least a few old systems. 7005# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7006 7007# Character class describing NM global symbol codes. 7008symcode='[BCDEGRST]' 7009 7010# Regexp to match symbols that can be accessed directly from C. 7011sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7012 7013# Define system-specific variables. 7014case $host_os in 7015aix*) 7016 symcode='[BCDT]' 7017 ;; 7018cygwin* | mingw* | pw32* | cegcc*) 7019 symcode='[ABCDGISTW]' 7020 ;; 7021hpux*) 7022 if test ia64 = "$host_cpu"; then 7023 symcode='[ABCDEGRST]' 7024 fi 7025 ;; 7026irix* | nonstopux*) 7027 symcode='[BCDEGRST]' 7028 ;; 7029osf*) 7030 symcode='[BCDEGQRST]' 7031 ;; 7032solaris*) 7033 symcode='[BDRT]' 7034 ;; 7035sco3.2v5*) 7036 symcode='[DT]' 7037 ;; 7038sysv4.2uw2*) 7039 symcode='[DT]' 7040 ;; 7041sysv5* | sco5v6* | unixware* | OpenUNIX*) 7042 symcode='[ABDT]' 7043 ;; 7044sysv4) 7045 symcode='[DFNSTU]' 7046 ;; 7047esac 7048 7049# If we're using GNU nm, then use its standard symbol codes. 7050case `$NM -V 2>&1` in 7051*GNU* | *'with BFD'*) 7052 symcode='[ABCDGIRSTW]' ;; 7053esac 7054 7055if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7056 # Gets list of data symbols to import. 7057 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7058 # Adjust the below global symbol transforms to fixup imported variables. 7059 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7060 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7061 lt_c_name_lib_hook="\ 7062 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7063 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7064else 7065 # Disable hooks by default. 7066 lt_cv_sys_global_symbol_to_import= 7067 lt_cdecl_hook= 7068 lt_c_name_hook= 7069 lt_c_name_lib_hook= 7070fi 7071 7072# Transform an extracted symbol line into a proper C declaration. 7073# Some systems (esp. on ia64) link data and code symbols differently, 7074# so use this general approach. 7075lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7076$lt_cdecl_hook\ 7077" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7078" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7079 7080# Transform an extracted symbol line into symbol name and symbol address 7081lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7082$lt_c_name_hook\ 7083" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7084" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7085 7086# Transform an extracted symbol line into symbol name with lib prefix and 7087# symbol address. 7088lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7089$lt_c_name_lib_hook\ 7090" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7091" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7092" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7093 7094# Handle CRLF in mingw tool chain 7095opt_cr= 7096case $build_os in 7097mingw*) 7098 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7099 ;; 7100esac 7101 7102# Try without a prefix underscore, then with it. 7103for ac_symprfx in "" "_"; do 7104 7105 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7106 symxfrm="\\1 $ac_symprfx\\2 \\2" 7107 7108 # Write the raw and C identifiers. 7109 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7110 # Fake it for dumpbin and say T for any non-static function, 7111 # D for any global variable and I for any imported variable. 7112 # Also find C++ and __fastcall symbols from MSVC++, 7113 # which start with @ or ?. 7114 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7115" {last_section=section; section=\$ 3};"\ 7116" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7117" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7118" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7119" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7120" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7121" \$ 0!~/External *\|/{next};"\ 7122" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7123" {if(hide[section]) next};"\ 7124" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7125" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7126" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7127" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7128" ' prfx=^$ac_symprfx" 7129 else 7130 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7131 fi 7132 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7133 7134 # Check to see that the pipe works correctly. 7135 pipe_works=no 7136 7137 rm -f conftest* 7138 cat > conftest.$ac_ext <<_LT_EOF 7139#ifdef __cplusplus 7140extern "C" { 7141#endif 7142char nm_test_var; 7143void nm_test_func(void); 7144void nm_test_func(void){} 7145#ifdef __cplusplus 7146} 7147#endif 7148int main(){nm_test_var='a';nm_test_func();return(0);} 7149_LT_EOF 7150 7151 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7152 (eval $ac_compile) 2>&5 7153 ac_status=$? 7154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7155 test $ac_status = 0; }; then 7156 # Now try to grab the symbols. 7157 nlist=conftest.nm 7158 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 7159 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 7160 # Try sorting and uniquifying the output. 7161 if sort "$nlist" | uniq > "$nlist"T; then 7162 mv -f "$nlist"T "$nlist" 7163 else 7164 rm -f "$nlist"T 7165 fi 7166 7167 # Make sure that we snagged all the symbols we need. 7168 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7169 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7170 cat <<_LT_EOF > conftest.$ac_ext 7171/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7172#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7173/* DATA imports from DLLs on WIN32 can't be const, because runtime 7174 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7175# define LT_DLSYM_CONST 7176#elif defined __osf__ 7177/* This system does not cope well with relocations in const data. */ 7178# define LT_DLSYM_CONST 7179#else 7180# define LT_DLSYM_CONST const 7181#endif 7182 7183#ifdef __cplusplus 7184extern "C" { 7185#endif 7186 7187_LT_EOF 7188 # Now generate the symbol file. 7189 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7190 7191 cat <<_LT_EOF >> conftest.$ac_ext 7192 7193/* The mapping between symbol names and symbols. */ 7194LT_DLSYM_CONST struct { 7195 const char *name; 7196 void *address; 7197} 7198lt__PROGRAM__LTX_preloaded_symbols[] = 7199{ 7200 { "@PROGRAM@", (void *) 0 }, 7201_LT_EOF 7202 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7203 cat <<\_LT_EOF >> conftest.$ac_ext 7204 {0, (void *) 0} 7205}; 7206 7207/* This works around a problem in FreeBSD linker */ 7208#ifdef FREEBSD_WORKAROUND 7209static const void *lt_preloaded_setup() { 7210 return lt__PROGRAM__LTX_preloaded_symbols; 7211} 7212#endif 7213 7214#ifdef __cplusplus 7215} 7216#endif 7217_LT_EOF 7218 # Now try linking the two files. 7219 mv conftest.$ac_objext conftstm.$ac_objext 7220 lt_globsym_save_LIBS=$LIBS 7221 lt_globsym_save_CFLAGS=$CFLAGS 7222 LIBS=conftstm.$ac_objext 7223 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7225 (eval $ac_link) 2>&5 7226 ac_status=$? 7227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7228 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7229 pipe_works=yes 7230 fi 7231 LIBS=$lt_globsym_save_LIBS 7232 CFLAGS=$lt_globsym_save_CFLAGS 7233 else 7234 echo "cannot find nm_test_func in $nlist" >&5 7235 fi 7236 else 7237 echo "cannot find nm_test_var in $nlist" >&5 7238 fi 7239 else 7240 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7241 fi 7242 else 7243 echo "$progname: failed program was:" >&5 7244 cat conftest.$ac_ext >&5 7245 fi 7246 rm -rf conftest* conftst* 7247 7248 # Do not use the global_symbol_pipe unless it works. 7249 if test yes = "$pipe_works"; then 7250 break 7251 else 7252 lt_cv_sys_global_symbol_pipe= 7253 fi 7254done 7255 7256fi 7257 7258if test -z "$lt_cv_sys_global_symbol_pipe"; then 7259 lt_cv_sys_global_symbol_to_cdecl= 7260fi 7261if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7263$as_echo "failed" >&6; } 7264else 7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7266$as_echo "ok" >&6; } 7267fi 7268 7269# Response file support. 7270if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7271 nm_file_list_spec='@' 7272elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7273 nm_file_list_spec='@' 7274fi 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7313$as_echo_n "checking for sysroot... " >&6; } 7314 7315# Check whether --with-sysroot was given. 7316if test "${with_sysroot+set}" = set; then : 7317 withval=$with_sysroot; 7318else 7319 with_sysroot=no 7320fi 7321 7322 7323lt_sysroot= 7324case $with_sysroot in #( 7325 yes) 7326 if test yes = "$GCC"; then 7327 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7328 fi 7329 ;; #( 7330 /*) 7331 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7332 ;; #( 7333 no|'') 7334 ;; #( 7335 *) 7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7337$as_echo "$with_sysroot" >&6; } 7338 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7339 ;; 7340esac 7341 7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7343$as_echo "${lt_sysroot:-no}" >&6; } 7344 7345 7346 7347 7348 7349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7350$as_echo_n "checking for a working dd... " >&6; } 7351if ${ac_cv_path_lt_DD+:} false; then : 7352 $as_echo_n "(cached) " >&6 7353else 7354 printf 0123456789abcdef0123456789abcdef >conftest.i 7355cat conftest.i conftest.i >conftest2.i 7356: ${lt_DD:=$DD} 7357if test -z "$lt_DD"; then 7358 ac_path_lt_DD_found=false 7359 # Loop through the user's path and test for each of PROGNAME-LIST 7360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7361for as_dir in $PATH 7362do 7363 IFS=$as_save_IFS 7364 test -z "$as_dir" && as_dir=. 7365 for ac_prog in dd; do 7366 for ac_exec_ext in '' $ac_executable_extensions; do 7367 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7368 as_fn_executable_p "$ac_path_lt_DD" || continue 7369if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7370 cmp -s conftest.i conftest.out \ 7371 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7372fi 7373 $ac_path_lt_DD_found && break 3 7374 done 7375 done 7376 done 7377IFS=$as_save_IFS 7378 if test -z "$ac_cv_path_lt_DD"; then 7379 : 7380 fi 7381else 7382 ac_cv_path_lt_DD=$lt_DD 7383fi 7384 7385rm -f conftest.i conftest2.i conftest.out 7386fi 7387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7388$as_echo "$ac_cv_path_lt_DD" >&6; } 7389 7390 7391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7392$as_echo_n "checking how to truncate binary pipes... " >&6; } 7393if ${lt_cv_truncate_bin+:} false; then : 7394 $as_echo_n "(cached) " >&6 7395else 7396 printf 0123456789abcdef0123456789abcdef >conftest.i 7397cat conftest.i conftest.i >conftest2.i 7398lt_cv_truncate_bin= 7399if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7400 cmp -s conftest.i conftest.out \ 7401 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7402fi 7403rm -f conftest.i conftest2.i conftest.out 7404test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7405fi 7406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7407$as_echo "$lt_cv_truncate_bin" >&6; } 7408 7409 7410 7411 7412 7413 7414 7415# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7416func_cc_basename () 7417{ 7418 for cc_temp in $*""; do 7419 case $cc_temp in 7420 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7421 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7422 \-*) ;; 7423 *) break;; 7424 esac 7425 done 7426 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7427} 7428 7429# Check whether --enable-libtool-lock was given. 7430if test "${enable_libtool_lock+set}" = set; then : 7431 enableval=$enable_libtool_lock; 7432fi 7433 7434test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7435 7436# Some flags need to be propagated to the compiler or linker for good 7437# libtool support. 7438case $host in 7439ia64-*-hpux*) 7440 # Find out what ABI is being produced by ac_compile, and set mode 7441 # options accordingly. 7442 echo 'int i;' > conftest.$ac_ext 7443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7444 (eval $ac_compile) 2>&5 7445 ac_status=$? 7446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7447 test $ac_status = 0; }; then 7448 case `/usr/bin/file conftest.$ac_objext` in 7449 *ELF-32*) 7450 HPUX_IA64_MODE=32 7451 ;; 7452 *ELF-64*) 7453 HPUX_IA64_MODE=64 7454 ;; 7455 esac 7456 fi 7457 rm -rf conftest* 7458 ;; 7459*-*-irix6*) 7460 # Find out what ABI is being produced by ac_compile, and set linker 7461 # options accordingly. 7462 echo '#line '$LINENO' "configure"' > 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 if test yes = "$lt_cv_prog_gnu_ld"; then 7469 case `/usr/bin/file conftest.$ac_objext` in 7470 *32-bit*) 7471 LD="${LD-ld} -melf32bsmip" 7472 ;; 7473 *N32*) 7474 LD="${LD-ld} -melf32bmipn32" 7475 ;; 7476 *64-bit*) 7477 LD="${LD-ld} -melf64bmip" 7478 ;; 7479 esac 7480 else 7481 case `/usr/bin/file conftest.$ac_objext` in 7482 *32-bit*) 7483 LD="${LD-ld} -32" 7484 ;; 7485 *N32*) 7486 LD="${LD-ld} -n32" 7487 ;; 7488 *64-bit*) 7489 LD="${LD-ld} -64" 7490 ;; 7491 esac 7492 fi 7493 fi 7494 rm -rf conftest* 7495 ;; 7496 7497mips64*-*linux*) 7498 # Find out what ABI is being produced by ac_compile, and set linker 7499 # options accordingly. 7500 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7502 (eval $ac_compile) 2>&5 7503 ac_status=$? 7504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7505 test $ac_status = 0; }; then 7506 emul=elf 7507 case `/usr/bin/file conftest.$ac_objext` in 7508 *32-bit*) 7509 emul="${emul}32" 7510 ;; 7511 *64-bit*) 7512 emul="${emul}64" 7513 ;; 7514 esac 7515 case `/usr/bin/file conftest.$ac_objext` in 7516 *MSB*) 7517 emul="${emul}btsmip" 7518 ;; 7519 *LSB*) 7520 emul="${emul}ltsmip" 7521 ;; 7522 esac 7523 case `/usr/bin/file conftest.$ac_objext` in 7524 *N32*) 7525 emul="${emul}n32" 7526 ;; 7527 esac 7528 LD="${LD-ld} -m $emul" 7529 fi 7530 rm -rf conftest* 7531 ;; 7532 7533x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7534s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7535 # Find out what ABI is being produced by ac_compile, and set linker 7536 # options accordingly. Note that the listed cases only cover the 7537 # situations where additional linker options are needed (such as when 7538 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7539 # vice versa); the common cases where no linker options are needed do 7540 # not appear in the list. 7541 echo 'int i;' > conftest.$ac_ext 7542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7543 (eval $ac_compile) 2>&5 7544 ac_status=$? 7545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7546 test $ac_status = 0; }; then 7547 case `/usr/bin/file conftest.o` in 7548 *32-bit*) 7549 case $host in 7550 x86_64-*kfreebsd*-gnu) 7551 LD="${LD-ld} -m elf_i386_fbsd" 7552 ;; 7553 x86_64-*linux*) 7554 case `/usr/bin/file conftest.o` in 7555 *x86-64*) 7556 LD="${LD-ld} -m elf32_x86_64" 7557 ;; 7558 *) 7559 LD="${LD-ld} -m elf_i386" 7560 ;; 7561 esac 7562 ;; 7563 powerpc64le-*linux*) 7564 LD="${LD-ld} -m elf32lppclinux" 7565 ;; 7566 powerpc64-*linux*) 7567 LD="${LD-ld} -m elf32ppclinux" 7568 ;; 7569 s390x-*linux*) 7570 LD="${LD-ld} -m elf_s390" 7571 ;; 7572 sparc64-*linux*) 7573 LD="${LD-ld} -m elf32_sparc" 7574 ;; 7575 esac 7576 ;; 7577 *64-bit*) 7578 case $host in 7579 x86_64-*kfreebsd*-gnu) 7580 LD="${LD-ld} -m elf_x86_64_fbsd" 7581 ;; 7582 x86_64-*linux*) 7583 LD="${LD-ld} -m elf_x86_64" 7584 ;; 7585 powerpcle-*linux*) 7586 LD="${LD-ld} -m elf64lppc" 7587 ;; 7588 powerpc-*linux*) 7589 LD="${LD-ld} -m elf64ppc" 7590 ;; 7591 s390*-*linux*|s390*-*tpf*) 7592 LD="${LD-ld} -m elf64_s390" 7593 ;; 7594 sparc*-*linux*) 7595 LD="${LD-ld} -m elf64_sparc" 7596 ;; 7597 esac 7598 ;; 7599 esac 7600 fi 7601 rm -rf conftest* 7602 ;; 7603 7604*-*-sco3.2v5*) 7605 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7606 SAVE_CFLAGS=$CFLAGS 7607 CFLAGS="$CFLAGS -belf" 7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7609$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7610if ${lt_cv_cc_needs_belf+:} false; then : 7611 $as_echo_n "(cached) " >&6 7612else 7613 ac_ext=c 7614ac_cpp='$CPP $CPPFLAGS' 7615ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7616ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7617ac_compiler_gnu=$ac_cv_c_compiler_gnu 7618 7619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7620/* end confdefs.h. */ 7621 7622int 7623main () 7624{ 7625 7626 ; 7627 return 0; 7628} 7629_ACEOF 7630if ac_fn_c_try_link "$LINENO"; then : 7631 lt_cv_cc_needs_belf=yes 7632else 7633 lt_cv_cc_needs_belf=no 7634fi 7635rm -f core conftest.err conftest.$ac_objext \ 7636 conftest$ac_exeext conftest.$ac_ext 7637 ac_ext=c 7638ac_cpp='$CPP $CPPFLAGS' 7639ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7640ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7641ac_compiler_gnu=$ac_cv_c_compiler_gnu 7642 7643fi 7644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7645$as_echo "$lt_cv_cc_needs_belf" >&6; } 7646 if test yes != "$lt_cv_cc_needs_belf"; then 7647 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7648 CFLAGS=$SAVE_CFLAGS 7649 fi 7650 ;; 7651*-*solaris*) 7652 # Find out what ABI is being produced by ac_compile, and set linker 7653 # options accordingly. 7654 echo 'int i;' > conftest.$ac_ext 7655 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7656 (eval $ac_compile) 2>&5 7657 ac_status=$? 7658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7659 test $ac_status = 0; }; then 7660 case `/usr/bin/file conftest.o` in 7661 *64-bit*) 7662 case $lt_cv_prog_gnu_ld in 7663 yes*) 7664 case $host in 7665 i?86-*-solaris*|x86_64-*-solaris*) 7666 LD="${LD-ld} -m elf_x86_64" 7667 ;; 7668 sparc*-*-solaris*) 7669 LD="${LD-ld} -m elf64_sparc" 7670 ;; 7671 esac 7672 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7673 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7674 LD=${LD-ld}_sol2 7675 fi 7676 ;; 7677 *) 7678 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7679 LD="${LD-ld} -64" 7680 fi 7681 ;; 7682 esac 7683 ;; 7684 esac 7685 fi 7686 rm -rf conftest* 7687 ;; 7688esac 7689 7690need_locks=$enable_libtool_lock 7691 7692if test -n "$ac_tool_prefix"; then 7693 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7694set dummy ${ac_tool_prefix}mt; ac_word=$2 7695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7696$as_echo_n "checking for $ac_word... " >&6; } 7697if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7698 $as_echo_n "(cached) " >&6 7699else 7700 if test -n "$MANIFEST_TOOL"; then 7701 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7702else 7703as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7704for as_dir in $PATH 7705do 7706 IFS=$as_save_IFS 7707 test -z "$as_dir" && as_dir=. 7708 for ac_exec_ext in '' $ac_executable_extensions; do 7709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7710 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7712 break 2 7713 fi 7714done 7715 done 7716IFS=$as_save_IFS 7717 7718fi 7719fi 7720MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7721if test -n "$MANIFEST_TOOL"; then 7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7723$as_echo "$MANIFEST_TOOL" >&6; } 7724else 7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7726$as_echo "no" >&6; } 7727fi 7728 7729 7730fi 7731if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7732 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7733 # Extract the first word of "mt", so it can be a program name with args. 7734set dummy mt; ac_word=$2 7735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7736$as_echo_n "checking for $ac_word... " >&6; } 7737if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7738 $as_echo_n "(cached) " >&6 7739else 7740 if test -n "$ac_ct_MANIFEST_TOOL"; then 7741 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7742else 7743as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7744for as_dir in $PATH 7745do 7746 IFS=$as_save_IFS 7747 test -z "$as_dir" && as_dir=. 7748 for ac_exec_ext in '' $ac_executable_extensions; do 7749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7750 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7752 break 2 7753 fi 7754done 7755 done 7756IFS=$as_save_IFS 7757 7758fi 7759fi 7760ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7761if test -n "$ac_ct_MANIFEST_TOOL"; then 7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7763$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7764else 7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7766$as_echo "no" >&6; } 7767fi 7768 7769 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7770 MANIFEST_TOOL=":" 7771 else 7772 case $cross_compiling:$ac_tool_warned in 7773yes:) 7774{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7775$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7776ac_tool_warned=yes ;; 7777esac 7778 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7779 fi 7780else 7781 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7782fi 7783 7784test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7786$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7787if ${lt_cv_path_mainfest_tool+:} false; then : 7788 $as_echo_n "(cached) " >&6 7789else 7790 lt_cv_path_mainfest_tool=no 7791 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7792 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7793 cat conftest.err >&5 7794 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7795 lt_cv_path_mainfest_tool=yes 7796 fi 7797 rm -f conftest* 7798fi 7799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7800$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7801if test yes != "$lt_cv_path_mainfest_tool"; then 7802 MANIFEST_TOOL=: 7803fi 7804 7805 7806 7807 7808 7809 7810 case $host_os in 7811 rhapsody* | darwin*) 7812 if test -n "$ac_tool_prefix"; then 7813 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7814set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7816$as_echo_n "checking for $ac_word... " >&6; } 7817if ${ac_cv_prog_DSYMUTIL+:} false; then : 7818 $as_echo_n "(cached) " >&6 7819else 7820 if test -n "$DSYMUTIL"; then 7821 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7822else 7823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7824for as_dir in $PATH 7825do 7826 IFS=$as_save_IFS 7827 test -z "$as_dir" && as_dir=. 7828 for ac_exec_ext in '' $ac_executable_extensions; do 7829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7830 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7832 break 2 7833 fi 7834done 7835 done 7836IFS=$as_save_IFS 7837 7838fi 7839fi 7840DSYMUTIL=$ac_cv_prog_DSYMUTIL 7841if test -n "$DSYMUTIL"; then 7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7843$as_echo "$DSYMUTIL" >&6; } 7844else 7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7846$as_echo "no" >&6; } 7847fi 7848 7849 7850fi 7851if test -z "$ac_cv_prog_DSYMUTIL"; then 7852 ac_ct_DSYMUTIL=$DSYMUTIL 7853 # Extract the first word of "dsymutil", so it can be a program name with args. 7854set dummy dsymutil; ac_word=$2 7855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7856$as_echo_n "checking for $ac_word... " >&6; } 7857if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7858 $as_echo_n "(cached) " >&6 7859else 7860 if test -n "$ac_ct_DSYMUTIL"; then 7861 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7862else 7863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7864for as_dir in $PATH 7865do 7866 IFS=$as_save_IFS 7867 test -z "$as_dir" && as_dir=. 7868 for ac_exec_ext in '' $ac_executable_extensions; do 7869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7870 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7872 break 2 7873 fi 7874done 7875 done 7876IFS=$as_save_IFS 7877 7878fi 7879fi 7880ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7881if test -n "$ac_ct_DSYMUTIL"; then 7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7883$as_echo "$ac_ct_DSYMUTIL" >&6; } 7884else 7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7886$as_echo "no" >&6; } 7887fi 7888 7889 if test "x$ac_ct_DSYMUTIL" = x; then 7890 DSYMUTIL=":" 7891 else 7892 case $cross_compiling:$ac_tool_warned in 7893yes:) 7894{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7895$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7896ac_tool_warned=yes ;; 7897esac 7898 DSYMUTIL=$ac_ct_DSYMUTIL 7899 fi 7900else 7901 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7902fi 7903 7904 if test -n "$ac_tool_prefix"; then 7905 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7906set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7908$as_echo_n "checking for $ac_word... " >&6; } 7909if ${ac_cv_prog_NMEDIT+:} false; then : 7910 $as_echo_n "(cached) " >&6 7911else 7912 if test -n "$NMEDIT"; then 7913 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7914else 7915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7916for as_dir in $PATH 7917do 7918 IFS=$as_save_IFS 7919 test -z "$as_dir" && as_dir=. 7920 for ac_exec_ext in '' $ac_executable_extensions; do 7921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7922 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7924 break 2 7925 fi 7926done 7927 done 7928IFS=$as_save_IFS 7929 7930fi 7931fi 7932NMEDIT=$ac_cv_prog_NMEDIT 7933if test -n "$NMEDIT"; then 7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7935$as_echo "$NMEDIT" >&6; } 7936else 7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7938$as_echo "no" >&6; } 7939fi 7940 7941 7942fi 7943if test -z "$ac_cv_prog_NMEDIT"; then 7944 ac_ct_NMEDIT=$NMEDIT 7945 # Extract the first word of "nmedit", so it can be a program name with args. 7946set dummy nmedit; ac_word=$2 7947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7948$as_echo_n "checking for $ac_word... " >&6; } 7949if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7950 $as_echo_n "(cached) " >&6 7951else 7952 if test -n "$ac_ct_NMEDIT"; then 7953 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7954else 7955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7956for as_dir in $PATH 7957do 7958 IFS=$as_save_IFS 7959 test -z "$as_dir" && as_dir=. 7960 for ac_exec_ext in '' $ac_executable_extensions; do 7961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7962 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7964 break 2 7965 fi 7966done 7967 done 7968IFS=$as_save_IFS 7969 7970fi 7971fi 7972ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7973if test -n "$ac_ct_NMEDIT"; then 7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7975$as_echo "$ac_ct_NMEDIT" >&6; } 7976else 7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7978$as_echo "no" >&6; } 7979fi 7980 7981 if test "x$ac_ct_NMEDIT" = x; then 7982 NMEDIT=":" 7983 else 7984 case $cross_compiling:$ac_tool_warned in 7985yes:) 7986{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7987$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7988ac_tool_warned=yes ;; 7989esac 7990 NMEDIT=$ac_ct_NMEDIT 7991 fi 7992else 7993 NMEDIT="$ac_cv_prog_NMEDIT" 7994fi 7995 7996 if test -n "$ac_tool_prefix"; then 7997 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7998set dummy ${ac_tool_prefix}lipo; ac_word=$2 7999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8000$as_echo_n "checking for $ac_word... " >&6; } 8001if ${ac_cv_prog_LIPO+:} false; then : 8002 $as_echo_n "(cached) " >&6 8003else 8004 if test -n "$LIPO"; then 8005 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8006else 8007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8008for as_dir in $PATH 8009do 8010 IFS=$as_save_IFS 8011 test -z "$as_dir" && as_dir=. 8012 for ac_exec_ext in '' $ac_executable_extensions; do 8013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8014 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8016 break 2 8017 fi 8018done 8019 done 8020IFS=$as_save_IFS 8021 8022fi 8023fi 8024LIPO=$ac_cv_prog_LIPO 8025if test -n "$LIPO"; then 8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8027$as_echo "$LIPO" >&6; } 8028else 8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8030$as_echo "no" >&6; } 8031fi 8032 8033 8034fi 8035if test -z "$ac_cv_prog_LIPO"; then 8036 ac_ct_LIPO=$LIPO 8037 # Extract the first word of "lipo", so it can be a program name with args. 8038set dummy lipo; ac_word=$2 8039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8040$as_echo_n "checking for $ac_word... " >&6; } 8041if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8042 $as_echo_n "(cached) " >&6 8043else 8044 if test -n "$ac_ct_LIPO"; then 8045 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8046else 8047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8048for as_dir in $PATH 8049do 8050 IFS=$as_save_IFS 8051 test -z "$as_dir" && as_dir=. 8052 for ac_exec_ext in '' $ac_executable_extensions; do 8053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8054 ac_cv_prog_ac_ct_LIPO="lipo" 8055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8056 break 2 8057 fi 8058done 8059 done 8060IFS=$as_save_IFS 8061 8062fi 8063fi 8064ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8065if test -n "$ac_ct_LIPO"; then 8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8067$as_echo "$ac_ct_LIPO" >&6; } 8068else 8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8070$as_echo "no" >&6; } 8071fi 8072 8073 if test "x$ac_ct_LIPO" = x; then 8074 LIPO=":" 8075 else 8076 case $cross_compiling:$ac_tool_warned in 8077yes:) 8078{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8079$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8080ac_tool_warned=yes ;; 8081esac 8082 LIPO=$ac_ct_LIPO 8083 fi 8084else 8085 LIPO="$ac_cv_prog_LIPO" 8086fi 8087 8088 if test -n "$ac_tool_prefix"; then 8089 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8090set dummy ${ac_tool_prefix}otool; ac_word=$2 8091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8092$as_echo_n "checking for $ac_word... " >&6; } 8093if ${ac_cv_prog_OTOOL+:} false; then : 8094 $as_echo_n "(cached) " >&6 8095else 8096 if test -n "$OTOOL"; then 8097 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8098else 8099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8100for as_dir in $PATH 8101do 8102 IFS=$as_save_IFS 8103 test -z "$as_dir" && as_dir=. 8104 for ac_exec_ext in '' $ac_executable_extensions; do 8105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8106 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8108 break 2 8109 fi 8110done 8111 done 8112IFS=$as_save_IFS 8113 8114fi 8115fi 8116OTOOL=$ac_cv_prog_OTOOL 8117if test -n "$OTOOL"; then 8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8119$as_echo "$OTOOL" >&6; } 8120else 8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8122$as_echo "no" >&6; } 8123fi 8124 8125 8126fi 8127if test -z "$ac_cv_prog_OTOOL"; then 8128 ac_ct_OTOOL=$OTOOL 8129 # Extract the first word of "otool", so it can be a program name with args. 8130set dummy otool; ac_word=$2 8131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8132$as_echo_n "checking for $ac_word... " >&6; } 8133if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8134 $as_echo_n "(cached) " >&6 8135else 8136 if test -n "$ac_ct_OTOOL"; then 8137 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8138else 8139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8140for as_dir in $PATH 8141do 8142 IFS=$as_save_IFS 8143 test -z "$as_dir" && as_dir=. 8144 for ac_exec_ext in '' $ac_executable_extensions; do 8145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8146 ac_cv_prog_ac_ct_OTOOL="otool" 8147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8148 break 2 8149 fi 8150done 8151 done 8152IFS=$as_save_IFS 8153 8154fi 8155fi 8156ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8157if test -n "$ac_ct_OTOOL"; then 8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8159$as_echo "$ac_ct_OTOOL" >&6; } 8160else 8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8162$as_echo "no" >&6; } 8163fi 8164 8165 if test "x$ac_ct_OTOOL" = x; then 8166 OTOOL=":" 8167 else 8168 case $cross_compiling:$ac_tool_warned in 8169yes:) 8170{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8171$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8172ac_tool_warned=yes ;; 8173esac 8174 OTOOL=$ac_ct_OTOOL 8175 fi 8176else 8177 OTOOL="$ac_cv_prog_OTOOL" 8178fi 8179 8180 if test -n "$ac_tool_prefix"; then 8181 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8182set dummy ${ac_tool_prefix}otool64; ac_word=$2 8183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8184$as_echo_n "checking for $ac_word... " >&6; } 8185if ${ac_cv_prog_OTOOL64+:} false; then : 8186 $as_echo_n "(cached) " >&6 8187else 8188 if test -n "$OTOOL64"; then 8189 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8190else 8191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8192for as_dir in $PATH 8193do 8194 IFS=$as_save_IFS 8195 test -z "$as_dir" && as_dir=. 8196 for ac_exec_ext in '' $ac_executable_extensions; do 8197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8198 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8200 break 2 8201 fi 8202done 8203 done 8204IFS=$as_save_IFS 8205 8206fi 8207fi 8208OTOOL64=$ac_cv_prog_OTOOL64 8209if test -n "$OTOOL64"; then 8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8211$as_echo "$OTOOL64" >&6; } 8212else 8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8214$as_echo "no" >&6; } 8215fi 8216 8217 8218fi 8219if test -z "$ac_cv_prog_OTOOL64"; then 8220 ac_ct_OTOOL64=$OTOOL64 8221 # Extract the first word of "otool64", so it can be a program name with args. 8222set dummy otool64; ac_word=$2 8223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8224$as_echo_n "checking for $ac_word... " >&6; } 8225if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8226 $as_echo_n "(cached) " >&6 8227else 8228 if test -n "$ac_ct_OTOOL64"; then 8229 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8230else 8231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8232for as_dir in $PATH 8233do 8234 IFS=$as_save_IFS 8235 test -z "$as_dir" && as_dir=. 8236 for ac_exec_ext in '' $ac_executable_extensions; do 8237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8238 ac_cv_prog_ac_ct_OTOOL64="otool64" 8239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8240 break 2 8241 fi 8242done 8243 done 8244IFS=$as_save_IFS 8245 8246fi 8247fi 8248ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8249if test -n "$ac_ct_OTOOL64"; then 8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8251$as_echo "$ac_ct_OTOOL64" >&6; } 8252else 8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8254$as_echo "no" >&6; } 8255fi 8256 8257 if test "x$ac_ct_OTOOL64" = x; then 8258 OTOOL64=":" 8259 else 8260 case $cross_compiling:$ac_tool_warned in 8261yes:) 8262{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8263$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8264ac_tool_warned=yes ;; 8265esac 8266 OTOOL64=$ac_ct_OTOOL64 8267 fi 8268else 8269 OTOOL64="$ac_cv_prog_OTOOL64" 8270fi 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8299$as_echo_n "checking for -single_module linker flag... " >&6; } 8300if ${lt_cv_apple_cc_single_mod+:} false; then : 8301 $as_echo_n "(cached) " >&6 8302else 8303 lt_cv_apple_cc_single_mod=no 8304 if test -z "$LT_MULTI_MODULE"; then 8305 # By default we will add the -single_module flag. You can override 8306 # by either setting the environment variable LT_MULTI_MODULE 8307 # non-empty at configure time, or by adding -multi_module to the 8308 # link flags. 8309 rm -rf libconftest.dylib* 8310 echo "int foo(void){return 1;}" > conftest.c 8311 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8312-dynamiclib -Wl,-single_module conftest.c" >&5 8313 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8314 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8315 _lt_result=$? 8316 # If there is a non-empty error log, and "single_module" 8317 # appears in it, assume the flag caused a linker warning 8318 if test -s conftest.err && $GREP single_module conftest.err; then 8319 cat conftest.err >&5 8320 # Otherwise, if the output was created with a 0 exit code from 8321 # the compiler, it worked. 8322 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8323 lt_cv_apple_cc_single_mod=yes 8324 else 8325 cat conftest.err >&5 8326 fi 8327 rm -rf libconftest.dylib* 8328 rm -f conftest.* 8329 fi 8330fi 8331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8332$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8333 8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8335$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8336if ${lt_cv_ld_exported_symbols_list+:} false; then : 8337 $as_echo_n "(cached) " >&6 8338else 8339 lt_cv_ld_exported_symbols_list=no 8340 save_LDFLAGS=$LDFLAGS 8341 echo "_main" > conftest.sym 8342 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8344/* end confdefs.h. */ 8345 8346int 8347main () 8348{ 8349 8350 ; 8351 return 0; 8352} 8353_ACEOF 8354if ac_fn_c_try_link "$LINENO"; then : 8355 lt_cv_ld_exported_symbols_list=yes 8356else 8357 lt_cv_ld_exported_symbols_list=no 8358fi 8359rm -f core conftest.err conftest.$ac_objext \ 8360 conftest$ac_exeext conftest.$ac_ext 8361 LDFLAGS=$save_LDFLAGS 8362 8363fi 8364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8365$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8366 8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8368$as_echo_n "checking for -force_load linker flag... " >&6; } 8369if ${lt_cv_ld_force_load+:} false; then : 8370 $as_echo_n "(cached) " >&6 8371else 8372 lt_cv_ld_force_load=no 8373 cat > conftest.c << _LT_EOF 8374int forced_loaded() { return 2;} 8375_LT_EOF 8376 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8377 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8378 echo "$AR cr libconftest.a conftest.o" >&5 8379 $AR cr libconftest.a conftest.o 2>&5 8380 echo "$RANLIB libconftest.a" >&5 8381 $RANLIB libconftest.a 2>&5 8382 cat > conftest.c << _LT_EOF 8383int main() { return 0;} 8384_LT_EOF 8385 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8386 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8387 _lt_result=$? 8388 if test -s conftest.err && $GREP force_load conftest.err; then 8389 cat conftest.err >&5 8390 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8391 lt_cv_ld_force_load=yes 8392 else 8393 cat conftest.err >&5 8394 fi 8395 rm -f conftest.err libconftest.a conftest conftest.c 8396 rm -rf conftest.dSYM 8397 8398fi 8399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8400$as_echo "$lt_cv_ld_force_load" >&6; } 8401 case $host_os in 8402 rhapsody* | darwin1.[012]) 8403 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8404 darwin1.*) 8405 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8406 darwin*) # darwin 5.x on 8407 # if running on 10.5 or later, the deployment target defaults 8408 # to the OS version, if on x86, and 10.4, the deployment 8409 # target defaults to 10.4. Don't you love it? 8410 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8411 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8412 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8413 10.[012][,.]*) 8414 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8415 10.*) 8416 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8417 esac 8418 ;; 8419 esac 8420 if test yes = "$lt_cv_apple_cc_single_mod"; then 8421 _lt_dar_single_mod='$single_module' 8422 fi 8423 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8424 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8425 else 8426 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8427 fi 8428 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8429 _lt_dsymutil='~$DSYMUTIL $lib || :' 8430 else 8431 _lt_dsymutil= 8432 fi 8433 ;; 8434 esac 8435 8436# func_munge_path_list VARIABLE PATH 8437# ----------------------------------- 8438# VARIABLE is name of variable containing _space_ separated list of 8439# directories to be munged by the contents of PATH, which is string 8440# having a format: 8441# "DIR[:DIR]:" 8442# string "DIR[ DIR]" will be prepended to VARIABLE 8443# ":DIR[:DIR]" 8444# string "DIR[ DIR]" will be appended to VARIABLE 8445# "DIRP[:DIRP]::[DIRA:]DIRA" 8446# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8447# "DIRA[ DIRA]" will be appended to VARIABLE 8448# "DIR[:DIR]" 8449# VARIABLE will be replaced by "DIR[ DIR]" 8450func_munge_path_list () 8451{ 8452 case x$2 in 8453 x) 8454 ;; 8455 *:) 8456 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8457 ;; 8458 x:*) 8459 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8460 ;; 8461 *::*) 8462 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8463 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8464 ;; 8465 *) 8466 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8467 ;; 8468 esac 8469} 8470 8471ac_ext=c 8472ac_cpp='$CPP $CPPFLAGS' 8473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8475ac_compiler_gnu=$ac_cv_c_compiler_gnu 8476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8477$as_echo_n "checking how to run the C preprocessor... " >&6; } 8478# On Suns, sometimes $CPP names a directory. 8479if test -n "$CPP" && test -d "$CPP"; then 8480 CPP= 8481fi 8482if test -z "$CPP"; then 8483 if ${ac_cv_prog_CPP+:} false; then : 8484 $as_echo_n "(cached) " >&6 8485else 8486 # Double quotes because CPP needs to be expanded 8487 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8488 do 8489 ac_preproc_ok=false 8490for ac_c_preproc_warn_flag in '' yes 8491do 8492 # Use a header file that comes with gcc, so configuring glibc 8493 # with a fresh cross-compiler works. 8494 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8495 # <limits.h> exists even on freestanding compilers. 8496 # On the NeXT, cc -E runs the code through the compiler's parser, 8497 # not just through cpp. "Syntax error" is here to catch this case. 8498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8499/* end confdefs.h. */ 8500#ifdef __STDC__ 8501# include <limits.h> 8502#else 8503# include <assert.h> 8504#endif 8505 Syntax error 8506_ACEOF 8507if ac_fn_c_try_cpp "$LINENO"; then : 8508 8509else 8510 # Broken: fails on valid input. 8511continue 8512fi 8513rm -f conftest.err conftest.i conftest.$ac_ext 8514 8515 # OK, works on sane cases. Now check whether nonexistent headers 8516 # can be detected and how. 8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8518/* end confdefs.h. */ 8519#include <ac_nonexistent.h> 8520_ACEOF 8521if ac_fn_c_try_cpp "$LINENO"; then : 8522 # Broken: success on invalid input. 8523continue 8524else 8525 # Passes both tests. 8526ac_preproc_ok=: 8527break 8528fi 8529rm -f conftest.err conftest.i conftest.$ac_ext 8530 8531done 8532# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8533rm -f conftest.i conftest.err conftest.$ac_ext 8534if $ac_preproc_ok; then : 8535 break 8536fi 8537 8538 done 8539 ac_cv_prog_CPP=$CPP 8540 8541fi 8542 CPP=$ac_cv_prog_CPP 8543else 8544 ac_cv_prog_CPP=$CPP 8545fi 8546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8547$as_echo "$CPP" >&6; } 8548ac_preproc_ok=false 8549for ac_c_preproc_warn_flag in '' yes 8550do 8551 # Use a header file that comes with gcc, so configuring glibc 8552 # with a fresh cross-compiler works. 8553 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8554 # <limits.h> exists even on freestanding compilers. 8555 # On the NeXT, cc -E runs the code through the compiler's parser, 8556 # not just through cpp. "Syntax error" is here to catch this case. 8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8558/* end confdefs.h. */ 8559#ifdef __STDC__ 8560# include <limits.h> 8561#else 8562# include <assert.h> 8563#endif 8564 Syntax error 8565_ACEOF 8566if ac_fn_c_try_cpp "$LINENO"; then : 8567 8568else 8569 # Broken: fails on valid input. 8570continue 8571fi 8572rm -f conftest.err conftest.i conftest.$ac_ext 8573 8574 # OK, works on sane cases. Now check whether nonexistent headers 8575 # can be detected and how. 8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8577/* end confdefs.h. */ 8578#include <ac_nonexistent.h> 8579_ACEOF 8580if ac_fn_c_try_cpp "$LINENO"; then : 8581 # Broken: success on invalid input. 8582continue 8583else 8584 # Passes both tests. 8585ac_preproc_ok=: 8586break 8587fi 8588rm -f conftest.err conftest.i conftest.$ac_ext 8589 8590done 8591# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8592rm -f conftest.i conftest.err conftest.$ac_ext 8593if $ac_preproc_ok; then : 8594 8595else 8596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8597$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8598as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8599See \`config.log' for more details" "$LINENO" 5; } 8600fi 8601 8602ac_ext=c 8603ac_cpp='$CPP $CPPFLAGS' 8604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8606ac_compiler_gnu=$ac_cv_c_compiler_gnu 8607 8608 8609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8610$as_echo_n "checking for ANSI C header files... " >&6; } 8611if ${ac_cv_header_stdc+:} false; then : 8612 $as_echo_n "(cached) " >&6 8613else 8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8615/* end confdefs.h. */ 8616#include <stdlib.h> 8617#include <stdarg.h> 8618#include <string.h> 8619#include <float.h> 8620 8621int 8622main () 8623{ 8624 8625 ; 8626 return 0; 8627} 8628_ACEOF 8629if ac_fn_c_try_compile "$LINENO"; then : 8630 ac_cv_header_stdc=yes 8631else 8632 ac_cv_header_stdc=no 8633fi 8634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8635 8636if test $ac_cv_header_stdc = yes; then 8637 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8639/* end confdefs.h. */ 8640#include <string.h> 8641 8642_ACEOF 8643if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8644 $EGREP "memchr" >/dev/null 2>&1; then : 8645 8646else 8647 ac_cv_header_stdc=no 8648fi 8649rm -f conftest* 8650 8651fi 8652 8653if test $ac_cv_header_stdc = yes; then 8654 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8656/* end confdefs.h. */ 8657#include <stdlib.h> 8658 8659_ACEOF 8660if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8661 $EGREP "free" >/dev/null 2>&1; then : 8662 8663else 8664 ac_cv_header_stdc=no 8665fi 8666rm -f conftest* 8667 8668fi 8669 8670if test $ac_cv_header_stdc = yes; then 8671 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8672 if test "$cross_compiling" = yes; then : 8673 : 8674else 8675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8676/* end confdefs.h. */ 8677#include <ctype.h> 8678#include <stdlib.h> 8679#if ((' ' & 0x0FF) == 0x020) 8680# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8681# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8682#else 8683# define ISLOWER(c) \ 8684 (('a' <= (c) && (c) <= 'i') \ 8685 || ('j' <= (c) && (c) <= 'r') \ 8686 || ('s' <= (c) && (c) <= 'z')) 8687# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8688#endif 8689 8690#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8691int 8692main () 8693{ 8694 int i; 8695 for (i = 0; i < 256; i++) 8696 if (XOR (islower (i), ISLOWER (i)) 8697 || toupper (i) != TOUPPER (i)) 8698 return 2; 8699 return 0; 8700} 8701_ACEOF 8702if ac_fn_c_try_run "$LINENO"; then : 8703 8704else 8705 ac_cv_header_stdc=no 8706fi 8707rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8708 conftest.$ac_objext conftest.beam conftest.$ac_ext 8709fi 8710 8711fi 8712fi 8713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8714$as_echo "$ac_cv_header_stdc" >&6; } 8715if test $ac_cv_header_stdc = yes; then 8716 8717$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8718 8719fi 8720 8721# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8722for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8723 inttypes.h stdint.h unistd.h 8724do : 8725 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8726ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8727" 8728if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8729 cat >>confdefs.h <<_ACEOF 8730#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8731_ACEOF 8732 8733fi 8734 8735done 8736 8737 8738for ac_header in dlfcn.h 8739do : 8740 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8741" 8742if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8743 cat >>confdefs.h <<_ACEOF 8744#define HAVE_DLFCN_H 1 8745_ACEOF 8746 8747fi 8748 8749done 8750 8751 8752 8753 8754func_stripname_cnf () 8755{ 8756 case $2 in 8757 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 8758 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 8759 esac 8760} # func_stripname_cnf 8761 8762 8763 8764 8765 8766# Set options 8767# Check whether --enable-static was given. 8768if test "${enable_static+set}" = set; then : 8769 enableval=$enable_static; p=${PACKAGE-default} 8770 case $enableval in 8771 yes) enable_static=yes ;; 8772 no) enable_static=no ;; 8773 *) 8774 enable_static=no 8775 # Look at the argument we got. We use all the common list separators. 8776 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8777 for pkg in $enableval; do 8778 IFS=$lt_save_ifs 8779 if test "X$pkg" = "X$p"; then 8780 enable_static=yes 8781 fi 8782 done 8783 IFS=$lt_save_ifs 8784 ;; 8785 esac 8786else 8787 enable_static=no 8788fi 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 enable_dlopen=no 8800 8801 8802 enable_win32_dll=no 8803 8804 8805 # Check whether --enable-shared was given. 8806if test "${enable_shared+set}" = set; then : 8807 enableval=$enable_shared; p=${PACKAGE-default} 8808 case $enableval in 8809 yes) enable_shared=yes ;; 8810 no) enable_shared=no ;; 8811 *) 8812 enable_shared=no 8813 # Look at the argument we got. We use all the common list separators. 8814 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8815 for pkg in $enableval; do 8816 IFS=$lt_save_ifs 8817 if test "X$pkg" = "X$p"; then 8818 enable_shared=yes 8819 fi 8820 done 8821 IFS=$lt_save_ifs 8822 ;; 8823 esac 8824else 8825 enable_shared=yes 8826fi 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838# Check whether --with-pic was given. 8839if test "${with_pic+set}" = set; then : 8840 withval=$with_pic; lt_p=${PACKAGE-default} 8841 case $withval in 8842 yes|no) pic_mode=$withval ;; 8843 *) 8844 pic_mode=default 8845 # Look at the argument we got. We use all the common list separators. 8846 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8847 for lt_pkg in $withval; do 8848 IFS=$lt_save_ifs 8849 if test "X$lt_pkg" = "X$lt_p"; then 8850 pic_mode=yes 8851 fi 8852 done 8853 IFS=$lt_save_ifs 8854 ;; 8855 esac 8856else 8857 pic_mode=default 8858fi 8859 8860 8861 8862 8863 8864 8865 8866 8867 # Check whether --enable-fast-install was given. 8868if test "${enable_fast_install+set}" = set; then : 8869 enableval=$enable_fast_install; p=${PACKAGE-default} 8870 case $enableval in 8871 yes) enable_fast_install=yes ;; 8872 no) enable_fast_install=no ;; 8873 *) 8874 enable_fast_install=no 8875 # Look at the argument we got. We use all the common list separators. 8876 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8877 for pkg in $enableval; do 8878 IFS=$lt_save_ifs 8879 if test "X$pkg" = "X$p"; then 8880 enable_fast_install=yes 8881 fi 8882 done 8883 IFS=$lt_save_ifs 8884 ;; 8885 esac 8886else 8887 enable_fast_install=yes 8888fi 8889 8890 8891 8892 8893 8894 8895 8896 8897 shared_archive_member_spec= 8898case $host,$enable_shared in 8899power*-*-aix[5-9]*,yes) 8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8901$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8902 8903# Check whether --with-aix-soname was given. 8904if test "${with_aix_soname+set}" = set; then : 8905 withval=$with_aix_soname; case $withval in 8906 aix|svr4|both) 8907 ;; 8908 *) 8909 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8910 ;; 8911 esac 8912 lt_cv_with_aix_soname=$with_aix_soname 8913else 8914 if ${lt_cv_with_aix_soname+:} false; then : 8915 $as_echo_n "(cached) " >&6 8916else 8917 lt_cv_with_aix_soname=aix 8918fi 8919 8920 with_aix_soname=$lt_cv_with_aix_soname 8921fi 8922 8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8924$as_echo "$with_aix_soname" >&6; } 8925 if test aix != "$with_aix_soname"; then 8926 # For the AIX way of multilib, we name the shared archive member 8927 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8928 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8929 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8930 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8931 if test 64 = "${OBJECT_MODE-32}"; then 8932 shared_archive_member_spec=shr_64 8933 else 8934 shared_archive_member_spec=shr 8935 fi 8936 fi 8937 ;; 8938*) 8939 with_aix_soname=aix 8940 ;; 8941esac 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952# This can be used to rebuild libtool when needed 8953LIBTOOL_DEPS=$ltmain 8954 8955# Always use our own libtool. 8956LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987test -z "$LN_S" && LN_S="ln -s" 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002if test -n "${ZSH_VERSION+set}"; then 9003 setopt NO_GLOB_SUBST 9004fi 9005 9006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9007$as_echo_n "checking for objdir... " >&6; } 9008if ${lt_cv_objdir+:} false; then : 9009 $as_echo_n "(cached) " >&6 9010else 9011 rm -f .libs 2>/dev/null 9012mkdir .libs 2>/dev/null 9013if test -d .libs; then 9014 lt_cv_objdir=.libs 9015else 9016 # MS-DOS does not allow filenames that begin with a dot. 9017 lt_cv_objdir=_libs 9018fi 9019rmdir .libs 2>/dev/null 9020fi 9021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9022$as_echo "$lt_cv_objdir" >&6; } 9023objdir=$lt_cv_objdir 9024 9025 9026 9027 9028 9029cat >>confdefs.h <<_ACEOF 9030#define LT_OBJDIR "$lt_cv_objdir/" 9031_ACEOF 9032 9033 9034 9035 9036case $host_os in 9037aix3*) 9038 # AIX sometimes has problems with the GCC collect2 program. For some 9039 # reason, if we set the COLLECT_NAMES environment variable, the problems 9040 # vanish in a puff of smoke. 9041 if test set != "${COLLECT_NAMES+set}"; then 9042 COLLECT_NAMES= 9043 export COLLECT_NAMES 9044 fi 9045 ;; 9046esac 9047 9048# Global variables: 9049ofile=libtool 9050can_build_shared=yes 9051 9052# All known linkers require a '.a' archive for static linking (except MSVC, 9053# which needs '.lib'). 9054libext=a 9055 9056with_gnu_ld=$lt_cv_prog_gnu_ld 9057 9058old_CC=$CC 9059old_CFLAGS=$CFLAGS 9060 9061# Set sane defaults for various variables 9062test -z "$CC" && CC=cc 9063test -z "$LTCC" && LTCC=$CC 9064test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9065test -z "$LD" && LD=ld 9066test -z "$ac_objext" && ac_objext=o 9067 9068func_cc_basename $compiler 9069cc_basename=$func_cc_basename_result 9070 9071 9072# Only perform the check for file, if the check method requires it 9073test -z "$MAGIC_CMD" && MAGIC_CMD=file 9074case $deplibs_check_method in 9075file_magic*) 9076 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9078$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9079if ${lt_cv_path_MAGIC_CMD+:} false; then : 9080 $as_echo_n "(cached) " >&6 9081else 9082 case $MAGIC_CMD in 9083[\\/*] | ?:[\\/]*) 9084 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9085 ;; 9086*) 9087 lt_save_MAGIC_CMD=$MAGIC_CMD 9088 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9089 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9090 for ac_dir in $ac_dummy; do 9091 IFS=$lt_save_ifs 9092 test -z "$ac_dir" && ac_dir=. 9093 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9094 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9095 if test -n "$file_magic_test_file"; then 9096 case $deplibs_check_method in 9097 "file_magic "*) 9098 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9099 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9100 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9101 $EGREP "$file_magic_regex" > /dev/null; then 9102 : 9103 else 9104 cat <<_LT_EOF 1>&2 9105 9106*** Warning: the command libtool uses to detect shared libraries, 9107*** $file_magic_cmd, produces output that libtool cannot recognize. 9108*** The result is that libtool may fail to recognize shared libraries 9109*** as such. This will affect the creation of libtool libraries that 9110*** depend on shared libraries, but programs linked with such libtool 9111*** libraries will work regardless of this problem. Nevertheless, you 9112*** may want to report the problem to your system manager and/or to 9113*** bug-libtool@gnu.org 9114 9115_LT_EOF 9116 fi ;; 9117 esac 9118 fi 9119 break 9120 fi 9121 done 9122 IFS=$lt_save_ifs 9123 MAGIC_CMD=$lt_save_MAGIC_CMD 9124 ;; 9125esac 9126fi 9127 9128MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9129if test -n "$MAGIC_CMD"; then 9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9131$as_echo "$MAGIC_CMD" >&6; } 9132else 9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9134$as_echo "no" >&6; } 9135fi 9136 9137 9138 9139 9140 9141if test -z "$lt_cv_path_MAGIC_CMD"; then 9142 if test -n "$ac_tool_prefix"; then 9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9144$as_echo_n "checking for file... " >&6; } 9145if ${lt_cv_path_MAGIC_CMD+:} false; then : 9146 $as_echo_n "(cached) " >&6 9147else 9148 case $MAGIC_CMD in 9149[\\/*] | ?:[\\/]*) 9150 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9151 ;; 9152*) 9153 lt_save_MAGIC_CMD=$MAGIC_CMD 9154 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9155 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9156 for ac_dir in $ac_dummy; do 9157 IFS=$lt_save_ifs 9158 test -z "$ac_dir" && ac_dir=. 9159 if test -f "$ac_dir/file"; then 9160 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9161 if test -n "$file_magic_test_file"; then 9162 case $deplibs_check_method in 9163 "file_magic "*) 9164 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9165 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9166 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9167 $EGREP "$file_magic_regex" > /dev/null; then 9168 : 9169 else 9170 cat <<_LT_EOF 1>&2 9171 9172*** Warning: the command libtool uses to detect shared libraries, 9173*** $file_magic_cmd, produces output that libtool cannot recognize. 9174*** The result is that libtool may fail to recognize shared libraries 9175*** as such. This will affect the creation of libtool libraries that 9176*** depend on shared libraries, but programs linked with such libtool 9177*** libraries will work regardless of this problem. Nevertheless, you 9178*** may want to report the problem to your system manager and/or to 9179*** bug-libtool@gnu.org 9180 9181_LT_EOF 9182 fi ;; 9183 esac 9184 fi 9185 break 9186 fi 9187 done 9188 IFS=$lt_save_ifs 9189 MAGIC_CMD=$lt_save_MAGIC_CMD 9190 ;; 9191esac 9192fi 9193 9194MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9195if test -n "$MAGIC_CMD"; then 9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9197$as_echo "$MAGIC_CMD" >&6; } 9198else 9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9200$as_echo "no" >&6; } 9201fi 9202 9203 9204 else 9205 MAGIC_CMD=: 9206 fi 9207fi 9208 9209 fi 9210 ;; 9211esac 9212 9213# Use C for the default configuration in the libtool script 9214 9215lt_save_CC=$CC 9216ac_ext=c 9217ac_cpp='$CPP $CPPFLAGS' 9218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9220ac_compiler_gnu=$ac_cv_c_compiler_gnu 9221 9222 9223# Source file extension for C test sources. 9224ac_ext=c 9225 9226# Object file extension for compiled C test sources. 9227objext=o 9228objext=$objext 9229 9230# Code to be used in simple compile tests 9231lt_simple_compile_test_code="int some_variable = 0;" 9232 9233# Code to be used in simple link tests 9234lt_simple_link_test_code='int main(){return(0);}' 9235 9236 9237 9238 9239 9240 9241 9242# If no C compiler was specified, use CC. 9243LTCC=${LTCC-"$CC"} 9244 9245# If no C compiler flags were specified, use CFLAGS. 9246LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9247 9248# Allow CC to be a program name with arguments. 9249compiler=$CC 9250 9251# Save the default compiler, since it gets overwritten when the other 9252# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9253compiler_DEFAULT=$CC 9254 9255# save warnings/boilerplate of simple test code 9256ac_outfile=conftest.$ac_objext 9257echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9258eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9259_lt_compiler_boilerplate=`cat conftest.err` 9260$RM conftest* 9261 9262ac_outfile=conftest.$ac_objext 9263echo "$lt_simple_link_test_code" >conftest.$ac_ext 9264eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9265_lt_linker_boilerplate=`cat conftest.err` 9266$RM -r conftest* 9267 9268 9269## CAVEAT EMPTOR: 9270## There is no encapsulation within the following macros, do not change 9271## the running order or otherwise move them around unless you know exactly 9272## what you are doing... 9273if test -n "$compiler"; then 9274 9275lt_prog_compiler_no_builtin_flag= 9276 9277if test yes = "$GCC"; then 9278 case $cc_basename in 9279 nvcc*) 9280 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9281 *) 9282 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9283 esac 9284 9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9286$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9287if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9288 $as_echo_n "(cached) " >&6 9289else 9290 lt_cv_prog_compiler_rtti_exceptions=no 9291 ac_outfile=conftest.$ac_objext 9292 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9293 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9294 # Insert the option either (1) after the last *FLAGS variable, or 9295 # (2) before a word containing "conftest.", or (3) at the end. 9296 # Note that $ac_compile itself does not contain backslashes and begins 9297 # with a dollar sign (not a hyphen), so the echo should work correctly. 9298 # The option is referenced via a variable to avoid confusing sed. 9299 lt_compile=`echo "$ac_compile" | $SED \ 9300 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9301 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9302 -e 's:$: $lt_compiler_flag:'` 9303 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9304 (eval "$lt_compile" 2>conftest.err) 9305 ac_status=$? 9306 cat conftest.err >&5 9307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9308 if (exit $ac_status) && test -s "$ac_outfile"; then 9309 # The compiler can only warn and ignore the option if not recognized 9310 # So say no if there are warnings other than the usual output. 9311 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9312 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9313 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9314 lt_cv_prog_compiler_rtti_exceptions=yes 9315 fi 9316 fi 9317 $RM conftest* 9318 9319fi 9320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9321$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9322 9323if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9324 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9325else 9326 : 9327fi 9328 9329fi 9330 9331 9332 9333 9334 9335 9336 lt_prog_compiler_wl= 9337lt_prog_compiler_pic= 9338lt_prog_compiler_static= 9339 9340 9341 if test yes = "$GCC"; then 9342 lt_prog_compiler_wl='-Wl,' 9343 lt_prog_compiler_static='-static' 9344 9345 case $host_os in 9346 aix*) 9347 # All AIX code is PIC. 9348 if test ia64 = "$host_cpu"; then 9349 # AIX 5 now supports IA64 processor 9350 lt_prog_compiler_static='-Bstatic' 9351 fi 9352 lt_prog_compiler_pic='-fPIC' 9353 ;; 9354 9355 amigaos*) 9356 case $host_cpu in 9357 powerpc) 9358 # see comment about AmigaOS4 .so support 9359 lt_prog_compiler_pic='-fPIC' 9360 ;; 9361 m68k) 9362 # FIXME: we need at least 68020 code to build shared libraries, but 9363 # adding the '-m68020' flag to GCC prevents building anything better, 9364 # like '-m68040'. 9365 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9366 ;; 9367 esac 9368 ;; 9369 9370 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9371 # PIC is the default for these OSes. 9372 ;; 9373 9374 mingw* | cygwin* | pw32* | os2* | cegcc*) 9375 # This hack is so that the source file can tell whether it is being 9376 # built for inclusion in a dll (and should export symbols for example). 9377 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9378 # (--disable-auto-import) libraries 9379 lt_prog_compiler_pic='-DDLL_EXPORT' 9380 case $host_os in 9381 os2*) 9382 lt_prog_compiler_static='$wl-static' 9383 ;; 9384 esac 9385 ;; 9386 9387 darwin* | rhapsody*) 9388 # PIC is the default on this platform 9389 # Common symbols not allowed in MH_DYLIB files 9390 lt_prog_compiler_pic='-fno-common' 9391 ;; 9392 9393 haiku*) 9394 # PIC is the default for Haiku. 9395 # The "-static" flag exists, but is broken. 9396 lt_prog_compiler_static= 9397 ;; 9398 9399 hpux*) 9400 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9401 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9402 # sets the default TLS model and affects inlining. 9403 case $host_cpu in 9404 hppa*64*) 9405 # +Z the default 9406 ;; 9407 *) 9408 lt_prog_compiler_pic='-fPIC' 9409 ;; 9410 esac 9411 ;; 9412 9413 interix[3-9]*) 9414 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9415 # Instead, we relocate shared libraries at runtime. 9416 ;; 9417 9418 msdosdjgpp*) 9419 # Just because we use GCC doesn't mean we suddenly get shared libraries 9420 # on systems that don't support them. 9421 lt_prog_compiler_can_build_shared=no 9422 enable_shared=no 9423 ;; 9424 9425 *nto* | *qnx*) 9426 # QNX uses GNU C++, but need to define -shared option too, otherwise 9427 # it will coredump. 9428 lt_prog_compiler_pic='-fPIC -shared' 9429 ;; 9430 9431 sysv4*MP*) 9432 if test -d /usr/nec; then 9433 lt_prog_compiler_pic=-Kconform_pic 9434 fi 9435 ;; 9436 9437 *) 9438 lt_prog_compiler_pic='-fPIC' 9439 ;; 9440 esac 9441 9442 case $cc_basename in 9443 nvcc*) # Cuda Compiler Driver 2.2 9444 lt_prog_compiler_wl='-Xlinker ' 9445 if test -n "$lt_prog_compiler_pic"; then 9446 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9447 fi 9448 ;; 9449 esac 9450 else 9451 # PORTME Check for flag to pass linker flags through the system compiler. 9452 case $host_os in 9453 aix*) 9454 lt_prog_compiler_wl='-Wl,' 9455 if test ia64 = "$host_cpu"; then 9456 # AIX 5 now supports IA64 processor 9457 lt_prog_compiler_static='-Bstatic' 9458 else 9459 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9460 fi 9461 ;; 9462 9463 darwin* | rhapsody*) 9464 # PIC is the default on this platform 9465 # Common symbols not allowed in MH_DYLIB files 9466 lt_prog_compiler_pic='-fno-common' 9467 case $cc_basename in 9468 nagfor*) 9469 # NAG Fortran compiler 9470 lt_prog_compiler_wl='-Wl,-Wl,,' 9471 lt_prog_compiler_pic='-PIC' 9472 lt_prog_compiler_static='-Bstatic' 9473 ;; 9474 esac 9475 ;; 9476 9477 mingw* | cygwin* | pw32* | os2* | cegcc*) 9478 # This hack is so that the source file can tell whether it is being 9479 # built for inclusion in a dll (and should export symbols for example). 9480 lt_prog_compiler_pic='-DDLL_EXPORT' 9481 case $host_os in 9482 os2*) 9483 lt_prog_compiler_static='$wl-static' 9484 ;; 9485 esac 9486 ;; 9487 9488 hpux9* | hpux10* | hpux11*) 9489 lt_prog_compiler_wl='-Wl,' 9490 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9491 # not for PA HP-UX. 9492 case $host_cpu in 9493 hppa*64*|ia64*) 9494 # +Z the default 9495 ;; 9496 *) 9497 lt_prog_compiler_pic='+Z' 9498 ;; 9499 esac 9500 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9501 lt_prog_compiler_static='$wl-a ${wl}archive' 9502 ;; 9503 9504 irix5* | irix6* | nonstopux*) 9505 lt_prog_compiler_wl='-Wl,' 9506 # PIC (with -KPIC) is the default. 9507 lt_prog_compiler_static='-non_shared' 9508 ;; 9509 9510 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9511 case $cc_basename in 9512 # old Intel for x86_64, which still supported -KPIC. 9513 ecc*) 9514 lt_prog_compiler_wl='-Wl,' 9515 lt_prog_compiler_pic='-KPIC' 9516 lt_prog_compiler_static='-static' 9517 ;; 9518 # flang / f18. f95 an alias for gfortran or flang on Debian 9519 flang* | f18* | f95*) 9520 lt_prog_compiler_wl='-Wl,' 9521 lt_prog_compiler_pic='-fPIC' 9522 lt_prog_compiler_static='-static' 9523 ;; 9524 # icc used to be incompatible with GCC. 9525 # ICC 10 doesn't accept -KPIC any more. 9526 icc* | ifort*) 9527 lt_prog_compiler_wl='-Wl,' 9528 lt_prog_compiler_pic='-fPIC' 9529 lt_prog_compiler_static='-static' 9530 ;; 9531 # Lahey Fortran 8.1. 9532 lf95*) 9533 lt_prog_compiler_wl='-Wl,' 9534 lt_prog_compiler_pic='--shared' 9535 lt_prog_compiler_static='--static' 9536 ;; 9537 nagfor*) 9538 # NAG Fortran compiler 9539 lt_prog_compiler_wl='-Wl,-Wl,,' 9540 lt_prog_compiler_pic='-PIC' 9541 lt_prog_compiler_static='-Bstatic' 9542 ;; 9543 tcc*) 9544 # Fabrice Bellard et al's Tiny C Compiler 9545 lt_prog_compiler_wl='-Wl,' 9546 lt_prog_compiler_pic='-fPIC' 9547 lt_prog_compiler_static='-static' 9548 ;; 9549 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9550 # Portland Group compilers (*not* the Pentium gcc compiler, 9551 # which looks to be a dead project) 9552 lt_prog_compiler_wl='-Wl,' 9553 lt_prog_compiler_pic='-fpic' 9554 lt_prog_compiler_static='-Bstatic' 9555 ;; 9556 ccc*) 9557 lt_prog_compiler_wl='-Wl,' 9558 # All Alpha code is PIC. 9559 lt_prog_compiler_static='-non_shared' 9560 ;; 9561 xl* | bgxl* | bgf* | mpixl*) 9562 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9563 lt_prog_compiler_wl='-Wl,' 9564 lt_prog_compiler_pic='-qpic' 9565 lt_prog_compiler_static='-qstaticlink' 9566 ;; 9567 *) 9568 case `$CC -V 2>&1 | sed 5q` in 9569 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9570 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9571 lt_prog_compiler_pic='-KPIC' 9572 lt_prog_compiler_static='-Bstatic' 9573 lt_prog_compiler_wl='' 9574 ;; 9575 *Sun\ F* | *Sun*Fortran*) 9576 lt_prog_compiler_pic='-KPIC' 9577 lt_prog_compiler_static='-Bstatic' 9578 lt_prog_compiler_wl='-Qoption ld ' 9579 ;; 9580 *Sun\ C*) 9581 # Sun C 5.9 9582 lt_prog_compiler_pic='-KPIC' 9583 lt_prog_compiler_static='-Bstatic' 9584 lt_prog_compiler_wl='-Wl,' 9585 ;; 9586 *Intel*\ [CF]*Compiler*) 9587 lt_prog_compiler_wl='-Wl,' 9588 lt_prog_compiler_pic='-fPIC' 9589 lt_prog_compiler_static='-static' 9590 ;; 9591 *Portland\ Group*) 9592 lt_prog_compiler_wl='-Wl,' 9593 lt_prog_compiler_pic='-fpic' 9594 lt_prog_compiler_static='-Bstatic' 9595 ;; 9596 esac 9597 ;; 9598 esac 9599 ;; 9600 9601 newsos6) 9602 lt_prog_compiler_pic='-KPIC' 9603 lt_prog_compiler_static='-Bstatic' 9604 ;; 9605 9606 *nto* | *qnx*) 9607 # QNX uses GNU C++, but need to define -shared option too, otherwise 9608 # it will coredump. 9609 lt_prog_compiler_pic='-fPIC -shared' 9610 ;; 9611 9612 osf3* | osf4* | osf5*) 9613 lt_prog_compiler_wl='-Wl,' 9614 # All OSF/1 code is PIC. 9615 lt_prog_compiler_static='-non_shared' 9616 ;; 9617 9618 rdos*) 9619 lt_prog_compiler_static='-non_shared' 9620 ;; 9621 9622 solaris*) 9623 lt_prog_compiler_pic='-KPIC' 9624 lt_prog_compiler_static='-Bstatic' 9625 case $cc_basename in 9626 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9627 lt_prog_compiler_wl='-Qoption ld ';; 9628 *) 9629 lt_prog_compiler_wl='-Wl,';; 9630 esac 9631 ;; 9632 9633 sunos4*) 9634 lt_prog_compiler_wl='-Qoption ld ' 9635 lt_prog_compiler_pic='-PIC' 9636 lt_prog_compiler_static='-Bstatic' 9637 ;; 9638 9639 sysv4 | sysv4.2uw2* | sysv4.3*) 9640 lt_prog_compiler_wl='-Wl,' 9641 lt_prog_compiler_pic='-KPIC' 9642 lt_prog_compiler_static='-Bstatic' 9643 ;; 9644 9645 sysv4*MP*) 9646 if test -d /usr/nec; then 9647 lt_prog_compiler_pic='-Kconform_pic' 9648 lt_prog_compiler_static='-Bstatic' 9649 fi 9650 ;; 9651 9652 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9653 lt_prog_compiler_wl='-Wl,' 9654 lt_prog_compiler_pic='-KPIC' 9655 lt_prog_compiler_static='-Bstatic' 9656 ;; 9657 9658 unicos*) 9659 lt_prog_compiler_wl='-Wl,' 9660 lt_prog_compiler_can_build_shared=no 9661 ;; 9662 9663 uts4*) 9664 lt_prog_compiler_pic='-pic' 9665 lt_prog_compiler_static='-Bstatic' 9666 ;; 9667 9668 *) 9669 lt_prog_compiler_can_build_shared=no 9670 ;; 9671 esac 9672 fi 9673 9674case $host_os in 9675 # For platforms that do not support PIC, -DPIC is meaningless: 9676 *djgpp*) 9677 lt_prog_compiler_pic= 9678 ;; 9679 *) 9680 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9681 ;; 9682esac 9683 9684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9685$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9686if ${lt_cv_prog_compiler_pic+:} false; then : 9687 $as_echo_n "(cached) " >&6 9688else 9689 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9690fi 9691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9692$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9693lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9694 9695# 9696# Check to make sure the PIC flag actually works. 9697# 9698if test -n "$lt_prog_compiler_pic"; then 9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9700$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9701if ${lt_cv_prog_compiler_pic_works+:} false; then : 9702 $as_echo_n "(cached) " >&6 9703else 9704 lt_cv_prog_compiler_pic_works=no 9705 ac_outfile=conftest.$ac_objext 9706 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9707 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9708 # Insert the option either (1) after the last *FLAGS variable, or 9709 # (2) before a word containing "conftest.", or (3) at the end. 9710 # Note that $ac_compile itself does not contain backslashes and begins 9711 # with a dollar sign (not a hyphen), so the echo should work correctly. 9712 # The option is referenced via a variable to avoid confusing sed. 9713 lt_compile=`echo "$ac_compile" | $SED \ 9714 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9715 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9716 -e 's:$: $lt_compiler_flag:'` 9717 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9718 (eval "$lt_compile" 2>conftest.err) 9719 ac_status=$? 9720 cat conftest.err >&5 9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9722 if (exit $ac_status) && test -s "$ac_outfile"; then 9723 # The compiler can only warn and ignore the option if not recognized 9724 # So say no if there are warnings other than the usual output. 9725 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9726 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9727 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9728 lt_cv_prog_compiler_pic_works=yes 9729 fi 9730 fi 9731 $RM conftest* 9732 9733fi 9734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9735$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9736 9737if test yes = "$lt_cv_prog_compiler_pic_works"; then 9738 case $lt_prog_compiler_pic in 9739 "" | " "*) ;; 9740 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9741 esac 9742else 9743 lt_prog_compiler_pic= 9744 lt_prog_compiler_can_build_shared=no 9745fi 9746 9747fi 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759# 9760# Check to make sure the static flag actually works. 9761# 9762wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9764$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9765if ${lt_cv_prog_compiler_static_works+:} false; then : 9766 $as_echo_n "(cached) " >&6 9767else 9768 lt_cv_prog_compiler_static_works=no 9769 save_LDFLAGS=$LDFLAGS 9770 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9771 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9772 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9773 # The linker can only warn and ignore the option if not recognized 9774 # So say no if there are warnings 9775 if test -s conftest.err; then 9776 # Append any errors to the config.log. 9777 cat conftest.err 1>&5 9778 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9779 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9780 if diff conftest.exp conftest.er2 >/dev/null; then 9781 lt_cv_prog_compiler_static_works=yes 9782 fi 9783 else 9784 lt_cv_prog_compiler_static_works=yes 9785 fi 9786 fi 9787 $RM -r conftest* 9788 LDFLAGS=$save_LDFLAGS 9789 9790fi 9791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9792$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9793 9794if test yes = "$lt_cv_prog_compiler_static_works"; then 9795 : 9796else 9797 lt_prog_compiler_static= 9798fi 9799 9800 9801 9802 9803 9804 9805 9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9807$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9808if ${lt_cv_prog_compiler_c_o+:} false; then : 9809 $as_echo_n "(cached) " >&6 9810else 9811 lt_cv_prog_compiler_c_o=no 9812 $RM -r conftest 2>/dev/null 9813 mkdir conftest 9814 cd conftest 9815 mkdir out 9816 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9817 9818 lt_compiler_flag="-o out/conftest2.$ac_objext" 9819 # Insert the option either (1) after the last *FLAGS variable, or 9820 # (2) before a word containing "conftest.", or (3) at the end. 9821 # Note that $ac_compile itself does not contain backslashes and begins 9822 # with a dollar sign (not a hyphen), so the echo should work correctly. 9823 lt_compile=`echo "$ac_compile" | $SED \ 9824 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9825 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9826 -e 's:$: $lt_compiler_flag:'` 9827 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9828 (eval "$lt_compile" 2>out/conftest.err) 9829 ac_status=$? 9830 cat out/conftest.err >&5 9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9832 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9833 then 9834 # The compiler can only warn and ignore the option if not recognized 9835 # So say no if there are warnings 9836 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9837 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9838 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9839 lt_cv_prog_compiler_c_o=yes 9840 fi 9841 fi 9842 chmod u+w . 2>&5 9843 $RM conftest* 9844 # SGI C++ compiler will create directory out/ii_files/ for 9845 # template instantiation 9846 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9847 $RM out/* && rmdir out 9848 cd .. 9849 $RM -r conftest 9850 $RM conftest* 9851 9852fi 9853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9854$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9855 9856 9857 9858 9859 9860 9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9862$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9863if ${lt_cv_prog_compiler_c_o+:} false; then : 9864 $as_echo_n "(cached) " >&6 9865else 9866 lt_cv_prog_compiler_c_o=no 9867 $RM -r conftest 2>/dev/null 9868 mkdir conftest 9869 cd conftest 9870 mkdir out 9871 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9872 9873 lt_compiler_flag="-o out/conftest2.$ac_objext" 9874 # Insert the option either (1) after the last *FLAGS variable, or 9875 # (2) before a word containing "conftest.", or (3) at the end. 9876 # Note that $ac_compile itself does not contain backslashes and begins 9877 # with a dollar sign (not a hyphen), so the echo should work correctly. 9878 lt_compile=`echo "$ac_compile" | $SED \ 9879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9881 -e 's:$: $lt_compiler_flag:'` 9882 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9883 (eval "$lt_compile" 2>out/conftest.err) 9884 ac_status=$? 9885 cat out/conftest.err >&5 9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9887 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9888 then 9889 # The compiler can only warn and ignore the option if not recognized 9890 # So say no if there are warnings 9891 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9892 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9893 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9894 lt_cv_prog_compiler_c_o=yes 9895 fi 9896 fi 9897 chmod u+w . 2>&5 9898 $RM conftest* 9899 # SGI C++ compiler will create directory out/ii_files/ for 9900 # template instantiation 9901 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9902 $RM out/* && rmdir out 9903 cd .. 9904 $RM -r conftest 9905 $RM conftest* 9906 9907fi 9908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9909$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9910 9911 9912 9913 9914hard_links=nottested 9915if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9916 # do not overwrite the value of need_locks provided by the user 9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9918$as_echo_n "checking if we can lock with hard links... " >&6; } 9919 hard_links=yes 9920 $RM conftest* 9921 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9922 touch conftest.a 9923 ln conftest.a conftest.b 2>&5 || hard_links=no 9924 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9926$as_echo "$hard_links" >&6; } 9927 if test no = "$hard_links"; then 9928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9929$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9930 need_locks=warn 9931 fi 9932else 9933 need_locks=no 9934fi 9935 9936 9937 9938 9939 9940 9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9942$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9943 9944 runpath_var= 9945 allow_undefined_flag= 9946 always_export_symbols=no 9947 archive_cmds= 9948 archive_expsym_cmds= 9949 compiler_needs_object=no 9950 enable_shared_with_static_runtimes=no 9951 export_dynamic_flag_spec= 9952 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9953 hardcode_automatic=no 9954 hardcode_direct=no 9955 hardcode_direct_absolute=no 9956 hardcode_libdir_flag_spec= 9957 hardcode_libdir_separator= 9958 hardcode_minus_L=no 9959 hardcode_shlibpath_var=unsupported 9960 inherit_rpath=no 9961 link_all_deplibs=unknown 9962 module_cmds= 9963 module_expsym_cmds= 9964 old_archive_from_new_cmds= 9965 old_archive_from_expsyms_cmds= 9966 thread_safe_flag_spec= 9967 whole_archive_flag_spec= 9968 # include_expsyms should be a list of space-separated symbols to be *always* 9969 # included in the symbol list 9970 include_expsyms= 9971 # exclude_expsyms can be an extended regexp of symbols to exclude 9972 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9973 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9974 # as well as any symbol that contains 'd'. 9975 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9976 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9977 # platforms (ab)use it in PIC code, but their linkers get confused if 9978 # the symbol is explicitly referenced. Since portable code cannot 9979 # rely on this symbol name, it's probably fine to never include it in 9980 # preloaded symbol tables. 9981 # Exclude shared library initialization/finalization symbols. 9982 extract_expsyms_cmds= 9983 9984 case $host_os in 9985 cygwin* | mingw* | pw32* | cegcc*) 9986 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9987 # When not using gcc, we currently assume that we are using 9988 # Microsoft Visual C++. 9989 if test yes != "$GCC"; then 9990 with_gnu_ld=no 9991 fi 9992 ;; 9993 interix*) 9994 # we just hope/assume this is gcc and not c89 (= MSVC++) 9995 with_gnu_ld=yes 9996 ;; 9997 openbsd* | bitrig*) 9998 with_gnu_ld=no 9999 ;; 10000 linux* | k*bsd*-gnu | gnu*) 10001 link_all_deplibs=no 10002 ;; 10003 esac 10004 10005 ld_shlibs=yes 10006 10007 # On some targets, GNU ld is compatible enough with the native linker 10008 # that we're better off using the native interface for both. 10009 lt_use_gnu_ld_interface=no 10010 if test yes = "$with_gnu_ld"; then 10011 case $host_os in 10012 aix*) 10013 # The AIX port of GNU ld has always aspired to compatibility 10014 # with the native linker. However, as the warning in the GNU ld 10015 # block says, versions before 2.19.5* couldn't really create working 10016 # shared libraries, regardless of the interface used. 10017 case `$LD -v 2>&1` in 10018 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10019 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10020 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10021 *) 10022 lt_use_gnu_ld_interface=yes 10023 ;; 10024 esac 10025 ;; 10026 *) 10027 lt_use_gnu_ld_interface=yes 10028 ;; 10029 esac 10030 fi 10031 10032 if test yes = "$lt_use_gnu_ld_interface"; then 10033 # If archive_cmds runs LD, not CC, wlarc should be empty 10034 wlarc='$wl' 10035 10036 # Set some defaults for GNU ld with shared library support. These 10037 # are reset later if shared libraries are not supported. Putting them 10038 # here allows them to be overridden if necessary. 10039 runpath_var=LD_RUN_PATH 10040 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10041 export_dynamic_flag_spec='$wl--export-dynamic' 10042 # ancient GNU ld didn't support --whole-archive et. al. 10043 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10044 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10045 else 10046 whole_archive_flag_spec= 10047 fi 10048 supports_anon_versioning=no 10049 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10050 *GNU\ gold*) supports_anon_versioning=yes ;; 10051 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10052 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10053 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10054 *\ 2.11.*) ;; # other 2.11 versions 10055 *) supports_anon_versioning=yes ;; 10056 esac 10057 10058 # See if GNU ld supports shared libraries. 10059 case $host_os in 10060 aix[3-9]*) 10061 # On AIX/PPC, the GNU linker is very broken 10062 if test ia64 != "$host_cpu"; then 10063 ld_shlibs=no 10064 cat <<_LT_EOF 1>&2 10065 10066*** Warning: the GNU linker, at least up to release 2.19, is reported 10067*** to be unable to reliably create shared libraries on AIX. 10068*** Therefore, libtool is disabling shared libraries support. If you 10069*** really care for shared libraries, you may want to install binutils 10070*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10071*** You will then need to restart the configuration process. 10072 10073_LT_EOF 10074 fi 10075 ;; 10076 10077 amigaos*) 10078 case $host_cpu in 10079 powerpc) 10080 # see comment about AmigaOS4 .so support 10081 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10082 archive_expsym_cmds='' 10083 ;; 10084 m68k) 10085 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)' 10086 hardcode_libdir_flag_spec='-L$libdir' 10087 hardcode_minus_L=yes 10088 ;; 10089 esac 10090 ;; 10091 10092 beos*) 10093 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10094 allow_undefined_flag=unsupported 10095 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10096 # support --undefined. This deserves some investigation. FIXME 10097 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10098 else 10099 ld_shlibs=no 10100 fi 10101 ;; 10102 10103 cygwin* | mingw* | pw32* | cegcc*) 10104 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10105 # as there is no search path for DLLs. 10106 hardcode_libdir_flag_spec='-L$libdir' 10107 export_dynamic_flag_spec='$wl--export-all-symbols' 10108 allow_undefined_flag=unsupported 10109 always_export_symbols=no 10110 enable_shared_with_static_runtimes=yes 10111 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' 10112 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10113 10114 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10115 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10116 # If the export-symbols file already is a .def file, use it as 10117 # is; otherwise, prepend EXPORTS... 10118 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10119 cp $export_symbols $output_objdir/$soname.def; 10120 else 10121 echo EXPORTS > $output_objdir/$soname.def; 10122 cat $export_symbols >> $output_objdir/$soname.def; 10123 fi~ 10124 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10125 else 10126 ld_shlibs=no 10127 fi 10128 ;; 10129 10130 haiku*) 10131 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10132 link_all_deplibs=yes 10133 ;; 10134 10135 os2*) 10136 hardcode_libdir_flag_spec='-L$libdir' 10137 hardcode_minus_L=yes 10138 allow_undefined_flag=unsupported 10139 shrext_cmds=.dll 10140 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10141 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10142 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10143 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10144 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10145 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10146 emximp -o $lib $output_objdir/$libname.def' 10147 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10148 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10149 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10150 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10151 prefix_cmds="$SED"~ 10152 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10153 prefix_cmds="$prefix_cmds -e 1d"; 10154 fi~ 10155 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10156 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10157 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10158 emximp -o $lib $output_objdir/$libname.def' 10159 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10160 enable_shared_with_static_runtimes=yes 10161 ;; 10162 10163 interix[3-9]*) 10164 hardcode_direct=no 10165 hardcode_shlibpath_var=no 10166 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10167 export_dynamic_flag_spec='$wl-E' 10168 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10169 # Instead, shared libraries are loaded at an image base (0x10000000 by 10170 # default) and relocated if they conflict, which is a slow very memory 10171 # consuming and fragmenting process. To avoid this, we pick a random, 10172 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10173 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10174 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10175 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' 10176 ;; 10177 10178 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10179 tmp_diet=no 10180 if test linux-dietlibc = "$host_os"; then 10181 case $cc_basename in 10182 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10183 esac 10184 fi 10185 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10186 && test no = "$tmp_diet" 10187 then 10188 tmp_addflag=' $pic_flag' 10189 tmp_sharedflag='-shared' 10190 case $cc_basename,$host_cpu in 10191 pgcc*) # Portland Group C compiler 10192 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' 10193 tmp_addflag=' $pic_flag' 10194 ;; 10195 pgf77* | pgf90* | pgf95* | pgfortran*) 10196 # Portland Group f77 and f90 compilers 10197 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' 10198 tmp_addflag=' $pic_flag -Mnomain' ;; 10199 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10200 tmp_addflag=' -i_dynamic' ;; 10201 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10202 tmp_addflag=' -i_dynamic -nofor_main' ;; 10203 ifc* | ifort*) # Intel Fortran compiler 10204 tmp_addflag=' -nofor_main' ;; 10205 lf95*) # Lahey Fortran 8.1 10206 whole_archive_flag_spec= 10207 tmp_sharedflag='--shared' ;; 10208 nagfor*) # NAGFOR 5.3 10209 tmp_sharedflag='-Wl,-shared' ;; 10210 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10211 tmp_sharedflag='-qmkshrobj' 10212 tmp_addflag= ;; 10213 nvcc*) # Cuda Compiler Driver 2.2 10214 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' 10215 compiler_needs_object=yes 10216 ;; 10217 esac 10218 case `$CC -V 2>&1 | sed 5q` in 10219 *Sun\ C*) # Sun C 5.9 10220 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' 10221 compiler_needs_object=yes 10222 tmp_sharedflag='-G' ;; 10223 *Sun\ F*) # Sun Fortran 8.3 10224 tmp_sharedflag='-G' ;; 10225 esac 10226 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10227 10228 if test yes = "$supports_anon_versioning"; then 10229 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10230 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10231 echo "local: *; };" >> $output_objdir/$libname.ver~ 10232 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10233 fi 10234 10235 case $cc_basename in 10236 tcc*) 10237 export_dynamic_flag_spec='-rdynamic' 10238 ;; 10239 xlf* | bgf* | bgxlf* | mpixlf*) 10240 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10241 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10242 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10243 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10244 if test yes = "$supports_anon_versioning"; then 10245 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10246 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10247 echo "local: *; };" >> $output_objdir/$libname.ver~ 10248 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10249 fi 10250 ;; 10251 esac 10252 else 10253 ld_shlibs=no 10254 fi 10255 ;; 10256 10257 netbsd* | netbsdelf*-gnu) 10258 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10259 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10260 wlarc= 10261 else 10262 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10263 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10264 fi 10265 ;; 10266 10267 solaris*) 10268 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10269 ld_shlibs=no 10270 cat <<_LT_EOF 1>&2 10271 10272*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10273*** create shared libraries on Solaris systems. Therefore, libtool 10274*** is disabling shared libraries support. We urge you to upgrade GNU 10275*** binutils to release 2.9.1 or newer. Another option is to modify 10276*** your PATH or compiler configuration so that the native linker is 10277*** used, and then restart. 10278 10279_LT_EOF 10280 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10281 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10282 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10283 else 10284 ld_shlibs=no 10285 fi 10286 ;; 10287 10288 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10289 case `$LD -v 2>&1` in 10290 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10291 ld_shlibs=no 10292 cat <<_LT_EOF 1>&2 10293 10294*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10295*** reliably create shared libraries on SCO systems. Therefore, libtool 10296*** is disabling shared libraries support. We urge you to upgrade GNU 10297*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10298*** your PATH or compiler configuration so that the native linker is 10299*** used, and then restart. 10300 10301_LT_EOF 10302 ;; 10303 *) 10304 # For security reasons, it is highly recommended that you always 10305 # use absolute paths for naming shared libraries, and exclude the 10306 # DT_RUNPATH tag from executables and libraries. But doing so 10307 # requires that you compile everything twice, which is a pain. 10308 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10309 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10310 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10311 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10312 else 10313 ld_shlibs=no 10314 fi 10315 ;; 10316 esac 10317 ;; 10318 10319 sunos4*) 10320 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10321 wlarc= 10322 hardcode_direct=yes 10323 hardcode_shlibpath_var=no 10324 ;; 10325 10326 *) 10327 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10328 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10329 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10330 else 10331 ld_shlibs=no 10332 fi 10333 ;; 10334 esac 10335 10336 if test no = "$ld_shlibs"; then 10337 runpath_var= 10338 hardcode_libdir_flag_spec= 10339 export_dynamic_flag_spec= 10340 whole_archive_flag_spec= 10341 fi 10342 else 10343 # PORTME fill in a description of your system's linker (not GNU ld) 10344 case $host_os in 10345 aix3*) 10346 allow_undefined_flag=unsupported 10347 always_export_symbols=yes 10348 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' 10349 # Note: this linker hardcodes the directories in LIBPATH if there 10350 # are no directories specified by -L. 10351 hardcode_minus_L=yes 10352 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10353 # Neither direct hardcoding nor static linking is supported with a 10354 # broken collect2. 10355 hardcode_direct=unsupported 10356 fi 10357 ;; 10358 10359 aix[4-9]*) 10360 if test ia64 = "$host_cpu"; then 10361 # On IA64, the linker does run time linking by default, so we don't 10362 # have to do anything special. 10363 aix_use_runtimelinking=no 10364 exp_sym_flag='-Bexport' 10365 no_entry_flag= 10366 else 10367 # If we're using GNU nm, then we don't want the "-C" option. 10368 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10369 # Without the "-l" option, or with the "-B" option, AIX nm treats 10370 # weak defined symbols like other global defined symbols, whereas 10371 # GNU nm marks them as "W". 10372 # While the 'weak' keyword is ignored in the Export File, we need 10373 # it in the Import File for the 'aix-soname' feature, so we have 10374 # to replace the "-B" option with "-P" for AIX nm. 10375 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10376 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 10377 else 10378 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 10379 fi 10380 aix_use_runtimelinking=no 10381 10382 # Test if we are trying to use run time linking or normal 10383 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10384 # have runtime linking enabled, and use it for executables. 10385 # For shared libraries, we enable/disable runtime linking 10386 # depending on the kind of the shared library created - 10387 # when "with_aix_soname,aix_use_runtimelinking" is: 10388 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10389 # "aix,yes" lib.so shared, rtl:yes, for executables 10390 # lib.a static archive 10391 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10392 # lib.a(lib.so.V) shared, rtl:no, for executables 10393 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10394 # lib.a(lib.so.V) shared, rtl:no 10395 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10396 # lib.a static archive 10397 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10398 for ld_flag in $LDFLAGS; do 10399 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10400 aix_use_runtimelinking=yes 10401 break 10402 fi 10403 done 10404 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10405 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10406 # so we don't have lib.a shared libs to link our executables. 10407 # We have to force runtime linking in this case. 10408 aix_use_runtimelinking=yes 10409 LDFLAGS="$LDFLAGS -Wl,-brtl" 10410 fi 10411 ;; 10412 esac 10413 10414 exp_sym_flag='-bexport' 10415 no_entry_flag='-bnoentry' 10416 fi 10417 10418 # When large executables or shared objects are built, AIX ld can 10419 # have problems creating the table of contents. If linking a library 10420 # or program results in "error TOC overflow" add -mminimal-toc to 10421 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10422 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10423 10424 archive_cmds='' 10425 hardcode_direct=yes 10426 hardcode_direct_absolute=yes 10427 hardcode_libdir_separator=':' 10428 link_all_deplibs=yes 10429 file_list_spec='$wl-f,' 10430 case $with_aix_soname,$aix_use_runtimelinking in 10431 aix,*) ;; # traditional, no import file 10432 svr4,* | *,yes) # use import file 10433 # The Import File defines what to hardcode. 10434 hardcode_direct=no 10435 hardcode_direct_absolute=no 10436 ;; 10437 esac 10438 10439 if test yes = "$GCC"; then 10440 case $host_os in aix4.[012]|aix4.[012].*) 10441 # We only want to do this on AIX 4.2 and lower, the check 10442 # below for broken collect2 doesn't work under 4.3+ 10443 collect2name=`$CC -print-prog-name=collect2` 10444 if test -f "$collect2name" && 10445 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10446 then 10447 # We have reworked collect2 10448 : 10449 else 10450 # We have old collect2 10451 hardcode_direct=unsupported 10452 # It fails to find uninstalled libraries when the uninstalled 10453 # path is not listed in the libpath. Setting hardcode_minus_L 10454 # to unsupported forces relinking 10455 hardcode_minus_L=yes 10456 hardcode_libdir_flag_spec='-L$libdir' 10457 hardcode_libdir_separator= 10458 fi 10459 ;; 10460 esac 10461 shared_flag='-shared' 10462 if test yes = "$aix_use_runtimelinking"; then 10463 shared_flag="$shared_flag "'$wl-G' 10464 fi 10465 # Need to ensure runtime linking is disabled for the traditional 10466 # shared library, or the linker may eventually find shared libraries 10467 # /with/ Import File - we do not want to mix them. 10468 shared_flag_aix='-shared' 10469 shared_flag_svr4='-shared $wl-G' 10470 else 10471 # not using gcc 10472 if test ia64 = "$host_cpu"; then 10473 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10474 # chokes on -Wl,-G. The following line is correct: 10475 shared_flag='-G' 10476 else 10477 if test yes = "$aix_use_runtimelinking"; then 10478 shared_flag='$wl-G' 10479 else 10480 shared_flag='$wl-bM:SRE' 10481 fi 10482 shared_flag_aix='$wl-bM:SRE' 10483 shared_flag_svr4='$wl-G' 10484 fi 10485 fi 10486 10487 export_dynamic_flag_spec='$wl-bexpall' 10488 # It seems that -bexpall does not export symbols beginning with 10489 # underscore (_), so it is better to generate a list of symbols to export. 10490 always_export_symbols=yes 10491 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10492 # Warning - without using the other runtime loading flags (-brtl), 10493 # -berok will link without error, but may produce a broken library. 10494 allow_undefined_flag='-berok' 10495 # Determine the default libpath from the value encoded in an 10496 # empty executable. 10497 if test set = "${lt_cv_aix_libpath+set}"; then 10498 aix_libpath=$lt_cv_aix_libpath 10499else 10500 if ${lt_cv_aix_libpath_+:} false; then : 10501 $as_echo_n "(cached) " >&6 10502else 10503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10504/* end confdefs.h. */ 10505 10506int 10507main () 10508{ 10509 10510 ; 10511 return 0; 10512} 10513_ACEOF 10514if ac_fn_c_try_link "$LINENO"; then : 10515 10516 lt_aix_libpath_sed=' 10517 /Import File Strings/,/^$/ { 10518 /^0/ { 10519 s/^0 *\([^ ]*\) *$/\1/ 10520 p 10521 } 10522 }' 10523 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10524 # Check for a 64-bit object if we didn't find anything. 10525 if test -z "$lt_cv_aix_libpath_"; then 10526 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10527 fi 10528fi 10529rm -f core conftest.err conftest.$ac_objext \ 10530 conftest$ac_exeext conftest.$ac_ext 10531 if test -z "$lt_cv_aix_libpath_"; then 10532 lt_cv_aix_libpath_=/usr/lib:/lib 10533 fi 10534 10535fi 10536 10537 aix_libpath=$lt_cv_aix_libpath_ 10538fi 10539 10540 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10541 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 10542 else 10543 if test ia64 = "$host_cpu"; then 10544 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10545 allow_undefined_flag="-z nodefs" 10546 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" 10547 else 10548 # Determine the default libpath from the value encoded in an 10549 # empty executable. 10550 if test set = "${lt_cv_aix_libpath+set}"; then 10551 aix_libpath=$lt_cv_aix_libpath 10552else 10553 if ${lt_cv_aix_libpath_+:} false; then : 10554 $as_echo_n "(cached) " >&6 10555else 10556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10557/* end confdefs.h. */ 10558 10559int 10560main () 10561{ 10562 10563 ; 10564 return 0; 10565} 10566_ACEOF 10567if ac_fn_c_try_link "$LINENO"; then : 10568 10569 lt_aix_libpath_sed=' 10570 /Import File Strings/,/^$/ { 10571 /^0/ { 10572 s/^0 *\([^ ]*\) *$/\1/ 10573 p 10574 } 10575 }' 10576 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10577 # Check for a 64-bit object if we didn't find anything. 10578 if test -z "$lt_cv_aix_libpath_"; then 10579 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10580 fi 10581fi 10582rm -f core conftest.err conftest.$ac_objext \ 10583 conftest$ac_exeext conftest.$ac_ext 10584 if test -z "$lt_cv_aix_libpath_"; then 10585 lt_cv_aix_libpath_=/usr/lib:/lib 10586 fi 10587 10588fi 10589 10590 aix_libpath=$lt_cv_aix_libpath_ 10591fi 10592 10593 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10594 # Warning - without using the other run time loading flags, 10595 # -berok will link without error, but may produce a broken library. 10596 no_undefined_flag=' $wl-bernotok' 10597 allow_undefined_flag=' $wl-berok' 10598 if test yes = "$with_gnu_ld"; then 10599 # We only use this code for GNU lds that support --whole-archive. 10600 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10601 else 10602 # Exported symbols can be pulled into shared objects from archives 10603 whole_archive_flag_spec='$convenience' 10604 fi 10605 archive_cmds_need_lc=yes 10606 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10607 # -brtl affects multiple linker settings, -berok does not and is overridden later 10608 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10609 if test svr4 != "$with_aix_soname"; then 10610 # This is similar to how AIX traditionally builds its shared libraries. 10611 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 10612 fi 10613 if test aix != "$with_aix_soname"; then 10614 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 10615 else 10616 # used by -dlpreopen to get the symbols 10617 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10618 fi 10619 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10620 fi 10621 fi 10622 ;; 10623 10624 amigaos*) 10625 case $host_cpu in 10626 powerpc) 10627 # see comment about AmigaOS4 .so support 10628 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10629 archive_expsym_cmds='' 10630 ;; 10631 m68k) 10632 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)' 10633 hardcode_libdir_flag_spec='-L$libdir' 10634 hardcode_minus_L=yes 10635 ;; 10636 esac 10637 ;; 10638 10639 bsdi[45]*) 10640 export_dynamic_flag_spec=-rdynamic 10641 ;; 10642 10643 cygwin* | mingw* | pw32* | cegcc*) 10644 # When not using gcc, we currently assume that we are using 10645 # Microsoft Visual C++. 10646 # hardcode_libdir_flag_spec is actually meaningless, as there is 10647 # no search path for DLLs. 10648 case $cc_basename in 10649 cl*) 10650 # Native MSVC 10651 hardcode_libdir_flag_spec=' ' 10652 allow_undefined_flag=unsupported 10653 always_export_symbols=yes 10654 file_list_spec='@' 10655 # Tell ltmain to make .lib files, not .a files. 10656 libext=lib 10657 # Tell ltmain to make .dll files, not .so files. 10658 shrext_cmds=.dll 10659 # FIXME: Setting linknames here is a bad hack. 10660 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10661 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10662 cp "$export_symbols" "$output_objdir/$soname.def"; 10663 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10664 else 10665 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10666 fi~ 10667 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10668 linknames=' 10669 # The linker will not automatically build a static lib if we build a DLL. 10670 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10671 enable_shared_with_static_runtimes=yes 10672 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10673 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10674 # Don't use ranlib 10675 old_postinstall_cmds='chmod 644 $oldlib' 10676 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10677 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10678 case $lt_outputfile in 10679 *.exe|*.EXE) ;; 10680 *) 10681 lt_outputfile=$lt_outputfile.exe 10682 lt_tool_outputfile=$lt_tool_outputfile.exe 10683 ;; 10684 esac~ 10685 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10686 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10687 $RM "$lt_outputfile.manifest"; 10688 fi' 10689 ;; 10690 *) 10691 # Assume MSVC wrapper 10692 hardcode_libdir_flag_spec=' ' 10693 allow_undefined_flag=unsupported 10694 # Tell ltmain to make .lib files, not .a files. 10695 libext=lib 10696 # Tell ltmain to make .dll files, not .so files. 10697 shrext_cmds=.dll 10698 # FIXME: Setting linknames here is a bad hack. 10699 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10700 # The linker will automatically build a .lib file if we build a DLL. 10701 old_archive_from_new_cmds='true' 10702 # FIXME: Should let the user specify the lib program. 10703 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10704 enable_shared_with_static_runtimes=yes 10705 ;; 10706 esac 10707 ;; 10708 10709 darwin* | rhapsody*) 10710 10711 10712 archive_cmds_need_lc=no 10713 hardcode_direct=no 10714 hardcode_automatic=yes 10715 hardcode_shlibpath_var=unsupported 10716 if test yes = "$lt_cv_ld_force_load"; then 10717 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\"`' 10718 10719 else 10720 whole_archive_flag_spec='' 10721 fi 10722 link_all_deplibs=yes 10723 allow_undefined_flag=$_lt_dar_allow_undefined 10724 case $cc_basename in 10725 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10726 *) _lt_dar_can_shared=$GCC ;; 10727 esac 10728 if test yes = "$_lt_dar_can_shared"; then 10729 output_verbose_link_cmd=func_echo_all 10730 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10731 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10732 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" 10733 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" 10734 10735 else 10736 ld_shlibs=no 10737 fi 10738 10739 ;; 10740 10741 dgux*) 10742 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10743 hardcode_libdir_flag_spec='-L$libdir' 10744 hardcode_shlibpath_var=no 10745 ;; 10746 10747 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10748 # support. Future versions do this automatically, but an explicit c++rt0.o 10749 # does not break anything, and helps significantly (at the cost of a little 10750 # extra space). 10751 freebsd2.2*) 10752 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10753 hardcode_libdir_flag_spec='-R$libdir' 10754 hardcode_direct=yes 10755 hardcode_shlibpath_var=no 10756 ;; 10757 10758 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10759 freebsd2.*) 10760 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10761 hardcode_direct=yes 10762 hardcode_minus_L=yes 10763 hardcode_shlibpath_var=no 10764 ;; 10765 10766 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10767 freebsd* | dragonfly*) 10768 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10769 hardcode_libdir_flag_spec='-R$libdir' 10770 hardcode_direct=yes 10771 hardcode_shlibpath_var=no 10772 ;; 10773 10774 hpux9*) 10775 if test yes = "$GCC"; then 10776 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10777 else 10778 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10779 fi 10780 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10781 hardcode_libdir_separator=: 10782 hardcode_direct=yes 10783 10784 # hardcode_minus_L: Not really in the search PATH, 10785 # but as the default location of the library. 10786 hardcode_minus_L=yes 10787 export_dynamic_flag_spec='$wl-E' 10788 ;; 10789 10790 hpux10*) 10791 if test yes,no = "$GCC,$with_gnu_ld"; then 10792 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10793 else 10794 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10795 fi 10796 if test no = "$with_gnu_ld"; then 10797 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10798 hardcode_libdir_separator=: 10799 hardcode_direct=yes 10800 hardcode_direct_absolute=yes 10801 export_dynamic_flag_spec='$wl-E' 10802 # hardcode_minus_L: Not really in the search PATH, 10803 # but as the default location of the library. 10804 hardcode_minus_L=yes 10805 fi 10806 ;; 10807 10808 hpux11*) 10809 if test yes,no = "$GCC,$with_gnu_ld"; then 10810 case $host_cpu in 10811 hppa*64*) 10812 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10813 ;; 10814 ia64*) 10815 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10816 ;; 10817 *) 10818 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10819 ;; 10820 esac 10821 else 10822 case $host_cpu in 10823 hppa*64*) 10824 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10825 ;; 10826 ia64*) 10827 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10828 ;; 10829 *) 10830 10831 # Older versions of the 11.00 compiler do not understand -b yet 10832 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10834$as_echo_n "checking if $CC understands -b... " >&6; } 10835if ${lt_cv_prog_compiler__b+:} false; then : 10836 $as_echo_n "(cached) " >&6 10837else 10838 lt_cv_prog_compiler__b=no 10839 save_LDFLAGS=$LDFLAGS 10840 LDFLAGS="$LDFLAGS -b" 10841 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10842 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10843 # The linker can only warn and ignore the option if not recognized 10844 # So say no if there are warnings 10845 if test -s conftest.err; then 10846 # Append any errors to the config.log. 10847 cat conftest.err 1>&5 10848 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10849 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10850 if diff conftest.exp conftest.er2 >/dev/null; then 10851 lt_cv_prog_compiler__b=yes 10852 fi 10853 else 10854 lt_cv_prog_compiler__b=yes 10855 fi 10856 fi 10857 $RM -r conftest* 10858 LDFLAGS=$save_LDFLAGS 10859 10860fi 10861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10862$as_echo "$lt_cv_prog_compiler__b" >&6; } 10863 10864if test yes = "$lt_cv_prog_compiler__b"; then 10865 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10866else 10867 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10868fi 10869 10870 ;; 10871 esac 10872 fi 10873 if test no = "$with_gnu_ld"; then 10874 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10875 hardcode_libdir_separator=: 10876 10877 case $host_cpu in 10878 hppa*64*|ia64*) 10879 hardcode_direct=no 10880 hardcode_shlibpath_var=no 10881 ;; 10882 *) 10883 hardcode_direct=yes 10884 hardcode_direct_absolute=yes 10885 export_dynamic_flag_spec='$wl-E' 10886 10887 # hardcode_minus_L: Not really in the search PATH, 10888 # but as the default location of the library. 10889 hardcode_minus_L=yes 10890 ;; 10891 esac 10892 fi 10893 ;; 10894 10895 irix5* | irix6* | nonstopux*) 10896 if test yes = "$GCC"; then 10897 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' 10898 # Try to use the -exported_symbol ld option, if it does not 10899 # work, assume that -exports_file does not work either and 10900 # implicitly export all symbols. 10901 # This should be the same for all languages, so no per-tag cache variable. 10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10903$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10904if ${lt_cv_irix_exported_symbol+:} false; then : 10905 $as_echo_n "(cached) " >&6 10906else 10907 save_LDFLAGS=$LDFLAGS 10908 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10910/* end confdefs.h. */ 10911int foo (void) { return 0; } 10912_ACEOF 10913if ac_fn_c_try_link "$LINENO"; then : 10914 lt_cv_irix_exported_symbol=yes 10915else 10916 lt_cv_irix_exported_symbol=no 10917fi 10918rm -f core conftest.err conftest.$ac_objext \ 10919 conftest$ac_exeext conftest.$ac_ext 10920 LDFLAGS=$save_LDFLAGS 10921fi 10922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10923$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10924 if test yes = "$lt_cv_irix_exported_symbol"; then 10925 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' 10926 fi 10927 link_all_deplibs=no 10928 else 10929 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' 10930 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' 10931 fi 10932 archive_cmds_need_lc='no' 10933 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10934 hardcode_libdir_separator=: 10935 inherit_rpath=yes 10936 link_all_deplibs=yes 10937 ;; 10938 10939 linux*) 10940 case $cc_basename in 10941 tcc*) 10942 # Fabrice Bellard et al's Tiny C Compiler 10943 ld_shlibs=yes 10944 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10945 ;; 10946 esac 10947 ;; 10948 10949 netbsd* | netbsdelf*-gnu) 10950 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10951 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10952 else 10953 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10954 fi 10955 hardcode_libdir_flag_spec='-R$libdir' 10956 hardcode_direct=yes 10957 hardcode_shlibpath_var=no 10958 ;; 10959 10960 newsos6) 10961 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10962 hardcode_direct=yes 10963 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10964 hardcode_libdir_separator=: 10965 hardcode_shlibpath_var=no 10966 ;; 10967 10968 *nto* | *qnx*) 10969 ;; 10970 10971 openbsd* | bitrig*) 10972 if test -f /usr/libexec/ld.so; then 10973 hardcode_direct=yes 10974 hardcode_shlibpath_var=no 10975 hardcode_direct_absolute=yes 10976 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10977 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10978 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10979 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10980 export_dynamic_flag_spec='$wl-E' 10981 else 10982 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10983 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10984 fi 10985 else 10986 ld_shlibs=no 10987 fi 10988 ;; 10989 10990 os2*) 10991 hardcode_libdir_flag_spec='-L$libdir' 10992 hardcode_minus_L=yes 10993 allow_undefined_flag=unsupported 10994 shrext_cmds=.dll 10995 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10996 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10997 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10998 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10999 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11000 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11001 emximp -o $lib $output_objdir/$libname.def' 11002 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11003 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11004 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11005 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11006 prefix_cmds="$SED"~ 11007 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11008 prefix_cmds="$prefix_cmds -e 1d"; 11009 fi~ 11010 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11011 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11012 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11013 emximp -o $lib $output_objdir/$libname.def' 11014 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11015 enable_shared_with_static_runtimes=yes 11016 ;; 11017 11018 osf3*) 11019 if test yes = "$GCC"; then 11020 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11021 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' 11022 else 11023 allow_undefined_flag=' -expect_unresolved \*' 11024 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' 11025 fi 11026 archive_cmds_need_lc='no' 11027 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11028 hardcode_libdir_separator=: 11029 ;; 11030 11031 osf4* | osf5*) # as osf3* with the addition of -msym flag 11032 if test yes = "$GCC"; then 11033 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11034 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' 11035 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11036 else 11037 allow_undefined_flag=' -expect_unresolved \*' 11038 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' 11039 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~ 11040 $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' 11041 11042 # Both c and cxx compiler support -rpath directly 11043 hardcode_libdir_flag_spec='-rpath $libdir' 11044 fi 11045 archive_cmds_need_lc='no' 11046 hardcode_libdir_separator=: 11047 ;; 11048 11049 solaris*) 11050 no_undefined_flag=' -z defs' 11051 if test yes = "$GCC"; then 11052 wlarc='$wl' 11053 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11054 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11055 $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' 11056 else 11057 case `$CC -V 2>&1` in 11058 *"Compilers 5.0"*) 11059 wlarc='' 11060 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11061 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11062 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11063 ;; 11064 *) 11065 wlarc='$wl' 11066 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11067 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11068 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11069 ;; 11070 esac 11071 fi 11072 hardcode_libdir_flag_spec='-R$libdir' 11073 hardcode_shlibpath_var=no 11074 case $host_os in 11075 solaris2.[0-5] | solaris2.[0-5].*) ;; 11076 *) 11077 # The compiler driver will combine and reorder linker options, 11078 # but understands '-z linker_flag'. GCC discards it without '$wl', 11079 # but is careful enough not to reorder. 11080 # Supported since Solaris 2.6 (maybe 2.5.1?) 11081 if test yes = "$GCC"; then 11082 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11083 else 11084 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11085 fi 11086 ;; 11087 esac 11088 link_all_deplibs=yes 11089 ;; 11090 11091 sunos4*) 11092 if test sequent = "$host_vendor"; then 11093 # Use $CC to link under sequent, because it throws in some extra .o 11094 # files that make .init and .fini sections work. 11095 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11096 else 11097 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11098 fi 11099 hardcode_libdir_flag_spec='-L$libdir' 11100 hardcode_direct=yes 11101 hardcode_minus_L=yes 11102 hardcode_shlibpath_var=no 11103 ;; 11104 11105 sysv4) 11106 case $host_vendor in 11107 sni) 11108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11109 hardcode_direct=yes # is this really true??? 11110 ;; 11111 siemens) 11112 ## LD is ld it makes a PLAMLIB 11113 ## CC just makes a GrossModule. 11114 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11115 reload_cmds='$CC -r -o $output$reload_objs' 11116 hardcode_direct=no 11117 ;; 11118 motorola) 11119 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11120 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11121 ;; 11122 esac 11123 runpath_var='LD_RUN_PATH' 11124 hardcode_shlibpath_var=no 11125 ;; 11126 11127 sysv4.3*) 11128 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11129 hardcode_shlibpath_var=no 11130 export_dynamic_flag_spec='-Bexport' 11131 ;; 11132 11133 sysv4*MP*) 11134 if test -d /usr/nec; then 11135 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11136 hardcode_shlibpath_var=no 11137 runpath_var=LD_RUN_PATH 11138 hardcode_runpath_var=yes 11139 ld_shlibs=yes 11140 fi 11141 ;; 11142 11143 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11144 no_undefined_flag='$wl-z,text' 11145 archive_cmds_need_lc=no 11146 hardcode_shlibpath_var=no 11147 runpath_var='LD_RUN_PATH' 11148 11149 if test yes = "$GCC"; then 11150 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11151 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11152 else 11153 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11154 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11155 fi 11156 ;; 11157 11158 sysv5* | sco3.2v5* | sco5v6*) 11159 # Note: We CANNOT use -z defs as we might desire, because we do not 11160 # link with -lc, and that would cause any symbols used from libc to 11161 # always be unresolved, which means just about no library would 11162 # ever link correctly. If we're not using GNU ld we use -z text 11163 # though, which does catch some bad symbols but isn't as heavy-handed 11164 # as -z defs. 11165 no_undefined_flag='$wl-z,text' 11166 allow_undefined_flag='$wl-z,nodefs' 11167 archive_cmds_need_lc=no 11168 hardcode_shlibpath_var=no 11169 hardcode_libdir_flag_spec='$wl-R,$libdir' 11170 hardcode_libdir_separator=':' 11171 link_all_deplibs=yes 11172 export_dynamic_flag_spec='$wl-Bexport' 11173 runpath_var='LD_RUN_PATH' 11174 11175 if test yes = "$GCC"; then 11176 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11177 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11178 else 11179 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11180 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11181 fi 11182 ;; 11183 11184 uts4*) 11185 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11186 hardcode_libdir_flag_spec='-L$libdir' 11187 hardcode_shlibpath_var=no 11188 ;; 11189 11190 *) 11191 ld_shlibs=no 11192 ;; 11193 esac 11194 11195 if test sni = "$host_vendor"; then 11196 case $host in 11197 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11198 export_dynamic_flag_spec='$wl-Blargedynsym' 11199 ;; 11200 esac 11201 fi 11202 fi 11203 11204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11205$as_echo "$ld_shlibs" >&6; } 11206test no = "$ld_shlibs" && can_build_shared=no 11207 11208with_gnu_ld=$with_gnu_ld 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224# 11225# Do we need to explicitly link libc? 11226# 11227case "x$archive_cmds_need_lc" in 11228x|xyes) 11229 # Assume -lc should be added 11230 archive_cmds_need_lc=yes 11231 11232 if test yes,yes = "$GCC,$enable_shared"; then 11233 case $archive_cmds in 11234 *'~'*) 11235 # FIXME: we may have to deal with multi-command sequences. 11236 ;; 11237 '$CC '*) 11238 # Test whether the compiler implicitly links with -lc since on some 11239 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11240 # to ld, don't add -lc before -lgcc. 11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11242$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11243if ${lt_cv_archive_cmds_need_lc+:} false; then : 11244 $as_echo_n "(cached) " >&6 11245else 11246 $RM conftest* 11247 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11248 11249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11250 (eval $ac_compile) 2>&5 11251 ac_status=$? 11252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11253 test $ac_status = 0; } 2>conftest.err; then 11254 soname=conftest 11255 lib=conftest 11256 libobjs=conftest.$ac_objext 11257 deplibs= 11258 wl=$lt_prog_compiler_wl 11259 pic_flag=$lt_prog_compiler_pic 11260 compiler_flags=-v 11261 linker_flags=-v 11262 verstring= 11263 output_objdir=. 11264 libname=conftest 11265 lt_save_allow_undefined_flag=$allow_undefined_flag 11266 allow_undefined_flag= 11267 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11268 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11269 ac_status=$? 11270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11271 test $ac_status = 0; } 11272 then 11273 lt_cv_archive_cmds_need_lc=no 11274 else 11275 lt_cv_archive_cmds_need_lc=yes 11276 fi 11277 allow_undefined_flag=$lt_save_allow_undefined_flag 11278 else 11279 cat conftest.err 1>&5 11280 fi 11281 $RM conftest* 11282 11283fi 11284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11285$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11286 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11287 ;; 11288 esac 11289 fi 11290 ;; 11291esac 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11445$as_echo_n "checking dynamic linker characteristics... " >&6; } 11446 11447if test yes = "$GCC"; then 11448 case $host_os in 11449 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11450 *) lt_awk_arg='/^libraries:/' ;; 11451 esac 11452 case $host_os in 11453 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11454 *) lt_sed_strip_eq='s|=/|/|g' ;; 11455 esac 11456 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11457 case $lt_search_path_spec in 11458 *\;*) 11459 # if the path contains ";" then we assume it to be the separator 11460 # otherwise default to the standard path separator (i.e. ":") - it is 11461 # assumed that no part of a normal pathname contains ";" but that should 11462 # okay in the real world where ";" in dirpaths is itself problematic. 11463 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11464 ;; 11465 *) 11466 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11467 ;; 11468 esac 11469 # Ok, now we have the path, separated by spaces, we can step through it 11470 # and add multilib dir if necessary... 11471 lt_tmp_lt_search_path_spec= 11472 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11473 # ...but if some path component already ends with the multilib dir we assume 11474 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11475 case "$lt_multi_os_dir; $lt_search_path_spec " in 11476 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11477 lt_multi_os_dir= 11478 ;; 11479 esac 11480 for lt_sys_path in $lt_search_path_spec; do 11481 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11482 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11483 elif test -n "$lt_multi_os_dir"; then 11484 test -d "$lt_sys_path" && \ 11485 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11486 fi 11487 done 11488 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11489BEGIN {RS = " "; FS = "/|\n";} { 11490 lt_foo = ""; 11491 lt_count = 0; 11492 for (lt_i = NF; lt_i > 0; lt_i--) { 11493 if ($lt_i != "" && $lt_i != ".") { 11494 if ($lt_i == "..") { 11495 lt_count++; 11496 } else { 11497 if (lt_count == 0) { 11498 lt_foo = "/" $lt_i lt_foo; 11499 } else { 11500 lt_count--; 11501 } 11502 } 11503 } 11504 } 11505 if (lt_foo != "") { lt_freq[lt_foo]++; } 11506 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11507}'` 11508 # AWK program above erroneously prepends '/' to C:/dos/paths 11509 # for these hosts. 11510 case $host_os in 11511 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11512 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11513 esac 11514 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11515else 11516 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11517fi 11518library_names_spec= 11519libname_spec='lib$name' 11520soname_spec= 11521shrext_cmds=.so 11522postinstall_cmds= 11523postuninstall_cmds= 11524finish_cmds= 11525finish_eval= 11526shlibpath_var= 11527shlibpath_overrides_runpath=unknown 11528version_type=none 11529dynamic_linker="$host_os ld.so" 11530sys_lib_dlsearch_path_spec="/lib /usr/lib" 11531need_lib_prefix=unknown 11532hardcode_into_libs=no 11533 11534# when you set need_version to no, make sure it does not cause -set_version 11535# flags to be left without arguments 11536need_version=unknown 11537 11538 11539 11540case $host_os in 11541aix3*) 11542 version_type=linux # correct to gnu/linux during the next big refactor 11543 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11544 shlibpath_var=LIBPATH 11545 11546 # AIX 3 has no versioning support, so we append a major version to the name. 11547 soname_spec='$libname$release$shared_ext$major' 11548 ;; 11549 11550aix[4-9]*) 11551 version_type=linux # correct to gnu/linux during the next big refactor 11552 need_lib_prefix=no 11553 need_version=no 11554 hardcode_into_libs=yes 11555 if test ia64 = "$host_cpu"; then 11556 # AIX 5 supports IA64 11557 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11558 shlibpath_var=LD_LIBRARY_PATH 11559 else 11560 # With GCC up to 2.95.x, collect2 would create an import file 11561 # for dependence libraries. The import file would start with 11562 # the line '#! .'. This would cause the generated library to 11563 # depend on '.', always an invalid library. This was fixed in 11564 # development snapshots of GCC prior to 3.0. 11565 case $host_os in 11566 aix4 | aix4.[01] | aix4.[01].*) 11567 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11568 echo ' yes ' 11569 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11570 : 11571 else 11572 can_build_shared=no 11573 fi 11574 ;; 11575 esac 11576 # Using Import Files as archive members, it is possible to support 11577 # filename-based versioning of shared library archives on AIX. While 11578 # this would work for both with and without runtime linking, it will 11579 # prevent static linking of such archives. So we do filename-based 11580 # shared library versioning with .so extension only, which is used 11581 # when both runtime linking and shared linking is enabled. 11582 # Unfortunately, runtime linking may impact performance, so we do 11583 # not want this to be the default eventually. Also, we use the 11584 # versioned .so libs for executables only if there is the -brtl 11585 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11586 # To allow for filename-based versioning support, we need to create 11587 # libNAME.so.V as an archive file, containing: 11588 # *) an Import File, referring to the versioned filename of the 11589 # archive as well as the shared archive member, telling the 11590 # bitwidth (32 or 64) of that shared object, and providing the 11591 # list of exported symbols of that shared object, eventually 11592 # decorated with the 'weak' keyword 11593 # *) the shared object with the F_LOADONLY flag set, to really avoid 11594 # it being seen by the linker. 11595 # At run time we better use the real file rather than another symlink, 11596 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11597 11598 case $with_aix_soname,$aix_use_runtimelinking in 11599 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11600 # soname into executable. Probably we can add versioning support to 11601 # collect2, so additional links can be useful in future. 11602 aix,yes) # traditional libtool 11603 dynamic_linker='AIX unversionable lib.so' 11604 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11605 # instead of lib<name>.a to let people know that these are not 11606 # typical AIX shared libraries. 11607 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11608 ;; 11609 aix,no) # traditional AIX only 11610 dynamic_linker='AIX lib.a(lib.so.V)' 11611 # We preserve .a as extension for shared libraries through AIX4.2 11612 # and later when we are not doing run time linking. 11613 library_names_spec='$libname$release.a $libname.a' 11614 soname_spec='$libname$release$shared_ext$major' 11615 ;; 11616 svr4,*) # full svr4 only 11617 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11618 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11619 # We do not specify a path in Import Files, so LIBPATH fires. 11620 shlibpath_overrides_runpath=yes 11621 ;; 11622 *,yes) # both, prefer svr4 11623 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11624 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11625 # unpreferred sharedlib libNAME.a needs extra handling 11626 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 11627 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 11628 # We do not specify a path in Import Files, so LIBPATH fires. 11629 shlibpath_overrides_runpath=yes 11630 ;; 11631 *,no) # both, prefer aix 11632 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11633 library_names_spec='$libname$release.a $libname.a' 11634 soname_spec='$libname$release$shared_ext$major' 11635 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11636 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 11637 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 11638 ;; 11639 esac 11640 shlibpath_var=LIBPATH 11641 fi 11642 ;; 11643 11644amigaos*) 11645 case $host_cpu in 11646 powerpc) 11647 # Since July 2007 AmigaOS4 officially supports .so libraries. 11648 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11649 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11650 ;; 11651 m68k) 11652 library_names_spec='$libname.ixlibrary $libname.a' 11653 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11654 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 11655 ;; 11656 esac 11657 ;; 11658 11659beos*) 11660 library_names_spec='$libname$shared_ext' 11661 dynamic_linker="$host_os ld.so" 11662 shlibpath_var=LIBRARY_PATH 11663 ;; 11664 11665bsdi[45]*) 11666 version_type=linux # correct to gnu/linux during the next big refactor 11667 need_version=no 11668 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11669 soname_spec='$libname$release$shared_ext$major' 11670 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11671 shlibpath_var=LD_LIBRARY_PATH 11672 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11673 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11674 # the default ld.so.conf also contains /usr/contrib/lib and 11675 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11676 # libtool to hard-code these into programs 11677 ;; 11678 11679cygwin* | mingw* | pw32* | cegcc*) 11680 version_type=windows 11681 shrext_cmds=.dll 11682 need_version=no 11683 need_lib_prefix=no 11684 11685 case $GCC,$cc_basename in 11686 yes,*) 11687 # gcc 11688 library_names_spec='$libname.dll.a' 11689 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11690 postinstall_cmds='base_file=`basename \$file`~ 11691 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11692 dldir=$destdir/`dirname \$dlpath`~ 11693 test -d \$dldir || mkdir -p \$dldir~ 11694 $install_prog $dir/$dlname \$dldir/$dlname~ 11695 chmod a+x \$dldir/$dlname~ 11696 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11697 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11698 fi' 11699 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11700 dlpath=$dir/\$dldll~ 11701 $RM \$dlpath' 11702 shlibpath_overrides_runpath=yes 11703 11704 case $host_os in 11705 cygwin*) 11706 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11707 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11708 11709 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11710 ;; 11711 mingw* | cegcc*) 11712 # MinGW DLLs use traditional 'lib' prefix 11713 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11714 ;; 11715 pw32*) 11716 # pw32 DLLs use 'pw' prefix rather than 'lib' 11717 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11718 ;; 11719 esac 11720 dynamic_linker='Win32 ld.exe' 11721 ;; 11722 11723 *,cl*) 11724 # Native MSVC 11725 libname_spec='$name' 11726 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11727 library_names_spec='$libname.dll.lib' 11728 11729 case $build_os in 11730 mingw*) 11731 sys_lib_search_path_spec= 11732 lt_save_ifs=$IFS 11733 IFS=';' 11734 for lt_path in $LIB 11735 do 11736 IFS=$lt_save_ifs 11737 # Let DOS variable expansion print the short 8.3 style file name. 11738 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11739 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11740 done 11741 IFS=$lt_save_ifs 11742 # Convert to MSYS style. 11743 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11744 ;; 11745 cygwin*) 11746 # Convert to unix form, then to dos form, then back to unix form 11747 # but this time dos style (no spaces!) so that the unix form looks 11748 # like /cygdrive/c/PROGRA~1:/cygdr... 11749 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11750 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11751 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11752 ;; 11753 *) 11754 sys_lib_search_path_spec=$LIB 11755 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11756 # It is most probably a Windows format PATH. 11757 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11758 else 11759 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11760 fi 11761 # FIXME: find the short name or the path components, as spaces are 11762 # common. (e.g. "Program Files" -> "PROGRA~1") 11763 ;; 11764 esac 11765 11766 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11767 postinstall_cmds='base_file=`basename \$file`~ 11768 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11769 dldir=$destdir/`dirname \$dlpath`~ 11770 test -d \$dldir || mkdir -p \$dldir~ 11771 $install_prog $dir/$dlname \$dldir/$dlname' 11772 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11773 dlpath=$dir/\$dldll~ 11774 $RM \$dlpath' 11775 shlibpath_overrides_runpath=yes 11776 dynamic_linker='Win32 link.exe' 11777 ;; 11778 11779 *) 11780 # Assume MSVC wrapper 11781 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11782 dynamic_linker='Win32 ld.exe' 11783 ;; 11784 esac 11785 # FIXME: first we should search . and the directory the executable is in 11786 shlibpath_var=PATH 11787 ;; 11788 11789darwin* | rhapsody*) 11790 dynamic_linker="$host_os dyld" 11791 version_type=darwin 11792 need_lib_prefix=no 11793 need_version=no 11794 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11795 soname_spec='$libname$release$major$shared_ext' 11796 shlibpath_overrides_runpath=yes 11797 shlibpath_var=DYLD_LIBRARY_PATH 11798 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11799 11800 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11801 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11802 ;; 11803 11804dgux*) 11805 version_type=linux # correct to gnu/linux during the next big refactor 11806 need_lib_prefix=no 11807 need_version=no 11808 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11809 soname_spec='$libname$release$shared_ext$major' 11810 shlibpath_var=LD_LIBRARY_PATH 11811 ;; 11812 11813freebsd* | dragonfly*) 11814 # DragonFly does not have aout. When/if they implement a new 11815 # versioning mechanism, adjust this. 11816 if test -x /usr/bin/objformat; then 11817 objformat=`/usr/bin/objformat` 11818 else 11819 case $host_os in 11820 freebsd[23].*) objformat=aout ;; 11821 *) objformat=elf ;; 11822 esac 11823 fi 11824 version_type=freebsd-$objformat 11825 case $version_type in 11826 freebsd-elf*) 11827 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11828 soname_spec='$libname$release$shared_ext$major' 11829 need_version=no 11830 need_lib_prefix=no 11831 ;; 11832 freebsd-*) 11833 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11834 need_version=yes 11835 ;; 11836 esac 11837 shlibpath_var=LD_LIBRARY_PATH 11838 case $host_os in 11839 freebsd2.*) 11840 shlibpath_overrides_runpath=yes 11841 ;; 11842 freebsd3.[01]* | freebsdelf3.[01]*) 11843 shlibpath_overrides_runpath=yes 11844 hardcode_into_libs=yes 11845 ;; 11846 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11847 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11848 shlibpath_overrides_runpath=no 11849 hardcode_into_libs=yes 11850 ;; 11851 *) # from 4.6 on, and DragonFly 11852 shlibpath_overrides_runpath=yes 11853 hardcode_into_libs=yes 11854 ;; 11855 esac 11856 ;; 11857 11858haiku*) 11859 version_type=linux # correct to gnu/linux during the next big refactor 11860 need_lib_prefix=no 11861 need_version=no 11862 dynamic_linker="$host_os runtime_loader" 11863 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11864 soname_spec='$libname$release$shared_ext$major' 11865 shlibpath_var=LIBRARY_PATH 11866 shlibpath_overrides_runpath=no 11867 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11868 hardcode_into_libs=yes 11869 ;; 11870 11871hpux9* | hpux10* | hpux11*) 11872 # Give a soname corresponding to the major version so that dld.sl refuses to 11873 # link against other versions. 11874 version_type=sunos 11875 need_lib_prefix=no 11876 need_version=no 11877 case $host_cpu in 11878 ia64*) 11879 shrext_cmds='.so' 11880 hardcode_into_libs=yes 11881 dynamic_linker="$host_os dld.so" 11882 shlibpath_var=LD_LIBRARY_PATH 11883 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11884 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11885 soname_spec='$libname$release$shared_ext$major' 11886 if test 32 = "$HPUX_IA64_MODE"; then 11887 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11888 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11889 else 11890 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11891 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11892 fi 11893 ;; 11894 hppa*64*) 11895 shrext_cmds='.sl' 11896 hardcode_into_libs=yes 11897 dynamic_linker="$host_os dld.sl" 11898 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11899 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11900 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11901 soname_spec='$libname$release$shared_ext$major' 11902 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11903 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11904 ;; 11905 *) 11906 shrext_cmds='.sl' 11907 dynamic_linker="$host_os dld.sl" 11908 shlibpath_var=SHLIB_PATH 11909 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11910 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11911 soname_spec='$libname$release$shared_ext$major' 11912 ;; 11913 esac 11914 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11915 postinstall_cmds='chmod 555 $lib' 11916 # or fails outright, so override atomically: 11917 install_override_mode=555 11918 ;; 11919 11920interix[3-9]*) 11921 version_type=linux # correct to gnu/linux during the next big refactor 11922 need_lib_prefix=no 11923 need_version=no 11924 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11925 soname_spec='$libname$release$shared_ext$major' 11926 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11927 shlibpath_var=LD_LIBRARY_PATH 11928 shlibpath_overrides_runpath=no 11929 hardcode_into_libs=yes 11930 ;; 11931 11932irix5* | irix6* | nonstopux*) 11933 case $host_os in 11934 nonstopux*) version_type=nonstopux ;; 11935 *) 11936 if test yes = "$lt_cv_prog_gnu_ld"; then 11937 version_type=linux # correct to gnu/linux during the next big refactor 11938 else 11939 version_type=irix 11940 fi ;; 11941 esac 11942 need_lib_prefix=no 11943 need_version=no 11944 soname_spec='$libname$release$shared_ext$major' 11945 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11946 case $host_os in 11947 irix5* | nonstopux*) 11948 libsuff= shlibsuff= 11949 ;; 11950 *) 11951 case $LD in # libtool.m4 will add one of these switches to LD 11952 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11953 libsuff= shlibsuff= libmagic=32-bit;; 11954 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11955 libsuff=32 shlibsuff=N32 libmagic=N32;; 11956 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11957 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11958 *) libsuff= shlibsuff= libmagic=never-match;; 11959 esac 11960 ;; 11961 esac 11962 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11963 shlibpath_overrides_runpath=no 11964 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11965 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11966 hardcode_into_libs=yes 11967 ;; 11968 11969# No shared lib support for Linux oldld, aout, or coff. 11970linux*oldld* | linux*aout* | linux*coff*) 11971 dynamic_linker=no 11972 ;; 11973 11974linux*android*) 11975 version_type=none # Android doesn't support versioned libraries. 11976 need_lib_prefix=no 11977 need_version=no 11978 library_names_spec='$libname$release$shared_ext' 11979 soname_spec='$libname$release$shared_ext' 11980 finish_cmds= 11981 shlibpath_var=LD_LIBRARY_PATH 11982 shlibpath_overrides_runpath=yes 11983 11984 # This implies no fast_install, which is unacceptable. 11985 # Some rework will be needed to allow for fast_install 11986 # before this can be enabled. 11987 hardcode_into_libs=yes 11988 11989 dynamic_linker='Android linker' 11990 # Don't embed -rpath directories since the linker doesn't support them. 11991 hardcode_libdir_flag_spec='-L$libdir' 11992 ;; 11993 11994# This must be glibc/ELF. 11995linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11996 version_type=linux # correct to gnu/linux during the next big refactor 11997 need_lib_prefix=no 11998 need_version=no 11999 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12000 soname_spec='$libname$release$shared_ext$major' 12001 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12002 shlibpath_var=LD_LIBRARY_PATH 12003 shlibpath_overrides_runpath=no 12004 12005 # Some binutils ld are patched to set DT_RUNPATH 12006 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12007 $as_echo_n "(cached) " >&6 12008else 12009 lt_cv_shlibpath_overrides_runpath=no 12010 save_LDFLAGS=$LDFLAGS 12011 save_libdir=$libdir 12012 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12013 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12015/* end confdefs.h. */ 12016 12017int 12018main () 12019{ 12020 12021 ; 12022 return 0; 12023} 12024_ACEOF 12025if ac_fn_c_try_link "$LINENO"; then : 12026 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12027 lt_cv_shlibpath_overrides_runpath=yes 12028fi 12029fi 12030rm -f core conftest.err conftest.$ac_objext \ 12031 conftest$ac_exeext conftest.$ac_ext 12032 LDFLAGS=$save_LDFLAGS 12033 libdir=$save_libdir 12034 12035fi 12036 12037 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12038 12039 # This implies no fast_install, which is unacceptable. 12040 # Some rework will be needed to allow for fast_install 12041 # before this can be enabled. 12042 hardcode_into_libs=yes 12043 12044 # Ideally, we could use ldconfig to report *all* directores which are 12045 # searched for libraries, however this is still not possible. Aside from not 12046 # being certain /sbin/ldconfig is available, command 12047 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12048 # even though it is searched at run-time. Try to do the best guess by 12049 # appending ld.so.conf contents (and includes) to the search path. 12050 if test -f /etc/ld.so.conf; then 12051 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' ' '` 12052 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12053 fi 12054 12055 # We used to test for /lib/ld.so.1 and disable shared libraries on 12056 # powerpc, because MkLinux only supported shared libraries with the 12057 # GNU dynamic linker. Since this was broken with cross compilers, 12058 # most powerpc-linux boxes support dynamic linking these days and 12059 # people can always --disable-shared, the test was removed, and we 12060 # assume the GNU/Linux dynamic linker is in use. 12061 dynamic_linker='GNU/Linux ld.so' 12062 ;; 12063 12064netbsdelf*-gnu) 12065 version_type=linux 12066 need_lib_prefix=no 12067 need_version=no 12068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12069 soname_spec='${libname}${release}${shared_ext}$major' 12070 shlibpath_var=LD_LIBRARY_PATH 12071 shlibpath_overrides_runpath=no 12072 hardcode_into_libs=yes 12073 dynamic_linker='NetBSD ld.elf_so' 12074 ;; 12075 12076netbsd*) 12077 version_type=sunos 12078 need_lib_prefix=no 12079 need_version=no 12080 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12081 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12082 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12083 dynamic_linker='NetBSD (a.out) ld.so' 12084 else 12085 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12086 soname_spec='$libname$release$shared_ext$major' 12087 dynamic_linker='NetBSD ld.elf_so' 12088 fi 12089 shlibpath_var=LD_LIBRARY_PATH 12090 shlibpath_overrides_runpath=yes 12091 hardcode_into_libs=yes 12092 ;; 12093 12094newsos6) 12095 version_type=linux # correct to gnu/linux during the next big refactor 12096 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12097 shlibpath_var=LD_LIBRARY_PATH 12098 shlibpath_overrides_runpath=yes 12099 ;; 12100 12101*nto* | *qnx*) 12102 version_type=qnx 12103 need_lib_prefix=no 12104 need_version=no 12105 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12106 soname_spec='$libname$release$shared_ext$major' 12107 shlibpath_var=LD_LIBRARY_PATH 12108 shlibpath_overrides_runpath=no 12109 hardcode_into_libs=yes 12110 dynamic_linker='ldqnx.so' 12111 ;; 12112 12113openbsd* | bitrig*) 12114 version_type=sunos 12115 sys_lib_dlsearch_path_spec=/usr/lib 12116 need_lib_prefix=no 12117 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12118 need_version=no 12119 else 12120 need_version=yes 12121 fi 12122 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12123 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12124 shlibpath_var=LD_LIBRARY_PATH 12125 shlibpath_overrides_runpath=yes 12126 ;; 12127 12128os2*) 12129 libname_spec='$name' 12130 version_type=windows 12131 shrext_cmds=.dll 12132 need_version=no 12133 need_lib_prefix=no 12134 # OS/2 can only load a DLL with a base name of 8 characters or less. 12135 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12136 v=$($ECHO $release$versuffix | tr -d .-); 12137 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12138 $ECHO $n$v`$shared_ext' 12139 library_names_spec='${libname}_dll.$libext' 12140 dynamic_linker='OS/2 ld.exe' 12141 shlibpath_var=BEGINLIBPATH 12142 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12143 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12144 postinstall_cmds='base_file=`basename \$file`~ 12145 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12146 dldir=$destdir/`dirname \$dlpath`~ 12147 test -d \$dldir || mkdir -p \$dldir~ 12148 $install_prog $dir/$dlname \$dldir/$dlname~ 12149 chmod a+x \$dldir/$dlname~ 12150 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12151 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12152 fi' 12153 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12154 dlpath=$dir/\$dldll~ 12155 $RM \$dlpath' 12156 ;; 12157 12158osf3* | osf4* | osf5*) 12159 version_type=osf 12160 need_lib_prefix=no 12161 need_version=no 12162 soname_spec='$libname$release$shared_ext$major' 12163 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12164 shlibpath_var=LD_LIBRARY_PATH 12165 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12166 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12167 ;; 12168 12169rdos*) 12170 dynamic_linker=no 12171 ;; 12172 12173solaris*) 12174 version_type=linux # correct to gnu/linux during the next big refactor 12175 need_lib_prefix=no 12176 need_version=no 12177 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12178 soname_spec='$libname$release$shared_ext$major' 12179 shlibpath_var=LD_LIBRARY_PATH 12180 shlibpath_overrides_runpath=yes 12181 hardcode_into_libs=yes 12182 # ldd complains unless libraries are executable 12183 postinstall_cmds='chmod +x $lib' 12184 ;; 12185 12186sunos4*) 12187 version_type=sunos 12188 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12189 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12190 shlibpath_var=LD_LIBRARY_PATH 12191 shlibpath_overrides_runpath=yes 12192 if test yes = "$with_gnu_ld"; then 12193 need_lib_prefix=no 12194 fi 12195 need_version=yes 12196 ;; 12197 12198sysv4 | sysv4.3*) 12199 version_type=linux # correct to gnu/linux during the next big refactor 12200 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12201 soname_spec='$libname$release$shared_ext$major' 12202 shlibpath_var=LD_LIBRARY_PATH 12203 case $host_vendor in 12204 sni) 12205 shlibpath_overrides_runpath=no 12206 need_lib_prefix=no 12207 runpath_var=LD_RUN_PATH 12208 ;; 12209 siemens) 12210 need_lib_prefix=no 12211 ;; 12212 motorola) 12213 need_lib_prefix=no 12214 need_version=no 12215 shlibpath_overrides_runpath=no 12216 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12217 ;; 12218 esac 12219 ;; 12220 12221sysv4*MP*) 12222 if test -d /usr/nec; then 12223 version_type=linux # correct to gnu/linux during the next big refactor 12224 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12225 soname_spec='$libname$shared_ext.$major' 12226 shlibpath_var=LD_LIBRARY_PATH 12227 fi 12228 ;; 12229 12230sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12231 version_type=sco 12232 need_lib_prefix=no 12233 need_version=no 12234 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12235 soname_spec='$libname$release$shared_ext$major' 12236 shlibpath_var=LD_LIBRARY_PATH 12237 shlibpath_overrides_runpath=yes 12238 hardcode_into_libs=yes 12239 if test yes = "$with_gnu_ld"; then 12240 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12241 else 12242 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12243 case $host_os in 12244 sco3.2v5*) 12245 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12246 ;; 12247 esac 12248 fi 12249 sys_lib_dlsearch_path_spec='/usr/lib' 12250 ;; 12251 12252tpf*) 12253 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12254 version_type=linux # correct to gnu/linux during the next big refactor 12255 need_lib_prefix=no 12256 need_version=no 12257 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12258 shlibpath_var=LD_LIBRARY_PATH 12259 shlibpath_overrides_runpath=no 12260 hardcode_into_libs=yes 12261 ;; 12262 12263uts4*) 12264 version_type=linux # correct to gnu/linux during the next big refactor 12265 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12266 soname_spec='$libname$release$shared_ext$major' 12267 shlibpath_var=LD_LIBRARY_PATH 12268 ;; 12269 12270*) 12271 dynamic_linker=no 12272 ;; 12273esac 12274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12275$as_echo "$dynamic_linker" >&6; } 12276test no = "$dynamic_linker" && can_build_shared=no 12277 12278variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12279if test yes = "$GCC"; then 12280 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12281fi 12282 12283if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12284 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12285fi 12286 12287if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12288 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12289fi 12290 12291# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12292configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12293 12294# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12295func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12296 12297# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12298configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12397$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12398hardcode_action= 12399if test -n "$hardcode_libdir_flag_spec" || 12400 test -n "$runpath_var" || 12401 test yes = "$hardcode_automatic"; then 12402 12403 # We can hardcode non-existent directories. 12404 if test no != "$hardcode_direct" && 12405 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12406 # have to relink, otherwise we might link with an installed library 12407 # when we should be linking with a yet-to-be-installed one 12408 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12409 test no != "$hardcode_minus_L"; then 12410 # Linking always hardcodes the temporary library directory. 12411 hardcode_action=relink 12412 else 12413 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12414 hardcode_action=immediate 12415 fi 12416else 12417 # We cannot hardcode anything, or else we can only hardcode existing 12418 # directories. 12419 hardcode_action=unsupported 12420fi 12421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12422$as_echo "$hardcode_action" >&6; } 12423 12424if test relink = "$hardcode_action" || 12425 test yes = "$inherit_rpath"; then 12426 # Fast installation is not supported 12427 enable_fast_install=no 12428elif test yes = "$shlibpath_overrides_runpath" || 12429 test no = "$enable_shared"; then 12430 # Fast installation is not necessary 12431 enable_fast_install=needless 12432fi 12433 12434 12435 12436 12437 12438 12439 if test yes != "$enable_dlopen"; then 12440 enable_dlopen=unknown 12441 enable_dlopen_self=unknown 12442 enable_dlopen_self_static=unknown 12443else 12444 lt_cv_dlopen=no 12445 lt_cv_dlopen_libs= 12446 12447 case $host_os in 12448 beos*) 12449 lt_cv_dlopen=load_add_on 12450 lt_cv_dlopen_libs= 12451 lt_cv_dlopen_self=yes 12452 ;; 12453 12454 mingw* | pw32* | cegcc*) 12455 lt_cv_dlopen=LoadLibrary 12456 lt_cv_dlopen_libs= 12457 ;; 12458 12459 cygwin*) 12460 lt_cv_dlopen=dlopen 12461 lt_cv_dlopen_libs= 12462 ;; 12463 12464 darwin*) 12465 # if libdl is installed we need to link against it 12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12467$as_echo_n "checking for dlopen in -ldl... " >&6; } 12468if ${ac_cv_lib_dl_dlopen+:} false; then : 12469 $as_echo_n "(cached) " >&6 12470else 12471 ac_check_lib_save_LIBS=$LIBS 12472LIBS="-ldl $LIBS" 12473cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12474/* end confdefs.h. */ 12475 12476/* Override any GCC internal prototype to avoid an error. 12477 Use char because int might match the return type of a GCC 12478 builtin and then its argument prototype would still apply. */ 12479#ifdef __cplusplus 12480extern "C" 12481#endif 12482char dlopen (); 12483int 12484main () 12485{ 12486return dlopen (); 12487 ; 12488 return 0; 12489} 12490_ACEOF 12491if ac_fn_c_try_link "$LINENO"; then : 12492 ac_cv_lib_dl_dlopen=yes 12493else 12494 ac_cv_lib_dl_dlopen=no 12495fi 12496rm -f core conftest.err conftest.$ac_objext \ 12497 conftest$ac_exeext conftest.$ac_ext 12498LIBS=$ac_check_lib_save_LIBS 12499fi 12500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12501$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12502if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12503 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12504else 12505 12506 lt_cv_dlopen=dyld 12507 lt_cv_dlopen_libs= 12508 lt_cv_dlopen_self=yes 12509 12510fi 12511 12512 ;; 12513 12514 tpf*) 12515 # Don't try to run any link tests for TPF. We know it's impossible 12516 # because TPF is a cross-compiler, and we know how we open DSOs. 12517 lt_cv_dlopen=dlopen 12518 lt_cv_dlopen_libs= 12519 lt_cv_dlopen_self=no 12520 ;; 12521 12522 *) 12523 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12524if test "x$ac_cv_func_shl_load" = xyes; then : 12525 lt_cv_dlopen=shl_load 12526else 12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12528$as_echo_n "checking for shl_load in -ldld... " >&6; } 12529if ${ac_cv_lib_dld_shl_load+:} false; then : 12530 $as_echo_n "(cached) " >&6 12531else 12532 ac_check_lib_save_LIBS=$LIBS 12533LIBS="-ldld $LIBS" 12534cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12535/* end confdefs.h. */ 12536 12537/* Override any GCC internal prototype to avoid an error. 12538 Use char because int might match the return type of a GCC 12539 builtin and then its argument prototype would still apply. */ 12540#ifdef __cplusplus 12541extern "C" 12542#endif 12543char shl_load (); 12544int 12545main () 12546{ 12547return shl_load (); 12548 ; 12549 return 0; 12550} 12551_ACEOF 12552if ac_fn_c_try_link "$LINENO"; then : 12553 ac_cv_lib_dld_shl_load=yes 12554else 12555 ac_cv_lib_dld_shl_load=no 12556fi 12557rm -f core conftest.err conftest.$ac_objext \ 12558 conftest$ac_exeext conftest.$ac_ext 12559LIBS=$ac_check_lib_save_LIBS 12560fi 12561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12562$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12563if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12564 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12565else 12566 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12567if test "x$ac_cv_func_dlopen" = xyes; then : 12568 lt_cv_dlopen=dlopen 12569else 12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12571$as_echo_n "checking for dlopen in -ldl... " >&6; } 12572if ${ac_cv_lib_dl_dlopen+:} false; then : 12573 $as_echo_n "(cached) " >&6 12574else 12575 ac_check_lib_save_LIBS=$LIBS 12576LIBS="-ldl $LIBS" 12577cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12578/* end confdefs.h. */ 12579 12580/* Override any GCC internal prototype to avoid an error. 12581 Use char because int might match the return type of a GCC 12582 builtin and then its argument prototype would still apply. */ 12583#ifdef __cplusplus 12584extern "C" 12585#endif 12586char dlopen (); 12587int 12588main () 12589{ 12590return dlopen (); 12591 ; 12592 return 0; 12593} 12594_ACEOF 12595if ac_fn_c_try_link "$LINENO"; then : 12596 ac_cv_lib_dl_dlopen=yes 12597else 12598 ac_cv_lib_dl_dlopen=no 12599fi 12600rm -f core conftest.err conftest.$ac_objext \ 12601 conftest$ac_exeext conftest.$ac_ext 12602LIBS=$ac_check_lib_save_LIBS 12603fi 12604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12605$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12606if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12607 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12608else 12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12610$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12611if ${ac_cv_lib_svld_dlopen+:} false; then : 12612 $as_echo_n "(cached) " >&6 12613else 12614 ac_check_lib_save_LIBS=$LIBS 12615LIBS="-lsvld $LIBS" 12616cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12617/* end confdefs.h. */ 12618 12619/* Override any GCC internal prototype to avoid an error. 12620 Use char because int might match the return type of a GCC 12621 builtin and then its argument prototype would still apply. */ 12622#ifdef __cplusplus 12623extern "C" 12624#endif 12625char dlopen (); 12626int 12627main () 12628{ 12629return dlopen (); 12630 ; 12631 return 0; 12632} 12633_ACEOF 12634if ac_fn_c_try_link "$LINENO"; then : 12635 ac_cv_lib_svld_dlopen=yes 12636else 12637 ac_cv_lib_svld_dlopen=no 12638fi 12639rm -f core conftest.err conftest.$ac_objext \ 12640 conftest$ac_exeext conftest.$ac_ext 12641LIBS=$ac_check_lib_save_LIBS 12642fi 12643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12644$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12645if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12646 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12647else 12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12649$as_echo_n "checking for dld_link in -ldld... " >&6; } 12650if ${ac_cv_lib_dld_dld_link+:} false; then : 12651 $as_echo_n "(cached) " >&6 12652else 12653 ac_check_lib_save_LIBS=$LIBS 12654LIBS="-ldld $LIBS" 12655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12656/* end confdefs.h. */ 12657 12658/* Override any GCC internal prototype to avoid an error. 12659 Use char because int might match the return type of a GCC 12660 builtin and then its argument prototype would still apply. */ 12661#ifdef __cplusplus 12662extern "C" 12663#endif 12664char dld_link (); 12665int 12666main () 12667{ 12668return dld_link (); 12669 ; 12670 return 0; 12671} 12672_ACEOF 12673if ac_fn_c_try_link "$LINENO"; then : 12674 ac_cv_lib_dld_dld_link=yes 12675else 12676 ac_cv_lib_dld_dld_link=no 12677fi 12678rm -f core conftest.err conftest.$ac_objext \ 12679 conftest$ac_exeext conftest.$ac_ext 12680LIBS=$ac_check_lib_save_LIBS 12681fi 12682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12683$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12684if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12685 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12686fi 12687 12688 12689fi 12690 12691 12692fi 12693 12694 12695fi 12696 12697 12698fi 12699 12700 12701fi 12702 12703 ;; 12704 esac 12705 12706 if test no = "$lt_cv_dlopen"; then 12707 enable_dlopen=no 12708 else 12709 enable_dlopen=yes 12710 fi 12711 12712 case $lt_cv_dlopen in 12713 dlopen) 12714 save_CPPFLAGS=$CPPFLAGS 12715 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12716 12717 save_LDFLAGS=$LDFLAGS 12718 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12719 12720 save_LIBS=$LIBS 12721 LIBS="$lt_cv_dlopen_libs $LIBS" 12722 12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12724$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12725if ${lt_cv_dlopen_self+:} false; then : 12726 $as_echo_n "(cached) " >&6 12727else 12728 if test yes = "$cross_compiling"; then : 12729 lt_cv_dlopen_self=cross 12730else 12731 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12732 lt_status=$lt_dlunknown 12733 cat > conftest.$ac_ext <<_LT_EOF 12734#line $LINENO "configure" 12735#include "confdefs.h" 12736 12737#if HAVE_DLFCN_H 12738#include <dlfcn.h> 12739#endif 12740 12741#include <stdio.h> 12742 12743#ifdef RTLD_GLOBAL 12744# define LT_DLGLOBAL RTLD_GLOBAL 12745#else 12746# ifdef DL_GLOBAL 12747# define LT_DLGLOBAL DL_GLOBAL 12748# else 12749# define LT_DLGLOBAL 0 12750# endif 12751#endif 12752 12753/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12754 find out it does not work in some platform. */ 12755#ifndef LT_DLLAZY_OR_NOW 12756# ifdef RTLD_LAZY 12757# define LT_DLLAZY_OR_NOW RTLD_LAZY 12758# else 12759# ifdef DL_LAZY 12760# define LT_DLLAZY_OR_NOW DL_LAZY 12761# else 12762# ifdef RTLD_NOW 12763# define LT_DLLAZY_OR_NOW RTLD_NOW 12764# else 12765# ifdef DL_NOW 12766# define LT_DLLAZY_OR_NOW DL_NOW 12767# else 12768# define LT_DLLAZY_OR_NOW 0 12769# endif 12770# endif 12771# endif 12772# endif 12773#endif 12774 12775/* When -fvisibility=hidden is used, assume the code has been annotated 12776 correspondingly for the symbols needed. */ 12777#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12778int fnord () __attribute__((visibility("default"))); 12779#endif 12780 12781int fnord () { return 42; } 12782int main () 12783{ 12784 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12785 int status = $lt_dlunknown; 12786 12787 if (self) 12788 { 12789 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12790 else 12791 { 12792 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12793 else puts (dlerror ()); 12794 } 12795 /* dlclose (self); */ 12796 } 12797 else 12798 puts (dlerror ()); 12799 12800 return status; 12801} 12802_LT_EOF 12803 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12804 (eval $ac_link) 2>&5 12805 ac_status=$? 12806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12807 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12808 (./conftest; exit; ) >&5 2>/dev/null 12809 lt_status=$? 12810 case x$lt_status in 12811 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12812 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12813 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12814 esac 12815 else : 12816 # compilation failed 12817 lt_cv_dlopen_self=no 12818 fi 12819fi 12820rm -fr conftest* 12821 12822 12823fi 12824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12825$as_echo "$lt_cv_dlopen_self" >&6; } 12826 12827 if test yes = "$lt_cv_dlopen_self"; then 12828 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12830$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12831if ${lt_cv_dlopen_self_static+:} false; then : 12832 $as_echo_n "(cached) " >&6 12833else 12834 if test yes = "$cross_compiling"; then : 12835 lt_cv_dlopen_self_static=cross 12836else 12837 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12838 lt_status=$lt_dlunknown 12839 cat > conftest.$ac_ext <<_LT_EOF 12840#line $LINENO "configure" 12841#include "confdefs.h" 12842 12843#if HAVE_DLFCN_H 12844#include <dlfcn.h> 12845#endif 12846 12847#include <stdio.h> 12848 12849#ifdef RTLD_GLOBAL 12850# define LT_DLGLOBAL RTLD_GLOBAL 12851#else 12852# ifdef DL_GLOBAL 12853# define LT_DLGLOBAL DL_GLOBAL 12854# else 12855# define LT_DLGLOBAL 0 12856# endif 12857#endif 12858 12859/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12860 find out it does not work in some platform. */ 12861#ifndef LT_DLLAZY_OR_NOW 12862# ifdef RTLD_LAZY 12863# define LT_DLLAZY_OR_NOW RTLD_LAZY 12864# else 12865# ifdef DL_LAZY 12866# define LT_DLLAZY_OR_NOW DL_LAZY 12867# else 12868# ifdef RTLD_NOW 12869# define LT_DLLAZY_OR_NOW RTLD_NOW 12870# else 12871# ifdef DL_NOW 12872# define LT_DLLAZY_OR_NOW DL_NOW 12873# else 12874# define LT_DLLAZY_OR_NOW 0 12875# endif 12876# endif 12877# endif 12878# endif 12879#endif 12880 12881/* When -fvisibility=hidden is used, assume the code has been annotated 12882 correspondingly for the symbols needed. */ 12883#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12884int fnord () __attribute__((visibility("default"))); 12885#endif 12886 12887int fnord () { return 42; } 12888int main () 12889{ 12890 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12891 int status = $lt_dlunknown; 12892 12893 if (self) 12894 { 12895 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12896 else 12897 { 12898 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12899 else puts (dlerror ()); 12900 } 12901 /* dlclose (self); */ 12902 } 12903 else 12904 puts (dlerror ()); 12905 12906 return status; 12907} 12908_LT_EOF 12909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12910 (eval $ac_link) 2>&5 12911 ac_status=$? 12912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12913 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12914 (./conftest; exit; ) >&5 2>/dev/null 12915 lt_status=$? 12916 case x$lt_status in 12917 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12918 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12919 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12920 esac 12921 else : 12922 # compilation failed 12923 lt_cv_dlopen_self_static=no 12924 fi 12925fi 12926rm -fr conftest* 12927 12928 12929fi 12930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12931$as_echo "$lt_cv_dlopen_self_static" >&6; } 12932 fi 12933 12934 CPPFLAGS=$save_CPPFLAGS 12935 LDFLAGS=$save_LDFLAGS 12936 LIBS=$save_LIBS 12937 ;; 12938 esac 12939 12940 case $lt_cv_dlopen_self in 12941 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12942 *) enable_dlopen_self=unknown ;; 12943 esac 12944 12945 case $lt_cv_dlopen_self_static in 12946 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12947 *) enable_dlopen_self_static=unknown ;; 12948 esac 12949fi 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967striplib= 12968old_striplib= 12969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12970$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12971if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12972 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12973 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12975$as_echo "yes" >&6; } 12976else 12977# FIXME - insert some real tests, host_os isn't really good enough 12978 case $host_os in 12979 darwin*) 12980 if test -n "$STRIP"; then 12981 striplib="$STRIP -x" 12982 old_striplib="$STRIP -S" 12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12984$as_echo "yes" >&6; } 12985 else 12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12987$as_echo "no" >&6; } 12988 fi 12989 ;; 12990 *) 12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12992$as_echo "no" >&6; } 12993 ;; 12994 esac 12995fi 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 # Report what library types will actually be built 13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13010$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13012$as_echo "$can_build_shared" >&6; } 13013 13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13015$as_echo_n "checking whether to build shared libraries... " >&6; } 13016 test no = "$can_build_shared" && enable_shared=no 13017 13018 # On AIX, shared libraries and static libraries use the same namespace, and 13019 # are all built from PIC. 13020 case $host_os in 13021 aix3*) 13022 test yes = "$enable_shared" && enable_static=no 13023 if test -n "$RANLIB"; then 13024 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13025 postinstall_cmds='$RANLIB $lib' 13026 fi 13027 ;; 13028 13029 aix[4-9]*) 13030 if test ia64 != "$host_cpu"; then 13031 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13032 yes,aix,yes) ;; # shared object as lib.so file only 13033 yes,svr4,*) ;; # shared object as lib.so archive member only 13034 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13035 esac 13036 fi 13037 ;; 13038 esac 13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13040$as_echo "$enable_shared" >&6; } 13041 13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13043$as_echo_n "checking whether to build static libraries... " >&6; } 13044 # Make sure either enable_shared or enable_static is yes. 13045 test yes = "$enable_shared" || enable_static=yes 13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13047$as_echo "$enable_static" >&6; } 13048 13049 13050 13051 13052fi 13053ac_ext=c 13054ac_cpp='$CPP $CPPFLAGS' 13055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13057ac_compiler_gnu=$ac_cv_c_compiler_gnu 13058 13059CC=$lt_save_CC 13060 13061 if test -n "$CXX" && ( test no != "$CXX" && 13062 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13063 (test g++ != "$CXX"))); then 13064 ac_ext=cpp 13065ac_cpp='$CXXCPP $CPPFLAGS' 13066ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13067ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13068ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13070$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13071if test -z "$CXXCPP"; then 13072 if ${ac_cv_prog_CXXCPP+:} false; then : 13073 $as_echo_n "(cached) " >&6 13074else 13075 # Double quotes because CXXCPP needs to be expanded 13076 for CXXCPP in "$CXX -E" "/lib/cpp" 13077 do 13078 ac_preproc_ok=false 13079for ac_cxx_preproc_warn_flag in '' yes 13080do 13081 # Use a header file that comes with gcc, so configuring glibc 13082 # with a fresh cross-compiler works. 13083 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13084 # <limits.h> exists even on freestanding compilers. 13085 # On the NeXT, cc -E runs the code through the compiler's parser, 13086 # not just through cpp. "Syntax error" is here to catch this case. 13087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13088/* end confdefs.h. */ 13089#ifdef __STDC__ 13090# include <limits.h> 13091#else 13092# include <assert.h> 13093#endif 13094 Syntax error 13095_ACEOF 13096if ac_fn_cxx_try_cpp "$LINENO"; then : 13097 13098else 13099 # Broken: fails on valid input. 13100continue 13101fi 13102rm -f conftest.err conftest.i conftest.$ac_ext 13103 13104 # OK, works on sane cases. Now check whether nonexistent headers 13105 # can be detected and how. 13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13107/* end confdefs.h. */ 13108#include <ac_nonexistent.h> 13109_ACEOF 13110if ac_fn_cxx_try_cpp "$LINENO"; then : 13111 # Broken: success on invalid input. 13112continue 13113else 13114 # Passes both tests. 13115ac_preproc_ok=: 13116break 13117fi 13118rm -f conftest.err conftest.i conftest.$ac_ext 13119 13120done 13121# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13122rm -f conftest.i conftest.err conftest.$ac_ext 13123if $ac_preproc_ok; then : 13124 break 13125fi 13126 13127 done 13128 ac_cv_prog_CXXCPP=$CXXCPP 13129 13130fi 13131 CXXCPP=$ac_cv_prog_CXXCPP 13132else 13133 ac_cv_prog_CXXCPP=$CXXCPP 13134fi 13135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13136$as_echo "$CXXCPP" >&6; } 13137ac_preproc_ok=false 13138for ac_cxx_preproc_warn_flag in '' yes 13139do 13140 # Use a header file that comes with gcc, so configuring glibc 13141 # with a fresh cross-compiler works. 13142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13143 # <limits.h> exists even on freestanding compilers. 13144 # On the NeXT, cc -E runs the code through the compiler's parser, 13145 # not just through cpp. "Syntax error" is here to catch this case. 13146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13147/* end confdefs.h. */ 13148#ifdef __STDC__ 13149# include <limits.h> 13150#else 13151# include <assert.h> 13152#endif 13153 Syntax error 13154_ACEOF 13155if ac_fn_cxx_try_cpp "$LINENO"; then : 13156 13157else 13158 # Broken: fails on valid input. 13159continue 13160fi 13161rm -f conftest.err conftest.i conftest.$ac_ext 13162 13163 # OK, works on sane cases. Now check whether nonexistent headers 13164 # can be detected and how. 13165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13166/* end confdefs.h. */ 13167#include <ac_nonexistent.h> 13168_ACEOF 13169if ac_fn_cxx_try_cpp "$LINENO"; then : 13170 # Broken: success on invalid input. 13171continue 13172else 13173 # Passes both tests. 13174ac_preproc_ok=: 13175break 13176fi 13177rm -f conftest.err conftest.i conftest.$ac_ext 13178 13179done 13180# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13181rm -f conftest.i conftest.err conftest.$ac_ext 13182if $ac_preproc_ok; then : 13183 13184else 13185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13187as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13188See \`config.log' for more details" "$LINENO" 5; } 13189fi 13190 13191ac_ext=c 13192ac_cpp='$CPP $CPPFLAGS' 13193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13195ac_compiler_gnu=$ac_cv_c_compiler_gnu 13196 13197else 13198 _lt_caught_CXX_error=yes 13199fi 13200 13201ac_ext=cpp 13202ac_cpp='$CXXCPP $CPPFLAGS' 13203ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13204ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13205ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13206 13207archive_cmds_need_lc_CXX=no 13208allow_undefined_flag_CXX= 13209always_export_symbols_CXX=no 13210archive_expsym_cmds_CXX= 13211compiler_needs_object_CXX=no 13212export_dynamic_flag_spec_CXX= 13213hardcode_direct_CXX=no 13214hardcode_direct_absolute_CXX=no 13215hardcode_libdir_flag_spec_CXX= 13216hardcode_libdir_separator_CXX= 13217hardcode_minus_L_CXX=no 13218hardcode_shlibpath_var_CXX=unsupported 13219hardcode_automatic_CXX=no 13220inherit_rpath_CXX=no 13221module_cmds_CXX= 13222module_expsym_cmds_CXX= 13223link_all_deplibs_CXX=unknown 13224old_archive_cmds_CXX=$old_archive_cmds 13225reload_flag_CXX=$reload_flag 13226reload_cmds_CXX=$reload_cmds 13227no_undefined_flag_CXX= 13228whole_archive_flag_spec_CXX= 13229enable_shared_with_static_runtimes_CXX=no 13230 13231# Source file extension for C++ test sources. 13232ac_ext=cpp 13233 13234# Object file extension for compiled C++ test sources. 13235objext=o 13236objext_CXX=$objext 13237 13238# No sense in running all these tests if we already determined that 13239# the CXX compiler isn't working. Some variables (like enable_shared) 13240# are currently assumed to apply to all compilers on this platform, 13241# and will be corrupted by setting them based on a non-working compiler. 13242if test yes != "$_lt_caught_CXX_error"; then 13243 # Code to be used in simple compile tests 13244 lt_simple_compile_test_code="int some_variable = 0;" 13245 13246 # Code to be used in simple link tests 13247 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13248 13249 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13250 13251 13252 13253 13254 13255 13256# If no C compiler was specified, use CC. 13257LTCC=${LTCC-"$CC"} 13258 13259# If no C compiler flags were specified, use CFLAGS. 13260LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13261 13262# Allow CC to be a program name with arguments. 13263compiler=$CC 13264 13265 13266 # save warnings/boilerplate of simple test code 13267 ac_outfile=conftest.$ac_objext 13268echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13269eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13270_lt_compiler_boilerplate=`cat conftest.err` 13271$RM conftest* 13272 13273 ac_outfile=conftest.$ac_objext 13274echo "$lt_simple_link_test_code" >conftest.$ac_ext 13275eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13276_lt_linker_boilerplate=`cat conftest.err` 13277$RM -r conftest* 13278 13279 13280 # Allow CC to be a program name with arguments. 13281 lt_save_CC=$CC 13282 lt_save_CFLAGS=$CFLAGS 13283 lt_save_LD=$LD 13284 lt_save_GCC=$GCC 13285 GCC=$GXX 13286 lt_save_with_gnu_ld=$with_gnu_ld 13287 lt_save_path_LD=$lt_cv_path_LD 13288 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13289 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13290 else 13291 $as_unset lt_cv_prog_gnu_ld 13292 fi 13293 if test -n "${lt_cv_path_LDCXX+set}"; then 13294 lt_cv_path_LD=$lt_cv_path_LDCXX 13295 else 13296 $as_unset lt_cv_path_LD 13297 fi 13298 test -z "${LDCXX+set}" || LD=$LDCXX 13299 CC=${CXX-"c++"} 13300 CFLAGS=$CXXFLAGS 13301 compiler=$CC 13302 compiler_CXX=$CC 13303 func_cc_basename $compiler 13304cc_basename=$func_cc_basename_result 13305 13306 13307 if test -n "$compiler"; then 13308 # We don't want -fno-exception when compiling C++ code, so set the 13309 # no_builtin_flag separately 13310 if test yes = "$GXX"; then 13311 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13312 else 13313 lt_prog_compiler_no_builtin_flag_CXX= 13314 fi 13315 13316 if test yes = "$GXX"; then 13317 # Set up default GNU C++ configuration 13318 13319 13320 13321# Check whether --with-gnu-ld was given. 13322if test "${with_gnu_ld+set}" = set; then : 13323 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13324else 13325 with_gnu_ld=no 13326fi 13327 13328ac_prog=ld 13329if test yes = "$GCC"; then 13330 # Check if gcc -print-prog-name=ld gives a path. 13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13332$as_echo_n "checking for ld used by $CC... " >&6; } 13333 case $host in 13334 *-*-mingw*) 13335 # gcc leaves a trailing carriage return, which upsets mingw 13336 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13337 *) 13338 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13339 esac 13340 case $ac_prog in 13341 # Accept absolute paths. 13342 [\\/]* | ?:[\\/]*) 13343 re_direlt='/[^/][^/]*/\.\./' 13344 # Canonicalize the pathname of ld 13345 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13346 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13347 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13348 done 13349 test -z "$LD" && LD=$ac_prog 13350 ;; 13351 "") 13352 # If it fails, then pretend we aren't using GCC. 13353 ac_prog=ld 13354 ;; 13355 *) 13356 # If it is relative, then search for the first ld in PATH. 13357 with_gnu_ld=unknown 13358 ;; 13359 esac 13360elif test yes = "$with_gnu_ld"; then 13361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13362$as_echo_n "checking for GNU ld... " >&6; } 13363else 13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13365$as_echo_n "checking for non-GNU ld... " >&6; } 13366fi 13367if ${lt_cv_path_LD+:} false; then : 13368 $as_echo_n "(cached) " >&6 13369else 13370 if test -z "$LD"; then 13371 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 13372 for ac_dir in $PATH; do 13373 IFS=$lt_save_ifs 13374 test -z "$ac_dir" && ac_dir=. 13375 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 13376 lt_cv_path_LD=$ac_dir/$ac_prog 13377 # Check to see if the program is GNU ld. I'd rather use --version, 13378 # but apparently some variants of GNU ld only accept -v. 13379 # Break only if it was the GNU/non-GNU ld that we prefer. 13380 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 13381 *GNU* | *'with BFD'*) 13382 test no != "$with_gnu_ld" && break 13383 ;; 13384 *) 13385 test yes != "$with_gnu_ld" && break 13386 ;; 13387 esac 13388 fi 13389 done 13390 IFS=$lt_save_ifs 13391else 13392 lt_cv_path_LD=$LD # Let the user override the test with a path. 13393fi 13394fi 13395 13396LD=$lt_cv_path_LD 13397if test -n "$LD"; then 13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 13399$as_echo "$LD" >&6; } 13400else 13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13402$as_echo "no" >&6; } 13403fi 13404test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13406$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13407if ${lt_cv_prog_gnu_ld+:} false; then : 13408 $as_echo_n "(cached) " >&6 13409else 13410 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13411case `$LD -v 2>&1 </dev/null` in 13412*GNU* | *'with BFD'*) 13413 lt_cv_prog_gnu_ld=yes 13414 ;; 13415*) 13416 lt_cv_prog_gnu_ld=no 13417 ;; 13418esac 13419fi 13420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 13421$as_echo "$lt_cv_prog_gnu_ld" >&6; } 13422with_gnu_ld=$lt_cv_prog_gnu_ld 13423 13424 13425 13426 13427 13428 13429 13430 # Check if GNU C++ uses GNU ld as the underlying linker, since the 13431 # archiving commands below assume that GNU ld is being used. 13432 if test yes = "$with_gnu_ld"; then 13433 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13434 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' 13435 13436 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13437 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13438 13439 # If archive_cmds runs LD, not CC, wlarc should be empty 13440 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 13441 # investigate it a little bit more. (MM) 13442 wlarc='$wl' 13443 13444 # ancient GNU ld didn't support --whole-archive et. al. 13445 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 13446 $GREP 'no-whole-archive' > /dev/null; then 13447 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 13448 else 13449 whole_archive_flag_spec_CXX= 13450 fi 13451 else 13452 with_gnu_ld=no 13453 wlarc= 13454 13455 # A generic and very simple default shared library creation 13456 # command for GNU C++ for the case where it uses the native 13457 # linker, instead of GNU ld. If possible, this setting should 13458 # overridden to take advantage of the native linker features on 13459 # the platform it is being used on. 13460 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13461 fi 13462 13463 # Commands to make compiler produce verbose output that lists 13464 # what "hidden" libraries, object files and flags are used when 13465 # linking a shared library. 13466 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 13467 13468 else 13469 GXX=no 13470 with_gnu_ld=no 13471 wlarc= 13472 fi 13473 13474 # PORTME: fill in a description of your system's C++ link characteristics 13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13476$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 13477 ld_shlibs_CXX=yes 13478 case $host_os in 13479 aix3*) 13480 # FIXME: insert proper C++ library support 13481 ld_shlibs_CXX=no 13482 ;; 13483 aix[4-9]*) 13484 if test ia64 = "$host_cpu"; then 13485 # On IA64, the linker does run time linking by default, so we don't 13486 # have to do anything special. 13487 aix_use_runtimelinking=no 13488 exp_sym_flag='-Bexport' 13489 no_entry_flag= 13490 else 13491 aix_use_runtimelinking=no 13492 13493 # Test if we are trying to use run time linking or normal 13494 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 13495 # have runtime linking enabled, and use it for executables. 13496 # For shared libraries, we enable/disable runtime linking 13497 # depending on the kind of the shared library created - 13498 # when "with_aix_soname,aix_use_runtimelinking" is: 13499 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 13500 # "aix,yes" lib.so shared, rtl:yes, for executables 13501 # lib.a static archive 13502 # "both,no" lib.so.V(shr.o) shared, rtl:yes 13503 # lib.a(lib.so.V) shared, rtl:no, for executables 13504 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 13505 # lib.a(lib.so.V) shared, rtl:no 13506 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 13507 # lib.a static archive 13508 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 13509 for ld_flag in $LDFLAGS; do 13510 case $ld_flag in 13511 *-brtl*) 13512 aix_use_runtimelinking=yes 13513 break 13514 ;; 13515 esac 13516 done 13517 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 13518 # With aix-soname=svr4, we create the lib.so.V shared archives only, 13519 # so we don't have lib.a shared libs to link our executables. 13520 # We have to force runtime linking in this case. 13521 aix_use_runtimelinking=yes 13522 LDFLAGS="$LDFLAGS -Wl,-brtl" 13523 fi 13524 ;; 13525 esac 13526 13527 exp_sym_flag='-bexport' 13528 no_entry_flag='-bnoentry' 13529 fi 13530 13531 # When large executables or shared objects are built, AIX ld can 13532 # have problems creating the table of contents. If linking a library 13533 # or program results in "error TOC overflow" add -mminimal-toc to 13534 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 13535 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 13536 13537 archive_cmds_CXX='' 13538 hardcode_direct_CXX=yes 13539 hardcode_direct_absolute_CXX=yes 13540 hardcode_libdir_separator_CXX=':' 13541 link_all_deplibs_CXX=yes 13542 file_list_spec_CXX='$wl-f,' 13543 case $with_aix_soname,$aix_use_runtimelinking in 13544 aix,*) ;; # no import file 13545 svr4,* | *,yes) # use import file 13546 # The Import File defines what to hardcode. 13547 hardcode_direct_CXX=no 13548 hardcode_direct_absolute_CXX=no 13549 ;; 13550 esac 13551 13552 if test yes = "$GXX"; then 13553 case $host_os in aix4.[012]|aix4.[012].*) 13554 # We only want to do this on AIX 4.2 and lower, the check 13555 # below for broken collect2 doesn't work under 4.3+ 13556 collect2name=`$CC -print-prog-name=collect2` 13557 if test -f "$collect2name" && 13558 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 13559 then 13560 # We have reworked collect2 13561 : 13562 else 13563 # We have old collect2 13564 hardcode_direct_CXX=unsupported 13565 # It fails to find uninstalled libraries when the uninstalled 13566 # path is not listed in the libpath. Setting hardcode_minus_L 13567 # to unsupported forces relinking 13568 hardcode_minus_L_CXX=yes 13569 hardcode_libdir_flag_spec_CXX='-L$libdir' 13570 hardcode_libdir_separator_CXX= 13571 fi 13572 esac 13573 shared_flag='-shared' 13574 if test yes = "$aix_use_runtimelinking"; then 13575 shared_flag=$shared_flag' $wl-G' 13576 fi 13577 # Need to ensure runtime linking is disabled for the traditional 13578 # shared library, or the linker may eventually find shared libraries 13579 # /with/ Import File - we do not want to mix them. 13580 shared_flag_aix='-shared' 13581 shared_flag_svr4='-shared $wl-G' 13582 else 13583 # not using gcc 13584 if test ia64 = "$host_cpu"; then 13585 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 13586 # chokes on -Wl,-G. The following line is correct: 13587 shared_flag='-G' 13588 else 13589 if test yes = "$aix_use_runtimelinking"; then 13590 shared_flag='$wl-G' 13591 else 13592 shared_flag='$wl-bM:SRE' 13593 fi 13594 shared_flag_aix='$wl-bM:SRE' 13595 shared_flag_svr4='$wl-G' 13596 fi 13597 fi 13598 13599 export_dynamic_flag_spec_CXX='$wl-bexpall' 13600 # It seems that -bexpall does not export symbols beginning with 13601 # underscore (_), so it is better to generate a list of symbols to 13602 # export. 13603 always_export_symbols_CXX=yes 13604 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 13605 # Warning - without using the other runtime loading flags (-brtl), 13606 # -berok will link without error, but may produce a broken library. 13607 # The "-G" linker flag allows undefined symbols. 13608 no_undefined_flag_CXX='-bernotok' 13609 # Determine the default libpath from the value encoded in an empty 13610 # executable. 13611 if test set = "${lt_cv_aix_libpath+set}"; then 13612 aix_libpath=$lt_cv_aix_libpath 13613else 13614 if ${lt_cv_aix_libpath__CXX+:} false; then : 13615 $as_echo_n "(cached) " >&6 13616else 13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13618/* end confdefs.h. */ 13619 13620int 13621main () 13622{ 13623 13624 ; 13625 return 0; 13626} 13627_ACEOF 13628if ac_fn_cxx_try_link "$LINENO"; then : 13629 13630 lt_aix_libpath_sed=' 13631 /Import File Strings/,/^$/ { 13632 /^0/ { 13633 s/^0 *\([^ ]*\) *$/\1/ 13634 p 13635 } 13636 }' 13637 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13638 # Check for a 64-bit object if we didn't find anything. 13639 if test -z "$lt_cv_aix_libpath__CXX"; then 13640 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13641 fi 13642fi 13643rm -f core conftest.err conftest.$ac_objext \ 13644 conftest$ac_exeext conftest.$ac_ext 13645 if test -z "$lt_cv_aix_libpath__CXX"; then 13646 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13647 fi 13648 13649fi 13650 13651 aix_libpath=$lt_cv_aix_libpath__CXX 13652fi 13653 13654 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13655 13656 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 13657 else 13658 if test ia64 = "$host_cpu"; then 13659 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 13660 allow_undefined_flag_CXX="-z nodefs" 13661 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" 13662 else 13663 # Determine the default libpath from the value encoded in an 13664 # empty executable. 13665 if test set = "${lt_cv_aix_libpath+set}"; then 13666 aix_libpath=$lt_cv_aix_libpath 13667else 13668 if ${lt_cv_aix_libpath__CXX+:} false; then : 13669 $as_echo_n "(cached) " >&6 13670else 13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13672/* end confdefs.h. */ 13673 13674int 13675main () 13676{ 13677 13678 ; 13679 return 0; 13680} 13681_ACEOF 13682if ac_fn_cxx_try_link "$LINENO"; then : 13683 13684 lt_aix_libpath_sed=' 13685 /Import File Strings/,/^$/ { 13686 /^0/ { 13687 s/^0 *\([^ ]*\) *$/\1/ 13688 p 13689 } 13690 }' 13691 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13692 # Check for a 64-bit object if we didn't find anything. 13693 if test -z "$lt_cv_aix_libpath__CXX"; then 13694 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13695 fi 13696fi 13697rm -f core conftest.err conftest.$ac_objext \ 13698 conftest$ac_exeext conftest.$ac_ext 13699 if test -z "$lt_cv_aix_libpath__CXX"; then 13700 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13701 fi 13702 13703fi 13704 13705 aix_libpath=$lt_cv_aix_libpath__CXX 13706fi 13707 13708 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13709 # Warning - without using the other run time loading flags, 13710 # -berok will link without error, but may produce a broken library. 13711 no_undefined_flag_CXX=' $wl-bernotok' 13712 allow_undefined_flag_CXX=' $wl-berok' 13713 if test yes = "$with_gnu_ld"; then 13714 # We only use this code for GNU lds that support --whole-archive. 13715 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 13716 else 13717 # Exported symbols can be pulled into shared objects from archives 13718 whole_archive_flag_spec_CXX='$convenience' 13719 fi 13720 archive_cmds_need_lc_CXX=yes 13721 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 13722 # -brtl affects multiple linker settings, -berok does not and is overridden later 13723 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 13724 if test svr4 != "$with_aix_soname"; then 13725 # This is similar to how AIX traditionally builds its shared 13726 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 13727 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 13728 fi 13729 if test aix != "$with_aix_soname"; then 13730 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 13731 else 13732 # used by -dlpreopen to get the symbols 13733 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 13734 fi 13735 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 13736 fi 13737 fi 13738 ;; 13739 13740 beos*) 13741 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13742 allow_undefined_flag_CXX=unsupported 13743 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 13744 # support --undefined. This deserves some investigation. FIXME 13745 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13746 else 13747 ld_shlibs_CXX=no 13748 fi 13749 ;; 13750 13751 chorus*) 13752 case $cc_basename in 13753 *) 13754 # FIXME: insert proper C++ library support 13755 ld_shlibs_CXX=no 13756 ;; 13757 esac 13758 ;; 13759 13760 cygwin* | mingw* | pw32* | cegcc*) 13761 case $GXX,$cc_basename in 13762 ,cl* | no,cl*) 13763 # Native MSVC 13764 # hardcode_libdir_flag_spec is actually meaningless, as there is 13765 # no search path for DLLs. 13766 hardcode_libdir_flag_spec_CXX=' ' 13767 allow_undefined_flag_CXX=unsupported 13768 always_export_symbols_CXX=yes 13769 file_list_spec_CXX='@' 13770 # Tell ltmain to make .lib files, not .a files. 13771 libext=lib 13772 # Tell ltmain to make .dll files, not .so files. 13773 shrext_cmds=.dll 13774 # FIXME: Setting linknames here is a bad hack. 13775 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 13776 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13777 cp "$export_symbols" "$output_objdir/$soname.def"; 13778 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 13779 else 13780 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 13781 fi~ 13782 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13783 linknames=' 13784 # The linker will not automatically build a static lib if we build a DLL. 13785 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 13786 enable_shared_with_static_runtimes_CXX=yes 13787 # Don't use ranlib 13788 old_postinstall_cmds_CXX='chmod 644 $oldlib' 13789 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 13790 lt_tool_outputfile="@TOOL_OUTPUT@"~ 13791 case $lt_outputfile in 13792 *.exe|*.EXE) ;; 13793 *) 13794 lt_outputfile=$lt_outputfile.exe 13795 lt_tool_outputfile=$lt_tool_outputfile.exe 13796 ;; 13797 esac~ 13798 func_to_tool_file "$lt_outputfile"~ 13799 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 13800 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 13801 $RM "$lt_outputfile.manifest"; 13802 fi' 13803 ;; 13804 *) 13805 # g++ 13806 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 13807 # as there is no search path for DLLs. 13808 hardcode_libdir_flag_spec_CXX='-L$libdir' 13809 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 13810 allow_undefined_flag_CXX=unsupported 13811 always_export_symbols_CXX=no 13812 enable_shared_with_static_runtimes_CXX=yes 13813 13814 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13815 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' 13816 # If the export-symbols file already is a .def file, use it as 13817 # is; otherwise, prepend EXPORTS... 13818 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13819 cp $export_symbols $output_objdir/$soname.def; 13820 else 13821 echo EXPORTS > $output_objdir/$soname.def; 13822 cat $export_symbols >> $output_objdir/$soname.def; 13823 fi~ 13824 $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' 13825 else 13826 ld_shlibs_CXX=no 13827 fi 13828 ;; 13829 esac 13830 ;; 13831 darwin* | rhapsody*) 13832 13833 13834 archive_cmds_need_lc_CXX=no 13835 hardcode_direct_CXX=no 13836 hardcode_automatic_CXX=yes 13837 hardcode_shlibpath_var_CXX=unsupported 13838 if test yes = "$lt_cv_ld_force_load"; then 13839 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\"`' 13840 13841 else 13842 whole_archive_flag_spec_CXX='' 13843 fi 13844 link_all_deplibs_CXX=yes 13845 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 13846 case $cc_basename in 13847 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 13848 *) _lt_dar_can_shared=$GCC ;; 13849 esac 13850 if test yes = "$_lt_dar_can_shared"; then 13851 output_verbose_link_cmd=func_echo_all 13852 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" 13853 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 13854 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" 13855 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" 13856 if test yes != "$lt_cv_apple_cc_single_mod"; then 13857 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" 13858 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" 13859 fi 13860 13861 else 13862 ld_shlibs_CXX=no 13863 fi 13864 13865 ;; 13866 13867 os2*) 13868 hardcode_libdir_flag_spec_CXX='-L$libdir' 13869 hardcode_minus_L_CXX=yes 13870 allow_undefined_flag_CXX=unsupported 13871 shrext_cmds=.dll 13872 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13873 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13874 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13875 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13876 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 13877 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13878 emximp -o $lib $output_objdir/$libname.def' 13879 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13880 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13881 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13882 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13883 prefix_cmds="$SED"~ 13884 if test EXPORTS = "`$SED 1q $export_symbols`"; then 13885 prefix_cmds="$prefix_cmds -e 1d"; 13886 fi~ 13887 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 13888 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 13889 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13890 emximp -o $lib $output_objdir/$libname.def' 13891 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 13892 enable_shared_with_static_runtimes_CXX=yes 13893 ;; 13894 13895 dgux*) 13896 case $cc_basename in 13897 ec++*) 13898 # FIXME: insert proper C++ library support 13899 ld_shlibs_CXX=no 13900 ;; 13901 ghcx*) 13902 # Green Hills C++ Compiler 13903 # FIXME: insert proper C++ library support 13904 ld_shlibs_CXX=no 13905 ;; 13906 *) 13907 # FIXME: insert proper C++ library support 13908 ld_shlibs_CXX=no 13909 ;; 13910 esac 13911 ;; 13912 13913 freebsd2.*) 13914 # C++ shared libraries reported to be fairly broken before 13915 # switch to ELF 13916 ld_shlibs_CXX=no 13917 ;; 13918 13919 freebsd-elf*) 13920 archive_cmds_need_lc_CXX=no 13921 ;; 13922 13923 freebsd* | dragonfly*) 13924 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 13925 # conventions 13926 ld_shlibs_CXX=yes 13927 ;; 13928 13929 haiku*) 13930 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13931 link_all_deplibs_CXX=yes 13932 ;; 13933 13934 hpux9*) 13935 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 13936 hardcode_libdir_separator_CXX=: 13937 export_dynamic_flag_spec_CXX='$wl-E' 13938 hardcode_direct_CXX=yes 13939 hardcode_minus_L_CXX=yes # Not in the search PATH, 13940 # but as the default 13941 # location of the library. 13942 13943 case $cc_basename in 13944 CC*) 13945 # FIXME: insert proper C++ library support 13946 ld_shlibs_CXX=no 13947 ;; 13948 aCC*) 13949 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 13950 # Commands to make compiler produce verbose output that lists 13951 # what "hidden" libraries, object files and flags are used when 13952 # linking a shared library. 13953 # 13954 # There doesn't appear to be a way to prevent this compiler from 13955 # explicitly linking system object files so we need to strip them 13956 # from the output so that they don't get included in the library 13957 # dependencies. 13958 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"' 13959 ;; 13960 *) 13961 if test yes = "$GXX"; then 13962 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 13963 else 13964 # FIXME: insert proper C++ library support 13965 ld_shlibs_CXX=no 13966 fi 13967 ;; 13968 esac 13969 ;; 13970 13971 hpux10*|hpux11*) 13972 if test no = "$with_gnu_ld"; then 13973 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 13974 hardcode_libdir_separator_CXX=: 13975 13976 case $host_cpu in 13977 hppa*64*|ia64*) 13978 ;; 13979 *) 13980 export_dynamic_flag_spec_CXX='$wl-E' 13981 ;; 13982 esac 13983 fi 13984 case $host_cpu in 13985 hppa*64*|ia64*) 13986 hardcode_direct_CXX=no 13987 hardcode_shlibpath_var_CXX=no 13988 ;; 13989 *) 13990 hardcode_direct_CXX=yes 13991 hardcode_direct_absolute_CXX=yes 13992 hardcode_minus_L_CXX=yes # Not in the search PATH, 13993 # but as the default 13994 # location of the library. 13995 ;; 13996 esac 13997 13998 case $cc_basename in 13999 CC*) 14000 # FIXME: insert proper C++ library support 14001 ld_shlibs_CXX=no 14002 ;; 14003 aCC*) 14004 case $host_cpu in 14005 hppa*64*) 14006 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14007 ;; 14008 ia64*) 14009 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14010 ;; 14011 *) 14012 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14013 ;; 14014 esac 14015 # Commands to make compiler produce verbose output that lists 14016 # what "hidden" libraries, object files and flags are used when 14017 # linking a shared library. 14018 # 14019 # There doesn't appear to be a way to prevent this compiler from 14020 # explicitly linking system object files so we need to strip them 14021 # from the output so that they don't get included in the library 14022 # dependencies. 14023 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"' 14024 ;; 14025 *) 14026 if test yes = "$GXX"; then 14027 if test no = "$with_gnu_ld"; then 14028 case $host_cpu in 14029 hppa*64*) 14030 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14031 ;; 14032 ia64*) 14033 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14034 ;; 14035 *) 14036 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' 14037 ;; 14038 esac 14039 fi 14040 else 14041 # FIXME: insert proper C++ library support 14042 ld_shlibs_CXX=no 14043 fi 14044 ;; 14045 esac 14046 ;; 14047 14048 interix[3-9]*) 14049 hardcode_direct_CXX=no 14050 hardcode_shlibpath_var_CXX=no 14051 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14052 export_dynamic_flag_spec_CXX='$wl-E' 14053 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14054 # Instead, shared libraries are loaded at an image base (0x10000000 by 14055 # default) and relocated if they conflict, which is a slow very memory 14056 # consuming and fragmenting process. To avoid this, we pick a random, 14057 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14058 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14059 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' 14060 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' 14061 ;; 14062 irix5* | irix6*) 14063 case $cc_basename in 14064 CC*) 14065 # SGI C++ 14066 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' 14067 14068 # Archives containing C++ object files must be created using 14069 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14070 # necessary to make sure instantiated templates are included 14071 # in the archive. 14072 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14073 ;; 14074 *) 14075 if test yes = "$GXX"; then 14076 if test no = "$with_gnu_ld"; then 14077 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' 14078 else 14079 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' 14080 fi 14081 fi 14082 link_all_deplibs_CXX=yes 14083 ;; 14084 esac 14085 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14086 hardcode_libdir_separator_CXX=: 14087 inherit_rpath_CXX=yes 14088 ;; 14089 14090 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14091 case $cc_basename in 14092 KCC*) 14093 # Kuck and Associates, Inc. (KAI) C++ Compiler 14094 14095 # KCC will only create a shared library if the output file 14096 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14097 # to its proper name (with version) after linking. 14098 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' 14099 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' 14100 # Commands to make compiler produce verbose output that lists 14101 # what "hidden" libraries, object files and flags are used when 14102 # linking a shared library. 14103 # 14104 # There doesn't appear to be a way to prevent this compiler from 14105 # explicitly linking system object files so we need to strip them 14106 # from the output so that they don't get included in the library 14107 # dependencies. 14108 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"' 14109 14110 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14111 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14112 14113 # Archives containing C++ object files must be created using 14114 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14115 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14116 ;; 14117 icpc* | ecpc* ) 14118 # Intel C++ 14119 with_gnu_ld=yes 14120 # version 8.0 and above of icpc choke on multiply defined symbols 14121 # if we add $predep_objects and $postdep_objects, however 7.1 and 14122 # earlier do not add the objects themselves. 14123 case `$CC -V 2>&1` in 14124 *"Version 7."*) 14125 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14126 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' 14127 ;; 14128 *) # Version 8.0 or newer 14129 tmp_idyn= 14130 case $host_cpu in 14131 ia64*) tmp_idyn=' -i_dynamic';; 14132 esac 14133 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14134 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' 14135 ;; 14136 esac 14137 archive_cmds_need_lc_CXX=no 14138 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14139 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14140 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14141 ;; 14142 pgCC* | pgcpp*) 14143 # Portland Group C++ compiler 14144 case `$CC -V` in 14145 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14146 prelink_cmds_CXX='tpldir=Template.dir~ 14147 rm -rf $tpldir~ 14148 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14149 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14150 old_archive_cmds_CXX='tpldir=Template.dir~ 14151 rm -rf $tpldir~ 14152 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14153 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14154 $RANLIB $oldlib' 14155 archive_cmds_CXX='tpldir=Template.dir~ 14156 rm -rf $tpldir~ 14157 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14158 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14159 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14160 rm -rf $tpldir~ 14161 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14162 $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' 14163 ;; 14164 *) # Version 6 and above use weak symbols 14165 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14166 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' 14167 ;; 14168 esac 14169 14170 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14171 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14172 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' 14173 ;; 14174 cxx*) 14175 # Compaq C++ 14176 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14177 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' 14178 14179 runpath_var=LD_RUN_PATH 14180 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14181 hardcode_libdir_separator_CXX=: 14182 14183 # Commands to make compiler produce verbose output that lists 14184 # what "hidden" libraries, object files and flags are used when 14185 # linking a shared library. 14186 # 14187 # There doesn't appear to be a way to prevent this compiler from 14188 # explicitly linking system object files so we need to strip them 14189 # from the output so that they don't get included in the library 14190 # dependencies. 14191 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' 14192 ;; 14193 xl* | mpixl* | bgxl*) 14194 # IBM XL 8.0 on PPC, with GNU ld 14195 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14196 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14197 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14198 if test yes = "$supports_anon_versioning"; then 14199 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14200 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14201 echo "local: *; };" >> $output_objdir/$libname.ver~ 14202 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14203 fi 14204 ;; 14205 *) 14206 case `$CC -V 2>&1 | sed 5q` in 14207 *Sun\ C*) 14208 # Sun C++ 5.9 14209 no_undefined_flag_CXX=' -zdefs' 14210 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14211 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' 14212 hardcode_libdir_flag_spec_CXX='-R$libdir' 14213 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' 14214 compiler_needs_object_CXX=yes 14215 14216 # Not sure whether something based on 14217 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14218 # would be better. 14219 output_verbose_link_cmd='func_echo_all' 14220 14221 # Archives containing C++ object files must be created using 14222 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14223 # necessary to make sure instantiated templates are included 14224 # in the archive. 14225 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14226 ;; 14227 esac 14228 ;; 14229 esac 14230 ;; 14231 14232 lynxos*) 14233 # FIXME: insert proper C++ library support 14234 ld_shlibs_CXX=no 14235 ;; 14236 14237 m88k*) 14238 # FIXME: insert proper C++ library support 14239 ld_shlibs_CXX=no 14240 ;; 14241 14242 mvs*) 14243 case $cc_basename in 14244 cxx*) 14245 # FIXME: insert proper C++ library support 14246 ld_shlibs_CXX=no 14247 ;; 14248 *) 14249 # FIXME: insert proper C++ library support 14250 ld_shlibs_CXX=no 14251 ;; 14252 esac 14253 ;; 14254 14255 netbsd*) 14256 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14257 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14258 wlarc= 14259 hardcode_libdir_flag_spec_CXX='-R$libdir' 14260 hardcode_direct_CXX=yes 14261 hardcode_shlibpath_var_CXX=no 14262 fi 14263 # Workaround some broken pre-1.5 toolchains 14264 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14265 ;; 14266 14267 *nto* | *qnx*) 14268 ld_shlibs_CXX=yes 14269 ;; 14270 14271 openbsd* | bitrig*) 14272 if test -f /usr/libexec/ld.so; then 14273 hardcode_direct_CXX=yes 14274 hardcode_shlibpath_var_CXX=no 14275 hardcode_direct_absolute_CXX=yes 14276 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14277 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14278 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14279 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14280 export_dynamic_flag_spec_CXX='$wl-E' 14281 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14282 fi 14283 output_verbose_link_cmd=func_echo_all 14284 else 14285 ld_shlibs_CXX=no 14286 fi 14287 ;; 14288 14289 osf3* | osf4* | osf5*) 14290 case $cc_basename in 14291 KCC*) 14292 # Kuck and Associates, Inc. (KAI) C++ Compiler 14293 14294 # KCC will only create a shared library if the output file 14295 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14296 # to its proper name (with version) after linking. 14297 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' 14298 14299 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14300 hardcode_libdir_separator_CXX=: 14301 14302 # Archives containing C++ object files must be created using 14303 # the KAI C++ compiler. 14304 case $host in 14305 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14306 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14307 esac 14308 ;; 14309 RCC*) 14310 # Rational C++ 2.4.1 14311 # FIXME: insert proper C++ library support 14312 ld_shlibs_CXX=no 14313 ;; 14314 cxx*) 14315 case $host in 14316 osf3*) 14317 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14318 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' 14319 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14320 ;; 14321 *) 14322 allow_undefined_flag_CXX=' -expect_unresolved \*' 14323 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' 14324 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14325 echo "-hidden">> $lib.exp~ 14326 $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~ 14327 $RM $lib.exp' 14328 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14329 ;; 14330 esac 14331 14332 hardcode_libdir_separator_CXX=: 14333 14334 # Commands to make compiler produce verbose output that lists 14335 # what "hidden" libraries, object files and flags are used when 14336 # linking a shared library. 14337 # 14338 # There doesn't appear to be a way to prevent this compiler from 14339 # explicitly linking system object files so we need to strip them 14340 # from the output so that they don't get included in the library 14341 # dependencies. 14342 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"' 14343 ;; 14344 *) 14345 if test yes,no = "$GXX,$with_gnu_ld"; then 14346 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14347 case $host in 14348 osf3*) 14349 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' 14350 ;; 14351 *) 14352 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' 14353 ;; 14354 esac 14355 14356 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14357 hardcode_libdir_separator_CXX=: 14358 14359 # Commands to make compiler produce verbose output that lists 14360 # what "hidden" libraries, object files and flags are used when 14361 # linking a shared library. 14362 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 14363 14364 else 14365 # FIXME: insert proper C++ library support 14366 ld_shlibs_CXX=no 14367 fi 14368 ;; 14369 esac 14370 ;; 14371 14372 psos*) 14373 # FIXME: insert proper C++ library support 14374 ld_shlibs_CXX=no 14375 ;; 14376 14377 sunos4*) 14378 case $cc_basename in 14379 CC*) 14380 # Sun C++ 4.x 14381 # FIXME: insert proper C++ library support 14382 ld_shlibs_CXX=no 14383 ;; 14384 lcc*) 14385 # Lucid 14386 # FIXME: insert proper C++ library support 14387 ld_shlibs_CXX=no 14388 ;; 14389 *) 14390 # FIXME: insert proper C++ library support 14391 ld_shlibs_CXX=no 14392 ;; 14393 esac 14394 ;; 14395 14396 solaris*) 14397 case $cc_basename in 14398 CC* | sunCC*) 14399 # Sun C++ 4.2, 5.x and Centerline C++ 14400 archive_cmds_need_lc_CXX=yes 14401 no_undefined_flag_CXX=' -zdefs' 14402 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14403 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14404 $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' 14405 14406 hardcode_libdir_flag_spec_CXX='-R$libdir' 14407 hardcode_shlibpath_var_CXX=no 14408 case $host_os in 14409 solaris2.[0-5] | solaris2.[0-5].*) ;; 14410 *) 14411 # The compiler driver will combine and reorder linker options, 14412 # but understands '-z linker_flag'. 14413 # Supported since Solaris 2.6 (maybe 2.5.1?) 14414 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 14415 ;; 14416 esac 14417 link_all_deplibs_CXX=yes 14418 14419 output_verbose_link_cmd='func_echo_all' 14420 14421 # Archives containing C++ object files must be created using 14422 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14423 # necessary to make sure instantiated templates are included 14424 # in the archive. 14425 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14426 ;; 14427 gcx*) 14428 # Green Hills C++ Compiler 14429 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14430 14431 # The C++ compiler must be used to create the archive. 14432 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 14433 ;; 14434 *) 14435 # GNU C++ compiler with Solaris linker 14436 if test yes,no = "$GXX,$with_gnu_ld"; then 14437 no_undefined_flag_CXX=' $wl-z ${wl}defs' 14438 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 14439 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14440 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14441 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14442 14443 # Commands to make compiler produce verbose output that lists 14444 # what "hidden" libraries, object files and flags are used when 14445 # linking a shared library. 14446 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 14447 else 14448 # g++ 2.7 appears to require '-G' NOT '-shared' on this 14449 # platform. 14450 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14451 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14452 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 14453 14454 # Commands to make compiler produce verbose output that lists 14455 # what "hidden" libraries, object files and flags are used when 14456 # linking a shared library. 14457 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 14458 fi 14459 14460 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 14461 case $host_os in 14462 solaris2.[0-5] | solaris2.[0-5].*) ;; 14463 *) 14464 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 14465 ;; 14466 esac 14467 fi 14468 ;; 14469 esac 14470 ;; 14471 14472 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 14473 no_undefined_flag_CXX='$wl-z,text' 14474 archive_cmds_need_lc_CXX=no 14475 hardcode_shlibpath_var_CXX=no 14476 runpath_var='LD_RUN_PATH' 14477 14478 case $cc_basename in 14479 CC*) 14480 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14481 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14482 ;; 14483 *) 14484 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14485 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14486 ;; 14487 esac 14488 ;; 14489 14490 sysv5* | sco3.2v5* | sco5v6*) 14491 # Note: We CANNOT use -z defs as we might desire, because we do not 14492 # link with -lc, and that would cause any symbols used from libc to 14493 # always be unresolved, which means just about no library would 14494 # ever link correctly. If we're not using GNU ld we use -z text 14495 # though, which does catch some bad symbols but isn't as heavy-handed 14496 # as -z defs. 14497 no_undefined_flag_CXX='$wl-z,text' 14498 allow_undefined_flag_CXX='$wl-z,nodefs' 14499 archive_cmds_need_lc_CXX=no 14500 hardcode_shlibpath_var_CXX=no 14501 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 14502 hardcode_libdir_separator_CXX=':' 14503 link_all_deplibs_CXX=yes 14504 export_dynamic_flag_spec_CXX='$wl-Bexport' 14505 runpath_var='LD_RUN_PATH' 14506 14507 case $cc_basename in 14508 CC*) 14509 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14510 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14511 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 14512 '"$old_archive_cmds_CXX" 14513 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 14514 '"$reload_cmds_CXX" 14515 ;; 14516 *) 14517 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14518 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14519 ;; 14520 esac 14521 ;; 14522 14523 tandem*) 14524 case $cc_basename in 14525 NCC*) 14526 # NonStop-UX NCC 3.20 14527 # FIXME: insert proper C++ library support 14528 ld_shlibs_CXX=no 14529 ;; 14530 *) 14531 # FIXME: insert proper C++ library support 14532 ld_shlibs_CXX=no 14533 ;; 14534 esac 14535 ;; 14536 14537 vxworks*) 14538 # FIXME: insert proper C++ library support 14539 ld_shlibs_CXX=no 14540 ;; 14541 14542 *) 14543 # FIXME: insert proper C++ library support 14544 ld_shlibs_CXX=no 14545 ;; 14546 esac 14547 14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14549$as_echo "$ld_shlibs_CXX" >&6; } 14550 test no = "$ld_shlibs_CXX" && can_build_shared=no 14551 14552 GCC_CXX=$GXX 14553 LD_CXX=$LD 14554 14555 ## CAVEAT EMPTOR: 14556 ## There is no encapsulation within the following macros, do not change 14557 ## the running order or otherwise move them around unless you know exactly 14558 ## what you are doing... 14559 # Dependencies to place before and after the object being linked: 14560predep_objects_CXX= 14561postdep_objects_CXX= 14562predeps_CXX= 14563postdeps_CXX= 14564compiler_lib_search_path_CXX= 14565 14566cat > conftest.$ac_ext <<_LT_EOF 14567class Foo 14568{ 14569public: 14570 Foo (void) { a = 0; } 14571private: 14572 int a; 14573}; 14574_LT_EOF 14575 14576 14577_lt_libdeps_save_CFLAGS=$CFLAGS 14578case "$CC $CFLAGS " in #( 14579*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 14580*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 14581*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 14582esac 14583 14584if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14585 (eval $ac_compile) 2>&5 14586 ac_status=$? 14587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14588 test $ac_status = 0; }; then 14589 # Parse the compiler output and extract the necessary 14590 # objects, libraries and library flags. 14591 14592 # Sentinel used to keep track of whether or not we are before 14593 # the conftest object file. 14594 pre_test_object_deps_done=no 14595 14596 for p in `eval "$output_verbose_link_cmd"`; do 14597 case $prev$p in 14598 14599 -L* | -R* | -l*) 14600 # Some compilers place space between "-{L,R}" and the path. 14601 # Remove the space. 14602 if test x-L = "$p" || 14603 test x-R = "$p"; then 14604 prev=$p 14605 continue 14606 fi 14607 14608 # Expand the sysroot to ease extracting the directories later. 14609 if test -z "$prev"; then 14610 case $p in 14611 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 14612 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 14613 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 14614 esac 14615 fi 14616 case $p in 14617 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 14618 esac 14619 if test no = "$pre_test_object_deps_done"; then 14620 case $prev in 14621 -L | -R) 14622 # Internal compiler library paths should come after those 14623 # provided the user. The postdeps already come after the 14624 # user supplied libs so there is no need to process them. 14625 if test -z "$compiler_lib_search_path_CXX"; then 14626 compiler_lib_search_path_CXX=$prev$p 14627 else 14628 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 14629 fi 14630 ;; 14631 # The "-l" case would never come before the object being 14632 # linked, so don't bother handling this case. 14633 esac 14634 else 14635 if test -z "$postdeps_CXX"; then 14636 postdeps_CXX=$prev$p 14637 else 14638 postdeps_CXX="${postdeps_CXX} $prev$p" 14639 fi 14640 fi 14641 prev= 14642 ;; 14643 14644 *.lto.$objext) ;; # Ignore GCC LTO objects 14645 *.$objext) 14646 # This assumes that the test object file only shows up 14647 # once in the compiler output. 14648 if test "$p" = "conftest.$objext"; then 14649 pre_test_object_deps_done=yes 14650 continue 14651 fi 14652 14653 if test no = "$pre_test_object_deps_done"; then 14654 if test -z "$predep_objects_CXX"; then 14655 predep_objects_CXX=$p 14656 else 14657 predep_objects_CXX="$predep_objects_CXX $p" 14658 fi 14659 else 14660 if test -z "$postdep_objects_CXX"; then 14661 postdep_objects_CXX=$p 14662 else 14663 postdep_objects_CXX="$postdep_objects_CXX $p" 14664 fi 14665 fi 14666 ;; 14667 14668 *) ;; # Ignore the rest. 14669 14670 esac 14671 done 14672 14673 # Clean up. 14674 rm -f a.out a.exe 14675else 14676 echo "libtool.m4: error: problem compiling CXX test program" 14677fi 14678 14679$RM -f confest.$objext 14680CFLAGS=$_lt_libdeps_save_CFLAGS 14681 14682# PORTME: override above test on systems where it is broken 14683case $host_os in 14684interix[3-9]*) 14685 # Interix 3.5 installs completely hosed .la files for C++, so rather than 14686 # hack all around it, let's just trust "g++" to DTRT. 14687 predep_objects_CXX= 14688 postdep_objects_CXX= 14689 postdeps_CXX= 14690 ;; 14691esac 14692 14693 14694case " $postdeps_CXX " in 14695*" -lc "*) archive_cmds_need_lc_CXX=no ;; 14696esac 14697 compiler_lib_search_dirs_CXX= 14698if test -n "${compiler_lib_search_path_CXX}"; then 14699 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 14700fi 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 lt_prog_compiler_wl_CXX= 14733lt_prog_compiler_pic_CXX= 14734lt_prog_compiler_static_CXX= 14735 14736 14737 # C++ specific cases for pic, static, wl, etc. 14738 if test yes = "$GXX"; then 14739 lt_prog_compiler_wl_CXX='-Wl,' 14740 lt_prog_compiler_static_CXX='-static' 14741 14742 case $host_os in 14743 aix*) 14744 # All AIX code is PIC. 14745 if test ia64 = "$host_cpu"; then 14746 # AIX 5 now supports IA64 processor 14747 lt_prog_compiler_static_CXX='-Bstatic' 14748 fi 14749 lt_prog_compiler_pic_CXX='-fPIC' 14750 ;; 14751 14752 amigaos*) 14753 case $host_cpu in 14754 powerpc) 14755 # see comment about AmigaOS4 .so support 14756 lt_prog_compiler_pic_CXX='-fPIC' 14757 ;; 14758 m68k) 14759 # FIXME: we need at least 68020 code to build shared libraries, but 14760 # adding the '-m68020' flag to GCC prevents building anything better, 14761 # like '-m68040'. 14762 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 14763 ;; 14764 esac 14765 ;; 14766 14767 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14768 # PIC is the default for these OSes. 14769 ;; 14770 mingw* | cygwin* | os2* | pw32* | cegcc*) 14771 # This hack is so that the source file can tell whether it is being 14772 # built for inclusion in a dll (and should export symbols for example). 14773 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14774 # (--disable-auto-import) libraries 14775 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14776 case $host_os in 14777 os2*) 14778 lt_prog_compiler_static_CXX='$wl-static' 14779 ;; 14780 esac 14781 ;; 14782 darwin* | rhapsody*) 14783 # PIC is the default on this platform 14784 # Common symbols not allowed in MH_DYLIB files 14785 lt_prog_compiler_pic_CXX='-fno-common' 14786 ;; 14787 *djgpp*) 14788 # DJGPP does not support shared libraries at all 14789 lt_prog_compiler_pic_CXX= 14790 ;; 14791 haiku*) 14792 # PIC is the default for Haiku. 14793 # The "-static" flag exists, but is broken. 14794 lt_prog_compiler_static_CXX= 14795 ;; 14796 interix[3-9]*) 14797 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14798 # Instead, we relocate shared libraries at runtime. 14799 ;; 14800 sysv4*MP*) 14801 if test -d /usr/nec; then 14802 lt_prog_compiler_pic_CXX=-Kconform_pic 14803 fi 14804 ;; 14805 hpux*) 14806 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 14807 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 14808 # sets the default TLS model and affects inlining. 14809 case $host_cpu in 14810 hppa*64*) 14811 ;; 14812 *) 14813 lt_prog_compiler_pic_CXX='-fPIC' 14814 ;; 14815 esac 14816 ;; 14817 *qnx* | *nto*) 14818 # QNX uses GNU C++, but need to define -shared option too, otherwise 14819 # it will coredump. 14820 lt_prog_compiler_pic_CXX='-fPIC -shared' 14821 ;; 14822 *) 14823 lt_prog_compiler_pic_CXX='-fPIC' 14824 ;; 14825 esac 14826 else 14827 case $host_os in 14828 aix[4-9]*) 14829 # All AIX code is PIC. 14830 if test ia64 = "$host_cpu"; then 14831 # AIX 5 now supports IA64 processor 14832 lt_prog_compiler_static_CXX='-Bstatic' 14833 else 14834 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 14835 fi 14836 ;; 14837 chorus*) 14838 case $cc_basename in 14839 cxch68*) 14840 # Green Hills C++ Compiler 14841 # _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" 14842 ;; 14843 esac 14844 ;; 14845 mingw* | cygwin* | os2* | pw32* | cegcc*) 14846 # This hack is so that the source file can tell whether it is being 14847 # built for inclusion in a dll (and should export symbols for example). 14848 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14849 ;; 14850 dgux*) 14851 case $cc_basename in 14852 ec++*) 14853 lt_prog_compiler_pic_CXX='-KPIC' 14854 ;; 14855 ghcx*) 14856 # Green Hills C++ Compiler 14857 lt_prog_compiler_pic_CXX='-pic' 14858 ;; 14859 *) 14860 ;; 14861 esac 14862 ;; 14863 freebsd* | dragonfly*) 14864 # FreeBSD uses GNU C++ 14865 ;; 14866 hpux9* | hpux10* | hpux11*) 14867 case $cc_basename in 14868 CC*) 14869 lt_prog_compiler_wl_CXX='-Wl,' 14870 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14871 if test ia64 != "$host_cpu"; then 14872 lt_prog_compiler_pic_CXX='+Z' 14873 fi 14874 ;; 14875 aCC*) 14876 lt_prog_compiler_wl_CXX='-Wl,' 14877 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14878 case $host_cpu in 14879 hppa*64*|ia64*) 14880 # +Z the default 14881 ;; 14882 *) 14883 lt_prog_compiler_pic_CXX='+Z' 14884 ;; 14885 esac 14886 ;; 14887 *) 14888 ;; 14889 esac 14890 ;; 14891 interix*) 14892 # This is c89, which is MS Visual C++ (no shared libs) 14893 # Anyone wants to do a port? 14894 ;; 14895 irix5* | irix6* | nonstopux*) 14896 case $cc_basename in 14897 CC*) 14898 lt_prog_compiler_wl_CXX='-Wl,' 14899 lt_prog_compiler_static_CXX='-non_shared' 14900 # CC pic flag -KPIC is the default. 14901 ;; 14902 *) 14903 ;; 14904 esac 14905 ;; 14906 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14907 case $cc_basename in 14908 KCC*) 14909 # KAI C++ Compiler 14910 lt_prog_compiler_wl_CXX='--backend -Wl,' 14911 lt_prog_compiler_pic_CXX='-fPIC' 14912 ;; 14913 ecpc* ) 14914 # old Intel C++ for x86_64, which still supported -KPIC. 14915 lt_prog_compiler_wl_CXX='-Wl,' 14916 lt_prog_compiler_pic_CXX='-KPIC' 14917 lt_prog_compiler_static_CXX='-static' 14918 ;; 14919 icpc* ) 14920 # Intel C++, used to be incompatible with GCC. 14921 # ICC 10 doesn't accept -KPIC any more. 14922 lt_prog_compiler_wl_CXX='-Wl,' 14923 lt_prog_compiler_pic_CXX='-fPIC' 14924 lt_prog_compiler_static_CXX='-static' 14925 ;; 14926 pgCC* | pgcpp*) 14927 # Portland Group C++ compiler 14928 lt_prog_compiler_wl_CXX='-Wl,' 14929 lt_prog_compiler_pic_CXX='-fpic' 14930 lt_prog_compiler_static_CXX='-Bstatic' 14931 ;; 14932 cxx*) 14933 # Compaq C++ 14934 # Make sure the PIC flag is empty. It appears that all Alpha 14935 # Linux and Compaq Tru64 Unix objects are PIC. 14936 lt_prog_compiler_pic_CXX= 14937 lt_prog_compiler_static_CXX='-non_shared' 14938 ;; 14939 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 14940 # IBM XL 8.0, 9.0 on PPC and BlueGene 14941 lt_prog_compiler_wl_CXX='-Wl,' 14942 lt_prog_compiler_pic_CXX='-qpic' 14943 lt_prog_compiler_static_CXX='-qstaticlink' 14944 ;; 14945 *) 14946 case `$CC -V 2>&1 | sed 5q` in 14947 *Sun\ C*) 14948 # Sun C++ 5.9 14949 lt_prog_compiler_pic_CXX='-KPIC' 14950 lt_prog_compiler_static_CXX='-Bstatic' 14951 lt_prog_compiler_wl_CXX='-Qoption ld ' 14952 ;; 14953 esac 14954 ;; 14955 esac 14956 ;; 14957 lynxos*) 14958 ;; 14959 m88k*) 14960 ;; 14961 mvs*) 14962 case $cc_basename in 14963 cxx*) 14964 lt_prog_compiler_pic_CXX='-W c,exportall' 14965 ;; 14966 *) 14967 ;; 14968 esac 14969 ;; 14970 netbsd* | netbsdelf*-gnu) 14971 ;; 14972 *qnx* | *nto*) 14973 # QNX uses GNU C++, but need to define -shared option too, otherwise 14974 # it will coredump. 14975 lt_prog_compiler_pic_CXX='-fPIC -shared' 14976 ;; 14977 osf3* | osf4* | osf5*) 14978 case $cc_basename in 14979 KCC*) 14980 lt_prog_compiler_wl_CXX='--backend -Wl,' 14981 ;; 14982 RCC*) 14983 # Rational C++ 2.4.1 14984 lt_prog_compiler_pic_CXX='-pic' 14985 ;; 14986 cxx*) 14987 # Digital/Compaq C++ 14988 lt_prog_compiler_wl_CXX='-Wl,' 14989 # Make sure the PIC flag is empty. It appears that all Alpha 14990 # Linux and Compaq Tru64 Unix objects are PIC. 14991 lt_prog_compiler_pic_CXX= 14992 lt_prog_compiler_static_CXX='-non_shared' 14993 ;; 14994 *) 14995 ;; 14996 esac 14997 ;; 14998 psos*) 14999 ;; 15000 solaris*) 15001 case $cc_basename in 15002 CC* | sunCC*) 15003 # Sun C++ 4.2, 5.x and Centerline C++ 15004 lt_prog_compiler_pic_CXX='-KPIC' 15005 lt_prog_compiler_static_CXX='-Bstatic' 15006 lt_prog_compiler_wl_CXX='-Qoption ld ' 15007 ;; 15008 gcx*) 15009 # Green Hills C++ Compiler 15010 lt_prog_compiler_pic_CXX='-PIC' 15011 ;; 15012 *) 15013 ;; 15014 esac 15015 ;; 15016 sunos4*) 15017 case $cc_basename in 15018 CC*) 15019 # Sun C++ 4.x 15020 lt_prog_compiler_pic_CXX='-pic' 15021 lt_prog_compiler_static_CXX='-Bstatic' 15022 ;; 15023 lcc*) 15024 # Lucid 15025 lt_prog_compiler_pic_CXX='-pic' 15026 ;; 15027 *) 15028 ;; 15029 esac 15030 ;; 15031 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15032 case $cc_basename in 15033 CC*) 15034 lt_prog_compiler_wl_CXX='-Wl,' 15035 lt_prog_compiler_pic_CXX='-KPIC' 15036 lt_prog_compiler_static_CXX='-Bstatic' 15037 ;; 15038 esac 15039 ;; 15040 tandem*) 15041 case $cc_basename in 15042 NCC*) 15043 # NonStop-UX NCC 3.20 15044 lt_prog_compiler_pic_CXX='-KPIC' 15045 ;; 15046 *) 15047 ;; 15048 esac 15049 ;; 15050 vxworks*) 15051 ;; 15052 *) 15053 lt_prog_compiler_can_build_shared_CXX=no 15054 ;; 15055 esac 15056 fi 15057 15058case $host_os in 15059 # For platforms that do not support PIC, -DPIC is meaningless: 15060 *djgpp*) 15061 lt_prog_compiler_pic_CXX= 15062 ;; 15063 *) 15064 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15065 ;; 15066esac 15067 15068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15069$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15070if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15071 $as_echo_n "(cached) " >&6 15072else 15073 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15074fi 15075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15076$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15077lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15078 15079# 15080# Check to make sure the PIC flag actually works. 15081# 15082if test -n "$lt_prog_compiler_pic_CXX"; then 15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15084$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15085if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15086 $as_echo_n "(cached) " >&6 15087else 15088 lt_cv_prog_compiler_pic_works_CXX=no 15089 ac_outfile=conftest.$ac_objext 15090 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15091 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15092 # Insert the option either (1) after the last *FLAGS variable, or 15093 # (2) before a word containing "conftest.", or (3) at the end. 15094 # Note that $ac_compile itself does not contain backslashes and begins 15095 # with a dollar sign (not a hyphen), so the echo should work correctly. 15096 # The option is referenced via a variable to avoid confusing sed. 15097 lt_compile=`echo "$ac_compile" | $SED \ 15098 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15099 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15100 -e 's:$: $lt_compiler_flag:'` 15101 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15102 (eval "$lt_compile" 2>conftest.err) 15103 ac_status=$? 15104 cat conftest.err >&5 15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15106 if (exit $ac_status) && test -s "$ac_outfile"; then 15107 # The compiler can only warn and ignore the option if not recognized 15108 # So say no if there are warnings other than the usual output. 15109 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15110 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15111 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15112 lt_cv_prog_compiler_pic_works_CXX=yes 15113 fi 15114 fi 15115 $RM conftest* 15116 15117fi 15118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15119$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15120 15121if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15122 case $lt_prog_compiler_pic_CXX in 15123 "" | " "*) ;; 15124 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15125 esac 15126else 15127 lt_prog_compiler_pic_CXX= 15128 lt_prog_compiler_can_build_shared_CXX=no 15129fi 15130 15131fi 15132 15133 15134 15135 15136 15137# 15138# Check to make sure the static flag actually works. 15139# 15140wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15142$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15143if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15144 $as_echo_n "(cached) " >&6 15145else 15146 lt_cv_prog_compiler_static_works_CXX=no 15147 save_LDFLAGS=$LDFLAGS 15148 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15149 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15150 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15151 # The linker can only warn and ignore the option if not recognized 15152 # So say no if there are warnings 15153 if test -s conftest.err; then 15154 # Append any errors to the config.log. 15155 cat conftest.err 1>&5 15156 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15157 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15158 if diff conftest.exp conftest.er2 >/dev/null; then 15159 lt_cv_prog_compiler_static_works_CXX=yes 15160 fi 15161 else 15162 lt_cv_prog_compiler_static_works_CXX=yes 15163 fi 15164 fi 15165 $RM -r conftest* 15166 LDFLAGS=$save_LDFLAGS 15167 15168fi 15169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15170$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15171 15172if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15173 : 15174else 15175 lt_prog_compiler_static_CXX= 15176fi 15177 15178 15179 15180 15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15182$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15183if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15184 $as_echo_n "(cached) " >&6 15185else 15186 lt_cv_prog_compiler_c_o_CXX=no 15187 $RM -r conftest 2>/dev/null 15188 mkdir conftest 15189 cd conftest 15190 mkdir out 15191 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15192 15193 lt_compiler_flag="-o out/conftest2.$ac_objext" 15194 # Insert the option either (1) after the last *FLAGS variable, or 15195 # (2) before a word containing "conftest.", or (3) at the end. 15196 # Note that $ac_compile itself does not contain backslashes and begins 15197 # with a dollar sign (not a hyphen), so the echo should work correctly. 15198 lt_compile=`echo "$ac_compile" | $SED \ 15199 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15200 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15201 -e 's:$: $lt_compiler_flag:'` 15202 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15203 (eval "$lt_compile" 2>out/conftest.err) 15204 ac_status=$? 15205 cat out/conftest.err >&5 15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15207 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15208 then 15209 # The compiler can only warn and ignore the option if not recognized 15210 # So say no if there are warnings 15211 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15212 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15213 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15214 lt_cv_prog_compiler_c_o_CXX=yes 15215 fi 15216 fi 15217 chmod u+w . 2>&5 15218 $RM conftest* 15219 # SGI C++ compiler will create directory out/ii_files/ for 15220 # template instantiation 15221 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15222 $RM out/* && rmdir out 15223 cd .. 15224 $RM -r conftest 15225 $RM conftest* 15226 15227fi 15228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15229$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15230 15231 15232 15233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15234$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15235if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15236 $as_echo_n "(cached) " >&6 15237else 15238 lt_cv_prog_compiler_c_o_CXX=no 15239 $RM -r conftest 2>/dev/null 15240 mkdir conftest 15241 cd conftest 15242 mkdir out 15243 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15244 15245 lt_compiler_flag="-o out/conftest2.$ac_objext" 15246 # Insert the option either (1) after the last *FLAGS variable, or 15247 # (2) before a word containing "conftest.", or (3) at the end. 15248 # Note that $ac_compile itself does not contain backslashes and begins 15249 # with a dollar sign (not a hyphen), so the echo should work correctly. 15250 lt_compile=`echo "$ac_compile" | $SED \ 15251 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15252 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15253 -e 's:$: $lt_compiler_flag:'` 15254 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15255 (eval "$lt_compile" 2>out/conftest.err) 15256 ac_status=$? 15257 cat out/conftest.err >&5 15258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15259 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15260 then 15261 # The compiler can only warn and ignore the option if not recognized 15262 # So say no if there are warnings 15263 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15264 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15265 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15266 lt_cv_prog_compiler_c_o_CXX=yes 15267 fi 15268 fi 15269 chmod u+w . 2>&5 15270 $RM conftest* 15271 # SGI C++ compiler will create directory out/ii_files/ for 15272 # template instantiation 15273 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15274 $RM out/* && rmdir out 15275 cd .. 15276 $RM -r conftest 15277 $RM conftest* 15278 15279fi 15280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15281$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15282 15283 15284 15285 15286hard_links=nottested 15287if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15288 # do not overwrite the value of need_locks provided by the user 15289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15290$as_echo_n "checking if we can lock with hard links... " >&6; } 15291 hard_links=yes 15292 $RM conftest* 15293 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15294 touch conftest.a 15295 ln conftest.a conftest.b 2>&5 || hard_links=no 15296 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15298$as_echo "$hard_links" >&6; } 15299 if test no = "$hard_links"; then 15300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15301$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15302 need_locks=warn 15303 fi 15304else 15305 need_locks=no 15306fi 15307 15308 15309 15310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15311$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15312 15313 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15314 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15315 case $host_os in 15316 aix[4-9]*) 15317 # If we're using GNU nm, then we don't want the "-C" option. 15318 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15319 # Without the "-l" option, or with the "-B" option, AIX nm treats 15320 # weak defined symbols like other global defined symbols, whereas 15321 # GNU nm marks them as "W". 15322 # While the 'weak' keyword is ignored in the Export File, we need 15323 # it in the Import File for the 'aix-soname' feature, so we have 15324 # to replace the "-B" option with "-P" for AIX nm. 15325 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15326 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 15327 else 15328 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 15329 fi 15330 ;; 15331 pw32*) 15332 export_symbols_cmds_CXX=$ltdll_cmds 15333 ;; 15334 cygwin* | mingw* | cegcc*) 15335 case $cc_basename in 15336 cl*) 15337 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15338 ;; 15339 *) 15340 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' 15341 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15342 ;; 15343 esac 15344 ;; 15345 linux* | k*bsd*-gnu | gnu*) 15346 link_all_deplibs_CXX=no 15347 ;; 15348 *) 15349 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15350 ;; 15351 esac 15352 15353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15354$as_echo "$ld_shlibs_CXX" >&6; } 15355test no = "$ld_shlibs_CXX" && can_build_shared=no 15356 15357with_gnu_ld_CXX=$with_gnu_ld 15358 15359 15360 15361 15362 15363 15364# 15365# Do we need to explicitly link libc? 15366# 15367case "x$archive_cmds_need_lc_CXX" in 15368x|xyes) 15369 # Assume -lc should be added 15370 archive_cmds_need_lc_CXX=yes 15371 15372 if test yes,yes = "$GCC,$enable_shared"; then 15373 case $archive_cmds_CXX in 15374 *'~'*) 15375 # FIXME: we may have to deal with multi-command sequences. 15376 ;; 15377 '$CC '*) 15378 # Test whether the compiler implicitly links with -lc since on some 15379 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15380 # to ld, don't add -lc before -lgcc. 15381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15382$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15383if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 15384 $as_echo_n "(cached) " >&6 15385else 15386 $RM conftest* 15387 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15388 15389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15390 (eval $ac_compile) 2>&5 15391 ac_status=$? 15392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15393 test $ac_status = 0; } 2>conftest.err; then 15394 soname=conftest 15395 lib=conftest 15396 libobjs=conftest.$ac_objext 15397 deplibs= 15398 wl=$lt_prog_compiler_wl_CXX 15399 pic_flag=$lt_prog_compiler_pic_CXX 15400 compiler_flags=-v 15401 linker_flags=-v 15402 verstring= 15403 output_objdir=. 15404 libname=conftest 15405 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 15406 allow_undefined_flag_CXX= 15407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15408 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15409 ac_status=$? 15410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15411 test $ac_status = 0; } 15412 then 15413 lt_cv_archive_cmds_need_lc_CXX=no 15414 else 15415 lt_cv_archive_cmds_need_lc_CXX=yes 15416 fi 15417 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 15418 else 15419 cat conftest.err 1>&5 15420 fi 15421 $RM conftest* 15422 15423fi 15424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 15425$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 15426 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 15427 ;; 15428 esac 15429 fi 15430 ;; 15431esac 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15495$as_echo_n "checking dynamic linker characteristics... " >&6; } 15496 15497library_names_spec= 15498libname_spec='lib$name' 15499soname_spec= 15500shrext_cmds=.so 15501postinstall_cmds= 15502postuninstall_cmds= 15503finish_cmds= 15504finish_eval= 15505shlibpath_var= 15506shlibpath_overrides_runpath=unknown 15507version_type=none 15508dynamic_linker="$host_os ld.so" 15509sys_lib_dlsearch_path_spec="/lib /usr/lib" 15510need_lib_prefix=unknown 15511hardcode_into_libs=no 15512 15513# when you set need_version to no, make sure it does not cause -set_version 15514# flags to be left without arguments 15515need_version=unknown 15516 15517 15518 15519case $host_os in 15520aix3*) 15521 version_type=linux # correct to gnu/linux during the next big refactor 15522 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 15523 shlibpath_var=LIBPATH 15524 15525 # AIX 3 has no versioning support, so we append a major version to the name. 15526 soname_spec='$libname$release$shared_ext$major' 15527 ;; 15528 15529aix[4-9]*) 15530 version_type=linux # correct to gnu/linux during the next big refactor 15531 need_lib_prefix=no 15532 need_version=no 15533 hardcode_into_libs=yes 15534 if test ia64 = "$host_cpu"; then 15535 # AIX 5 supports IA64 15536 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 15537 shlibpath_var=LD_LIBRARY_PATH 15538 else 15539 # With GCC up to 2.95.x, collect2 would create an import file 15540 # for dependence libraries. The import file would start with 15541 # the line '#! .'. This would cause the generated library to 15542 # depend on '.', always an invalid library. This was fixed in 15543 # development snapshots of GCC prior to 3.0. 15544 case $host_os in 15545 aix4 | aix4.[01] | aix4.[01].*) 15546 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15547 echo ' yes ' 15548 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 15549 : 15550 else 15551 can_build_shared=no 15552 fi 15553 ;; 15554 esac 15555 # Using Import Files as archive members, it is possible to support 15556 # filename-based versioning of shared library archives on AIX. While 15557 # this would work for both with and without runtime linking, it will 15558 # prevent static linking of such archives. So we do filename-based 15559 # shared library versioning with .so extension only, which is used 15560 # when both runtime linking and shared linking is enabled. 15561 # Unfortunately, runtime linking may impact performance, so we do 15562 # not want this to be the default eventually. Also, we use the 15563 # versioned .so libs for executables only if there is the -brtl 15564 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 15565 # To allow for filename-based versioning support, we need to create 15566 # libNAME.so.V as an archive file, containing: 15567 # *) an Import File, referring to the versioned filename of the 15568 # archive as well as the shared archive member, telling the 15569 # bitwidth (32 or 64) of that shared object, and providing the 15570 # list of exported symbols of that shared object, eventually 15571 # decorated with the 'weak' keyword 15572 # *) the shared object with the F_LOADONLY flag set, to really avoid 15573 # it being seen by the linker. 15574 # At run time we better use the real file rather than another symlink, 15575 # but for link time we create the symlink libNAME.so -> libNAME.so.V 15576 15577 case $with_aix_soname,$aix_use_runtimelinking in 15578 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 15579 # soname into executable. Probably we can add versioning support to 15580 # collect2, so additional links can be useful in future. 15581 aix,yes) # traditional libtool 15582 dynamic_linker='AIX unversionable lib.so' 15583 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15584 # instead of lib<name>.a to let people know that these are not 15585 # typical AIX shared libraries. 15586 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15587 ;; 15588 aix,no) # traditional AIX only 15589 dynamic_linker='AIX lib.a(lib.so.V)' 15590 # We preserve .a as extension for shared libraries through AIX4.2 15591 # and later when we are not doing run time linking. 15592 library_names_spec='$libname$release.a $libname.a' 15593 soname_spec='$libname$release$shared_ext$major' 15594 ;; 15595 svr4,*) # full svr4 only 15596 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 15597 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15598 # We do not specify a path in Import Files, so LIBPATH fires. 15599 shlibpath_overrides_runpath=yes 15600 ;; 15601 *,yes) # both, prefer svr4 15602 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 15603 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15604 # unpreferred sharedlib libNAME.a needs extra handling 15605 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 15606 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 15607 # We do not specify a path in Import Files, so LIBPATH fires. 15608 shlibpath_overrides_runpath=yes 15609 ;; 15610 *,no) # both, prefer aix 15611 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 15612 library_names_spec='$libname$release.a $libname.a' 15613 soname_spec='$libname$release$shared_ext$major' 15614 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 15615 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 15616 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 15617 ;; 15618 esac 15619 shlibpath_var=LIBPATH 15620 fi 15621 ;; 15622 15623amigaos*) 15624 case $host_cpu in 15625 powerpc) 15626 # Since July 2007 AmigaOS4 officially supports .so libraries. 15627 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15628 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15629 ;; 15630 m68k) 15631 library_names_spec='$libname.ixlibrary $libname.a' 15632 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15633 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 15634 ;; 15635 esac 15636 ;; 15637 15638beos*) 15639 library_names_spec='$libname$shared_ext' 15640 dynamic_linker="$host_os ld.so" 15641 shlibpath_var=LIBRARY_PATH 15642 ;; 15643 15644bsdi[45]*) 15645 version_type=linux # correct to gnu/linux during the next big refactor 15646 need_version=no 15647 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15648 soname_spec='$libname$release$shared_ext$major' 15649 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15650 shlibpath_var=LD_LIBRARY_PATH 15651 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15652 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15653 # the default ld.so.conf also contains /usr/contrib/lib and 15654 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15655 # libtool to hard-code these into programs 15656 ;; 15657 15658cygwin* | mingw* | pw32* | cegcc*) 15659 version_type=windows 15660 shrext_cmds=.dll 15661 need_version=no 15662 need_lib_prefix=no 15663 15664 case $GCC,$cc_basename in 15665 yes,*) 15666 # gcc 15667 library_names_spec='$libname.dll.a' 15668 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15669 postinstall_cmds='base_file=`basename \$file`~ 15670 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15671 dldir=$destdir/`dirname \$dlpath`~ 15672 test -d \$dldir || mkdir -p \$dldir~ 15673 $install_prog $dir/$dlname \$dldir/$dlname~ 15674 chmod a+x \$dldir/$dlname~ 15675 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15676 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15677 fi' 15678 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15679 dlpath=$dir/\$dldll~ 15680 $RM \$dlpath' 15681 shlibpath_overrides_runpath=yes 15682 15683 case $host_os in 15684 cygwin*) 15685 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15686 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15687 15688 ;; 15689 mingw* | cegcc*) 15690 # MinGW DLLs use traditional 'lib' prefix 15691 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15692 ;; 15693 pw32*) 15694 # pw32 DLLs use 'pw' prefix rather than 'lib' 15695 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15696 ;; 15697 esac 15698 dynamic_linker='Win32 ld.exe' 15699 ;; 15700 15701 *,cl*) 15702 # Native MSVC 15703 libname_spec='$name' 15704 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15705 library_names_spec='$libname.dll.lib' 15706 15707 case $build_os in 15708 mingw*) 15709 sys_lib_search_path_spec= 15710 lt_save_ifs=$IFS 15711 IFS=';' 15712 for lt_path in $LIB 15713 do 15714 IFS=$lt_save_ifs 15715 # Let DOS variable expansion print the short 8.3 style file name. 15716 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15717 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15718 done 15719 IFS=$lt_save_ifs 15720 # Convert to MSYS style. 15721 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15722 ;; 15723 cygwin*) 15724 # Convert to unix form, then to dos form, then back to unix form 15725 # but this time dos style (no spaces!) so that the unix form looks 15726 # like /cygdrive/c/PROGRA~1:/cygdr... 15727 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15728 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15729 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15730 ;; 15731 *) 15732 sys_lib_search_path_spec=$LIB 15733 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15734 # It is most probably a Windows format PATH. 15735 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15736 else 15737 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15738 fi 15739 # FIXME: find the short name or the path components, as spaces are 15740 # common. (e.g. "Program Files" -> "PROGRA~1") 15741 ;; 15742 esac 15743 15744 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15745 postinstall_cmds='base_file=`basename \$file`~ 15746 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15747 dldir=$destdir/`dirname \$dlpath`~ 15748 test -d \$dldir || mkdir -p \$dldir~ 15749 $install_prog $dir/$dlname \$dldir/$dlname' 15750 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15751 dlpath=$dir/\$dldll~ 15752 $RM \$dlpath' 15753 shlibpath_overrides_runpath=yes 15754 dynamic_linker='Win32 link.exe' 15755 ;; 15756 15757 *) 15758 # Assume MSVC wrapper 15759 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 15760 dynamic_linker='Win32 ld.exe' 15761 ;; 15762 esac 15763 # FIXME: first we should search . and the directory the executable is in 15764 shlibpath_var=PATH 15765 ;; 15766 15767darwin* | rhapsody*) 15768 dynamic_linker="$host_os dyld" 15769 version_type=darwin 15770 need_lib_prefix=no 15771 need_version=no 15772 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 15773 soname_spec='$libname$release$major$shared_ext' 15774 shlibpath_overrides_runpath=yes 15775 shlibpath_var=DYLD_LIBRARY_PATH 15776 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15777 15778 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15779 ;; 15780 15781dgux*) 15782 version_type=linux # correct to gnu/linux during the next big refactor 15783 need_lib_prefix=no 15784 need_version=no 15785 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15786 soname_spec='$libname$release$shared_ext$major' 15787 shlibpath_var=LD_LIBRARY_PATH 15788 ;; 15789 15790freebsd* | dragonfly*) 15791 # DragonFly does not have aout. When/if they implement a new 15792 # versioning mechanism, adjust this. 15793 if test -x /usr/bin/objformat; then 15794 objformat=`/usr/bin/objformat` 15795 else 15796 case $host_os in 15797 freebsd[23].*) objformat=aout ;; 15798 *) objformat=elf ;; 15799 esac 15800 fi 15801 version_type=freebsd-$objformat 15802 case $version_type in 15803 freebsd-elf*) 15804 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15805 soname_spec='$libname$release$shared_ext$major' 15806 need_version=no 15807 need_lib_prefix=no 15808 ;; 15809 freebsd-*) 15810 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15811 need_version=yes 15812 ;; 15813 esac 15814 shlibpath_var=LD_LIBRARY_PATH 15815 case $host_os in 15816 freebsd2.*) 15817 shlibpath_overrides_runpath=yes 15818 ;; 15819 freebsd3.[01]* | freebsdelf3.[01]*) 15820 shlibpath_overrides_runpath=yes 15821 hardcode_into_libs=yes 15822 ;; 15823 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15824 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15825 shlibpath_overrides_runpath=no 15826 hardcode_into_libs=yes 15827 ;; 15828 *) # from 4.6 on, and DragonFly 15829 shlibpath_overrides_runpath=yes 15830 hardcode_into_libs=yes 15831 ;; 15832 esac 15833 ;; 15834 15835haiku*) 15836 version_type=linux # correct to gnu/linux during the next big refactor 15837 need_lib_prefix=no 15838 need_version=no 15839 dynamic_linker="$host_os runtime_loader" 15840 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15841 soname_spec='$libname$release$shared_ext$major' 15842 shlibpath_var=LIBRARY_PATH 15843 shlibpath_overrides_runpath=no 15844 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 15845 hardcode_into_libs=yes 15846 ;; 15847 15848hpux9* | hpux10* | hpux11*) 15849 # Give a soname corresponding to the major version so that dld.sl refuses to 15850 # link against other versions. 15851 version_type=sunos 15852 need_lib_prefix=no 15853 need_version=no 15854 case $host_cpu in 15855 ia64*) 15856 shrext_cmds='.so' 15857 hardcode_into_libs=yes 15858 dynamic_linker="$host_os dld.so" 15859 shlibpath_var=LD_LIBRARY_PATH 15860 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15861 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15862 soname_spec='$libname$release$shared_ext$major' 15863 if test 32 = "$HPUX_IA64_MODE"; then 15864 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15865 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 15866 else 15867 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15868 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 15869 fi 15870 ;; 15871 hppa*64*) 15872 shrext_cmds='.sl' 15873 hardcode_into_libs=yes 15874 dynamic_linker="$host_os dld.sl" 15875 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15876 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15877 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15878 soname_spec='$libname$release$shared_ext$major' 15879 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15880 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15881 ;; 15882 *) 15883 shrext_cmds='.sl' 15884 dynamic_linker="$host_os dld.sl" 15885 shlibpath_var=SHLIB_PATH 15886 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 15887 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15888 soname_spec='$libname$release$shared_ext$major' 15889 ;; 15890 esac 15891 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 15892 postinstall_cmds='chmod 555 $lib' 15893 # or fails outright, so override atomically: 15894 install_override_mode=555 15895 ;; 15896 15897interix[3-9]*) 15898 version_type=linux # correct to gnu/linux during the next big refactor 15899 need_lib_prefix=no 15900 need_version=no 15901 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15902 soname_spec='$libname$release$shared_ext$major' 15903 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 15904 shlibpath_var=LD_LIBRARY_PATH 15905 shlibpath_overrides_runpath=no 15906 hardcode_into_libs=yes 15907 ;; 15908 15909irix5* | irix6* | nonstopux*) 15910 case $host_os in 15911 nonstopux*) version_type=nonstopux ;; 15912 *) 15913 if test yes = "$lt_cv_prog_gnu_ld"; then 15914 version_type=linux # correct to gnu/linux during the next big refactor 15915 else 15916 version_type=irix 15917 fi ;; 15918 esac 15919 need_lib_prefix=no 15920 need_version=no 15921 soname_spec='$libname$release$shared_ext$major' 15922 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 15923 case $host_os in 15924 irix5* | nonstopux*) 15925 libsuff= shlibsuff= 15926 ;; 15927 *) 15928 case $LD in # libtool.m4 will add one of these switches to LD 15929 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 15930 libsuff= shlibsuff= libmagic=32-bit;; 15931 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 15932 libsuff=32 shlibsuff=N32 libmagic=N32;; 15933 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 15934 libsuff=64 shlibsuff=64 libmagic=64-bit;; 15935 *) libsuff= shlibsuff= libmagic=never-match;; 15936 esac 15937 ;; 15938 esac 15939 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 15940 shlibpath_overrides_runpath=no 15941 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 15942 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 15943 hardcode_into_libs=yes 15944 ;; 15945 15946# No shared lib support for Linux oldld, aout, or coff. 15947linux*oldld* | linux*aout* | linux*coff*) 15948 dynamic_linker=no 15949 ;; 15950 15951linux*android*) 15952 version_type=none # Android doesn't support versioned libraries. 15953 need_lib_prefix=no 15954 need_version=no 15955 library_names_spec='$libname$release$shared_ext' 15956 soname_spec='$libname$release$shared_ext' 15957 finish_cmds= 15958 shlibpath_var=LD_LIBRARY_PATH 15959 shlibpath_overrides_runpath=yes 15960 15961 # This implies no fast_install, which is unacceptable. 15962 # Some rework will be needed to allow for fast_install 15963 # before this can be enabled. 15964 hardcode_into_libs=yes 15965 15966 dynamic_linker='Android linker' 15967 # Don't embed -rpath directories since the linker doesn't support them. 15968 hardcode_libdir_flag_spec_CXX='-L$libdir' 15969 ;; 15970 15971# This must be glibc/ELF. 15972linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15973 version_type=linux # correct to gnu/linux during the next big refactor 15974 need_lib_prefix=no 15975 need_version=no 15976 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15977 soname_spec='$libname$release$shared_ext$major' 15978 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 15979 shlibpath_var=LD_LIBRARY_PATH 15980 shlibpath_overrides_runpath=no 15981 15982 # Some binutils ld are patched to set DT_RUNPATH 15983 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 15984 $as_echo_n "(cached) " >&6 15985else 15986 lt_cv_shlibpath_overrides_runpath=no 15987 save_LDFLAGS=$LDFLAGS 15988 save_libdir=$libdir 15989 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 15990 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 15991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15992/* end confdefs.h. */ 15993 15994int 15995main () 15996{ 15997 15998 ; 15999 return 0; 16000} 16001_ACEOF 16002if ac_fn_cxx_try_link "$LINENO"; then : 16003 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16004 lt_cv_shlibpath_overrides_runpath=yes 16005fi 16006fi 16007rm -f core conftest.err conftest.$ac_objext \ 16008 conftest$ac_exeext conftest.$ac_ext 16009 LDFLAGS=$save_LDFLAGS 16010 libdir=$save_libdir 16011 16012fi 16013 16014 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16015 16016 # This implies no fast_install, which is unacceptable. 16017 # Some rework will be needed to allow for fast_install 16018 # before this can be enabled. 16019 hardcode_into_libs=yes 16020 16021 # Ideally, we could use ldconfig to report *all* directores which are 16022 # searched for libraries, however this is still not possible. Aside from not 16023 # being certain /sbin/ldconfig is available, command 16024 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16025 # even though it is searched at run-time. Try to do the best guess by 16026 # appending ld.so.conf contents (and includes) to the search path. 16027 if test -f /etc/ld.so.conf; then 16028 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' ' '` 16029 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 16030 fi 16031 16032 # We used to test for /lib/ld.so.1 and disable shared libraries on 16033 # powerpc, because MkLinux only supported shared libraries with the 16034 # GNU dynamic linker. Since this was broken with cross compilers, 16035 # most powerpc-linux boxes support dynamic linking these days and 16036 # people can always --disable-shared, the test was removed, and we 16037 # assume the GNU/Linux dynamic linker is in use. 16038 dynamic_linker='GNU/Linux ld.so' 16039 ;; 16040 16041netbsdelf*-gnu) 16042 version_type=linux 16043 need_lib_prefix=no 16044 need_version=no 16045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16046 soname_spec='${libname}${release}${shared_ext}$major' 16047 shlibpath_var=LD_LIBRARY_PATH 16048 shlibpath_overrides_runpath=no 16049 hardcode_into_libs=yes 16050 dynamic_linker='NetBSD ld.elf_so' 16051 ;; 16052 16053netbsd*) 16054 version_type=sunos 16055 need_lib_prefix=no 16056 need_version=no 16057 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16058 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16059 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16060 dynamic_linker='NetBSD (a.out) ld.so' 16061 else 16062 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16063 soname_spec='$libname$release$shared_ext$major' 16064 dynamic_linker='NetBSD ld.elf_so' 16065 fi 16066 shlibpath_var=LD_LIBRARY_PATH 16067 shlibpath_overrides_runpath=yes 16068 hardcode_into_libs=yes 16069 ;; 16070 16071newsos6) 16072 version_type=linux # correct to gnu/linux during the next big refactor 16073 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16074 shlibpath_var=LD_LIBRARY_PATH 16075 shlibpath_overrides_runpath=yes 16076 ;; 16077 16078*nto* | *qnx*) 16079 version_type=qnx 16080 need_lib_prefix=no 16081 need_version=no 16082 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16083 soname_spec='$libname$release$shared_ext$major' 16084 shlibpath_var=LD_LIBRARY_PATH 16085 shlibpath_overrides_runpath=no 16086 hardcode_into_libs=yes 16087 dynamic_linker='ldqnx.so' 16088 ;; 16089 16090openbsd* | bitrig*) 16091 version_type=sunos 16092 sys_lib_dlsearch_path_spec=/usr/lib 16093 need_lib_prefix=no 16094 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16095 need_version=no 16096 else 16097 need_version=yes 16098 fi 16099 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16100 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16101 shlibpath_var=LD_LIBRARY_PATH 16102 shlibpath_overrides_runpath=yes 16103 ;; 16104 16105os2*) 16106 libname_spec='$name' 16107 version_type=windows 16108 shrext_cmds=.dll 16109 need_version=no 16110 need_lib_prefix=no 16111 # OS/2 can only load a DLL with a base name of 8 characters or less. 16112 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16113 v=$($ECHO $release$versuffix | tr -d .-); 16114 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16115 $ECHO $n$v`$shared_ext' 16116 library_names_spec='${libname}_dll.$libext' 16117 dynamic_linker='OS/2 ld.exe' 16118 shlibpath_var=BEGINLIBPATH 16119 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16120 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16121 postinstall_cmds='base_file=`basename \$file`~ 16122 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16123 dldir=$destdir/`dirname \$dlpath`~ 16124 test -d \$dldir || mkdir -p \$dldir~ 16125 $install_prog $dir/$dlname \$dldir/$dlname~ 16126 chmod a+x \$dldir/$dlname~ 16127 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16128 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16129 fi' 16130 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16131 dlpath=$dir/\$dldll~ 16132 $RM \$dlpath' 16133 ;; 16134 16135osf3* | osf4* | osf5*) 16136 version_type=osf 16137 need_lib_prefix=no 16138 need_version=no 16139 soname_spec='$libname$release$shared_ext$major' 16140 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16141 shlibpath_var=LD_LIBRARY_PATH 16142 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16143 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16144 ;; 16145 16146rdos*) 16147 dynamic_linker=no 16148 ;; 16149 16150solaris*) 16151 version_type=linux # correct to gnu/linux during the next big refactor 16152 need_lib_prefix=no 16153 need_version=no 16154 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16155 soname_spec='$libname$release$shared_ext$major' 16156 shlibpath_var=LD_LIBRARY_PATH 16157 shlibpath_overrides_runpath=yes 16158 hardcode_into_libs=yes 16159 # ldd complains unless libraries are executable 16160 postinstall_cmds='chmod +x $lib' 16161 ;; 16162 16163sunos4*) 16164 version_type=sunos 16165 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16166 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16167 shlibpath_var=LD_LIBRARY_PATH 16168 shlibpath_overrides_runpath=yes 16169 if test yes = "$with_gnu_ld"; then 16170 need_lib_prefix=no 16171 fi 16172 need_version=yes 16173 ;; 16174 16175sysv4 | sysv4.3*) 16176 version_type=linux # correct to gnu/linux during the next big refactor 16177 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16178 soname_spec='$libname$release$shared_ext$major' 16179 shlibpath_var=LD_LIBRARY_PATH 16180 case $host_vendor in 16181 sni) 16182 shlibpath_overrides_runpath=no 16183 need_lib_prefix=no 16184 runpath_var=LD_RUN_PATH 16185 ;; 16186 siemens) 16187 need_lib_prefix=no 16188 ;; 16189 motorola) 16190 need_lib_prefix=no 16191 need_version=no 16192 shlibpath_overrides_runpath=no 16193 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16194 ;; 16195 esac 16196 ;; 16197 16198sysv4*MP*) 16199 if test -d /usr/nec; then 16200 version_type=linux # correct to gnu/linux during the next big refactor 16201 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16202 soname_spec='$libname$shared_ext.$major' 16203 shlibpath_var=LD_LIBRARY_PATH 16204 fi 16205 ;; 16206 16207sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16208 version_type=sco 16209 need_lib_prefix=no 16210 need_version=no 16211 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16212 soname_spec='$libname$release$shared_ext$major' 16213 shlibpath_var=LD_LIBRARY_PATH 16214 shlibpath_overrides_runpath=yes 16215 hardcode_into_libs=yes 16216 if test yes = "$with_gnu_ld"; then 16217 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16218 else 16219 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16220 case $host_os in 16221 sco3.2v5*) 16222 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16223 ;; 16224 esac 16225 fi 16226 sys_lib_dlsearch_path_spec='/usr/lib' 16227 ;; 16228 16229tpf*) 16230 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16231 version_type=linux # correct to gnu/linux during the next big refactor 16232 need_lib_prefix=no 16233 need_version=no 16234 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16235 shlibpath_var=LD_LIBRARY_PATH 16236 shlibpath_overrides_runpath=no 16237 hardcode_into_libs=yes 16238 ;; 16239 16240uts4*) 16241 version_type=linux # correct to gnu/linux during the next big refactor 16242 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16243 soname_spec='$libname$release$shared_ext$major' 16244 shlibpath_var=LD_LIBRARY_PATH 16245 ;; 16246 16247*) 16248 dynamic_linker=no 16249 ;; 16250esac 16251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16252$as_echo "$dynamic_linker" >&6; } 16253test no = "$dynamic_linker" && can_build_shared=no 16254 16255variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16256if test yes = "$GCC"; then 16257 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16258fi 16259 16260if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16261 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16262fi 16263 16264if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16265 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16266fi 16267 16268# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16269configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16270 16271# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16272func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16273 16274# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16275configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16317$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16318hardcode_action_CXX= 16319if test -n "$hardcode_libdir_flag_spec_CXX" || 16320 test -n "$runpath_var_CXX" || 16321 test yes = "$hardcode_automatic_CXX"; then 16322 16323 # We can hardcode non-existent directories. 16324 if test no != "$hardcode_direct_CXX" && 16325 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16326 # have to relink, otherwise we might link with an installed library 16327 # when we should be linking with a yet-to-be-installed one 16328 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16329 test no != "$hardcode_minus_L_CXX"; then 16330 # Linking always hardcodes the temporary library directory. 16331 hardcode_action_CXX=relink 16332 else 16333 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16334 hardcode_action_CXX=immediate 16335 fi 16336else 16337 # We cannot hardcode anything, or else we can only hardcode existing 16338 # directories. 16339 hardcode_action_CXX=unsupported 16340fi 16341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16342$as_echo "$hardcode_action_CXX" >&6; } 16343 16344if test relink = "$hardcode_action_CXX" || 16345 test yes = "$inherit_rpath_CXX"; then 16346 # Fast installation is not supported 16347 enable_fast_install=no 16348elif test yes = "$shlibpath_overrides_runpath" || 16349 test no = "$enable_shared"; then 16350 # Fast installation is not necessary 16351 enable_fast_install=needless 16352fi 16353 16354 16355 16356 16357 16358 16359 16360 fi # test -n "$compiler" 16361 16362 CC=$lt_save_CC 16363 CFLAGS=$lt_save_CFLAGS 16364 LDCXX=$LD 16365 LD=$lt_save_LD 16366 GCC=$lt_save_GCC 16367 with_gnu_ld=$lt_save_with_gnu_ld 16368 lt_cv_path_LDCXX=$lt_cv_path_LD 16369 lt_cv_path_LD=$lt_save_path_LD 16370 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16371 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16372fi # test yes != "$_lt_caught_CXX_error" 16373 16374ac_ext=c 16375ac_cpp='$CPP $CPPFLAGS' 16376ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16377ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16378ac_compiler_gnu=$ac_cv_c_compiler_gnu 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 ac_config_commands="$ac_config_commands libtool" 16395 16396 16397 16398 16399# Only expand once: 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16410 if test -n "$ac_tool_prefix"; then 16411 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16412set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16414$as_echo_n "checking for $ac_word... " >&6; } 16415if ${ac_cv_path_PKG_CONFIG+:} false; then : 16416 $as_echo_n "(cached) " >&6 16417else 16418 case $PKG_CONFIG in 16419 [\\/]* | ?:[\\/]*) 16420 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16421 ;; 16422 *) 16423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16424for as_dir in $PATH 16425do 16426 IFS=$as_save_IFS 16427 test -z "$as_dir" && as_dir=. 16428 for ac_exec_ext in '' $ac_executable_extensions; do 16429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16430 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16432 break 2 16433 fi 16434done 16435 done 16436IFS=$as_save_IFS 16437 16438 ;; 16439esac 16440fi 16441PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16442if test -n "$PKG_CONFIG"; then 16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16444$as_echo "$PKG_CONFIG" >&6; } 16445else 16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16447$as_echo "no" >&6; } 16448fi 16449 16450 16451fi 16452if test -z "$ac_cv_path_PKG_CONFIG"; then 16453 ac_pt_PKG_CONFIG=$PKG_CONFIG 16454 # Extract the first word of "pkg-config", so it can be a program name with args. 16455set dummy pkg-config; ac_word=$2 16456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16457$as_echo_n "checking for $ac_word... " >&6; } 16458if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16459 $as_echo_n "(cached) " >&6 16460else 16461 case $ac_pt_PKG_CONFIG in 16462 [\\/]* | ?:[\\/]*) 16463 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16464 ;; 16465 *) 16466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16467for as_dir in $PATH 16468do 16469 IFS=$as_save_IFS 16470 test -z "$as_dir" && as_dir=. 16471 for ac_exec_ext in '' $ac_executable_extensions; do 16472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16473 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16475 break 2 16476 fi 16477done 16478 done 16479IFS=$as_save_IFS 16480 16481 ;; 16482esac 16483fi 16484ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16485if test -n "$ac_pt_PKG_CONFIG"; then 16486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16487$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16488else 16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16490$as_echo "no" >&6; } 16491fi 16492 16493 if test "x$ac_pt_PKG_CONFIG" = x; then 16494 PKG_CONFIG="" 16495 else 16496 case $cross_compiling:$ac_tool_warned in 16497yes:) 16498{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16499$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16500ac_tool_warned=yes ;; 16501esac 16502 PKG_CONFIG=$ac_pt_PKG_CONFIG 16503 fi 16504else 16505 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16506fi 16507 16508fi 16509if test -n "$PKG_CONFIG"; then 16510 _pkg_min_version=0.21 16511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16512$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16513 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16515$as_echo "yes" >&6; } 16516 else 16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16518$as_echo "no" >&6; } 16519 PKG_CONFIG="" 16520 fi 16521fi 16522 16523# Extract the first word of "valac", so it can be a program name with args. 16524set dummy valac; ac_word=$2 16525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16526$as_echo_n "checking for $ac_word... " >&6; } 16527if ${ac_cv_path_VALAC+:} false; then : 16528 $as_echo_n "(cached) " >&6 16529else 16530 case $VALAC in 16531 [\\/]* | ?:[\\/]*) 16532 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path. 16533 ;; 16534 *) 16535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16536for as_dir in $PATH 16537do 16538 IFS=$as_save_IFS 16539 test -z "$as_dir" && as_dir=. 16540 for ac_exec_ext in '' $ac_executable_extensions; do 16541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16542 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext" 16543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16544 break 2 16545 fi 16546done 16547 done 16548IFS=$as_save_IFS 16549 16550 test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac" 16551 ;; 16552esac 16553fi 16554VALAC=$ac_cv_path_VALAC 16555if test -n "$VALAC"; then 16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5 16557$as_echo "$VALAC" >&6; } 16558else 16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16560$as_echo "no" >&6; } 16561fi 16562 16563 16564 if test "$VALAC" != valac && test -n "0.22.0"; then : 16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.22.0" >&5 16566$as_echo_n "checking whether $VALAC is at least version 0.22.0... " >&6; } 16567 am__vala_version=`$VALAC --version | sed 's/Vala *//'` 16568 as_arg_v1=0.22.0 16569as_arg_v2="$am__vala_version" 16570awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null 16571case $? in #( 16572 1) : 16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16574$as_echo "yes" >&6; } ;; #( 16575 0) : 16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16577$as_echo "yes" >&6; } ;; #( 16578 2) : 16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16580$as_echo "no" >&6; } 16581 VALAC=valac ;; #( 16582 *) : 16583 ;; 16584esac 16585fi 16586 if test "$VALAC" = valac; then 16587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5 16588$as_echo "$as_me: WARNING: no proper vala compiler found" >&2;} 16589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5 16590$as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;} 16591 else 16592 : 16593 fi 16594if test -z "$VALAC"; then : 16595 as_fn_error $? "\"No Vala compiler found.\"" "$LINENO" 5 16596fi 16597 16598# Check whether --enable-silent-rules was given. 16599if test "${enable_silent_rules+set}" = set; then : 16600 enableval=$enable_silent_rules; 16601fi 16602 16603case $enable_silent_rules in # ((( 16604 yes) AM_DEFAULT_VERBOSITY=0;; 16605 no) AM_DEFAULT_VERBOSITY=1;; 16606 *) AM_DEFAULT_VERBOSITY=0;; 16607esac 16608am_make=${MAKE-make} 16609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 16610$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 16611if ${am_cv_make_support_nested_variables+:} false; then : 16612 $as_echo_n "(cached) " >&6 16613else 16614 if $as_echo 'TRUE=$(BAR$(V)) 16615BAR0=false 16616BAR1=true 16617V=1 16618am__doit: 16619 @$(TRUE) 16620.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 16621 am_cv_make_support_nested_variables=yes 16622else 16623 am_cv_make_support_nested_variables=no 16624fi 16625fi 16626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 16627$as_echo "$am_cv_make_support_nested_variables" >&6; } 16628if test $am_cv_make_support_nested_variables = yes; then 16629 AM_V='$(V)' 16630 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 16631else 16632 AM_V=$AM_DEFAULT_VERBOSITY 16633 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 16634fi 16635AM_BACKSLASH='\' 16636 16637 16638GETTEXT_PACKAGE=zeitgeist 16639 16640 16641cat >>confdefs.h <<_ACEOF 16642#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 16643_ACEOF 16644 16645 16646 16647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 16648$as_echo_n "checking whether NLS is requested... " >&6; } 16649 # Check whether --enable-nls was given. 16650if test "${enable_nls+set}" = set; then : 16651 enableval=$enable_nls; USE_NLS=$enableval 16652else 16653 USE_NLS=yes 16654fi 16655 16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 16657$as_echo "$USE_NLS" >&6; } 16658 16659 16660 16661 16662 GETTEXT_MACRO_VERSION=0.19 16663 16664 16665 16666 16667# Prepare PATH_SEPARATOR. 16668# The user is always right. 16669if test "${PATH_SEPARATOR+set}" != set; then 16670 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 16671 # contains only /bin. Note that ksh looks also at the FPATH variable, 16672 # so we have to set that as well for the test. 16673 PATH_SEPARATOR=: 16674 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 16675 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 16676 || PATH_SEPARATOR=';' 16677 } 16678fi 16679 16680# Find out how to test for executable files. Don't use a zero-byte file, 16681# as systems may use methods other than mode bits to determine executability. 16682cat >conf$$.file <<_ASEOF 16683#! /bin/sh 16684exit 0 16685_ASEOF 16686chmod +x conf$$.file 16687if test -x conf$$.file >/dev/null 2>&1; then 16688 ac_executable_p="test -x" 16689else 16690 ac_executable_p="test -f" 16691fi 16692rm -f conf$$.file 16693 16694# Extract the first word of "msgfmt", so it can be a program name with args. 16695set dummy msgfmt; ac_word=$2 16696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16697$as_echo_n "checking for $ac_word... " >&6; } 16698if ${ac_cv_path_MSGFMT+:} false; then : 16699 $as_echo_n "(cached) " >&6 16700else 16701 case "$MSGFMT" in 16702 [\\/]* | ?:[\\/]*) 16703 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 16704 ;; 16705 *) 16706 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 16707 for ac_dir in $PATH; do 16708 IFS="$ac_save_IFS" 16709 test -z "$ac_dir" && ac_dir=. 16710 for ac_exec_ext in '' $ac_executable_extensions; do 16711 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 16712 echo "$as_me: trying $ac_dir/$ac_word..." >&5 16713 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 16714 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 16715 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 16716 break 2 16717 fi 16718 fi 16719 done 16720 done 16721 IFS="$ac_save_IFS" 16722 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 16723 ;; 16724esac 16725fi 16726MSGFMT="$ac_cv_path_MSGFMT" 16727if test "$MSGFMT" != ":"; then 16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 16729$as_echo "$MSGFMT" >&6; } 16730else 16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16732$as_echo "no" >&6; } 16733fi 16734 16735 # Extract the first word of "gmsgfmt", so it can be a program name with args. 16736set dummy gmsgfmt; ac_word=$2 16737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16738$as_echo_n "checking for $ac_word... " >&6; } 16739if ${ac_cv_path_GMSGFMT+:} false; then : 16740 $as_echo_n "(cached) " >&6 16741else 16742 case $GMSGFMT in 16743 [\\/]* | ?:[\\/]*) 16744 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 16745 ;; 16746 *) 16747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16748for as_dir in $PATH 16749do 16750 IFS=$as_save_IFS 16751 test -z "$as_dir" && as_dir=. 16752 for ac_exec_ext in '' $ac_executable_extensions; do 16753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16754 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 16755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16756 break 2 16757 fi 16758done 16759 done 16760IFS=$as_save_IFS 16761 16762 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 16763 ;; 16764esac 16765fi 16766GMSGFMT=$ac_cv_path_GMSGFMT 16767if test -n "$GMSGFMT"; then 16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 16769$as_echo "$GMSGFMT" >&6; } 16770else 16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16772$as_echo "no" >&6; } 16773fi 16774 16775 16776 16777 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 16778 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 16779 *) MSGFMT_015=$MSGFMT ;; 16780 esac 16781 16782 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 16783 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 16784 *) GMSGFMT_015=$GMSGFMT ;; 16785 esac 16786 16787 16788 16789# Prepare PATH_SEPARATOR. 16790# The user is always right. 16791if test "${PATH_SEPARATOR+set}" != set; then 16792 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 16793 # contains only /bin. Note that ksh looks also at the FPATH variable, 16794 # so we have to set that as well for the test. 16795 PATH_SEPARATOR=: 16796 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 16797 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 16798 || PATH_SEPARATOR=';' 16799 } 16800fi 16801 16802# Find out how to test for executable files. Don't use a zero-byte file, 16803# as systems may use methods other than mode bits to determine executability. 16804cat >conf$$.file <<_ASEOF 16805#! /bin/sh 16806exit 0 16807_ASEOF 16808chmod +x conf$$.file 16809if test -x conf$$.file >/dev/null 2>&1; then 16810 ac_executable_p="test -x" 16811else 16812 ac_executable_p="test -f" 16813fi 16814rm -f conf$$.file 16815 16816# Extract the first word of "xgettext", so it can be a program name with args. 16817set dummy xgettext; ac_word=$2 16818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16819$as_echo_n "checking for $ac_word... " >&6; } 16820if ${ac_cv_path_XGETTEXT+:} false; then : 16821 $as_echo_n "(cached) " >&6 16822else 16823 case "$XGETTEXT" in 16824 [\\/]* | ?:[\\/]*) 16825 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 16826 ;; 16827 *) 16828 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 16829 for ac_dir in $PATH; do 16830 IFS="$ac_save_IFS" 16831 test -z "$ac_dir" && ac_dir=. 16832 for ac_exec_ext in '' $ac_executable_extensions; do 16833 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 16834 echo "$as_me: trying $ac_dir/$ac_word..." >&5 16835 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 16836 (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 16837 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 16838 break 2 16839 fi 16840 fi 16841 done 16842 done 16843 IFS="$ac_save_IFS" 16844 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 16845 ;; 16846esac 16847fi 16848XGETTEXT="$ac_cv_path_XGETTEXT" 16849if test "$XGETTEXT" != ":"; then 16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 16851$as_echo "$XGETTEXT" >&6; } 16852else 16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16854$as_echo "no" >&6; } 16855fi 16856 16857 rm -f messages.po 16858 16859 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 16860 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 16861 *) XGETTEXT_015=$XGETTEXT ;; 16862 esac 16863 16864 16865 16866# Prepare PATH_SEPARATOR. 16867# The user is always right. 16868if test "${PATH_SEPARATOR+set}" != set; then 16869 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 16870 # contains only /bin. Note that ksh looks also at the FPATH variable, 16871 # so we have to set that as well for the test. 16872 PATH_SEPARATOR=: 16873 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 16874 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 16875 || PATH_SEPARATOR=';' 16876 } 16877fi 16878 16879# Find out how to test for executable files. Don't use a zero-byte file, 16880# as systems may use methods other than mode bits to determine executability. 16881cat >conf$$.file <<_ASEOF 16882#! /bin/sh 16883exit 0 16884_ASEOF 16885chmod +x conf$$.file 16886if test -x conf$$.file >/dev/null 2>&1; then 16887 ac_executable_p="test -x" 16888else 16889 ac_executable_p="test -f" 16890fi 16891rm -f conf$$.file 16892 16893# Extract the first word of "msgmerge", so it can be a program name with args. 16894set dummy msgmerge; ac_word=$2 16895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16896$as_echo_n "checking for $ac_word... " >&6; } 16897if ${ac_cv_path_MSGMERGE+:} false; then : 16898 $as_echo_n "(cached) " >&6 16899else 16900 case "$MSGMERGE" in 16901 [\\/]* | ?:[\\/]*) 16902 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 16903 ;; 16904 *) 16905 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 16906 for ac_dir in $PATH; do 16907 IFS="$ac_save_IFS" 16908 test -z "$ac_dir" && ac_dir=. 16909 for ac_exec_ext in '' $ac_executable_extensions; do 16910 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 16911 echo "$as_me: trying $ac_dir/$ac_word..." >&5 16912 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 16913 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 16914 break 2 16915 fi 16916 fi 16917 done 16918 done 16919 IFS="$ac_save_IFS" 16920 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 16921 ;; 16922esac 16923fi 16924MSGMERGE="$ac_cv_path_MSGMERGE" 16925if test "$MSGMERGE" != ":"; then 16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 16927$as_echo "$MSGMERGE" >&6; } 16928else 16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16930$as_echo "no" >&6; } 16931fi 16932 16933 16934 test -n "$localedir" || localedir='${datadir}/locale' 16935 16936 16937 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 16938 16939 16940 ac_config_commands="$ac_config_commands po-directories" 16941 16942 16943 16944 if test "X$prefix" = "XNONE"; then 16945 acl_final_prefix="$ac_default_prefix" 16946 else 16947 acl_final_prefix="$prefix" 16948 fi 16949 if test "X$exec_prefix" = "XNONE"; then 16950 acl_final_exec_prefix='${prefix}' 16951 else 16952 acl_final_exec_prefix="$exec_prefix" 16953 fi 16954 acl_save_prefix="$prefix" 16955 prefix="$acl_final_prefix" 16956 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 16957 prefix="$acl_save_prefix" 16958 16959 16960 16961# Check whether --with-gnu-ld was given. 16962if test "${with_gnu_ld+set}" = set; then : 16963 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 16964else 16965 with_gnu_ld=no 16966fi 16967 16968# Prepare PATH_SEPARATOR. 16969# The user is always right. 16970if test "${PATH_SEPARATOR+set}" != set; then 16971 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 16972 # contains only /bin. Note that ksh looks also at the FPATH variable, 16973 # so we have to set that as well for the test. 16974 PATH_SEPARATOR=: 16975 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 16976 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 16977 || PATH_SEPARATOR=';' 16978 } 16979fi 16980 16981ac_prog=ld 16982if test "$GCC" = yes; then 16983 # Check if gcc -print-prog-name=ld gives a path. 16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 16985$as_echo_n "checking for ld used by $CC... " >&6; } 16986 case $host in 16987 *-*-mingw*) 16988 # gcc leaves a trailing carriage return which upsets mingw 16989 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 16990 *) 16991 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 16992 esac 16993 case $ac_prog in 16994 # Accept absolute paths. 16995 [\\/]* | ?:[\\/]*) 16996 re_direlt='/[^/][^/]*/\.\./' 16997 # Canonicalize the pathname of ld 16998 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` 16999 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do 17000 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 17001 done 17002 test -z "$LD" && LD="$ac_prog" 17003 ;; 17004 "") 17005 # If it fails, then pretend we aren't using GCC. 17006 ac_prog=ld 17007 ;; 17008 *) 17009 # If it is relative, then search for the first ld in PATH. 17010 with_gnu_ld=unknown 17011 ;; 17012 esac 17013elif test "$with_gnu_ld" = yes; then 17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 17015$as_echo_n "checking for GNU ld... " >&6; } 17016else 17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 17018$as_echo_n "checking for non-GNU ld... " >&6; } 17019fi 17020if ${acl_cv_path_LD+:} false; then : 17021 $as_echo_n "(cached) " >&6 17022else 17023 if test -z "$LD"; then 17024 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 17025 for ac_dir in $PATH; do 17026 IFS="$acl_save_ifs" 17027 test -z "$ac_dir" && ac_dir=. 17028 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 17029 acl_cv_path_LD="$ac_dir/$ac_prog" 17030 # Check to see if the program is GNU ld. I'd rather use --version, 17031 # but apparently some variants of GNU ld only accept -v. 17032 # Break only if it was the GNU/non-GNU ld that we prefer. 17033 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in 17034 *GNU* | *'with BFD'*) 17035 test "$with_gnu_ld" != no && break 17036 ;; 17037 *) 17038 test "$with_gnu_ld" != yes && break 17039 ;; 17040 esac 17041 fi 17042 done 17043 IFS="$acl_save_ifs" 17044else 17045 acl_cv_path_LD="$LD" # Let the user override the test with a path. 17046fi 17047fi 17048 17049LD="$acl_cv_path_LD" 17050if test -n "$LD"; then 17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 17052$as_echo "$LD" >&6; } 17053else 17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17055$as_echo "no" >&6; } 17056fi 17057test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 17058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 17059$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 17060if ${acl_cv_prog_gnu_ld+:} false; then : 17061 $as_echo_n "(cached) " >&6 17062else 17063 # I'd rather use --version here, but apparently some GNU lds only accept -v. 17064case `$LD -v 2>&1 </dev/null` in 17065*GNU* | *'with BFD'*) 17066 acl_cv_prog_gnu_ld=yes 17067 ;; 17068*) 17069 acl_cv_prog_gnu_ld=no 17070 ;; 17071esac 17072fi 17073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 17074$as_echo "$acl_cv_prog_gnu_ld" >&6; } 17075with_gnu_ld=$acl_cv_prog_gnu_ld 17076 17077 17078 17079 17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 17081$as_echo_n "checking for shared library run path origin... " >&6; } 17082if ${acl_cv_rpath+:} false; then : 17083 $as_echo_n "(cached) " >&6 17084else 17085 17086 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 17087 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 17088 . ./conftest.sh 17089 rm -f ./conftest.sh 17090 acl_cv_rpath=done 17091 17092fi 17093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 17094$as_echo "$acl_cv_rpath" >&6; } 17095 wl="$acl_cv_wl" 17096 acl_libext="$acl_cv_libext" 17097 acl_shlibext="$acl_cv_shlibext" 17098 acl_libname_spec="$acl_cv_libname_spec" 17099 acl_library_names_spec="$acl_cv_library_names_spec" 17100 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 17101 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 17102 acl_hardcode_direct="$acl_cv_hardcode_direct" 17103 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 17104 # Check whether --enable-rpath was given. 17105if test "${enable_rpath+set}" = set; then : 17106 enableval=$enable_rpath; : 17107else 17108 enable_rpath=yes 17109fi 17110 17111 17112 17113 17114 acl_libdirstem=lib 17115 acl_libdirstem2= 17116 case "$host_os" in 17117 solaris*) 17118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 17119$as_echo_n "checking for 64-bit host... " >&6; } 17120if ${gl_cv_solaris_64bit+:} false; then : 17121 $as_echo_n "(cached) " >&6 17122else 17123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17124/* end confdefs.h. */ 17125 17126#ifdef _LP64 17127sixtyfour bits 17128#endif 17129 17130_ACEOF 17131if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17132 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 17133 gl_cv_solaris_64bit=yes 17134else 17135 gl_cv_solaris_64bit=no 17136fi 17137rm -f conftest* 17138 17139 17140fi 17141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 17142$as_echo "$gl_cv_solaris_64bit" >&6; } 17143 if test $gl_cv_solaris_64bit = yes; then 17144 acl_libdirstem=lib/64 17145 case "$host_cpu" in 17146 sparc*) acl_libdirstem2=lib/sparcv9 ;; 17147 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 17148 esac 17149 fi 17150 ;; 17151 *) 17152 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 17153 if test -n "$searchpath"; then 17154 acl_save_IFS="${IFS= }"; IFS=":" 17155 for searchdir in $searchpath; do 17156 if test -d "$searchdir"; then 17157 case "$searchdir" in 17158 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 17159 */../ | */.. ) 17160 # Better ignore directories of this form. They are misleading. 17161 ;; 17162 *) searchdir=`cd "$searchdir" && pwd` 17163 case "$searchdir" in 17164 */lib64 ) acl_libdirstem=lib64 ;; 17165 esac ;; 17166 esac 17167 fi 17168 done 17169 IFS="$acl_save_IFS" 17170 fi 17171 ;; 17172 esac 17173 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 use_additional=yes 17187 17188 acl_save_prefix="$prefix" 17189 prefix="$acl_final_prefix" 17190 acl_save_exec_prefix="$exec_prefix" 17191 exec_prefix="$acl_final_exec_prefix" 17192 17193 eval additional_includedir=\"$includedir\" 17194 eval additional_libdir=\"$libdir\" 17195 17196 exec_prefix="$acl_save_exec_prefix" 17197 prefix="$acl_save_prefix" 17198 17199 17200# Check whether --with-libiconv-prefix was given. 17201if test "${with_libiconv_prefix+set}" = set; then : 17202 withval=$with_libiconv_prefix; 17203 if test "X$withval" = "Xno"; then 17204 use_additional=no 17205 else 17206 if test "X$withval" = "X"; then 17207 17208 acl_save_prefix="$prefix" 17209 prefix="$acl_final_prefix" 17210 acl_save_exec_prefix="$exec_prefix" 17211 exec_prefix="$acl_final_exec_prefix" 17212 17213 eval additional_includedir=\"$includedir\" 17214 eval additional_libdir=\"$libdir\" 17215 17216 exec_prefix="$acl_save_exec_prefix" 17217 prefix="$acl_save_prefix" 17218 17219 else 17220 additional_includedir="$withval/include" 17221 additional_libdir="$withval/$acl_libdirstem" 17222 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 17223 && ! test -d "$withval/$acl_libdirstem"; then 17224 additional_libdir="$withval/$acl_libdirstem2" 17225 fi 17226 fi 17227 fi 17228 17229fi 17230 17231 LIBICONV= 17232 LTLIBICONV= 17233 INCICONV= 17234 LIBICONV_PREFIX= 17235 HAVE_LIBICONV= 17236 rpathdirs= 17237 ltrpathdirs= 17238 names_already_handled= 17239 names_next_round='iconv ' 17240 while test -n "$names_next_round"; do 17241 names_this_round="$names_next_round" 17242 names_next_round= 17243 for name in $names_this_round; do 17244 already_handled= 17245 for n in $names_already_handled; do 17246 if test "$n" = "$name"; then 17247 already_handled=yes 17248 break 17249 fi 17250 done 17251 if test -z "$already_handled"; then 17252 names_already_handled="$names_already_handled $name" 17253 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 17254 eval value=\"\$HAVE_LIB$uppername\" 17255 if test -n "$value"; then 17256 if test "$value" = yes; then 17257 eval value=\"\$LIB$uppername\" 17258 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 17259 eval value=\"\$LTLIB$uppername\" 17260 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 17261 else 17262 : 17263 fi 17264 else 17265 found_dir= 17266 found_la= 17267 found_so= 17268 found_a= 17269 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 17270 if test -n "$acl_shlibext"; then 17271 shrext=".$acl_shlibext" # typically: shrext=.so 17272 else 17273 shrext= 17274 fi 17275 if test $use_additional = yes; then 17276 dir="$additional_libdir" 17277 if test -n "$acl_shlibext"; then 17278 if test -f "$dir/$libname$shrext"; then 17279 found_dir="$dir" 17280 found_so="$dir/$libname$shrext" 17281 else 17282 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17283 ver=`(cd "$dir" && \ 17284 for f in "$libname$shrext".*; do echo "$f"; done \ 17285 | sed -e "s,^$libname$shrext\\\\.,," \ 17286 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17287 | sed 1q ) 2>/dev/null` 17288 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17289 found_dir="$dir" 17290 found_so="$dir/$libname$shrext.$ver" 17291 fi 17292 else 17293 eval library_names=\"$acl_library_names_spec\" 17294 for f in $library_names; do 17295 if test -f "$dir/$f"; then 17296 found_dir="$dir" 17297 found_so="$dir/$f" 17298 break 17299 fi 17300 done 17301 fi 17302 fi 17303 fi 17304 if test "X$found_dir" = "X"; then 17305 if test -f "$dir/$libname.$acl_libext"; then 17306 found_dir="$dir" 17307 found_a="$dir/$libname.$acl_libext" 17308 fi 17309 fi 17310 if test "X$found_dir" != "X"; then 17311 if test -f "$dir/$libname.la"; then 17312 found_la="$dir/$libname.la" 17313 fi 17314 fi 17315 fi 17316 if test "X$found_dir" = "X"; then 17317 for x in $LDFLAGS $LTLIBICONV; do 17318 17319 acl_save_prefix="$prefix" 17320 prefix="$acl_final_prefix" 17321 acl_save_exec_prefix="$exec_prefix" 17322 exec_prefix="$acl_final_exec_prefix" 17323 eval x=\"$x\" 17324 exec_prefix="$acl_save_exec_prefix" 17325 prefix="$acl_save_prefix" 17326 17327 case "$x" in 17328 -L*) 17329 dir=`echo "X$x" | sed -e 's/^X-L//'` 17330 if test -n "$acl_shlibext"; then 17331 if test -f "$dir/$libname$shrext"; then 17332 found_dir="$dir" 17333 found_so="$dir/$libname$shrext" 17334 else 17335 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17336 ver=`(cd "$dir" && \ 17337 for f in "$libname$shrext".*; do echo "$f"; done \ 17338 | sed -e "s,^$libname$shrext\\\\.,," \ 17339 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17340 | sed 1q ) 2>/dev/null` 17341 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17342 found_dir="$dir" 17343 found_so="$dir/$libname$shrext.$ver" 17344 fi 17345 else 17346 eval library_names=\"$acl_library_names_spec\" 17347 for f in $library_names; do 17348 if test -f "$dir/$f"; then 17349 found_dir="$dir" 17350 found_so="$dir/$f" 17351 break 17352 fi 17353 done 17354 fi 17355 fi 17356 fi 17357 if test "X$found_dir" = "X"; then 17358 if test -f "$dir/$libname.$acl_libext"; then 17359 found_dir="$dir" 17360 found_a="$dir/$libname.$acl_libext" 17361 fi 17362 fi 17363 if test "X$found_dir" != "X"; then 17364 if test -f "$dir/$libname.la"; then 17365 found_la="$dir/$libname.la" 17366 fi 17367 fi 17368 ;; 17369 esac 17370 if test "X$found_dir" != "X"; then 17371 break 17372 fi 17373 done 17374 fi 17375 if test "X$found_dir" != "X"; then 17376 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 17377 if test "X$found_so" != "X"; then 17378 if test "$enable_rpath" = no \ 17379 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 17380 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 17381 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17382 else 17383 haveit= 17384 for x in $ltrpathdirs; do 17385 if test "X$x" = "X$found_dir"; then 17386 haveit=yes 17387 break 17388 fi 17389 done 17390 if test -z "$haveit"; then 17391 ltrpathdirs="$ltrpathdirs $found_dir" 17392 fi 17393 if test "$acl_hardcode_direct" = yes; then 17394 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17395 else 17396 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 17397 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17398 haveit= 17399 for x in $rpathdirs; do 17400 if test "X$x" = "X$found_dir"; then 17401 haveit=yes 17402 break 17403 fi 17404 done 17405 if test -z "$haveit"; then 17406 rpathdirs="$rpathdirs $found_dir" 17407 fi 17408 else 17409 haveit= 17410 for x in $LDFLAGS $LIBICONV; do 17411 17412 acl_save_prefix="$prefix" 17413 prefix="$acl_final_prefix" 17414 acl_save_exec_prefix="$exec_prefix" 17415 exec_prefix="$acl_final_exec_prefix" 17416 eval x=\"$x\" 17417 exec_prefix="$acl_save_exec_prefix" 17418 prefix="$acl_save_prefix" 17419 17420 if test "X$x" = "X-L$found_dir"; then 17421 haveit=yes 17422 break 17423 fi 17424 done 17425 if test -z "$haveit"; then 17426 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 17427 fi 17428 if test "$acl_hardcode_minus_L" != no; then 17429 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17430 else 17431 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17432 fi 17433 fi 17434 fi 17435 fi 17436 else 17437 if test "X$found_a" != "X"; then 17438 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 17439 else 17440 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 17441 fi 17442 fi 17443 additional_includedir= 17444 case "$found_dir" in 17445 */$acl_libdirstem | */$acl_libdirstem/) 17446 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 17447 if test "$name" = 'iconv'; then 17448 LIBICONV_PREFIX="$basedir" 17449 fi 17450 additional_includedir="$basedir/include" 17451 ;; 17452 */$acl_libdirstem2 | */$acl_libdirstem2/) 17453 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 17454 if test "$name" = 'iconv'; then 17455 LIBICONV_PREFIX="$basedir" 17456 fi 17457 additional_includedir="$basedir/include" 17458 ;; 17459 esac 17460 if test "X$additional_includedir" != "X"; then 17461 if test "X$additional_includedir" != "X/usr/include"; then 17462 haveit= 17463 if test "X$additional_includedir" = "X/usr/local/include"; then 17464 if test -n "$GCC"; then 17465 case $host_os in 17466 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17467 esac 17468 fi 17469 fi 17470 if test -z "$haveit"; then 17471 for x in $CPPFLAGS $INCICONV; do 17472 17473 acl_save_prefix="$prefix" 17474 prefix="$acl_final_prefix" 17475 acl_save_exec_prefix="$exec_prefix" 17476 exec_prefix="$acl_final_exec_prefix" 17477 eval x=\"$x\" 17478 exec_prefix="$acl_save_exec_prefix" 17479 prefix="$acl_save_prefix" 17480 17481 if test "X$x" = "X-I$additional_includedir"; then 17482 haveit=yes 17483 break 17484 fi 17485 done 17486 if test -z "$haveit"; then 17487 if test -d "$additional_includedir"; then 17488 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 17489 fi 17490 fi 17491 fi 17492 fi 17493 fi 17494 if test -n "$found_la"; then 17495 save_libdir="$libdir" 17496 case "$found_la" in 17497 */* | *\\*) . "$found_la" ;; 17498 *) . "./$found_la" ;; 17499 esac 17500 libdir="$save_libdir" 17501 for dep in $dependency_libs; do 17502 case "$dep" in 17503 -L*) 17504 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 17505 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 17506 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 17507 haveit= 17508 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 17509 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 17510 if test -n "$GCC"; then 17511 case $host_os in 17512 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17513 esac 17514 fi 17515 fi 17516 if test -z "$haveit"; then 17517 haveit= 17518 for x in $LDFLAGS $LIBICONV; do 17519 17520 acl_save_prefix="$prefix" 17521 prefix="$acl_final_prefix" 17522 acl_save_exec_prefix="$exec_prefix" 17523 exec_prefix="$acl_final_exec_prefix" 17524 eval x=\"$x\" 17525 exec_prefix="$acl_save_exec_prefix" 17526 prefix="$acl_save_prefix" 17527 17528 if test "X$x" = "X-L$additional_libdir"; then 17529 haveit=yes 17530 break 17531 fi 17532 done 17533 if test -z "$haveit"; then 17534 if test -d "$additional_libdir"; then 17535 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 17536 fi 17537 fi 17538 haveit= 17539 for x in $LDFLAGS $LTLIBICONV; do 17540 17541 acl_save_prefix="$prefix" 17542 prefix="$acl_final_prefix" 17543 acl_save_exec_prefix="$exec_prefix" 17544 exec_prefix="$acl_final_exec_prefix" 17545 eval x=\"$x\" 17546 exec_prefix="$acl_save_exec_prefix" 17547 prefix="$acl_save_prefix" 17548 17549 if test "X$x" = "X-L$additional_libdir"; then 17550 haveit=yes 17551 break 17552 fi 17553 done 17554 if test -z "$haveit"; then 17555 if test -d "$additional_libdir"; then 17556 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 17557 fi 17558 fi 17559 fi 17560 fi 17561 ;; 17562 -R*) 17563 dir=`echo "X$dep" | sed -e 's/^X-R//'` 17564 if test "$enable_rpath" != no; then 17565 haveit= 17566 for x in $rpathdirs; do 17567 if test "X$x" = "X$dir"; then 17568 haveit=yes 17569 break 17570 fi 17571 done 17572 if test -z "$haveit"; then 17573 rpathdirs="$rpathdirs $dir" 17574 fi 17575 haveit= 17576 for x in $ltrpathdirs; do 17577 if test "X$x" = "X$dir"; then 17578 haveit=yes 17579 break 17580 fi 17581 done 17582 if test -z "$haveit"; then 17583 ltrpathdirs="$ltrpathdirs $dir" 17584 fi 17585 fi 17586 ;; 17587 -l*) 17588 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 17589 ;; 17590 *.la) 17591 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 17592 ;; 17593 *) 17594 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 17595 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 17596 ;; 17597 esac 17598 done 17599 fi 17600 else 17601 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17602 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 17603 fi 17604 fi 17605 fi 17606 done 17607 done 17608 if test "X$rpathdirs" != "X"; then 17609 if test -n "$acl_hardcode_libdir_separator"; then 17610 alldirs= 17611 for found_dir in $rpathdirs; do 17612 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 17613 done 17614 acl_save_libdir="$libdir" 17615 libdir="$alldirs" 17616 eval flag=\"$acl_hardcode_libdir_flag_spec\" 17617 libdir="$acl_save_libdir" 17618 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 17619 else 17620 for found_dir in $rpathdirs; do 17621 acl_save_libdir="$libdir" 17622 libdir="$found_dir" 17623 eval flag=\"$acl_hardcode_libdir_flag_spec\" 17624 libdir="$acl_save_libdir" 17625 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 17626 done 17627 fi 17628 fi 17629 if test "X$ltrpathdirs" != "X"; then 17630 for found_dir in $ltrpathdirs; do 17631 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 17632 done 17633 fi 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 17666$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 17667if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 17668 $as_echo_n "(cached) " >&6 17669else 17670 gt_save_LIBS="$LIBS" 17671 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17673/* end confdefs.h. */ 17674#include <CoreFoundation/CFPreferences.h> 17675int 17676main () 17677{ 17678CFPreferencesCopyAppValue(NULL, NULL) 17679 ; 17680 return 0; 17681} 17682_ACEOF 17683if ac_fn_c_try_link "$LINENO"; then : 17684 gt_cv_func_CFPreferencesCopyAppValue=yes 17685else 17686 gt_cv_func_CFPreferencesCopyAppValue=no 17687fi 17688rm -f core conftest.err conftest.$ac_objext \ 17689 conftest$ac_exeext conftest.$ac_ext 17690 LIBS="$gt_save_LIBS" 17691fi 17692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 17693$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 17694 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 17695 17696$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 17697 17698 fi 17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 17700$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 17701if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 17702 $as_echo_n "(cached) " >&6 17703else 17704 gt_save_LIBS="$LIBS" 17705 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 17706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17707/* end confdefs.h. */ 17708#include <CoreFoundation/CFLocale.h> 17709int 17710main () 17711{ 17712CFLocaleCopyCurrent(); 17713 ; 17714 return 0; 17715} 17716_ACEOF 17717if ac_fn_c_try_link "$LINENO"; then : 17718 gt_cv_func_CFLocaleCopyCurrent=yes 17719else 17720 gt_cv_func_CFLocaleCopyCurrent=no 17721fi 17722rm -f core conftest.err conftest.$ac_objext \ 17723 conftest$ac_exeext conftest.$ac_ext 17724 LIBS="$gt_save_LIBS" 17725fi 17726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 17727$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 17728 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 17729 17730$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 17731 17732 fi 17733 INTL_MACOSX_LIBS= 17734 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 17735 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 17736 fi 17737 17738 17739 17740 17741 17742 17743 LIBINTL= 17744 LTLIBINTL= 17745 POSUB= 17746 17747 case " $gt_needs " in 17748 *" need-formatstring-macros "*) gt_api_version=3 ;; 17749 *" need-ngettext "*) gt_api_version=2 ;; 17750 *) gt_api_version=1 ;; 17751 esac 17752 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 17753 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 17754 17755 if test "$USE_NLS" = "yes"; then 17756 gt_use_preinstalled_gnugettext=no 17757 17758 17759 if test $gt_api_version -ge 3; then 17760 gt_revision_test_code=' 17761#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 17762#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 17763#endif 17764typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 17765' 17766 else 17767 gt_revision_test_code= 17768 fi 17769 if test $gt_api_version -ge 2; then 17770 gt_expression_test_code=' + * ngettext ("", "", 0)' 17771 else 17772 gt_expression_test_code= 17773 fi 17774 17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 17776$as_echo_n "checking for GNU gettext in libc... " >&6; } 17777if eval \${$gt_func_gnugettext_libc+:} false; then : 17778 $as_echo_n "(cached) " >&6 17779else 17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17781/* end confdefs.h. */ 17782 17783#include <libintl.h> 17784#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 17785extern int _nl_msg_cat_cntr; 17786extern int *_nl_domain_bindings; 17787#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) 17788#else 17789#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 17790#endif 17791$gt_revision_test_code 17792 17793int 17794main () 17795{ 17796 17797bindtextdomain ("", ""); 17798return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 17799 17800 ; 17801 return 0; 17802} 17803_ACEOF 17804if ac_fn_c_try_link "$LINENO"; then : 17805 eval "$gt_func_gnugettext_libc=yes" 17806else 17807 eval "$gt_func_gnugettext_libc=no" 17808fi 17809rm -f core conftest.err conftest.$ac_objext \ 17810 conftest$ac_exeext conftest.$ac_ext 17811fi 17812eval ac_res=\$$gt_func_gnugettext_libc 17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 17814$as_echo "$ac_res" >&6; } 17815 17816 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 17817 17818 17819 17820 17821 17822 am_save_CPPFLAGS="$CPPFLAGS" 17823 17824 for element in $INCICONV; do 17825 haveit= 17826 for x in $CPPFLAGS; do 17827 17828 acl_save_prefix="$prefix" 17829 prefix="$acl_final_prefix" 17830 acl_save_exec_prefix="$exec_prefix" 17831 exec_prefix="$acl_final_exec_prefix" 17832 eval x=\"$x\" 17833 exec_prefix="$acl_save_exec_prefix" 17834 prefix="$acl_save_prefix" 17835 17836 if test "X$x" = "X$element"; then 17837 haveit=yes 17838 break 17839 fi 17840 done 17841 if test -z "$haveit"; then 17842 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 17843 fi 17844 done 17845 17846 17847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 17848$as_echo_n "checking for iconv... " >&6; } 17849if ${am_cv_func_iconv+:} false; then : 17850 $as_echo_n "(cached) " >&6 17851else 17852 17853 am_cv_func_iconv="no, consider installing GNU libiconv" 17854 am_cv_lib_iconv=no 17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17856/* end confdefs.h. */ 17857 17858#include <stdlib.h> 17859#include <iconv.h> 17860 17861int 17862main () 17863{ 17864iconv_t cd = iconv_open("",""); 17865 iconv(cd,NULL,NULL,NULL,NULL); 17866 iconv_close(cd); 17867 ; 17868 return 0; 17869} 17870_ACEOF 17871if ac_fn_c_try_link "$LINENO"; then : 17872 am_cv_func_iconv=yes 17873fi 17874rm -f core conftest.err conftest.$ac_objext \ 17875 conftest$ac_exeext conftest.$ac_ext 17876 if test "$am_cv_func_iconv" != yes; then 17877 am_save_LIBS="$LIBS" 17878 LIBS="$LIBS $LIBICONV" 17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17880/* end confdefs.h. */ 17881 17882#include <stdlib.h> 17883#include <iconv.h> 17884 17885int 17886main () 17887{ 17888iconv_t cd = iconv_open("",""); 17889 iconv(cd,NULL,NULL,NULL,NULL); 17890 iconv_close(cd); 17891 ; 17892 return 0; 17893} 17894_ACEOF 17895if ac_fn_c_try_link "$LINENO"; then : 17896 am_cv_lib_iconv=yes 17897 am_cv_func_iconv=yes 17898fi 17899rm -f core conftest.err conftest.$ac_objext \ 17900 conftest$ac_exeext conftest.$ac_ext 17901 LIBS="$am_save_LIBS" 17902 fi 17903 17904fi 17905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 17906$as_echo "$am_cv_func_iconv" >&6; } 17907 if test "$am_cv_func_iconv" = yes; then 17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 17909$as_echo_n "checking for working iconv... " >&6; } 17910if ${am_cv_func_iconv_works+:} false; then : 17911 $as_echo_n "(cached) " >&6 17912else 17913 17914 am_save_LIBS="$LIBS" 17915 if test $am_cv_lib_iconv = yes; then 17916 LIBS="$LIBS $LIBICONV" 17917 fi 17918 am_cv_func_iconv_works=no 17919 for ac_iconv_const in '' 'const'; do 17920 if test "$cross_compiling" = yes; then : 17921 case "$host_os" in 17922 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 17923 *) am_cv_func_iconv_works="guessing yes" ;; 17924 esac 17925else 17926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17927/* end confdefs.h. */ 17928 17929#include <iconv.h> 17930#include <string.h> 17931 17932#ifndef ICONV_CONST 17933# define ICONV_CONST $ac_iconv_const 17934#endif 17935 17936int 17937main () 17938{ 17939int result = 0; 17940 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 17941 returns. */ 17942 { 17943 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 17944 if (cd_utf8_to_88591 != (iconv_t)(-1)) 17945 { 17946 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ 17947 char buf[10]; 17948 ICONV_CONST char *inptr = input; 17949 size_t inbytesleft = strlen (input); 17950 char *outptr = buf; 17951 size_t outbytesleft = sizeof (buf); 17952 size_t res = iconv (cd_utf8_to_88591, 17953 &inptr, &inbytesleft, 17954 &outptr, &outbytesleft); 17955 if (res == 0) 17956 result |= 1; 17957 iconv_close (cd_utf8_to_88591); 17958 } 17959 } 17960 /* Test against Solaris 10 bug: Failures are not distinguishable from 17961 successful returns. */ 17962 { 17963 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 17964 if (cd_ascii_to_88591 != (iconv_t)(-1)) 17965 { 17966 static ICONV_CONST char input[] = "\263"; 17967 char buf[10]; 17968 ICONV_CONST char *inptr = input; 17969 size_t inbytesleft = strlen (input); 17970 char *outptr = buf; 17971 size_t outbytesleft = sizeof (buf); 17972 size_t res = iconv (cd_ascii_to_88591, 17973 &inptr, &inbytesleft, 17974 &outptr, &outbytesleft); 17975 if (res == 0) 17976 result |= 2; 17977 iconv_close (cd_ascii_to_88591); 17978 } 17979 } 17980 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 17981 { 17982 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 17983 if (cd_88591_to_utf8 != (iconv_t)(-1)) 17984 { 17985 static ICONV_CONST char input[] = "\304"; 17986 static char buf[2] = { (char)0xDE, (char)0xAD }; 17987 ICONV_CONST char *inptr = input; 17988 size_t inbytesleft = 1; 17989 char *outptr = buf; 17990 size_t outbytesleft = 1; 17991 size_t res = iconv (cd_88591_to_utf8, 17992 &inptr, &inbytesleft, 17993 &outptr, &outbytesleft); 17994 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 17995 result |= 4; 17996 iconv_close (cd_88591_to_utf8); 17997 } 17998 } 17999#if 0 /* This bug could be worked around by the caller. */ 18000 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 18001 { 18002 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 18003 if (cd_88591_to_utf8 != (iconv_t)(-1)) 18004 { 18005 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 18006 char buf[50]; 18007 ICONV_CONST char *inptr = input; 18008 size_t inbytesleft = strlen (input); 18009 char *outptr = buf; 18010 size_t outbytesleft = sizeof (buf); 18011 size_t res = iconv (cd_88591_to_utf8, 18012 &inptr, &inbytesleft, 18013 &outptr, &outbytesleft); 18014 if ((int)res > 0) 18015 result |= 8; 18016 iconv_close (cd_88591_to_utf8); 18017 } 18018 } 18019#endif 18020 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 18021 provided. */ 18022 if (/* Try standardized names. */ 18023 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 18024 /* Try IRIX, OSF/1 names. */ 18025 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 18026 /* Try AIX names. */ 18027 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 18028 /* Try HP-UX names. */ 18029 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 18030 result |= 16; 18031 return result; 18032 18033 ; 18034 return 0; 18035} 18036_ACEOF 18037if ac_fn_c_try_run "$LINENO"; then : 18038 am_cv_func_iconv_works=yes 18039fi 18040rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18041 conftest.$ac_objext conftest.beam conftest.$ac_ext 18042fi 18043 18044 test "$am_cv_func_iconv_works" = no || break 18045 done 18046 LIBS="$am_save_LIBS" 18047 18048fi 18049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 18050$as_echo "$am_cv_func_iconv_works" >&6; } 18051 case "$am_cv_func_iconv_works" in 18052 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 18053 *) am_func_iconv=yes ;; 18054 esac 18055 else 18056 am_func_iconv=no am_cv_lib_iconv=no 18057 fi 18058 if test "$am_func_iconv" = yes; then 18059 18060$as_echo "#define HAVE_ICONV 1" >>confdefs.h 18061 18062 fi 18063 if test "$am_cv_lib_iconv" = yes; then 18064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 18065$as_echo_n "checking how to link with libiconv... " >&6; } 18066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 18067$as_echo "$LIBICONV" >&6; } 18068 else 18069 CPPFLAGS="$am_save_CPPFLAGS" 18070 LIBICONV= 18071 LTLIBICONV= 18072 fi 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 use_additional=yes 18085 18086 acl_save_prefix="$prefix" 18087 prefix="$acl_final_prefix" 18088 acl_save_exec_prefix="$exec_prefix" 18089 exec_prefix="$acl_final_exec_prefix" 18090 18091 eval additional_includedir=\"$includedir\" 18092 eval additional_libdir=\"$libdir\" 18093 18094 exec_prefix="$acl_save_exec_prefix" 18095 prefix="$acl_save_prefix" 18096 18097 18098# Check whether --with-libintl-prefix was given. 18099if test "${with_libintl_prefix+set}" = set; then : 18100 withval=$with_libintl_prefix; 18101 if test "X$withval" = "Xno"; then 18102 use_additional=no 18103 else 18104 if test "X$withval" = "X"; then 18105 18106 acl_save_prefix="$prefix" 18107 prefix="$acl_final_prefix" 18108 acl_save_exec_prefix="$exec_prefix" 18109 exec_prefix="$acl_final_exec_prefix" 18110 18111 eval additional_includedir=\"$includedir\" 18112 eval additional_libdir=\"$libdir\" 18113 18114 exec_prefix="$acl_save_exec_prefix" 18115 prefix="$acl_save_prefix" 18116 18117 else 18118 additional_includedir="$withval/include" 18119 additional_libdir="$withval/$acl_libdirstem" 18120 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 18121 && ! test -d "$withval/$acl_libdirstem"; then 18122 additional_libdir="$withval/$acl_libdirstem2" 18123 fi 18124 fi 18125 fi 18126 18127fi 18128 18129 LIBINTL= 18130 LTLIBINTL= 18131 INCINTL= 18132 LIBINTL_PREFIX= 18133 HAVE_LIBINTL= 18134 rpathdirs= 18135 ltrpathdirs= 18136 names_already_handled= 18137 names_next_round='intl ' 18138 while test -n "$names_next_round"; do 18139 names_this_round="$names_next_round" 18140 names_next_round= 18141 for name in $names_this_round; do 18142 already_handled= 18143 for n in $names_already_handled; do 18144 if test "$n" = "$name"; then 18145 already_handled=yes 18146 break 18147 fi 18148 done 18149 if test -z "$already_handled"; then 18150 names_already_handled="$names_already_handled $name" 18151 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 18152 eval value=\"\$HAVE_LIB$uppername\" 18153 if test -n "$value"; then 18154 if test "$value" = yes; then 18155 eval value=\"\$LIB$uppername\" 18156 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 18157 eval value=\"\$LTLIB$uppername\" 18158 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 18159 else 18160 : 18161 fi 18162 else 18163 found_dir= 18164 found_la= 18165 found_so= 18166 found_a= 18167 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 18168 if test -n "$acl_shlibext"; then 18169 shrext=".$acl_shlibext" # typically: shrext=.so 18170 else 18171 shrext= 18172 fi 18173 if test $use_additional = yes; then 18174 dir="$additional_libdir" 18175 if test -n "$acl_shlibext"; then 18176 if test -f "$dir/$libname$shrext"; then 18177 found_dir="$dir" 18178 found_so="$dir/$libname$shrext" 18179 else 18180 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18181 ver=`(cd "$dir" && \ 18182 for f in "$libname$shrext".*; do echo "$f"; done \ 18183 | sed -e "s,^$libname$shrext\\\\.,," \ 18184 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18185 | sed 1q ) 2>/dev/null` 18186 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18187 found_dir="$dir" 18188 found_so="$dir/$libname$shrext.$ver" 18189 fi 18190 else 18191 eval library_names=\"$acl_library_names_spec\" 18192 for f in $library_names; do 18193 if test -f "$dir/$f"; then 18194 found_dir="$dir" 18195 found_so="$dir/$f" 18196 break 18197 fi 18198 done 18199 fi 18200 fi 18201 fi 18202 if test "X$found_dir" = "X"; then 18203 if test -f "$dir/$libname.$acl_libext"; then 18204 found_dir="$dir" 18205 found_a="$dir/$libname.$acl_libext" 18206 fi 18207 fi 18208 if test "X$found_dir" != "X"; then 18209 if test -f "$dir/$libname.la"; then 18210 found_la="$dir/$libname.la" 18211 fi 18212 fi 18213 fi 18214 if test "X$found_dir" = "X"; then 18215 for x in $LDFLAGS $LTLIBINTL; do 18216 18217 acl_save_prefix="$prefix" 18218 prefix="$acl_final_prefix" 18219 acl_save_exec_prefix="$exec_prefix" 18220 exec_prefix="$acl_final_exec_prefix" 18221 eval x=\"$x\" 18222 exec_prefix="$acl_save_exec_prefix" 18223 prefix="$acl_save_prefix" 18224 18225 case "$x" in 18226 -L*) 18227 dir=`echo "X$x" | sed -e 's/^X-L//'` 18228 if test -n "$acl_shlibext"; then 18229 if test -f "$dir/$libname$shrext"; then 18230 found_dir="$dir" 18231 found_so="$dir/$libname$shrext" 18232 else 18233 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18234 ver=`(cd "$dir" && \ 18235 for f in "$libname$shrext".*; do echo "$f"; done \ 18236 | sed -e "s,^$libname$shrext\\\\.,," \ 18237 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18238 | sed 1q ) 2>/dev/null` 18239 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18240 found_dir="$dir" 18241 found_so="$dir/$libname$shrext.$ver" 18242 fi 18243 else 18244 eval library_names=\"$acl_library_names_spec\" 18245 for f in $library_names; do 18246 if test -f "$dir/$f"; then 18247 found_dir="$dir" 18248 found_so="$dir/$f" 18249 break 18250 fi 18251 done 18252 fi 18253 fi 18254 fi 18255 if test "X$found_dir" = "X"; then 18256 if test -f "$dir/$libname.$acl_libext"; then 18257 found_dir="$dir" 18258 found_a="$dir/$libname.$acl_libext" 18259 fi 18260 fi 18261 if test "X$found_dir" != "X"; then 18262 if test -f "$dir/$libname.la"; then 18263 found_la="$dir/$libname.la" 18264 fi 18265 fi 18266 ;; 18267 esac 18268 if test "X$found_dir" != "X"; then 18269 break 18270 fi 18271 done 18272 fi 18273 if test "X$found_dir" != "X"; then 18274 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 18275 if test "X$found_so" != "X"; then 18276 if test "$enable_rpath" = no \ 18277 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 18278 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 18279 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18280 else 18281 haveit= 18282 for x in $ltrpathdirs; do 18283 if test "X$x" = "X$found_dir"; then 18284 haveit=yes 18285 break 18286 fi 18287 done 18288 if test -z "$haveit"; then 18289 ltrpathdirs="$ltrpathdirs $found_dir" 18290 fi 18291 if test "$acl_hardcode_direct" = yes; then 18292 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18293 else 18294 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 18295 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18296 haveit= 18297 for x in $rpathdirs; do 18298 if test "X$x" = "X$found_dir"; then 18299 haveit=yes 18300 break 18301 fi 18302 done 18303 if test -z "$haveit"; then 18304 rpathdirs="$rpathdirs $found_dir" 18305 fi 18306 else 18307 haveit= 18308 for x in $LDFLAGS $LIBINTL; do 18309 18310 acl_save_prefix="$prefix" 18311 prefix="$acl_final_prefix" 18312 acl_save_exec_prefix="$exec_prefix" 18313 exec_prefix="$acl_final_exec_prefix" 18314 eval x=\"$x\" 18315 exec_prefix="$acl_save_exec_prefix" 18316 prefix="$acl_save_prefix" 18317 18318 if test "X$x" = "X-L$found_dir"; then 18319 haveit=yes 18320 break 18321 fi 18322 done 18323 if test -z "$haveit"; then 18324 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 18325 fi 18326 if test "$acl_hardcode_minus_L" != no; then 18327 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18328 else 18329 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18330 fi 18331 fi 18332 fi 18333 fi 18334 else 18335 if test "X$found_a" != "X"; then 18336 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 18337 else 18338 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 18339 fi 18340 fi 18341 additional_includedir= 18342 case "$found_dir" in 18343 */$acl_libdirstem | */$acl_libdirstem/) 18344 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 18345 if test "$name" = 'intl'; then 18346 LIBINTL_PREFIX="$basedir" 18347 fi 18348 additional_includedir="$basedir/include" 18349 ;; 18350 */$acl_libdirstem2 | */$acl_libdirstem2/) 18351 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 18352 if test "$name" = 'intl'; then 18353 LIBINTL_PREFIX="$basedir" 18354 fi 18355 additional_includedir="$basedir/include" 18356 ;; 18357 esac 18358 if test "X$additional_includedir" != "X"; then 18359 if test "X$additional_includedir" != "X/usr/include"; then 18360 haveit= 18361 if test "X$additional_includedir" = "X/usr/local/include"; then 18362 if test -n "$GCC"; then 18363 case $host_os in 18364 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18365 esac 18366 fi 18367 fi 18368 if test -z "$haveit"; then 18369 for x in $CPPFLAGS $INCINTL; do 18370 18371 acl_save_prefix="$prefix" 18372 prefix="$acl_final_prefix" 18373 acl_save_exec_prefix="$exec_prefix" 18374 exec_prefix="$acl_final_exec_prefix" 18375 eval x=\"$x\" 18376 exec_prefix="$acl_save_exec_prefix" 18377 prefix="$acl_save_prefix" 18378 18379 if test "X$x" = "X-I$additional_includedir"; then 18380 haveit=yes 18381 break 18382 fi 18383 done 18384 if test -z "$haveit"; then 18385 if test -d "$additional_includedir"; then 18386 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 18387 fi 18388 fi 18389 fi 18390 fi 18391 fi 18392 if test -n "$found_la"; then 18393 save_libdir="$libdir" 18394 case "$found_la" in 18395 */* | *\\*) . "$found_la" ;; 18396 *) . "./$found_la" ;; 18397 esac 18398 libdir="$save_libdir" 18399 for dep in $dependency_libs; do 18400 case "$dep" in 18401 -L*) 18402 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 18403 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 18404 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 18405 haveit= 18406 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 18407 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 18408 if test -n "$GCC"; then 18409 case $host_os in 18410 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18411 esac 18412 fi 18413 fi 18414 if test -z "$haveit"; then 18415 haveit= 18416 for x in $LDFLAGS $LIBINTL; do 18417 18418 acl_save_prefix="$prefix" 18419 prefix="$acl_final_prefix" 18420 acl_save_exec_prefix="$exec_prefix" 18421 exec_prefix="$acl_final_exec_prefix" 18422 eval x=\"$x\" 18423 exec_prefix="$acl_save_exec_prefix" 18424 prefix="$acl_save_prefix" 18425 18426 if test "X$x" = "X-L$additional_libdir"; then 18427 haveit=yes 18428 break 18429 fi 18430 done 18431 if test -z "$haveit"; then 18432 if test -d "$additional_libdir"; then 18433 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 18434 fi 18435 fi 18436 haveit= 18437 for x in $LDFLAGS $LTLIBINTL; do 18438 18439 acl_save_prefix="$prefix" 18440 prefix="$acl_final_prefix" 18441 acl_save_exec_prefix="$exec_prefix" 18442 exec_prefix="$acl_final_exec_prefix" 18443 eval x=\"$x\" 18444 exec_prefix="$acl_save_exec_prefix" 18445 prefix="$acl_save_prefix" 18446 18447 if test "X$x" = "X-L$additional_libdir"; then 18448 haveit=yes 18449 break 18450 fi 18451 done 18452 if test -z "$haveit"; then 18453 if test -d "$additional_libdir"; then 18454 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 18455 fi 18456 fi 18457 fi 18458 fi 18459 ;; 18460 -R*) 18461 dir=`echo "X$dep" | sed -e 's/^X-R//'` 18462 if test "$enable_rpath" != no; then 18463 haveit= 18464 for x in $rpathdirs; do 18465 if test "X$x" = "X$dir"; then 18466 haveit=yes 18467 break 18468 fi 18469 done 18470 if test -z "$haveit"; then 18471 rpathdirs="$rpathdirs $dir" 18472 fi 18473 haveit= 18474 for x in $ltrpathdirs; do 18475 if test "X$x" = "X$dir"; then 18476 haveit=yes 18477 break 18478 fi 18479 done 18480 if test -z "$haveit"; then 18481 ltrpathdirs="$ltrpathdirs $dir" 18482 fi 18483 fi 18484 ;; 18485 -l*) 18486 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18487 ;; 18488 *.la) 18489 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18490 ;; 18491 *) 18492 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 18493 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 18494 ;; 18495 esac 18496 done 18497 fi 18498 else 18499 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18500 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 18501 fi 18502 fi 18503 fi 18504 done 18505 done 18506 if test "X$rpathdirs" != "X"; then 18507 if test -n "$acl_hardcode_libdir_separator"; then 18508 alldirs= 18509 for found_dir in $rpathdirs; do 18510 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18511 done 18512 acl_save_libdir="$libdir" 18513 libdir="$alldirs" 18514 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18515 libdir="$acl_save_libdir" 18516 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18517 else 18518 for found_dir in $rpathdirs; do 18519 acl_save_libdir="$libdir" 18520 libdir="$found_dir" 18521 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18522 libdir="$acl_save_libdir" 18523 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18524 done 18525 fi 18526 fi 18527 if test "X$ltrpathdirs" != "X"; then 18528 for found_dir in $ltrpathdirs; do 18529 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 18530 done 18531 fi 18532 18533 18534 18535 18536 18537 18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 18539$as_echo_n "checking for GNU gettext in libintl... " >&6; } 18540if eval \${$gt_func_gnugettext_libintl+:} false; then : 18541 $as_echo_n "(cached) " >&6 18542else 18543 gt_save_CPPFLAGS="$CPPFLAGS" 18544 CPPFLAGS="$CPPFLAGS $INCINTL" 18545 gt_save_LIBS="$LIBS" 18546 LIBS="$LIBS $LIBINTL" 18547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18548/* end confdefs.h. */ 18549 18550#include <libintl.h> 18551#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 18552extern int _nl_msg_cat_cntr; 18553extern 18554#ifdef __cplusplus 18555"C" 18556#endif 18557const char *_nl_expand_alias (const char *); 18558#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 18559#else 18560#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 18561#endif 18562$gt_revision_test_code 18563 18564int 18565main () 18566{ 18567 18568bindtextdomain ("", ""); 18569return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 18570 18571 ; 18572 return 0; 18573} 18574_ACEOF 18575if ac_fn_c_try_link "$LINENO"; then : 18576 eval "$gt_func_gnugettext_libintl=yes" 18577else 18578 eval "$gt_func_gnugettext_libintl=no" 18579fi 18580rm -f core conftest.err conftest.$ac_objext \ 18581 conftest$ac_exeext conftest.$ac_ext 18582 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 18583 LIBS="$LIBS $LIBICONV" 18584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18585/* end confdefs.h. */ 18586 18587#include <libintl.h> 18588#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 18589extern int _nl_msg_cat_cntr; 18590extern 18591#ifdef __cplusplus 18592"C" 18593#endif 18594const char *_nl_expand_alias (const char *); 18595#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 18596#else 18597#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 18598#endif 18599$gt_revision_test_code 18600 18601int 18602main () 18603{ 18604 18605bindtextdomain ("", ""); 18606return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 18607 18608 ; 18609 return 0; 18610} 18611_ACEOF 18612if ac_fn_c_try_link "$LINENO"; then : 18613 LIBINTL="$LIBINTL $LIBICONV" 18614 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 18615 eval "$gt_func_gnugettext_libintl=yes" 18616 18617fi 18618rm -f core conftest.err conftest.$ac_objext \ 18619 conftest$ac_exeext conftest.$ac_ext 18620 fi 18621 CPPFLAGS="$gt_save_CPPFLAGS" 18622 LIBS="$gt_save_LIBS" 18623fi 18624eval ac_res=\$$gt_func_gnugettext_libintl 18625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18626$as_echo "$ac_res" >&6; } 18627 fi 18628 18629 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 18630 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 18631 && test "$PACKAGE" != gettext-runtime \ 18632 && test "$PACKAGE" != gettext-tools; }; then 18633 gt_use_preinstalled_gnugettext=yes 18634 else 18635 LIBINTL= 18636 LTLIBINTL= 18637 INCINTL= 18638 fi 18639 18640 18641 18642 if test -n "$INTL_MACOSX_LIBS"; then 18643 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 18644 || test "$nls_cv_use_gnu_gettext" = "yes"; then 18645 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 18646 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 18647 fi 18648 fi 18649 18650 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 18651 || test "$nls_cv_use_gnu_gettext" = "yes"; then 18652 18653$as_echo "#define ENABLE_NLS 1" >>confdefs.h 18654 18655 else 18656 USE_NLS=no 18657 fi 18658 fi 18659 18660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 18661$as_echo_n "checking whether to use NLS... " >&6; } 18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 18663$as_echo "$USE_NLS" >&6; } 18664 if test "$USE_NLS" = "yes"; then 18665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 18666$as_echo_n "checking where the gettext function comes from... " >&6; } 18667 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 18668 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 18669 gt_source="external libintl" 18670 else 18671 gt_source="libc" 18672 fi 18673 else 18674 gt_source="included intl directory" 18675 fi 18676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 18677$as_echo "$gt_source" >&6; } 18678 fi 18679 18680 if test "$USE_NLS" = "yes"; then 18681 18682 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 18683 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 18684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 18685$as_echo_n "checking how to link with libintl... " >&6; } 18686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 18687$as_echo "$LIBINTL" >&6; } 18688 18689 for element in $INCINTL; do 18690 haveit= 18691 for x in $CPPFLAGS; do 18692 18693 acl_save_prefix="$prefix" 18694 prefix="$acl_final_prefix" 18695 acl_save_exec_prefix="$exec_prefix" 18696 exec_prefix="$acl_final_exec_prefix" 18697 eval x=\"$x\" 18698 exec_prefix="$acl_save_exec_prefix" 18699 prefix="$acl_save_prefix" 18700 18701 if test "X$x" = "X$element"; then 18702 haveit=yes 18703 break 18704 fi 18705 done 18706 if test -z "$haveit"; then 18707 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 18708 fi 18709 done 18710 18711 fi 18712 18713 18714$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 18715 18716 18717$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 18718 18719 fi 18720 18721 POSUB=po 18722 fi 18723 18724 18725 18726 INTLLIBS="$LIBINTL" 18727 18728 18729 18730 18731 18732 18733# FIXME: Remove AM_GNU_GETTEXT_VERSION once autoreconf supports REQUIRE_VERSION 18734 18735 18736 18737 18738 18739 18740 18741GLIB_REQUIRED=2.35.4 18742SQLITE_REQUIRED=3.7.11 18743VALADOC_REQUIRED=0.2 18744 18745ZEITGEIST_REQUIRED="glib-2.0 >= $GLIB_REQUIRED 18746 gobject-2.0 >= $GLIB_REQUIRED 18747 gmodule-2.0 >= $GLIB_REQUIRED 18748 gio-unix-2.0 >= $GLIB_REQUIRED 18749 sqlite3 >= $SQLITE_REQUIRED" 18750 18751 18752pkg_failed=no 18753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ZEITGEIST_REQUIRED" >&5 18754$as_echo_n "checking for $ZEITGEIST_REQUIRED... " >&6; } 18755 18756if test -n "$ZEITGEIST_CFLAGS"; then 18757 pkg_cv_ZEITGEIST_CFLAGS="$ZEITGEIST_CFLAGS" 18758 elif test -n "$PKG_CONFIG"; then 18759 if test -n "$PKG_CONFIG" && \ 18760 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$ZEITGEIST_REQUIRED\""; } >&5 18761 ($PKG_CONFIG --exists --print-errors "$ZEITGEIST_REQUIRED") 2>&5 18762 ac_status=$? 18763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18764 test $ac_status = 0; }; then 18765 pkg_cv_ZEITGEIST_CFLAGS=`$PKG_CONFIG --cflags "$ZEITGEIST_REQUIRED" 2>/dev/null` 18766 test "x$?" != "x0" && pkg_failed=yes 18767else 18768 pkg_failed=yes 18769fi 18770 else 18771 pkg_failed=untried 18772fi 18773if test -n "$ZEITGEIST_LIBS"; then 18774 pkg_cv_ZEITGEIST_LIBS="$ZEITGEIST_LIBS" 18775 elif test -n "$PKG_CONFIG"; then 18776 if test -n "$PKG_CONFIG" && \ 18777 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$ZEITGEIST_REQUIRED\""; } >&5 18778 ($PKG_CONFIG --exists --print-errors "$ZEITGEIST_REQUIRED") 2>&5 18779 ac_status=$? 18780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18781 test $ac_status = 0; }; then 18782 pkg_cv_ZEITGEIST_LIBS=`$PKG_CONFIG --libs "$ZEITGEIST_REQUIRED" 2>/dev/null` 18783 test "x$?" != "x0" && pkg_failed=yes 18784else 18785 pkg_failed=yes 18786fi 18787 else 18788 pkg_failed=untried 18789fi 18790 18791 18792 18793if test $pkg_failed = yes; then 18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18795$as_echo "no" >&6; } 18796 18797if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18798 _pkg_short_errors_supported=yes 18799else 18800 _pkg_short_errors_supported=no 18801fi 18802 if test $_pkg_short_errors_supported = yes; then 18803 ZEITGEIST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$ZEITGEIST_REQUIRED" 2>&1` 18804 else 18805 ZEITGEIST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$ZEITGEIST_REQUIRED" 2>&1` 18806 fi 18807 # Put the nasty error message in config.log where it belongs 18808 echo "$ZEITGEIST_PKG_ERRORS" >&5 18809 18810 as_fn_error $? "Package requirements ($ZEITGEIST_REQUIRED) were not met: 18811 18812$ZEITGEIST_PKG_ERRORS 18813 18814Consider adjusting the PKG_CONFIG_PATH environment variable if you 18815installed software in a non-standard prefix. 18816 18817Alternatively, you may set the environment variables ZEITGEIST_CFLAGS 18818and ZEITGEIST_LIBS to avoid the need to call pkg-config. 18819See the pkg-config man page for more details." "$LINENO" 5 18820elif test $pkg_failed = untried; then 18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18822$as_echo "no" >&6; } 18823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18824$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18825as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 18826is in your PATH or set the PKG_CONFIG environment variable to the full 18827path to pkg-config. 18828 18829Alternatively, you may set the environment variables ZEITGEIST_CFLAGS 18830and ZEITGEIST_LIBS to avoid the need to call pkg-config. 18831See the pkg-config man page for more details. 18832 18833To get pkg-config, see <http://pkg-config.freedesktop.org/>. 18834See \`config.log' for more details" "$LINENO" 5; } 18835else 18836 ZEITGEIST_CFLAGS=$pkg_cv_ZEITGEIST_CFLAGS 18837 ZEITGEIST_LIBS=$pkg_cv_ZEITGEIST_LIBS 18838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18839$as_echo "yes" >&6; } 18840 18841fi 18842 18843 18844ac_config_files="$ac_config_files Makefile src/Makefile libzeitgeist/Makefile libzeitgeist/zeitgeist-2.0.pc datahub/Makefile extensions/Makefile extensions/fts++/Makefile extensions/fts++/test/Makefile data/Makefile data/ontology/Makefile python/Makefile test/Makefile test/dbus/Makefile test/direct/Makefile test/c/Makefile test/data/Makefile examples/Makefile examples/c/Makefile examples/vala/Makefile doc/Makefile doc/libzeitgeist/Makefile po/Makefile.in" 18845 18846 18847################################################# 18848# Dee-ICU check 18849################################################# 18850DEE_ICU_REQUIRED=1.0.2 18851 18852 18853# Check whether --with-dee-icu was given. 18854if test "${with_dee_icu+set}" = set; then : 18855 withval=$with_dee_icu; with_dee_icu=$withval 18856else 18857 with_dee_icu="auto" 18858fi 18859 18860 18861if test "x$with_dee_icu" = "xauto" ; then 18862 if test -n "$PKG_CONFIG" && \ 18863 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dee-icu-1.0 >= \$DEE_ICU_REQUIRED\""; } >&5 18864 ($PKG_CONFIG --exists --print-errors "dee-icu-1.0 >= $DEE_ICU_REQUIRED") 2>&5 18865 ac_status=$? 18866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18867 test $ac_status = 0; }; then 18868 with_dee_icu="yes" 18869else 18870 with_dee_icu="no" 18871fi 18872fi 18873 18874if test "x$with_dee_icu" = "xyes" ; then 18875 18876pkg_failed=no 18877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dee-icu-1.0 >= $DEE_ICU_REQUIRED" >&5 18878$as_echo_n "checking for dee-icu-1.0 >= $DEE_ICU_REQUIRED... " >&6; } 18879 18880if test -n "$DEE_ICU_CFLAGS"; then 18881 pkg_cv_DEE_ICU_CFLAGS="$DEE_ICU_CFLAGS" 18882 elif test -n "$PKG_CONFIG"; then 18883 if test -n "$PKG_CONFIG" && \ 18884 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dee-icu-1.0 >= \$DEE_ICU_REQUIRED\""; } >&5 18885 ($PKG_CONFIG --exists --print-errors "dee-icu-1.0 >= $DEE_ICU_REQUIRED") 2>&5 18886 ac_status=$? 18887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18888 test $ac_status = 0; }; then 18889 pkg_cv_DEE_ICU_CFLAGS=`$PKG_CONFIG --cflags "dee-icu-1.0 >= $DEE_ICU_REQUIRED" 2>/dev/null` 18890 test "x$?" != "x0" && pkg_failed=yes 18891else 18892 pkg_failed=yes 18893fi 18894 else 18895 pkg_failed=untried 18896fi 18897if test -n "$DEE_ICU_LIBS"; then 18898 pkg_cv_DEE_ICU_LIBS="$DEE_ICU_LIBS" 18899 elif test -n "$PKG_CONFIG"; then 18900 if test -n "$PKG_CONFIG" && \ 18901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dee-icu-1.0 >= \$DEE_ICU_REQUIRED\""; } >&5 18902 ($PKG_CONFIG --exists --print-errors "dee-icu-1.0 >= $DEE_ICU_REQUIRED") 2>&5 18903 ac_status=$? 18904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18905 test $ac_status = 0; }; then 18906 pkg_cv_DEE_ICU_LIBS=`$PKG_CONFIG --libs "dee-icu-1.0 >= $DEE_ICU_REQUIRED" 2>/dev/null` 18907 test "x$?" != "x0" && pkg_failed=yes 18908else 18909 pkg_failed=yes 18910fi 18911 else 18912 pkg_failed=untried 18913fi 18914 18915 18916 18917if test $pkg_failed = yes; then 18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18919$as_echo "no" >&6; } 18920 18921if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18922 _pkg_short_errors_supported=yes 18923else 18924 _pkg_short_errors_supported=no 18925fi 18926 if test $_pkg_short_errors_supported = yes; then 18927 DEE_ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dee-icu-1.0 >= $DEE_ICU_REQUIRED" 2>&1` 18928 else 18929 DEE_ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dee-icu-1.0 >= $DEE_ICU_REQUIRED" 2>&1` 18930 fi 18931 # Put the nasty error message in config.log where it belongs 18932 echo "$DEE_ICU_PKG_ERRORS" >&5 18933 18934 as_fn_error $? "Package requirements (dee-icu-1.0 >= $DEE_ICU_REQUIRED) were not met: 18935 18936$DEE_ICU_PKG_ERRORS 18937 18938Consider adjusting the PKG_CONFIG_PATH environment variable if you 18939installed software in a non-standard prefix. 18940 18941Alternatively, you may set the environment variables DEE_ICU_CFLAGS 18942and DEE_ICU_LIBS to avoid the need to call pkg-config. 18943See the pkg-config man page for more details." "$LINENO" 5 18944elif test $pkg_failed = untried; then 18945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18946$as_echo "no" >&6; } 18947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18948$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18949as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 18950is in your PATH or set the PKG_CONFIG environment variable to the full 18951path to pkg-config. 18952 18953Alternatively, you may set the environment variables DEE_ICU_CFLAGS 18954and DEE_ICU_LIBS to avoid the need to call pkg-config. 18955See the pkg-config man page for more details. 18956 18957To get pkg-config, see <http://pkg-config.freedesktop.org/>. 18958See \`config.log' for more details" "$LINENO" 5; } 18959else 18960 DEE_ICU_CFLAGS=$pkg_cv_DEE_ICU_CFLAGS 18961 DEE_ICU_LIBS=$pkg_cv_DEE_ICU_LIBS 18962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18963$as_echo "yes" >&6; } 18964 18965fi 18966 18967$as_echo "#define HAVE_DEE_ICU 1" >>confdefs.h 18968 18969fi 18970 18971 if test "x$with_dee_icu" = "xyes"; then 18972 HAVE_DEE_ICU_TRUE= 18973 HAVE_DEE_ICU_FALSE='#' 18974else 18975 HAVE_DEE_ICU_TRUE='#' 18976 HAVE_DEE_ICU_FALSE= 18977fi 18978 18979 18980################################################# 18981# Configure option: --enable-explain-queries 18982################################################# 18983 18984# Check whether --enable-explain-queries was given. 18985if test "${enable_explain_queries+set}" = set; then : 18986 enableval=$enable_explain_queries; explain_queries=$enableval 18987else 18988 explain_queries="no" 18989fi 18990 18991 18992 if test "x$explain_queries" = "xyes"; then 18993 EXPLAIN_QUERIES_TRUE= 18994 EXPLAIN_QUERIES_FALSE='#' 18995else 18996 EXPLAIN_QUERIES_TRUE='#' 18997 EXPLAIN_QUERIES_FALSE= 18998fi 18999 19000 19001################################################# 19002# Configure option: --enable-fts 19003################################################# 19004 19005# Check whether --enable-fts was given. 19006if test "${enable_fts+set}" = set; then : 19007 enableval=$enable_fts; enable_fts=$enableval 19008else 19009 enable_fts="no" 19010fi 19011 19012 19013 if test "x$enable_fts" = "xyes"; then 19014 HAVE_FTS_TRUE= 19015 HAVE_FTS_FALSE='#' 19016else 19017 HAVE_FTS_TRUE='#' 19018 HAVE_FTS_FALSE= 19019fi 19020 19021 19022if test "x$enable_fts" = "xyes"; then 19023 # check for Xapian 19024 # Extract the first word of "xapian-config", so it can be a program name with args. 19025set dummy xapian-config; ac_word=$2 19026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19027$as_echo_n "checking for $ac_word... " >&6; } 19028if ${ac_cv_prog_HAVE_XAPIAN+:} false; then : 19029 $as_echo_n "(cached) " >&6 19030else 19031 if test -n "$HAVE_XAPIAN"; then 19032 ac_cv_prog_HAVE_XAPIAN="$HAVE_XAPIAN" # Let the user override the test. 19033else 19034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19035for as_dir in $PATH 19036do 19037 IFS=$as_save_IFS 19038 test -z "$as_dir" && as_dir=. 19039 for ac_exec_ext in '' $ac_executable_extensions; do 19040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19041 ac_cv_prog_HAVE_XAPIAN="yes" 19042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19043 break 2 19044 fi 19045done 19046 done 19047IFS=$as_save_IFS 19048 19049 test -z "$ac_cv_prog_HAVE_XAPIAN" && ac_cv_prog_HAVE_XAPIAN="no" 19050fi 19051fi 19052HAVE_XAPIAN=$ac_cv_prog_HAVE_XAPIAN 19053if test -n "$HAVE_XAPIAN"; then 19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XAPIAN" >&5 19055$as_echo "$HAVE_XAPIAN" >&6; } 19056else 19057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19058$as_echo "no" >&6; } 19059fi 19060 19061 19062 if test "x$HAVE_XAPIAN" = "xno"; then 19063 as_fn_error $? "\"You need the Xapian development files in order to compile Zeitgeist\"" "$LINENO" 5 19064 fi 19065 XAPIAN_LIBS=`xapian-config --libs` 19066 XAPIAN_CXXFLAGS=`xapian-config --cxxflags` 19067 19068 19069fi 19070 19071################################################# 19072# Configure option: --enable-datahub 19073################################################# 19074JSON_GLIB_REQUIRED=0.14.0 19075GTK_REQUIRED=3.0.0 19076 19077ZEITGEIST_DATAHUB_REQUIRED="glib-2.0 >= $GLIB_REQUIRED 19078 gobject-2.0 >= $GLIB_REQUIRED 19079 gio-2.0 >= $GLIB_REQUIRED 19080 gio-unix-2.0 >= $GLIB_REQUIRED 19081 gtk+-3.0 >= $GTK_REQUIRED 19082 json-glib-1.0 >= $JSON_GLIB_REQUIRED" 19083 19084# Check whether --enable-datahub was given. 19085if test "${enable_datahub+set}" = set; then : 19086 enableval=$enable_datahub; enable_datahub=$enableval 19087else 19088 enable_datahub="yes" 19089fi 19090 19091 19092 if test "x$enable_datahub" = "xyes"; then 19093 ENABLE_DATAHUB_TRUE= 19094 ENABLE_DATAHUB_FALSE='#' 19095else 19096 ENABLE_DATAHUB_TRUE='#' 19097 ENABLE_DATAHUB_FALSE= 19098fi 19099 19100 19101################################################# 19102# Additional provider for datahub 19103# Configure option: --enable-telepathy 19104################################################# 19105TELEPATHY_GLIB_REQUIRED=0.18.0 19106 19107# Check whether --enable-telepathy was given. 19108if test "${enable_telepathy+set}" = set; then : 19109 enableval=$enable_telepathy; enable_telepathy=$enableval 19110else 19111 enable_telepathy="yes" 19112fi 19113 19114 19115if test "x$enable_telepathy" = "xyes" -a "x$enable_datahub" = "xyes"; then 19116 19117pkg_failed=no 19118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for telepathy-glib >= $TELEPATHY_GLIB_REQUIRED" >&5 19119$as_echo_n "checking for telepathy-glib >= $TELEPATHY_GLIB_REQUIRED... " >&6; } 19120 19121if test -n "$TELEPATHY_GLIB_CFLAGS"; then 19122 pkg_cv_TELEPATHY_GLIB_CFLAGS="$TELEPATHY_GLIB_CFLAGS" 19123 elif test -n "$PKG_CONFIG"; then 19124 if test -n "$PKG_CONFIG" && \ 19125 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"telepathy-glib >= \$TELEPATHY_GLIB_REQUIRED\""; } >&5 19126 ($PKG_CONFIG --exists --print-errors "telepathy-glib >= $TELEPATHY_GLIB_REQUIRED") 2>&5 19127 ac_status=$? 19128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19129 test $ac_status = 0; }; then 19130 pkg_cv_TELEPATHY_GLIB_CFLAGS=`$PKG_CONFIG --cflags "telepathy-glib >= $TELEPATHY_GLIB_REQUIRED" 2>/dev/null` 19131 test "x$?" != "x0" && pkg_failed=yes 19132else 19133 pkg_failed=yes 19134fi 19135 else 19136 pkg_failed=untried 19137fi 19138if test -n "$TELEPATHY_GLIB_LIBS"; then 19139 pkg_cv_TELEPATHY_GLIB_LIBS="$TELEPATHY_GLIB_LIBS" 19140 elif test -n "$PKG_CONFIG"; then 19141 if test -n "$PKG_CONFIG" && \ 19142 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"telepathy-glib >= \$TELEPATHY_GLIB_REQUIRED\""; } >&5 19143 ($PKG_CONFIG --exists --print-errors "telepathy-glib >= $TELEPATHY_GLIB_REQUIRED") 2>&5 19144 ac_status=$? 19145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19146 test $ac_status = 0; }; then 19147 pkg_cv_TELEPATHY_GLIB_LIBS=`$PKG_CONFIG --libs "telepathy-glib >= $TELEPATHY_GLIB_REQUIRED" 2>/dev/null` 19148 test "x$?" != "x0" && pkg_failed=yes 19149else 19150 pkg_failed=yes 19151fi 19152 else 19153 pkg_failed=untried 19154fi 19155 19156 19157 19158if test $pkg_failed = yes; then 19159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19160$as_echo "no" >&6; } 19161 19162if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19163 _pkg_short_errors_supported=yes 19164else 19165 _pkg_short_errors_supported=no 19166fi 19167 if test $_pkg_short_errors_supported = yes; then 19168 TELEPATHY_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "telepathy-glib >= $TELEPATHY_GLIB_REQUIRED" 2>&1` 19169 else 19170 TELEPATHY_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "telepathy-glib >= $TELEPATHY_GLIB_REQUIRED" 2>&1` 19171 fi 19172 # Put the nasty error message in config.log where it belongs 19173 echo "$TELEPATHY_GLIB_PKG_ERRORS" >&5 19174 19175 as_fn_error $? "Package requirements (telepathy-glib >= $TELEPATHY_GLIB_REQUIRED) were not met: 19176 19177$TELEPATHY_GLIB_PKG_ERRORS 19178 19179Consider adjusting the PKG_CONFIG_PATH environment variable if you 19180installed software in a non-standard prefix. 19181 19182Alternatively, you may set the environment variables TELEPATHY_GLIB_CFLAGS 19183and TELEPATHY_GLIB_LIBS to avoid the need to call pkg-config. 19184See the pkg-config man page for more details." "$LINENO" 5 19185elif test $pkg_failed = untried; then 19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19187$as_echo "no" >&6; } 19188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19189$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19190as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 19191is in your PATH or set the PKG_CONFIG environment variable to the full 19192path to pkg-config. 19193 19194Alternatively, you may set the environment variables TELEPATHY_GLIB_CFLAGS 19195and TELEPATHY_GLIB_LIBS to avoid the need to call pkg-config. 19196See the pkg-config man page for more details. 19197 19198To get pkg-config, see <http://pkg-config.freedesktop.org/>. 19199See \`config.log' for more details" "$LINENO" 5; } 19200else 19201 TELEPATHY_GLIB_CFLAGS=$pkg_cv_TELEPATHY_GLIB_CFLAGS 19202 TELEPATHY_GLIB_LIBS=$pkg_cv_TELEPATHY_GLIB_LIBS 19203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19204$as_echo "yes" >&6; } 19205 19206fi 19207 ZEITGEIST_DATAHUB_REQUIRED="$ZEITGEIST_DATAHUB_REQUIRED telepathy-glib >= $TELEPATHY_GLIB_REQUIRED" 19208 19209$as_echo "#define ENABLE_TELEPATHY 1" >>confdefs.h 19210 19211else 19212 enable_telepathy="no" 19213fi 19214 if test "x$enable_telepathy" = "xyes" -a "x$enable_datahub" = "xyes"; then 19215 ENABLE_TELEPATHY_TRUE= 19216 ENABLE_TELEPATHY_FALSE='#' 19217else 19218 ENABLE_TELEPATHY_TRUE='#' 19219 ENABLE_TELEPATHY_FALSE= 19220fi 19221 19222 19223################################################# 19224# Additional provider for datahub 19225# Configure option: --enable-downloads-monitor 19226################################################# 19227 19228# Check whether --enable-downloads-monitor was given. 19229if test "${enable_downloads_monitor+set}" = set; then : 19230 enableval=$enable_downloads_monitor; enable_downloads_monitor=$enableval 19231else 19232 enable_downloads_monitor="yes" 19233fi 19234 19235 if test "x$enable_downloads_monitor" = "xyes" -a "x$enable_datahub" = "xyes"; then 19236 ENABLE_DOWNLOADS_MONITOR_TRUE= 19237 ENABLE_DOWNLOADS_MONITOR_FALSE='#' 19238else 19239 ENABLE_DOWNLOADS_MONITOR_TRUE='#' 19240 ENABLE_DOWNLOADS_MONITOR_FALSE= 19241fi 19242 19243 19244 19245################################################# 19246# Configure option: --enable-datahub 19247################################################# 19248if test "x$enable_datahub" = "xyes"; then 19249 19250pkg_failed=no 19251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ZEITGEIST_DATAHUB_REQUIRED" >&5 19252$as_echo_n "checking for $ZEITGEIST_DATAHUB_REQUIRED... " >&6; } 19253 19254if test -n "$ZEITGEIST_DATAHUB_CFLAGS"; then 19255 pkg_cv_ZEITGEIST_DATAHUB_CFLAGS="$ZEITGEIST_DATAHUB_CFLAGS" 19256 elif test -n "$PKG_CONFIG"; then 19257 if test -n "$PKG_CONFIG" && \ 19258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$ZEITGEIST_DATAHUB_REQUIRED\""; } >&5 19259 ($PKG_CONFIG --exists --print-errors "$ZEITGEIST_DATAHUB_REQUIRED") 2>&5 19260 ac_status=$? 19261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19262 test $ac_status = 0; }; then 19263 pkg_cv_ZEITGEIST_DATAHUB_CFLAGS=`$PKG_CONFIG --cflags "$ZEITGEIST_DATAHUB_REQUIRED" 2>/dev/null` 19264 test "x$?" != "x0" && pkg_failed=yes 19265else 19266 pkg_failed=yes 19267fi 19268 else 19269 pkg_failed=untried 19270fi 19271if test -n "$ZEITGEIST_DATAHUB_LIBS"; then 19272 pkg_cv_ZEITGEIST_DATAHUB_LIBS="$ZEITGEIST_DATAHUB_LIBS" 19273 elif test -n "$PKG_CONFIG"; then 19274 if test -n "$PKG_CONFIG" && \ 19275 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$ZEITGEIST_DATAHUB_REQUIRED\""; } >&5 19276 ($PKG_CONFIG --exists --print-errors "$ZEITGEIST_DATAHUB_REQUIRED") 2>&5 19277 ac_status=$? 19278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19279 test $ac_status = 0; }; then 19280 pkg_cv_ZEITGEIST_DATAHUB_LIBS=`$PKG_CONFIG --libs "$ZEITGEIST_DATAHUB_REQUIRED" 2>/dev/null` 19281 test "x$?" != "x0" && pkg_failed=yes 19282else 19283 pkg_failed=yes 19284fi 19285 else 19286 pkg_failed=untried 19287fi 19288 19289 19290 19291if test $pkg_failed = yes; then 19292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19293$as_echo "no" >&6; } 19294 19295if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19296 _pkg_short_errors_supported=yes 19297else 19298 _pkg_short_errors_supported=no 19299fi 19300 if test $_pkg_short_errors_supported = yes; then 19301 ZEITGEIST_DATAHUB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$ZEITGEIST_DATAHUB_REQUIRED" 2>&1` 19302 else 19303 ZEITGEIST_DATAHUB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$ZEITGEIST_DATAHUB_REQUIRED" 2>&1` 19304 fi 19305 # Put the nasty error message in config.log where it belongs 19306 echo "$ZEITGEIST_DATAHUB_PKG_ERRORS" >&5 19307 19308 as_fn_error $? "Package requirements ($ZEITGEIST_DATAHUB_REQUIRED) were not met: 19309 19310$ZEITGEIST_DATAHUB_PKG_ERRORS 19311 19312Consider adjusting the PKG_CONFIG_PATH environment variable if you 19313installed software in a non-standard prefix. 19314 19315Alternatively, you may set the environment variables ZEITGEIST_DATAHUB_CFLAGS 19316and ZEITGEIST_DATAHUB_LIBS to avoid the need to call pkg-config. 19317See the pkg-config man page for more details." "$LINENO" 5 19318elif test $pkg_failed = untried; then 19319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19320$as_echo "no" >&6; } 19321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19322$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19323as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 19324is in your PATH or set the PKG_CONFIG environment variable to the full 19325path to pkg-config. 19326 19327Alternatively, you may set the environment variables ZEITGEIST_DATAHUB_CFLAGS 19328and ZEITGEIST_DATAHUB_LIBS to avoid the need to call pkg-config. 19329See the pkg-config man page for more details. 19330 19331To get pkg-config, see <http://pkg-config.freedesktop.org/>. 19332See \`config.log' for more details" "$LINENO" 5; } 19333else 19334 ZEITGEIST_DATAHUB_CFLAGS=$pkg_cv_ZEITGEIST_DATAHUB_CFLAGS 19335 ZEITGEIST_DATAHUB_LIBS=$pkg_cv_ZEITGEIST_DATAHUB_LIBS 19336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19337$as_echo "yes" >&6; } 19338 19339fi 19340fi 19341 19342################################################# 19343# Libzeitgeist 2.0 19344################################################# 19345 19346# Before making a release, the ZEITGEIST_LT_VERSION string should be updated. 19347# The string is of the form C:R:A. 19348# - If interfaces have been changed or added, but binary compatibility has 19349# been preserved, change to C+1:0:A+1 19350# - If binary compatibility has been broken (eg removed or changed interfaces) 19351# change to C+1:0:0 19352# - If the interface is the same as the previous version, change to C:R+1:A 19353LIBZEITGEIST_LT_CURRENT=0 19354LIBZEITGEIST_LT_REV=0 19355LIBZEITGEIST_LG_AGE=0 19356LIBZEITGEIST_LT_VERSION="$LIBZEITGEIST_LT_CURRENT:$LIBZEITGEIST_LT_REV:$LIBZEITGEIST_LT_AGE" 19357 19358 19359################################################# 19360# Docs 19361################################################# 19362 19363# Check whether --enable-docs was given. 19364if test "${enable_docs+set}" = set; then : 19365 enableval=$enable_docs; enable_docs=$enableval 19366else 19367 enable_docs="no" 19368fi 19369 19370 19371found_valadoc=no 19372if test "x$enable_docs" != "xno"; then : 19373 19374 # Extract the first word of "valadoc", so it can be a program name with args. 19375set dummy valadoc; ac_word=$2 19376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19377$as_echo_n "checking for $ac_word... " >&6; } 19378if ${ac_cv_path_VALADOC+:} false; then : 19379 $as_echo_n "(cached) " >&6 19380else 19381 case $VALADOC in 19382 [\\/]* | ?:[\\/]*) 19383 ac_cv_path_VALADOC="$VALADOC" # Let the user override the test with a path. 19384 ;; 19385 *) 19386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19387for as_dir in $PATH 19388do 19389 IFS=$as_save_IFS 19390 test -z "$as_dir" && as_dir=. 19391 for ac_exec_ext in '' $ac_executable_extensions; do 19392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19393 ac_cv_path_VALADOC="$as_dir/$ac_word$ac_exec_ext" 19394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19395 break 2 19396 fi 19397done 19398 done 19399IFS=$as_save_IFS 19400 19401 test -z "$ac_cv_path_VALADOC" && ac_cv_path_VALADOC=":" 19402 ;; 19403esac 19404fi 19405VALADOC=$ac_cv_path_VALADOC 19406if test -n "$VALADOC"; then 19407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALADOC" >&5 19408$as_echo "$VALADOC" >&6; } 19409else 19410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19411$as_echo "no" >&6; } 19412fi 19413 19414 19415 if test -x "$VALADOC"; then : 19416 19417 found_valadoc=yes 19418 19419 19420else 19421 19422 if test "x$enable_docs" == "xyes"; then : 19423 as_fn_error $? "Unable to find valadoc" "$LINENO" 5 19424fi 19425 19426fi 19427 # Extract the first word of "gtkdoc-scan", so it can be a program name with args. 19428set dummy gtkdoc-scan; ac_word=$2 19429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19430$as_echo_n "checking for $ac_word... " >&6; } 19431if ${ac_cv_path_GTKDOC_SCAN+:} false; then : 19432 $as_echo_n "(cached) " >&6 19433else 19434 case $GTKDOC_SCAN in 19435 [\\/]* | ?:[\\/]*) 19436 ac_cv_path_GTKDOC_SCAN="$GTKDOC_SCAN" # Let the user override the test with a path. 19437 ;; 19438 *) 19439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19440for as_dir in $PATH 19441do 19442 IFS=$as_save_IFS 19443 test -z "$as_dir" && as_dir=. 19444 for ac_exec_ext in '' $ac_executable_extensions; do 19445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19446 ac_cv_path_GTKDOC_SCAN="$as_dir/$ac_word$ac_exec_ext" 19447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19448 break 2 19449 fi 19450done 19451 done 19452IFS=$as_save_IFS 19453 19454 test -z "$ac_cv_path_GTKDOC_SCAN" && ac_cv_path_GTKDOC_SCAN=":" 19455 ;; 19456esac 19457fi 19458GTKDOC_SCAN=$ac_cv_path_GTKDOC_SCAN 19459if test -n "$GTKDOC_SCAN"; then 19460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_SCAN" >&5 19461$as_echo "$GTKDOC_SCAN" >&6; } 19462else 19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19464$as_echo "no" >&6; } 19465fi 19466 19467 19468 if test -x "$GTKDOC_SCAN"; then : 19469 19470 found_gtkdoc_scan=yes 19471 19472 19473else 19474 19475 if test "x$enable_docs" == "xyes"; then : 19476 as_fn_error $? "Unable to find gtkdoc-scan" "$LINENO" 5 19477fi 19478 19479fi 19480 19481fi 19482 19483 if test "x$found_valadoc" = "xyes" -a "x$found_gtkdoc_scan" = "xyes"; then 19484 ENABLE_DOCS_TRUE= 19485 ENABLE_DOCS_FALSE='#' 19486else 19487 ENABLE_DOCS_TRUE='#' 19488 ENABLE_DOCS_FALSE= 19489fi 19490 19491 19492 19493# Check whether --enable-introspection was given. 19494if test "${enable_introspection+set}" = set; then : 19495 enableval=$enable_introspection; enable_introspection=$enableval 19496else 19497 enable_introspection="yes" 19498fi 19499 19500 if test "x$enable_introspection" != "xno"; then 19501 HAVE_INTROSPECTION_TRUE= 19502 HAVE_INTROSPECTION_FALSE='#' 19503else 19504 HAVE_INTROSPECTION_TRUE='#' 19505 HAVE_INTROSPECTION_FALSE= 19506fi 19507 19508 19509if test "x$enable_introspection" != "xno"; then 19510 # this will set HAVE_INTROSPECTION 19511 19512 19513 19514 enable_introspection=yes 19515 19516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5 19517$as_echo_n "checking for gobject-introspection... " >&6; } 19518 19519 case $enable_introspection in #( 19520 no) : 19521 found_introspection="no (disabled, use --enable-introspection to enable)" 19522 ;; #( 19523 yes) : 19524 if test -n "$PKG_CONFIG" && \ 19525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5 19526 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5 19527 ac_status=$? 19528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19529 test $ac_status = 0; }; then 19530 : 19531else 19532 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5 19533fi 19534 if test -n "$PKG_CONFIG" && \ 19535 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30\""; } >&5 19536 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30") 2>&5 19537 ac_status=$? 19538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19539 test $ac_status = 0; }; then 19540 found_introspection=yes 19541else 19542 as_fn_error $? "You need to have gobject-introspection >= 1.30 installed to build zeitgeist" "$LINENO" 5 19543fi 19544 ;; #( 19545 auto) : 19546 if test -n "$PKG_CONFIG" && \ 19547 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30\""; } >&5 19548 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30") 2>&5 19549 ac_status=$? 19550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19551 test $ac_status = 0; }; then 19552 found_introspection=yes 19553else 19554 found_introspection=no 19555fi 19556 enable_introspection=$found_introspection 19557 ;; #( 19558 *) : 19559 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5 19560 ;; 19561esac 19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5 19563$as_echo "$found_introspection" >&6; } 19564 19565 19566 EXP_VAR=_GI_EXP_DATADIR 19567 FROM_VAR="$datadir" 19568 19569 prefix_save=$prefix 19570 exec_prefix_save=$exec_prefix 19571 19572 if test "x$prefix" = "xNONE"; then 19573 prefix="$ac_default_prefix" 19574 fi 19575 if test "x$exec_prefix" = "xNONE"; then 19576 exec_prefix=$prefix 19577 fi 19578 19579 full_var="$FROM_VAR" 19580 while true; do 19581 new_full_var="`eval echo $full_var`" 19582 if test "x$new_full_var" = "x$full_var"; then break; fi 19583 full_var=$new_full_var 19584 done 19585 19586 full_var=$new_full_var 19587 _GI_EXP_DATADIR="$full_var" 19588 19589 19590 prefix=$prefix_save 19591 exec_prefix=$exec_prefix_save 19592 19593 19594 EXP_VAR=_GI_EXP_LIBDIR 19595 FROM_VAR="$libdir" 19596 19597 prefix_save=$prefix 19598 exec_prefix_save=$exec_prefix 19599 19600 if test "x$prefix" = "xNONE"; then 19601 prefix="$ac_default_prefix" 19602 fi 19603 if test "x$exec_prefix" = "xNONE"; then 19604 exec_prefix=$prefix 19605 fi 19606 19607 full_var="$FROM_VAR" 19608 while true; do 19609 new_full_var="`eval echo $full_var`" 19610 if test "x$new_full_var" = "x$full_var"; then break; fi 19611 full_var=$new_full_var 19612 done 19613 19614 full_var=$new_full_var 19615 _GI_EXP_LIBDIR="$full_var" 19616 19617 19618 prefix=$prefix_save 19619 exec_prefix=$exec_prefix_save 19620 19621 19622 INTROSPECTION_SCANNER= 19623 INTROSPECTION_COMPILER= 19624 INTROSPECTION_GENERATE= 19625 INTROSPECTION_GIRDIR= 19626 INTROSPECTION_TYPELIBDIR= 19627 if test "x$found_introspection" = "xyes"; then 19628 INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` 19629 INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` 19630 INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` 19631 INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0` 19632 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)" 19633 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` 19634 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` 19635 INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection 19636 fi 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 if test "x$found_introspection" = "xyes"; then 19647 HAVE_INTROSPECTION_TRUE= 19648 HAVE_INTROSPECTION_FALSE='#' 19649else 19650 HAVE_INTROSPECTION_TRUE='#' 19651 HAVE_INTROSPECTION_FALSE= 19652fi 19653 19654 19655 19656fi 19657 19658################################################# 19659# Ontology parsing dependencies 19660################################################# 19661 19662# check for python3-rdflib 19663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3-rdflib" >&5 19664$as_echo_n "checking for python3-rdflib... " >&6; } 19665echo "import rdflib" | $PYTHON - 2>/dev/null 19666if test $? -ne 0 ; then 19667 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19669as_fn_error $? "failed. Please install the python3-rdflib package. 19670See \`config.log' for more details" "$LINENO" 5; } 19671else 19672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19673$as_echo "yes" >&6; } 19674fi 19675 19676################################################# 19677# Summary 19678################################################# 19679 19680cat >confcache <<\_ACEOF 19681# This file is a shell script that caches the results of configure 19682# tests run on this system so they can be shared between configure 19683# scripts and configure runs, see configure's option --config-cache. 19684# It is not useful on other systems. If it contains results you don't 19685# want to keep, you may remove or edit it. 19686# 19687# config.status only pays attention to the cache file if you give it 19688# the --recheck option to rerun configure. 19689# 19690# `ac_cv_env_foo' variables (set or unset) will be overridden when 19691# loading this file, other *unset* `ac_cv_foo' will be assigned the 19692# following values. 19693 19694_ACEOF 19695 19696# The following way of writing the cache mishandles newlines in values, 19697# but we know of no workaround that is simple, portable, and efficient. 19698# So, we kill variables containing newlines. 19699# Ultrix sh set writes to stderr and can't be redirected directly, 19700# and sets the high bit in the cache file unless we assign to the vars. 19701( 19702 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 19703 eval ac_val=\$$ac_var 19704 case $ac_val in #( 19705 *${as_nl}*) 19706 case $ac_var in #( 19707 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 19708$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 19709 esac 19710 case $ac_var in #( 19711 _ | IFS | as_nl) ;; #( 19712 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 19713 *) { eval $ac_var=; unset $ac_var;} ;; 19714 esac ;; 19715 esac 19716 done 19717 19718 (set) 2>&1 | 19719 case $as_nl`(ac_space=' '; set) 2>&1` in #( 19720 *${as_nl}ac_space=\ *) 19721 # `set' does not quote correctly, so add quotes: double-quote 19722 # substitution turns \\\\ into \\, and sed turns \\ into \. 19723 sed -n \ 19724 "s/'/'\\\\''/g; 19725 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 19726 ;; #( 19727 *) 19728 # `set' quotes correctly as required by POSIX, so do not add quotes. 19729 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 19730 ;; 19731 esac | 19732 sort 19733) | 19734 sed ' 19735 /^ac_cv_env_/b end 19736 t clear 19737 :clear 19738 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 19739 t end 19740 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 19741 :end' >>confcache 19742if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 19743 if test -w "$cache_file"; then 19744 if test "x$cache_file" != "x/dev/null"; then 19745 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 19746$as_echo "$as_me: updating cache $cache_file" >&6;} 19747 if test ! -f "$cache_file" || test -h "$cache_file"; then 19748 cat confcache >"$cache_file" 19749 else 19750 case $cache_file in #( 19751 */* | ?:*) 19752 mv -f confcache "$cache_file"$$ && 19753 mv -f "$cache_file"$$ "$cache_file" ;; #( 19754 *) 19755 mv -f confcache "$cache_file" ;; 19756 esac 19757 fi 19758 fi 19759 else 19760 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 19761$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 19762 fi 19763fi 19764rm -f confcache 19765 19766test "x$prefix" = xNONE && prefix=$ac_default_prefix 19767# Let make expand exec_prefix. 19768test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 19769 19770DEFS=-DHAVE_CONFIG_H 19771 19772ac_libobjs= 19773ac_ltlibobjs= 19774U= 19775for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 19776 # 1. Remove the extension, and $U if already installed. 19777 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 19778 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 19779 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 19780 # will be set to the directory where LIBOBJS objects are built. 19781 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 19782 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 19783done 19784LIBOBJS=$ac_libobjs 19785 19786LTLIBOBJS=$ac_ltlibobjs 19787 19788 19789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 19790$as_echo_n "checking that generated files are newer than configure... " >&6; } 19791 if test -n "$am_sleep_pid"; then 19792 # Hide warnings about reused PIDs. 19793 wait $am_sleep_pid 2>/dev/null 19794 fi 19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 19796$as_echo "done" >&6; } 19797 if test -n "$EXEEXT"; then 19798 am__EXEEXT_TRUE= 19799 am__EXEEXT_FALSE='#' 19800else 19801 am__EXEEXT_TRUE='#' 19802 am__EXEEXT_FALSE= 19803fi 19804 19805if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 19806 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 19807Usually this means the macro was only invoked conditionally." "$LINENO" 5 19808fi 19809if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 19810 as_fn_error $? "conditional \"AMDEP\" was never defined. 19811Usually this means the macro was only invoked conditionally." "$LINENO" 5 19812fi 19813if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 19814 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 19815Usually this means the macro was only invoked conditionally." "$LINENO" 5 19816fi 19817if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 19818 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 19819Usually this means the macro was only invoked conditionally." "$LINENO" 5 19820fi 19821if test -z "${HAVE_DEE_ICU_TRUE}" && test -z "${HAVE_DEE_ICU_FALSE}"; then 19822 as_fn_error $? "conditional \"HAVE_DEE_ICU\" was never defined. 19823Usually this means the macro was only invoked conditionally." "$LINENO" 5 19824fi 19825if test -z "${EXPLAIN_QUERIES_TRUE}" && test -z "${EXPLAIN_QUERIES_FALSE}"; then 19826 as_fn_error $? "conditional \"EXPLAIN_QUERIES\" was never defined. 19827Usually this means the macro was only invoked conditionally." "$LINENO" 5 19828fi 19829if test -z "${HAVE_FTS_TRUE}" && test -z "${HAVE_FTS_FALSE}"; then 19830 as_fn_error $? "conditional \"HAVE_FTS\" was never defined. 19831Usually this means the macro was only invoked conditionally." "$LINENO" 5 19832fi 19833if test -z "${ENABLE_DATAHUB_TRUE}" && test -z "${ENABLE_DATAHUB_FALSE}"; then 19834 as_fn_error $? "conditional \"ENABLE_DATAHUB\" was never defined. 19835Usually this means the macro was only invoked conditionally." "$LINENO" 5 19836fi 19837if test -z "${ENABLE_TELEPATHY_TRUE}" && test -z "${ENABLE_TELEPATHY_FALSE}"; then 19838 as_fn_error $? "conditional \"ENABLE_TELEPATHY\" was never defined. 19839Usually this means the macro was only invoked conditionally." "$LINENO" 5 19840fi 19841if test -z "${ENABLE_DOWNLOADS_MONITOR_TRUE}" && test -z "${ENABLE_DOWNLOADS_MONITOR_FALSE}"; then 19842 as_fn_error $? "conditional \"ENABLE_DOWNLOADS_MONITOR\" was never defined. 19843Usually this means the macro was only invoked conditionally." "$LINENO" 5 19844fi 19845if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then 19846 as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined. 19847Usually this means the macro was only invoked conditionally." "$LINENO" 5 19848fi 19849if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then 19850 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. 19851Usually this means the macro was only invoked conditionally." "$LINENO" 5 19852fi 19853if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then 19854 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. 19855Usually this means the macro was only invoked conditionally." "$LINENO" 5 19856fi 19857 19858: "${CONFIG_STATUS=./config.status}" 19859ac_write_fail=0 19860ac_clean_files_save=$ac_clean_files 19861ac_clean_files="$ac_clean_files $CONFIG_STATUS" 19862{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 19863$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 19864as_write_fail=0 19865cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 19866#! $SHELL 19867# Generated by $as_me. 19868# Run this file to recreate the current configuration. 19869# Compiler output produced by configure, useful for debugging 19870# configure, is in config.log if it exists. 19871 19872debug=false 19873ac_cs_recheck=false 19874ac_cs_silent=false 19875 19876SHELL=\${CONFIG_SHELL-$SHELL} 19877export SHELL 19878_ASEOF 19879cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 19880## -------------------- ## 19881## M4sh Initialization. ## 19882## -------------------- ## 19883 19884# Be more Bourne compatible 19885DUALCASE=1; export DUALCASE # for MKS sh 19886if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 19887 emulate sh 19888 NULLCMD=: 19889 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19890 # is contrary to our usage. Disable this feature. 19891 alias -g '${1+"$@"}'='"$@"' 19892 setopt NO_GLOB_SUBST 19893else 19894 case `(set -o) 2>/dev/null` in #( 19895 *posix*) : 19896 set -o posix ;; #( 19897 *) : 19898 ;; 19899esac 19900fi 19901 19902 19903as_nl=' 19904' 19905export as_nl 19906# Printing a long string crashes Solaris 7 /usr/bin/printf. 19907as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 19908as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 19909as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 19910# Prefer a ksh shell builtin over an external printf program on Solaris, 19911# but without wasting forks for bash or zsh. 19912if test -z "$BASH_VERSION$ZSH_VERSION" \ 19913 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 19914 as_echo='print -r --' 19915 as_echo_n='print -rn --' 19916elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 19917 as_echo='printf %s\n' 19918 as_echo_n='printf %s' 19919else 19920 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 19921 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 19922 as_echo_n='/usr/ucb/echo -n' 19923 else 19924 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 19925 as_echo_n_body='eval 19926 arg=$1; 19927 case $arg in #( 19928 *"$as_nl"*) 19929 expr "X$arg" : "X\\(.*\\)$as_nl"; 19930 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 19931 esac; 19932 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 19933 ' 19934 export as_echo_n_body 19935 as_echo_n='sh -c $as_echo_n_body as_echo' 19936 fi 19937 export as_echo_body 19938 as_echo='sh -c $as_echo_body as_echo' 19939fi 19940 19941# The user is always right. 19942if test "${PATH_SEPARATOR+set}" != set; then 19943 PATH_SEPARATOR=: 19944 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 19945 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 19946 PATH_SEPARATOR=';' 19947 } 19948fi 19949 19950 19951# IFS 19952# We need space, tab and new line, in precisely that order. Quoting is 19953# there to prevent editors from complaining about space-tab. 19954# (If _AS_PATH_WALK were called with IFS unset, it would disable word 19955# splitting by setting IFS to empty value.) 19956IFS=" "" $as_nl" 19957 19958# Find who we are. Look in the path if we contain no directory separator. 19959as_myself= 19960case $0 in #(( 19961 *[\\/]* ) as_myself=$0 ;; 19962 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19963for as_dir in $PATH 19964do 19965 IFS=$as_save_IFS 19966 test -z "$as_dir" && as_dir=. 19967 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 19968 done 19969IFS=$as_save_IFS 19970 19971 ;; 19972esac 19973# We did not find ourselves, most probably we were run as `sh COMMAND' 19974# in which case we are not to be found in the path. 19975if test "x$as_myself" = x; then 19976 as_myself=$0 19977fi 19978if test ! -f "$as_myself"; then 19979 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 19980 exit 1 19981fi 19982 19983# Unset variables that we do not need and which cause bugs (e.g. in 19984# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 19985# suppresses any "Segmentation fault" message there. '((' could 19986# trigger a bug in pdksh 5.2.14. 19987for as_var in BASH_ENV ENV MAIL MAILPATH 19988do eval test x\${$as_var+set} = xset \ 19989 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 19990done 19991PS1='$ ' 19992PS2='> ' 19993PS4='+ ' 19994 19995# NLS nuisances. 19996LC_ALL=C 19997export LC_ALL 19998LANGUAGE=C 19999export LANGUAGE 20000 20001# CDPATH. 20002(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 20003 20004 20005# as_fn_error STATUS ERROR [LINENO LOG_FD] 20006# ---------------------------------------- 20007# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 20008# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 20009# script with STATUS, using 1 if that was 0. 20010as_fn_error () 20011{ 20012 as_status=$1; test $as_status -eq 0 && as_status=1 20013 if test "$4"; then 20014 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 20015 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 20016 fi 20017 $as_echo "$as_me: error: $2" >&2 20018 as_fn_exit $as_status 20019} # as_fn_error 20020 20021 20022# as_fn_set_status STATUS 20023# ----------------------- 20024# Set $? to STATUS, without forking. 20025as_fn_set_status () 20026{ 20027 return $1 20028} # as_fn_set_status 20029 20030# as_fn_exit STATUS 20031# ----------------- 20032# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 20033as_fn_exit () 20034{ 20035 set +e 20036 as_fn_set_status $1 20037 exit $1 20038} # as_fn_exit 20039 20040# as_fn_unset VAR 20041# --------------- 20042# Portably unset VAR. 20043as_fn_unset () 20044{ 20045 { eval $1=; unset $1;} 20046} 20047as_unset=as_fn_unset 20048# as_fn_append VAR VALUE 20049# ---------------------- 20050# Append the text in VALUE to the end of the definition contained in VAR. Take 20051# advantage of any shell optimizations that allow amortized linear growth over 20052# repeated appends, instead of the typical quadratic growth present in naive 20053# implementations. 20054if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 20055 eval 'as_fn_append () 20056 { 20057 eval $1+=\$2 20058 }' 20059else 20060 as_fn_append () 20061 { 20062 eval $1=\$$1\$2 20063 } 20064fi # as_fn_append 20065 20066# as_fn_arith ARG... 20067# ------------------ 20068# Perform arithmetic evaluation on the ARGs, and store the result in the 20069# global $as_val. Take advantage of shells that can avoid forks. The arguments 20070# must be portable across $(()) and expr. 20071if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 20072 eval 'as_fn_arith () 20073 { 20074 as_val=$(( $* )) 20075 }' 20076else 20077 as_fn_arith () 20078 { 20079 as_val=`expr "$@" || test $? -eq 1` 20080 } 20081fi # as_fn_arith 20082 20083 20084if expr a : '\(a\)' >/dev/null 2>&1 && 20085 test "X`expr 00001 : '.*\(...\)'`" = X001; then 20086 as_expr=expr 20087else 20088 as_expr=false 20089fi 20090 20091if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 20092 as_basename=basename 20093else 20094 as_basename=false 20095fi 20096 20097if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 20098 as_dirname=dirname 20099else 20100 as_dirname=false 20101fi 20102 20103as_me=`$as_basename -- "$0" || 20104$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 20105 X"$0" : 'X\(//\)$' \| \ 20106 X"$0" : 'X\(/\)' \| . 2>/dev/null || 20107$as_echo X/"$0" | 20108 sed '/^.*\/\([^/][^/]*\)\/*$/{ 20109 s//\1/ 20110 q 20111 } 20112 /^X\/\(\/\/\)$/{ 20113 s//\1/ 20114 q 20115 } 20116 /^X\/\(\/\).*/{ 20117 s//\1/ 20118 q 20119 } 20120 s/.*/./; q'` 20121 20122# Avoid depending upon Character Ranges. 20123as_cr_letters='abcdefghijklmnopqrstuvwxyz' 20124as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 20125as_cr_Letters=$as_cr_letters$as_cr_LETTERS 20126as_cr_digits='0123456789' 20127as_cr_alnum=$as_cr_Letters$as_cr_digits 20128 20129ECHO_C= ECHO_N= ECHO_T= 20130case `echo -n x` in #((((( 20131-n*) 20132 case `echo 'xy\c'` in 20133 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 20134 xy) ECHO_C='\c';; 20135 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 20136 ECHO_T=' ';; 20137 esac;; 20138*) 20139 ECHO_N='-n';; 20140esac 20141 20142rm -f conf$$ conf$$.exe conf$$.file 20143if test -d conf$$.dir; then 20144 rm -f conf$$.dir/conf$$.file 20145else 20146 rm -f conf$$.dir 20147 mkdir conf$$.dir 2>/dev/null 20148fi 20149if (echo >conf$$.file) 2>/dev/null; then 20150 if ln -s conf$$.file conf$$ 2>/dev/null; then 20151 as_ln_s='ln -s' 20152 # ... but there are two gotchas: 20153 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 20154 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 20155 # In both cases, we have to default to `cp -pR'. 20156 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 20157 as_ln_s='cp -pR' 20158 elif ln conf$$.file conf$$ 2>/dev/null; then 20159 as_ln_s=ln 20160 else 20161 as_ln_s='cp -pR' 20162 fi 20163else 20164 as_ln_s='cp -pR' 20165fi 20166rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 20167rmdir conf$$.dir 2>/dev/null 20168 20169 20170# as_fn_mkdir_p 20171# ------------- 20172# Create "$as_dir" as a directory, including parents if necessary. 20173as_fn_mkdir_p () 20174{ 20175 20176 case $as_dir in #( 20177 -*) as_dir=./$as_dir;; 20178 esac 20179 test -d "$as_dir" || eval $as_mkdir_p || { 20180 as_dirs= 20181 while :; do 20182 case $as_dir in #( 20183 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 20184 *) as_qdir=$as_dir;; 20185 esac 20186 as_dirs="'$as_qdir' $as_dirs" 20187 as_dir=`$as_dirname -- "$as_dir" || 20188$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20189 X"$as_dir" : 'X\(//\)[^/]' \| \ 20190 X"$as_dir" : 'X\(//\)$' \| \ 20191 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 20192$as_echo X"$as_dir" | 20193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20194 s//\1/ 20195 q 20196 } 20197 /^X\(\/\/\)[^/].*/{ 20198 s//\1/ 20199 q 20200 } 20201 /^X\(\/\/\)$/{ 20202 s//\1/ 20203 q 20204 } 20205 /^X\(\/\).*/{ 20206 s//\1/ 20207 q 20208 } 20209 s/.*/./; q'` 20210 test -d "$as_dir" && break 20211 done 20212 test -z "$as_dirs" || eval "mkdir $as_dirs" 20213 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 20214 20215 20216} # as_fn_mkdir_p 20217if mkdir -p . 2>/dev/null; then 20218 as_mkdir_p='mkdir -p "$as_dir"' 20219else 20220 test -d ./-p && rmdir ./-p 20221 as_mkdir_p=false 20222fi 20223 20224 20225# as_fn_executable_p FILE 20226# ----------------------- 20227# Test if FILE is an executable regular file. 20228as_fn_executable_p () 20229{ 20230 test -f "$1" && test -x "$1" 20231} # as_fn_executable_p 20232as_test_x='test -x' 20233as_executable_p=as_fn_executable_p 20234 20235# Sed expression to map a string onto a valid CPP name. 20236as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 20237 20238# Sed expression to map a string onto a valid variable name. 20239as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 20240 20241 20242exec 6>&1 20243## ----------------------------------- ## 20244## Main body of $CONFIG_STATUS script. ## 20245## ----------------------------------- ## 20246_ASEOF 20247test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 20248 20249cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20250# Save the log message, to keep $0 and so on meaningful, and to 20251# report actual input values of CONFIG_FILES etc. instead of their 20252# values after options handling. 20253ac_log=" 20254This file was extended by zeitgeist $as_me 1.0.3, which was 20255generated by GNU Autoconf 2.69. Invocation command line was 20256 20257 CONFIG_FILES = $CONFIG_FILES 20258 CONFIG_HEADERS = $CONFIG_HEADERS 20259 CONFIG_LINKS = $CONFIG_LINKS 20260 CONFIG_COMMANDS = $CONFIG_COMMANDS 20261 $ $0 $@ 20262 20263on `(hostname || uname -n) 2>/dev/null | sed 1q` 20264" 20265 20266_ACEOF 20267 20268case $ac_config_files in *" 20269"*) set x $ac_config_files; shift; ac_config_files=$*;; 20270esac 20271 20272case $ac_config_headers in *" 20273"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 20274esac 20275 20276 20277cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20278# Files that config.status was made for. 20279config_files="$ac_config_files" 20280config_headers="$ac_config_headers" 20281config_commands="$ac_config_commands" 20282 20283_ACEOF 20284 20285cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20286ac_cs_usage="\ 20287\`$as_me' instantiates files and other configuration actions 20288from templates according to the current configuration. Unless the files 20289and actions are specified as TAGs, all are instantiated by default. 20290 20291Usage: $0 [OPTION]... [TAG]... 20292 20293 -h, --help print this help, then exit 20294 -V, --version print version number and configuration settings, then exit 20295 --config print configuration, then exit 20296 -q, --quiet, --silent 20297 do not print progress messages 20298 -d, --debug don't remove temporary files 20299 --recheck update $as_me by reconfiguring in the same conditions 20300 --file=FILE[:TEMPLATE] 20301 instantiate the configuration file FILE 20302 --header=FILE[:TEMPLATE] 20303 instantiate the configuration header FILE 20304 20305Configuration files: 20306$config_files 20307 20308Configuration headers: 20309$config_headers 20310 20311Configuration commands: 20312$config_commands 20313 20314Report bugs to <https://gitlab.freedesktop.org/zeitgeist/zeitgeist/issues>. 20315zeitgeist home page: <https://launchpad.net/zeitgeist/>." 20316 20317_ACEOF 20318cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20319ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 20320ac_cs_version="\\ 20321zeitgeist config.status 1.0.3 20322configured by $0, generated by GNU Autoconf 2.69, 20323 with options \\"\$ac_cs_config\\" 20324 20325Copyright (C) 2012 Free Software Foundation, Inc. 20326This config.status script is free software; the Free Software Foundation 20327gives unlimited permission to copy, distribute and modify it." 20328 20329ac_pwd='$ac_pwd' 20330srcdir='$srcdir' 20331INSTALL='$INSTALL' 20332MKDIR_P='$MKDIR_P' 20333AWK='$AWK' 20334test -n "\$AWK" || AWK=awk 20335_ACEOF 20336 20337cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20338# The default lists apply if the user does not specify any file. 20339ac_need_defaults=: 20340while test $# != 0 20341do 20342 case $1 in 20343 --*=?*) 20344 ac_option=`expr "X$1" : 'X\([^=]*\)='` 20345 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 20346 ac_shift=: 20347 ;; 20348 --*=) 20349 ac_option=`expr "X$1" : 'X\([^=]*\)='` 20350 ac_optarg= 20351 ac_shift=: 20352 ;; 20353 *) 20354 ac_option=$1 20355 ac_optarg=$2 20356 ac_shift=shift 20357 ;; 20358 esac 20359 20360 case $ac_option in 20361 # Handling of the options. 20362 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 20363 ac_cs_recheck=: ;; 20364 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 20365 $as_echo "$ac_cs_version"; exit ;; 20366 --config | --confi | --conf | --con | --co | --c ) 20367 $as_echo "$ac_cs_config"; exit ;; 20368 --debug | --debu | --deb | --de | --d | -d ) 20369 debug=: ;; 20370 --file | --fil | --fi | --f ) 20371 $ac_shift 20372 case $ac_optarg in 20373 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 20374 '') as_fn_error $? "missing file argument" ;; 20375 esac 20376 as_fn_append CONFIG_FILES " '$ac_optarg'" 20377 ac_need_defaults=false;; 20378 --header | --heade | --head | --hea ) 20379 $ac_shift 20380 case $ac_optarg in 20381 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 20382 esac 20383 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 20384 ac_need_defaults=false;; 20385 --he | --h) 20386 # Conflict between --help and --header 20387 as_fn_error $? "ambiguous option: \`$1' 20388Try \`$0 --help' for more information.";; 20389 --help | --hel | -h ) 20390 $as_echo "$ac_cs_usage"; exit ;; 20391 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 20392 | -silent | --silent | --silen | --sile | --sil | --si | --s) 20393 ac_cs_silent=: ;; 20394 20395 # This is an error. 20396 -*) as_fn_error $? "unrecognized option: \`$1' 20397Try \`$0 --help' for more information." ;; 20398 20399 *) as_fn_append ac_config_targets " $1" 20400 ac_need_defaults=false ;; 20401 20402 esac 20403 shift 20404done 20405 20406ac_configure_extra_args= 20407 20408if $ac_cs_silent; then 20409 exec 6>/dev/null 20410 ac_configure_extra_args="$ac_configure_extra_args --silent" 20411fi 20412 20413_ACEOF 20414cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20415if \$ac_cs_recheck; then 20416 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 20417 shift 20418 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 20419 CONFIG_SHELL='$SHELL' 20420 export CONFIG_SHELL 20421 exec "\$@" 20422fi 20423 20424_ACEOF 20425cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20426exec 5>>config.log 20427{ 20428 echo 20429 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 20430## Running $as_me. ## 20431_ASBOX 20432 $as_echo "$ac_log" 20433} >&5 20434 20435_ACEOF 20436cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20437# 20438# INIT-COMMANDS 20439# 20440AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 20441 20442 20443# The HP-UX ksh and POSIX shell print the target directory to stdout 20444# if CDPATH is set. 20445(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 20446 20447sed_quote_subst='$sed_quote_subst' 20448double_quote_subst='$double_quote_subst' 20449delay_variable_subst='$delay_variable_subst' 20450macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 20451macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 20452enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 20453enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 20454pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 20455enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 20456shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 20457SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 20458ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 20459PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 20460host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 20461host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 20462host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 20463build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 20464build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 20465build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 20466SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 20467Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 20468GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 20469EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 20470FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 20471LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 20472NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 20473LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 20474max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 20475ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 20476exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 20477lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 20478lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 20479lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 20480lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 20481lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 20482reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 20483reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 20484OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 20485deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 20486file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 20487file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 20488want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 20489DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 20490sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 20491AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 20492AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 20493archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 20494STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 20495RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 20496old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 20497old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 20498old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 20499lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 20500CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 20501CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 20502compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 20503GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 20504lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 20505lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 20506lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 20507lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 20508lt_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"`' 20509lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 20510nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 20511lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 20512lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 20513objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 20514MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 20515lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 20516lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 20517lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 20518lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 20519lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 20520need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 20521MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 20522DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 20523NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 20524LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 20525OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 20526OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 20527libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 20528shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 20529extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 20530archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 20531enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 20532export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 20533whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 20534compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 20535old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 20536old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 20537archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 20538archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 20539module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 20540module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 20541with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 20542allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 20543no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 20544hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 20545hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 20546hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 20547hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 20548hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 20549hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 20550hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 20551inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 20552link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 20553always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 20554export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 20555exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 20556include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 20557prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 20558postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 20559file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 20560variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 20561need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 20562need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 20563version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 20564runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 20565shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 20566shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 20567libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 20568library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 20569soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 20570install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 20571postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 20572postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 20573finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 20574finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 20575hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 20576sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 20577configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 20578configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 20579hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 20580enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 20581enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 20582enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 20583old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 20584striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 20585compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 20586predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 20587postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 20588predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 20589postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 20590compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 20591LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 20592reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 20593reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20594old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20595compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 20596GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 20597lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 20598lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 20599lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 20600lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 20601lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 20602archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 20603enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 20604export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 20605whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 20606compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 20607old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20608old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20609archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20610archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20611module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20612module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20613with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 20614allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 20615no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 20616hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 20617hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 20618hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 20619hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 20620hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 20621hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 20622hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 20623inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 20624link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 20625always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 20626export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20627exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 20628include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 20629prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20630postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20631file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 20632hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 20633compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 20634predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 20635postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 20636predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 20637postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 20638compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 20639 20640LTCC='$LTCC' 20641LTCFLAGS='$LTCFLAGS' 20642compiler='$compiler_DEFAULT' 20643 20644# A function that is used when there is no print builtin or printf. 20645func_fallback_echo () 20646{ 20647 eval 'cat <<_LTECHO_EOF 20648\$1 20649_LTECHO_EOF' 20650} 20651 20652# Quote evaled strings. 20653for var in SHELL \ 20654ECHO \ 20655PATH_SEPARATOR \ 20656SED \ 20657GREP \ 20658EGREP \ 20659FGREP \ 20660LD \ 20661NM \ 20662LN_S \ 20663lt_SP2NL \ 20664lt_NL2SP \ 20665reload_flag \ 20666OBJDUMP \ 20667deplibs_check_method \ 20668file_magic_cmd \ 20669file_magic_glob \ 20670want_nocaseglob \ 20671DLLTOOL \ 20672sharedlib_from_linklib_cmd \ 20673AR \ 20674AR_FLAGS \ 20675archiver_list_spec \ 20676STRIP \ 20677RANLIB \ 20678CC \ 20679CFLAGS \ 20680compiler \ 20681lt_cv_sys_global_symbol_pipe \ 20682lt_cv_sys_global_symbol_to_cdecl \ 20683lt_cv_sys_global_symbol_to_import \ 20684lt_cv_sys_global_symbol_to_c_name_address \ 20685lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 20686lt_cv_nm_interface \ 20687nm_file_list_spec \ 20688lt_cv_truncate_bin \ 20689lt_prog_compiler_no_builtin_flag \ 20690lt_prog_compiler_pic \ 20691lt_prog_compiler_wl \ 20692lt_prog_compiler_static \ 20693lt_cv_prog_compiler_c_o \ 20694need_locks \ 20695MANIFEST_TOOL \ 20696DSYMUTIL \ 20697NMEDIT \ 20698LIPO \ 20699OTOOL \ 20700OTOOL64 \ 20701shrext_cmds \ 20702export_dynamic_flag_spec \ 20703whole_archive_flag_spec \ 20704compiler_needs_object \ 20705with_gnu_ld \ 20706allow_undefined_flag \ 20707no_undefined_flag \ 20708hardcode_libdir_flag_spec \ 20709hardcode_libdir_separator \ 20710exclude_expsyms \ 20711include_expsyms \ 20712file_list_spec \ 20713variables_saved_for_relink \ 20714libname_spec \ 20715library_names_spec \ 20716soname_spec \ 20717install_override_mode \ 20718finish_eval \ 20719old_striplib \ 20720striplib \ 20721compiler_lib_search_dirs \ 20722predep_objects \ 20723postdep_objects \ 20724predeps \ 20725postdeps \ 20726compiler_lib_search_path \ 20727LD_CXX \ 20728reload_flag_CXX \ 20729compiler_CXX \ 20730lt_prog_compiler_no_builtin_flag_CXX \ 20731lt_prog_compiler_pic_CXX \ 20732lt_prog_compiler_wl_CXX \ 20733lt_prog_compiler_static_CXX \ 20734lt_cv_prog_compiler_c_o_CXX \ 20735export_dynamic_flag_spec_CXX \ 20736whole_archive_flag_spec_CXX \ 20737compiler_needs_object_CXX \ 20738with_gnu_ld_CXX \ 20739allow_undefined_flag_CXX \ 20740no_undefined_flag_CXX \ 20741hardcode_libdir_flag_spec_CXX \ 20742hardcode_libdir_separator_CXX \ 20743exclude_expsyms_CXX \ 20744include_expsyms_CXX \ 20745file_list_spec_CXX \ 20746compiler_lib_search_dirs_CXX \ 20747predep_objects_CXX \ 20748postdep_objects_CXX \ 20749predeps_CXX \ 20750postdeps_CXX \ 20751compiler_lib_search_path_CXX; do 20752 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 20753 *[\\\\\\\`\\"\\\$]*) 20754 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 20755 ;; 20756 *) 20757 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 20758 ;; 20759 esac 20760done 20761 20762# Double-quote double-evaled strings. 20763for var in reload_cmds \ 20764old_postinstall_cmds \ 20765old_postuninstall_cmds \ 20766old_archive_cmds \ 20767extract_expsyms_cmds \ 20768old_archive_from_new_cmds \ 20769old_archive_from_expsyms_cmds \ 20770archive_cmds \ 20771archive_expsym_cmds \ 20772module_cmds \ 20773module_expsym_cmds \ 20774export_symbols_cmds \ 20775prelink_cmds \ 20776postlink_cmds \ 20777postinstall_cmds \ 20778postuninstall_cmds \ 20779finish_cmds \ 20780sys_lib_search_path_spec \ 20781configure_time_dlsearch_path \ 20782configure_time_lt_sys_library_path \ 20783reload_cmds_CXX \ 20784old_archive_cmds_CXX \ 20785old_archive_from_new_cmds_CXX \ 20786old_archive_from_expsyms_cmds_CXX \ 20787archive_cmds_CXX \ 20788archive_expsym_cmds_CXX \ 20789module_cmds_CXX \ 20790module_expsym_cmds_CXX \ 20791export_symbols_cmds_CXX \ 20792prelink_cmds_CXX \ 20793postlink_cmds_CXX; do 20794 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 20795 *[\\\\\\\`\\"\\\$]*) 20796 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 20797 ;; 20798 *) 20799 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 20800 ;; 20801 esac 20802done 20803 20804ac_aux_dir='$ac_aux_dir' 20805 20806# See if we are running on zsh, and set the options that allow our 20807# commands through without removal of \ escapes INIT. 20808if test -n "\${ZSH_VERSION+set}"; then 20809 setopt NO_GLOB_SUBST 20810fi 20811 20812 20813 PACKAGE='$PACKAGE' 20814 VERSION='$VERSION' 20815 RM='$RM' 20816 ofile='$ofile' 20817 20818 20819 20820 20821 20822# Capture the value of obsolete ALL_LINGUAS because we need it to compute 20823 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 20824 # from automake < 1.5. 20825 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 20826 # Capture the value of LINGUAS because we need it to compute CATALOGS. 20827 LINGUAS="${LINGUAS-%UNSET%}" 20828 20829 20830_ACEOF 20831 20832cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20833 20834# Handling of arguments. 20835for ac_config_target in $ac_config_targets 20836do 20837 case $ac_config_target in 20838 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 20839 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 20840 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 20841 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 20842 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 20843 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 20844 "libzeitgeist/Makefile") CONFIG_FILES="$CONFIG_FILES libzeitgeist/Makefile" ;; 20845 "libzeitgeist/zeitgeist-2.0.pc") CONFIG_FILES="$CONFIG_FILES libzeitgeist/zeitgeist-2.0.pc" ;; 20846 "datahub/Makefile") CONFIG_FILES="$CONFIG_FILES datahub/Makefile" ;; 20847 "extensions/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Makefile" ;; 20848 "extensions/fts++/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/fts++/Makefile" ;; 20849 "extensions/fts++/test/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/fts++/test/Makefile" ;; 20850 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 20851 "data/ontology/Makefile") CONFIG_FILES="$CONFIG_FILES data/ontology/Makefile" ;; 20852 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; 20853 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 20854 "test/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES test/dbus/Makefile" ;; 20855 "test/direct/Makefile") CONFIG_FILES="$CONFIG_FILES test/direct/Makefile" ;; 20856 "test/c/Makefile") CONFIG_FILES="$CONFIG_FILES test/c/Makefile" ;; 20857 "test/data/Makefile") CONFIG_FILES="$CONFIG_FILES test/data/Makefile" ;; 20858 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 20859 "examples/c/Makefile") CONFIG_FILES="$CONFIG_FILES examples/c/Makefile" ;; 20860 "examples/vala/Makefile") CONFIG_FILES="$CONFIG_FILES examples/vala/Makefile" ;; 20861 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 20862 "doc/libzeitgeist/Makefile") CONFIG_FILES="$CONFIG_FILES doc/libzeitgeist/Makefile" ;; 20863 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 20864 20865 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 20866 esac 20867done 20868 20869 20870# If the user did not use the arguments to specify the items to instantiate, 20871# then the envvar interface is used. Set only those that are not. 20872# We use the long form for the default assignment because of an extremely 20873# bizarre bug on SunOS 4.1.3. 20874if $ac_need_defaults; then 20875 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 20876 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 20877 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 20878fi 20879 20880# Have a temporary directory for convenience. Make it in the build tree 20881# simply because there is no reason against having it here, and in addition, 20882# creating and moving files from /tmp can sometimes cause problems. 20883# Hook for its removal unless debugging. 20884# Note that there is a small window in which the directory will not be cleaned: 20885# after its creation but before its name has been assigned to `$tmp'. 20886$debug || 20887{ 20888 tmp= ac_tmp= 20889 trap 'exit_status=$? 20890 : "${ac_tmp:=$tmp}" 20891 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 20892' 0 20893 trap 'as_fn_exit 1' 1 2 13 15 20894} 20895# Create a (secure) tmp directory for tmp files. 20896 20897{ 20898 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 20899 test -d "$tmp" 20900} || 20901{ 20902 tmp=./conf$$-$RANDOM 20903 (umask 077 && mkdir "$tmp") 20904} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 20905ac_tmp=$tmp 20906 20907# Set up the scripts for CONFIG_FILES section. 20908# No need to generate them if there are no CONFIG_FILES. 20909# This happens for instance with `./config.status config.h'. 20910if test -n "$CONFIG_FILES"; then 20911 20912 20913ac_cr=`echo X | tr X '\015'` 20914# On cygwin, bash can eat \r inside `` if the user requested igncr. 20915# But we know of no other shell where ac_cr would be empty at this 20916# point, so we can use a bashism as a fallback. 20917if test "x$ac_cr" = x; then 20918 eval ac_cr=\$\'\\r\' 20919fi 20920ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 20921if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 20922 ac_cs_awk_cr='\\r' 20923else 20924 ac_cs_awk_cr=$ac_cr 20925fi 20926 20927echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 20928_ACEOF 20929 20930 20931{ 20932 echo "cat >conf$$subs.awk <<_ACEOF" && 20933 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 20934 echo "_ACEOF" 20935} >conf$$subs.sh || 20936 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20937ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 20938ac_delim='%!_!# ' 20939for ac_last_try in false false false false false :; do 20940 . ./conf$$subs.sh || 20941 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20942 20943 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 20944 if test $ac_delim_n = $ac_delim_num; then 20945 break 20946 elif $ac_last_try; then 20947 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20948 else 20949 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 20950 fi 20951done 20952rm -f conf$$subs.sh 20953 20954cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20955cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 20956_ACEOF 20957sed -n ' 20958h 20959s/^/S["/; s/!.*/"]=/ 20960p 20961g 20962s/^[^!]*!// 20963:repl 20964t repl 20965s/'"$ac_delim"'$// 20966t delim 20967:nl 20968h 20969s/\(.\{148\}\)..*/\1/ 20970t more1 20971s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 20972p 20973n 20974b repl 20975:more1 20976s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 20977p 20978g 20979s/.\{148\}// 20980t nl 20981:delim 20982h 20983s/\(.\{148\}\)..*/\1/ 20984t more2 20985s/["\\]/\\&/g; s/^/"/; s/$/"/ 20986p 20987b 20988:more2 20989s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 20990p 20991g 20992s/.\{148\}// 20993t delim 20994' <conf$$subs.awk | sed ' 20995/^[^""]/{ 20996 N 20997 s/\n// 20998} 20999' >>$CONFIG_STATUS || ac_write_fail=1 21000rm -f conf$$subs.awk 21001cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21002_ACAWK 21003cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 21004 for (key in S) S_is_set[key] = 1 21005 FS = "" 21006 21007} 21008{ 21009 line = $ 0 21010 nfields = split(line, field, "@") 21011 substed = 0 21012 len = length(field[1]) 21013 for (i = 2; i < nfields; i++) { 21014 key = field[i] 21015 keylen = length(key) 21016 if (S_is_set[key]) { 21017 value = S[key] 21018 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 21019 len += length(value) + length(field[++i]) 21020 substed = 1 21021 } else 21022 len += 1 + keylen 21023 } 21024 21025 print line 21026} 21027 21028_ACAWK 21029_ACEOF 21030cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21031if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 21032 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 21033else 21034 cat 21035fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 21036 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 21037_ACEOF 21038 21039# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 21040# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 21041# trailing colons and then remove the whole line if VPATH becomes empty 21042# (actually we leave an empty line to preserve line numbers). 21043if test "x$srcdir" = x.; then 21044 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 21045h 21046s/// 21047s/^/:/ 21048s/[ ]*$/:/ 21049s/:\$(srcdir):/:/g 21050s/:\${srcdir}:/:/g 21051s/:@srcdir@:/:/g 21052s/^:*// 21053s/:*$// 21054x 21055s/\(=[ ]*\).*/\1/ 21056G 21057s/\n// 21058s/^[^=]*=[ ]*$// 21059}' 21060fi 21061 21062cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21063fi # test -n "$CONFIG_FILES" 21064 21065# Set up the scripts for CONFIG_HEADERS section. 21066# No need to generate them if there are no CONFIG_HEADERS. 21067# This happens for instance with `./config.status Makefile'. 21068if test -n "$CONFIG_HEADERS"; then 21069cat >"$ac_tmp/defines.awk" <<\_ACAWK || 21070BEGIN { 21071_ACEOF 21072 21073# Transform confdefs.h into an awk script `defines.awk', embedded as 21074# here-document in config.status, that substitutes the proper values into 21075# config.h.in to produce config.h. 21076 21077# Create a delimiter string that does not exist in confdefs.h, to ease 21078# handling of long lines. 21079ac_delim='%!_!# ' 21080for ac_last_try in false false :; do 21081 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 21082 if test -z "$ac_tt"; then 21083 break 21084 elif $ac_last_try; then 21085 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 21086 else 21087 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 21088 fi 21089done 21090 21091# For the awk script, D is an array of macro values keyed by name, 21092# likewise P contains macro parameters if any. Preserve backslash 21093# newline sequences. 21094 21095ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 21096sed -n ' 21097s/.\{148\}/&'"$ac_delim"'/g 21098t rset 21099:rset 21100s/^[ ]*#[ ]*define[ ][ ]*/ / 21101t def 21102d 21103:def 21104s/\\$// 21105t bsnl 21106s/["\\]/\\&/g 21107s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 21108D["\1"]=" \3"/p 21109s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 21110d 21111:bsnl 21112s/["\\]/\\&/g 21113s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 21114D["\1"]=" \3\\\\\\n"\\/p 21115t cont 21116s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 21117t cont 21118d 21119:cont 21120n 21121s/.\{148\}/&'"$ac_delim"'/g 21122t clear 21123:clear 21124s/\\$// 21125t bsnlc 21126s/["\\]/\\&/g; s/^/"/; s/$/"/p 21127d 21128:bsnlc 21129s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 21130b cont 21131' <confdefs.h | sed ' 21132s/'"$ac_delim"'/"\\\ 21133"/g' >>$CONFIG_STATUS || ac_write_fail=1 21134 21135cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21136 for (key in D) D_is_set[key] = 1 21137 FS = "" 21138} 21139/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 21140 line = \$ 0 21141 split(line, arg, " ") 21142 if (arg[1] == "#") { 21143 defundef = arg[2] 21144 mac1 = arg[3] 21145 } else { 21146 defundef = substr(arg[1], 2) 21147 mac1 = arg[2] 21148 } 21149 split(mac1, mac2, "(") #) 21150 macro = mac2[1] 21151 prefix = substr(line, 1, index(line, defundef) - 1) 21152 if (D_is_set[macro]) { 21153 # Preserve the white space surrounding the "#". 21154 print prefix "define", macro P[macro] D[macro] 21155 next 21156 } else { 21157 # Replace #undef with comments. This is necessary, for example, 21158 # in the case of _POSIX_SOURCE, which is predefined and required 21159 # on some systems where configure will not decide to define it. 21160 if (defundef == "undef") { 21161 print "/*", prefix defundef, macro, "*/" 21162 next 21163 } 21164 } 21165} 21166{ print } 21167_ACAWK 21168_ACEOF 21169cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21170 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 21171fi # test -n "$CONFIG_HEADERS" 21172 21173 21174eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 21175shift 21176for ac_tag 21177do 21178 case $ac_tag in 21179 :[FHLC]) ac_mode=$ac_tag; continue;; 21180 esac 21181 case $ac_mode$ac_tag in 21182 :[FHL]*:*);; 21183 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 21184 :[FH]-) ac_tag=-:-;; 21185 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 21186 esac 21187 ac_save_IFS=$IFS 21188 IFS=: 21189 set x $ac_tag 21190 IFS=$ac_save_IFS 21191 shift 21192 ac_file=$1 21193 shift 21194 21195 case $ac_mode in 21196 :L) ac_source=$1;; 21197 :[FH]) 21198 ac_file_inputs= 21199 for ac_f 21200 do 21201 case $ac_f in 21202 -) ac_f="$ac_tmp/stdin";; 21203 *) # Look for the file first in the build tree, then in the source tree 21204 # (if the path is not absolute). The absolute path cannot be DOS-style, 21205 # because $ac_f cannot contain `:'. 21206 test -f "$ac_f" || 21207 case $ac_f in 21208 [\\/$]*) false;; 21209 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 21210 esac || 21211 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 21212 esac 21213 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 21214 as_fn_append ac_file_inputs " '$ac_f'" 21215 done 21216 21217 # Let's still pretend it is `configure' which instantiates (i.e., don't 21218 # use $as_me), people would be surprised to read: 21219 # /* config.h. Generated by config.status. */ 21220 configure_input='Generated from '` 21221 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 21222 `' by configure.' 21223 if test x"$ac_file" != x-; then 21224 configure_input="$ac_file. $configure_input" 21225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 21226$as_echo "$as_me: creating $ac_file" >&6;} 21227 fi 21228 # Neutralize special characters interpreted by sed in replacement strings. 21229 case $configure_input in #( 21230 *\&* | *\|* | *\\* ) 21231 ac_sed_conf_input=`$as_echo "$configure_input" | 21232 sed 's/[\\\\&|]/\\\\&/g'`;; #( 21233 *) ac_sed_conf_input=$configure_input;; 21234 esac 21235 21236 case $ac_tag in 21237 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 21238 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 21239 esac 21240 ;; 21241 esac 21242 21243 ac_dir=`$as_dirname -- "$ac_file" || 21244$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21245 X"$ac_file" : 'X\(//\)[^/]' \| \ 21246 X"$ac_file" : 'X\(//\)$' \| \ 21247 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 21248$as_echo X"$ac_file" | 21249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21250 s//\1/ 21251 q 21252 } 21253 /^X\(\/\/\)[^/].*/{ 21254 s//\1/ 21255 q 21256 } 21257 /^X\(\/\/\)$/{ 21258 s//\1/ 21259 q 21260 } 21261 /^X\(\/\).*/{ 21262 s//\1/ 21263 q 21264 } 21265 s/.*/./; q'` 21266 as_dir="$ac_dir"; as_fn_mkdir_p 21267 ac_builddir=. 21268 21269case "$ac_dir" in 21270.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 21271*) 21272 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 21273 # A ".." for each directory in $ac_dir_suffix. 21274 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 21275 case $ac_top_builddir_sub in 21276 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 21277 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 21278 esac ;; 21279esac 21280ac_abs_top_builddir=$ac_pwd 21281ac_abs_builddir=$ac_pwd$ac_dir_suffix 21282# for backward compatibility: 21283ac_top_builddir=$ac_top_build_prefix 21284 21285case $srcdir in 21286 .) # We are building in place. 21287 ac_srcdir=. 21288 ac_top_srcdir=$ac_top_builddir_sub 21289 ac_abs_top_srcdir=$ac_pwd ;; 21290 [\\/]* | ?:[\\/]* ) # Absolute name. 21291 ac_srcdir=$srcdir$ac_dir_suffix; 21292 ac_top_srcdir=$srcdir 21293 ac_abs_top_srcdir=$srcdir ;; 21294 *) # Relative name. 21295 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 21296 ac_top_srcdir=$ac_top_build_prefix$srcdir 21297 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 21298esac 21299ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 21300 21301 21302 case $ac_mode in 21303 :F) 21304 # 21305 # CONFIG_FILE 21306 # 21307 21308 case $INSTALL in 21309 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 21310 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 21311 esac 21312 ac_MKDIR_P=$MKDIR_P 21313 case $MKDIR_P in 21314 [\\/$]* | ?:[\\/]* ) ;; 21315 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 21316 esac 21317_ACEOF 21318 21319cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21320# If the template does not know about datarootdir, expand it. 21321# FIXME: This hack should be removed a few years after 2.60. 21322ac_datarootdir_hack=; ac_datarootdir_seen= 21323ac_sed_dataroot=' 21324/datarootdir/ { 21325 p 21326 q 21327} 21328/@datadir@/p 21329/@docdir@/p 21330/@infodir@/p 21331/@localedir@/p 21332/@mandir@/p' 21333case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 21334*datarootdir*) ac_datarootdir_seen=yes;; 21335*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 21336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 21337$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 21338_ACEOF 21339cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21340 ac_datarootdir_hack=' 21341 s&@datadir@&$datadir&g 21342 s&@docdir@&$docdir&g 21343 s&@infodir@&$infodir&g 21344 s&@localedir@&$localedir&g 21345 s&@mandir@&$mandir&g 21346 s&\\\${datarootdir}&$datarootdir&g' ;; 21347esac 21348_ACEOF 21349 21350# Neutralize VPATH when `$srcdir' = `.'. 21351# Shell code in configure.ac might set extrasub. 21352# FIXME: do we really want to maintain this feature? 21353cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21354ac_sed_extra="$ac_vpsub 21355$extrasub 21356_ACEOF 21357cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21358:t 21359/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 21360s|@configure_input@|$ac_sed_conf_input|;t t 21361s&@top_builddir@&$ac_top_builddir_sub&;t t 21362s&@top_build_prefix@&$ac_top_build_prefix&;t t 21363s&@srcdir@&$ac_srcdir&;t t 21364s&@abs_srcdir@&$ac_abs_srcdir&;t t 21365s&@top_srcdir@&$ac_top_srcdir&;t t 21366s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 21367s&@builddir@&$ac_builddir&;t t 21368s&@abs_builddir@&$ac_abs_builddir&;t t 21369s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 21370s&@INSTALL@&$ac_INSTALL&;t t 21371s&@MKDIR_P@&$ac_MKDIR_P&;t t 21372$ac_datarootdir_hack 21373" 21374eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 21375 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21376 21377test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 21378 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 21379 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 21380 "$ac_tmp/out"`; test -z "$ac_out"; } && 21381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 21382which seems to be undefined. Please make sure it is defined" >&5 21383$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 21384which seems to be undefined. Please make sure it is defined" >&2;} 21385 21386 rm -f "$ac_tmp/stdin" 21387 case $ac_file in 21388 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 21389 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 21390 esac \ 21391 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21392 ;; 21393 :H) 21394 # 21395 # CONFIG_HEADER 21396 # 21397 if test x"$ac_file" != x-; then 21398 { 21399 $as_echo "/* $configure_input */" \ 21400 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 21401 } >"$ac_tmp/config.h" \ 21402 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21403 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 21404 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 21405$as_echo "$as_me: $ac_file is unchanged" >&6;} 21406 else 21407 rm -f "$ac_file" 21408 mv "$ac_tmp/config.h" "$ac_file" \ 21409 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21410 fi 21411 else 21412 $as_echo "/* $configure_input */" \ 21413 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 21414 || as_fn_error $? "could not create -" "$LINENO" 5 21415 fi 21416# Compute "$ac_file"'s index in $config_headers. 21417_am_arg="$ac_file" 21418_am_stamp_count=1 21419for _am_header in $config_headers :; do 21420 case $_am_header in 21421 $_am_arg | $_am_arg:* ) 21422 break ;; 21423 * ) 21424 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 21425 esac 21426done 21427echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 21428$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21429 X"$_am_arg" : 'X\(//\)[^/]' \| \ 21430 X"$_am_arg" : 'X\(//\)$' \| \ 21431 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 21432$as_echo X"$_am_arg" | 21433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21434 s//\1/ 21435 q 21436 } 21437 /^X\(\/\/\)[^/].*/{ 21438 s//\1/ 21439 q 21440 } 21441 /^X\(\/\/\)$/{ 21442 s//\1/ 21443 q 21444 } 21445 /^X\(\/\).*/{ 21446 s//\1/ 21447 q 21448 } 21449 s/.*/./; q'`/stamp-h$_am_stamp_count 21450 ;; 21451 21452 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 21453$as_echo "$as_me: executing $ac_file commands" >&6;} 21454 ;; 21455 esac 21456 21457 21458 case $ac_file$ac_mode in 21459 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 21460 # Older Autoconf quotes --file arguments for eval, but not when files 21461 # are listed without --file. Let's play safe and only enable the eval 21462 # if we detect the quoting. 21463 # TODO: see whether this extra hack can be removed once we start 21464 # requiring Autoconf 2.70 or later. 21465 case $CONFIG_FILES in #( 21466 *\'*) : 21467 eval set x "$CONFIG_FILES" ;; #( 21468 *) : 21469 set x $CONFIG_FILES ;; #( 21470 *) : 21471 ;; 21472esac 21473 shift 21474 # Used to flag and report bootstrapping failures. 21475 am_rc=0 21476 for am_mf 21477 do 21478 # Strip MF so we end up with the name of the file. 21479 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 21480 # Check whether this is an Automake generated Makefile which includes 21481 # dependency-tracking related rules and includes. 21482 # Grep'ing the whole file directly is not great: AIX grep has a line 21483 # limit of 2048, but all sed's we know have understand at least 4000. 21484 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 21485 || continue 21486 am_dirpart=`$as_dirname -- "$am_mf" || 21487$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21488 X"$am_mf" : 'X\(//\)[^/]' \| \ 21489 X"$am_mf" : 'X\(//\)$' \| \ 21490 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 21491$as_echo X"$am_mf" | 21492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21493 s//\1/ 21494 q 21495 } 21496 /^X\(\/\/\)[^/].*/{ 21497 s//\1/ 21498 q 21499 } 21500 /^X\(\/\/\)$/{ 21501 s//\1/ 21502 q 21503 } 21504 /^X\(\/\).*/{ 21505 s//\1/ 21506 q 21507 } 21508 s/.*/./; q'` 21509 am_filepart=`$as_basename -- "$am_mf" || 21510$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 21511 X"$am_mf" : 'X\(//\)$' \| \ 21512 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 21513$as_echo X/"$am_mf" | 21514 sed '/^.*\/\([^/][^/]*\)\/*$/{ 21515 s//\1/ 21516 q 21517 } 21518 /^X\/\(\/\/\)$/{ 21519 s//\1/ 21520 q 21521 } 21522 /^X\/\(\/\).*/{ 21523 s//\1/ 21524 q 21525 } 21526 s/.*/./; q'` 21527 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 21528 && sed -e '/# am--include-marker/d' "$am_filepart" \ 21529 | $MAKE -f - am--depfiles" >&5 21530 (cd "$am_dirpart" \ 21531 && sed -e '/# am--include-marker/d' "$am_filepart" \ 21532 | $MAKE -f - am--depfiles) >&5 2>&5 21533 ac_status=$? 21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21535 (exit $ac_status); } || am_rc=$? 21536 done 21537 if test $am_rc -ne 0; then 21538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21539$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21540as_fn_error $? "Something went wrong bootstrapping makefile fragments 21541 for automatic dependency tracking. If GNU make was not used, consider 21542 re-running the configure script with MAKE=\"gmake\" (or whatever is 21543 necessary). You can also try re-running configure with the 21544 '--disable-dependency-tracking' option to at least be able to build 21545 the package (albeit without support for automatic dependency tracking). 21546See \`config.log' for more details" "$LINENO" 5; } 21547 fi 21548 { am_dirpart=; unset am_dirpart;} 21549 { am_filepart=; unset am_filepart;} 21550 { am_mf=; unset am_mf;} 21551 { am_rc=; unset am_rc;} 21552 rm -f conftest-deps.mk 21553} 21554 ;; 21555 "libtool":C) 21556 21557 # See if we are running on zsh, and set the options that allow our 21558 # commands through without removal of \ escapes. 21559 if test -n "${ZSH_VERSION+set}"; then 21560 setopt NO_GLOB_SUBST 21561 fi 21562 21563 cfgfile=${ofile}T 21564 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 21565 $RM "$cfgfile" 21566 21567 cat <<_LT_EOF >> "$cfgfile" 21568#! $SHELL 21569# Generated automatically by $as_me ($PACKAGE) $VERSION 21570# NOTE: Changes made to this file will be lost: look at ltmain.sh. 21571 21572# Provide generalized library-building support services. 21573# Written by Gordon Matzigkeit, 1996 21574 21575# Copyright (C) 2014 Free Software Foundation, Inc. 21576# This is free software; see the source for copying conditions. There is NO 21577# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 21578 21579# GNU Libtool is free software; you can redistribute it and/or modify 21580# it under the terms of the GNU General Public License as published by 21581# the Free Software Foundation; either version 2 of of the License, or 21582# (at your option) any later version. 21583# 21584# As a special exception to the GNU General Public License, if you 21585# distribute this file as part of a program or library that is built 21586# using GNU Libtool, you may include this file under the same 21587# distribution terms that you use for the rest of that program. 21588# 21589# GNU Libtool is distributed in the hope that it will be useful, but 21590# WITHOUT ANY WARRANTY; without even the implied warranty of 21591# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21592# GNU General Public License for more details. 21593# 21594# You should have received a copy of the GNU General Public License 21595# along with this program. If not, see <http://www.gnu.org/licenses/>. 21596 21597 21598# The names of the tagged configurations supported by this script. 21599available_tags='CXX ' 21600 21601# Configured defaults for sys_lib_dlsearch_path munging. 21602: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 21603 21604# ### BEGIN LIBTOOL CONFIG 21605 21606# Which release of libtool.m4 was used? 21607macro_version=$macro_version 21608macro_revision=$macro_revision 21609 21610# Whether or not to build static libraries. 21611build_old_libs=$enable_static 21612 21613# Whether or not to build shared libraries. 21614build_libtool_libs=$enable_shared 21615 21616# What type of objects to build. 21617pic_mode=$pic_mode 21618 21619# Whether or not to optimize for fast installation. 21620fast_install=$enable_fast_install 21621 21622# Shared archive member basename,for filename based shared library versioning on AIX. 21623shared_archive_member_spec=$shared_archive_member_spec 21624 21625# Shell to use when invoking shell scripts. 21626SHELL=$lt_SHELL 21627 21628# An echo program that protects backslashes. 21629ECHO=$lt_ECHO 21630 21631# The PATH separator for the build system. 21632PATH_SEPARATOR=$lt_PATH_SEPARATOR 21633 21634# The host system. 21635host_alias=$host_alias 21636host=$host 21637host_os=$host_os 21638 21639# The build system. 21640build_alias=$build_alias 21641build=$build 21642build_os=$build_os 21643 21644# A sed program that does not truncate output. 21645SED=$lt_SED 21646 21647# Sed that helps us avoid accidentally triggering echo(1) options like -n. 21648Xsed="\$SED -e 1s/^X//" 21649 21650# A grep program that handles long lines. 21651GREP=$lt_GREP 21652 21653# An ERE matcher. 21654EGREP=$lt_EGREP 21655 21656# A literal string matcher. 21657FGREP=$lt_FGREP 21658 21659# A BSD- or MS-compatible name lister. 21660NM=$lt_NM 21661 21662# Whether we need soft or hard links. 21663LN_S=$lt_LN_S 21664 21665# What is the maximum length of a command? 21666max_cmd_len=$max_cmd_len 21667 21668# Object file suffix (normally "o"). 21669objext=$ac_objext 21670 21671# Executable file suffix (normally ""). 21672exeext=$exeext 21673 21674# whether the shell understands "unset". 21675lt_unset=$lt_unset 21676 21677# turn spaces into newlines. 21678SP2NL=$lt_lt_SP2NL 21679 21680# turn newlines into spaces. 21681NL2SP=$lt_lt_NL2SP 21682 21683# convert \$build file names to \$host format. 21684to_host_file_cmd=$lt_cv_to_host_file_cmd 21685 21686# convert \$build files to toolchain format. 21687to_tool_file_cmd=$lt_cv_to_tool_file_cmd 21688 21689# An object symbol dumper. 21690OBJDUMP=$lt_OBJDUMP 21691 21692# Method to check whether dependent libraries are shared objects. 21693deplibs_check_method=$lt_deplibs_check_method 21694 21695# Command to use when deplibs_check_method = "file_magic". 21696file_magic_cmd=$lt_file_magic_cmd 21697 21698# How to find potential files when deplibs_check_method = "file_magic". 21699file_magic_glob=$lt_file_magic_glob 21700 21701# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 21702want_nocaseglob=$lt_want_nocaseglob 21703 21704# DLL creation program. 21705DLLTOOL=$lt_DLLTOOL 21706 21707# Command to associate shared and link libraries. 21708sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 21709 21710# The archiver. 21711AR=$lt_AR 21712 21713# Flags to create an archive. 21714AR_FLAGS=$lt_AR_FLAGS 21715 21716# How to feed a file listing to the archiver. 21717archiver_list_spec=$lt_archiver_list_spec 21718 21719# A symbol stripping program. 21720STRIP=$lt_STRIP 21721 21722# Commands used to install an old-style archive. 21723RANLIB=$lt_RANLIB 21724old_postinstall_cmds=$lt_old_postinstall_cmds 21725old_postuninstall_cmds=$lt_old_postuninstall_cmds 21726 21727# Whether to use a lock for old archive extraction. 21728lock_old_archive_extraction=$lock_old_archive_extraction 21729 21730# A C compiler. 21731LTCC=$lt_CC 21732 21733# LTCC compiler flags. 21734LTCFLAGS=$lt_CFLAGS 21735 21736# Take the output of nm and produce a listing of raw symbols and C names. 21737global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 21738 21739# Transform the output of nm in a proper C declaration. 21740global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 21741 21742# Transform the output of nm into a list of symbols to manually relocate. 21743global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 21744 21745# Transform the output of nm in a C name address pair. 21746global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 21747 21748# Transform the output of nm in a C name address pair when lib prefix is needed. 21749global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 21750 21751# The name lister interface. 21752nm_interface=$lt_lt_cv_nm_interface 21753 21754# Specify filename containing input files for \$NM. 21755nm_file_list_spec=$lt_nm_file_list_spec 21756 21757# The root where to search for dependent libraries,and where our libraries should be installed. 21758lt_sysroot=$lt_sysroot 21759 21760# Command to truncate a binary pipe. 21761lt_truncate_bin=$lt_lt_cv_truncate_bin 21762 21763# The name of the directory that contains temporary libtool files. 21764objdir=$objdir 21765 21766# Used to examine libraries when file_magic_cmd begins with "file". 21767MAGIC_CMD=$MAGIC_CMD 21768 21769# Must we lock files when doing compilation? 21770need_locks=$lt_need_locks 21771 21772# Manifest tool. 21773MANIFEST_TOOL=$lt_MANIFEST_TOOL 21774 21775# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 21776DSYMUTIL=$lt_DSYMUTIL 21777 21778# Tool to change global to local symbols on Mac OS X. 21779NMEDIT=$lt_NMEDIT 21780 21781# Tool to manipulate fat objects and archives on Mac OS X. 21782LIPO=$lt_LIPO 21783 21784# ldd/readelf like tool for Mach-O binaries on Mac OS X. 21785OTOOL=$lt_OTOOL 21786 21787# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 21788OTOOL64=$lt_OTOOL64 21789 21790# Old archive suffix (normally "a"). 21791libext=$libext 21792 21793# Shared library suffix (normally ".so"). 21794shrext_cmds=$lt_shrext_cmds 21795 21796# The commands to extract the exported symbol list from a shared archive. 21797extract_expsyms_cmds=$lt_extract_expsyms_cmds 21798 21799# Variables whose values should be saved in libtool wrapper scripts and 21800# restored at link time. 21801variables_saved_for_relink=$lt_variables_saved_for_relink 21802 21803# Do we need the "lib" prefix for modules? 21804need_lib_prefix=$need_lib_prefix 21805 21806# Do we need a version for libraries? 21807need_version=$need_version 21808 21809# Library versioning type. 21810version_type=$version_type 21811 21812# Shared library runtime path variable. 21813runpath_var=$runpath_var 21814 21815# Shared library path variable. 21816shlibpath_var=$shlibpath_var 21817 21818# Is shlibpath searched before the hard-coded library search path? 21819shlibpath_overrides_runpath=$shlibpath_overrides_runpath 21820 21821# Format of library name prefix. 21822libname_spec=$lt_libname_spec 21823 21824# List of archive names. First name is the real one, the rest are links. 21825# The last name is the one that the linker finds with -lNAME 21826library_names_spec=$lt_library_names_spec 21827 21828# The coded name of the library, if different from the real name. 21829soname_spec=$lt_soname_spec 21830 21831# Permission mode override for installation of shared libraries. 21832install_override_mode=$lt_install_override_mode 21833 21834# Command to use after installation of a shared archive. 21835postinstall_cmds=$lt_postinstall_cmds 21836 21837# Command to use after uninstallation of a shared archive. 21838postuninstall_cmds=$lt_postuninstall_cmds 21839 21840# Commands used to finish a libtool library installation in a directory. 21841finish_cmds=$lt_finish_cmds 21842 21843# As "finish_cmds", except a single script fragment to be evaled but 21844# not shown. 21845finish_eval=$lt_finish_eval 21846 21847# Whether we should hardcode library paths into libraries. 21848hardcode_into_libs=$hardcode_into_libs 21849 21850# Compile-time system search path for libraries. 21851sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 21852 21853# Detected run-time system search path for libraries. 21854sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 21855 21856# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 21857configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 21858 21859# Whether dlopen is supported. 21860dlopen_support=$enable_dlopen 21861 21862# Whether dlopen of programs is supported. 21863dlopen_self=$enable_dlopen_self 21864 21865# Whether dlopen of statically linked programs is supported. 21866dlopen_self_static=$enable_dlopen_self_static 21867 21868# Commands to strip libraries. 21869old_striplib=$lt_old_striplib 21870striplib=$lt_striplib 21871 21872 21873# The linker used to build libraries. 21874LD=$lt_LD 21875 21876# How to create reloadable object files. 21877reload_flag=$lt_reload_flag 21878reload_cmds=$lt_reload_cmds 21879 21880# Commands used to build an old-style archive. 21881old_archive_cmds=$lt_old_archive_cmds 21882 21883# A language specific compiler. 21884CC=$lt_compiler 21885 21886# Is the compiler the GNU compiler? 21887with_gcc=$GCC 21888 21889# Compiler flag to turn off builtin functions. 21890no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 21891 21892# Additional compiler flags for building library objects. 21893pic_flag=$lt_lt_prog_compiler_pic 21894 21895# How to pass a linker flag through the compiler. 21896wl=$lt_lt_prog_compiler_wl 21897 21898# Compiler flag to prevent dynamic linking. 21899link_static_flag=$lt_lt_prog_compiler_static 21900 21901# Does compiler simultaneously support -c and -o options? 21902compiler_c_o=$lt_lt_cv_prog_compiler_c_o 21903 21904# Whether or not to add -lc for building shared libraries. 21905build_libtool_need_lc=$archive_cmds_need_lc 21906 21907# Whether or not to disallow shared libs when runtime libs are static. 21908allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 21909 21910# Compiler flag to allow reflexive dlopens. 21911export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 21912 21913# Compiler flag to generate shared objects directly from archives. 21914whole_archive_flag_spec=$lt_whole_archive_flag_spec 21915 21916# Whether the compiler copes with passing no objects directly. 21917compiler_needs_object=$lt_compiler_needs_object 21918 21919# Create an old-style archive from a shared archive. 21920old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 21921 21922# Create a temporary old-style archive to link instead of a shared archive. 21923old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 21924 21925# Commands used to build a shared archive. 21926archive_cmds=$lt_archive_cmds 21927archive_expsym_cmds=$lt_archive_expsym_cmds 21928 21929# Commands used to build a loadable module if different from building 21930# a shared archive. 21931module_cmds=$lt_module_cmds 21932module_expsym_cmds=$lt_module_expsym_cmds 21933 21934# Whether we are building with GNU ld or not. 21935with_gnu_ld=$lt_with_gnu_ld 21936 21937# Flag that allows shared libraries with undefined symbols to be built. 21938allow_undefined_flag=$lt_allow_undefined_flag 21939 21940# Flag that enforces no undefined symbols. 21941no_undefined_flag=$lt_no_undefined_flag 21942 21943# Flag to hardcode \$libdir into a binary during linking. 21944# This must work even if \$libdir does not exist 21945hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 21946 21947# Whether we need a single "-rpath" flag with a separated argument. 21948hardcode_libdir_separator=$lt_hardcode_libdir_separator 21949 21950# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 21951# DIR into the resulting binary. 21952hardcode_direct=$hardcode_direct 21953 21954# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 21955# DIR into the resulting binary and the resulting library dependency is 21956# "absolute",i.e impossible to change by setting \$shlibpath_var if the 21957# library is relocated. 21958hardcode_direct_absolute=$hardcode_direct_absolute 21959 21960# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 21961# into the resulting binary. 21962hardcode_minus_L=$hardcode_minus_L 21963 21964# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 21965# into the resulting binary. 21966hardcode_shlibpath_var=$hardcode_shlibpath_var 21967 21968# Set to "yes" if building a shared library automatically hardcodes DIR 21969# into the library and all subsequent libraries and executables linked 21970# against it. 21971hardcode_automatic=$hardcode_automatic 21972 21973# Set to yes if linker adds runtime paths of dependent libraries 21974# to runtime path list. 21975inherit_rpath=$inherit_rpath 21976 21977# Whether libtool must link a program against all its dependency libraries. 21978link_all_deplibs=$link_all_deplibs 21979 21980# Set to "yes" if exported symbols are required. 21981always_export_symbols=$always_export_symbols 21982 21983# The commands to list exported symbols. 21984export_symbols_cmds=$lt_export_symbols_cmds 21985 21986# Symbols that should not be listed in the preloaded symbols. 21987exclude_expsyms=$lt_exclude_expsyms 21988 21989# Symbols that must always be exported. 21990include_expsyms=$lt_include_expsyms 21991 21992# Commands necessary for linking programs (against libraries) with templates. 21993prelink_cmds=$lt_prelink_cmds 21994 21995# Commands necessary for finishing linking programs. 21996postlink_cmds=$lt_postlink_cmds 21997 21998# Specify filename containing input files. 21999file_list_spec=$lt_file_list_spec 22000 22001# How to hardcode a shared library path into an executable. 22002hardcode_action=$hardcode_action 22003 22004# The directories searched by this compiler when creating a shared library. 22005compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 22006 22007# Dependencies to place before and after the objects being linked to 22008# create a shared library. 22009predep_objects=$lt_predep_objects 22010postdep_objects=$lt_postdep_objects 22011predeps=$lt_predeps 22012postdeps=$lt_postdeps 22013 22014# The library search path used internally by the compiler when linking 22015# a shared library. 22016compiler_lib_search_path=$lt_compiler_lib_search_path 22017 22018# ### END LIBTOOL CONFIG 22019 22020_LT_EOF 22021 22022 cat <<'_LT_EOF' >> "$cfgfile" 22023 22024# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 22025 22026# func_munge_path_list VARIABLE PATH 22027# ----------------------------------- 22028# VARIABLE is name of variable containing _space_ separated list of 22029# directories to be munged by the contents of PATH, which is string 22030# having a format: 22031# "DIR[:DIR]:" 22032# string "DIR[ DIR]" will be prepended to VARIABLE 22033# ":DIR[:DIR]" 22034# string "DIR[ DIR]" will be appended to VARIABLE 22035# "DIRP[:DIRP]::[DIRA:]DIRA" 22036# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 22037# "DIRA[ DIRA]" will be appended to VARIABLE 22038# "DIR[:DIR]" 22039# VARIABLE will be replaced by "DIR[ DIR]" 22040func_munge_path_list () 22041{ 22042 case x$2 in 22043 x) 22044 ;; 22045 *:) 22046 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 22047 ;; 22048 x:*) 22049 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 22050 ;; 22051 *::*) 22052 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 22053 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 22054 ;; 22055 *) 22056 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 22057 ;; 22058 esac 22059} 22060 22061 22062# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 22063func_cc_basename () 22064{ 22065 for cc_temp in $*""; do 22066 case $cc_temp in 22067 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 22068 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 22069 \-*) ;; 22070 *) break;; 22071 esac 22072 done 22073 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 22074} 22075 22076 22077# ### END FUNCTIONS SHARED WITH CONFIGURE 22078 22079_LT_EOF 22080 22081 case $host_os in 22082 aix3*) 22083 cat <<\_LT_EOF >> "$cfgfile" 22084# AIX sometimes has problems with the GCC collect2 program. For some 22085# reason, if we set the COLLECT_NAMES environment variable, the problems 22086# vanish in a puff of smoke. 22087if test set != "${COLLECT_NAMES+set}"; then 22088 COLLECT_NAMES= 22089 export COLLECT_NAMES 22090fi 22091_LT_EOF 22092 ;; 22093 esac 22094 22095 22096ltmain=$ac_aux_dir/ltmain.sh 22097 22098 22099 # We use sed instead of cat because bash on DJGPP gets confused if 22100 # if finds mixed CR/LF and LF-only lines. Since sed operates in 22101 # text mode, it properly converts lines to CR/LF. This bash problem 22102 # is reportedly fixed, but why not run on old versions too? 22103 sed '$q' "$ltmain" >> "$cfgfile" \ 22104 || (rm -f "$cfgfile"; exit 1) 22105 22106 mv -f "$cfgfile" "$ofile" || 22107 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 22108 chmod +x "$ofile" 22109 22110 22111 cat <<_LT_EOF >> "$ofile" 22112 22113# ### BEGIN LIBTOOL TAG CONFIG: CXX 22114 22115# The linker used to build libraries. 22116LD=$lt_LD_CXX 22117 22118# How to create reloadable object files. 22119reload_flag=$lt_reload_flag_CXX 22120reload_cmds=$lt_reload_cmds_CXX 22121 22122# Commands used to build an old-style archive. 22123old_archive_cmds=$lt_old_archive_cmds_CXX 22124 22125# A language specific compiler. 22126CC=$lt_compiler_CXX 22127 22128# Is the compiler the GNU compiler? 22129with_gcc=$GCC_CXX 22130 22131# Compiler flag to turn off builtin functions. 22132no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 22133 22134# Additional compiler flags for building library objects. 22135pic_flag=$lt_lt_prog_compiler_pic_CXX 22136 22137# How to pass a linker flag through the compiler. 22138wl=$lt_lt_prog_compiler_wl_CXX 22139 22140# Compiler flag to prevent dynamic linking. 22141link_static_flag=$lt_lt_prog_compiler_static_CXX 22142 22143# Does compiler simultaneously support -c and -o options? 22144compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 22145 22146# Whether or not to add -lc for building shared libraries. 22147build_libtool_need_lc=$archive_cmds_need_lc_CXX 22148 22149# Whether or not to disallow shared libs when runtime libs are static. 22150allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 22151 22152# Compiler flag to allow reflexive dlopens. 22153export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 22154 22155# Compiler flag to generate shared objects directly from archives. 22156whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 22157 22158# Whether the compiler copes with passing no objects directly. 22159compiler_needs_object=$lt_compiler_needs_object_CXX 22160 22161# Create an old-style archive from a shared archive. 22162old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 22163 22164# Create a temporary old-style archive to link instead of a shared archive. 22165old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 22166 22167# Commands used to build a shared archive. 22168archive_cmds=$lt_archive_cmds_CXX 22169archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 22170 22171# Commands used to build a loadable module if different from building 22172# a shared archive. 22173module_cmds=$lt_module_cmds_CXX 22174module_expsym_cmds=$lt_module_expsym_cmds_CXX 22175 22176# Whether we are building with GNU ld or not. 22177with_gnu_ld=$lt_with_gnu_ld_CXX 22178 22179# Flag that allows shared libraries with undefined symbols to be built. 22180allow_undefined_flag=$lt_allow_undefined_flag_CXX 22181 22182# Flag that enforces no undefined symbols. 22183no_undefined_flag=$lt_no_undefined_flag_CXX 22184 22185# Flag to hardcode \$libdir into a binary during linking. 22186# This must work even if \$libdir does not exist 22187hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 22188 22189# Whether we need a single "-rpath" flag with a separated argument. 22190hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 22191 22192# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 22193# DIR into the resulting binary. 22194hardcode_direct=$hardcode_direct_CXX 22195 22196# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 22197# DIR into the resulting binary and the resulting library dependency is 22198# "absolute",i.e impossible to change by setting \$shlibpath_var if the 22199# library is relocated. 22200hardcode_direct_absolute=$hardcode_direct_absolute_CXX 22201 22202# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 22203# into the resulting binary. 22204hardcode_minus_L=$hardcode_minus_L_CXX 22205 22206# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 22207# into the resulting binary. 22208hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 22209 22210# Set to "yes" if building a shared library automatically hardcodes DIR 22211# into the library and all subsequent libraries and executables linked 22212# against it. 22213hardcode_automatic=$hardcode_automatic_CXX 22214 22215# Set to yes if linker adds runtime paths of dependent libraries 22216# to runtime path list. 22217inherit_rpath=$inherit_rpath_CXX 22218 22219# Whether libtool must link a program against all its dependency libraries. 22220link_all_deplibs=$link_all_deplibs_CXX 22221 22222# Set to "yes" if exported symbols are required. 22223always_export_symbols=$always_export_symbols_CXX 22224 22225# The commands to list exported symbols. 22226export_symbols_cmds=$lt_export_symbols_cmds_CXX 22227 22228# Symbols that should not be listed in the preloaded symbols. 22229exclude_expsyms=$lt_exclude_expsyms_CXX 22230 22231# Symbols that must always be exported. 22232include_expsyms=$lt_include_expsyms_CXX 22233 22234# Commands necessary for linking programs (against libraries) with templates. 22235prelink_cmds=$lt_prelink_cmds_CXX 22236 22237# Commands necessary for finishing linking programs. 22238postlink_cmds=$lt_postlink_cmds_CXX 22239 22240# Specify filename containing input files. 22241file_list_spec=$lt_file_list_spec_CXX 22242 22243# How to hardcode a shared library path into an executable. 22244hardcode_action=$hardcode_action_CXX 22245 22246# The directories searched by this compiler when creating a shared library. 22247compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 22248 22249# Dependencies to place before and after the objects being linked to 22250# create a shared library. 22251predep_objects=$lt_predep_objects_CXX 22252postdep_objects=$lt_postdep_objects_CXX 22253predeps=$lt_predeps_CXX 22254postdeps=$lt_postdeps_CXX 22255 22256# The library search path used internally by the compiler when linking 22257# a shared library. 22258compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 22259 22260# ### END LIBTOOL TAG CONFIG: CXX 22261_LT_EOF 22262 22263 ;; 22264 "po-directories":C) 22265 for ac_file in $CONFIG_FILES; do 22266 # Support "outfile[:infile[:infile...]]" 22267 case "$ac_file" in 22268 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 22269 esac 22270 # PO directories have a Makefile.in generated from Makefile.in.in. 22271 case "$ac_file" in */Makefile.in) 22272 # Adjust a relative srcdir. 22273 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 22274 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 22275 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 22276 # In autoconf-2.13 it is called $ac_given_srcdir. 22277 # In autoconf-2.50 it is called $srcdir. 22278 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 22279 case "$ac_given_srcdir" in 22280 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 22281 /*) top_srcdir="$ac_given_srcdir" ;; 22282 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 22283 esac 22284 # Treat a directory as a PO directory if and only if it has a 22285 # POTFILES.in file. This allows packages to have multiple PO 22286 # directories under different names or in different locations. 22287 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 22288 rm -f "$ac_dir/POTFILES" 22289 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 22290 gt_tab=`printf '\t'` 22291 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 22292 POMAKEFILEDEPS="POTFILES.in" 22293 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 22294 # on $ac_dir but don't depend on user-specified configuration 22295 # parameters. 22296 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 22297 # The LINGUAS file contains the set of available languages. 22298 if test -n "$OBSOLETE_ALL_LINGUAS"; then 22299 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 22300 fi 22301 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 22302 # Hide the ALL_LINGUAS assignment from automake < 1.5. 22303 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 22304 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 22305 else 22306 # The set of available languages was given in configure.in. 22307 # Hide the ALL_LINGUAS assignment from automake < 1.5. 22308 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 22309 fi 22310 # Compute POFILES 22311 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 22312 # Compute UPDATEPOFILES 22313 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 22314 # Compute DUMMYPOFILES 22315 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 22316 # Compute GMOFILES 22317 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 22318 case "$ac_given_srcdir" in 22319 .) srcdirpre= ;; 22320 *) srcdirpre='$(srcdir)/' ;; 22321 esac 22322 POFILES= 22323 UPDATEPOFILES= 22324 DUMMYPOFILES= 22325 GMOFILES= 22326 for lang in $ALL_LINGUAS; do 22327 POFILES="$POFILES $srcdirpre$lang.po" 22328 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 22329 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 22330 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 22331 done 22332 # CATALOGS depends on both $ac_dir and the user's LINGUAS 22333 # environment variable. 22334 INST_LINGUAS= 22335 if test -n "$ALL_LINGUAS"; then 22336 for presentlang in $ALL_LINGUAS; do 22337 useit=no 22338 if test "%UNSET%" != "$LINGUAS"; then 22339 desiredlanguages="$LINGUAS" 22340 else 22341 desiredlanguages="$ALL_LINGUAS" 22342 fi 22343 for desiredlang in $desiredlanguages; do 22344 # Use the presentlang catalog if desiredlang is 22345 # a. equal to presentlang, or 22346 # b. a variant of presentlang (because in this case, 22347 # presentlang can be used as a fallback for messages 22348 # which are not translated in the desiredlang catalog). 22349 case "$desiredlang" in 22350 "$presentlang"*) useit=yes;; 22351 esac 22352 done 22353 if test $useit = yes; then 22354 INST_LINGUAS="$INST_LINGUAS $presentlang" 22355 fi 22356 done 22357 fi 22358 CATALOGS= 22359 if test -n "$INST_LINGUAS"; then 22360 for lang in $INST_LINGUAS; do 22361 CATALOGS="$CATALOGS $lang.gmo" 22362 done 22363 fi 22364 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 22365 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" 22366 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 22367 if test -f "$f"; then 22368 case "$f" in 22369 *.orig | *.bak | *~) ;; 22370 *) cat "$f" >> "$ac_dir/Makefile" ;; 22371 esac 22372 fi 22373 done 22374 fi 22375 ;; 22376 esac 22377 done ;; 22378 22379 esac 22380done # for ac_tag 22381 22382 22383as_fn_exit 0 22384_ACEOF 22385ac_clean_files=$ac_clean_files_save 22386 22387test $ac_write_fail = 0 || 22388 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 22389 22390 22391# configure is writing to config.log, and then calls config.status. 22392# config.status does its own redirection, appending to config.log. 22393# Unfortunately, on DOS this fails, as config.log is still kept open 22394# by configure, so config.status won't be able to write to it; its 22395# output is simply discarded. So we exec the FD to /dev/null, 22396# effectively closing config.log, so it can be properly (re)opened and 22397# appended to by config.status. When coming back to configure, we 22398# need to make the FD available again. 22399if test "$no_create" != yes; then 22400 ac_cs_success=: 22401 ac_config_status_args= 22402 test "$silent" = yes && 22403 ac_config_status_args="$ac_config_status_args --quiet" 22404 exec 5>/dev/null 22405 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 22406 exec 5>>config.log 22407 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 22408 # would make configure fail if this is the last instruction. 22409 $ac_cs_success || as_fn_exit 1 22410fi 22411if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 22412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 22413$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 22414fi 22415 22416 22417cat <<EOF 22418 22419${PACKAGE}-${VERSION} 22420 22421 Build environment 22422 Install Prefix: ${prefix} 22423 22424 Optional dependencies 22425 fts++: ${enable_fts} 22426 dee-icu: ${with_dee_icu} 22427 22428 Other build options: 22429 DataHub: ${enable_datahub} 22430 Telepathy provider: ${enable_telepathy} 22431 Downloads monitor: ${enable_downloads_monitor} 22432 SQL debugging: ${explain_queries} 22433 libzeitgeist docs: ${enable_docs} 22434 GObject Introspection: ${enable_introspection} 22435 22436EOF 22437