1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1 200 201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 PATH=/empty FPATH=/empty; export PATH FPATH 206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME= 589PACKAGE_TARNAME= 590PACKAGE_VERSION= 591PACKAGE_STRING= 592PACKAGE_BUGREPORT= 593PACKAGE_URL= 594 595ac_unique_file="src/main.c" 596# Factoring default headers for most tests. 597ac_includes_default="\ 598#include <stdio.h> 599#ifdef HAVE_SYS_TYPES_H 600# include <sys/types.h> 601#endif 602#ifdef HAVE_SYS_STAT_H 603# include <sys/stat.h> 604#endif 605#ifdef STDC_HEADERS 606# include <stdlib.h> 607# include <stddef.h> 608#else 609# ifdef HAVE_STDLIB_H 610# include <stdlib.h> 611# endif 612#endif 613#ifdef HAVE_STRING_H 614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 615# include <memory.h> 616# endif 617# include <string.h> 618#endif 619#ifdef HAVE_STRINGS_H 620# include <strings.h> 621#endif 622#ifdef HAVE_INTTYPES_H 623# include <inttypes.h> 624#endif 625#ifdef HAVE_STDINT_H 626# include <stdint.h> 627#endif 628#ifdef HAVE_UNISTD_H 629# include <unistd.h> 630#endif" 631 632gt_needs= 633ac_subst_vars='am__EXEEXT_FALSE 634am__EXEEXT_TRUE 635LTLIBOBJS 636LIBOBJS 637BUILD_VCALENDAR_PLUGIN_FALSE 638BUILD_VCALENDAR_PLUGIN_TRUE 639BUILD_TNEF_PARSE_PLUGIN_FALSE 640BUILD_TNEF_PARSE_PLUGIN_TRUE 641BUILD_SPAM_REPORT_PLUGIN_FALSE 642BUILD_SPAM_REPORT_PLUGIN_TRUE 643BUILD_SPAMASSASSIN_PLUGIN_FALSE 644BUILD_SPAMASSASSIN_PLUGIN_TRUE 645BUILD_SMIME_PLUGIN_FALSE 646BUILD_SMIME_PLUGIN_TRUE 647BUILD_RSSYL_PLUGIN_FALSE 648BUILD_RSSYL_PLUGIN_TRUE 649BUILD_PGPINLINE_PLUGIN_FALSE 650BUILD_PGPINLINE_PLUGIN_TRUE 651BUILD_PGPMIME_PLUGIN_FALSE 652BUILD_PGPMIME_PLUGIN_TRUE 653BUILD_PGPCORE_PLUGIN_FALSE 654BUILD_PGPCORE_PLUGIN_TRUE 655BUILD_PYTHON_PLUGIN_FALSE 656BUILD_PYTHON_PLUGIN_TRUE 657BUILD_PERL_PLUGIN_FALSE 658BUILD_PERL_PLUGIN_TRUE 659BUILD_PDF_VIEWER_PLUGIN_FALSE 660BUILD_PDF_VIEWER_PLUGIN_TRUE 661BUILD_HOTKEYS_FALSE 662BUILD_HOTKEYS_TRUE 663BUILD_NOTIFICATION_PLUGIN_FALSE 664BUILD_NOTIFICATION_PLUGIN_TRUE 665BUILD_NEWMAIL_PLUGIN_FALSE 666BUILD_NEWMAIL_PLUGIN_TRUE 667BUILD_MANAGESIEVE_PLUGIN_FALSE 668BUILD_MANAGESIEVE_PLUGIN_TRUE 669BUILD_MAILMBOX_PLUGIN_FALSE 670BUILD_MAILMBOX_PLUGIN_TRUE 671BUILD_LITEHTML_VIEWER_PLUGIN_FALSE 672BUILD_LITEHTML_VIEWER_PLUGIN_TRUE 673BUILD_LIBRAVATAR_PLUGIN_FALSE 674BUILD_LIBRAVATAR_PLUGIN_TRUE 675BUILD_GDATA_PLUGIN_FALSE 676BUILD_GDATA_PLUGIN_TRUE 677BUILD_FETCHINFO_PLUGIN_FALSE 678BUILD_FETCHINFO_PLUGIN_TRUE 679BUILD_FANCY_PLUGIN_FALSE 680BUILD_FANCY_PLUGIN_TRUE 681BUILD_DILLO_PLUGIN_FALSE 682BUILD_DILLO_PLUGIN_TRUE 683BUILD_DEMO_PLUGIN_FALSE 684BUILD_DEMO_PLUGIN_TRUE 685BUILD_CLAMD_PLUGIN_FALSE 686BUILD_CLAMD_PLUGIN_TRUE 687BUILD_BSFILTER_PLUGIN_FALSE 688BUILD_BSFILTER_PLUGIN_TRUE 689BUILD_BOGOFILTER_PLUGIN_FALSE 690BUILD_BOGOFILTER_PLUGIN_TRUE 691BUILD_ATTACHWARNER_PLUGIN_FALSE 692BUILD_ATTACHWARNER_PLUGIN_TRUE 693BUILD_ATT_REMOVER_PLUGIN_FALSE 694BUILD_ATT_REMOVER_PLUGIN_TRUE 695BUILD_ARCHIVE_PLUGIN_FALSE 696BUILD_ARCHIVE_PLUGIN_TRUE 697BUILD_ADDRESS_KEEPER_PLUGIN_FALSE 698BUILD_ADDRESS_KEEPER_PLUGIN_TRUE 699BUILD_ACPI_NOTIFIER_PLUGIN_FALSE 700BUILD_ACPI_NOTIFIER_PLUGIN_TRUE 701SPAMASSASSIN_LIBS 702SPAMASSASSIN_CFLAGS 703YTNEF_LIBS 704YTNEF_CFLAGS 705CM_NP_HOTKEY_LIBS 706CM_NP_HOTKEY_CFLAGS 707unity_LIBS 708unity_CFLAGS 709libcanberra_gtk_LIBS 710libcanberra_gtk_CFLAGS 711libnotify_LIBS 712libnotify_CFLAGS 713PYTHON_SHARED_LIB 714PYGTK_LIBS 715PYGTK_CFLAGS 716PYTHON_LIBS 717PYTHON_CFLAGS 718GPGME_LIBS 719GPGME_CFLAGS 720GPGME_CONFIG 721PERL_LDFLAGS 722PERL_CFLAGS 723PERL 724HAVE_PERL 725POPPLER_LIBS 726POPPLER_CFLAGS 727LIBICAL_LIBS 728LIBICAL_CFLAGS 729LIBGUMBO_LIBS 730LIBGUMBO_CFLAGS 731FONTCONFIG_LIBS 732FONTCONFIG_CFLAGS 733CAIRO_LIBS 734CAIRO_CFLAGS 735GDATA_LIBS 736GDATA_CFLAGS 737ARCHIVE_CFLAGS 738ARCHIVE_LIBS 739LIBARCHIVE_LIBS 740LIBARCHIVE_CFLAGS 741LIBSOUP_GNOME_LIBS 742LIBSOUP_GNOME_CFLAGS 743LIBSOUP_LIBS 744LIBSOUP_CFLAGS 745WEBKIT_LIBS 746WEBKIT_CFLAGS 747EXPAT_LIBS 748EXPAT_CFLAGS 749CURL_LIBS 750CURL_CFLAGS 751BUILD_TESTS_FALSE 752BUILD_TESTS_TRUE 753CLAWS_VALGRIND_FALSE 754CLAWS_VALGRIND_TRUE 755VALGRIND_LIBS 756VALGRIND_CFLAGS 757SVG_LIBS 758SVG_CFLAGS 759CLAWS_LIBETPAN_FALSE 760CLAWS_LIBETPAN_TRUE 761LIBETPAN_FLAGS 762libetpanconfig 763LIBETPAN_LIBS 764LIBETPAN_CFLAGS 765NETWORKMANAGER_SUPPORT_LIBS 766NETWORKMANAGER_SUPPORT_CFLAGS 767BUILD_ALTADDRBOOK_FALSE 768BUILD_ALTADDRBOOK_TRUE 769JPILOT_LIBS 770LDAP_LIBS 771CONTACTS_LIBS 772CONTACTS_CFLAGS 773DBUS_LIBS 774DBUS_CFLAGS 775STARTUP_NOTIFICATION_LIBS 776STARTUP_NOTIFICATION_CFLAGS 777LIBRESOLV 778PTHREAD_LIBS 779COMPFACE_LIBS 780enable_crash_dialog 781ENCHANT_LIBS 782ENCHANT_CFLAGS 783GTK_LIBS 784GTK_CFLAGS 785PASSCRYPT_KEY 786NETTLE_LIBS 787NETTLE_CFLAGS 788GNUTLS_LIBS 789GNUTLS_CFLAGS 790GDK_PIXBUF_LIBS 791GDK_PIXBUF_CFLAGS 792GLIB_GENMARSHAL 793GLIB_LIBS 794GLIB_CFLAGS 795ALLOCA 796SM_LIBS 797BUILD_MANUAL_FALSE 798BUILD_MANUAL_TRUE 799MANUAL_PS_FALSE 800MANUAL_PS_TRUE 801MANUAL_PDF_FALSE 802MANUAL_PDF_TRUE 803MANUAL_TXT_FALSE 804MANUAL_TXT_TRUE 805MANUAL_HTML_FALSE 806MANUAL_HTML_TRUE 807DOCBOOK2PDF 808DOCBOOK2PS 809DOCBOOK2TXT 810DOCBOOK2HTML 811manualdir 812POSUB 813LTLIBINTL 814LIBINTL 815INTLLIBS 816INTL_MACOSX_LIBS 817XGETTEXT_EXTRA_OPTIONS 818MSGMERGE_FOR_MSGFMT_OPTION 819MSGMERGE 820XGETTEXT_015 821XGETTEXT 822GMSGFMT_015 823GMSGFMT 824MSGFMT 825GETTEXT_MACRO_VERSION 826USE_NLS 827GETTEXT_PACKAGE 828LTLIBICONV 829LIBICONV 830CYGWIN_FALSE 831CYGWIN_TRUE 832OS_WIN32_FALSE 833OS_WIN32_TRUE 834PLATFORM_OSX_FALSE 835PLATFORM_OSX_TRUE 836PLATFORM_WIN32_FALSE 837PLATFORM_WIN32_TRUE 838REAL_CXX 839CXXCPP 840am__fastdepCXX_FALSE 841am__fastdepCXX_TRUE 842CXXDEPMODE 843ac_ct_CXX 844CXXFLAGS 845CXX 846RC 847LT_SYS_LIBRARY_PATH 848OTOOL64 849OTOOL 850LIPO 851NMEDIT 852DSYMUTIL 853MANIFEST_TOOL 854RANLIB 855ac_ct_AR 856AR 857NM 858ac_ct_DUMPBIN 859DUMPBIN 860LD 861FGREP 862SED 863LIBTOOL 864OBJDUMP 865DLLTOOL 866AS 867EGREP 868GREP 869YFLAGS 870YACC 871LEXLIB 872LEX_OUTPUT_ROOT 873LEX 874CPP 875LN_S 876am__fastdepCC_FALSE 877am__fastdepCC_TRUE 878CCDEPMODE 879am__nodep 880AMDEPBACKSLASH 881AMDEP_FALSE 882AMDEP_TRUE 883am__include 884DEPDIR 885OBJEXT 886EXEEXT 887ac_ct_CC 888CPPFLAGS 889LDFLAGS 890CFLAGS 891CC 892MAINT 893MAINTAINER_MODE_FALSE 894MAINTAINER_MODE_TRUE 895LT_AGE 896LT_REVISION 897LT_CURRENT 898LT_RELEASE 899PKG_CONFIG_LIBDIR 900PKG_CONFIG_PATH 901PKG_CONFIG 902UPDATE_GTK_ICON_CACHE_FALSE 903UPDATE_GTK_ICON_CACHE_TRUE 904HAVE_GTK_ICON_CACHE 905GIT_VERSION 906EXTRA_VERSION 907MICRO_VERSION 908MINOR_VERSION 909MAJOR_VERSION 910AM_BACKSLASH 911AM_DEFAULT_VERBOSITY 912AM_DEFAULT_V 913AM_V 914am__untar 915am__tar 916AMTAR 917am__leading_dot 918SET_MAKE 919AWK 920mkdir_p 921MKDIR_P 922INSTALL_STRIP_PROGRAM 923STRIP 924install_sh 925MAKEINFO 926AUTOHEADER 927AUTOMAKE 928AUTOCONF 929ACLOCAL 930VERSION 931PACKAGE 932CYGPATH_W 933am__isrc 934INSTALL_DATA 935INSTALL_SCRIPT 936INSTALL_PROGRAM 937target_os 938target_vendor 939target_cpu 940target 941host_os 942host_vendor 943host_cpu 944host 945build_os 946build_vendor 947build_cpu 948build 949GIT 950target_alias 951host_alias 952build_alias 953LIBS 954ECHO_T 955ECHO_N 956ECHO_C 957DEFS 958mandir 959localedir 960libdir 961psdir 962pdfdir 963dvidir 964htmldir 965infodir 966docdir 967oldincludedir 968includedir 969runstatedir 970localstatedir 971sharedstatedir 972sysconfdir 973datadir 974datarootdir 975libexecdir 976sbindir 977bindir 978program_transform_name 979prefix 980exec_prefix 981PACKAGE_URL 982PACKAGE_BUGREPORT 983PACKAGE_STRING 984PACKAGE_VERSION 985PACKAGE_TARNAME 986PACKAGE_NAME 987PATH_SEPARATOR 988SHELL 989am__quote' 990ac_subst_files='' 991ac_user_opts=' 992enable_option_checking 993enable_silent_rules 994enable_maintainer_mode 995enable_dependency_tracking 996with_lib_prefix 997enable_shared 998enable_static 999with_pic 1000enable_fast_install 1001with_aix_soname 1002with_gnu_ld 1003with_sysroot 1004enable_libtool_lock 1005enable_largefile 1006enable_rpath 1007with_libiconv_prefix 1008enable_nls 1009with_libintl_prefix 1010enable_manual 1011enable_libsm 1012enable_ipv6 1013enable_gnutls 1014enable_enchant 1015enable_crash_dialog 1016enable_generic_umpc 1017enable_compface 1018enable_pthread 1019enable_startup_notification 1020enable_dbus 1021enable_ldap 1022enable_jpilot 1023enable_networkmanager 1024enable_libetpan 1025enable_valgrind 1026enable_alternate_addressbook 1027enable_svg 1028enable_tests 1029with_manualdir 1030with_passcrypt_key 1031with_config_dir 1032with_password_encryption 1033enable_deprecated 1034enable_acpi_notifier_plugin 1035enable_address_keeper_plugin 1036enable_archive_plugin 1037enable_att_remover_plugin 1038enable_attachwarner_plugin 1039enable_bogofilter_plugin 1040enable_bsfilter_plugin 1041enable_clamd_plugin 1042enable_dillo_plugin 1043enable_fancy_plugin 1044enable_fetchinfo_plugin 1045enable_gdata_plugin 1046enable_libravatar_plugin 1047enable_litehtml_viewer_plugin 1048enable_mailmbox_plugin 1049enable_managesieve_plugin 1050enable_newmail_plugin 1051enable_notification_plugin 1052enable_pdf_viewer_plugin 1053enable_perl_plugin 1054enable_python_plugin 1055enable_pgpcore_plugin 1056enable_pgpmime_plugin 1057enable_pgpinline_plugin 1058enable_rssyl_plugin 1059enable_smime_plugin 1060enable_spamassassin_plugin 1061enable_spam_report_plugin 1062enable_tnef_parse_plugin 1063enable_vcalendar_plugin 1064enable_demo_plugin 1065with_gpgme_prefix 1066' 1067 ac_precious_vars='build_alias 1068host_alias 1069target_alias 1070PKG_CONFIG 1071PKG_CONFIG_PATH 1072PKG_CONFIG_LIBDIR 1073CC 1074CFLAGS 1075LDFLAGS 1076LIBS 1077CPPFLAGS 1078CPP 1079YACC 1080YFLAGS 1081LT_SYS_LIBRARY_PATH 1082CXX 1083CXXFLAGS 1084CCC 1085CXXCPP 1086GLIB_CFLAGS 1087GLIB_LIBS 1088GDK_PIXBUF_CFLAGS 1089GDK_PIXBUF_LIBS 1090GNUTLS_CFLAGS 1091GNUTLS_LIBS 1092NETTLE_CFLAGS 1093NETTLE_LIBS 1094GTK_CFLAGS 1095GTK_LIBS 1096ENCHANT_CFLAGS 1097ENCHANT_LIBS 1098STARTUP_NOTIFICATION_CFLAGS 1099STARTUP_NOTIFICATION_LIBS 1100DBUS_CFLAGS 1101DBUS_LIBS 1102CONTACTS_CFLAGS 1103CONTACTS_LIBS 1104NETWORKMANAGER_SUPPORT_CFLAGS 1105NETWORKMANAGER_SUPPORT_LIBS 1106LIBETPAN_CFLAGS 1107LIBETPAN_LIBS 1108SVG_CFLAGS 1109SVG_LIBS 1110VALGRIND_CFLAGS 1111VALGRIND_LIBS 1112CURL_CFLAGS 1113CURL_LIBS 1114EXPAT_CFLAGS 1115EXPAT_LIBS 1116WEBKIT_CFLAGS 1117WEBKIT_LIBS 1118LIBSOUP_CFLAGS 1119LIBSOUP_LIBS 1120LIBSOUP_GNOME_CFLAGS 1121LIBSOUP_GNOME_LIBS 1122LIBARCHIVE_CFLAGS 1123LIBARCHIVE_LIBS 1124GDATA_CFLAGS 1125GDATA_LIBS 1126CAIRO_CFLAGS 1127CAIRO_LIBS 1128FONTCONFIG_CFLAGS 1129FONTCONFIG_LIBS 1130LIBGUMBO_CFLAGS 1131LIBGUMBO_LIBS 1132LIBICAL_CFLAGS 1133LIBICAL_LIBS 1134POPPLER_CFLAGS 1135POPPLER_LIBS 1136PYTHON_CFLAGS 1137PYTHON_LIBS 1138PYGTK_CFLAGS 1139PYGTK_LIBS 1140libnotify_CFLAGS 1141libnotify_LIBS 1142libcanberra_gtk_CFLAGS 1143libcanberra_gtk_LIBS 1144unity_CFLAGS 1145unity_LIBS 1146CM_NP_HOTKEY_CFLAGS 1147CM_NP_HOTKEY_LIBS' 1148 1149 1150# Initialize some variables set by options. 1151ac_init_help= 1152ac_init_version=false 1153ac_unrecognized_opts= 1154ac_unrecognized_sep= 1155# The variables have the same names as the options, with 1156# dashes changed to underlines. 1157cache_file=/dev/null 1158exec_prefix=NONE 1159no_create= 1160no_recursion= 1161prefix=NONE 1162program_prefix=NONE 1163program_suffix=NONE 1164program_transform_name=s,x,x, 1165silent= 1166site= 1167srcdir= 1168verbose= 1169x_includes=NONE 1170x_libraries=NONE 1171 1172# Installation directory options. 1173# These are left unexpanded so users can "make install exec_prefix=/foo" 1174# and all the variables that are supposed to be based on exec_prefix 1175# by default will actually change. 1176# Use braces instead of parens because sh, perl, etc. also accept them. 1177# (The list follows the same order as the GNU Coding Standards.) 1178bindir='${exec_prefix}/bin' 1179sbindir='${exec_prefix}/sbin' 1180libexecdir='${exec_prefix}/libexec' 1181datarootdir='${prefix}/share' 1182datadir='${datarootdir}' 1183sysconfdir='${prefix}/etc' 1184sharedstatedir='${prefix}/com' 1185localstatedir='${prefix}/var' 1186runstatedir='${localstatedir}/run' 1187includedir='${prefix}/include' 1188oldincludedir='/usr/include' 1189docdir='${datarootdir}/doc/${PACKAGE}' 1190infodir='${datarootdir}/info' 1191htmldir='${docdir}' 1192dvidir='${docdir}' 1193pdfdir='${docdir}' 1194psdir='${docdir}' 1195libdir='${exec_prefix}/lib' 1196localedir='${datarootdir}/locale' 1197mandir='${datarootdir}/man' 1198 1199ac_prev= 1200ac_dashdash= 1201for ac_option 1202do 1203 # If the previous option needs an argument, assign it. 1204 if test -n "$ac_prev"; then 1205 eval $ac_prev=\$ac_option 1206 ac_prev= 1207 continue 1208 fi 1209 1210 case $ac_option in 1211 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1212 *=) ac_optarg= ;; 1213 *) ac_optarg=yes ;; 1214 esac 1215 1216 # Accept the important Cygnus configure options, so we can diagnose typos. 1217 1218 case $ac_dashdash$ac_option in 1219 --) 1220 ac_dashdash=yes ;; 1221 1222 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1223 ac_prev=bindir ;; 1224 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1225 bindir=$ac_optarg ;; 1226 1227 -build | --build | --buil | --bui | --bu) 1228 ac_prev=build_alias ;; 1229 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1230 build_alias=$ac_optarg ;; 1231 1232 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1233 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1234 ac_prev=cache_file ;; 1235 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1236 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1237 cache_file=$ac_optarg ;; 1238 1239 --config-cache | -C) 1240 cache_file=config.cache ;; 1241 1242 -datadir | --datadir | --datadi | --datad) 1243 ac_prev=datadir ;; 1244 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1245 datadir=$ac_optarg ;; 1246 1247 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1248 | --dataroo | --dataro | --datar) 1249 ac_prev=datarootdir ;; 1250 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1251 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1252 datarootdir=$ac_optarg ;; 1253 1254 -disable-* | --disable-*) 1255 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1256 # Reject names that are not valid shell variable names. 1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1258 as_fn_error $? "invalid feature name: $ac_useropt" 1259 ac_useropt_orig=$ac_useropt 1260 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1261 case $ac_user_opts in 1262 *" 1263"enable_$ac_useropt" 1264"*) ;; 1265 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1266 ac_unrecognized_sep=', ';; 1267 esac 1268 eval enable_$ac_useropt=no ;; 1269 1270 -docdir | --docdir | --docdi | --doc | --do) 1271 ac_prev=docdir ;; 1272 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1273 docdir=$ac_optarg ;; 1274 1275 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1276 ac_prev=dvidir ;; 1277 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1278 dvidir=$ac_optarg ;; 1279 1280 -enable-* | --enable-*) 1281 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1282 # Reject names that are not valid shell variable names. 1283 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1284 as_fn_error $? "invalid feature name: $ac_useropt" 1285 ac_useropt_orig=$ac_useropt 1286 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1287 case $ac_user_opts in 1288 *" 1289"enable_$ac_useropt" 1290"*) ;; 1291 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1292 ac_unrecognized_sep=', ';; 1293 esac 1294 eval enable_$ac_useropt=\$ac_optarg ;; 1295 1296 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1297 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1298 | --exec | --exe | --ex) 1299 ac_prev=exec_prefix ;; 1300 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1301 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1302 | --exec=* | --exe=* | --ex=*) 1303 exec_prefix=$ac_optarg ;; 1304 1305 -gas | --gas | --ga | --g) 1306 # Obsolete; use --with-gas. 1307 with_gas=yes ;; 1308 1309 -help | --help | --hel | --he | -h) 1310 ac_init_help=long ;; 1311 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1312 ac_init_help=recursive ;; 1313 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1314 ac_init_help=short ;; 1315 1316 -host | --host | --hos | --ho) 1317 ac_prev=host_alias ;; 1318 -host=* | --host=* | --hos=* | --ho=*) 1319 host_alias=$ac_optarg ;; 1320 1321 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1322 ac_prev=htmldir ;; 1323 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1324 | --ht=*) 1325 htmldir=$ac_optarg ;; 1326 1327 -includedir | --includedir | --includedi | --included | --include \ 1328 | --includ | --inclu | --incl | --inc) 1329 ac_prev=includedir ;; 1330 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1331 | --includ=* | --inclu=* | --incl=* | --inc=*) 1332 includedir=$ac_optarg ;; 1333 1334 -infodir | --infodir | --infodi | --infod | --info | --inf) 1335 ac_prev=infodir ;; 1336 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1337 infodir=$ac_optarg ;; 1338 1339 -libdir | --libdir | --libdi | --libd) 1340 ac_prev=libdir ;; 1341 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1342 libdir=$ac_optarg ;; 1343 1344 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1345 | --libexe | --libex | --libe) 1346 ac_prev=libexecdir ;; 1347 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1348 | --libexe=* | --libex=* | --libe=*) 1349 libexecdir=$ac_optarg ;; 1350 1351 -localedir | --localedir | --localedi | --localed | --locale) 1352 ac_prev=localedir ;; 1353 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1354 localedir=$ac_optarg ;; 1355 1356 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1357 | --localstate | --localstat | --localsta | --localst | --locals) 1358 ac_prev=localstatedir ;; 1359 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1360 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1361 localstatedir=$ac_optarg ;; 1362 1363 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1364 ac_prev=mandir ;; 1365 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1366 mandir=$ac_optarg ;; 1367 1368 -nfp | --nfp | --nf) 1369 # Obsolete; use --without-fp. 1370 with_fp=no ;; 1371 1372 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1373 | --no-cr | --no-c | -n) 1374 no_create=yes ;; 1375 1376 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1377 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1378 no_recursion=yes ;; 1379 1380 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1381 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1382 | --oldin | --oldi | --old | --ol | --o) 1383 ac_prev=oldincludedir ;; 1384 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1385 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1386 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1387 oldincludedir=$ac_optarg ;; 1388 1389 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1390 ac_prev=prefix ;; 1391 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1392 prefix=$ac_optarg ;; 1393 1394 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1395 | --program-pre | --program-pr | --program-p) 1396 ac_prev=program_prefix ;; 1397 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1398 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1399 program_prefix=$ac_optarg ;; 1400 1401 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1402 | --program-suf | --program-su | --program-s) 1403 ac_prev=program_suffix ;; 1404 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1405 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1406 program_suffix=$ac_optarg ;; 1407 1408 -program-transform-name | --program-transform-name \ 1409 | --program-transform-nam | --program-transform-na \ 1410 | --program-transform-n | --program-transform- \ 1411 | --program-transform | --program-transfor \ 1412 | --program-transfo | --program-transf \ 1413 | --program-trans | --program-tran \ 1414 | --progr-tra | --program-tr | --program-t) 1415 ac_prev=program_transform_name ;; 1416 -program-transform-name=* | --program-transform-name=* \ 1417 | --program-transform-nam=* | --program-transform-na=* \ 1418 | --program-transform-n=* | --program-transform-=* \ 1419 | --program-transform=* | --program-transfor=* \ 1420 | --program-transfo=* | --program-transf=* \ 1421 | --program-trans=* | --program-tran=* \ 1422 | --progr-tra=* | --program-tr=* | --program-t=*) 1423 program_transform_name=$ac_optarg ;; 1424 1425 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1426 ac_prev=pdfdir ;; 1427 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1428 pdfdir=$ac_optarg ;; 1429 1430 -psdir | --psdir | --psdi | --psd | --ps) 1431 ac_prev=psdir ;; 1432 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1433 psdir=$ac_optarg ;; 1434 1435 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1436 | -silent | --silent | --silen | --sile | --sil) 1437 silent=yes ;; 1438 1439 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1440 | --runstate | --runstat | --runsta | --runst | --runs \ 1441 | --run | --ru | --r) 1442 ac_prev=runstatedir ;; 1443 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1444 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1445 | --run=* | --ru=* | --r=*) 1446 runstatedir=$ac_optarg ;; 1447 1448 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1449 ac_prev=sbindir ;; 1450 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1451 | --sbi=* | --sb=*) 1452 sbindir=$ac_optarg ;; 1453 1454 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1455 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1456 | --sharedst | --shareds | --shared | --share | --shar \ 1457 | --sha | --sh) 1458 ac_prev=sharedstatedir ;; 1459 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1460 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1461 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1462 | --sha=* | --sh=*) 1463 sharedstatedir=$ac_optarg ;; 1464 1465 -site | --site | --sit) 1466 ac_prev=site ;; 1467 -site=* | --site=* | --sit=*) 1468 site=$ac_optarg ;; 1469 1470 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1471 ac_prev=srcdir ;; 1472 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1473 srcdir=$ac_optarg ;; 1474 1475 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1476 | --syscon | --sysco | --sysc | --sys | --sy) 1477 ac_prev=sysconfdir ;; 1478 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1479 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1480 sysconfdir=$ac_optarg ;; 1481 1482 -target | --target | --targe | --targ | --tar | --ta | --t) 1483 ac_prev=target_alias ;; 1484 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1485 target_alias=$ac_optarg ;; 1486 1487 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1488 verbose=yes ;; 1489 1490 -version | --version | --versio | --versi | --vers | -V) 1491 ac_init_version=: ;; 1492 1493 -with-* | --with-*) 1494 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1495 # Reject names that are not valid shell variable names. 1496 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1497 as_fn_error $? "invalid package name: $ac_useropt" 1498 ac_useropt_orig=$ac_useropt 1499 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1500 case $ac_user_opts in 1501 *" 1502"with_$ac_useropt" 1503"*) ;; 1504 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1505 ac_unrecognized_sep=', ';; 1506 esac 1507 eval with_$ac_useropt=\$ac_optarg ;; 1508 1509 -without-* | --without-*) 1510 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1511 # Reject names that are not valid shell variable names. 1512 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1513 as_fn_error $? "invalid package name: $ac_useropt" 1514 ac_useropt_orig=$ac_useropt 1515 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1516 case $ac_user_opts in 1517 *" 1518"with_$ac_useropt" 1519"*) ;; 1520 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1521 ac_unrecognized_sep=', ';; 1522 esac 1523 eval with_$ac_useropt=no ;; 1524 1525 --x) 1526 # Obsolete; use --with-x. 1527 with_x=yes ;; 1528 1529 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1530 | --x-incl | --x-inc | --x-in | --x-i) 1531 ac_prev=x_includes ;; 1532 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1533 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1534 x_includes=$ac_optarg ;; 1535 1536 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1537 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1538 ac_prev=x_libraries ;; 1539 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1540 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1541 x_libraries=$ac_optarg ;; 1542 1543 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1544Try \`$0 --help' for more information" 1545 ;; 1546 1547 *=*) 1548 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1549 # Reject names that are not valid shell variable names. 1550 case $ac_envvar in #( 1551 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1552 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1553 esac 1554 eval $ac_envvar=\$ac_optarg 1555 export $ac_envvar ;; 1556 1557 *) 1558 # FIXME: should be removed in autoconf 3.0. 1559 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1560 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1561 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1562 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1563 ;; 1564 1565 esac 1566done 1567 1568if test -n "$ac_prev"; then 1569 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1570 as_fn_error $? "missing argument to $ac_option" 1571fi 1572 1573if test -n "$ac_unrecognized_opts"; then 1574 case $enable_option_checking in 1575 no) ;; 1576 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1577 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1578 esac 1579fi 1580 1581# Check all directory arguments for consistency. 1582for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1583 datadir sysconfdir sharedstatedir localstatedir includedir \ 1584 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1585 libdir localedir mandir runstatedir 1586do 1587 eval ac_val=\$$ac_var 1588 # Remove trailing slashes. 1589 case $ac_val in 1590 */ ) 1591 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1592 eval $ac_var=\$ac_val;; 1593 esac 1594 # Be sure to have absolute directory names. 1595 case $ac_val in 1596 [\\/$]* | ?:[\\/]* ) continue;; 1597 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1598 esac 1599 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1600done 1601 1602# There might be people who depend on the old broken behavior: `$host' 1603# used to hold the argument of --host etc. 1604# FIXME: To remove some day. 1605build=$build_alias 1606host=$host_alias 1607target=$target_alias 1608 1609# FIXME: To remove some day. 1610if test "x$host_alias" != x; then 1611 if test "x$build_alias" = x; then 1612 cross_compiling=maybe 1613 elif test "x$build_alias" != "x$host_alias"; then 1614 cross_compiling=yes 1615 fi 1616fi 1617 1618ac_tool_prefix= 1619test -n "$host_alias" && ac_tool_prefix=$host_alias- 1620 1621test "$silent" = yes && exec 6>/dev/null 1622 1623 1624ac_pwd=`pwd` && test -n "$ac_pwd" && 1625ac_ls_di=`ls -di .` && 1626ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1627 as_fn_error $? "working directory cannot be determined" 1628test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1629 as_fn_error $? "pwd does not report name of working directory" 1630 1631 1632# Find the source files, if location was not specified. 1633if test -z "$srcdir"; then 1634 ac_srcdir_defaulted=yes 1635 # Try the directory containing this script, then the parent directory. 1636 ac_confdir=`$as_dirname -- "$as_myself" || 1637$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1638 X"$as_myself" : 'X\(//\)[^/]' \| \ 1639 X"$as_myself" : 'X\(//\)$' \| \ 1640 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1641$as_echo X"$as_myself" | 1642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1643 s//\1/ 1644 q 1645 } 1646 /^X\(\/\/\)[^/].*/{ 1647 s//\1/ 1648 q 1649 } 1650 /^X\(\/\/\)$/{ 1651 s//\1/ 1652 q 1653 } 1654 /^X\(\/\).*/{ 1655 s//\1/ 1656 q 1657 } 1658 s/.*/./; q'` 1659 srcdir=$ac_confdir 1660 if test ! -r "$srcdir/$ac_unique_file"; then 1661 srcdir=.. 1662 fi 1663else 1664 ac_srcdir_defaulted=no 1665fi 1666if test ! -r "$srcdir/$ac_unique_file"; then 1667 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1668 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1669fi 1670ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1671ac_abs_confdir=`( 1672 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1673 pwd)` 1674# When building in place, set srcdir=. 1675if test "$ac_abs_confdir" = "$ac_pwd"; then 1676 srcdir=. 1677fi 1678# Remove unnecessary trailing slashes from srcdir. 1679# Double slashes in file names in object file debugging info 1680# mess up M-x gdb in Emacs. 1681case $srcdir in 1682*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1683esac 1684for ac_var in $ac_precious_vars; do 1685 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1686 eval ac_env_${ac_var}_value=\$${ac_var} 1687 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1688 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1689done 1690 1691# 1692# Report the --help message. 1693# 1694if test "$ac_init_help" = "long"; then 1695 # Omit some internal or obsolete options to make the list less imposing. 1696 # This message is too long to be a string in the A/UX 3.1 sh. 1697 cat <<_ACEOF 1698\`configure' configures this package to adapt to many kinds of systems. 1699 1700Usage: $0 [OPTION]... [VAR=VALUE]... 1701 1702To assign environment variables (e.g., CC, CFLAGS...), specify them as 1703VAR=VALUE. See below for descriptions of some of the useful variables. 1704 1705Defaults for the options are specified in brackets. 1706 1707Configuration: 1708 -h, --help display this help and exit 1709 --help=short display options specific to this package 1710 --help=recursive display the short help of all the included packages 1711 -V, --version display version information and exit 1712 -q, --quiet, --silent do not print \`checking ...' messages 1713 --cache-file=FILE cache test results in FILE [disabled] 1714 -C, --config-cache alias for \`--cache-file=config.cache' 1715 -n, --no-create do not create output files 1716 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1717 1718Installation directories: 1719 --prefix=PREFIX install architecture-independent files in PREFIX 1720 [$ac_default_prefix] 1721 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1722 [PREFIX] 1723 1724By default, \`make install' will install all the files in 1725\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1726an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1727for instance \`--prefix=\$HOME'. 1728 1729For better control, use the options below. 1730 1731Fine tuning of the installation directories: 1732 --bindir=DIR user executables [EPREFIX/bin] 1733 --sbindir=DIR system admin executables [EPREFIX/sbin] 1734 --libexecdir=DIR program executables [EPREFIX/libexec] 1735 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1736 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1737 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1738 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1739 --libdir=DIR object code libraries [EPREFIX/lib] 1740 --includedir=DIR C header files [PREFIX/include] 1741 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1742 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1743 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1744 --infodir=DIR info documentation [DATAROOTDIR/info] 1745 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1746 --mandir=DIR man documentation [DATAROOTDIR/man] 1747 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1748 --htmldir=DIR html documentation [DOCDIR] 1749 --dvidir=DIR dvi documentation [DOCDIR] 1750 --pdfdir=DIR pdf documentation [DOCDIR] 1751 --psdir=DIR ps documentation [DOCDIR] 1752_ACEOF 1753 1754 cat <<\_ACEOF 1755 1756Program names: 1757 --program-prefix=PREFIX prepend PREFIX to installed program names 1758 --program-suffix=SUFFIX append SUFFIX to installed program names 1759 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1760 1761System types: 1762 --build=BUILD configure for building on BUILD [guessed] 1763 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1764 --target=TARGET configure for building compilers for TARGET [HOST] 1765_ACEOF 1766fi 1767 1768if test -n "$ac_init_help"; then 1769 1770 cat <<\_ACEOF 1771 1772Optional Features: 1773 --disable-option-checking ignore unrecognized --enable/--with options 1774 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1775 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1776 --enable-silent-rules less verbose build output (undo: "make V=1") 1777 --disable-silent-rules verbose build output (undo: "make V=0") 1778 --enable-maintainer-mode 1779 enable make rules and dependencies not useful (and 1780 sometimes confusing) to the casual installer 1781 --enable-dependency-tracking 1782 do not reject slow dependency extractors 1783 --disable-dependency-tracking 1784 speeds up one-time build 1785 --enable-shared[=PKGS] build shared libraries [default=yes] 1786 --enable-static[=PKGS] build static libraries [default=yes] 1787 --enable-fast-install[=PKGS] 1788 optimize for fast installation [default=yes] 1789 --disable-libtool-lock avoid locking (might break parallel builds) 1790 --disable-largefile omit support for large files 1791 --disable-rpath do not hardcode runtime library paths 1792 --disable-nls do not use Native Language Support 1793 --disable-manual Do not build user manual 1794 --disable-libsm Do not build libSM support for session management 1795 --disable-ipv6 Do not build IPv6 support 1796 --disable-gnutls Do not build GnuTLS support for SSL/TLS 1797 --disable-enchant Do not build Enchant support for spell-checking 1798 --enable-crash-dialog Build crash dialog 1799 --enable-generic-umpc Build generic UMPC code 1800 --disable-compface Do not build compface support for X-Face 1801 --disable-pthread Do not build pthread support 1802 --disable-startup-notification Do not startup notification support 1803 --disable-dbus Do not build DBUS support 1804 --disable-ldap Do not build LDAP support 1805 --disable-jpilot Do not build JPilot support 1806 --disable-networkmanager Do not build NetworkManager support 1807 --disable-libetpan Do not build libetpan support for IMAP4/NNTP 1808 --disable-valgrind Do not build valgrind support for debugging 1809 --enable-alternate-addressbook Build alternate external address book support 1810 --disable-svg Do not build SVG support 1811 --enable-tests Build unit tests 1812 --disable-deprecated Disable deprecated GTK functions 1813 --disable-acpi_notifier-plugin Do not build acpi_notifier plugin 1814 --disable-address_keeper-plugin Do not build address_keeper plugin 1815 --disable-archive-plugin Do not build archive plugin 1816 --disable-att_remover-plugin Do not build att_remover plugin 1817 --disable-attachwarner-plugin Do not build attachwarner plugin 1818 --disable-bogofilter-plugin Do not build bogofilter plugin 1819 --disable-bsfilter-plugin Do not build bsfilter plugin 1820 --disable-clamd-plugin Do not build clamd plugin 1821 --disable-dillo-plugin Do not build dillo plugin 1822 --disable-fancy-plugin Do not build fancy plugin 1823 --disable-fetchinfo-plugin Do not build fetchinfo plugin 1824 --disable-gdata-plugin Do not build gdata plugin 1825 --disable-libravatar-plugin Do not build libravatar plugin 1826 --disable-litehtml_viewer-plugin Do not build litehtml_viewer plugin 1827 --disable-mailmbox-plugin Do not build mailmbox plugin 1828 --disable-managesieve-plugin Do not build managesieve plugin 1829 --disable-newmail-plugin Do not build newmail plugin 1830 --disable-notification-plugin Do not build notification plugin 1831 --disable-pdf_viewer-plugin Do not build pdf_viewer plugin 1832 --disable-perl-plugin Do not build perl plugin 1833 --disable-python-plugin Do not build python plugin 1834 --disable-pgpcore-plugin Do not build pgpcore plugin 1835 --disable-pgpmime-plugin Do not build pgpmime plugin 1836 --disable-pgpinline-plugin Do not build pgpinline plugin 1837 --disable-rssyl-plugin Do not build rssyl plugin 1838 --disable-smime-plugin Do not build smime plugin 1839 --disable-spamassassin-plugin Do not build spamassassin plugin 1840 --disable-spam_report-plugin Do not build spam_report plugin 1841 --disable-tnef_parse-plugin Do not build tnef_parse plugin 1842 --disable-vcalendar-plugin Do not build vcalendar plugin 1843 --enable-demo-plugin Build demo plugin 1844 1845Optional Packages: 1846 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1847 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1848 --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib 1849 --without-lib-prefix don't search for libraries in includedir and libdir 1850 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1851 both] 1852 --with-aix-soname=aix|svr4|both 1853 shared library versioning (aka "SONAME") variant to 1854 provide on AIX, [default=aix]. 1855 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1856 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1857 compiler's sysroot if not specified). 1858 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1859 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1860 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1861 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1862 --without-libintl-prefix don't search for libintl in includedir and libdir 1863 --with-manualdir=DIR Manual directory 1864 --with-passcrypt-key=KEY Key used to encode passwords (8 byte string) 1865 --with-config-dir=RCDIR Local configuration dir (default: .claws-mail) 1866 --with-password-encryption=PROVIDER Which cryptographic library to use for encrypting stored passwords (gnutls, old, default) 1867 --with-gpgme-prefix=PFX prefix where GPGME is installed (optional) 1868 1869Some influential environment variables: 1870 PKG_CONFIG path to pkg-config utility 1871 PKG_CONFIG_PATH 1872 directories to add to pkg-config's search path 1873 PKG_CONFIG_LIBDIR 1874 path overriding pkg-config's built-in search path 1875 CC C compiler command 1876 CFLAGS C compiler flags 1877 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1878 nonstandard directory <lib dir> 1879 LIBS libraries to pass to the linker, e.g. -l<library> 1880 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1881 you have headers in a nonstandard directory <include dir> 1882 CPP C preprocessor 1883 YACC The `Yet Another Compiler Compiler' implementation to use. 1884 Defaults to the first program found out of: `bison -y', `byacc', 1885 `yacc'. 1886 YFLAGS The list of arguments that will be passed by default to $YACC. 1887 This script will default YFLAGS to the empty string to avoid a 1888 default value of `-d' given by some make applications. 1889 LT_SYS_LIBRARY_PATH 1890 User-defined run-time library search path. 1891 CXX C++ compiler command 1892 CXXFLAGS C++ compiler flags 1893 CXXCPP C++ preprocessor 1894 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1895 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1896 GDK_PIXBUF_CFLAGS 1897 C compiler flags for GDK_PIXBUF, overriding pkg-config 1898 GDK_PIXBUF_LIBS 1899 linker flags for GDK_PIXBUF, overriding pkg-config 1900 GNUTLS_CFLAGS 1901 C compiler flags for GNUTLS, overriding pkg-config 1902 GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config 1903 NETTLE_CFLAGS 1904 C compiler flags for NETTLE, overriding pkg-config 1905 NETTLE_LIBS linker flags for NETTLE, overriding pkg-config 1906 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1907 GTK_LIBS linker flags for GTK, overriding pkg-config 1908 ENCHANT_CFLAGS 1909 C compiler flags for ENCHANT, overriding pkg-config 1910 ENCHANT_LIBS 1911 linker flags for ENCHANT, overriding pkg-config 1912 STARTUP_NOTIFICATION_CFLAGS 1913 C compiler flags for STARTUP_NOTIFICATION, overriding pkg-config 1914 STARTUP_NOTIFICATION_LIBS 1915 linker flags for STARTUP_NOTIFICATION, overriding pkg-config 1916 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config 1917 DBUS_LIBS linker flags for DBUS, overriding pkg-config 1918 CONTACTS_CFLAGS 1919 C compiler flags for CONTACTS, overriding pkg-config 1920 CONTACTS_LIBS 1921 linker flags for CONTACTS, overriding pkg-config 1922 NETWORKMANAGER_SUPPORT_CFLAGS 1923 C compiler flags for NETWORKMANAGER_SUPPORT, overriding 1924 pkg-config 1925 NETWORKMANAGER_SUPPORT_LIBS 1926 linker flags for NETWORKMANAGER_SUPPORT, overriding pkg-config 1927 LIBETPAN_CFLAGS 1928 C compiler flags for LIBETPAN, overriding pkg-config 1929 LIBETPAN_LIBS 1930 linker flags for LIBETPAN, overriding pkg-config 1931 SVG_CFLAGS C compiler flags for SVG, overriding pkg-config 1932 SVG_LIBS linker flags for SVG, overriding pkg-config 1933 VALGRIND_CFLAGS 1934 C compiler flags for VALGRIND, overriding pkg-config 1935 VALGRIND_LIBS 1936 linker flags for VALGRIND, overriding pkg-config 1937 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config 1938 CURL_LIBS linker flags for CURL, overriding pkg-config 1939 EXPAT_CFLAGS 1940 C compiler flags for EXPAT, overriding pkg-config 1941 EXPAT_LIBS linker flags for EXPAT, overriding pkg-config 1942 WEBKIT_CFLAGS 1943 C compiler flags for WEBKIT, overriding pkg-config 1944 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config 1945 LIBSOUP_CFLAGS 1946 C compiler flags for LIBSOUP, overriding pkg-config 1947 LIBSOUP_LIBS 1948 linker flags for LIBSOUP, overriding pkg-config 1949 LIBSOUP_GNOME_CFLAGS 1950 C compiler flags for LIBSOUP_GNOME, overriding pkg-config 1951 LIBSOUP_GNOME_LIBS 1952 linker flags for LIBSOUP_GNOME, overriding pkg-config 1953 LIBARCHIVE_CFLAGS 1954 C compiler flags for LIBARCHIVE, overriding pkg-config 1955 LIBARCHIVE_LIBS 1956 linker flags for LIBARCHIVE, overriding pkg-config 1957 GDATA_CFLAGS 1958 C compiler flags for GDATA, overriding pkg-config 1959 GDATA_LIBS linker flags for GDATA, overriding pkg-config 1960 CAIRO_CFLAGS 1961 C compiler flags for CAIRO, overriding pkg-config 1962 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config 1963 FONTCONFIG_CFLAGS 1964 C compiler flags for FONTCONFIG, overriding pkg-config 1965 FONTCONFIG_LIBS 1966 linker flags for FONTCONFIG, overriding pkg-config 1967 LIBGUMBO_CFLAGS 1968 C compiler flags for LIBGUMBO, overriding pkg-config 1969 LIBGUMBO_LIBS 1970 linker flags for LIBGUMBO, overriding pkg-config 1971 LIBICAL_CFLAGS 1972 C compiler flags for LIBICAL, overriding pkg-config 1973 LIBICAL_LIBS 1974 linker flags for LIBICAL, overriding pkg-config 1975 POPPLER_CFLAGS 1976 C compiler flags for POPPLER, overriding pkg-config 1977 POPPLER_LIBS 1978 linker flags for POPPLER, overriding pkg-config 1979 PYTHON_CFLAGS 1980 C compiler flags for PYTHON, overriding pkg-config 1981 PYTHON_LIBS linker flags for PYTHON, overriding pkg-config 1982 PYGTK_CFLAGS 1983 C compiler flags for PYGTK, overriding pkg-config 1984 PYGTK_LIBS linker flags for PYGTK, overriding pkg-config 1985 libnotify_CFLAGS 1986 C compiler flags for libnotify, overriding pkg-config 1987 libnotify_LIBS 1988 linker flags for libnotify, overriding pkg-config 1989 libcanberra_gtk_CFLAGS 1990 C compiler flags for libcanberra_gtk, overriding pkg-config 1991 libcanberra_gtk_LIBS 1992 linker flags for libcanberra_gtk, overriding pkg-config 1993 unity_CFLAGS 1994 C compiler flags for unity, overriding pkg-config 1995 unity_LIBS linker flags for unity, overriding pkg-config 1996 CM_NP_HOTKEY_CFLAGS 1997 C compiler flags for CM_NP_HOTKEY, overriding pkg-config 1998 CM_NP_HOTKEY_LIBS 1999 linker flags for CM_NP_HOTKEY, overriding pkg-config 2000 2001Use these variables to override the choices made by `configure' or to help 2002it to find libraries and programs with nonstandard names/locations. 2003 2004Report bugs to the package provider. 2005_ACEOF 2006ac_status=$? 2007fi 2008 2009if test "$ac_init_help" = "recursive"; then 2010 # If there are subdirs, report their specific --help. 2011 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 2012 test -d "$ac_dir" || 2013 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 2014 continue 2015 ac_builddir=. 2016 2017case "$ac_dir" in 2018.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 2019*) 2020 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 2021 # A ".." for each directory in $ac_dir_suffix. 2022 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 2023 case $ac_top_builddir_sub in 2024 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 2025 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 2026 esac ;; 2027esac 2028ac_abs_top_builddir=$ac_pwd 2029ac_abs_builddir=$ac_pwd$ac_dir_suffix 2030# for backward compatibility: 2031ac_top_builddir=$ac_top_build_prefix 2032 2033case $srcdir in 2034 .) # We are building in place. 2035 ac_srcdir=. 2036 ac_top_srcdir=$ac_top_builddir_sub 2037 ac_abs_top_srcdir=$ac_pwd ;; 2038 [\\/]* | ?:[\\/]* ) # Absolute name. 2039 ac_srcdir=$srcdir$ac_dir_suffix; 2040 ac_top_srcdir=$srcdir 2041 ac_abs_top_srcdir=$srcdir ;; 2042 *) # Relative name. 2043 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 2044 ac_top_srcdir=$ac_top_build_prefix$srcdir 2045 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 2046esac 2047ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 2048 2049 cd "$ac_dir" || { ac_status=$?; continue; } 2050 # Check for guested configure. 2051 if test -f "$ac_srcdir/configure.gnu"; then 2052 echo && 2053 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 2054 elif test -f "$ac_srcdir/configure"; then 2055 echo && 2056 $SHELL "$ac_srcdir/configure" --help=recursive 2057 else 2058 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 2059 fi || ac_status=$? 2060 cd "$ac_pwd" || { ac_status=$?; break; } 2061 done 2062fi 2063 2064test -n "$ac_init_help" && exit $ac_status 2065if $ac_init_version; then 2066 cat <<\_ACEOF 2067configure 2068generated by GNU Autoconf 2.69 2069 2070Copyright (C) 2012 Free Software Foundation, Inc. 2071This configure script is free software; the Free Software Foundation 2072gives unlimited permission to copy, distribute and modify it. 2073_ACEOF 2074 exit 2075fi 2076 2077## ------------------------ ## 2078## Autoconf initialization. ## 2079## ------------------------ ## 2080 2081# ac_fn_c_try_compile LINENO 2082# -------------------------- 2083# Try to compile conftest.$ac_ext, and return whether this succeeded. 2084ac_fn_c_try_compile () 2085{ 2086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2087 rm -f conftest.$ac_objext 2088 if { { ac_try="$ac_compile" 2089case "(($ac_try" in 2090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2091 *) ac_try_echo=$ac_try;; 2092esac 2093eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2094$as_echo "$ac_try_echo"; } >&5 2095 (eval "$ac_compile") 2>conftest.err 2096 ac_status=$? 2097 if test -s conftest.err; then 2098 grep -v '^ *+' conftest.err >conftest.er1 2099 cat conftest.er1 >&5 2100 mv -f conftest.er1 conftest.err 2101 fi 2102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2103 test $ac_status = 0; } && { 2104 test -z "$ac_c_werror_flag" || 2105 test ! -s conftest.err 2106 } && test -s conftest.$ac_objext; then : 2107 ac_retval=0 2108else 2109 $as_echo "$as_me: failed program was:" >&5 2110sed 's/^/| /' conftest.$ac_ext >&5 2111 2112 ac_retval=1 2113fi 2114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2115 as_fn_set_status $ac_retval 2116 2117} # ac_fn_c_try_compile 2118 2119# ac_fn_c_try_link LINENO 2120# ----------------------- 2121# Try to link conftest.$ac_ext, and return whether this succeeded. 2122ac_fn_c_try_link () 2123{ 2124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2125 rm -f conftest.$ac_objext conftest$ac_exeext 2126 if { { ac_try="$ac_link" 2127case "(($ac_try" in 2128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2129 *) ac_try_echo=$ac_try;; 2130esac 2131eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2132$as_echo "$ac_try_echo"; } >&5 2133 (eval "$ac_link") 2>conftest.err 2134 ac_status=$? 2135 if test -s conftest.err; then 2136 grep -v '^ *+' conftest.err >conftest.er1 2137 cat conftest.er1 >&5 2138 mv -f conftest.er1 conftest.err 2139 fi 2140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2141 test $ac_status = 0; } && { 2142 test -z "$ac_c_werror_flag" || 2143 test ! -s conftest.err 2144 } && test -s conftest$ac_exeext && { 2145 test "$cross_compiling" = yes || 2146 test -x conftest$ac_exeext 2147 }; then : 2148 ac_retval=0 2149else 2150 $as_echo "$as_me: failed program was:" >&5 2151sed 's/^/| /' conftest.$ac_ext >&5 2152 2153 ac_retval=1 2154fi 2155 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2156 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2157 # interfere with the next link command; also delete a directory that is 2158 # left behind by Apple's compiler. We do this before executing the actions. 2159 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2161 as_fn_set_status $ac_retval 2162 2163} # ac_fn_c_try_link 2164 2165# ac_fn_c_try_cpp LINENO 2166# ---------------------- 2167# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2168ac_fn_c_try_cpp () 2169{ 2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2171 if { { ac_try="$ac_cpp conftest.$ac_ext" 2172case "(($ac_try" in 2173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2174 *) ac_try_echo=$ac_try;; 2175esac 2176eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2177$as_echo "$ac_try_echo"; } >&5 2178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2179 ac_status=$? 2180 if test -s conftest.err; then 2181 grep -v '^ *+' conftest.err >conftest.er1 2182 cat conftest.er1 >&5 2183 mv -f conftest.er1 conftest.err 2184 fi 2185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2186 test $ac_status = 0; } > conftest.i && { 2187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2188 test ! -s conftest.err 2189 }; then : 2190 ac_retval=0 2191else 2192 $as_echo "$as_me: failed program was:" >&5 2193sed 's/^/| /' conftest.$ac_ext >&5 2194 2195 ac_retval=1 2196fi 2197 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2198 as_fn_set_status $ac_retval 2199 2200} # ac_fn_c_try_cpp 2201 2202# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2203# ------------------------------------------------------- 2204# Tests whether HEADER exists and can be compiled using the include files in 2205# INCLUDES, setting the cache variable VAR accordingly. 2206ac_fn_c_check_header_compile () 2207{ 2208 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2210$as_echo_n "checking for $2... " >&6; } 2211if eval \${$3+:} false; then : 2212 $as_echo_n "(cached) " >&6 2213else 2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2215/* end confdefs.h. */ 2216$4 2217#include <$2> 2218_ACEOF 2219if ac_fn_c_try_compile "$LINENO"; then : 2220 eval "$3=yes" 2221else 2222 eval "$3=no" 2223fi 2224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2225fi 2226eval ac_res=\$$3 2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2228$as_echo "$ac_res" >&6; } 2229 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2230 2231} # ac_fn_c_check_header_compile 2232 2233# ac_fn_c_try_run LINENO 2234# ---------------------- 2235# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2236# that executables *can* be run. 2237ac_fn_c_try_run () 2238{ 2239 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2240 if { { ac_try="$ac_link" 2241case "(($ac_try" in 2242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2243 *) ac_try_echo=$ac_try;; 2244esac 2245eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2246$as_echo "$ac_try_echo"; } >&5 2247 (eval "$ac_link") 2>&5 2248 ac_status=$? 2249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2250 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2251 { { case "(($ac_try" in 2252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2253 *) ac_try_echo=$ac_try;; 2254esac 2255eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2256$as_echo "$ac_try_echo"; } >&5 2257 (eval "$ac_try") 2>&5 2258 ac_status=$? 2259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2260 test $ac_status = 0; }; }; then : 2261 ac_retval=0 2262else 2263 $as_echo "$as_me: program exited with status $ac_status" >&5 2264 $as_echo "$as_me: failed program was:" >&5 2265sed 's/^/| /' conftest.$ac_ext >&5 2266 2267 ac_retval=$ac_status 2268fi 2269 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2270 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2271 as_fn_set_status $ac_retval 2272 2273} # ac_fn_c_try_run 2274 2275# ac_fn_c_check_func LINENO FUNC VAR 2276# ---------------------------------- 2277# Tests whether FUNC exists, setting the cache variable VAR accordingly 2278ac_fn_c_check_func () 2279{ 2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2282$as_echo_n "checking for $2... " >&6; } 2283if eval \${$3+:} false; then : 2284 $as_echo_n "(cached) " >&6 2285else 2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2287/* end confdefs.h. */ 2288/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2289 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2290#define $2 innocuous_$2 2291 2292/* System header to define __stub macros and hopefully few prototypes, 2293 which can conflict with char $2 (); below. 2294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2295 <limits.h> exists even on freestanding compilers. */ 2296 2297#ifdef __STDC__ 2298# include <limits.h> 2299#else 2300# include <assert.h> 2301#endif 2302 2303#undef $2 2304 2305/* Override any GCC internal prototype to avoid an error. 2306 Use char because int might match the return type of a GCC 2307 builtin and then its argument prototype would still apply. */ 2308#ifdef __cplusplus 2309extern "C" 2310#endif 2311char $2 (); 2312/* The GNU C library defines this for functions which it implements 2313 to always fail with ENOSYS. Some functions are actually named 2314 something starting with __ and the normal name is an alias. */ 2315#if defined __stub_$2 || defined __stub___$2 2316choke me 2317#endif 2318 2319int 2320main () 2321{ 2322return $2 (); 2323 ; 2324 return 0; 2325} 2326_ACEOF 2327if ac_fn_c_try_link "$LINENO"; then : 2328 eval "$3=yes" 2329else 2330 eval "$3=no" 2331fi 2332rm -f core conftest.err conftest.$ac_objext \ 2333 conftest$ac_exeext conftest.$ac_ext 2334fi 2335eval ac_res=\$$3 2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2337$as_echo "$ac_res" >&6; } 2338 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2339 2340} # ac_fn_c_check_func 2341 2342# ac_fn_cxx_try_compile LINENO 2343# ---------------------------- 2344# Try to compile conftest.$ac_ext, and return whether this succeeded. 2345ac_fn_cxx_try_compile () 2346{ 2347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2348 rm -f conftest.$ac_objext 2349 if { { ac_try="$ac_compile" 2350case "(($ac_try" in 2351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2352 *) ac_try_echo=$ac_try;; 2353esac 2354eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2355$as_echo "$ac_try_echo"; } >&5 2356 (eval "$ac_compile") 2>conftest.err 2357 ac_status=$? 2358 if test -s conftest.err; then 2359 grep -v '^ *+' conftest.err >conftest.er1 2360 cat conftest.er1 >&5 2361 mv -f conftest.er1 conftest.err 2362 fi 2363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2364 test $ac_status = 0; } && { 2365 test -z "$ac_cxx_werror_flag" || 2366 test ! -s conftest.err 2367 } && test -s conftest.$ac_objext; then : 2368 ac_retval=0 2369else 2370 $as_echo "$as_me: failed program was:" >&5 2371sed 's/^/| /' conftest.$ac_ext >&5 2372 2373 ac_retval=1 2374fi 2375 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2376 as_fn_set_status $ac_retval 2377 2378} # ac_fn_cxx_try_compile 2379 2380# ac_fn_cxx_try_cpp LINENO 2381# ------------------------ 2382# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2383ac_fn_cxx_try_cpp () 2384{ 2385 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2386 if { { ac_try="$ac_cpp conftest.$ac_ext" 2387case "(($ac_try" in 2388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2389 *) ac_try_echo=$ac_try;; 2390esac 2391eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2392$as_echo "$ac_try_echo"; } >&5 2393 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2394 ac_status=$? 2395 if test -s conftest.err; then 2396 grep -v '^ *+' conftest.err >conftest.er1 2397 cat conftest.er1 >&5 2398 mv -f conftest.er1 conftest.err 2399 fi 2400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2401 test $ac_status = 0; } > conftest.i && { 2402 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2403 test ! -s conftest.err 2404 }; then : 2405 ac_retval=0 2406else 2407 $as_echo "$as_me: failed program was:" >&5 2408sed 's/^/| /' conftest.$ac_ext >&5 2409 2410 ac_retval=1 2411fi 2412 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2413 as_fn_set_status $ac_retval 2414 2415} # ac_fn_cxx_try_cpp 2416 2417# ac_fn_cxx_try_link LINENO 2418# ------------------------- 2419# Try to link conftest.$ac_ext, and return whether this succeeded. 2420ac_fn_cxx_try_link () 2421{ 2422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2423 rm -f conftest.$ac_objext conftest$ac_exeext 2424 if { { ac_try="$ac_link" 2425case "(($ac_try" in 2426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2427 *) ac_try_echo=$ac_try;; 2428esac 2429eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2430$as_echo "$ac_try_echo"; } >&5 2431 (eval "$ac_link") 2>conftest.err 2432 ac_status=$? 2433 if test -s conftest.err; then 2434 grep -v '^ *+' conftest.err >conftest.er1 2435 cat conftest.er1 >&5 2436 mv -f conftest.er1 conftest.err 2437 fi 2438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2439 test $ac_status = 0; } && { 2440 test -z "$ac_cxx_werror_flag" || 2441 test ! -s conftest.err 2442 } && test -s conftest$ac_exeext && { 2443 test "$cross_compiling" = yes || 2444 test -x conftest$ac_exeext 2445 }; then : 2446 ac_retval=0 2447else 2448 $as_echo "$as_me: failed program was:" >&5 2449sed 's/^/| /' conftest.$ac_ext >&5 2450 2451 ac_retval=1 2452fi 2453 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2454 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2455 # interfere with the next link command; also delete a directory that is 2456 # left behind by Apple's compiler. We do this before executing the actions. 2457 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2459 as_fn_set_status $ac_retval 2460 2461} # ac_fn_cxx_try_link 2462 2463# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2464# ------------------------------------------------------- 2465# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2466# the include files in INCLUDES and setting the cache variable VAR 2467# accordingly. 2468ac_fn_c_check_header_mongrel () 2469{ 2470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2471 if eval \${$3+:} false; then : 2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2473$as_echo_n "checking for $2... " >&6; } 2474if eval \${$3+:} false; then : 2475 $as_echo_n "(cached) " >&6 2476fi 2477eval ac_res=\$$3 2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2479$as_echo "$ac_res" >&6; } 2480else 2481 # Is the header compilable? 2482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2483$as_echo_n "checking $2 usability... " >&6; } 2484cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2485/* end confdefs.h. */ 2486$4 2487#include <$2> 2488_ACEOF 2489if ac_fn_c_try_compile "$LINENO"; then : 2490 ac_header_compiler=yes 2491else 2492 ac_header_compiler=no 2493fi 2494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2496$as_echo "$ac_header_compiler" >&6; } 2497 2498# Is the header present? 2499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2500$as_echo_n "checking $2 presence... " >&6; } 2501cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2502/* end confdefs.h. */ 2503#include <$2> 2504_ACEOF 2505if ac_fn_c_try_cpp "$LINENO"; then : 2506 ac_header_preproc=yes 2507else 2508 ac_header_preproc=no 2509fi 2510rm -f conftest.err conftest.i conftest.$ac_ext 2511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2512$as_echo "$ac_header_preproc" >&6; } 2513 2514# So? What about this header? 2515case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2516 yes:no: ) 2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2518$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2520$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2521 ;; 2522 no:yes:* ) 2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2524$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2526$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2528$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2530$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2532$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2533 ;; 2534esac 2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2536$as_echo_n "checking for $2... " >&6; } 2537if eval \${$3+:} false; then : 2538 $as_echo_n "(cached) " >&6 2539else 2540 eval "$3=\$ac_header_compiler" 2541fi 2542eval ac_res=\$$3 2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2544$as_echo "$ac_res" >&6; } 2545fi 2546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2547 2548} # ac_fn_c_check_header_mongrel 2549 2550# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2551# ------------------------------------------- 2552# Tests whether TYPE exists after having included INCLUDES, setting cache 2553# variable VAR accordingly. 2554ac_fn_c_check_type () 2555{ 2556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2558$as_echo_n "checking for $2... " >&6; } 2559if eval \${$3+:} false; then : 2560 $as_echo_n "(cached) " >&6 2561else 2562 eval "$3=no" 2563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2564/* end confdefs.h. */ 2565$4 2566int 2567main () 2568{ 2569if (sizeof ($2)) 2570 return 0; 2571 ; 2572 return 0; 2573} 2574_ACEOF 2575if ac_fn_c_try_compile "$LINENO"; then : 2576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2577/* end confdefs.h. */ 2578$4 2579int 2580main () 2581{ 2582if (sizeof (($2))) 2583 return 0; 2584 ; 2585 return 0; 2586} 2587_ACEOF 2588if ac_fn_c_try_compile "$LINENO"; then : 2589 2590else 2591 eval "$3=yes" 2592fi 2593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2594fi 2595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2596fi 2597eval ac_res=\$$3 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2599$as_echo "$ac_res" >&6; } 2600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2601 2602} # ac_fn_c_check_type 2603 2604# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2605# -------------------------------------------- 2606# Tries to find the compile-time value of EXPR in a program that includes 2607# INCLUDES, setting VAR accordingly. Returns whether the value could be 2608# computed 2609ac_fn_c_compute_int () 2610{ 2611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2612 if test "$cross_compiling" = yes; then 2613 # Depending upon the size, compute the lo and hi bounds. 2614cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2615/* end confdefs.h. */ 2616$4 2617int 2618main () 2619{ 2620static int test_array [1 - 2 * !(($2) >= 0)]; 2621test_array [0] = 0; 2622return test_array [0]; 2623 2624 ; 2625 return 0; 2626} 2627_ACEOF 2628if ac_fn_c_try_compile "$LINENO"; then : 2629 ac_lo=0 ac_mid=0 2630 while :; do 2631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2632/* end confdefs.h. */ 2633$4 2634int 2635main () 2636{ 2637static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2638test_array [0] = 0; 2639return test_array [0]; 2640 2641 ; 2642 return 0; 2643} 2644_ACEOF 2645if ac_fn_c_try_compile "$LINENO"; then : 2646 ac_hi=$ac_mid; break 2647else 2648 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2649 if test $ac_lo -le $ac_mid; then 2650 ac_lo= ac_hi= 2651 break 2652 fi 2653 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2654fi 2655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2656 done 2657else 2658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2659/* end confdefs.h. */ 2660$4 2661int 2662main () 2663{ 2664static int test_array [1 - 2 * !(($2) < 0)]; 2665test_array [0] = 0; 2666return test_array [0]; 2667 2668 ; 2669 return 0; 2670} 2671_ACEOF 2672if ac_fn_c_try_compile "$LINENO"; then : 2673 ac_hi=-1 ac_mid=-1 2674 while :; do 2675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2676/* end confdefs.h. */ 2677$4 2678int 2679main () 2680{ 2681static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2682test_array [0] = 0; 2683return test_array [0]; 2684 2685 ; 2686 return 0; 2687} 2688_ACEOF 2689if ac_fn_c_try_compile "$LINENO"; then : 2690 ac_lo=$ac_mid; break 2691else 2692 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2693 if test $ac_mid -le $ac_hi; then 2694 ac_lo= ac_hi= 2695 break 2696 fi 2697 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2698fi 2699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2700 done 2701else 2702 ac_lo= ac_hi= 2703fi 2704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2705fi 2706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2707# Binary search between lo and hi bounds. 2708while test "x$ac_lo" != "x$ac_hi"; do 2709 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2711/* end confdefs.h. */ 2712$4 2713int 2714main () 2715{ 2716static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2717test_array [0] = 0; 2718return test_array [0]; 2719 2720 ; 2721 return 0; 2722} 2723_ACEOF 2724if ac_fn_c_try_compile "$LINENO"; then : 2725 ac_hi=$ac_mid 2726else 2727 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2728fi 2729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2730done 2731case $ac_lo in #(( 2732?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2733'') ac_retval=1 ;; 2734esac 2735 else 2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2737/* end confdefs.h. */ 2738$4 2739static long int longval () { return $2; } 2740static unsigned long int ulongval () { return $2; } 2741#include <stdio.h> 2742#include <stdlib.h> 2743int 2744main () 2745{ 2746 2747 FILE *f = fopen ("conftest.val", "w"); 2748 if (! f) 2749 return 1; 2750 if (($2) < 0) 2751 { 2752 long int i = longval (); 2753 if (i != ($2)) 2754 return 1; 2755 fprintf (f, "%ld", i); 2756 } 2757 else 2758 { 2759 unsigned long int i = ulongval (); 2760 if (i != ($2)) 2761 return 1; 2762 fprintf (f, "%lu", i); 2763 } 2764 /* Do not output a trailing newline, as this causes \r\n confusion 2765 on some platforms. */ 2766 return ferror (f) || fclose (f) != 0; 2767 2768 ; 2769 return 0; 2770} 2771_ACEOF 2772if ac_fn_c_try_run "$LINENO"; then : 2773 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2774else 2775 ac_retval=1 2776fi 2777rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2778 conftest.$ac_objext conftest.beam conftest.$ac_ext 2779rm -f conftest.val 2780 2781 fi 2782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2783 as_fn_set_status $ac_retval 2784 2785} # ac_fn_c_compute_int 2786 2787# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2788# --------------------------------------------- 2789# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2790# accordingly. 2791ac_fn_c_check_decl () 2792{ 2793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2794 as_decl_name=`echo $2|sed 's/ *(.*//'` 2795 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2797$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2798if eval \${$3+:} false; then : 2799 $as_echo_n "(cached) " >&6 2800else 2801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2802/* end confdefs.h. */ 2803$4 2804int 2805main () 2806{ 2807#ifndef $as_decl_name 2808#ifdef __cplusplus 2809 (void) $as_decl_use; 2810#else 2811 (void) $as_decl_name; 2812#endif 2813#endif 2814 2815 ; 2816 return 0; 2817} 2818_ACEOF 2819if ac_fn_c_try_compile "$LINENO"; then : 2820 eval "$3=yes" 2821else 2822 eval "$3=no" 2823fi 2824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2825fi 2826eval ac_res=\$$3 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2828$as_echo "$ac_res" >&6; } 2829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2830 2831} # ac_fn_c_check_decl 2832cat >config.log <<_ACEOF 2833This file contains any messages produced by compilers while 2834running configure, to aid debugging if configure makes a mistake. 2835 2836It was created by $as_me, which was 2837generated by GNU Autoconf 2.69. Invocation command line was 2838 2839 $ $0 $@ 2840 2841_ACEOF 2842exec 5>>config.log 2843{ 2844cat <<_ASUNAME 2845## --------- ## 2846## Platform. ## 2847## --------- ## 2848 2849hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2850uname -m = `(uname -m) 2>/dev/null || echo unknown` 2851uname -r = `(uname -r) 2>/dev/null || echo unknown` 2852uname -s = `(uname -s) 2>/dev/null || echo unknown` 2853uname -v = `(uname -v) 2>/dev/null || echo unknown` 2854 2855/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2856/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2857 2858/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2859/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2860/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2861/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2862/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2863/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2864/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2865 2866_ASUNAME 2867 2868as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2869for as_dir in $PATH 2870do 2871 IFS=$as_save_IFS 2872 test -z "$as_dir" && as_dir=. 2873 $as_echo "PATH: $as_dir" 2874 done 2875IFS=$as_save_IFS 2876 2877} >&5 2878 2879cat >&5 <<_ACEOF 2880 2881 2882## ----------- ## 2883## Core tests. ## 2884## ----------- ## 2885 2886_ACEOF 2887 2888 2889# Keep a trace of the command line. 2890# Strip out --no-create and --no-recursion so they do not pile up. 2891# Strip out --silent because we don't want to record it for future runs. 2892# Also quote any args containing shell meta-characters. 2893# Make two passes to allow for proper duplicate-argument suppression. 2894ac_configure_args= 2895ac_configure_args0= 2896ac_configure_args1= 2897ac_must_keep_next=false 2898for ac_pass in 1 2 2899do 2900 for ac_arg 2901 do 2902 case $ac_arg in 2903 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2904 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2905 | -silent | --silent | --silen | --sile | --sil) 2906 continue ;; 2907 *\'*) 2908 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2909 esac 2910 case $ac_pass in 2911 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2912 2) 2913 as_fn_append ac_configure_args1 " '$ac_arg'" 2914 if test $ac_must_keep_next = true; then 2915 ac_must_keep_next=false # Got value, back to normal. 2916 else 2917 case $ac_arg in 2918 *=* | --config-cache | -C | -disable-* | --disable-* \ 2919 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2920 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2921 | -with-* | --with-* | -without-* | --without-* | --x) 2922 case "$ac_configure_args0 " in 2923 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2924 esac 2925 ;; 2926 -* ) ac_must_keep_next=true ;; 2927 esac 2928 fi 2929 as_fn_append ac_configure_args " '$ac_arg'" 2930 ;; 2931 esac 2932 done 2933done 2934{ ac_configure_args0=; unset ac_configure_args0;} 2935{ ac_configure_args1=; unset ac_configure_args1;} 2936 2937# When interrupted or exit'd, cleanup temporary files, and complete 2938# config.log. We remove comments because anyway the quotes in there 2939# would cause problems or look ugly. 2940# WARNING: Use '\'' to represent an apostrophe within the trap. 2941# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2942trap 'exit_status=$? 2943 # Save into config.log some information that might help in debugging. 2944 { 2945 echo 2946 2947 $as_echo "## ---------------- ## 2948## Cache variables. ## 2949## ---------------- ##" 2950 echo 2951 # The following way of writing the cache mishandles newlines in values, 2952( 2953 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2954 eval ac_val=\$$ac_var 2955 case $ac_val in #( 2956 *${as_nl}*) 2957 case $ac_var in #( 2958 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2959$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2960 esac 2961 case $ac_var in #( 2962 _ | IFS | as_nl) ;; #( 2963 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2964 *) { eval $ac_var=; unset $ac_var;} ;; 2965 esac ;; 2966 esac 2967 done 2968 (set) 2>&1 | 2969 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2970 *${as_nl}ac_space=\ *) 2971 sed -n \ 2972 "s/'\''/'\''\\\\'\'''\''/g; 2973 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2974 ;; #( 2975 *) 2976 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2977 ;; 2978 esac | 2979 sort 2980) 2981 echo 2982 2983 $as_echo "## ----------------- ## 2984## Output variables. ## 2985## ----------------- ##" 2986 echo 2987 for ac_var in $ac_subst_vars 2988 do 2989 eval ac_val=\$$ac_var 2990 case $ac_val in 2991 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2992 esac 2993 $as_echo "$ac_var='\''$ac_val'\''" 2994 done | sort 2995 echo 2996 2997 if test -n "$ac_subst_files"; then 2998 $as_echo "## ------------------- ## 2999## File substitutions. ## 3000## ------------------- ##" 3001 echo 3002 for ac_var in $ac_subst_files 3003 do 3004 eval ac_val=\$$ac_var 3005 case $ac_val in 3006 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 3007 esac 3008 $as_echo "$ac_var='\''$ac_val'\''" 3009 done | sort 3010 echo 3011 fi 3012 3013 if test -s confdefs.h; then 3014 $as_echo "## ----------- ## 3015## confdefs.h. ## 3016## ----------- ##" 3017 echo 3018 cat confdefs.h 3019 echo 3020 fi 3021 test "$ac_signal" != 0 && 3022 $as_echo "$as_me: caught signal $ac_signal" 3023 $as_echo "$as_me: exit $exit_status" 3024 } >&5 3025 rm -f core *.core core.conftest.* && 3026 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 3027 exit $exit_status 3028' 0 3029for ac_signal in 1 2 13 15; do 3030 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 3031done 3032ac_signal=0 3033 3034# confdefs.h avoids OS command line length limits that DEFS can exceed. 3035rm -f -r conftest* confdefs.h 3036 3037$as_echo "/* confdefs.h */" > confdefs.h 3038 3039# Predefined preprocessor variables. 3040 3041cat >>confdefs.h <<_ACEOF 3042#define PACKAGE_NAME "$PACKAGE_NAME" 3043_ACEOF 3044 3045cat >>confdefs.h <<_ACEOF 3046#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 3047_ACEOF 3048 3049cat >>confdefs.h <<_ACEOF 3050#define PACKAGE_VERSION "$PACKAGE_VERSION" 3051_ACEOF 3052 3053cat >>confdefs.h <<_ACEOF 3054#define PACKAGE_STRING "$PACKAGE_STRING" 3055_ACEOF 3056 3057cat >>confdefs.h <<_ACEOF 3058#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 3059_ACEOF 3060 3061cat >>confdefs.h <<_ACEOF 3062#define PACKAGE_URL "$PACKAGE_URL" 3063_ACEOF 3064 3065 3066# Let the site file select an alternate cache file if it wants to. 3067# Prefer an explicitly selected file to automatically selected ones. 3068ac_site_file1=NONE 3069ac_site_file2=NONE 3070if test -n "$CONFIG_SITE"; then 3071 # We do not want a PATH search for config.site. 3072 case $CONFIG_SITE in #(( 3073 -*) ac_site_file1=./$CONFIG_SITE;; 3074 */*) ac_site_file1=$CONFIG_SITE;; 3075 *) ac_site_file1=./$CONFIG_SITE;; 3076 esac 3077elif test "x$prefix" != xNONE; then 3078 ac_site_file1=$prefix/share/config.site 3079 ac_site_file2=$prefix/etc/config.site 3080else 3081 ac_site_file1=$ac_default_prefix/share/config.site 3082 ac_site_file2=$ac_default_prefix/etc/config.site 3083fi 3084for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3085do 3086 test "x$ac_site_file" = xNONE && continue 3087 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3088 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3089$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3090 sed 's/^/| /' "$ac_site_file" >&5 3091 . "$ac_site_file" \ 3092 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3093$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3094as_fn_error $? "failed to load site script $ac_site_file 3095See \`config.log' for more details" "$LINENO" 5; } 3096 fi 3097done 3098 3099if test -r "$cache_file"; then 3100 # Some versions of bash will fail to source /dev/null (special files 3101 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3102 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3103 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3104$as_echo "$as_me: loading cache $cache_file" >&6;} 3105 case $cache_file in 3106 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3107 *) . "./$cache_file";; 3108 esac 3109 fi 3110else 3111 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3112$as_echo "$as_me: creating cache $cache_file" >&6;} 3113 >$cache_file 3114fi 3115 3116gt_needs="$gt_needs " 3117# Check that the precious variables saved in the cache have kept the same 3118# value. 3119ac_cache_corrupted=false 3120for ac_var in $ac_precious_vars; do 3121 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3122 eval ac_new_set=\$ac_env_${ac_var}_set 3123 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3124 eval ac_new_val=\$ac_env_${ac_var}_value 3125 case $ac_old_set,$ac_new_set in 3126 set,) 3127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3128$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3129 ac_cache_corrupted=: ;; 3130 ,set) 3131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3132$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3133 ac_cache_corrupted=: ;; 3134 ,);; 3135 *) 3136 if test "x$ac_old_val" != "x$ac_new_val"; then 3137 # differences in whitespace do not lead to failure. 3138 ac_old_val_w=`echo x $ac_old_val` 3139 ac_new_val_w=`echo x $ac_new_val` 3140 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3142$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3143 ac_cache_corrupted=: 3144 else 3145 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3146$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3147 eval $ac_var=\$ac_old_val 3148 fi 3149 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3150$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3152$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3153 fi;; 3154 esac 3155 # Pass precious variables to config.status. 3156 if test "$ac_new_set" = set; then 3157 case $ac_new_val in 3158 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3159 *) ac_arg=$ac_var=$ac_new_val ;; 3160 esac 3161 case " $ac_configure_args " in 3162 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3163 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3164 esac 3165 fi 3166done 3167if $ac_cache_corrupted; then 3168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3169$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3171$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3172 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3173fi 3174## -------------------- ## 3175## Main body of script. ## 3176## -------------------- ## 3177 3178ac_ext=c 3179ac_cpp='$CPP $CPPFLAGS' 3180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3182ac_compiler_gnu=$ac_cv_c_compiler_gnu 3183 3184 3185ac_aux_dir= 3186for ac_dir in config "$srcdir"/config; do 3187 if test -f "$ac_dir/install-sh"; then 3188 ac_aux_dir=$ac_dir 3189 ac_install_sh="$ac_aux_dir/install-sh -c" 3190 break 3191 elif test -f "$ac_dir/install.sh"; then 3192 ac_aux_dir=$ac_dir 3193 ac_install_sh="$ac_aux_dir/install.sh -c" 3194 break 3195 elif test -f "$ac_dir/shtool"; then 3196 ac_aux_dir=$ac_dir 3197 ac_install_sh="$ac_aux_dir/shtool install -c" 3198 break 3199 fi 3200done 3201if test -z "$ac_aux_dir"; then 3202 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 3203fi 3204 3205# These three variables are undocumented and unsupported, 3206# and are intended to be withdrawn in a future Autoconf release. 3207# They can cause serious problems if a builder's source tree is in a directory 3208# whose full name contains unusual characters. 3209ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3210ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3211ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3212 3213 3214 3215 3216PACKAGE=claws-mail 3217 3218INTERFACE_AGE=0 3219BINARY_AGE=0 3220EXTRA_RELEASE= 3221EXTRA_GTK2_VERSION= 3222 3223if test \( -d .git \); then 3224 # Extract the first word of "git", so it can be a program name with args. 3225set dummy git; ac_word=$2 3226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3227$as_echo_n "checking for $ac_word... " >&6; } 3228if ${ac_cv_prog_GIT+:} false; then : 3229 $as_echo_n "(cached) " >&6 3230else 3231 if test -n "$GIT"; then 3232 ac_cv_prog_GIT="$GIT" # Let the user override the test. 3233else 3234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3235for as_dir in $PATH 3236do 3237 IFS=$as_save_IFS 3238 test -z "$as_dir" && as_dir=. 3239 for ac_exec_ext in '' $ac_executable_extensions; do 3240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3241 ac_cv_prog_GIT="yes" 3242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3243 break 2 3244 fi 3245done 3246 done 3247IFS=$as_save_IFS 3248 3249 test -z "$ac_cv_prog_GIT" && ac_cv_prog_GIT="no" 3250fi 3251fi 3252GIT=$ac_cv_prog_GIT 3253if test -n "$GIT"; then 3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5 3255$as_echo "$GIT" >&6; } 3256else 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3258$as_echo "no" >&6; } 3259fi 3260 3261 3262 if test \( "$GIT" = "no" \); then 3263 as_fn_error $? "*** git not found. See http://git-scm.com/" "$LINENO" 5 3264 else 3265 GIT_VERSION=`git describe --abbrev=6 --dirty --always` 3266 echo "echo ${GIT_VERSION}" > ./version 3267 fi 3268else 3269 GIT_VERSION=`sh -c ". $srcdir/version"` 3270fi 3271 3272if test \( -z "$GIT_VERSION" \); then 3273 as_fn_error $? "*** could not determine program version" "$LINENO" 5 3274fi 3275 3276MAJOR_VERSION=${GIT_VERSION%%.*} 3277MINOR_VERSION=${GIT_VERSION#*.} 3278MINOR_VERSION=${MINOR_VERSION%%.*} 3279MICRO_VERSION=${GIT_VERSION##*.} 3280MICRO_VERSION=${MICRO_VERSION%%-*} 3281EXTRA_VERSION=${GIT_VERSION#*-} 3282EXTRA_VERSION=${EXTRA_VERSION%%-*} 3283 3284if test \( "x$EXTRA_VERSION" != "x" -a `echo -n $EXTRA_VERSION | wc -c` -lt 5 \); then 3285 VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}git${EXTRA_VERSION} 3286else 3287 VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION} 3288 EXTRA_VERSION=0 3289fi 3290 3291if test \( "x$EXTRA_RELEASE" != "x" \); then 3292 VERSION=${VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION} 3293fi 3294 3295# Make sure we can run config.sub. 3296$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3297 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3298 3299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3300$as_echo_n "checking build system type... " >&6; } 3301if ${ac_cv_build+:} false; then : 3302 $as_echo_n "(cached) " >&6 3303else 3304 ac_build_alias=$build_alias 3305test "x$ac_build_alias" = x && 3306 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3307test "x$ac_build_alias" = x && 3308 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3309ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3310 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3311 3312fi 3313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3314$as_echo "$ac_cv_build" >&6; } 3315case $ac_cv_build in 3316*-*-*) ;; 3317*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3318esac 3319build=$ac_cv_build 3320ac_save_IFS=$IFS; IFS='-' 3321set x $ac_cv_build 3322shift 3323build_cpu=$1 3324build_vendor=$2 3325shift; shift 3326# Remember, the first character of IFS is used to create $*, 3327# except with old shells: 3328build_os=$* 3329IFS=$ac_save_IFS 3330case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3331 3332 3333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3334$as_echo_n "checking host system type... " >&6; } 3335if ${ac_cv_host+:} false; then : 3336 $as_echo_n "(cached) " >&6 3337else 3338 if test "x$host_alias" = x; then 3339 ac_cv_host=$ac_cv_build 3340else 3341 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3342 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3343fi 3344 3345fi 3346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3347$as_echo "$ac_cv_host" >&6; } 3348case $ac_cv_host in 3349*-*-*) ;; 3350*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3351esac 3352host=$ac_cv_host 3353ac_save_IFS=$IFS; IFS='-' 3354set x $ac_cv_host 3355shift 3356host_cpu=$1 3357host_vendor=$2 3358shift; shift 3359# Remember, the first character of IFS is used to create $*, 3360# except with old shells: 3361host_os=$* 3362IFS=$ac_save_IFS 3363case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3364 3365 3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 3367$as_echo_n "checking target system type... " >&6; } 3368if ${ac_cv_target+:} false; then : 3369 $as_echo_n "(cached) " >&6 3370else 3371 if test "x$target_alias" = x; then 3372 ac_cv_target=$ac_cv_host 3373else 3374 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3375 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 3376fi 3377 3378fi 3379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 3380$as_echo "$ac_cv_target" >&6; } 3381case $ac_cv_target in 3382*-*-*) ;; 3383*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 3384esac 3385target=$ac_cv_target 3386ac_save_IFS=$IFS; IFS='-' 3387set x $ac_cv_target 3388shift 3389target_cpu=$1 3390target_vendor=$2 3391shift; shift 3392# Remember, the first character of IFS is used to create $*, 3393# except with old shells: 3394target_os=$* 3395IFS=$ac_save_IFS 3396case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3397 3398 3399# The aliases save the names the user supplied, while $host etc. 3400# will get canonicalized. 3401test -n "$target_alias" && 3402 test "$program_prefix$program_suffix$program_transform_name" = \ 3403 NONENONEs,x,x, && 3404 program_prefix=${target_alias}- 3405 3406 3407am__api_version='1.16' 3408 3409# Find a good install program. We prefer a C program (faster), 3410# so one script is as good as another. But avoid the broken or 3411# incompatible versions: 3412# SysV /etc/install, /usr/sbin/install 3413# SunOS /usr/etc/install 3414# IRIX /sbin/install 3415# AIX /bin/install 3416# AmigaOS /C/install, which installs bootblocks on floppy discs 3417# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3418# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3419# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3420# OS/2's system install, which has a completely different semantic 3421# ./install, which can be erroneously created by make from ./install.sh. 3422# Reject install programs that cannot install multiple files. 3423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3424$as_echo_n "checking for a BSD-compatible install... " >&6; } 3425if test -z "$INSTALL"; then 3426if ${ac_cv_path_install+:} false; then : 3427 $as_echo_n "(cached) " >&6 3428else 3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3430for as_dir in $PATH 3431do 3432 IFS=$as_save_IFS 3433 test -z "$as_dir" && as_dir=. 3434 # Account for people who put trailing slashes in PATH elements. 3435case $as_dir/ in #(( 3436 ./ | .// | /[cC]/* | \ 3437 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3438 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3439 /usr/ucb/* ) ;; 3440 *) 3441 # OSF1 and SCO ODT 3.0 have their own names for install. 3442 # Don't use installbsd from OSF since it installs stuff as root 3443 # by default. 3444 for ac_prog in ginstall scoinst install; do 3445 for ac_exec_ext in '' $ac_executable_extensions; do 3446 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3447 if test $ac_prog = install && 3448 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3449 # AIX install. It has an incompatible calling convention. 3450 : 3451 elif test $ac_prog = install && 3452 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3453 # program-specific install script used by HP pwplus--don't use. 3454 : 3455 else 3456 rm -rf conftest.one conftest.two conftest.dir 3457 echo one > conftest.one 3458 echo two > conftest.two 3459 mkdir conftest.dir 3460 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3461 test -s conftest.one && test -s conftest.two && 3462 test -s conftest.dir/conftest.one && 3463 test -s conftest.dir/conftest.two 3464 then 3465 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3466 break 3 3467 fi 3468 fi 3469 fi 3470 done 3471 done 3472 ;; 3473esac 3474 3475 done 3476IFS=$as_save_IFS 3477 3478rm -rf conftest.one conftest.two conftest.dir 3479 3480fi 3481 if test "${ac_cv_path_install+set}" = set; then 3482 INSTALL=$ac_cv_path_install 3483 else 3484 # As a last resort, use the slow shell script. Don't cache a 3485 # value for INSTALL within a source directory, because that will 3486 # break other packages using the cache if that directory is 3487 # removed, or if the value is a relative name. 3488 INSTALL=$ac_install_sh 3489 fi 3490fi 3491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3492$as_echo "$INSTALL" >&6; } 3493 3494# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3495# It thinks the first close brace ends the variable substitution. 3496test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3497 3498test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3499 3500test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3501 3502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3503$as_echo_n "checking whether build environment is sane... " >&6; } 3504# Reject unsafe characters in $srcdir or the absolute working directory 3505# name. Accept space and tab only in the latter. 3506am_lf=' 3507' 3508case `pwd` in 3509 *[\\\"\#\$\&\'\`$am_lf]*) 3510 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3511esac 3512case $srcdir in 3513 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3514 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3515esac 3516 3517# Do 'set' in a subshell so we don't clobber the current shell's 3518# arguments. Must try -L first in case configure is actually a 3519# symlink; some systems play weird games with the mod time of symlinks 3520# (eg FreeBSD returns the mod time of the symlink's containing 3521# directory). 3522if ( 3523 am_has_slept=no 3524 for am_try in 1 2; do 3525 echo "timestamp, slept: $am_has_slept" > conftest.file 3526 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3527 if test "$*" = "X"; then 3528 # -L didn't work. 3529 set X `ls -t "$srcdir/configure" conftest.file` 3530 fi 3531 if test "$*" != "X $srcdir/configure conftest.file" \ 3532 && test "$*" != "X conftest.file $srcdir/configure"; then 3533 3534 # If neither matched, then we have a broken ls. This can happen 3535 # if, for instance, CONFIG_SHELL is bash and it inherits a 3536 # broken ls alias from the environment. This has actually 3537 # happened. Such a system could not be considered "sane". 3538 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3539 alias in your environment" "$LINENO" 5 3540 fi 3541 if test "$2" = conftest.file || test $am_try -eq 2; then 3542 break 3543 fi 3544 # Just in case. 3545 sleep 1 3546 am_has_slept=yes 3547 done 3548 test "$2" = conftest.file 3549 ) 3550then 3551 # Ok. 3552 : 3553else 3554 as_fn_error $? "newly created file is older than distributed files! 3555Check your system clock" "$LINENO" 5 3556fi 3557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3558$as_echo "yes" >&6; } 3559# If we didn't sleep, we still need to ensure time stamps of config.status and 3560# generated files are strictly newer. 3561am_sleep_pid= 3562if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3563 ( sleep 1 ) & 3564 am_sleep_pid=$! 3565fi 3566 3567rm -f conftest.file 3568 3569test "$program_prefix" != NONE && 3570 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3571# Use a double $ so make ignores it. 3572test "$program_suffix" != NONE && 3573 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3574# Double any \ or $. 3575# By default was `s,x,x', remove it if useless. 3576ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3577program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3578 3579# Expand $ac_aux_dir to an absolute path. 3580am_aux_dir=`cd "$ac_aux_dir" && pwd` 3581 3582if test x"${MISSING+set}" != xset; then 3583 case $am_aux_dir in 3584 *\ * | *\ *) 3585 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3586 *) 3587 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3588 esac 3589fi 3590# Use eval to expand $SHELL 3591if eval "$MISSING --is-lightweight"; then 3592 am_missing_run="$MISSING " 3593else 3594 am_missing_run= 3595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3596$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3597fi 3598 3599if test x"${install_sh+set}" != xset; then 3600 case $am_aux_dir in 3601 *\ * | *\ *) 3602 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3603 *) 3604 install_sh="\${SHELL} $am_aux_dir/install-sh" 3605 esac 3606fi 3607 3608# Installed binaries are usually stripped using 'strip' when the user 3609# run "make install-strip". However 'strip' might not be the right 3610# tool to use in cross-compilation environments, therefore Automake 3611# will honor the 'STRIP' environment variable to overrule this program. 3612if test "$cross_compiling" != no; then 3613 if test -n "$ac_tool_prefix"; then 3614 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3615set dummy ${ac_tool_prefix}strip; ac_word=$2 3616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3617$as_echo_n "checking for $ac_word... " >&6; } 3618if ${ac_cv_prog_STRIP+:} false; then : 3619 $as_echo_n "(cached) " >&6 3620else 3621 if test -n "$STRIP"; then 3622 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3623else 3624as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3625for as_dir in $PATH 3626do 3627 IFS=$as_save_IFS 3628 test -z "$as_dir" && as_dir=. 3629 for ac_exec_ext in '' $ac_executable_extensions; do 3630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3631 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3633 break 2 3634 fi 3635done 3636 done 3637IFS=$as_save_IFS 3638 3639fi 3640fi 3641STRIP=$ac_cv_prog_STRIP 3642if test -n "$STRIP"; then 3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3644$as_echo "$STRIP" >&6; } 3645else 3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3647$as_echo "no" >&6; } 3648fi 3649 3650 3651fi 3652if test -z "$ac_cv_prog_STRIP"; then 3653 ac_ct_STRIP=$STRIP 3654 # Extract the first word of "strip", so it can be a program name with args. 3655set dummy strip; ac_word=$2 3656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3657$as_echo_n "checking for $ac_word... " >&6; } 3658if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3659 $as_echo_n "(cached) " >&6 3660else 3661 if test -n "$ac_ct_STRIP"; then 3662 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3663else 3664as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3665for as_dir in $PATH 3666do 3667 IFS=$as_save_IFS 3668 test -z "$as_dir" && as_dir=. 3669 for ac_exec_ext in '' $ac_executable_extensions; do 3670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3671 ac_cv_prog_ac_ct_STRIP="strip" 3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3673 break 2 3674 fi 3675done 3676 done 3677IFS=$as_save_IFS 3678 3679fi 3680fi 3681ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3682if test -n "$ac_ct_STRIP"; then 3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3684$as_echo "$ac_ct_STRIP" >&6; } 3685else 3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3687$as_echo "no" >&6; } 3688fi 3689 3690 if test "x$ac_ct_STRIP" = x; then 3691 STRIP=":" 3692 else 3693 case $cross_compiling:$ac_tool_warned in 3694yes:) 3695{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3696$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3697ac_tool_warned=yes ;; 3698esac 3699 STRIP=$ac_ct_STRIP 3700 fi 3701else 3702 STRIP="$ac_cv_prog_STRIP" 3703fi 3704 3705fi 3706INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3707 3708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3709$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3710if test -z "$MKDIR_P"; then 3711 if ${ac_cv_path_mkdir+:} false; then : 3712 $as_echo_n "(cached) " >&6 3713else 3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3715for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3716do 3717 IFS=$as_save_IFS 3718 test -z "$as_dir" && as_dir=. 3719 for ac_prog in mkdir gmkdir; do 3720 for ac_exec_ext in '' $ac_executable_extensions; do 3721 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3722 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3723 'mkdir (GNU coreutils) '* | \ 3724 'mkdir (coreutils) '* | \ 3725 'mkdir (fileutils) '4.1*) 3726 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3727 break 3;; 3728 esac 3729 done 3730 done 3731 done 3732IFS=$as_save_IFS 3733 3734fi 3735 3736 test -d ./--version && rmdir ./--version 3737 if test "${ac_cv_path_mkdir+set}" = set; then 3738 MKDIR_P="$ac_cv_path_mkdir -p" 3739 else 3740 # As a last resort, use the slow shell script. Don't cache a 3741 # value for MKDIR_P within a source directory, because that will 3742 # break other packages using the cache if that directory is 3743 # removed, or if the value is a relative name. 3744 MKDIR_P="$ac_install_sh -d" 3745 fi 3746fi 3747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3748$as_echo "$MKDIR_P" >&6; } 3749 3750for ac_prog in gawk mawk nawk awk 3751do 3752 # Extract the first word of "$ac_prog", so it can be a program name with args. 3753set dummy $ac_prog; ac_word=$2 3754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3755$as_echo_n "checking for $ac_word... " >&6; } 3756if ${ac_cv_prog_AWK+:} false; then : 3757 $as_echo_n "(cached) " >&6 3758else 3759 if test -n "$AWK"; then 3760 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3761else 3762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3763for as_dir in $PATH 3764do 3765 IFS=$as_save_IFS 3766 test -z "$as_dir" && as_dir=. 3767 for ac_exec_ext in '' $ac_executable_extensions; do 3768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3769 ac_cv_prog_AWK="$ac_prog" 3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3771 break 2 3772 fi 3773done 3774 done 3775IFS=$as_save_IFS 3776 3777fi 3778fi 3779AWK=$ac_cv_prog_AWK 3780if test -n "$AWK"; then 3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3782$as_echo "$AWK" >&6; } 3783else 3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3785$as_echo "no" >&6; } 3786fi 3787 3788 3789 test -n "$AWK" && break 3790done 3791 3792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3793$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3794set x ${MAKE-make} 3795ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3796if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3797 $as_echo_n "(cached) " >&6 3798else 3799 cat >conftest.make <<\_ACEOF 3800SHELL = /bin/sh 3801all: 3802 @echo '@@@%%%=$(MAKE)=@@@%%%' 3803_ACEOF 3804# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3805case `${MAKE-make} -f conftest.make 2>/dev/null` in 3806 *@@@%%%=?*=@@@%%%*) 3807 eval ac_cv_prog_make_${ac_make}_set=yes;; 3808 *) 3809 eval ac_cv_prog_make_${ac_make}_set=no;; 3810esac 3811rm -f conftest.make 3812fi 3813if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3815$as_echo "yes" >&6; } 3816 SET_MAKE= 3817else 3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3819$as_echo "no" >&6; } 3820 SET_MAKE="MAKE=${MAKE-make}" 3821fi 3822 3823rm -rf .tst 2>/dev/null 3824mkdir .tst 2>/dev/null 3825if test -d .tst; then 3826 am__leading_dot=. 3827else 3828 am__leading_dot=_ 3829fi 3830rmdir .tst 2>/dev/null 3831 3832# Check whether --enable-silent-rules was given. 3833if test "${enable_silent_rules+set}" = set; then : 3834 enableval=$enable_silent_rules; 3835fi 3836 3837case $enable_silent_rules in # ((( 3838 yes) AM_DEFAULT_VERBOSITY=0;; 3839 no) AM_DEFAULT_VERBOSITY=1;; 3840 *) AM_DEFAULT_VERBOSITY=1;; 3841esac 3842am_make=${MAKE-make} 3843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3844$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3845if ${am_cv_make_support_nested_variables+:} false; then : 3846 $as_echo_n "(cached) " >&6 3847else 3848 if $as_echo 'TRUE=$(BAR$(V)) 3849BAR0=false 3850BAR1=true 3851V=1 3852am__doit: 3853 @$(TRUE) 3854.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3855 am_cv_make_support_nested_variables=yes 3856else 3857 am_cv_make_support_nested_variables=no 3858fi 3859fi 3860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3861$as_echo "$am_cv_make_support_nested_variables" >&6; } 3862if test $am_cv_make_support_nested_variables = yes; then 3863 AM_V='$(V)' 3864 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3865else 3866 AM_V=$AM_DEFAULT_VERBOSITY 3867 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3868fi 3869AM_BACKSLASH='\' 3870 3871if test "`cd $srcdir && pwd`" != "`pwd`"; then 3872 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3873 # is not polluted with repeated "-I." 3874 am__isrc=' -I$(srcdir)' 3875 # test to see if srcdir already configured 3876 if test -f $srcdir/config.status; then 3877 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3878 fi 3879fi 3880 3881# test whether we have cygpath 3882if test -z "$CYGPATH_W"; then 3883 if (cygpath --version) >/dev/null 2>/dev/null; then 3884 CYGPATH_W='cygpath -w' 3885 else 3886 CYGPATH_W=echo 3887 fi 3888fi 3889 3890 3891# Define the identity of the package. 3892 3893 PACKAGE=$PACKAGE 3894 VERSION=$VERSION 3895 3896 3897# Some tools Automake needs. 3898 3899ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3900 3901 3902AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3903 3904 3905AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3906 3907 3908AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3909 3910 3911MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3912 3913# For better backward compatibility. To be removed once Automake 1.9.x 3914# dies out for good. For more background, see: 3915# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3916# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3917mkdir_p='$(MKDIR_P)' 3918 3919# We need awk for the "check" target (and possibly the TAP driver). The 3920# system "awk" is bad on some platforms. 3921# Always define AMTAR for backward compatibility. Yes, it's still used 3922# in the wild :-( We should find a proper way to deprecate it ... 3923AMTAR='$${TAR-tar}' 3924 3925 3926# We'll loop over all known methods to create a tar archive until one works. 3927_am_tools='gnutar pax cpio none' 3928 3929am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3930 3931 3932 3933 3934 3935 3936# POSIX will say in a future version that running "rm -f" with no argument 3937# is OK; and we want to be able to make that assumption in our Makefile 3938# recipes. So use an aggressive probe to check that the usage we want is 3939# actually supported "in the wild" to an acceptable degree. 3940# See automake bug#10828. 3941# To make any issue more visible, cause the running configure to be aborted 3942# by default if the 'rm' program in use doesn't match our expectations; the 3943# user can still override this though. 3944if rm -f && rm -fr && rm -rf; then : OK; else 3945 cat >&2 <<'END' 3946Oops! 3947 3948Your 'rm' program seems unable to run without file operands specified 3949on the command line, even when the '-f' option is present. This is contrary 3950to the behaviour of most rm programs out there, and not conforming with 3951the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3952 3953Please tell bug-automake@gnu.org about your system, including the value 3954of your $PATH and any error possibly output before this message. This 3955can help us improve future automake versions. 3956 3957END 3958 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3959 echo 'Configuration will proceed anyway, since you have set the' >&2 3960 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3961 echo >&2 3962 else 3963 cat >&2 <<'END' 3964Aborting the configuration process, to ensure you take notice of the issue. 3965 3966You can download and install GNU coreutils to get an 'rm' implementation 3967that behaves properly: <https://www.gnu.org/software/coreutils/>. 3968 3969If you want to complete the configuration process using your problematic 3970'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3971to "yes", and re-run configure. 3972 3973END 3974 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3975 fi 3976fi 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986# Extract the first word of "gtk-update-icon-cache", so it can be a program name with args. 3987set dummy gtk-update-icon-cache; ac_word=$2 3988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3989$as_echo_n "checking for $ac_word... " >&6; } 3990if ${ac_cv_prog_HAVE_GTK_ICON_CACHE+:} false; then : 3991 $as_echo_n "(cached) " >&6 3992else 3993 if test -n "$HAVE_GTK_ICON_CACHE"; then 3994 ac_cv_prog_HAVE_GTK_ICON_CACHE="$HAVE_GTK_ICON_CACHE" # Let the user override the test. 3995else 3996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3997for as_dir in $PATH 3998do 3999 IFS=$as_save_IFS 4000 test -z "$as_dir" && as_dir=. 4001 for ac_exec_ext in '' $ac_executable_extensions; do 4002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4003 ac_cv_prog_HAVE_GTK_ICON_CACHE="yes" 4004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4005 break 2 4006 fi 4007done 4008 done 4009IFS=$as_save_IFS 4010 4011 test -z "$ac_cv_prog_HAVE_GTK_ICON_CACHE" && ac_cv_prog_HAVE_GTK_ICON_CACHE="no" 4012fi 4013fi 4014HAVE_GTK_ICON_CACHE=$ac_cv_prog_HAVE_GTK_ICON_CACHE 4015if test -n "$HAVE_GTK_ICON_CACHE"; then 4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GTK_ICON_CACHE" >&5 4017$as_echo "$HAVE_GTK_ICON_CACHE" >&6; } 4018else 4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4020$as_echo "no" >&6; } 4021fi 4022 4023 4024 if test x"$HAVE_GTK_ICON_CACHE" = xyes; then 4025 UPDATE_GTK_ICON_CACHE_TRUE= 4026 UPDATE_GTK_ICON_CACHE_FALSE='#' 4027else 4028 UPDATE_GTK_ICON_CACHE_TRUE='#' 4029 UPDATE_GTK_ICON_CACHE_FALSE= 4030fi 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4042 if test -n "$ac_tool_prefix"; then 4043 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4044set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4046$as_echo_n "checking for $ac_word... " >&6; } 4047if ${ac_cv_path_PKG_CONFIG+:} false; then : 4048 $as_echo_n "(cached) " >&6 4049else 4050 case $PKG_CONFIG in 4051 [\\/]* | ?:[\\/]*) 4052 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4053 ;; 4054 *) 4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4056for as_dir in $PATH 4057do 4058 IFS=$as_save_IFS 4059 test -z "$as_dir" && as_dir=. 4060 for ac_exec_ext in '' $ac_executable_extensions; do 4061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4062 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4064 break 2 4065 fi 4066done 4067 done 4068IFS=$as_save_IFS 4069 4070 ;; 4071esac 4072fi 4073PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4074if test -n "$PKG_CONFIG"; then 4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4076$as_echo "$PKG_CONFIG" >&6; } 4077else 4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4079$as_echo "no" >&6; } 4080fi 4081 4082 4083fi 4084if test -z "$ac_cv_path_PKG_CONFIG"; then 4085 ac_pt_PKG_CONFIG=$PKG_CONFIG 4086 # Extract the first word of "pkg-config", so it can be a program name with args. 4087set dummy pkg-config; ac_word=$2 4088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4089$as_echo_n "checking for $ac_word... " >&6; } 4090if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4091 $as_echo_n "(cached) " >&6 4092else 4093 case $ac_pt_PKG_CONFIG in 4094 [\\/]* | ?:[\\/]*) 4095 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4096 ;; 4097 *) 4098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4099for as_dir in $PATH 4100do 4101 IFS=$as_save_IFS 4102 test -z "$as_dir" && as_dir=. 4103 for ac_exec_ext in '' $ac_executable_extensions; do 4104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4105 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4107 break 2 4108 fi 4109done 4110 done 4111IFS=$as_save_IFS 4112 4113 ;; 4114esac 4115fi 4116ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4117if test -n "$ac_pt_PKG_CONFIG"; then 4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4119$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4120else 4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4122$as_echo "no" >&6; } 4123fi 4124 4125 if test "x$ac_pt_PKG_CONFIG" = x; then 4126 PKG_CONFIG="" 4127 else 4128 case $cross_compiling:$ac_tool_warned in 4129yes:) 4130{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4131$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4132ac_tool_warned=yes ;; 4133esac 4134 PKG_CONFIG=$ac_pt_PKG_CONFIG 4135 fi 4136else 4137 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4138fi 4139 4140fi 4141if test -n "$PKG_CONFIG"; then 4142 _pkg_min_version=0.9.0 4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4144$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4145 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4147$as_echo "yes" >&6; } 4148 else 4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4150$as_echo "no" >&6; } 4151 PKG_CONFIG="" 4152 fi 4153fi 4154 4155LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION 4156LT_CURRENT=`expr $MICRO_VERSION - $INTERFACE_AGE` 4157LT_REVISION=$INTERFACE_AGE 4158LT_AGE=`expr $BINARY_AGE - $INTERFACE_AGE` 4159 4160 4161 4162 4163 4164ac_config_headers="$ac_config_headers config.h" 4165 4166ac_config_headers="$ac_config_headers claws-features.h" 4167 4168 4169 4170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 4171$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 4172 # Check whether --enable-maintainer-mode was given. 4173if test "${enable_maintainer_mode+set}" = set; then : 4174 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 4175else 4176 USE_MAINTAINER_MODE=no 4177fi 4178 4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 4180$as_echo "$USE_MAINTAINER_MODE" >&6; } 4181 if test $USE_MAINTAINER_MODE = yes; then 4182 MAINTAINER_MODE_TRUE= 4183 MAINTAINER_MODE_FALSE='#' 4184else 4185 MAINTAINER_MODE_TRUE='#' 4186 MAINTAINER_MODE_FALSE= 4187fi 4188 4189 MAINT=$MAINTAINER_MODE_TRUE 4190 4191 4192 4193ac_ext=c 4194ac_cpp='$CPP $CPPFLAGS' 4195ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4196ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4197ac_compiler_gnu=$ac_cv_c_compiler_gnu 4198if test -n "$ac_tool_prefix"; then 4199 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4200set dummy ${ac_tool_prefix}gcc; ac_word=$2 4201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4202$as_echo_n "checking for $ac_word... " >&6; } 4203if ${ac_cv_prog_CC+:} false; then : 4204 $as_echo_n "(cached) " >&6 4205else 4206 if test -n "$CC"; then 4207 ac_cv_prog_CC="$CC" # Let the user override the test. 4208else 4209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4210for as_dir in $PATH 4211do 4212 IFS=$as_save_IFS 4213 test -z "$as_dir" && as_dir=. 4214 for ac_exec_ext in '' $ac_executable_extensions; do 4215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4216 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4218 break 2 4219 fi 4220done 4221 done 4222IFS=$as_save_IFS 4223 4224fi 4225fi 4226CC=$ac_cv_prog_CC 4227if test -n "$CC"; then 4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4229$as_echo "$CC" >&6; } 4230else 4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4232$as_echo "no" >&6; } 4233fi 4234 4235 4236fi 4237if test -z "$ac_cv_prog_CC"; then 4238 ac_ct_CC=$CC 4239 # Extract the first word of "gcc", so it can be a program name with args. 4240set dummy gcc; ac_word=$2 4241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4242$as_echo_n "checking for $ac_word... " >&6; } 4243if ${ac_cv_prog_ac_ct_CC+:} false; then : 4244 $as_echo_n "(cached) " >&6 4245else 4246 if test -n "$ac_ct_CC"; then 4247 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4248else 4249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4250for as_dir in $PATH 4251do 4252 IFS=$as_save_IFS 4253 test -z "$as_dir" && as_dir=. 4254 for ac_exec_ext in '' $ac_executable_extensions; do 4255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4256 ac_cv_prog_ac_ct_CC="gcc" 4257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4258 break 2 4259 fi 4260done 4261 done 4262IFS=$as_save_IFS 4263 4264fi 4265fi 4266ac_ct_CC=$ac_cv_prog_ac_ct_CC 4267if test -n "$ac_ct_CC"; then 4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4269$as_echo "$ac_ct_CC" >&6; } 4270else 4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4272$as_echo "no" >&6; } 4273fi 4274 4275 if test "x$ac_ct_CC" = x; then 4276 CC="" 4277 else 4278 case $cross_compiling:$ac_tool_warned in 4279yes:) 4280{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4281$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4282ac_tool_warned=yes ;; 4283esac 4284 CC=$ac_ct_CC 4285 fi 4286else 4287 CC="$ac_cv_prog_CC" 4288fi 4289 4290if test -z "$CC"; then 4291 if test -n "$ac_tool_prefix"; then 4292 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4293set dummy ${ac_tool_prefix}cc; ac_word=$2 4294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4295$as_echo_n "checking for $ac_word... " >&6; } 4296if ${ac_cv_prog_CC+:} false; then : 4297 $as_echo_n "(cached) " >&6 4298else 4299 if test -n "$CC"; then 4300 ac_cv_prog_CC="$CC" # Let the user override the test. 4301else 4302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4303for as_dir in $PATH 4304do 4305 IFS=$as_save_IFS 4306 test -z "$as_dir" && as_dir=. 4307 for ac_exec_ext in '' $ac_executable_extensions; do 4308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4309 ac_cv_prog_CC="${ac_tool_prefix}cc" 4310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4311 break 2 4312 fi 4313done 4314 done 4315IFS=$as_save_IFS 4316 4317fi 4318fi 4319CC=$ac_cv_prog_CC 4320if test -n "$CC"; then 4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4322$as_echo "$CC" >&6; } 4323else 4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4325$as_echo "no" >&6; } 4326fi 4327 4328 4329 fi 4330fi 4331if test -z "$CC"; then 4332 # Extract the first word of "cc", so it can be a program name with args. 4333set dummy cc; ac_word=$2 4334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4335$as_echo_n "checking for $ac_word... " >&6; } 4336if ${ac_cv_prog_CC+:} false; then : 4337 $as_echo_n "(cached) " >&6 4338else 4339 if test -n "$CC"; then 4340 ac_cv_prog_CC="$CC" # Let the user override the test. 4341else 4342 ac_prog_rejected=no 4343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4344for as_dir in $PATH 4345do 4346 IFS=$as_save_IFS 4347 test -z "$as_dir" && as_dir=. 4348 for ac_exec_ext in '' $ac_executable_extensions; do 4349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4350 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4351 ac_prog_rejected=yes 4352 continue 4353 fi 4354 ac_cv_prog_CC="cc" 4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4356 break 2 4357 fi 4358done 4359 done 4360IFS=$as_save_IFS 4361 4362if test $ac_prog_rejected = yes; then 4363 # We found a bogon in the path, so make sure we never use it. 4364 set dummy $ac_cv_prog_CC 4365 shift 4366 if test $# != 0; then 4367 # We chose a different compiler from the bogus one. 4368 # However, it has the same basename, so the bogon will be chosen 4369 # first if we set CC to just the basename; use the full file name. 4370 shift 4371 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4372 fi 4373fi 4374fi 4375fi 4376CC=$ac_cv_prog_CC 4377if test -n "$CC"; then 4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4379$as_echo "$CC" >&6; } 4380else 4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4382$as_echo "no" >&6; } 4383fi 4384 4385 4386fi 4387if test -z "$CC"; then 4388 if test -n "$ac_tool_prefix"; then 4389 for ac_prog in cl.exe 4390 do 4391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4392set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4394$as_echo_n "checking for $ac_word... " >&6; } 4395if ${ac_cv_prog_CC+:} false; then : 4396 $as_echo_n "(cached) " >&6 4397else 4398 if test -n "$CC"; then 4399 ac_cv_prog_CC="$CC" # Let the user override the test. 4400else 4401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4402for as_dir in $PATH 4403do 4404 IFS=$as_save_IFS 4405 test -z "$as_dir" && as_dir=. 4406 for ac_exec_ext in '' $ac_executable_extensions; do 4407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4408 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4410 break 2 4411 fi 4412done 4413 done 4414IFS=$as_save_IFS 4415 4416fi 4417fi 4418CC=$ac_cv_prog_CC 4419if test -n "$CC"; then 4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4421$as_echo "$CC" >&6; } 4422else 4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4424$as_echo "no" >&6; } 4425fi 4426 4427 4428 test -n "$CC" && break 4429 done 4430fi 4431if test -z "$CC"; then 4432 ac_ct_CC=$CC 4433 for ac_prog in cl.exe 4434do 4435 # Extract the first word of "$ac_prog", so it can be a program name with args. 4436set dummy $ac_prog; ac_word=$2 4437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4438$as_echo_n "checking for $ac_word... " >&6; } 4439if ${ac_cv_prog_ac_ct_CC+:} false; then : 4440 $as_echo_n "(cached) " >&6 4441else 4442 if test -n "$ac_ct_CC"; then 4443 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4444else 4445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4446for as_dir in $PATH 4447do 4448 IFS=$as_save_IFS 4449 test -z "$as_dir" && as_dir=. 4450 for ac_exec_ext in '' $ac_executable_extensions; do 4451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4452 ac_cv_prog_ac_ct_CC="$ac_prog" 4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4454 break 2 4455 fi 4456done 4457 done 4458IFS=$as_save_IFS 4459 4460fi 4461fi 4462ac_ct_CC=$ac_cv_prog_ac_ct_CC 4463if test -n "$ac_ct_CC"; then 4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4465$as_echo "$ac_ct_CC" >&6; } 4466else 4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4468$as_echo "no" >&6; } 4469fi 4470 4471 4472 test -n "$ac_ct_CC" && break 4473done 4474 4475 if test "x$ac_ct_CC" = x; then 4476 CC="" 4477 else 4478 case $cross_compiling:$ac_tool_warned in 4479yes:) 4480{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4481$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4482ac_tool_warned=yes ;; 4483esac 4484 CC=$ac_ct_CC 4485 fi 4486fi 4487 4488fi 4489 4490 4491test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4493as_fn_error $? "no acceptable C compiler found in \$PATH 4494See \`config.log' for more details" "$LINENO" 5; } 4495 4496# Provide some information about the compiler. 4497$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4498set X $ac_compile 4499ac_compiler=$2 4500for ac_option in --version -v -V -qversion; do 4501 { { ac_try="$ac_compiler $ac_option >&5" 4502case "(($ac_try" in 4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4504 *) ac_try_echo=$ac_try;; 4505esac 4506eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4507$as_echo "$ac_try_echo"; } >&5 4508 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4509 ac_status=$? 4510 if test -s conftest.err; then 4511 sed '10a\ 4512... rest of stderr output deleted ... 4513 10q' conftest.err >conftest.er1 4514 cat conftest.er1 >&5 4515 fi 4516 rm -f conftest.er1 conftest.err 4517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4518 test $ac_status = 0; } 4519done 4520 4521cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4522/* end confdefs.h. */ 4523 4524int 4525main () 4526{ 4527 4528 ; 4529 return 0; 4530} 4531_ACEOF 4532ac_clean_files_save=$ac_clean_files 4533ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4534# Try to create an executable without -o first, disregard a.out. 4535# It will help us diagnose broken compilers, and finding out an intuition 4536# of exeext. 4537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4538$as_echo_n "checking whether the C compiler works... " >&6; } 4539ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4540 4541# The possible output files: 4542ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4543 4544ac_rmfiles= 4545for ac_file in $ac_files 4546do 4547 case $ac_file in 4548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4549 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4550 esac 4551done 4552rm -f $ac_rmfiles 4553 4554if { { ac_try="$ac_link_default" 4555case "(($ac_try" in 4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4557 *) ac_try_echo=$ac_try;; 4558esac 4559eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4560$as_echo "$ac_try_echo"; } >&5 4561 (eval "$ac_link_default") 2>&5 4562 ac_status=$? 4563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4564 test $ac_status = 0; }; then : 4565 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4566# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4567# in a Makefile. We should not override ac_cv_exeext if it was cached, 4568# so that the user can short-circuit this test for compilers unknown to 4569# Autoconf. 4570for ac_file in $ac_files '' 4571do 4572 test -f "$ac_file" || continue 4573 case $ac_file in 4574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4575 ;; 4576 [ab].out ) 4577 # We found the default executable, but exeext='' is most 4578 # certainly right. 4579 break;; 4580 *.* ) 4581 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4582 then :; else 4583 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4584 fi 4585 # We set ac_cv_exeext here because the later test for it is not 4586 # safe: cross compilers may not add the suffix if given an `-o' 4587 # argument, so we may need to know it at that point already. 4588 # Even if this section looks crufty: it has the advantage of 4589 # actually working. 4590 break;; 4591 * ) 4592 break;; 4593 esac 4594done 4595test "$ac_cv_exeext" = no && ac_cv_exeext= 4596 4597else 4598 ac_file='' 4599fi 4600if test -z "$ac_file"; then : 4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4602$as_echo "no" >&6; } 4603$as_echo "$as_me: failed program was:" >&5 4604sed 's/^/| /' conftest.$ac_ext >&5 4605 4606{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4607$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4608as_fn_error 77 "C compiler cannot create executables 4609See \`config.log' for more details" "$LINENO" 5; } 4610else 4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4612$as_echo "yes" >&6; } 4613fi 4614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4615$as_echo_n "checking for C compiler default output file name... " >&6; } 4616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4617$as_echo "$ac_file" >&6; } 4618ac_exeext=$ac_cv_exeext 4619 4620rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4621ac_clean_files=$ac_clean_files_save 4622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4623$as_echo_n "checking for suffix of executables... " >&6; } 4624if { { ac_try="$ac_link" 4625case "(($ac_try" in 4626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4627 *) ac_try_echo=$ac_try;; 4628esac 4629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4630$as_echo "$ac_try_echo"; } >&5 4631 (eval "$ac_link") 2>&5 4632 ac_status=$? 4633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4634 test $ac_status = 0; }; then : 4635 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4636# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4637# work properly (i.e., refer to `conftest.exe'), while it won't with 4638# `rm'. 4639for ac_file in conftest.exe conftest conftest.*; do 4640 test -f "$ac_file" || continue 4641 case $ac_file in 4642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4643 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4644 break;; 4645 * ) break;; 4646 esac 4647done 4648else 4649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4650$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4651as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4652See \`config.log' for more details" "$LINENO" 5; } 4653fi 4654rm -f conftest conftest$ac_cv_exeext 4655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4656$as_echo "$ac_cv_exeext" >&6; } 4657 4658rm -f conftest.$ac_ext 4659EXEEXT=$ac_cv_exeext 4660ac_exeext=$EXEEXT 4661cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4662/* end confdefs.h. */ 4663#include <stdio.h> 4664int 4665main () 4666{ 4667FILE *f = fopen ("conftest.out", "w"); 4668 return ferror (f) || fclose (f) != 0; 4669 4670 ; 4671 return 0; 4672} 4673_ACEOF 4674ac_clean_files="$ac_clean_files conftest.out" 4675# Check that the compiler produces executables we can run. If not, either 4676# the compiler is broken, or we cross compile. 4677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4678$as_echo_n "checking whether we are cross compiling... " >&6; } 4679if test "$cross_compiling" != yes; then 4680 { { ac_try="$ac_link" 4681case "(($ac_try" in 4682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4683 *) ac_try_echo=$ac_try;; 4684esac 4685eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4686$as_echo "$ac_try_echo"; } >&5 4687 (eval "$ac_link") 2>&5 4688 ac_status=$? 4689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4690 test $ac_status = 0; } 4691 if { ac_try='./conftest$ac_cv_exeext' 4692 { { case "(($ac_try" in 4693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4694 *) ac_try_echo=$ac_try;; 4695esac 4696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4697$as_echo "$ac_try_echo"; } >&5 4698 (eval "$ac_try") 2>&5 4699 ac_status=$? 4700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4701 test $ac_status = 0; }; }; then 4702 cross_compiling=no 4703 else 4704 if test "$cross_compiling" = maybe; then 4705 cross_compiling=yes 4706 else 4707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4708$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4709as_fn_error $? "cannot run C compiled programs. 4710If you meant to cross compile, use \`--host'. 4711See \`config.log' for more details" "$LINENO" 5; } 4712 fi 4713 fi 4714fi 4715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4716$as_echo "$cross_compiling" >&6; } 4717 4718rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4719ac_clean_files=$ac_clean_files_save 4720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4721$as_echo_n "checking for suffix of object files... " >&6; } 4722if ${ac_cv_objext+:} false; then : 4723 $as_echo_n "(cached) " >&6 4724else 4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4726/* end confdefs.h. */ 4727 4728int 4729main () 4730{ 4731 4732 ; 4733 return 0; 4734} 4735_ACEOF 4736rm -f conftest.o conftest.obj 4737if { { ac_try="$ac_compile" 4738case "(($ac_try" in 4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4740 *) ac_try_echo=$ac_try;; 4741esac 4742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4743$as_echo "$ac_try_echo"; } >&5 4744 (eval "$ac_compile") 2>&5 4745 ac_status=$? 4746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4747 test $ac_status = 0; }; then : 4748 for ac_file in conftest.o conftest.obj conftest.*; do 4749 test -f "$ac_file" || continue; 4750 case $ac_file in 4751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4752 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4753 break;; 4754 esac 4755done 4756else 4757 $as_echo "$as_me: failed program was:" >&5 4758sed 's/^/| /' conftest.$ac_ext >&5 4759 4760{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4762as_fn_error $? "cannot compute suffix of object files: cannot compile 4763See \`config.log' for more details" "$LINENO" 5; } 4764fi 4765rm -f conftest.$ac_cv_objext conftest.$ac_ext 4766fi 4767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4768$as_echo "$ac_cv_objext" >&6; } 4769OBJEXT=$ac_cv_objext 4770ac_objext=$OBJEXT 4771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4772$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4773if ${ac_cv_c_compiler_gnu+:} false; then : 4774 $as_echo_n "(cached) " >&6 4775else 4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4777/* end confdefs.h. */ 4778 4779int 4780main () 4781{ 4782#ifndef __GNUC__ 4783 choke me 4784#endif 4785 4786 ; 4787 return 0; 4788} 4789_ACEOF 4790if ac_fn_c_try_compile "$LINENO"; then : 4791 ac_compiler_gnu=yes 4792else 4793 ac_compiler_gnu=no 4794fi 4795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4796ac_cv_c_compiler_gnu=$ac_compiler_gnu 4797 4798fi 4799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4800$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4801if test $ac_compiler_gnu = yes; then 4802 GCC=yes 4803else 4804 GCC= 4805fi 4806ac_test_CFLAGS=${CFLAGS+set} 4807ac_save_CFLAGS=$CFLAGS 4808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4809$as_echo_n "checking whether $CC accepts -g... " >&6; } 4810if ${ac_cv_prog_cc_g+:} false; then : 4811 $as_echo_n "(cached) " >&6 4812else 4813 ac_save_c_werror_flag=$ac_c_werror_flag 4814 ac_c_werror_flag=yes 4815 ac_cv_prog_cc_g=no 4816 CFLAGS="-g" 4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4818/* end confdefs.h. */ 4819 4820int 4821main () 4822{ 4823 4824 ; 4825 return 0; 4826} 4827_ACEOF 4828if ac_fn_c_try_compile "$LINENO"; then : 4829 ac_cv_prog_cc_g=yes 4830else 4831 CFLAGS="" 4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4833/* end confdefs.h. */ 4834 4835int 4836main () 4837{ 4838 4839 ; 4840 return 0; 4841} 4842_ACEOF 4843if ac_fn_c_try_compile "$LINENO"; then : 4844 4845else 4846 ac_c_werror_flag=$ac_save_c_werror_flag 4847 CFLAGS="-g" 4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4849/* end confdefs.h. */ 4850 4851int 4852main () 4853{ 4854 4855 ; 4856 return 0; 4857} 4858_ACEOF 4859if ac_fn_c_try_compile "$LINENO"; then : 4860 ac_cv_prog_cc_g=yes 4861fi 4862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4863fi 4864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4865fi 4866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4867 ac_c_werror_flag=$ac_save_c_werror_flag 4868fi 4869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4870$as_echo "$ac_cv_prog_cc_g" >&6; } 4871if test "$ac_test_CFLAGS" = set; then 4872 CFLAGS=$ac_save_CFLAGS 4873elif test $ac_cv_prog_cc_g = yes; then 4874 if test "$GCC" = yes; then 4875 CFLAGS="-g -O2" 4876 else 4877 CFLAGS="-g" 4878 fi 4879else 4880 if test "$GCC" = yes; then 4881 CFLAGS="-O2" 4882 else 4883 CFLAGS= 4884 fi 4885fi 4886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4887$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4888if ${ac_cv_prog_cc_c89+:} false; then : 4889 $as_echo_n "(cached) " >&6 4890else 4891 ac_cv_prog_cc_c89=no 4892ac_save_CC=$CC 4893cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4894/* end confdefs.h. */ 4895#include <stdarg.h> 4896#include <stdio.h> 4897struct stat; 4898/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4899struct buf { int x; }; 4900FILE * (*rcsopen) (struct buf *, struct stat *, int); 4901static char *e (p, i) 4902 char **p; 4903 int i; 4904{ 4905 return p[i]; 4906} 4907static char *f (char * (*g) (char **, int), char **p, ...) 4908{ 4909 char *s; 4910 va_list v; 4911 va_start (v,p); 4912 s = g (p, va_arg (v,int)); 4913 va_end (v); 4914 return s; 4915} 4916 4917/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4918 function prototypes and stuff, but not '\xHH' hex character constants. 4919 These don't provoke an error unfortunately, instead are silently treated 4920 as 'x'. The following induces an error, until -std is added to get 4921 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4922 array size at least. It's necessary to write '\x00'==0 to get something 4923 that's true only with -std. */ 4924int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4925 4926/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4927 inside strings and character constants. */ 4928#define FOO(x) 'x' 4929int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4930 4931int test (int i, double x); 4932struct s1 {int (*f) (int a);}; 4933struct s2 {int (*f) (double a);}; 4934int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4935int argc; 4936char **argv; 4937int 4938main () 4939{ 4940return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4941 ; 4942 return 0; 4943} 4944_ACEOF 4945for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4946 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4947do 4948 CC="$ac_save_CC $ac_arg" 4949 if ac_fn_c_try_compile "$LINENO"; then : 4950 ac_cv_prog_cc_c89=$ac_arg 4951fi 4952rm -f core conftest.err conftest.$ac_objext 4953 test "x$ac_cv_prog_cc_c89" != "xno" && break 4954done 4955rm -f conftest.$ac_ext 4956CC=$ac_save_CC 4957 4958fi 4959# AC_CACHE_VAL 4960case "x$ac_cv_prog_cc_c89" in 4961 x) 4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4963$as_echo "none needed" >&6; } ;; 4964 xno) 4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4966$as_echo "unsupported" >&6; } ;; 4967 *) 4968 CC="$CC $ac_cv_prog_cc_c89" 4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4970$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4971esac 4972if test "x$ac_cv_prog_cc_c89" != xno; then : 4973 4974fi 4975 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 4982ac_ext=c 4983ac_cpp='$CPP $CPPFLAGS' 4984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4986ac_compiler_gnu=$ac_cv_c_compiler_gnu 4987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4988$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4989if ${am_cv_prog_cc_c_o+:} false; then : 4990 $as_echo_n "(cached) " >&6 4991else 4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4993/* end confdefs.h. */ 4994 4995int 4996main () 4997{ 4998 4999 ; 5000 return 0; 5001} 5002_ACEOF 5003 # Make sure it works both with $CC and with simple cc. 5004 # Following AC_PROG_CC_C_O, we do the test twice because some 5005 # compilers refuse to overwrite an existing .o file with -o, 5006 # though they will create one. 5007 am_cv_prog_cc_c_o=yes 5008 for am_i in 1 2; do 5009 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5010 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5011 ac_status=$? 5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5013 (exit $ac_status); } \ 5014 && test -f conftest2.$ac_objext; then 5015 : OK 5016 else 5017 am_cv_prog_cc_c_o=no 5018 break 5019 fi 5020 done 5021 rm -f core conftest* 5022 unset am_i 5023fi 5024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5025$as_echo "$am_cv_prog_cc_c_o" >&6; } 5026if test "$am_cv_prog_cc_c_o" != yes; then 5027 # Losing compiler, so override with the script. 5028 # FIXME: It is wrong to rewrite CC. 5029 # But if we don't then we get into trouble of one sort or another. 5030 # A longer-term fix would be to have automake use am__CC in this case, 5031 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5032 CC="$am_aux_dir/compile $CC" 5033fi 5034ac_ext=c 5035ac_cpp='$CPP $CPPFLAGS' 5036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5038ac_compiler_gnu=$ac_cv_c_compiler_gnu 5039 5040DEPDIR="${am__leading_dot}deps" 5041 5042ac_config_commands="$ac_config_commands depfiles" 5043 5044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 5045$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 5046cat > confinc.mk << 'END' 5047am__doit: 5048 @echo this is the am__doit target >confinc.out 5049.PHONY: am__doit 5050END 5051am__include="#" 5052am__quote= 5053# BSD make does it like this. 5054echo '.include "confinc.mk" # ignored' > confmf.BSD 5055# Other make implementations (GNU, Solaris 10, AIX) do it like this. 5056echo 'include confinc.mk # ignored' > confmf.GNU 5057_am_result=no 5058for s in GNU BSD; do 5059 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 5060 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 5061 ac_status=$? 5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5063 (exit $ac_status); } 5064 case $?:`cat confinc.out 2>/dev/null` in #( 5065 '0:this is the am__doit target') : 5066 case $s in #( 5067 BSD) : 5068 am__include='.include' am__quote='"' ;; #( 5069 *) : 5070 am__include='include' am__quote='' ;; 5071esac ;; #( 5072 *) : 5073 ;; 5074esac 5075 if test "$am__include" != "#"; then 5076 _am_result="yes ($s style)" 5077 break 5078 fi 5079done 5080rm -f confinc.* confmf.* 5081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 5082$as_echo "${_am_result}" >&6; } 5083 5084# Check whether --enable-dependency-tracking was given. 5085if test "${enable_dependency_tracking+set}" = set; then : 5086 enableval=$enable_dependency_tracking; 5087fi 5088 5089if test "x$enable_dependency_tracking" != xno; then 5090 am_depcomp="$ac_aux_dir/depcomp" 5091 AMDEPBACKSLASH='\' 5092 am__nodep='_no' 5093fi 5094 if test "x$enable_dependency_tracking" != xno; then 5095 AMDEP_TRUE= 5096 AMDEP_FALSE='#' 5097else 5098 AMDEP_TRUE='#' 5099 AMDEP_FALSE= 5100fi 5101 5102 5103 5104depcc="$CC" am_compiler_list= 5105 5106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5107$as_echo_n "checking dependency style of $depcc... " >&6; } 5108if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5109 $as_echo_n "(cached) " >&6 5110else 5111 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5112 # We make a subdir and do the tests there. Otherwise we can end up 5113 # making bogus files that we don't know about and never remove. For 5114 # instance it was reported that on HP-UX the gcc test will end up 5115 # making a dummy file named 'D' -- because '-MD' means "put the output 5116 # in D". 5117 rm -rf conftest.dir 5118 mkdir conftest.dir 5119 # Copy depcomp to subdir because otherwise we won't find it if we're 5120 # using a relative directory. 5121 cp "$am_depcomp" conftest.dir 5122 cd conftest.dir 5123 # We will build objects and dependencies in a subdirectory because 5124 # it helps to detect inapplicable dependency modes. For instance 5125 # both Tru64's cc and ICC support -MD to output dependencies as a 5126 # side effect of compilation, but ICC will put the dependencies in 5127 # the current directory while Tru64 will put them in the object 5128 # directory. 5129 mkdir sub 5130 5131 am_cv_CC_dependencies_compiler_type=none 5132 if test "$am_compiler_list" = ""; then 5133 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5134 fi 5135 am__universal=false 5136 case " $depcc " in #( 5137 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5138 esac 5139 5140 for depmode in $am_compiler_list; do 5141 # Setup a source with many dependencies, because some compilers 5142 # like to wrap large dependency lists on column 80 (with \), and 5143 # we should not choose a depcomp mode which is confused by this. 5144 # 5145 # We need to recreate these files for each test, as the compiler may 5146 # overwrite some of them when testing with obscure command lines. 5147 # This happens at least with the AIX C compiler. 5148 : > sub/conftest.c 5149 for i in 1 2 3 4 5 6; do 5150 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5151 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5152 # Solaris 10 /bin/sh. 5153 echo '/* dummy */' > sub/conftst$i.h 5154 done 5155 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5156 5157 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5158 # mode. It turns out that the SunPro C++ compiler does not properly 5159 # handle '-M -o', and we need to detect this. Also, some Intel 5160 # versions had trouble with output in subdirs. 5161 am__obj=sub/conftest.${OBJEXT-o} 5162 am__minus_obj="-o $am__obj" 5163 case $depmode in 5164 gcc) 5165 # This depmode causes a compiler race in universal mode. 5166 test "$am__universal" = false || continue 5167 ;; 5168 nosideeffect) 5169 # After this tag, mechanisms are not by side-effect, so they'll 5170 # only be used when explicitly requested. 5171 if test "x$enable_dependency_tracking" = xyes; then 5172 continue 5173 else 5174 break 5175 fi 5176 ;; 5177 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5178 # This compiler won't grok '-c -o', but also, the minuso test has 5179 # not run yet. These depmodes are late enough in the game, and 5180 # so weak that their functioning should not be impacted. 5181 am__obj=conftest.${OBJEXT-o} 5182 am__minus_obj= 5183 ;; 5184 none) break ;; 5185 esac 5186 if depmode=$depmode \ 5187 source=sub/conftest.c object=$am__obj \ 5188 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5189 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5190 >/dev/null 2>conftest.err && 5191 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5192 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5193 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5194 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5195 # icc doesn't choke on unknown options, it will just issue warnings 5196 # or remarks (even with -Werror). So we grep stderr for any message 5197 # that says an option was ignored or not supported. 5198 # When given -MP, icc 7.0 and 7.1 complain thusly: 5199 # icc: Command line warning: ignoring option '-M'; no argument required 5200 # The diagnosis changed in icc 8.0: 5201 # icc: Command line remark: option '-MP' not supported 5202 if (grep 'ignoring option' conftest.err || 5203 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5204 am_cv_CC_dependencies_compiler_type=$depmode 5205 break 5206 fi 5207 fi 5208 done 5209 5210 cd .. 5211 rm -rf conftest.dir 5212else 5213 am_cv_CC_dependencies_compiler_type=none 5214fi 5215 5216fi 5217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5218$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5219CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5220 5221 if 5222 test "x$enable_dependency_tracking" != xno \ 5223 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5224 am__fastdepCC_TRUE= 5225 am__fastdepCC_FALSE='#' 5226else 5227 am__fastdepCC_TRUE='#' 5228 am__fastdepCC_FALSE= 5229fi 5230 5231 5232 5233 5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5 5235$as_echo_n "checking for strerror in -lcposix... " >&6; } 5236if ${ac_cv_lib_cposix_strerror+:} false; then : 5237 $as_echo_n "(cached) " >&6 5238else 5239 ac_check_lib_save_LIBS=$LIBS 5240LIBS="-lcposix $LIBS" 5241cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5242/* end confdefs.h. */ 5243 5244/* Override any GCC internal prototype to avoid an error. 5245 Use char because int might match the return type of a GCC 5246 builtin and then its argument prototype would still apply. */ 5247#ifdef __cplusplus 5248extern "C" 5249#endif 5250char strerror (); 5251int 5252main () 5253{ 5254return strerror (); 5255 ; 5256 return 0; 5257} 5258_ACEOF 5259if ac_fn_c_try_link "$LINENO"; then : 5260 ac_cv_lib_cposix_strerror=yes 5261else 5262 ac_cv_lib_cposix_strerror=no 5263fi 5264rm -f core conftest.err conftest.$ac_objext \ 5265 conftest$ac_exeext conftest.$ac_ext 5266LIBS=$ac_check_lib_save_LIBS 5267fi 5268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5 5269$as_echo "$ac_cv_lib_cposix_strerror" >&6; } 5270if test "x$ac_cv_lib_cposix_strerror" = xyes; then : 5271 LIBS="$LIBS -lcposix" 5272fi 5273 5274 5275 5276 5277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5278$as_echo_n "checking whether ln -s works... " >&6; } 5279LN_S=$as_ln_s 5280if test "$LN_S" = "ln -s"; then 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5282$as_echo "yes" >&6; } 5283else 5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5285$as_echo "no, using $LN_S" >&6; } 5286fi 5287 5288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5289$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5290set x ${MAKE-make} 5291ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5292if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5293 $as_echo_n "(cached) " >&6 5294else 5295 cat >conftest.make <<\_ACEOF 5296SHELL = /bin/sh 5297all: 5298 @echo '@@@%%%=$(MAKE)=@@@%%%' 5299_ACEOF 5300# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5301case `${MAKE-make} -f conftest.make 2>/dev/null` in 5302 *@@@%%%=?*=@@@%%%*) 5303 eval ac_cv_prog_make_${ac_make}_set=yes;; 5304 *) 5305 eval ac_cv_prog_make_${ac_make}_set=no;; 5306esac 5307rm -f conftest.make 5308fi 5309if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5311$as_echo "yes" >&6; } 5312 SET_MAKE= 5313else 5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5315$as_echo "no" >&6; } 5316 SET_MAKE="MAKE=${MAKE-make}" 5317fi 5318 5319ac_ext=c 5320ac_cpp='$CPP $CPPFLAGS' 5321ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5322ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5323ac_compiler_gnu=$ac_cv_c_compiler_gnu 5324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5325$as_echo_n "checking how to run the C preprocessor... " >&6; } 5326# On Suns, sometimes $CPP names a directory. 5327if test -n "$CPP" && test -d "$CPP"; then 5328 CPP= 5329fi 5330if test -z "$CPP"; then 5331 if ${ac_cv_prog_CPP+:} false; then : 5332 $as_echo_n "(cached) " >&6 5333else 5334 # Double quotes because CPP needs to be expanded 5335 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5336 do 5337 ac_preproc_ok=false 5338for ac_c_preproc_warn_flag in '' yes 5339do 5340 # Use a header file that comes with gcc, so configuring glibc 5341 # with a fresh cross-compiler works. 5342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5343 # <limits.h> exists even on freestanding compilers. 5344 # On the NeXT, cc -E runs the code through the compiler's parser, 5345 # not just through cpp. "Syntax error" is here to catch this case. 5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5347/* end confdefs.h. */ 5348#ifdef __STDC__ 5349# include <limits.h> 5350#else 5351# include <assert.h> 5352#endif 5353 Syntax error 5354_ACEOF 5355if ac_fn_c_try_cpp "$LINENO"; then : 5356 5357else 5358 # Broken: fails on valid input. 5359continue 5360fi 5361rm -f conftest.err conftest.i conftest.$ac_ext 5362 5363 # OK, works on sane cases. Now check whether nonexistent headers 5364 # can be detected and how. 5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5366/* end confdefs.h. */ 5367#include <ac_nonexistent.h> 5368_ACEOF 5369if ac_fn_c_try_cpp "$LINENO"; then : 5370 # Broken: success on invalid input. 5371continue 5372else 5373 # Passes both tests. 5374ac_preproc_ok=: 5375break 5376fi 5377rm -f conftest.err conftest.i conftest.$ac_ext 5378 5379done 5380# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5381rm -f conftest.i conftest.err conftest.$ac_ext 5382if $ac_preproc_ok; then : 5383 break 5384fi 5385 5386 done 5387 ac_cv_prog_CPP=$CPP 5388 5389fi 5390 CPP=$ac_cv_prog_CPP 5391else 5392 ac_cv_prog_CPP=$CPP 5393fi 5394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5395$as_echo "$CPP" >&6; } 5396ac_preproc_ok=false 5397for ac_c_preproc_warn_flag in '' yes 5398do 5399 # Use a header file that comes with gcc, so configuring glibc 5400 # with a fresh cross-compiler works. 5401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5402 # <limits.h> exists even on freestanding compilers. 5403 # On the NeXT, cc -E runs the code through the compiler's parser, 5404 # not just through cpp. "Syntax error" is here to catch this case. 5405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5406/* end confdefs.h. */ 5407#ifdef __STDC__ 5408# include <limits.h> 5409#else 5410# include <assert.h> 5411#endif 5412 Syntax error 5413_ACEOF 5414if ac_fn_c_try_cpp "$LINENO"; then : 5415 5416else 5417 # Broken: fails on valid input. 5418continue 5419fi 5420rm -f conftest.err conftest.i conftest.$ac_ext 5421 5422 # OK, works on sane cases. Now check whether nonexistent headers 5423 # can be detected and how. 5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5425/* end confdefs.h. */ 5426#include <ac_nonexistent.h> 5427_ACEOF 5428if ac_fn_c_try_cpp "$LINENO"; then : 5429 # Broken: success on invalid input. 5430continue 5431else 5432 # Passes both tests. 5433ac_preproc_ok=: 5434break 5435fi 5436rm -f conftest.err conftest.i conftest.$ac_ext 5437 5438done 5439# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5440rm -f conftest.i conftest.err conftest.$ac_ext 5441if $ac_preproc_ok; then : 5442 5443else 5444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5445$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5446as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5447See \`config.log' for more details" "$LINENO" 5; } 5448fi 5449 5450ac_ext=c 5451ac_cpp='$CPP $CPPFLAGS' 5452ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5453ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5454ac_compiler_gnu=$ac_cv_c_compiler_gnu 5455 5456for ac_prog in flex lex 5457do 5458 # Extract the first word of "$ac_prog", so it can be a program name with args. 5459set dummy $ac_prog; ac_word=$2 5460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5461$as_echo_n "checking for $ac_word... " >&6; } 5462if ${ac_cv_prog_LEX+:} false; then : 5463 $as_echo_n "(cached) " >&6 5464else 5465 if test -n "$LEX"; then 5466 ac_cv_prog_LEX="$LEX" # Let the user override the test. 5467else 5468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5469for as_dir in $PATH 5470do 5471 IFS=$as_save_IFS 5472 test -z "$as_dir" && as_dir=. 5473 for ac_exec_ext in '' $ac_executable_extensions; do 5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5475 ac_cv_prog_LEX="$ac_prog" 5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5477 break 2 5478 fi 5479done 5480 done 5481IFS=$as_save_IFS 5482 5483fi 5484fi 5485LEX=$ac_cv_prog_LEX 5486if test -n "$LEX"; then 5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 5488$as_echo "$LEX" >&6; } 5489else 5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5491$as_echo "no" >&6; } 5492fi 5493 5494 5495 test -n "$LEX" && break 5496done 5497test -n "$LEX" || LEX=":" 5498 5499if test "x$LEX" != "x:"; then 5500 cat >conftest.l <<_ACEOF 5501%% 5502a { ECHO; } 5503b { REJECT; } 5504c { yymore (); } 5505d { yyless (1); } 5506e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ 5507 yyless ((input () != 0)); } 5508f { unput (yytext[0]); } 5509. { BEGIN INITIAL; } 5510%% 5511#ifdef YYTEXT_POINTER 5512extern char *yytext; 5513#endif 5514int 5515main (void) 5516{ 5517 return ! yylex () + ! yywrap (); 5518} 5519_ACEOF 5520{ { ac_try="$LEX conftest.l" 5521case "(($ac_try" in 5522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5523 *) ac_try_echo=$ac_try;; 5524esac 5525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5526$as_echo "$ac_try_echo"; } >&5 5527 (eval "$LEX conftest.l") 2>&5 5528 ac_status=$? 5529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5530 test $ac_status = 0; } 5531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 5532$as_echo_n "checking lex output file root... " >&6; } 5533if ${ac_cv_prog_lex_root+:} false; then : 5534 $as_echo_n "(cached) " >&6 5535else 5536 5537if test -f lex.yy.c; then 5538 ac_cv_prog_lex_root=lex.yy 5539elif test -f lexyy.c; then 5540 ac_cv_prog_lex_root=lexyy 5541else 5542 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 5543fi 5544fi 5545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 5546$as_echo "$ac_cv_prog_lex_root" >&6; } 5547LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 5548 5549if test -z "${LEXLIB+set}"; then 5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 5551$as_echo_n "checking lex library... " >&6; } 5552if ${ac_cv_lib_lex+:} false; then : 5553 $as_echo_n "(cached) " >&6 5554else 5555 5556 ac_save_LIBS=$LIBS 5557 ac_cv_lib_lex='none needed' 5558 for ac_lib in '' -lfl -ll; do 5559 LIBS="$ac_lib $ac_save_LIBS" 5560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5561/* end confdefs.h. */ 5562`cat $LEX_OUTPUT_ROOT.c` 5563_ACEOF 5564if ac_fn_c_try_link "$LINENO"; then : 5565 ac_cv_lib_lex=$ac_lib 5566fi 5567rm -f core conftest.err conftest.$ac_objext \ 5568 conftest$ac_exeext conftest.$ac_ext 5569 test "$ac_cv_lib_lex" != 'none needed' && break 5570 done 5571 LIBS=$ac_save_LIBS 5572 5573fi 5574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 5575$as_echo "$ac_cv_lib_lex" >&6; } 5576 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 5577fi 5578 5579 5580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 5581$as_echo_n "checking whether yytext is a pointer... " >&6; } 5582if ${ac_cv_prog_lex_yytext_pointer+:} false; then : 5583 $as_echo_n "(cached) " >&6 5584else 5585 # POSIX says lex can declare yytext either as a pointer or an array; the 5586# default is implementation-dependent. Figure out which it is, since 5587# not all implementations provide the %pointer and %array declarations. 5588ac_cv_prog_lex_yytext_pointer=no 5589ac_save_LIBS=$LIBS 5590LIBS="$LEXLIB $ac_save_LIBS" 5591cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5592/* end confdefs.h. */ 5593 5594 #define YYTEXT_POINTER 1 5595`cat $LEX_OUTPUT_ROOT.c` 5596_ACEOF 5597if ac_fn_c_try_link "$LINENO"; then : 5598 ac_cv_prog_lex_yytext_pointer=yes 5599fi 5600rm -f core conftest.err conftest.$ac_objext \ 5601 conftest$ac_exeext conftest.$ac_ext 5602LIBS=$ac_save_LIBS 5603 5604fi 5605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 5606$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 5607if test $ac_cv_prog_lex_yytext_pointer = yes; then 5608 5609$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 5610 5611fi 5612rm -f conftest.l $LEX_OUTPUT_ROOT.c 5613 5614fi 5615if test "$LEX" = :; then 5616 LEX=${am_missing_run}flex 5617fi 5618for ac_prog in 'bison -y' byacc 5619do 5620 # Extract the first word of "$ac_prog", so it can be a program name with args. 5621set dummy $ac_prog; ac_word=$2 5622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5623$as_echo_n "checking for $ac_word... " >&6; } 5624if ${ac_cv_prog_YACC+:} false; then : 5625 $as_echo_n "(cached) " >&6 5626else 5627 if test -n "$YACC"; then 5628 ac_cv_prog_YACC="$YACC" # Let the user override the test. 5629else 5630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5631for as_dir in $PATH 5632do 5633 IFS=$as_save_IFS 5634 test -z "$as_dir" && as_dir=. 5635 for ac_exec_ext in '' $ac_executable_extensions; do 5636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5637 ac_cv_prog_YACC="$ac_prog" 5638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5639 break 2 5640 fi 5641done 5642 done 5643IFS=$as_save_IFS 5644 5645fi 5646fi 5647YACC=$ac_cv_prog_YACC 5648if test -n "$YACC"; then 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 5650$as_echo "$YACC" >&6; } 5651else 5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5653$as_echo "no" >&6; } 5654fi 5655 5656 5657 test -n "$YACC" && break 5658done 5659test -n "$YACC" || YACC="yacc" 5660 5661 5662 5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5 5664$as_echo_n "checking 32-bit host C ABI... " >&6; } 5665if ${gl_cv_host_cpu_c_abi_32bit+:} false; then : 5666 $as_echo_n "(cached) " >&6 5667else 5668 if test -n "$gl_cv_host_cpu_c_abi"; then 5669 case "$gl_cv_host_cpu_c_abi" in 5670 i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) 5671 gl_cv_host_cpu_c_abi_32bit=yes ;; 5672 x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) 5673 gl_cv_host_cpu_c_abi_32bit=no ;; 5674 *) 5675 gl_cv_host_cpu_c_abi_32bit=unknown ;; 5676 esac 5677 else 5678 case "$host_cpu" in 5679 5680 # CPUs that only support a 32-bit ABI. 5681 arc \ 5682 | bfin \ 5683 | cris* \ 5684 | csky \ 5685 | epiphany \ 5686 | ft32 \ 5687 | h8300 \ 5688 | m68k \ 5689 | microblaze | microblazeel \ 5690 | nds32 | nds32le | nds32be \ 5691 | nios2 | nios2eb | nios2el \ 5692 | or1k* \ 5693 | or32 \ 5694 | sh | sh1234 | sh1234elb \ 5695 | tic6x \ 5696 | xtensa* ) 5697 gl_cv_host_cpu_c_abi_32bit=yes 5698 ;; 5699 5700 # CPUs that only support a 64-bit ABI. 5701 alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \ 5702 | mmix ) 5703 gl_cv_host_cpu_c_abi_32bit=no 5704 ;; 5705 5706 i[34567]86 ) 5707 gl_cv_host_cpu_c_abi_32bit=yes 5708 ;; 5709 5710 x86_64 ) 5711 # On x86_64 systems, the C compiler may be generating code in one of 5712 # these ABIs: 5713 # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. 5714 # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 5715 # with native Windows (mingw, MSVC). 5716 # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. 5717 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. 5718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5719/* end confdefs.h. */ 5720#if (defined __x86_64__ || defined __amd64__ \ 5721 || defined _M_X64 || defined _M_AMD64) \ 5722 && !(defined __ILP32__ || defined _ILP32) 5723 int ok; 5724 #else 5725 error fail 5726 #endif 5727 5728_ACEOF 5729if ac_fn_c_try_compile "$LINENO"; then : 5730 gl_cv_host_cpu_c_abi_32bit=no 5731else 5732 gl_cv_host_cpu_c_abi_32bit=yes 5733fi 5734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5735 ;; 5736 5737 arm* | aarch64 ) 5738 # Assume arm with EABI. 5739 # On arm64 systems, the C compiler may be generating code in one of 5740 # these ABIs: 5741 # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. 5742 # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. 5743 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. 5744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5745/* end confdefs.h. */ 5746#if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32) 5747 int ok; 5748 #else 5749 error fail 5750 #endif 5751 5752_ACEOF 5753if ac_fn_c_try_compile "$LINENO"; then : 5754 gl_cv_host_cpu_c_abi_32bit=no 5755else 5756 gl_cv_host_cpu_c_abi_32bit=yes 5757fi 5758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5759 ;; 5760 5761 hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) 5762 # On hppa, the C compiler may be generating 32-bit code or 64-bit 5763 # code. In the latter case, it defines _LP64 and __LP64__. 5764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5765/* end confdefs.h. */ 5766#ifdef __LP64__ 5767 int ok; 5768 #else 5769 error fail 5770 #endif 5771 5772_ACEOF 5773if ac_fn_c_try_compile "$LINENO"; then : 5774 gl_cv_host_cpu_c_abi_32bit=no 5775else 5776 gl_cv_host_cpu_c_abi_32bit=yes 5777fi 5778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5779 ;; 5780 5781 ia64* ) 5782 # On ia64 on HP-UX, the C compiler may be generating 64-bit code or 5783 # 32-bit code. In the latter case, it defines _ILP32. 5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5785/* end confdefs.h. */ 5786#ifdef _ILP32 5787 int ok; 5788 #else 5789 error fail 5790 #endif 5791 5792_ACEOF 5793if ac_fn_c_try_compile "$LINENO"; then : 5794 gl_cv_host_cpu_c_abi_32bit=yes 5795else 5796 gl_cv_host_cpu_c_abi_32bit=no 5797fi 5798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5799 ;; 5800 5801 mips* ) 5802 # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this 5803 # at 32. 5804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5805/* end confdefs.h. */ 5806#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) 5807 int ok; 5808 #else 5809 error fail 5810 #endif 5811 5812_ACEOF 5813if ac_fn_c_try_compile "$LINENO"; then : 5814 gl_cv_host_cpu_c_abi_32bit=no 5815else 5816 gl_cv_host_cpu_c_abi_32bit=yes 5817fi 5818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5819 ;; 5820 5821 powerpc* ) 5822 # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. 5823 # No need to distinguish them here; the caller may distinguish 5824 # them based on the OS. 5825 # On powerpc64 systems, the C compiler may still be generating 5826 # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may 5827 # be generating 64-bit code. 5828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5829/* end confdefs.h. */ 5830#if defined __powerpc64__ || defined _ARCH_PPC64 5831 int ok; 5832 #else 5833 error fail 5834 #endif 5835 5836_ACEOF 5837if ac_fn_c_try_compile "$LINENO"; then : 5838 gl_cv_host_cpu_c_abi_32bit=no 5839else 5840 gl_cv_host_cpu_c_abi_32bit=yes 5841fi 5842rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5843 ;; 5844 5845 rs6000 ) 5846 gl_cv_host_cpu_c_abi_32bit=yes 5847 ;; 5848 5849 riscv32 | riscv64 ) 5850 # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. 5851 # Size of 'long' and 'void *': 5852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5853/* end confdefs.h. */ 5854#if defined __LP64__ 5855 int ok; 5856 #else 5857 error fail 5858 #endif 5859 5860_ACEOF 5861if ac_fn_c_try_compile "$LINENO"; then : 5862 gl_cv_host_cpu_c_abi_32bit=no 5863else 5864 gl_cv_host_cpu_c_abi_32bit=yes 5865fi 5866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5867 ;; 5868 5869 s390* ) 5870 # On s390x, the C compiler may be generating 64-bit (= s390x) code 5871 # or 31-bit (= s390) code. 5872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5873/* end confdefs.h. */ 5874#if defined __LP64__ || defined __s390x__ 5875 int ok; 5876 #else 5877 error fail 5878 #endif 5879 5880_ACEOF 5881if ac_fn_c_try_compile "$LINENO"; then : 5882 gl_cv_host_cpu_c_abi_32bit=no 5883else 5884 gl_cv_host_cpu_c_abi_32bit=yes 5885fi 5886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5887 ;; 5888 5889 sparc | sparc64 ) 5890 # UltraSPARCs running Linux have `uname -m` = "sparc64", but the 5891 # C compiler still generates 32-bit code. 5892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5893/* end confdefs.h. */ 5894#if defined __sparcv9 || defined __arch64__ 5895 int ok; 5896 #else 5897 error fail 5898 #endif 5899 5900_ACEOF 5901if ac_fn_c_try_compile "$LINENO"; then : 5902 gl_cv_host_cpu_c_abi_32bit=no 5903else 5904 gl_cv_host_cpu_c_abi_32bit=yes 5905fi 5906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5907 ;; 5908 5909 *) 5910 gl_cv_host_cpu_c_abi_32bit=unknown 5911 ;; 5912 esac 5913 fi 5914 5915fi 5916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5 5917$as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; } 5918 5919 HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit" 5920 5921 5922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5923$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5924if ${ac_cv_path_GREP+:} false; then : 5925 $as_echo_n "(cached) " >&6 5926else 5927 if test -z "$GREP"; then 5928 ac_path_GREP_found=false 5929 # Loop through the user's path and test for each of PROGNAME-LIST 5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5931for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5932do 5933 IFS=$as_save_IFS 5934 test -z "$as_dir" && as_dir=. 5935 for ac_prog in grep ggrep; do 5936 for ac_exec_ext in '' $ac_executable_extensions; do 5937 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5938 as_fn_executable_p "$ac_path_GREP" || continue 5939# Check for GNU ac_path_GREP and select it if it is found. 5940 # Check for GNU $ac_path_GREP 5941case `"$ac_path_GREP" --version 2>&1` in 5942*GNU*) 5943 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5944*) 5945 ac_count=0 5946 $as_echo_n 0123456789 >"conftest.in" 5947 while : 5948 do 5949 cat "conftest.in" "conftest.in" >"conftest.tmp" 5950 mv "conftest.tmp" "conftest.in" 5951 cp "conftest.in" "conftest.nl" 5952 $as_echo 'GREP' >> "conftest.nl" 5953 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5954 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5955 as_fn_arith $ac_count + 1 && ac_count=$as_val 5956 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5957 # Best one so far, save it but keep looking for a better one 5958 ac_cv_path_GREP="$ac_path_GREP" 5959 ac_path_GREP_max=$ac_count 5960 fi 5961 # 10*(2^10) chars as input seems more than enough 5962 test $ac_count -gt 10 && break 5963 done 5964 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5965esac 5966 5967 $ac_path_GREP_found && break 3 5968 done 5969 done 5970 done 5971IFS=$as_save_IFS 5972 if test -z "$ac_cv_path_GREP"; then 5973 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5974 fi 5975else 5976 ac_cv_path_GREP=$GREP 5977fi 5978 5979fi 5980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5981$as_echo "$ac_cv_path_GREP" >&6; } 5982 GREP="$ac_cv_path_GREP" 5983 5984 5985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5986$as_echo_n "checking for egrep... " >&6; } 5987if ${ac_cv_path_EGREP+:} false; then : 5988 $as_echo_n "(cached) " >&6 5989else 5990 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5991 then ac_cv_path_EGREP="$GREP -E" 5992 else 5993 if test -z "$EGREP"; then 5994 ac_path_EGREP_found=false 5995 # Loop through the user's path and test for each of PROGNAME-LIST 5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5997for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5998do 5999 IFS=$as_save_IFS 6000 test -z "$as_dir" && as_dir=. 6001 for ac_prog in egrep; do 6002 for ac_exec_ext in '' $ac_executable_extensions; do 6003 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6004 as_fn_executable_p "$ac_path_EGREP" || continue 6005# Check for GNU ac_path_EGREP and select it if it is found. 6006 # Check for GNU $ac_path_EGREP 6007case `"$ac_path_EGREP" --version 2>&1` in 6008*GNU*) 6009 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6010*) 6011 ac_count=0 6012 $as_echo_n 0123456789 >"conftest.in" 6013 while : 6014 do 6015 cat "conftest.in" "conftest.in" >"conftest.tmp" 6016 mv "conftest.tmp" "conftest.in" 6017 cp "conftest.in" "conftest.nl" 6018 $as_echo 'EGREP' >> "conftest.nl" 6019 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6020 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6021 as_fn_arith $ac_count + 1 && ac_count=$as_val 6022 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 6023 # Best one so far, save it but keep looking for a better one 6024 ac_cv_path_EGREP="$ac_path_EGREP" 6025 ac_path_EGREP_max=$ac_count 6026 fi 6027 # 10*(2^10) chars as input seems more than enough 6028 test $ac_count -gt 10 && break 6029 done 6030 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6031esac 6032 6033 $ac_path_EGREP_found && break 3 6034 done 6035 done 6036 done 6037IFS=$as_save_IFS 6038 if test -z "$ac_cv_path_EGREP"; then 6039 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6040 fi 6041else 6042 ac_cv_path_EGREP=$EGREP 6043fi 6044 6045 fi 6046fi 6047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 6048$as_echo "$ac_cv_path_EGREP" >&6; } 6049 EGREP="$ac_cv_path_EGREP" 6050 6051 6052 6053 6054 6055 6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5 6057$as_echo_n "checking for ELF binary format... " >&6; } 6058if ${gl_cv_elf+:} false; then : 6059 $as_echo_n "(cached) " >&6 6060else 6061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6062/* end confdefs.h. */ 6063#ifdef __ELF__ 6064 Extensible Linking Format 6065 #endif 6066 6067_ACEOF 6068if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6069 $EGREP "Extensible Linking Format" >/dev/null 2>&1; then : 6070 gl_cv_elf=yes 6071else 6072 gl_cv_elf=no 6073fi 6074rm -f conftest* 6075 6076 6077fi 6078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5 6079$as_echo "$gl_cv_elf" >&6; } 6080 if test $gl_cv_elf; then 6081 # Extract the ELF class of a file (5th byte) in decimal. 6082 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header 6083 if od -A x < /dev/null >/dev/null 2>/dev/null; then 6084 # Use POSIX od. 6085 func_elfclass () 6086 { 6087 od -A n -t d1 -j 4 -N 1 6088 } 6089 else 6090 # Use BSD hexdump. 6091 func_elfclass () 6092 { 6093 dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "' 6094 echo 6095 } 6096 fi 6097 case $HOST_CPU_C_ABI_32BIT in 6098 yes) 6099 # 32-bit ABI. 6100 acl_is_expected_elfclass () 6101 { 6102 test "`func_elfclass | sed -e 's/[ ]//g'`" = 1 6103 } 6104 ;; 6105 no) 6106 # 64-bit ABI. 6107 acl_is_expected_elfclass () 6108 { 6109 test "`func_elfclass | sed -e 's/[ ]//g'`" = 2 6110 } 6111 ;; 6112 *) 6113 # Unknown. 6114 acl_is_expected_elfclass () 6115 { 6116 : 6117 } 6118 ;; 6119 esac 6120 else 6121 acl_is_expected_elfclass () 6122 { 6123 : 6124 } 6125 fi 6126 6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5 6128$as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; } 6129if ${acl_cv_libdirstems+:} false; then : 6130 $as_echo_n "(cached) " >&6 6131else 6132 acl_libdirstem=lib 6133 acl_libdirstem2= 6134 acl_libdirstem3= 6135 case "$host_os" in 6136 solaris*) 6137 if test $HOST_CPU_C_ABI_32BIT = no; then 6138 acl_libdirstem2=lib/64 6139 case "$host_cpu" in 6140 sparc*) acl_libdirstem3=lib/sparcv9 ;; 6141 i*86 | x86_64) acl_libdirstem3=lib/amd64 ;; 6142 esac 6143 fi 6144 ;; 6145 *) 6146 searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \ 6147 | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 6148 if test $HOST_CPU_C_ABI_32BIT != no; then 6149 # 32-bit or unknown ABI. 6150 if test -d /usr/lib32; then 6151 acl_libdirstem2=lib32 6152 fi 6153 fi 6154 if test $HOST_CPU_C_ABI_32BIT != yes; then 6155 # 64-bit or unknown ABI. 6156 if test -d /usr/lib64; then 6157 acl_libdirstem3=lib64 6158 fi 6159 fi 6160 if test -n "$searchpath"; then 6161 acl_save_IFS="${IFS= }"; IFS=":" 6162 for searchdir in $searchpath; do 6163 if test -d "$searchdir"; then 6164 case "$searchdir" in 6165 */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;; 6166 */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;; 6167 */../ | */.. ) 6168 # Better ignore directories of this form. They are misleading. 6169 ;; 6170 *) searchdir=`cd "$searchdir" && pwd` 6171 case "$searchdir" in 6172 */lib32 ) acl_libdirstem2=lib32 ;; 6173 */lib64 ) acl_libdirstem3=lib64 ;; 6174 esac ;; 6175 esac 6176 fi 6177 done 6178 IFS="$acl_save_IFS" 6179 if test $HOST_CPU_C_ABI_32BIT = yes; then 6180 # 32-bit ABI. 6181 acl_libdirstem3= 6182 fi 6183 if test $HOST_CPU_C_ABI_32BIT = no; then 6184 # 64-bit ABI. 6185 acl_libdirstem2= 6186 fi 6187 fi 6188 ;; 6189 esac 6190 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 6191 test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem" 6192 acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3" 6193 6194fi 6195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5 6196$as_echo "$acl_cv_libdirstems" >&6; } 6197 acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` 6198 acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'` 6199 acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'` 6200 6201 6202 if test "X$prefix" = "XNONE"; then 6203 acl_final_prefix="$ac_default_prefix" 6204 else 6205 acl_final_prefix="$prefix" 6206 fi 6207 if test "X$exec_prefix" = "XNONE"; then 6208 acl_final_exec_prefix='${prefix}' 6209 else 6210 acl_final_exec_prefix="$exec_prefix" 6211 fi 6212 acl_save_prefix="$prefix" 6213 prefix="$acl_final_prefix" 6214 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 6215 prefix="$acl_save_prefix" 6216 6217 6218 6219 6220 6221 6222 6223 use_additional=yes 6224 6225 acl_save_prefix="$prefix" 6226 prefix="$acl_final_prefix" 6227 acl_save_exec_prefix="$exec_prefix" 6228 exec_prefix="$acl_final_exec_prefix" 6229 6230 eval additional_includedir=\"$includedir\" 6231 eval additional_libdir=\"$libdir\" 6232 6233 exec_prefix="$acl_save_exec_prefix" 6234 prefix="$acl_save_prefix" 6235 6236 6237# Check whether --with-lib-prefix was given. 6238if test "${with_lib_prefix+set}" = set; then : 6239 withval=$with_lib_prefix; 6240 if test "X$withval" = "Xno"; then 6241 use_additional=no 6242 else 6243 if test "X$withval" = "X"; then 6244 6245 acl_save_prefix="$prefix" 6246 prefix="$acl_final_prefix" 6247 acl_save_exec_prefix="$exec_prefix" 6248 exec_prefix="$acl_final_exec_prefix" 6249 6250 eval additional_includedir=\"$includedir\" 6251 eval additional_libdir=\"$libdir\" 6252 6253 exec_prefix="$acl_save_exec_prefix" 6254 prefix="$acl_save_prefix" 6255 6256 else 6257 additional_includedir="$withval/include" 6258 additional_libdir="$withval/$acl_libdirstem" 6259 fi 6260 fi 6261 6262fi 6263 6264 if test $use_additional = yes; then 6265 if test "X$additional_includedir" != "X/usr/include"; then 6266 haveit= 6267 for x in $CPPFLAGS; do 6268 6269 acl_save_prefix="$prefix" 6270 prefix="$acl_final_prefix" 6271 acl_save_exec_prefix="$exec_prefix" 6272 exec_prefix="$acl_final_exec_prefix" 6273 eval x=\"$x\" 6274 exec_prefix="$acl_save_exec_prefix" 6275 prefix="$acl_save_prefix" 6276 6277 if test "X$x" = "X-I$additional_includedir"; then 6278 haveit=yes 6279 break 6280 fi 6281 done 6282 if test -z "$haveit"; then 6283 if test "X$additional_includedir" = "X/usr/local/include"; then 6284 if test -n "$GCC"; then 6285 case $host_os in 6286 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 6287 esac 6288 fi 6289 fi 6290 if test -z "$haveit"; then 6291 if test -d "$additional_includedir"; then 6292 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" 6293 fi 6294 fi 6295 fi 6296 fi 6297 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 6298 haveit= 6299 for x in $LDFLAGS; do 6300 6301 acl_save_prefix="$prefix" 6302 prefix="$acl_final_prefix" 6303 acl_save_exec_prefix="$exec_prefix" 6304 exec_prefix="$acl_final_exec_prefix" 6305 eval x=\"$x\" 6306 exec_prefix="$acl_save_exec_prefix" 6307 prefix="$acl_save_prefix" 6308 6309 if test "X$x" = "X-L$additional_libdir"; then 6310 haveit=yes 6311 break 6312 fi 6313 done 6314 if test -z "$haveit"; then 6315 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 6316 if test -n "$GCC"; then 6317 case $host_os in 6318 linux*) haveit=yes;; 6319 esac 6320 fi 6321 fi 6322 if test -z "$haveit"; then 6323 if test -d "$additional_libdir"; then 6324 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" 6325 fi 6326 fi 6327 fi 6328 fi 6329 fi 6330 6331enable_win32_dll=yes 6332 6333case $host in 6334*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 6335 if test -n "$ac_tool_prefix"; then 6336 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 6337set dummy ${ac_tool_prefix}as; ac_word=$2 6338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6339$as_echo_n "checking for $ac_word... " >&6; } 6340if ${ac_cv_prog_AS+:} false; then : 6341 $as_echo_n "(cached) " >&6 6342else 6343 if test -n "$AS"; then 6344 ac_cv_prog_AS="$AS" # Let the user override the test. 6345else 6346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6347for as_dir in $PATH 6348do 6349 IFS=$as_save_IFS 6350 test -z "$as_dir" && as_dir=. 6351 for ac_exec_ext in '' $ac_executable_extensions; do 6352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6353 ac_cv_prog_AS="${ac_tool_prefix}as" 6354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6355 break 2 6356 fi 6357done 6358 done 6359IFS=$as_save_IFS 6360 6361fi 6362fi 6363AS=$ac_cv_prog_AS 6364if test -n "$AS"; then 6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 6366$as_echo "$AS" >&6; } 6367else 6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6369$as_echo "no" >&6; } 6370fi 6371 6372 6373fi 6374if test -z "$ac_cv_prog_AS"; then 6375 ac_ct_AS=$AS 6376 # Extract the first word of "as", so it can be a program name with args. 6377set dummy as; ac_word=$2 6378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6379$as_echo_n "checking for $ac_word... " >&6; } 6380if ${ac_cv_prog_ac_ct_AS+:} false; then : 6381 $as_echo_n "(cached) " >&6 6382else 6383 if test -n "$ac_ct_AS"; then 6384 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 6385else 6386as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6387for as_dir in $PATH 6388do 6389 IFS=$as_save_IFS 6390 test -z "$as_dir" && as_dir=. 6391 for ac_exec_ext in '' $ac_executable_extensions; do 6392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6393 ac_cv_prog_ac_ct_AS="as" 6394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6395 break 2 6396 fi 6397done 6398 done 6399IFS=$as_save_IFS 6400 6401fi 6402fi 6403ac_ct_AS=$ac_cv_prog_ac_ct_AS 6404if test -n "$ac_ct_AS"; then 6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 6406$as_echo "$ac_ct_AS" >&6; } 6407else 6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6409$as_echo "no" >&6; } 6410fi 6411 6412 if test "x$ac_ct_AS" = x; then 6413 AS="false" 6414 else 6415 case $cross_compiling:$ac_tool_warned in 6416yes:) 6417{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6418$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6419ac_tool_warned=yes ;; 6420esac 6421 AS=$ac_ct_AS 6422 fi 6423else 6424 AS="$ac_cv_prog_AS" 6425fi 6426 6427 if test -n "$ac_tool_prefix"; then 6428 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6429set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6431$as_echo_n "checking for $ac_word... " >&6; } 6432if ${ac_cv_prog_DLLTOOL+:} false; then : 6433 $as_echo_n "(cached) " >&6 6434else 6435 if test -n "$DLLTOOL"; then 6436 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6437else 6438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6439for as_dir in $PATH 6440do 6441 IFS=$as_save_IFS 6442 test -z "$as_dir" && as_dir=. 6443 for ac_exec_ext in '' $ac_executable_extensions; do 6444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6445 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6447 break 2 6448 fi 6449done 6450 done 6451IFS=$as_save_IFS 6452 6453fi 6454fi 6455DLLTOOL=$ac_cv_prog_DLLTOOL 6456if test -n "$DLLTOOL"; then 6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6458$as_echo "$DLLTOOL" >&6; } 6459else 6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6461$as_echo "no" >&6; } 6462fi 6463 6464 6465fi 6466if test -z "$ac_cv_prog_DLLTOOL"; then 6467 ac_ct_DLLTOOL=$DLLTOOL 6468 # Extract the first word of "dlltool", so it can be a program name with args. 6469set dummy dlltool; ac_word=$2 6470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6471$as_echo_n "checking for $ac_word... " >&6; } 6472if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6473 $as_echo_n "(cached) " >&6 6474else 6475 if test -n "$ac_ct_DLLTOOL"; then 6476 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6477else 6478as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6479for as_dir in $PATH 6480do 6481 IFS=$as_save_IFS 6482 test -z "$as_dir" && as_dir=. 6483 for ac_exec_ext in '' $ac_executable_extensions; do 6484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6485 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6487 break 2 6488 fi 6489done 6490 done 6491IFS=$as_save_IFS 6492 6493fi 6494fi 6495ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6496if test -n "$ac_ct_DLLTOOL"; then 6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6498$as_echo "$ac_ct_DLLTOOL" >&6; } 6499else 6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6501$as_echo "no" >&6; } 6502fi 6503 6504 if test "x$ac_ct_DLLTOOL" = x; then 6505 DLLTOOL="false" 6506 else 6507 case $cross_compiling:$ac_tool_warned in 6508yes:) 6509{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6510$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6511ac_tool_warned=yes ;; 6512esac 6513 DLLTOOL=$ac_ct_DLLTOOL 6514 fi 6515else 6516 DLLTOOL="$ac_cv_prog_DLLTOOL" 6517fi 6518 6519 if test -n "$ac_tool_prefix"; then 6520 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6521set dummy ${ac_tool_prefix}objdump; ac_word=$2 6522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6523$as_echo_n "checking for $ac_word... " >&6; } 6524if ${ac_cv_prog_OBJDUMP+:} false; then : 6525 $as_echo_n "(cached) " >&6 6526else 6527 if test -n "$OBJDUMP"; then 6528 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6529else 6530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6531for as_dir in $PATH 6532do 6533 IFS=$as_save_IFS 6534 test -z "$as_dir" && as_dir=. 6535 for ac_exec_ext in '' $ac_executable_extensions; do 6536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6537 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6539 break 2 6540 fi 6541done 6542 done 6543IFS=$as_save_IFS 6544 6545fi 6546fi 6547OBJDUMP=$ac_cv_prog_OBJDUMP 6548if test -n "$OBJDUMP"; then 6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6550$as_echo "$OBJDUMP" >&6; } 6551else 6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6553$as_echo "no" >&6; } 6554fi 6555 6556 6557fi 6558if test -z "$ac_cv_prog_OBJDUMP"; then 6559 ac_ct_OBJDUMP=$OBJDUMP 6560 # Extract the first word of "objdump", so it can be a program name with args. 6561set dummy objdump; ac_word=$2 6562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6563$as_echo_n "checking for $ac_word... " >&6; } 6564if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6565 $as_echo_n "(cached) " >&6 6566else 6567 if test -n "$ac_ct_OBJDUMP"; then 6568 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6569else 6570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6571for as_dir in $PATH 6572do 6573 IFS=$as_save_IFS 6574 test -z "$as_dir" && as_dir=. 6575 for ac_exec_ext in '' $ac_executable_extensions; do 6576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6577 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6579 break 2 6580 fi 6581done 6582 done 6583IFS=$as_save_IFS 6584 6585fi 6586fi 6587ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6588if test -n "$ac_ct_OBJDUMP"; then 6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6590$as_echo "$ac_ct_OBJDUMP" >&6; } 6591else 6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6593$as_echo "no" >&6; } 6594fi 6595 6596 if test "x$ac_ct_OBJDUMP" = x; then 6597 OBJDUMP="false" 6598 else 6599 case $cross_compiling:$ac_tool_warned in 6600yes:) 6601{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6602$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6603ac_tool_warned=yes ;; 6604esac 6605 OBJDUMP=$ac_ct_OBJDUMP 6606 fi 6607else 6608 OBJDUMP="$ac_cv_prog_OBJDUMP" 6609fi 6610 6611 ;; 6612esac 6613 6614test -z "$AS" && AS=as 6615 6616 6617 6618 6619 6620test -z "$DLLTOOL" && DLLTOOL=dlltool 6621 6622 6623 6624 6625 6626test -z "$OBJDUMP" && OBJDUMP=objdump 6627 6628 6629 6630 6631 6632 6633 6634case `pwd` in 6635 *\ * | *\ *) 6636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 6637$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 6638esac 6639 6640 6641 6642macro_version='2.4.6' 6643macro_revision='2.4.6' 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657ltmain=$ac_aux_dir/ltmain.sh 6658 6659# Backslashify metacharacters that are still active within 6660# double-quoted strings. 6661sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6662 6663# Same as above, but do not quote variable references. 6664double_quote_subst='s/\(["`\\]\)/\\\1/g' 6665 6666# Sed substitution to delay expansion of an escaped shell variable in a 6667# double_quote_subst'ed string. 6668delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6669 6670# Sed substitution to delay expansion of an escaped single quote. 6671delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 6672 6673# Sed substitution to avoid accidental globbing in evaled expressions 6674no_glob_subst='s/\*/\\\*/g' 6675 6676ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6677ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 6678ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 6679 6680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 6681$as_echo_n "checking how to print strings... " >&6; } 6682# Test print first, because it will be a builtin if present. 6683if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 6684 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 6685 ECHO='print -r --' 6686elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 6687 ECHO='printf %s\n' 6688else 6689 # Use this function as a fallback that always works. 6690 func_fallback_echo () 6691 { 6692 eval 'cat <<_LTECHO_EOF 6693$1 6694_LTECHO_EOF' 6695 } 6696 ECHO='func_fallback_echo' 6697fi 6698 6699# func_echo_all arg... 6700# Invoke $ECHO with all args, space-separated. 6701func_echo_all () 6702{ 6703 $ECHO "" 6704} 6705 6706case $ECHO in 6707 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6708$as_echo "printf" >&6; } ;; 6709 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6710$as_echo "print -r" >&6; } ;; 6711 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6712$as_echo "cat" >&6; } ;; 6713esac 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6729$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6730if ${ac_cv_path_SED+:} false; then : 6731 $as_echo_n "(cached) " >&6 6732else 6733 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6734 for ac_i in 1 2 3 4 5 6 7; do 6735 ac_script="$ac_script$as_nl$ac_script" 6736 done 6737 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6738 { ac_script=; unset ac_script;} 6739 if test -z "$SED"; then 6740 ac_path_SED_found=false 6741 # Loop through the user's path and test for each of PROGNAME-LIST 6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6743for as_dir in $PATH 6744do 6745 IFS=$as_save_IFS 6746 test -z "$as_dir" && as_dir=. 6747 for ac_prog in sed gsed; do 6748 for ac_exec_ext in '' $ac_executable_extensions; do 6749 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6750 as_fn_executable_p "$ac_path_SED" || continue 6751# Check for GNU ac_path_SED and select it if it is found. 6752 # Check for GNU $ac_path_SED 6753case `"$ac_path_SED" --version 2>&1` in 6754*GNU*) 6755 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6756*) 6757 ac_count=0 6758 $as_echo_n 0123456789 >"conftest.in" 6759 while : 6760 do 6761 cat "conftest.in" "conftest.in" >"conftest.tmp" 6762 mv "conftest.tmp" "conftest.in" 6763 cp "conftest.in" "conftest.nl" 6764 $as_echo '' >> "conftest.nl" 6765 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6766 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6767 as_fn_arith $ac_count + 1 && ac_count=$as_val 6768 if test $ac_count -gt ${ac_path_SED_max-0}; then 6769 # Best one so far, save it but keep looking for a better one 6770 ac_cv_path_SED="$ac_path_SED" 6771 ac_path_SED_max=$ac_count 6772 fi 6773 # 10*(2^10) chars as input seems more than enough 6774 test $ac_count -gt 10 && break 6775 done 6776 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6777esac 6778 6779 $ac_path_SED_found && break 3 6780 done 6781 done 6782 done 6783IFS=$as_save_IFS 6784 if test -z "$ac_cv_path_SED"; then 6785 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6786 fi 6787else 6788 ac_cv_path_SED=$SED 6789fi 6790 6791fi 6792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6793$as_echo "$ac_cv_path_SED" >&6; } 6794 SED="$ac_cv_path_SED" 6795 rm -f conftest.sed 6796 6797test -z "$SED" && SED=sed 6798Xsed="$SED -e 1s/^X//" 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6811$as_echo_n "checking for fgrep... " >&6; } 6812if ${ac_cv_path_FGREP+:} false; then : 6813 $as_echo_n "(cached) " >&6 6814else 6815 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6816 then ac_cv_path_FGREP="$GREP -F" 6817 else 6818 if test -z "$FGREP"; then 6819 ac_path_FGREP_found=false 6820 # Loop through the user's path and test for each of PROGNAME-LIST 6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6822for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6823do 6824 IFS=$as_save_IFS 6825 test -z "$as_dir" && as_dir=. 6826 for ac_prog in fgrep; do 6827 for ac_exec_ext in '' $ac_executable_extensions; do 6828 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6829 as_fn_executable_p "$ac_path_FGREP" || continue 6830# Check for GNU ac_path_FGREP and select it if it is found. 6831 # Check for GNU $ac_path_FGREP 6832case `"$ac_path_FGREP" --version 2>&1` in 6833*GNU*) 6834 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6835*) 6836 ac_count=0 6837 $as_echo_n 0123456789 >"conftest.in" 6838 while : 6839 do 6840 cat "conftest.in" "conftest.in" >"conftest.tmp" 6841 mv "conftest.tmp" "conftest.in" 6842 cp "conftest.in" "conftest.nl" 6843 $as_echo 'FGREP' >> "conftest.nl" 6844 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6845 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6846 as_fn_arith $ac_count + 1 && ac_count=$as_val 6847 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6848 # Best one so far, save it but keep looking for a better one 6849 ac_cv_path_FGREP="$ac_path_FGREP" 6850 ac_path_FGREP_max=$ac_count 6851 fi 6852 # 10*(2^10) chars as input seems more than enough 6853 test $ac_count -gt 10 && break 6854 done 6855 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6856esac 6857 6858 $ac_path_FGREP_found && break 3 6859 done 6860 done 6861 done 6862IFS=$as_save_IFS 6863 if test -z "$ac_cv_path_FGREP"; then 6864 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6865 fi 6866else 6867 ac_cv_path_FGREP=$FGREP 6868fi 6869 6870 fi 6871fi 6872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6873$as_echo "$ac_cv_path_FGREP" >&6; } 6874 FGREP="$ac_cv_path_FGREP" 6875 6876 6877test -z "$GREP" && GREP=grep 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897# Check whether --with-gnu-ld was given. 6898if test "${with_gnu_ld+set}" = set; then : 6899 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 6900else 6901 with_gnu_ld=no 6902fi 6903 6904ac_prog=ld 6905if test yes = "$GCC"; then 6906 # Check if gcc -print-prog-name=ld gives a path. 6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6908$as_echo_n "checking for ld used by $CC... " >&6; } 6909 case $host in 6910 *-*-mingw*) 6911 # gcc leaves a trailing carriage return, which upsets mingw 6912 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6913 *) 6914 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6915 esac 6916 case $ac_prog in 6917 # Accept absolute paths. 6918 [\\/]* | ?:[\\/]*) 6919 re_direlt='/[^/][^/]*/\.\./' 6920 # Canonicalize the pathname of ld 6921 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6922 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6923 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6924 done 6925 test -z "$LD" && LD=$ac_prog 6926 ;; 6927 "") 6928 # If it fails, then pretend we aren't using GCC. 6929 ac_prog=ld 6930 ;; 6931 *) 6932 # If it is relative, then search for the first ld in PATH. 6933 with_gnu_ld=unknown 6934 ;; 6935 esac 6936elif test yes = "$with_gnu_ld"; then 6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6938$as_echo_n "checking for GNU ld... " >&6; } 6939else 6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6941$as_echo_n "checking for non-GNU ld... " >&6; } 6942fi 6943if ${lt_cv_path_LD+:} false; then : 6944 $as_echo_n "(cached) " >&6 6945else 6946 if test -z "$LD"; then 6947 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6948 for ac_dir in $PATH; do 6949 IFS=$lt_save_ifs 6950 test -z "$ac_dir" && ac_dir=. 6951 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6952 lt_cv_path_LD=$ac_dir/$ac_prog 6953 # Check to see if the program is GNU ld. I'd rather use --version, 6954 # but apparently some variants of GNU ld only accept -v. 6955 # Break only if it was the GNU/non-GNU ld that we prefer. 6956 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6957 *GNU* | *'with BFD'*) 6958 test no != "$with_gnu_ld" && break 6959 ;; 6960 *) 6961 test yes != "$with_gnu_ld" && break 6962 ;; 6963 esac 6964 fi 6965 done 6966 IFS=$lt_save_ifs 6967else 6968 lt_cv_path_LD=$LD # Let the user override the test with a path. 6969fi 6970fi 6971 6972LD=$lt_cv_path_LD 6973if test -n "$LD"; then 6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6975$as_echo "$LD" >&6; } 6976else 6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6978$as_echo "no" >&6; } 6979fi 6980test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6982$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6983if ${lt_cv_prog_gnu_ld+:} false; then : 6984 $as_echo_n "(cached) " >&6 6985else 6986 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6987case `$LD -v 2>&1 </dev/null` in 6988*GNU* | *'with BFD'*) 6989 lt_cv_prog_gnu_ld=yes 6990 ;; 6991*) 6992 lt_cv_prog_gnu_ld=no 6993 ;; 6994esac 6995fi 6996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6997$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6998with_gnu_ld=$lt_cv_prog_gnu_ld 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 7009$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 7010if ${lt_cv_path_NM+:} false; then : 7011 $as_echo_n "(cached) " >&6 7012else 7013 if test -n "$NM"; then 7014 # Let the user override the test. 7015 lt_cv_path_NM=$NM 7016else 7017 lt_nm_to_check=${ac_tool_prefix}nm 7018 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 7019 lt_nm_to_check="$lt_nm_to_check nm" 7020 fi 7021 for lt_tmp_nm in $lt_nm_to_check; do 7022 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 7023 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 7024 IFS=$lt_save_ifs 7025 test -z "$ac_dir" && ac_dir=. 7026 tmp_nm=$ac_dir/$lt_tmp_nm 7027 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 7028 # Check to see if the nm accepts a BSD-compat flag. 7029 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 7030 # nm: unknown option "B" ignored 7031 # Tru64's nm complains that /dev/null is an invalid object file 7032 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 7033 case $build_os in 7034 mingw*) lt_bad_file=conftest.nm/nofile ;; 7035 *) lt_bad_file=/dev/null ;; 7036 esac 7037 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 7038 *$lt_bad_file* | *'Invalid file or object type'*) 7039 lt_cv_path_NM="$tmp_nm -B" 7040 break 2 7041 ;; 7042 *) 7043 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 7044 */dev/null*) 7045 lt_cv_path_NM="$tmp_nm -p" 7046 break 2 7047 ;; 7048 *) 7049 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 7050 continue # so that we can try to find one that supports BSD flags 7051 ;; 7052 esac 7053 ;; 7054 esac 7055 fi 7056 done 7057 IFS=$lt_save_ifs 7058 done 7059 : ${lt_cv_path_NM=no} 7060fi 7061fi 7062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 7063$as_echo "$lt_cv_path_NM" >&6; } 7064if test no != "$lt_cv_path_NM"; then 7065 NM=$lt_cv_path_NM 7066else 7067 # Didn't find any BSD compatible name lister, look for dumpbin. 7068 if test -n "$DUMPBIN"; then : 7069 # Let the user override the test. 7070 else 7071 if test -n "$ac_tool_prefix"; then 7072 for ac_prog in dumpbin "link -dump" 7073 do 7074 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7075set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7077$as_echo_n "checking for $ac_word... " >&6; } 7078if ${ac_cv_prog_DUMPBIN+:} false; then : 7079 $as_echo_n "(cached) " >&6 7080else 7081 if test -n "$DUMPBIN"; then 7082 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 7083else 7084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7085for as_dir in $PATH 7086do 7087 IFS=$as_save_IFS 7088 test -z "$as_dir" && as_dir=. 7089 for ac_exec_ext in '' $ac_executable_extensions; do 7090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7091 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 7092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7093 break 2 7094 fi 7095done 7096 done 7097IFS=$as_save_IFS 7098 7099fi 7100fi 7101DUMPBIN=$ac_cv_prog_DUMPBIN 7102if test -n "$DUMPBIN"; then 7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 7104$as_echo "$DUMPBIN" >&6; } 7105else 7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7107$as_echo "no" >&6; } 7108fi 7109 7110 7111 test -n "$DUMPBIN" && break 7112 done 7113fi 7114if test -z "$DUMPBIN"; then 7115 ac_ct_DUMPBIN=$DUMPBIN 7116 for ac_prog in dumpbin "link -dump" 7117do 7118 # Extract the first word of "$ac_prog", so it can be a program name with args. 7119set dummy $ac_prog; ac_word=$2 7120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7121$as_echo_n "checking for $ac_word... " >&6; } 7122if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 7123 $as_echo_n "(cached) " >&6 7124else 7125 if test -n "$ac_ct_DUMPBIN"; then 7126 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 7127else 7128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7129for as_dir in $PATH 7130do 7131 IFS=$as_save_IFS 7132 test -z "$as_dir" && as_dir=. 7133 for ac_exec_ext in '' $ac_executable_extensions; do 7134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7135 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 7136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7137 break 2 7138 fi 7139done 7140 done 7141IFS=$as_save_IFS 7142 7143fi 7144fi 7145ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 7146if test -n "$ac_ct_DUMPBIN"; then 7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 7148$as_echo "$ac_ct_DUMPBIN" >&6; } 7149else 7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7151$as_echo "no" >&6; } 7152fi 7153 7154 7155 test -n "$ac_ct_DUMPBIN" && break 7156done 7157 7158 if test "x$ac_ct_DUMPBIN" = x; then 7159 DUMPBIN=":" 7160 else 7161 case $cross_compiling:$ac_tool_warned in 7162yes:) 7163{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7164$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7165ac_tool_warned=yes ;; 7166esac 7167 DUMPBIN=$ac_ct_DUMPBIN 7168 fi 7169fi 7170 7171 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 7172 *COFF*) 7173 DUMPBIN="$DUMPBIN -symbols -headers" 7174 ;; 7175 *) 7176 DUMPBIN=: 7177 ;; 7178 esac 7179 fi 7180 7181 if test : != "$DUMPBIN"; then 7182 NM=$DUMPBIN 7183 fi 7184fi 7185test -z "$NM" && NM=nm 7186 7187 7188 7189 7190 7191 7192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 7193$as_echo_n "checking the name lister ($NM) interface... " >&6; } 7194if ${lt_cv_nm_interface+:} false; then : 7195 $as_echo_n "(cached) " >&6 7196else 7197 lt_cv_nm_interface="BSD nm" 7198 echo "int some_variable = 0;" > conftest.$ac_ext 7199 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 7200 (eval "$ac_compile" 2>conftest.err) 7201 cat conftest.err >&5 7202 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 7203 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 7204 cat conftest.err >&5 7205 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 7206 cat conftest.out >&5 7207 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 7208 lt_cv_nm_interface="MS dumpbin" 7209 fi 7210 rm -f conftest* 7211fi 7212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 7213$as_echo "$lt_cv_nm_interface" >&6; } 7214 7215# find the maximum length of command line arguments 7216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 7217$as_echo_n "checking the maximum length of command line arguments... " >&6; } 7218if ${lt_cv_sys_max_cmd_len+:} false; then : 7219 $as_echo_n "(cached) " >&6 7220else 7221 i=0 7222 teststring=ABCD 7223 7224 case $build_os in 7225 msdosdjgpp*) 7226 # On DJGPP, this test can blow up pretty badly due to problems in libc 7227 # (any single argument exceeding 2000 bytes causes a buffer overrun 7228 # during glob expansion). Even if it were fixed, the result of this 7229 # check would be larger than it should be. 7230 lt_cv_sys_max_cmd_len=12288; # 12K is about right 7231 ;; 7232 7233 gnu*) 7234 # Under GNU Hurd, this test is not required because there is 7235 # no limit to the length of command line arguments. 7236 # Libtool will interpret -1 as no limit whatsoever 7237 lt_cv_sys_max_cmd_len=-1; 7238 ;; 7239 7240 cygwin* | mingw* | cegcc*) 7241 # On Win9x/ME, this test blows up -- it succeeds, but takes 7242 # about 5 minutes as the teststring grows exponentially. 7243 # Worse, since 9x/ME are not pre-emptively multitasking, 7244 # you end up with a "frozen" computer, even though with patience 7245 # the test eventually succeeds (with a max line length of 256k). 7246 # Instead, let's just punt: use the minimum linelength reported by 7247 # all of the supported platforms: 8192 (on NT/2K/XP). 7248 lt_cv_sys_max_cmd_len=8192; 7249 ;; 7250 7251 mint*) 7252 # On MiNT this can take a long time and run out of memory. 7253 lt_cv_sys_max_cmd_len=8192; 7254 ;; 7255 7256 amigaos*) 7257 # On AmigaOS with pdksh, this test takes hours, literally. 7258 # So we just punt and use a minimum line length of 8192. 7259 lt_cv_sys_max_cmd_len=8192; 7260 ;; 7261 7262 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 7263 # This has been around since 386BSD, at least. Likely further. 7264 if test -x /sbin/sysctl; then 7265 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 7266 elif test -x /usr/sbin/sysctl; then 7267 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 7268 else 7269 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 7270 fi 7271 # And add a safety zone 7272 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7273 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7274 ;; 7275 7276 interix*) 7277 # We know the value 262144 and hardcode it with a safety zone (like BSD) 7278 lt_cv_sys_max_cmd_len=196608 7279 ;; 7280 7281 os2*) 7282 # The test takes a long time on OS/2. 7283 lt_cv_sys_max_cmd_len=8192 7284 ;; 7285 7286 osf*) 7287 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 7288 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 7289 # nice to cause kernel panics so lets avoid the loop below. 7290 # First set a reasonable default. 7291 lt_cv_sys_max_cmd_len=16384 7292 # 7293 if test -x /sbin/sysconfig; then 7294 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 7295 *1*) lt_cv_sys_max_cmd_len=-1 ;; 7296 esac 7297 fi 7298 ;; 7299 sco3.2v5*) 7300 lt_cv_sys_max_cmd_len=102400 7301 ;; 7302 sysv5* | sco5v6* | sysv4.2uw2*) 7303 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 7304 if test -n "$kargmax"; then 7305 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 7306 else 7307 lt_cv_sys_max_cmd_len=32768 7308 fi 7309 ;; 7310 *) 7311 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 7312 if test -n "$lt_cv_sys_max_cmd_len" && \ 7313 test undefined != "$lt_cv_sys_max_cmd_len"; then 7314 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7315 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7316 else 7317 # Make teststring a little bigger before we do anything with it. 7318 # a 1K string should be a reasonable start. 7319 for i in 1 2 3 4 5 6 7 8; do 7320 teststring=$teststring$teststring 7321 done 7322 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 7323 # If test is not a shell built-in, we'll probably end up computing a 7324 # maximum length that is only half of the actual maximum length, but 7325 # we can't tell. 7326 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 7327 = "X$teststring$teststring"; } >/dev/null 2>&1 && 7328 test 17 != "$i" # 1/2 MB should be enough 7329 do 7330 i=`expr $i + 1` 7331 teststring=$teststring$teststring 7332 done 7333 # Only check the string length outside the loop. 7334 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 7335 teststring= 7336 # Add a significant safety factor because C++ compilers can tack on 7337 # massive amounts of additional arguments before passing them to the 7338 # linker. It appears as though 1/2 is a usable value. 7339 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 7340 fi 7341 ;; 7342 esac 7343 7344fi 7345 7346if test -n "$lt_cv_sys_max_cmd_len"; then 7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 7348$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 7349else 7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 7351$as_echo "none" >&6; } 7352fi 7353max_cmd_len=$lt_cv_sys_max_cmd_len 7354 7355 7356 7357 7358 7359 7360: ${CP="cp -f"} 7361: ${MV="mv -f"} 7362: ${RM="rm -f"} 7363 7364if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7365 lt_unset=unset 7366else 7367 lt_unset=false 7368fi 7369 7370 7371 7372 7373 7374# test EBCDIC or ASCII 7375case `echo X|tr X '\101'` in 7376 A) # ASCII based system 7377 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 7378 lt_SP2NL='tr \040 \012' 7379 lt_NL2SP='tr \015\012 \040\040' 7380 ;; 7381 *) # EBCDIC based system 7382 lt_SP2NL='tr \100 \n' 7383 lt_NL2SP='tr \r\n \100\100' 7384 ;; 7385esac 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 7396$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 7397if ${lt_cv_to_host_file_cmd+:} false; then : 7398 $as_echo_n "(cached) " >&6 7399else 7400 case $host in 7401 *-*-mingw* ) 7402 case $build in 7403 *-*-mingw* ) # actually msys 7404 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 7405 ;; 7406 *-*-cygwin* ) 7407 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 7408 ;; 7409 * ) # otherwise, assume *nix 7410 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 7411 ;; 7412 esac 7413 ;; 7414 *-*-cygwin* ) 7415 case $build in 7416 *-*-mingw* ) # actually msys 7417 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 7418 ;; 7419 *-*-cygwin* ) 7420 lt_cv_to_host_file_cmd=func_convert_file_noop 7421 ;; 7422 * ) # otherwise, assume *nix 7423 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 7424 ;; 7425 esac 7426 ;; 7427 * ) # unhandled hosts (and "normal" native builds) 7428 lt_cv_to_host_file_cmd=func_convert_file_noop 7429 ;; 7430esac 7431 7432fi 7433 7434to_host_file_cmd=$lt_cv_to_host_file_cmd 7435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 7436$as_echo "$lt_cv_to_host_file_cmd" >&6; } 7437 7438 7439 7440 7441 7442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 7443$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 7444if ${lt_cv_to_tool_file_cmd+:} false; then : 7445 $as_echo_n "(cached) " >&6 7446else 7447 #assume ordinary cross tools, or native build. 7448lt_cv_to_tool_file_cmd=func_convert_file_noop 7449case $host in 7450 *-*-mingw* ) 7451 case $build in 7452 *-*-mingw* ) # actually msys 7453 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 7454 ;; 7455 esac 7456 ;; 7457esac 7458 7459fi 7460 7461to_tool_file_cmd=$lt_cv_to_tool_file_cmd 7462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 7463$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 7464 7465 7466 7467 7468 7469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 7470$as_echo_n "checking for $LD option to reload object files... " >&6; } 7471if ${lt_cv_ld_reload_flag+:} false; then : 7472 $as_echo_n "(cached) " >&6 7473else 7474 lt_cv_ld_reload_flag='-r' 7475fi 7476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 7477$as_echo "$lt_cv_ld_reload_flag" >&6; } 7478reload_flag=$lt_cv_ld_reload_flag 7479case $reload_flag in 7480"" | " "*) ;; 7481*) reload_flag=" $reload_flag" ;; 7482esac 7483reload_cmds='$LD$reload_flag -o $output$reload_objs' 7484case $host_os in 7485 cygwin* | mingw* | pw32* | cegcc*) 7486 if test yes != "$GCC"; then 7487 reload_cmds=false 7488 fi 7489 ;; 7490 darwin*) 7491 if test yes = "$GCC"; then 7492 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 7493 else 7494 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7495 fi 7496 ;; 7497esac 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507if test -n "$ac_tool_prefix"; then 7508 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 7509set dummy ${ac_tool_prefix}objdump; ac_word=$2 7510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7511$as_echo_n "checking for $ac_word... " >&6; } 7512if ${ac_cv_prog_OBJDUMP+:} false; then : 7513 $as_echo_n "(cached) " >&6 7514else 7515 if test -n "$OBJDUMP"; then 7516 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 7517else 7518as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7519for as_dir in $PATH 7520do 7521 IFS=$as_save_IFS 7522 test -z "$as_dir" && as_dir=. 7523 for ac_exec_ext in '' $ac_executable_extensions; do 7524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7525 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 7526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7527 break 2 7528 fi 7529done 7530 done 7531IFS=$as_save_IFS 7532 7533fi 7534fi 7535OBJDUMP=$ac_cv_prog_OBJDUMP 7536if test -n "$OBJDUMP"; then 7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 7538$as_echo "$OBJDUMP" >&6; } 7539else 7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7541$as_echo "no" >&6; } 7542fi 7543 7544 7545fi 7546if test -z "$ac_cv_prog_OBJDUMP"; then 7547 ac_ct_OBJDUMP=$OBJDUMP 7548 # Extract the first word of "objdump", so it can be a program name with args. 7549set dummy objdump; ac_word=$2 7550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7551$as_echo_n "checking for $ac_word... " >&6; } 7552if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 7553 $as_echo_n "(cached) " >&6 7554else 7555 if test -n "$ac_ct_OBJDUMP"; then 7556 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 7557else 7558as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7559for as_dir in $PATH 7560do 7561 IFS=$as_save_IFS 7562 test -z "$as_dir" && as_dir=. 7563 for ac_exec_ext in '' $ac_executable_extensions; do 7564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7565 ac_cv_prog_ac_ct_OBJDUMP="objdump" 7566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7567 break 2 7568 fi 7569done 7570 done 7571IFS=$as_save_IFS 7572 7573fi 7574fi 7575ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 7576if test -n "$ac_ct_OBJDUMP"; then 7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 7578$as_echo "$ac_ct_OBJDUMP" >&6; } 7579else 7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7581$as_echo "no" >&6; } 7582fi 7583 7584 if test "x$ac_ct_OBJDUMP" = x; then 7585 OBJDUMP="false" 7586 else 7587 case $cross_compiling:$ac_tool_warned in 7588yes:) 7589{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7590$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7591ac_tool_warned=yes ;; 7592esac 7593 OBJDUMP=$ac_ct_OBJDUMP 7594 fi 7595else 7596 OBJDUMP="$ac_cv_prog_OBJDUMP" 7597fi 7598 7599test -z "$OBJDUMP" && OBJDUMP=objdump 7600 7601 7602 7603 7604 7605 7606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 7607$as_echo_n "checking how to recognize dependent libraries... " >&6; } 7608if ${lt_cv_deplibs_check_method+:} false; then : 7609 $as_echo_n "(cached) " >&6 7610else 7611 lt_cv_file_magic_cmd='$MAGIC_CMD' 7612lt_cv_file_magic_test_file= 7613lt_cv_deplibs_check_method='unknown' 7614# Need to set the preceding variable on all platforms that support 7615# interlibrary dependencies. 7616# 'none' -- dependencies not supported. 7617# 'unknown' -- same as none, but documents that we really don't know. 7618# 'pass_all' -- all dependencies passed with no checks. 7619# 'test_compile' -- check by making test program. 7620# 'file_magic [[regex]]' -- check by looking for files in library path 7621# that responds to the $file_magic_cmd with a given extended regex. 7622# If you have 'file' or equivalent on your system and you're not sure 7623# whether 'pass_all' will *always* work, you probably want this one. 7624 7625case $host_os in 7626aix[4-9]*) 7627 lt_cv_deplibs_check_method=pass_all 7628 ;; 7629 7630beos*) 7631 lt_cv_deplibs_check_method=pass_all 7632 ;; 7633 7634bsdi[45]*) 7635 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 7636 lt_cv_file_magic_cmd='/usr/bin/file -L' 7637 lt_cv_file_magic_test_file=/shlib/libc.so 7638 ;; 7639 7640cygwin*) 7641 # func_win32_libid is a shell function defined in ltmain.sh 7642 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7643 lt_cv_file_magic_cmd='func_win32_libid' 7644 ;; 7645 7646mingw* | pw32*) 7647 # Base MSYS/MinGW do not provide the 'file' command needed by 7648 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7649 # unless we find 'file', for example because we are cross-compiling. 7650 if ( file / ) >/dev/null 2>&1; then 7651 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7652 lt_cv_file_magic_cmd='func_win32_libid' 7653 else 7654 # Keep this pattern in sync with the one in func_win32_libid. 7655 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7656 lt_cv_file_magic_cmd='$OBJDUMP -f' 7657 fi 7658 ;; 7659 7660cegcc*) 7661 # use the weaker test based on 'objdump'. See mingw*. 7662 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7663 lt_cv_file_magic_cmd='$OBJDUMP -f' 7664 ;; 7665 7666darwin* | rhapsody*) 7667 lt_cv_deplibs_check_method=pass_all 7668 ;; 7669 7670freebsd* | dragonfly*) 7671 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7672 case $host_cpu in 7673 i*86 ) 7674 # Not sure whether the presence of OpenBSD here was a mistake. 7675 # Let's accept both of them until this is cleared up. 7676 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7677 lt_cv_file_magic_cmd=/usr/bin/file 7678 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7679 ;; 7680 esac 7681 else 7682 lt_cv_deplibs_check_method=pass_all 7683 fi 7684 ;; 7685 7686haiku*) 7687 lt_cv_deplibs_check_method=pass_all 7688 ;; 7689 7690hpux10.20* | hpux11*) 7691 lt_cv_file_magic_cmd=/usr/bin/file 7692 case $host_cpu in 7693 ia64*) 7694 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7695 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7696 ;; 7697 hppa*64*) 7698 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]' 7699 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7700 ;; 7701 *) 7702 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7703 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7704 ;; 7705 esac 7706 ;; 7707 7708interix[3-9]*) 7709 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7710 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7711 ;; 7712 7713irix5* | irix6* | nonstopux*) 7714 case $LD in 7715 *-32|*"-32 ") libmagic=32-bit;; 7716 *-n32|*"-n32 ") libmagic=N32;; 7717 *-64|*"-64 ") libmagic=64-bit;; 7718 *) libmagic=never-match;; 7719 esac 7720 lt_cv_deplibs_check_method=pass_all 7721 ;; 7722 7723# This must be glibc/ELF. 7724linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7725 lt_cv_deplibs_check_method=pass_all 7726 ;; 7727 7728netbsd*) 7729 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7730 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7731 else 7732 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7733 fi 7734 ;; 7735 7736newos6*) 7737 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7738 lt_cv_file_magic_cmd=/usr/bin/file 7739 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7740 ;; 7741 7742*nto* | *qnx*) 7743 lt_cv_deplibs_check_method=pass_all 7744 ;; 7745 7746openbsd* | bitrig*) 7747 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7748 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7749 else 7750 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7751 fi 7752 ;; 7753 7754osf3* | osf4* | osf5*) 7755 lt_cv_deplibs_check_method=pass_all 7756 ;; 7757 7758rdos*) 7759 lt_cv_deplibs_check_method=pass_all 7760 ;; 7761 7762solaris*) 7763 lt_cv_deplibs_check_method=pass_all 7764 ;; 7765 7766sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7767 lt_cv_deplibs_check_method=pass_all 7768 ;; 7769 7770sysv4 | sysv4.3*) 7771 case $host_vendor in 7772 motorola) 7773 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]' 7774 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7775 ;; 7776 ncr) 7777 lt_cv_deplibs_check_method=pass_all 7778 ;; 7779 sequent) 7780 lt_cv_file_magic_cmd='/bin/file' 7781 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7782 ;; 7783 sni) 7784 lt_cv_file_magic_cmd='/bin/file' 7785 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7786 lt_cv_file_magic_test_file=/lib/libc.so 7787 ;; 7788 siemens) 7789 lt_cv_deplibs_check_method=pass_all 7790 ;; 7791 pc) 7792 lt_cv_deplibs_check_method=pass_all 7793 ;; 7794 esac 7795 ;; 7796 7797tpf*) 7798 lt_cv_deplibs_check_method=pass_all 7799 ;; 7800os2*) 7801 lt_cv_deplibs_check_method=pass_all 7802 ;; 7803esac 7804 7805fi 7806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7807$as_echo "$lt_cv_deplibs_check_method" >&6; } 7808 7809file_magic_glob= 7810want_nocaseglob=no 7811if test "$build" = "$host"; then 7812 case $host_os in 7813 mingw* | pw32*) 7814 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7815 want_nocaseglob=yes 7816 else 7817 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7818 fi 7819 ;; 7820 esac 7821fi 7822 7823file_magic_cmd=$lt_cv_file_magic_cmd 7824deplibs_check_method=$lt_cv_deplibs_check_method 7825test -z "$deplibs_check_method" && deplibs_check_method=unknown 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848if test -n "$ac_tool_prefix"; then 7849 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7850set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7852$as_echo_n "checking for $ac_word... " >&6; } 7853if ${ac_cv_prog_DLLTOOL+:} false; then : 7854 $as_echo_n "(cached) " >&6 7855else 7856 if test -n "$DLLTOOL"; then 7857 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7858else 7859as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7860for as_dir in $PATH 7861do 7862 IFS=$as_save_IFS 7863 test -z "$as_dir" && as_dir=. 7864 for ac_exec_ext in '' $ac_executable_extensions; do 7865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7866 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7868 break 2 7869 fi 7870done 7871 done 7872IFS=$as_save_IFS 7873 7874fi 7875fi 7876DLLTOOL=$ac_cv_prog_DLLTOOL 7877if test -n "$DLLTOOL"; then 7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7879$as_echo "$DLLTOOL" >&6; } 7880else 7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7882$as_echo "no" >&6; } 7883fi 7884 7885 7886fi 7887if test -z "$ac_cv_prog_DLLTOOL"; then 7888 ac_ct_DLLTOOL=$DLLTOOL 7889 # Extract the first word of "dlltool", so it can be a program name with args. 7890set dummy dlltool; ac_word=$2 7891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7892$as_echo_n "checking for $ac_word... " >&6; } 7893if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7894 $as_echo_n "(cached) " >&6 7895else 7896 if test -n "$ac_ct_DLLTOOL"; then 7897 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7898else 7899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7900for as_dir in $PATH 7901do 7902 IFS=$as_save_IFS 7903 test -z "$as_dir" && as_dir=. 7904 for ac_exec_ext in '' $ac_executable_extensions; do 7905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7906 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7908 break 2 7909 fi 7910done 7911 done 7912IFS=$as_save_IFS 7913 7914fi 7915fi 7916ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7917if test -n "$ac_ct_DLLTOOL"; then 7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7919$as_echo "$ac_ct_DLLTOOL" >&6; } 7920else 7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7922$as_echo "no" >&6; } 7923fi 7924 7925 if test "x$ac_ct_DLLTOOL" = x; then 7926 DLLTOOL="false" 7927 else 7928 case $cross_compiling:$ac_tool_warned in 7929yes:) 7930{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7931$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7932ac_tool_warned=yes ;; 7933esac 7934 DLLTOOL=$ac_ct_DLLTOOL 7935 fi 7936else 7937 DLLTOOL="$ac_cv_prog_DLLTOOL" 7938fi 7939 7940test -z "$DLLTOOL" && DLLTOOL=dlltool 7941 7942 7943 7944 7945 7946 7947 7948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7949$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7950if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7951 $as_echo_n "(cached) " >&6 7952else 7953 lt_cv_sharedlib_from_linklib_cmd='unknown' 7954 7955case $host_os in 7956cygwin* | mingw* | pw32* | cegcc*) 7957 # two different shell functions defined in ltmain.sh; 7958 # decide which one to use based on capabilities of $DLLTOOL 7959 case `$DLLTOOL --help 2>&1` in 7960 *--identify-strict*) 7961 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7962 ;; 7963 *) 7964 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7965 ;; 7966 esac 7967 ;; 7968*) 7969 # fallback: assume linklib IS sharedlib 7970 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7971 ;; 7972esac 7973 7974fi 7975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7976$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7977sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7978test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7979 7980 7981 7982 7983 7984 7985 7986if test -n "$ac_tool_prefix"; then 7987 for ac_prog in ar 7988 do 7989 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7990set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7992$as_echo_n "checking for $ac_word... " >&6; } 7993if ${ac_cv_prog_AR+:} false; then : 7994 $as_echo_n "(cached) " >&6 7995else 7996 if test -n "$AR"; then 7997 ac_cv_prog_AR="$AR" # Let the user override the test. 7998else 7999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8000for as_dir in $PATH 8001do 8002 IFS=$as_save_IFS 8003 test -z "$as_dir" && as_dir=. 8004 for ac_exec_ext in '' $ac_executable_extensions; do 8005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8006 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 8007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8008 break 2 8009 fi 8010done 8011 done 8012IFS=$as_save_IFS 8013 8014fi 8015fi 8016AR=$ac_cv_prog_AR 8017if test -n "$AR"; then 8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 8019$as_echo "$AR" >&6; } 8020else 8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8022$as_echo "no" >&6; } 8023fi 8024 8025 8026 test -n "$AR" && break 8027 done 8028fi 8029if test -z "$AR"; then 8030 ac_ct_AR=$AR 8031 for ac_prog in ar 8032do 8033 # Extract the first word of "$ac_prog", so it can be a program name with args. 8034set dummy $ac_prog; ac_word=$2 8035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8036$as_echo_n "checking for $ac_word... " >&6; } 8037if ${ac_cv_prog_ac_ct_AR+:} false; then : 8038 $as_echo_n "(cached) " >&6 8039else 8040 if test -n "$ac_ct_AR"; then 8041 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 8042else 8043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8044for as_dir in $PATH 8045do 8046 IFS=$as_save_IFS 8047 test -z "$as_dir" && as_dir=. 8048 for ac_exec_ext in '' $ac_executable_extensions; do 8049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8050 ac_cv_prog_ac_ct_AR="$ac_prog" 8051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8052 break 2 8053 fi 8054done 8055 done 8056IFS=$as_save_IFS 8057 8058fi 8059fi 8060ac_ct_AR=$ac_cv_prog_ac_ct_AR 8061if test -n "$ac_ct_AR"; then 8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 8063$as_echo "$ac_ct_AR" >&6; } 8064else 8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8066$as_echo "no" >&6; } 8067fi 8068 8069 8070 test -n "$ac_ct_AR" && break 8071done 8072 8073 if test "x$ac_ct_AR" = x; then 8074 AR="false" 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 AR=$ac_ct_AR 8083 fi 8084fi 8085 8086: ${AR=ar} 8087: ${AR_FLAGS=cru} 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 8100$as_echo_n "checking for archiver @FILE support... " >&6; } 8101if ${lt_cv_ar_at_file+:} false; then : 8102 $as_echo_n "(cached) " >&6 8103else 8104 lt_cv_ar_at_file=no 8105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8106/* end confdefs.h. */ 8107 8108int 8109main () 8110{ 8111 8112 ; 8113 return 0; 8114} 8115_ACEOF 8116if ac_fn_c_try_compile "$LINENO"; then : 8117 echo conftest.$ac_objext > conftest.lst 8118 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 8119 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 8120 (eval $lt_ar_try) 2>&5 8121 ac_status=$? 8122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8123 test $ac_status = 0; } 8124 if test 0 -eq "$ac_status"; then 8125 # Ensure the archiver fails upon bogus file names. 8126 rm -f conftest.$ac_objext libconftest.a 8127 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 8128 (eval $lt_ar_try) 2>&5 8129 ac_status=$? 8130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8131 test $ac_status = 0; } 8132 if test 0 -ne "$ac_status"; then 8133 lt_cv_ar_at_file=@ 8134 fi 8135 fi 8136 rm -f conftest.* libconftest.a 8137 8138fi 8139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8140 8141fi 8142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 8143$as_echo "$lt_cv_ar_at_file" >&6; } 8144 8145if test no = "$lt_cv_ar_at_file"; then 8146 archiver_list_spec= 8147else 8148 archiver_list_spec=$lt_cv_ar_at_file 8149fi 8150 8151 8152 8153 8154 8155 8156 8157if test -n "$ac_tool_prefix"; then 8158 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 8159set dummy ${ac_tool_prefix}strip; ac_word=$2 8160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8161$as_echo_n "checking for $ac_word... " >&6; } 8162if ${ac_cv_prog_STRIP+:} false; then : 8163 $as_echo_n "(cached) " >&6 8164else 8165 if test -n "$STRIP"; then 8166 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 8167else 8168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8169for as_dir in $PATH 8170do 8171 IFS=$as_save_IFS 8172 test -z "$as_dir" && as_dir=. 8173 for ac_exec_ext in '' $ac_executable_extensions; do 8174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8175 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 8176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8177 break 2 8178 fi 8179done 8180 done 8181IFS=$as_save_IFS 8182 8183fi 8184fi 8185STRIP=$ac_cv_prog_STRIP 8186if test -n "$STRIP"; then 8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 8188$as_echo "$STRIP" >&6; } 8189else 8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8191$as_echo "no" >&6; } 8192fi 8193 8194 8195fi 8196if test -z "$ac_cv_prog_STRIP"; then 8197 ac_ct_STRIP=$STRIP 8198 # Extract the first word of "strip", so it can be a program name with args. 8199set dummy strip; ac_word=$2 8200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8201$as_echo_n "checking for $ac_word... " >&6; } 8202if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 8203 $as_echo_n "(cached) " >&6 8204else 8205 if test -n "$ac_ct_STRIP"; then 8206 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 8207else 8208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8209for as_dir in $PATH 8210do 8211 IFS=$as_save_IFS 8212 test -z "$as_dir" && as_dir=. 8213 for ac_exec_ext in '' $ac_executable_extensions; do 8214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8215 ac_cv_prog_ac_ct_STRIP="strip" 8216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8217 break 2 8218 fi 8219done 8220 done 8221IFS=$as_save_IFS 8222 8223fi 8224fi 8225ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 8226if test -n "$ac_ct_STRIP"; then 8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 8228$as_echo "$ac_ct_STRIP" >&6; } 8229else 8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8231$as_echo "no" >&6; } 8232fi 8233 8234 if test "x$ac_ct_STRIP" = x; then 8235 STRIP=":" 8236 else 8237 case $cross_compiling:$ac_tool_warned in 8238yes:) 8239{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8240$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8241ac_tool_warned=yes ;; 8242esac 8243 STRIP=$ac_ct_STRIP 8244 fi 8245else 8246 STRIP="$ac_cv_prog_STRIP" 8247fi 8248 8249test -z "$STRIP" && STRIP=: 8250 8251 8252 8253 8254 8255 8256if test -n "$ac_tool_prefix"; then 8257 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 8258set dummy ${ac_tool_prefix}ranlib; ac_word=$2 8259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8260$as_echo_n "checking for $ac_word... " >&6; } 8261if ${ac_cv_prog_RANLIB+:} false; then : 8262 $as_echo_n "(cached) " >&6 8263else 8264 if test -n "$RANLIB"; then 8265 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 8266else 8267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8268for as_dir in $PATH 8269do 8270 IFS=$as_save_IFS 8271 test -z "$as_dir" && as_dir=. 8272 for ac_exec_ext in '' $ac_executable_extensions; do 8273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8274 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 8275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8276 break 2 8277 fi 8278done 8279 done 8280IFS=$as_save_IFS 8281 8282fi 8283fi 8284RANLIB=$ac_cv_prog_RANLIB 8285if test -n "$RANLIB"; then 8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 8287$as_echo "$RANLIB" >&6; } 8288else 8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8290$as_echo "no" >&6; } 8291fi 8292 8293 8294fi 8295if test -z "$ac_cv_prog_RANLIB"; then 8296 ac_ct_RANLIB=$RANLIB 8297 # Extract the first word of "ranlib", so it can be a program name with args. 8298set dummy ranlib; ac_word=$2 8299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8300$as_echo_n "checking for $ac_word... " >&6; } 8301if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 8302 $as_echo_n "(cached) " >&6 8303else 8304 if test -n "$ac_ct_RANLIB"; then 8305 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 8306else 8307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8308for as_dir in $PATH 8309do 8310 IFS=$as_save_IFS 8311 test -z "$as_dir" && as_dir=. 8312 for ac_exec_ext in '' $ac_executable_extensions; do 8313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8314 ac_cv_prog_ac_ct_RANLIB="ranlib" 8315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8316 break 2 8317 fi 8318done 8319 done 8320IFS=$as_save_IFS 8321 8322fi 8323fi 8324ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 8325if test -n "$ac_ct_RANLIB"; then 8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 8327$as_echo "$ac_ct_RANLIB" >&6; } 8328else 8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8330$as_echo "no" >&6; } 8331fi 8332 8333 if test "x$ac_ct_RANLIB" = x; then 8334 RANLIB=":" 8335 else 8336 case $cross_compiling:$ac_tool_warned in 8337yes:) 8338{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8339$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8340ac_tool_warned=yes ;; 8341esac 8342 RANLIB=$ac_ct_RANLIB 8343 fi 8344else 8345 RANLIB="$ac_cv_prog_RANLIB" 8346fi 8347 8348test -z "$RANLIB" && RANLIB=: 8349 8350 8351 8352 8353 8354 8355# Determine commands to create old-style static archives. 8356old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 8357old_postinstall_cmds='chmod 644 $oldlib' 8358old_postuninstall_cmds= 8359 8360if test -n "$RANLIB"; then 8361 case $host_os in 8362 bitrig* | openbsd*) 8363 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 8364 ;; 8365 *) 8366 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 8367 ;; 8368 esac 8369 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 8370fi 8371 8372case $host_os in 8373 darwin*) 8374 lock_old_archive_extraction=yes ;; 8375 *) 8376 lock_old_archive_extraction=no ;; 8377esac 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417# If no C compiler was specified, use CC. 8418LTCC=${LTCC-"$CC"} 8419 8420# If no C compiler flags were specified, use CFLAGS. 8421LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8422 8423# Allow CC to be a program name with arguments. 8424compiler=$CC 8425 8426 8427# Check for command to grab the raw symbol name followed by C symbol from nm. 8428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 8429$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 8430if ${lt_cv_sys_global_symbol_pipe+:} false; then : 8431 $as_echo_n "(cached) " >&6 8432else 8433 8434# These are sane defaults that work on at least a few old systems. 8435# [They come from Ultrix. What could be older than Ultrix?!! ;)] 8436 8437# Character class describing NM global symbol codes. 8438symcode='[BCDEGRST]' 8439 8440# Regexp to match symbols that can be accessed directly from C. 8441sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 8442 8443# Define system-specific variables. 8444case $host_os in 8445aix*) 8446 symcode='[BCDT]' 8447 ;; 8448cygwin* | mingw* | pw32* | cegcc*) 8449 symcode='[ABCDGISTW]' 8450 ;; 8451hpux*) 8452 if test ia64 = "$host_cpu"; then 8453 symcode='[ABCDEGRST]' 8454 fi 8455 ;; 8456irix* | nonstopux*) 8457 symcode='[BCDEGRST]' 8458 ;; 8459osf*) 8460 symcode='[BCDEGQRST]' 8461 ;; 8462solaris*) 8463 symcode='[BDRT]' 8464 ;; 8465sco3.2v5*) 8466 symcode='[DT]' 8467 ;; 8468sysv4.2uw2*) 8469 symcode='[DT]' 8470 ;; 8471sysv5* | sco5v6* | unixware* | OpenUNIX*) 8472 symcode='[ABDT]' 8473 ;; 8474sysv4) 8475 symcode='[DFNSTU]' 8476 ;; 8477esac 8478 8479# If we're using GNU nm, then use its standard symbol codes. 8480case `$NM -V 2>&1` in 8481*GNU* | *'with BFD'*) 8482 symcode='[ABCDGIRSTW]' ;; 8483esac 8484 8485if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8486 # Gets list of data symbols to import. 8487 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 8488 # Adjust the below global symbol transforms to fixup imported variables. 8489 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 8490 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 8491 lt_c_name_lib_hook="\ 8492 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 8493 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 8494else 8495 # Disable hooks by default. 8496 lt_cv_sys_global_symbol_to_import= 8497 lt_cdecl_hook= 8498 lt_c_name_hook= 8499 lt_c_name_lib_hook= 8500fi 8501 8502# Transform an extracted symbol line into a proper C declaration. 8503# Some systems (esp. on ia64) link data and code symbols differently, 8504# so use this general approach. 8505lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 8506$lt_cdecl_hook\ 8507" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 8508" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 8509 8510# Transform an extracted symbol line into symbol name and symbol address 8511lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 8512$lt_c_name_hook\ 8513" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 8514" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 8515 8516# Transform an extracted symbol line into symbol name with lib prefix and 8517# symbol address. 8518lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 8519$lt_c_name_lib_hook\ 8520" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 8521" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 8522" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 8523 8524# Handle CRLF in mingw tool chain 8525opt_cr= 8526case $build_os in 8527mingw*) 8528 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 8529 ;; 8530esac 8531 8532# Try without a prefix underscore, then with it. 8533for ac_symprfx in "" "_"; do 8534 8535 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 8536 symxfrm="\\1 $ac_symprfx\\2 \\2" 8537 8538 # Write the raw and C identifiers. 8539 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8540 # Fake it for dumpbin and say T for any non-static function, 8541 # D for any global variable and I for any imported variable. 8542 # Also find C++ and __fastcall symbols from MSVC++, 8543 # which start with @ or ?. 8544 lt_cv_sys_global_symbol_pipe="$AWK '"\ 8545" {last_section=section; section=\$ 3};"\ 8546" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 8547" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 8548" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 8549" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 8550" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 8551" \$ 0!~/External *\|/{next};"\ 8552" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 8553" {if(hide[section]) next};"\ 8554" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 8555" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 8556" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 8557" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 8558" ' prfx=^$ac_symprfx" 8559 else 8560 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 8561 fi 8562 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 8563 8564 # Check to see that the pipe works correctly. 8565 pipe_works=no 8566 8567 rm -f conftest* 8568 cat > conftest.$ac_ext <<_LT_EOF 8569#ifdef __cplusplus 8570extern "C" { 8571#endif 8572char nm_test_var; 8573void nm_test_func(void); 8574void nm_test_func(void){} 8575#ifdef __cplusplus 8576} 8577#endif 8578int main(){nm_test_var='a';nm_test_func();return(0);} 8579_LT_EOF 8580 8581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8582 (eval $ac_compile) 2>&5 8583 ac_status=$? 8584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8585 test $ac_status = 0; }; then 8586 # Now try to grab the symbols. 8587 nlist=conftest.nm 8588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 8589 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 8590 ac_status=$? 8591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8592 test $ac_status = 0; } && test -s "$nlist"; then 8593 # Try sorting and uniquifying the output. 8594 if sort "$nlist" | uniq > "$nlist"T; then 8595 mv -f "$nlist"T "$nlist" 8596 else 8597 rm -f "$nlist"T 8598 fi 8599 8600 # Make sure that we snagged all the symbols we need. 8601 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 8602 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 8603 cat <<_LT_EOF > conftest.$ac_ext 8604/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 8605#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 8606/* DATA imports from DLLs on WIN32 can't be const, because runtime 8607 relocations are performed -- see ld's documentation on pseudo-relocs. */ 8608# define LT_DLSYM_CONST 8609#elif defined __osf__ 8610/* This system does not cope well with relocations in const data. */ 8611# define LT_DLSYM_CONST 8612#else 8613# define LT_DLSYM_CONST const 8614#endif 8615 8616#ifdef __cplusplus 8617extern "C" { 8618#endif 8619 8620_LT_EOF 8621 # Now generate the symbol file. 8622 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 8623 8624 cat <<_LT_EOF >> conftest.$ac_ext 8625 8626/* The mapping between symbol names and symbols. */ 8627LT_DLSYM_CONST struct { 8628 const char *name; 8629 void *address; 8630} 8631lt__PROGRAM__LTX_preloaded_symbols[] = 8632{ 8633 { "@PROGRAM@", (void *) 0 }, 8634_LT_EOF 8635 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 8636 cat <<\_LT_EOF >> conftest.$ac_ext 8637 {0, (void *) 0} 8638}; 8639 8640/* This works around a problem in FreeBSD linker */ 8641#ifdef FREEBSD_WORKAROUND 8642static const void *lt_preloaded_setup() { 8643 return lt__PROGRAM__LTX_preloaded_symbols; 8644} 8645#endif 8646 8647#ifdef __cplusplus 8648} 8649#endif 8650_LT_EOF 8651 # Now try linking the two files. 8652 mv conftest.$ac_objext conftstm.$ac_objext 8653 lt_globsym_save_LIBS=$LIBS 8654 lt_globsym_save_CFLAGS=$CFLAGS 8655 LIBS=conftstm.$ac_objext 8656 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8657 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8658 (eval $ac_link) 2>&5 8659 ac_status=$? 8660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8661 test $ac_status = 0; } && test -s conftest$ac_exeext; then 8662 pipe_works=yes 8663 fi 8664 LIBS=$lt_globsym_save_LIBS 8665 CFLAGS=$lt_globsym_save_CFLAGS 8666 else 8667 echo "cannot find nm_test_func in $nlist" >&5 8668 fi 8669 else 8670 echo "cannot find nm_test_var in $nlist" >&5 8671 fi 8672 else 8673 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8674 fi 8675 else 8676 echo "$progname: failed program was:" >&5 8677 cat conftest.$ac_ext >&5 8678 fi 8679 rm -rf conftest* conftst* 8680 8681 # Do not use the global_symbol_pipe unless it works. 8682 if test yes = "$pipe_works"; then 8683 break 8684 else 8685 lt_cv_sys_global_symbol_pipe= 8686 fi 8687done 8688 8689fi 8690 8691if test -z "$lt_cv_sys_global_symbol_pipe"; then 8692 lt_cv_sys_global_symbol_to_cdecl= 8693fi 8694if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8696$as_echo "failed" >&6; } 8697else 8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8699$as_echo "ok" >&6; } 8700fi 8701 8702# Response file support. 8703if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8704 nm_file_list_spec='@' 8705elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8706 nm_file_list_spec='@' 8707fi 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8746$as_echo_n "checking for sysroot... " >&6; } 8747 8748# Check whether --with-sysroot was given. 8749if test "${with_sysroot+set}" = set; then : 8750 withval=$with_sysroot; 8751else 8752 with_sysroot=no 8753fi 8754 8755 8756lt_sysroot= 8757case $with_sysroot in #( 8758 yes) 8759 if test yes = "$GCC"; then 8760 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8761 fi 8762 ;; #( 8763 /*) 8764 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8765 ;; #( 8766 no|'') 8767 ;; #( 8768 *) 8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8770$as_echo "$with_sysroot" >&6; } 8771 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8772 ;; 8773esac 8774 8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8776$as_echo "${lt_sysroot:-no}" >&6; } 8777 8778 8779 8780 8781 8782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8783$as_echo_n "checking for a working dd... " >&6; } 8784if ${ac_cv_path_lt_DD+:} false; then : 8785 $as_echo_n "(cached) " >&6 8786else 8787 printf 0123456789abcdef0123456789abcdef >conftest.i 8788cat conftest.i conftest.i >conftest2.i 8789: ${lt_DD:=$DD} 8790if test -z "$lt_DD"; then 8791 ac_path_lt_DD_found=false 8792 # Loop through the user's path and test for each of PROGNAME-LIST 8793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8794for as_dir in $PATH 8795do 8796 IFS=$as_save_IFS 8797 test -z "$as_dir" && as_dir=. 8798 for ac_prog in dd; do 8799 for ac_exec_ext in '' $ac_executable_extensions; do 8800 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8801 as_fn_executable_p "$ac_path_lt_DD" || continue 8802if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8803 cmp -s conftest.i conftest.out \ 8804 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8805fi 8806 $ac_path_lt_DD_found && break 3 8807 done 8808 done 8809 done 8810IFS=$as_save_IFS 8811 if test -z "$ac_cv_path_lt_DD"; then 8812 : 8813 fi 8814else 8815 ac_cv_path_lt_DD=$lt_DD 8816fi 8817 8818rm -f conftest.i conftest2.i conftest.out 8819fi 8820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8821$as_echo "$ac_cv_path_lt_DD" >&6; } 8822 8823 8824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8825$as_echo_n "checking how to truncate binary pipes... " >&6; } 8826if ${lt_cv_truncate_bin+:} false; then : 8827 $as_echo_n "(cached) " >&6 8828else 8829 printf 0123456789abcdef0123456789abcdef >conftest.i 8830cat conftest.i conftest.i >conftest2.i 8831lt_cv_truncate_bin= 8832if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8833 cmp -s conftest.i conftest.out \ 8834 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8835fi 8836rm -f conftest.i conftest2.i conftest.out 8837test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8838fi 8839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8840$as_echo "$lt_cv_truncate_bin" >&6; } 8841 8842 8843 8844 8845 8846 8847 8848# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8849func_cc_basename () 8850{ 8851 for cc_temp in $*""; do 8852 case $cc_temp in 8853 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8854 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8855 \-*) ;; 8856 *) break;; 8857 esac 8858 done 8859 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8860} 8861 8862# Check whether --enable-libtool-lock was given. 8863if test "${enable_libtool_lock+set}" = set; then : 8864 enableval=$enable_libtool_lock; 8865fi 8866 8867test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8868 8869# Some flags need to be propagated to the compiler or linker for good 8870# libtool support. 8871case $host in 8872ia64-*-hpux*) 8873 # Find out what ABI is being produced by ac_compile, and set mode 8874 # options accordingly. 8875 echo 'int i;' > conftest.$ac_ext 8876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8877 (eval $ac_compile) 2>&5 8878 ac_status=$? 8879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8880 test $ac_status = 0; }; then 8881 case `/usr/bin/file conftest.$ac_objext` in 8882 *ELF-32*) 8883 HPUX_IA64_MODE=32 8884 ;; 8885 *ELF-64*) 8886 HPUX_IA64_MODE=64 8887 ;; 8888 esac 8889 fi 8890 rm -rf conftest* 8891 ;; 8892*-*-irix6*) 8893 # Find out what ABI is being produced by ac_compile, and set linker 8894 # options accordingly. 8895 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8896 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8897 (eval $ac_compile) 2>&5 8898 ac_status=$? 8899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8900 test $ac_status = 0; }; then 8901 if test yes = "$lt_cv_prog_gnu_ld"; then 8902 case `/usr/bin/file conftest.$ac_objext` in 8903 *32-bit*) 8904 LD="${LD-ld} -melf32bsmip" 8905 ;; 8906 *N32*) 8907 LD="${LD-ld} -melf32bmipn32" 8908 ;; 8909 *64-bit*) 8910 LD="${LD-ld} -melf64bmip" 8911 ;; 8912 esac 8913 else 8914 case `/usr/bin/file conftest.$ac_objext` in 8915 *32-bit*) 8916 LD="${LD-ld} -32" 8917 ;; 8918 *N32*) 8919 LD="${LD-ld} -n32" 8920 ;; 8921 *64-bit*) 8922 LD="${LD-ld} -64" 8923 ;; 8924 esac 8925 fi 8926 fi 8927 rm -rf conftest* 8928 ;; 8929 8930mips64*-*linux*) 8931 # Find out what ABI is being produced by ac_compile, and set linker 8932 # options accordingly. 8933 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8934 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8935 (eval $ac_compile) 2>&5 8936 ac_status=$? 8937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8938 test $ac_status = 0; }; then 8939 emul=elf 8940 case `/usr/bin/file conftest.$ac_objext` in 8941 *32-bit*) 8942 emul="${emul}32" 8943 ;; 8944 *64-bit*) 8945 emul="${emul}64" 8946 ;; 8947 esac 8948 case `/usr/bin/file conftest.$ac_objext` in 8949 *MSB*) 8950 emul="${emul}btsmip" 8951 ;; 8952 *LSB*) 8953 emul="${emul}ltsmip" 8954 ;; 8955 esac 8956 case `/usr/bin/file conftest.$ac_objext` in 8957 *N32*) 8958 emul="${emul}n32" 8959 ;; 8960 esac 8961 LD="${LD-ld} -m $emul" 8962 fi 8963 rm -rf conftest* 8964 ;; 8965 8966x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8967s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8968 # Find out what ABI is being produced by ac_compile, and set linker 8969 # options accordingly. Note that the listed cases only cover the 8970 # situations where additional linker options are needed (such as when 8971 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8972 # vice versa); the common cases where no linker options are needed do 8973 # not appear in the list. 8974 echo 'int i;' > conftest.$ac_ext 8975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8976 (eval $ac_compile) 2>&5 8977 ac_status=$? 8978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8979 test $ac_status = 0; }; then 8980 case `/usr/bin/file conftest.o` in 8981 *32-bit*) 8982 case $host in 8983 x86_64-*kfreebsd*-gnu) 8984 LD="${LD-ld} -m elf_i386_fbsd" 8985 ;; 8986 x86_64-*linux*) 8987 case `/usr/bin/file conftest.o` in 8988 *x86-64*) 8989 LD="${LD-ld} -m elf32_x86_64" 8990 ;; 8991 *) 8992 LD="${LD-ld} -m elf_i386" 8993 ;; 8994 esac 8995 ;; 8996 powerpc64le-*linux*) 8997 LD="${LD-ld} -m elf32lppclinux" 8998 ;; 8999 powerpc64-*linux*) 9000 LD="${LD-ld} -m elf32ppclinux" 9001 ;; 9002 s390x-*linux*) 9003 LD="${LD-ld} -m elf_s390" 9004 ;; 9005 sparc64-*linux*) 9006 LD="${LD-ld} -m elf32_sparc" 9007 ;; 9008 esac 9009 ;; 9010 *64-bit*) 9011 case $host in 9012 x86_64-*kfreebsd*-gnu) 9013 LD="${LD-ld} -m elf_x86_64_fbsd" 9014 ;; 9015 x86_64-*linux*) 9016 LD="${LD-ld} -m elf_x86_64" 9017 ;; 9018 powerpcle-*linux*) 9019 LD="${LD-ld} -m elf64lppc" 9020 ;; 9021 powerpc-*linux*) 9022 LD="${LD-ld} -m elf64ppc" 9023 ;; 9024 s390*-*linux*|s390*-*tpf*) 9025 LD="${LD-ld} -m elf64_s390" 9026 ;; 9027 sparc*-*linux*) 9028 LD="${LD-ld} -m elf64_sparc" 9029 ;; 9030 esac 9031 ;; 9032 esac 9033 fi 9034 rm -rf conftest* 9035 ;; 9036 9037*-*-sco3.2v5*) 9038 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 9039 SAVE_CFLAGS=$CFLAGS 9040 CFLAGS="$CFLAGS -belf" 9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 9042$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 9043if ${lt_cv_cc_needs_belf+:} false; then : 9044 $as_echo_n "(cached) " >&6 9045else 9046 ac_ext=c 9047ac_cpp='$CPP $CPPFLAGS' 9048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9050ac_compiler_gnu=$ac_cv_c_compiler_gnu 9051 9052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9053/* end confdefs.h. */ 9054 9055int 9056main () 9057{ 9058 9059 ; 9060 return 0; 9061} 9062_ACEOF 9063if ac_fn_c_try_link "$LINENO"; then : 9064 lt_cv_cc_needs_belf=yes 9065else 9066 lt_cv_cc_needs_belf=no 9067fi 9068rm -f core conftest.err conftest.$ac_objext \ 9069 conftest$ac_exeext conftest.$ac_ext 9070 ac_ext=c 9071ac_cpp='$CPP $CPPFLAGS' 9072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9074ac_compiler_gnu=$ac_cv_c_compiler_gnu 9075 9076fi 9077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 9078$as_echo "$lt_cv_cc_needs_belf" >&6; } 9079 if test yes != "$lt_cv_cc_needs_belf"; then 9080 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 9081 CFLAGS=$SAVE_CFLAGS 9082 fi 9083 ;; 9084*-*solaris*) 9085 # Find out what ABI is being produced by ac_compile, and set linker 9086 # options accordingly. 9087 echo 'int i;' > conftest.$ac_ext 9088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9089 (eval $ac_compile) 2>&5 9090 ac_status=$? 9091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9092 test $ac_status = 0; }; then 9093 case `/usr/bin/file conftest.o` in 9094 *64-bit*) 9095 case $lt_cv_prog_gnu_ld in 9096 yes*) 9097 case $host in 9098 i?86-*-solaris*|x86_64-*-solaris*) 9099 LD="${LD-ld} -m elf_x86_64" 9100 ;; 9101 sparc*-*-solaris*) 9102 LD="${LD-ld} -m elf64_sparc" 9103 ;; 9104 esac 9105 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 9106 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 9107 LD=${LD-ld}_sol2 9108 fi 9109 ;; 9110 *) 9111 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 9112 LD="${LD-ld} -64" 9113 fi 9114 ;; 9115 esac 9116 ;; 9117 esac 9118 fi 9119 rm -rf conftest* 9120 ;; 9121esac 9122 9123need_locks=$enable_libtool_lock 9124 9125if test -n "$ac_tool_prefix"; then 9126 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 9127set dummy ${ac_tool_prefix}mt; ac_word=$2 9128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9129$as_echo_n "checking for $ac_word... " >&6; } 9130if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 9131 $as_echo_n "(cached) " >&6 9132else 9133 if test -n "$MANIFEST_TOOL"; then 9134 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 9135else 9136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9137for as_dir in $PATH 9138do 9139 IFS=$as_save_IFS 9140 test -z "$as_dir" && as_dir=. 9141 for ac_exec_ext in '' $ac_executable_extensions; do 9142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9143 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 9144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9145 break 2 9146 fi 9147done 9148 done 9149IFS=$as_save_IFS 9150 9151fi 9152fi 9153MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 9154if test -n "$MANIFEST_TOOL"; then 9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 9156$as_echo "$MANIFEST_TOOL" >&6; } 9157else 9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9159$as_echo "no" >&6; } 9160fi 9161 9162 9163fi 9164if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 9165 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 9166 # Extract the first word of "mt", so it can be a program name with args. 9167set dummy mt; ac_word=$2 9168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9169$as_echo_n "checking for $ac_word... " >&6; } 9170if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 9171 $as_echo_n "(cached) " >&6 9172else 9173 if test -n "$ac_ct_MANIFEST_TOOL"; then 9174 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 9175else 9176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9177for as_dir in $PATH 9178do 9179 IFS=$as_save_IFS 9180 test -z "$as_dir" && as_dir=. 9181 for ac_exec_ext in '' $ac_executable_extensions; do 9182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9183 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 9184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9185 break 2 9186 fi 9187done 9188 done 9189IFS=$as_save_IFS 9190 9191fi 9192fi 9193ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 9194if test -n "$ac_ct_MANIFEST_TOOL"; then 9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 9196$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 9197else 9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9199$as_echo "no" >&6; } 9200fi 9201 9202 if test "x$ac_ct_MANIFEST_TOOL" = x; then 9203 MANIFEST_TOOL=":" 9204 else 9205 case $cross_compiling:$ac_tool_warned in 9206yes:) 9207{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9209ac_tool_warned=yes ;; 9210esac 9211 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 9212 fi 9213else 9214 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 9215fi 9216 9217test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 9218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 9219$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 9220if ${lt_cv_path_mainfest_tool+:} false; then : 9221 $as_echo_n "(cached) " >&6 9222else 9223 lt_cv_path_mainfest_tool=no 9224 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 9225 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 9226 cat conftest.err >&5 9227 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 9228 lt_cv_path_mainfest_tool=yes 9229 fi 9230 rm -f conftest* 9231fi 9232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 9233$as_echo "$lt_cv_path_mainfest_tool" >&6; } 9234if test yes != "$lt_cv_path_mainfest_tool"; then 9235 MANIFEST_TOOL=: 9236fi 9237 9238 9239 9240 9241 9242 9243 case $host_os in 9244 rhapsody* | darwin*) 9245 if test -n "$ac_tool_prefix"; then 9246 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 9247set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 9248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9249$as_echo_n "checking for $ac_word... " >&6; } 9250if ${ac_cv_prog_DSYMUTIL+:} false; then : 9251 $as_echo_n "(cached) " >&6 9252else 9253 if test -n "$DSYMUTIL"; then 9254 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 9255else 9256as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9257for as_dir in $PATH 9258do 9259 IFS=$as_save_IFS 9260 test -z "$as_dir" && as_dir=. 9261 for ac_exec_ext in '' $ac_executable_extensions; do 9262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9263 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 9264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9265 break 2 9266 fi 9267done 9268 done 9269IFS=$as_save_IFS 9270 9271fi 9272fi 9273DSYMUTIL=$ac_cv_prog_DSYMUTIL 9274if test -n "$DSYMUTIL"; then 9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 9276$as_echo "$DSYMUTIL" >&6; } 9277else 9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9279$as_echo "no" >&6; } 9280fi 9281 9282 9283fi 9284if test -z "$ac_cv_prog_DSYMUTIL"; then 9285 ac_ct_DSYMUTIL=$DSYMUTIL 9286 # Extract the first word of "dsymutil", so it can be a program name with args. 9287set dummy dsymutil; ac_word=$2 9288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9289$as_echo_n "checking for $ac_word... " >&6; } 9290if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 9291 $as_echo_n "(cached) " >&6 9292else 9293 if test -n "$ac_ct_DSYMUTIL"; then 9294 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 9295else 9296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9297for as_dir in $PATH 9298do 9299 IFS=$as_save_IFS 9300 test -z "$as_dir" && as_dir=. 9301 for ac_exec_ext in '' $ac_executable_extensions; do 9302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9303 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 9304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9305 break 2 9306 fi 9307done 9308 done 9309IFS=$as_save_IFS 9310 9311fi 9312fi 9313ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 9314if test -n "$ac_ct_DSYMUTIL"; then 9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 9316$as_echo "$ac_ct_DSYMUTIL" >&6; } 9317else 9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9319$as_echo "no" >&6; } 9320fi 9321 9322 if test "x$ac_ct_DSYMUTIL" = x; then 9323 DSYMUTIL=":" 9324 else 9325 case $cross_compiling:$ac_tool_warned in 9326yes:) 9327{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9328$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9329ac_tool_warned=yes ;; 9330esac 9331 DSYMUTIL=$ac_ct_DSYMUTIL 9332 fi 9333else 9334 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 9335fi 9336 9337 if test -n "$ac_tool_prefix"; then 9338 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 9339set dummy ${ac_tool_prefix}nmedit; ac_word=$2 9340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9341$as_echo_n "checking for $ac_word... " >&6; } 9342if ${ac_cv_prog_NMEDIT+:} false; then : 9343 $as_echo_n "(cached) " >&6 9344else 9345 if test -n "$NMEDIT"; then 9346 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 9347else 9348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9349for as_dir in $PATH 9350do 9351 IFS=$as_save_IFS 9352 test -z "$as_dir" && as_dir=. 9353 for ac_exec_ext in '' $ac_executable_extensions; do 9354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9355 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 9356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9357 break 2 9358 fi 9359done 9360 done 9361IFS=$as_save_IFS 9362 9363fi 9364fi 9365NMEDIT=$ac_cv_prog_NMEDIT 9366if test -n "$NMEDIT"; then 9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 9368$as_echo "$NMEDIT" >&6; } 9369else 9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9371$as_echo "no" >&6; } 9372fi 9373 9374 9375fi 9376if test -z "$ac_cv_prog_NMEDIT"; then 9377 ac_ct_NMEDIT=$NMEDIT 9378 # Extract the first word of "nmedit", so it can be a program name with args. 9379set dummy nmedit; ac_word=$2 9380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9381$as_echo_n "checking for $ac_word... " >&6; } 9382if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 9383 $as_echo_n "(cached) " >&6 9384else 9385 if test -n "$ac_ct_NMEDIT"; then 9386 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 9387else 9388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9389for as_dir in $PATH 9390do 9391 IFS=$as_save_IFS 9392 test -z "$as_dir" && as_dir=. 9393 for ac_exec_ext in '' $ac_executable_extensions; do 9394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9395 ac_cv_prog_ac_ct_NMEDIT="nmedit" 9396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9397 break 2 9398 fi 9399done 9400 done 9401IFS=$as_save_IFS 9402 9403fi 9404fi 9405ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 9406if test -n "$ac_ct_NMEDIT"; then 9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 9408$as_echo "$ac_ct_NMEDIT" >&6; } 9409else 9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9411$as_echo "no" >&6; } 9412fi 9413 9414 if test "x$ac_ct_NMEDIT" = x; then 9415 NMEDIT=":" 9416 else 9417 case $cross_compiling:$ac_tool_warned in 9418yes:) 9419{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9420$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9421ac_tool_warned=yes ;; 9422esac 9423 NMEDIT=$ac_ct_NMEDIT 9424 fi 9425else 9426 NMEDIT="$ac_cv_prog_NMEDIT" 9427fi 9428 9429 if test -n "$ac_tool_prefix"; then 9430 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 9431set dummy ${ac_tool_prefix}lipo; ac_word=$2 9432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9433$as_echo_n "checking for $ac_word... " >&6; } 9434if ${ac_cv_prog_LIPO+:} false; then : 9435 $as_echo_n "(cached) " >&6 9436else 9437 if test -n "$LIPO"; then 9438 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 9439else 9440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9441for as_dir in $PATH 9442do 9443 IFS=$as_save_IFS 9444 test -z "$as_dir" && as_dir=. 9445 for ac_exec_ext in '' $ac_executable_extensions; do 9446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9447 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 9448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9449 break 2 9450 fi 9451done 9452 done 9453IFS=$as_save_IFS 9454 9455fi 9456fi 9457LIPO=$ac_cv_prog_LIPO 9458if test -n "$LIPO"; then 9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 9460$as_echo "$LIPO" >&6; } 9461else 9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9463$as_echo "no" >&6; } 9464fi 9465 9466 9467fi 9468if test -z "$ac_cv_prog_LIPO"; then 9469 ac_ct_LIPO=$LIPO 9470 # Extract the first word of "lipo", so it can be a program name with args. 9471set dummy lipo; ac_word=$2 9472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9473$as_echo_n "checking for $ac_word... " >&6; } 9474if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 9475 $as_echo_n "(cached) " >&6 9476else 9477 if test -n "$ac_ct_LIPO"; then 9478 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 9479else 9480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9481for as_dir in $PATH 9482do 9483 IFS=$as_save_IFS 9484 test -z "$as_dir" && as_dir=. 9485 for ac_exec_ext in '' $ac_executable_extensions; do 9486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9487 ac_cv_prog_ac_ct_LIPO="lipo" 9488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9489 break 2 9490 fi 9491done 9492 done 9493IFS=$as_save_IFS 9494 9495fi 9496fi 9497ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 9498if test -n "$ac_ct_LIPO"; then 9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 9500$as_echo "$ac_ct_LIPO" >&6; } 9501else 9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9503$as_echo "no" >&6; } 9504fi 9505 9506 if test "x$ac_ct_LIPO" = x; then 9507 LIPO=":" 9508 else 9509 case $cross_compiling:$ac_tool_warned in 9510yes:) 9511{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9512$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9513ac_tool_warned=yes ;; 9514esac 9515 LIPO=$ac_ct_LIPO 9516 fi 9517else 9518 LIPO="$ac_cv_prog_LIPO" 9519fi 9520 9521 if test -n "$ac_tool_prefix"; then 9522 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 9523set dummy ${ac_tool_prefix}otool; ac_word=$2 9524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9525$as_echo_n "checking for $ac_word... " >&6; } 9526if ${ac_cv_prog_OTOOL+:} false; then : 9527 $as_echo_n "(cached) " >&6 9528else 9529 if test -n "$OTOOL"; then 9530 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 9531else 9532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9533for as_dir in $PATH 9534do 9535 IFS=$as_save_IFS 9536 test -z "$as_dir" && as_dir=. 9537 for ac_exec_ext in '' $ac_executable_extensions; do 9538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9539 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 9540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9541 break 2 9542 fi 9543done 9544 done 9545IFS=$as_save_IFS 9546 9547fi 9548fi 9549OTOOL=$ac_cv_prog_OTOOL 9550if test -n "$OTOOL"; then 9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 9552$as_echo "$OTOOL" >&6; } 9553else 9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9555$as_echo "no" >&6; } 9556fi 9557 9558 9559fi 9560if test -z "$ac_cv_prog_OTOOL"; then 9561 ac_ct_OTOOL=$OTOOL 9562 # Extract the first word of "otool", so it can be a program name with args. 9563set dummy otool; ac_word=$2 9564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9565$as_echo_n "checking for $ac_word... " >&6; } 9566if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 9567 $as_echo_n "(cached) " >&6 9568else 9569 if test -n "$ac_ct_OTOOL"; then 9570 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 9571else 9572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9573for as_dir in $PATH 9574do 9575 IFS=$as_save_IFS 9576 test -z "$as_dir" && as_dir=. 9577 for ac_exec_ext in '' $ac_executable_extensions; do 9578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9579 ac_cv_prog_ac_ct_OTOOL="otool" 9580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9581 break 2 9582 fi 9583done 9584 done 9585IFS=$as_save_IFS 9586 9587fi 9588fi 9589ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 9590if test -n "$ac_ct_OTOOL"; then 9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 9592$as_echo "$ac_ct_OTOOL" >&6; } 9593else 9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9595$as_echo "no" >&6; } 9596fi 9597 9598 if test "x$ac_ct_OTOOL" = x; then 9599 OTOOL=":" 9600 else 9601 case $cross_compiling:$ac_tool_warned in 9602yes:) 9603{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9604$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9605ac_tool_warned=yes ;; 9606esac 9607 OTOOL=$ac_ct_OTOOL 9608 fi 9609else 9610 OTOOL="$ac_cv_prog_OTOOL" 9611fi 9612 9613 if test -n "$ac_tool_prefix"; then 9614 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 9615set dummy ${ac_tool_prefix}otool64; ac_word=$2 9616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9617$as_echo_n "checking for $ac_word... " >&6; } 9618if ${ac_cv_prog_OTOOL64+:} false; then : 9619 $as_echo_n "(cached) " >&6 9620else 9621 if test -n "$OTOOL64"; then 9622 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 9623else 9624as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9625for as_dir in $PATH 9626do 9627 IFS=$as_save_IFS 9628 test -z "$as_dir" && as_dir=. 9629 for ac_exec_ext in '' $ac_executable_extensions; do 9630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9631 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 9632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9633 break 2 9634 fi 9635done 9636 done 9637IFS=$as_save_IFS 9638 9639fi 9640fi 9641OTOOL64=$ac_cv_prog_OTOOL64 9642if test -n "$OTOOL64"; then 9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 9644$as_echo "$OTOOL64" >&6; } 9645else 9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9647$as_echo "no" >&6; } 9648fi 9649 9650 9651fi 9652if test -z "$ac_cv_prog_OTOOL64"; then 9653 ac_ct_OTOOL64=$OTOOL64 9654 # Extract the first word of "otool64", so it can be a program name with args. 9655set dummy otool64; ac_word=$2 9656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9657$as_echo_n "checking for $ac_word... " >&6; } 9658if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 9659 $as_echo_n "(cached) " >&6 9660else 9661 if test -n "$ac_ct_OTOOL64"; then 9662 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9663else 9664as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9665for as_dir in $PATH 9666do 9667 IFS=$as_save_IFS 9668 test -z "$as_dir" && as_dir=. 9669 for ac_exec_ext in '' $ac_executable_extensions; do 9670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9671 ac_cv_prog_ac_ct_OTOOL64="otool64" 9672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9673 break 2 9674 fi 9675done 9676 done 9677IFS=$as_save_IFS 9678 9679fi 9680fi 9681ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9682if test -n "$ac_ct_OTOOL64"; then 9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9684$as_echo "$ac_ct_OTOOL64" >&6; } 9685else 9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9687$as_echo "no" >&6; } 9688fi 9689 9690 if test "x$ac_ct_OTOOL64" = x; then 9691 OTOOL64=":" 9692 else 9693 case $cross_compiling:$ac_tool_warned in 9694yes:) 9695{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9696$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9697ac_tool_warned=yes ;; 9698esac 9699 OTOOL64=$ac_ct_OTOOL64 9700 fi 9701else 9702 OTOOL64="$ac_cv_prog_OTOOL64" 9703fi 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9732$as_echo_n "checking for -single_module linker flag... " >&6; } 9733if ${lt_cv_apple_cc_single_mod+:} false; then : 9734 $as_echo_n "(cached) " >&6 9735else 9736 lt_cv_apple_cc_single_mod=no 9737 if test -z "$LT_MULTI_MODULE"; then 9738 # By default we will add the -single_module flag. You can override 9739 # by either setting the environment variable LT_MULTI_MODULE 9740 # non-empty at configure time, or by adding -multi_module to the 9741 # link flags. 9742 rm -rf libconftest.dylib* 9743 echo "int foo(void){return 1;}" > conftest.c 9744 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9745-dynamiclib -Wl,-single_module conftest.c" >&5 9746 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9747 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9748 _lt_result=$? 9749 # If there is a non-empty error log, and "single_module" 9750 # appears in it, assume the flag caused a linker warning 9751 if test -s conftest.err && $GREP single_module conftest.err; then 9752 cat conftest.err >&5 9753 # Otherwise, if the output was created with a 0 exit code from 9754 # the compiler, it worked. 9755 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9756 lt_cv_apple_cc_single_mod=yes 9757 else 9758 cat conftest.err >&5 9759 fi 9760 rm -rf libconftest.dylib* 9761 rm -f conftest.* 9762 fi 9763fi 9764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9765$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9766 9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9768$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9769if ${lt_cv_ld_exported_symbols_list+:} false; then : 9770 $as_echo_n "(cached) " >&6 9771else 9772 lt_cv_ld_exported_symbols_list=no 9773 save_LDFLAGS=$LDFLAGS 9774 echo "_main" > conftest.sym 9775 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9777/* end confdefs.h. */ 9778 9779int 9780main () 9781{ 9782 9783 ; 9784 return 0; 9785} 9786_ACEOF 9787if ac_fn_c_try_link "$LINENO"; then : 9788 lt_cv_ld_exported_symbols_list=yes 9789else 9790 lt_cv_ld_exported_symbols_list=no 9791fi 9792rm -f core conftest.err conftest.$ac_objext \ 9793 conftest$ac_exeext conftest.$ac_ext 9794 LDFLAGS=$save_LDFLAGS 9795 9796fi 9797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9798$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9799 9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9801$as_echo_n "checking for -force_load linker flag... " >&6; } 9802if ${lt_cv_ld_force_load+:} false; then : 9803 $as_echo_n "(cached) " >&6 9804else 9805 lt_cv_ld_force_load=no 9806 cat > conftest.c << _LT_EOF 9807int forced_loaded() { return 2;} 9808_LT_EOF 9809 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9810 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9811 echo "$AR cru libconftest.a conftest.o" >&5 9812 $AR cru libconftest.a conftest.o 2>&5 9813 echo "$RANLIB libconftest.a" >&5 9814 $RANLIB libconftest.a 2>&5 9815 cat > conftest.c << _LT_EOF 9816int main() { return 0;} 9817_LT_EOF 9818 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9819 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9820 _lt_result=$? 9821 if test -s conftest.err && $GREP force_load conftest.err; then 9822 cat conftest.err >&5 9823 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9824 lt_cv_ld_force_load=yes 9825 else 9826 cat conftest.err >&5 9827 fi 9828 rm -f conftest.err libconftest.a conftest conftest.c 9829 rm -rf conftest.dSYM 9830 9831fi 9832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9833$as_echo "$lt_cv_ld_force_load" >&6; } 9834 case $host_os in 9835 rhapsody* | darwin1.[012]) 9836 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9837 darwin1.*) 9838 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9839 darwin*) # darwin 5.x on 9840 # if running on 10.5 or later, the deployment target defaults 9841 # to the OS version, if on x86, and 10.4, the deployment 9842 # target defaults to 10.4. Don't you love it? 9843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9844 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9845 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9846 10.[012][,.]*) 9847 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9848 10.*) 9849 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9850 esac 9851 ;; 9852 esac 9853 if test yes = "$lt_cv_apple_cc_single_mod"; then 9854 _lt_dar_single_mod='$single_module' 9855 fi 9856 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9857 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9858 else 9859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9860 fi 9861 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9862 _lt_dsymutil='~$DSYMUTIL $lib || :' 9863 else 9864 _lt_dsymutil= 9865 fi 9866 ;; 9867 esac 9868 9869# func_munge_path_list VARIABLE PATH 9870# ----------------------------------- 9871# VARIABLE is name of variable containing _space_ separated list of 9872# directories to be munged by the contents of PATH, which is string 9873# having a format: 9874# "DIR[:DIR]:" 9875# string "DIR[ DIR]" will be prepended to VARIABLE 9876# ":DIR[:DIR]" 9877# string "DIR[ DIR]" will be appended to VARIABLE 9878# "DIRP[:DIRP]::[DIRA:]DIRA" 9879# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9880# "DIRA[ DIRA]" will be appended to VARIABLE 9881# "DIR[:DIR]" 9882# VARIABLE will be replaced by "DIR[ DIR]" 9883func_munge_path_list () 9884{ 9885 case x$2 in 9886 x) 9887 ;; 9888 *:) 9889 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9890 ;; 9891 x:*) 9892 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9893 ;; 9894 *::*) 9895 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9896 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9897 ;; 9898 *) 9899 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9900 ;; 9901 esac 9902} 9903 9904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 9905$as_echo_n "checking for ANSI C header files... " >&6; } 9906if ${ac_cv_header_stdc+:} false; then : 9907 $as_echo_n "(cached) " >&6 9908else 9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9910/* end confdefs.h. */ 9911#include <stdlib.h> 9912#include <stdarg.h> 9913#include <string.h> 9914#include <float.h> 9915 9916int 9917main () 9918{ 9919 9920 ; 9921 return 0; 9922} 9923_ACEOF 9924if ac_fn_c_try_compile "$LINENO"; then : 9925 ac_cv_header_stdc=yes 9926else 9927 ac_cv_header_stdc=no 9928fi 9929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9930 9931if test $ac_cv_header_stdc = yes; then 9932 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9934/* end confdefs.h. */ 9935#include <string.h> 9936 9937_ACEOF 9938if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9939 $EGREP "memchr" >/dev/null 2>&1; then : 9940 9941else 9942 ac_cv_header_stdc=no 9943fi 9944rm -f conftest* 9945 9946fi 9947 9948if test $ac_cv_header_stdc = yes; then 9949 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9951/* end confdefs.h. */ 9952#include <stdlib.h> 9953 9954_ACEOF 9955if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9956 $EGREP "free" >/dev/null 2>&1; then : 9957 9958else 9959 ac_cv_header_stdc=no 9960fi 9961rm -f conftest* 9962 9963fi 9964 9965if test $ac_cv_header_stdc = yes; then 9966 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 9967 if test "$cross_compiling" = yes; then : 9968 : 9969else 9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9971/* end confdefs.h. */ 9972#include <ctype.h> 9973#include <stdlib.h> 9974#if ((' ' & 0x0FF) == 0x020) 9975# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 9976# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 9977#else 9978# define ISLOWER(c) \ 9979 (('a' <= (c) && (c) <= 'i') \ 9980 || ('j' <= (c) && (c) <= 'r') \ 9981 || ('s' <= (c) && (c) <= 'z')) 9982# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 9983#endif 9984 9985#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 9986int 9987main () 9988{ 9989 int i; 9990 for (i = 0; i < 256; i++) 9991 if (XOR (islower (i), ISLOWER (i)) 9992 || toupper (i) != TOUPPER (i)) 9993 return 2; 9994 return 0; 9995} 9996_ACEOF 9997if ac_fn_c_try_run "$LINENO"; then : 9998 9999else 10000 ac_cv_header_stdc=no 10001fi 10002rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 10003 conftest.$ac_objext conftest.beam conftest.$ac_ext 10004fi 10005 10006fi 10007fi 10008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 10009$as_echo "$ac_cv_header_stdc" >&6; } 10010if test $ac_cv_header_stdc = yes; then 10011 10012$as_echo "#define STDC_HEADERS 1" >>confdefs.h 10013 10014fi 10015 10016# On IRIX 5.3, sys/types and inttypes.h are conflicting. 10017for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 10018 inttypes.h stdint.h unistd.h 10019do : 10020 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10021ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 10022" 10023if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 10024 cat >>confdefs.h <<_ACEOF 10025#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10026_ACEOF 10027 10028fi 10029 10030done 10031 10032 10033for ac_header in dlfcn.h 10034do : 10035 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 10036" 10037if test "x$ac_cv_header_dlfcn_h" = xyes; then : 10038 cat >>confdefs.h <<_ACEOF 10039#define HAVE_DLFCN_H 1 10040_ACEOF 10041 10042fi 10043 10044done 10045 10046 10047 10048 10049 10050# Set options 10051 10052 10053 10054 enable_dlopen=no 10055 10056 10057 10058 # Check whether --enable-shared was given. 10059if test "${enable_shared+set}" = set; then : 10060 enableval=$enable_shared; p=${PACKAGE-default} 10061 case $enableval in 10062 yes) enable_shared=yes ;; 10063 no) enable_shared=no ;; 10064 *) 10065 enable_shared=no 10066 # Look at the argument we got. We use all the common list separators. 10067 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 10068 for pkg in $enableval; do 10069 IFS=$lt_save_ifs 10070 if test "X$pkg" = "X$p"; then 10071 enable_shared=yes 10072 fi 10073 done 10074 IFS=$lt_save_ifs 10075 ;; 10076 esac 10077else 10078 enable_shared=yes 10079fi 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 # Check whether --enable-static was given. 10090if test "${enable_static+set}" = set; then : 10091 enableval=$enable_static; p=${PACKAGE-default} 10092 case $enableval in 10093 yes) enable_static=yes ;; 10094 no) enable_static=no ;; 10095 *) 10096 enable_static=no 10097 # Look at the argument we got. We use all the common list separators. 10098 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 10099 for pkg in $enableval; do 10100 IFS=$lt_save_ifs 10101 if test "X$pkg" = "X$p"; then 10102 enable_static=yes 10103 fi 10104 done 10105 IFS=$lt_save_ifs 10106 ;; 10107 esac 10108else 10109 enable_static=yes 10110fi 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121# Check whether --with-pic was given. 10122if test "${with_pic+set}" = set; then : 10123 withval=$with_pic; lt_p=${PACKAGE-default} 10124 case $withval in 10125 yes|no) pic_mode=$withval ;; 10126 *) 10127 pic_mode=default 10128 # Look at the argument we got. We use all the common list separators. 10129 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 10130 for lt_pkg in $withval; do 10131 IFS=$lt_save_ifs 10132 if test "X$lt_pkg" = "X$lt_p"; then 10133 pic_mode=yes 10134 fi 10135 done 10136 IFS=$lt_save_ifs 10137 ;; 10138 esac 10139else 10140 pic_mode=default 10141fi 10142 10143 10144 10145 10146 10147 10148 10149 10150 # Check whether --enable-fast-install was given. 10151if test "${enable_fast_install+set}" = set; then : 10152 enableval=$enable_fast_install; p=${PACKAGE-default} 10153 case $enableval in 10154 yes) enable_fast_install=yes ;; 10155 no) enable_fast_install=no ;; 10156 *) 10157 enable_fast_install=no 10158 # Look at the argument we got. We use all the common list separators. 10159 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 10160 for pkg in $enableval; do 10161 IFS=$lt_save_ifs 10162 if test "X$pkg" = "X$p"; then 10163 enable_fast_install=yes 10164 fi 10165 done 10166 IFS=$lt_save_ifs 10167 ;; 10168 esac 10169else 10170 enable_fast_install=yes 10171fi 10172 10173 10174 10175 10176 10177 10178 10179 10180 shared_archive_member_spec= 10181case $host,$enable_shared in 10182power*-*-aix[5-9]*,yes) 10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 10184$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 10185 10186# Check whether --with-aix-soname was given. 10187if test "${with_aix_soname+set}" = set; then : 10188 withval=$with_aix_soname; case $withval in 10189 aix|svr4|both) 10190 ;; 10191 *) 10192 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 10193 ;; 10194 esac 10195 lt_cv_with_aix_soname=$with_aix_soname 10196else 10197 if ${lt_cv_with_aix_soname+:} false; then : 10198 $as_echo_n "(cached) " >&6 10199else 10200 lt_cv_with_aix_soname=aix 10201fi 10202 10203 with_aix_soname=$lt_cv_with_aix_soname 10204fi 10205 10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 10207$as_echo "$with_aix_soname" >&6; } 10208 if test aix != "$with_aix_soname"; then 10209 # For the AIX way of multilib, we name the shared archive member 10210 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 10211 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 10212 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 10213 # the AIX toolchain works better with OBJECT_MODE set (default 32). 10214 if test 64 = "${OBJECT_MODE-32}"; then 10215 shared_archive_member_spec=shr_64 10216 else 10217 shared_archive_member_spec=shr 10218 fi 10219 fi 10220 ;; 10221*) 10222 with_aix_soname=aix 10223 ;; 10224esac 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235# This can be used to rebuild libtool when needed 10236LIBTOOL_DEPS=$ltmain 10237 10238# Always use our own libtool. 10239LIBTOOL='$(SHELL) $(top_builddir)/libtool' 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270test -z "$LN_S" && LN_S="ln -s" 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285if test -n "${ZSH_VERSION+set}"; then 10286 setopt NO_GLOB_SUBST 10287fi 10288 10289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 10290$as_echo_n "checking for objdir... " >&6; } 10291if ${lt_cv_objdir+:} false; then : 10292 $as_echo_n "(cached) " >&6 10293else 10294 rm -f .libs 2>/dev/null 10295mkdir .libs 2>/dev/null 10296if test -d .libs; then 10297 lt_cv_objdir=.libs 10298else 10299 # MS-DOS does not allow filenames that begin with a dot. 10300 lt_cv_objdir=_libs 10301fi 10302rmdir .libs 2>/dev/null 10303fi 10304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 10305$as_echo "$lt_cv_objdir" >&6; } 10306objdir=$lt_cv_objdir 10307 10308 10309 10310 10311 10312cat >>confdefs.h <<_ACEOF 10313#define LT_OBJDIR "$lt_cv_objdir/" 10314_ACEOF 10315 10316 10317 10318 10319case $host_os in 10320aix3*) 10321 # AIX sometimes has problems with the GCC collect2 program. For some 10322 # reason, if we set the COLLECT_NAMES environment variable, the problems 10323 # vanish in a puff of smoke. 10324 if test set != "${COLLECT_NAMES+set}"; then 10325 COLLECT_NAMES= 10326 export COLLECT_NAMES 10327 fi 10328 ;; 10329esac 10330 10331# Global variables: 10332ofile=libtool 10333can_build_shared=yes 10334 10335# All known linkers require a '.a' archive for static linking (except MSVC, 10336# which needs '.lib'). 10337libext=a 10338 10339with_gnu_ld=$lt_cv_prog_gnu_ld 10340 10341old_CC=$CC 10342old_CFLAGS=$CFLAGS 10343 10344# Set sane defaults for various variables 10345test -z "$CC" && CC=cc 10346test -z "$LTCC" && LTCC=$CC 10347test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 10348test -z "$LD" && LD=ld 10349test -z "$ac_objext" && ac_objext=o 10350 10351func_cc_basename $compiler 10352cc_basename=$func_cc_basename_result 10353 10354 10355# Only perform the check for file, if the check method requires it 10356test -z "$MAGIC_CMD" && MAGIC_CMD=file 10357case $deplibs_check_method in 10358file_magic*) 10359 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 10361$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 10362if ${lt_cv_path_MAGIC_CMD+:} false; then : 10363 $as_echo_n "(cached) " >&6 10364else 10365 case $MAGIC_CMD in 10366[\\/*] | ?:[\\/]*) 10367 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 10368 ;; 10369*) 10370 lt_save_MAGIC_CMD=$MAGIC_CMD 10371 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 10372 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 10373 for ac_dir in $ac_dummy; do 10374 IFS=$lt_save_ifs 10375 test -z "$ac_dir" && ac_dir=. 10376 if test -f "$ac_dir/${ac_tool_prefix}file"; then 10377 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 10378 if test -n "$file_magic_test_file"; then 10379 case $deplibs_check_method in 10380 "file_magic "*) 10381 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 10382 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 10383 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 10384 $EGREP "$file_magic_regex" > /dev/null; then 10385 : 10386 else 10387 cat <<_LT_EOF 1>&2 10388 10389*** Warning: the command libtool uses to detect shared libraries, 10390*** $file_magic_cmd, produces output that libtool cannot recognize. 10391*** The result is that libtool may fail to recognize shared libraries 10392*** as such. This will affect the creation of libtool libraries that 10393*** depend on shared libraries, but programs linked with such libtool 10394*** libraries will work regardless of this problem. Nevertheless, you 10395*** may want to report the problem to your system manager and/or to 10396*** bug-libtool@gnu.org 10397 10398_LT_EOF 10399 fi ;; 10400 esac 10401 fi 10402 break 10403 fi 10404 done 10405 IFS=$lt_save_ifs 10406 MAGIC_CMD=$lt_save_MAGIC_CMD 10407 ;; 10408esac 10409fi 10410 10411MAGIC_CMD=$lt_cv_path_MAGIC_CMD 10412if test -n "$MAGIC_CMD"; then 10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 10414$as_echo "$MAGIC_CMD" >&6; } 10415else 10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10417$as_echo "no" >&6; } 10418fi 10419 10420 10421 10422 10423 10424if test -z "$lt_cv_path_MAGIC_CMD"; then 10425 if test -n "$ac_tool_prefix"; then 10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 10427$as_echo_n "checking for file... " >&6; } 10428if ${lt_cv_path_MAGIC_CMD+:} false; then : 10429 $as_echo_n "(cached) " >&6 10430else 10431 case $MAGIC_CMD in 10432[\\/*] | ?:[\\/]*) 10433 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 10434 ;; 10435*) 10436 lt_save_MAGIC_CMD=$MAGIC_CMD 10437 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 10438 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 10439 for ac_dir in $ac_dummy; do 10440 IFS=$lt_save_ifs 10441 test -z "$ac_dir" && ac_dir=. 10442 if test -f "$ac_dir/file"; then 10443 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 10444 if test -n "$file_magic_test_file"; then 10445 case $deplibs_check_method in 10446 "file_magic "*) 10447 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 10448 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 10449 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 10450 $EGREP "$file_magic_regex" > /dev/null; then 10451 : 10452 else 10453 cat <<_LT_EOF 1>&2 10454 10455*** Warning: the command libtool uses to detect shared libraries, 10456*** $file_magic_cmd, produces output that libtool cannot recognize. 10457*** The result is that libtool may fail to recognize shared libraries 10458*** as such. This will affect the creation of libtool libraries that 10459*** depend on shared libraries, but programs linked with such libtool 10460*** libraries will work regardless of this problem. Nevertheless, you 10461*** may want to report the problem to your system manager and/or to 10462*** bug-libtool@gnu.org 10463 10464_LT_EOF 10465 fi ;; 10466 esac 10467 fi 10468 break 10469 fi 10470 done 10471 IFS=$lt_save_ifs 10472 MAGIC_CMD=$lt_save_MAGIC_CMD 10473 ;; 10474esac 10475fi 10476 10477MAGIC_CMD=$lt_cv_path_MAGIC_CMD 10478if test -n "$MAGIC_CMD"; then 10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 10480$as_echo "$MAGIC_CMD" >&6; } 10481else 10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10483$as_echo "no" >&6; } 10484fi 10485 10486 10487 else 10488 MAGIC_CMD=: 10489 fi 10490fi 10491 10492 fi 10493 ;; 10494esac 10495 10496# Use C for the default configuration in the libtool script 10497 10498lt_save_CC=$CC 10499ac_ext=c 10500ac_cpp='$CPP $CPPFLAGS' 10501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10503ac_compiler_gnu=$ac_cv_c_compiler_gnu 10504 10505 10506# Source file extension for C test sources. 10507ac_ext=c 10508 10509# Object file extension for compiled C test sources. 10510objext=o 10511objext=$objext 10512 10513# Code to be used in simple compile tests 10514lt_simple_compile_test_code="int some_variable = 0;" 10515 10516# Code to be used in simple link tests 10517lt_simple_link_test_code='int main(){return(0);}' 10518 10519 10520 10521 10522 10523 10524 10525# If no C compiler was specified, use CC. 10526LTCC=${LTCC-"$CC"} 10527 10528# If no C compiler flags were specified, use CFLAGS. 10529LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 10530 10531# Allow CC to be a program name with arguments. 10532compiler=$CC 10533 10534# Save the default compiler, since it gets overwritten when the other 10535# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 10536compiler_DEFAULT=$CC 10537 10538# save warnings/boilerplate of simple test code 10539ac_outfile=conftest.$ac_objext 10540echo "$lt_simple_compile_test_code" >conftest.$ac_ext 10541eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 10542_lt_compiler_boilerplate=`cat conftest.err` 10543$RM conftest* 10544 10545ac_outfile=conftest.$ac_objext 10546echo "$lt_simple_link_test_code" >conftest.$ac_ext 10547eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 10548_lt_linker_boilerplate=`cat conftest.err` 10549$RM -r conftest* 10550 10551 10552## CAVEAT EMPTOR: 10553## There is no encapsulation within the following macros, do not change 10554## the running order or otherwise move them around unless you know exactly 10555## what you are doing... 10556if test -n "$compiler"; then 10557 10558lt_prog_compiler_no_builtin_flag= 10559 10560if test yes = "$GCC"; then 10561 case $cc_basename in 10562 nvcc*) 10563 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 10564 *) 10565 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 10566 esac 10567 10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 10569$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 10570if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 10571 $as_echo_n "(cached) " >&6 10572else 10573 lt_cv_prog_compiler_rtti_exceptions=no 10574 ac_outfile=conftest.$ac_objext 10575 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10576 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 10577 # Insert the option either (1) after the last *FLAGS variable, or 10578 # (2) before a word containing "conftest.", or (3) at the end. 10579 # Note that $ac_compile itself does not contain backslashes and begins 10580 # with a dollar sign (not a hyphen), so the echo should work correctly. 10581 # The option is referenced via a variable to avoid confusing sed. 10582 lt_compile=`echo "$ac_compile" | $SED \ 10583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10585 -e 's:$: $lt_compiler_flag:'` 10586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10587 (eval "$lt_compile" 2>conftest.err) 10588 ac_status=$? 10589 cat conftest.err >&5 10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10591 if (exit $ac_status) && test -s "$ac_outfile"; then 10592 # The compiler can only warn and ignore the option if not recognized 10593 # So say no if there are warnings other than the usual output. 10594 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10595 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10596 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10597 lt_cv_prog_compiler_rtti_exceptions=yes 10598 fi 10599 fi 10600 $RM conftest* 10601 10602fi 10603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 10604$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 10605 10606if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 10607 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 10608else 10609 : 10610fi 10611 10612fi 10613 10614 10615 10616 10617 10618 10619 lt_prog_compiler_wl= 10620lt_prog_compiler_pic= 10621lt_prog_compiler_static= 10622 10623 10624 if test yes = "$GCC"; then 10625 lt_prog_compiler_wl='-Wl,' 10626 lt_prog_compiler_static='-static' 10627 10628 case $host_os in 10629 aix*) 10630 # All AIX code is PIC. 10631 if test ia64 = "$host_cpu"; then 10632 # AIX 5 now supports IA64 processor 10633 lt_prog_compiler_static='-Bstatic' 10634 fi 10635 lt_prog_compiler_pic='-fPIC' 10636 ;; 10637 10638 amigaos*) 10639 case $host_cpu in 10640 powerpc) 10641 # see comment about AmigaOS4 .so support 10642 lt_prog_compiler_pic='-fPIC' 10643 ;; 10644 m68k) 10645 # FIXME: we need at least 68020 code to build shared libraries, but 10646 # adding the '-m68020' flag to GCC prevents building anything better, 10647 # like '-m68040'. 10648 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 10649 ;; 10650 esac 10651 ;; 10652 10653 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 10654 # PIC is the default for these OSes. 10655 ;; 10656 10657 mingw* | cygwin* | pw32* | os2* | cegcc*) 10658 # This hack is so that the source file can tell whether it is being 10659 # built for inclusion in a dll (and should export symbols for example). 10660 # Although the cygwin gcc ignores -fPIC, still need this for old-style 10661 # (--disable-auto-import) libraries 10662 lt_prog_compiler_pic='-DDLL_EXPORT' 10663 case $host_os in 10664 os2*) 10665 lt_prog_compiler_static='$wl-static' 10666 ;; 10667 esac 10668 ;; 10669 10670 darwin* | rhapsody*) 10671 # PIC is the default on this platform 10672 # Common symbols not allowed in MH_DYLIB files 10673 lt_prog_compiler_pic='-fno-common' 10674 ;; 10675 10676 haiku*) 10677 # PIC is the default for Haiku. 10678 # The "-static" flag exists, but is broken. 10679 lt_prog_compiler_static= 10680 ;; 10681 10682 hpux*) 10683 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10684 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10685 # sets the default TLS model and affects inlining. 10686 case $host_cpu in 10687 hppa*64*) 10688 # +Z the default 10689 ;; 10690 *) 10691 lt_prog_compiler_pic='-fPIC' 10692 ;; 10693 esac 10694 ;; 10695 10696 interix[3-9]*) 10697 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10698 # Instead, we relocate shared libraries at runtime. 10699 ;; 10700 10701 msdosdjgpp*) 10702 # Just because we use GCC doesn't mean we suddenly get shared libraries 10703 # on systems that don't support them. 10704 lt_prog_compiler_can_build_shared=no 10705 enable_shared=no 10706 ;; 10707 10708 *nto* | *qnx*) 10709 # QNX uses GNU C++, but need to define -shared option too, otherwise 10710 # it will coredump. 10711 lt_prog_compiler_pic='-fPIC -shared' 10712 ;; 10713 10714 sysv4*MP*) 10715 if test -d /usr/nec; then 10716 lt_prog_compiler_pic=-Kconform_pic 10717 fi 10718 ;; 10719 10720 *) 10721 lt_prog_compiler_pic='-fPIC' 10722 ;; 10723 esac 10724 10725 case $cc_basename in 10726 nvcc*) # Cuda Compiler Driver 2.2 10727 lt_prog_compiler_wl='-Xlinker ' 10728 if test -n "$lt_prog_compiler_pic"; then 10729 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10730 fi 10731 ;; 10732 esac 10733 else 10734 # PORTME Check for flag to pass linker flags through the system compiler. 10735 case $host_os in 10736 aix*) 10737 lt_prog_compiler_wl='-Wl,' 10738 if test ia64 = "$host_cpu"; then 10739 # AIX 5 now supports IA64 processor 10740 lt_prog_compiler_static='-Bstatic' 10741 else 10742 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10743 fi 10744 ;; 10745 10746 darwin* | rhapsody*) 10747 # PIC is the default on this platform 10748 # Common symbols not allowed in MH_DYLIB files 10749 lt_prog_compiler_pic='-fno-common' 10750 case $cc_basename in 10751 nagfor*) 10752 # NAG Fortran compiler 10753 lt_prog_compiler_wl='-Wl,-Wl,,' 10754 lt_prog_compiler_pic='-PIC' 10755 lt_prog_compiler_static='-Bstatic' 10756 ;; 10757 esac 10758 ;; 10759 10760 mingw* | cygwin* | pw32* | os2* | cegcc*) 10761 # This hack is so that the source file can tell whether it is being 10762 # built for inclusion in a dll (and should export symbols for example). 10763 lt_prog_compiler_pic='-DDLL_EXPORT' 10764 case $host_os in 10765 os2*) 10766 lt_prog_compiler_static='$wl-static' 10767 ;; 10768 esac 10769 ;; 10770 10771 hpux9* | hpux10* | hpux11*) 10772 lt_prog_compiler_wl='-Wl,' 10773 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10774 # not for PA HP-UX. 10775 case $host_cpu in 10776 hppa*64*|ia64*) 10777 # +Z the default 10778 ;; 10779 *) 10780 lt_prog_compiler_pic='+Z' 10781 ;; 10782 esac 10783 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10784 lt_prog_compiler_static='$wl-a ${wl}archive' 10785 ;; 10786 10787 irix5* | irix6* | nonstopux*) 10788 lt_prog_compiler_wl='-Wl,' 10789 # PIC (with -KPIC) is the default. 10790 lt_prog_compiler_static='-non_shared' 10791 ;; 10792 10793 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10794 case $cc_basename in 10795 # old Intel for x86_64, which still supported -KPIC. 10796 ecc*) 10797 lt_prog_compiler_wl='-Wl,' 10798 lt_prog_compiler_pic='-KPIC' 10799 lt_prog_compiler_static='-static' 10800 ;; 10801 # icc used to be incompatible with GCC. 10802 # ICC 10 doesn't accept -KPIC any more. 10803 icc* | ifort*) 10804 lt_prog_compiler_wl='-Wl,' 10805 lt_prog_compiler_pic='-fPIC' 10806 lt_prog_compiler_static='-static' 10807 ;; 10808 # Lahey Fortran 8.1. 10809 lf95*) 10810 lt_prog_compiler_wl='-Wl,' 10811 lt_prog_compiler_pic='--shared' 10812 lt_prog_compiler_static='--static' 10813 ;; 10814 nagfor*) 10815 # NAG Fortran compiler 10816 lt_prog_compiler_wl='-Wl,-Wl,,' 10817 lt_prog_compiler_pic='-PIC' 10818 lt_prog_compiler_static='-Bstatic' 10819 ;; 10820 tcc*) 10821 # Fabrice Bellard et al's Tiny C Compiler 10822 lt_prog_compiler_wl='-Wl,' 10823 lt_prog_compiler_pic='-fPIC' 10824 lt_prog_compiler_static='-static' 10825 ;; 10826 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10827 # Portland Group compilers (*not* the Pentium gcc compiler, 10828 # which looks to be a dead project) 10829 lt_prog_compiler_wl='-Wl,' 10830 lt_prog_compiler_pic='-fpic' 10831 lt_prog_compiler_static='-Bstatic' 10832 ;; 10833 ccc*) 10834 lt_prog_compiler_wl='-Wl,' 10835 # All Alpha code is PIC. 10836 lt_prog_compiler_static='-non_shared' 10837 ;; 10838 xl* | bgxl* | bgf* | mpixl*) 10839 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10840 lt_prog_compiler_wl='-Wl,' 10841 lt_prog_compiler_pic='-qpic' 10842 lt_prog_compiler_static='-qstaticlink' 10843 ;; 10844 *) 10845 case `$CC -V 2>&1 | sed 5q` in 10846 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10847 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10848 lt_prog_compiler_pic='-KPIC' 10849 lt_prog_compiler_static='-Bstatic' 10850 lt_prog_compiler_wl='' 10851 ;; 10852 *Sun\ F* | *Sun*Fortran*) 10853 lt_prog_compiler_pic='-KPIC' 10854 lt_prog_compiler_static='-Bstatic' 10855 lt_prog_compiler_wl='-Qoption ld ' 10856 ;; 10857 *Sun\ C*) 10858 # Sun C 5.9 10859 lt_prog_compiler_pic='-KPIC' 10860 lt_prog_compiler_static='-Bstatic' 10861 lt_prog_compiler_wl='-Wl,' 10862 ;; 10863 *Intel*\ [CF]*Compiler*) 10864 lt_prog_compiler_wl='-Wl,' 10865 lt_prog_compiler_pic='-fPIC' 10866 lt_prog_compiler_static='-static' 10867 ;; 10868 *Portland\ Group*) 10869 lt_prog_compiler_wl='-Wl,' 10870 lt_prog_compiler_pic='-fpic' 10871 lt_prog_compiler_static='-Bstatic' 10872 ;; 10873 esac 10874 ;; 10875 esac 10876 ;; 10877 10878 newsos6) 10879 lt_prog_compiler_pic='-KPIC' 10880 lt_prog_compiler_static='-Bstatic' 10881 ;; 10882 10883 *nto* | *qnx*) 10884 # QNX uses GNU C++, but need to define -shared option too, otherwise 10885 # it will coredump. 10886 lt_prog_compiler_pic='-fPIC -shared' 10887 ;; 10888 10889 osf3* | osf4* | osf5*) 10890 lt_prog_compiler_wl='-Wl,' 10891 # All OSF/1 code is PIC. 10892 lt_prog_compiler_static='-non_shared' 10893 ;; 10894 10895 rdos*) 10896 lt_prog_compiler_static='-non_shared' 10897 ;; 10898 10899 solaris*) 10900 lt_prog_compiler_pic='-KPIC' 10901 lt_prog_compiler_static='-Bstatic' 10902 case $cc_basename in 10903 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10904 lt_prog_compiler_wl='-Qoption ld ';; 10905 *) 10906 lt_prog_compiler_wl='-Wl,';; 10907 esac 10908 ;; 10909 10910 sunos4*) 10911 lt_prog_compiler_wl='-Qoption ld ' 10912 lt_prog_compiler_pic='-PIC' 10913 lt_prog_compiler_static='-Bstatic' 10914 ;; 10915 10916 sysv4 | sysv4.2uw2* | sysv4.3*) 10917 lt_prog_compiler_wl='-Wl,' 10918 lt_prog_compiler_pic='-KPIC' 10919 lt_prog_compiler_static='-Bstatic' 10920 ;; 10921 10922 sysv4*MP*) 10923 if test -d /usr/nec; then 10924 lt_prog_compiler_pic='-Kconform_pic' 10925 lt_prog_compiler_static='-Bstatic' 10926 fi 10927 ;; 10928 10929 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10930 lt_prog_compiler_wl='-Wl,' 10931 lt_prog_compiler_pic='-KPIC' 10932 lt_prog_compiler_static='-Bstatic' 10933 ;; 10934 10935 unicos*) 10936 lt_prog_compiler_wl='-Wl,' 10937 lt_prog_compiler_can_build_shared=no 10938 ;; 10939 10940 uts4*) 10941 lt_prog_compiler_pic='-pic' 10942 lt_prog_compiler_static='-Bstatic' 10943 ;; 10944 10945 *) 10946 lt_prog_compiler_can_build_shared=no 10947 ;; 10948 esac 10949 fi 10950 10951case $host_os in 10952 # For platforms that do not support PIC, -DPIC is meaningless: 10953 *djgpp*) 10954 lt_prog_compiler_pic= 10955 ;; 10956 *) 10957 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10958 ;; 10959esac 10960 10961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10962$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10963if ${lt_cv_prog_compiler_pic+:} false; then : 10964 $as_echo_n "(cached) " >&6 10965else 10966 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10967fi 10968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10969$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10970lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10971 10972# 10973# Check to make sure the PIC flag actually works. 10974# 10975if test -n "$lt_prog_compiler_pic"; then 10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10977$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10978if ${lt_cv_prog_compiler_pic_works+:} false; then : 10979 $as_echo_n "(cached) " >&6 10980else 10981 lt_cv_prog_compiler_pic_works=no 10982 ac_outfile=conftest.$ac_objext 10983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10984 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10985 # Insert the option either (1) after the last *FLAGS variable, or 10986 # (2) before a word containing "conftest.", or (3) at the end. 10987 # Note that $ac_compile itself does not contain backslashes and begins 10988 # with a dollar sign (not a hyphen), so the echo should work correctly. 10989 # The option is referenced via a variable to avoid confusing sed. 10990 lt_compile=`echo "$ac_compile" | $SED \ 10991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10993 -e 's:$: $lt_compiler_flag:'` 10994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10995 (eval "$lt_compile" 2>conftest.err) 10996 ac_status=$? 10997 cat conftest.err >&5 10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10999 if (exit $ac_status) && test -s "$ac_outfile"; then 11000 # The compiler can only warn and ignore the option if not recognized 11001 # So say no if there are warnings other than the usual output. 11002 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 11003 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11004 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 11005 lt_cv_prog_compiler_pic_works=yes 11006 fi 11007 fi 11008 $RM conftest* 11009 11010fi 11011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 11012$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 11013 11014if test yes = "$lt_cv_prog_compiler_pic_works"; then 11015 case $lt_prog_compiler_pic in 11016 "" | " "*) ;; 11017 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 11018 esac 11019else 11020 lt_prog_compiler_pic= 11021 lt_prog_compiler_can_build_shared=no 11022fi 11023 11024fi 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036# 11037# Check to make sure the static flag actually works. 11038# 11039wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 11040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 11041$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 11042if ${lt_cv_prog_compiler_static_works+:} false; then : 11043 $as_echo_n "(cached) " >&6 11044else 11045 lt_cv_prog_compiler_static_works=no 11046 save_LDFLAGS=$LDFLAGS 11047 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 11048 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11049 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11050 # The linker can only warn and ignore the option if not recognized 11051 # So say no if there are warnings 11052 if test -s conftest.err; then 11053 # Append any errors to the config.log. 11054 cat conftest.err 1>&5 11055 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11056 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11057 if diff conftest.exp conftest.er2 >/dev/null; then 11058 lt_cv_prog_compiler_static_works=yes 11059 fi 11060 else 11061 lt_cv_prog_compiler_static_works=yes 11062 fi 11063 fi 11064 $RM -r conftest* 11065 LDFLAGS=$save_LDFLAGS 11066 11067fi 11068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 11069$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 11070 11071if test yes = "$lt_cv_prog_compiler_static_works"; then 11072 : 11073else 11074 lt_prog_compiler_static= 11075fi 11076 11077 11078 11079 11080 11081 11082 11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 11084$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 11085if ${lt_cv_prog_compiler_c_o+:} false; then : 11086 $as_echo_n "(cached) " >&6 11087else 11088 lt_cv_prog_compiler_c_o=no 11089 $RM -r conftest 2>/dev/null 11090 mkdir conftest 11091 cd conftest 11092 mkdir out 11093 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11094 11095 lt_compiler_flag="-o out/conftest2.$ac_objext" 11096 # Insert the option either (1) after the last *FLAGS variable, or 11097 # (2) before a word containing "conftest.", or (3) at the end. 11098 # Note that $ac_compile itself does not contain backslashes and begins 11099 # with a dollar sign (not a hyphen), so the echo should work correctly. 11100 lt_compile=`echo "$ac_compile" | $SED \ 11101 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 11102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11103 -e 's:$: $lt_compiler_flag:'` 11104 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 11105 (eval "$lt_compile" 2>out/conftest.err) 11106 ac_status=$? 11107 cat out/conftest.err >&5 11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11109 if (exit $ac_status) && test -s out/conftest2.$ac_objext 11110 then 11111 # The compiler can only warn and ignore the option if not recognized 11112 # So say no if there are warnings 11113 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 11114 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 11115 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 11116 lt_cv_prog_compiler_c_o=yes 11117 fi 11118 fi 11119 chmod u+w . 2>&5 11120 $RM conftest* 11121 # SGI C++ compiler will create directory out/ii_files/ for 11122 # template instantiation 11123 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 11124 $RM out/* && rmdir out 11125 cd .. 11126 $RM -r conftest 11127 $RM conftest* 11128 11129fi 11130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 11131$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 11132 11133 11134 11135 11136 11137 11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 11139$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 11140if ${lt_cv_prog_compiler_c_o+:} false; then : 11141 $as_echo_n "(cached) " >&6 11142else 11143 lt_cv_prog_compiler_c_o=no 11144 $RM -r conftest 2>/dev/null 11145 mkdir conftest 11146 cd conftest 11147 mkdir out 11148 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11149 11150 lt_compiler_flag="-o out/conftest2.$ac_objext" 11151 # Insert the option either (1) after the last *FLAGS variable, or 11152 # (2) before a word containing "conftest.", or (3) at the end. 11153 # Note that $ac_compile itself does not contain backslashes and begins 11154 # with a dollar sign (not a hyphen), so the echo should work correctly. 11155 lt_compile=`echo "$ac_compile" | $SED \ 11156 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 11157 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11158 -e 's:$: $lt_compiler_flag:'` 11159 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 11160 (eval "$lt_compile" 2>out/conftest.err) 11161 ac_status=$? 11162 cat out/conftest.err >&5 11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11164 if (exit $ac_status) && test -s out/conftest2.$ac_objext 11165 then 11166 # The compiler can only warn and ignore the option if not recognized 11167 # So say no if there are warnings 11168 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 11169 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 11170 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 11171 lt_cv_prog_compiler_c_o=yes 11172 fi 11173 fi 11174 chmod u+w . 2>&5 11175 $RM conftest* 11176 # SGI C++ compiler will create directory out/ii_files/ for 11177 # template instantiation 11178 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 11179 $RM out/* && rmdir out 11180 cd .. 11181 $RM -r conftest 11182 $RM conftest* 11183 11184fi 11185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 11186$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 11187 11188 11189 11190 11191hard_links=nottested 11192if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 11193 # do not overwrite the value of need_locks provided by the user 11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 11195$as_echo_n "checking if we can lock with hard links... " >&6; } 11196 hard_links=yes 11197 $RM conftest* 11198 ln conftest.a conftest.b 2>/dev/null && hard_links=no 11199 touch conftest.a 11200 ln conftest.a conftest.b 2>&5 || hard_links=no 11201 ln conftest.a conftest.b 2>/dev/null && hard_links=no 11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 11203$as_echo "$hard_links" >&6; } 11204 if test no = "$hard_links"; then 11205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 11206$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 11207 need_locks=warn 11208 fi 11209else 11210 need_locks=no 11211fi 11212 11213 11214 11215 11216 11217 11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 11219$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 11220 11221 runpath_var= 11222 allow_undefined_flag= 11223 always_export_symbols=no 11224 archive_cmds= 11225 archive_expsym_cmds= 11226 compiler_needs_object=no 11227 enable_shared_with_static_runtimes=no 11228 export_dynamic_flag_spec= 11229 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 11230 hardcode_automatic=no 11231 hardcode_direct=no 11232 hardcode_direct_absolute=no 11233 hardcode_libdir_flag_spec= 11234 hardcode_libdir_separator= 11235 hardcode_minus_L=no 11236 hardcode_shlibpath_var=unsupported 11237 inherit_rpath=no 11238 link_all_deplibs=unknown 11239 module_cmds= 11240 module_expsym_cmds= 11241 old_archive_from_new_cmds= 11242 old_archive_from_expsyms_cmds= 11243 thread_safe_flag_spec= 11244 whole_archive_flag_spec= 11245 # include_expsyms should be a list of space-separated symbols to be *always* 11246 # included in the symbol list 11247 include_expsyms= 11248 # exclude_expsyms can be an extended regexp of symbols to exclude 11249 # it will be wrapped by ' (' and ')$', so one must not match beginning or 11250 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 11251 # as well as any symbol that contains 'd'. 11252 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 11253 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 11254 # platforms (ab)use it in PIC code, but their linkers get confused if 11255 # the symbol is explicitly referenced. Since portable code cannot 11256 # rely on this symbol name, it's probably fine to never include it in 11257 # preloaded symbol tables. 11258 # Exclude shared library initialization/finalization symbols. 11259 extract_expsyms_cmds= 11260 11261 case $host_os in 11262 cygwin* | mingw* | pw32* | cegcc*) 11263 # FIXME: the MSVC++ port hasn't been tested in a loooong time 11264 # When not using gcc, we currently assume that we are using 11265 # Microsoft Visual C++. 11266 if test yes != "$GCC"; then 11267 with_gnu_ld=no 11268 fi 11269 ;; 11270 interix*) 11271 # we just hope/assume this is gcc and not c89 (= MSVC++) 11272 with_gnu_ld=yes 11273 ;; 11274 openbsd* | bitrig*) 11275 with_gnu_ld=no 11276 ;; 11277 esac 11278 11279 ld_shlibs=yes 11280 11281 # On some targets, GNU ld is compatible enough with the native linker 11282 # that we're better off using the native interface for both. 11283 lt_use_gnu_ld_interface=no 11284 if test yes = "$with_gnu_ld"; then 11285 case $host_os in 11286 aix*) 11287 # The AIX port of GNU ld has always aspired to compatibility 11288 # with the native linker. However, as the warning in the GNU ld 11289 # block says, versions before 2.19.5* couldn't really create working 11290 # shared libraries, regardless of the interface used. 11291 case `$LD -v 2>&1` in 11292 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 11293 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 11294 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 11295 *) 11296 lt_use_gnu_ld_interface=yes 11297 ;; 11298 esac 11299 ;; 11300 *) 11301 lt_use_gnu_ld_interface=yes 11302 ;; 11303 esac 11304 fi 11305 11306 if test yes = "$lt_use_gnu_ld_interface"; then 11307 # If archive_cmds runs LD, not CC, wlarc should be empty 11308 wlarc='$wl' 11309 11310 # Set some defaults for GNU ld with shared library support. These 11311 # are reset later if shared libraries are not supported. Putting them 11312 # here allows them to be overridden if necessary. 11313 runpath_var=LD_RUN_PATH 11314 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11315 export_dynamic_flag_spec='$wl--export-dynamic' 11316 # ancient GNU ld didn't support --whole-archive et. al. 11317 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 11318 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 11319 else 11320 whole_archive_flag_spec= 11321 fi 11322 supports_anon_versioning=no 11323 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 11324 *GNU\ gold*) supports_anon_versioning=yes ;; 11325 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 11326 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 11327 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 11328 *\ 2.11.*) ;; # other 2.11 versions 11329 *) supports_anon_versioning=yes ;; 11330 esac 11331 11332 # See if GNU ld supports shared libraries. 11333 case $host_os in 11334 aix[3-9]*) 11335 # On AIX/PPC, the GNU linker is very broken 11336 if test ia64 != "$host_cpu"; then 11337 ld_shlibs=no 11338 cat <<_LT_EOF 1>&2 11339 11340*** Warning: the GNU linker, at least up to release 2.19, is reported 11341*** to be unable to reliably create shared libraries on AIX. 11342*** Therefore, libtool is disabling shared libraries support. If you 11343*** really care for shared libraries, you may want to install binutils 11344*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 11345*** You will then need to restart the configuration process. 11346 11347_LT_EOF 11348 fi 11349 ;; 11350 11351 amigaos*) 11352 case $host_cpu in 11353 powerpc) 11354 # see comment about AmigaOS4 .so support 11355 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11356 archive_expsym_cmds='' 11357 ;; 11358 m68k) 11359 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)' 11360 hardcode_libdir_flag_spec='-L$libdir' 11361 hardcode_minus_L=yes 11362 ;; 11363 esac 11364 ;; 11365 11366 beos*) 11367 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11368 allow_undefined_flag=unsupported 11369 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 11370 # support --undefined. This deserves some investigation. FIXME 11371 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11372 else 11373 ld_shlibs=no 11374 fi 11375 ;; 11376 11377 cygwin* | mingw* | pw32* | cegcc*) 11378 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 11379 # as there is no search path for DLLs. 11380 hardcode_libdir_flag_spec='-L$libdir' 11381 export_dynamic_flag_spec='$wl--export-all-symbols' 11382 allow_undefined_flag=unsupported 11383 always_export_symbols=no 11384 enable_shared_with_static_runtimes=yes 11385 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' 11386 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 11387 11388 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 11389 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 11390 # If the export-symbols file already is a .def file, use it as 11391 # is; otherwise, prepend EXPORTS... 11392 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11393 cp $export_symbols $output_objdir/$soname.def; 11394 else 11395 echo EXPORTS > $output_objdir/$soname.def; 11396 cat $export_symbols >> $output_objdir/$soname.def; 11397 fi~ 11398 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 11399 else 11400 ld_shlibs=no 11401 fi 11402 ;; 11403 11404 haiku*) 11405 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11406 link_all_deplibs=yes 11407 ;; 11408 11409 os2*) 11410 hardcode_libdir_flag_spec='-L$libdir' 11411 hardcode_minus_L=yes 11412 allow_undefined_flag=unsupported 11413 shrext_cmds=.dll 11414 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11415 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11416 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11417 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11418 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11419 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11420 emximp -o $lib $output_objdir/$libname.def' 11421 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11422 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11423 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11424 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11425 prefix_cmds="$SED"~ 11426 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11427 prefix_cmds="$prefix_cmds -e 1d"; 11428 fi~ 11429 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11430 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11431 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11432 emximp -o $lib $output_objdir/$libname.def' 11433 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11434 enable_shared_with_static_runtimes=yes 11435 ;; 11436 11437 interix[3-9]*) 11438 hardcode_direct=no 11439 hardcode_shlibpath_var=no 11440 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11441 export_dynamic_flag_spec='$wl-E' 11442 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 11443 # Instead, shared libraries are loaded at an image base (0x10000000 by 11444 # default) and relocated if they conflict, which is a slow very memory 11445 # consuming and fragmenting process. To avoid this, we pick a random, 11446 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 11447 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 11448 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 11449 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' 11450 ;; 11451 11452 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 11453 tmp_diet=no 11454 if test linux-dietlibc = "$host_os"; then 11455 case $cc_basename in 11456 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 11457 esac 11458 fi 11459 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 11460 && test no = "$tmp_diet" 11461 then 11462 tmp_addflag=' $pic_flag' 11463 tmp_sharedflag='-shared' 11464 case $cc_basename,$host_cpu in 11465 pgcc*) # Portland Group C compiler 11466 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' 11467 tmp_addflag=' $pic_flag' 11468 ;; 11469 pgf77* | pgf90* | pgf95* | pgfortran*) 11470 # Portland Group f77 and f90 compilers 11471 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' 11472 tmp_addflag=' $pic_flag -Mnomain' ;; 11473 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 11474 tmp_addflag=' -i_dynamic' ;; 11475 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 11476 tmp_addflag=' -i_dynamic -nofor_main' ;; 11477 ifc* | ifort*) # Intel Fortran compiler 11478 tmp_addflag=' -nofor_main' ;; 11479 lf95*) # Lahey Fortran 8.1 11480 whole_archive_flag_spec= 11481 tmp_sharedflag='--shared' ;; 11482 nagfor*) # NAGFOR 5.3 11483 tmp_sharedflag='-Wl,-shared' ;; 11484 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 11485 tmp_sharedflag='-qmkshrobj' 11486 tmp_addflag= ;; 11487 nvcc*) # Cuda Compiler Driver 2.2 11488 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' 11489 compiler_needs_object=yes 11490 ;; 11491 esac 11492 case `$CC -V 2>&1 | sed 5q` in 11493 *Sun\ C*) # Sun C 5.9 11494 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' 11495 compiler_needs_object=yes 11496 tmp_sharedflag='-G' ;; 11497 *Sun\ F*) # Sun Fortran 8.3 11498 tmp_sharedflag='-G' ;; 11499 esac 11500 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11501 11502 if test yes = "$supports_anon_versioning"; then 11503 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 11504 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 11505 echo "local: *; };" >> $output_objdir/$libname.ver~ 11506 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 11507 fi 11508 11509 case $cc_basename in 11510 tcc*) 11511 export_dynamic_flag_spec='-rdynamic' 11512 ;; 11513 xlf* | bgf* | bgxlf* | mpixlf*) 11514 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 11515 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 11516 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11517 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 11518 if test yes = "$supports_anon_versioning"; then 11519 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 11520 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 11521 echo "local: *; };" >> $output_objdir/$libname.ver~ 11522 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 11523 fi 11524 ;; 11525 esac 11526 else 11527 ld_shlibs=no 11528 fi 11529 ;; 11530 11531 netbsd*) 11532 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11533 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 11534 wlarc= 11535 else 11536 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11537 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 11538 fi 11539 ;; 11540 11541 solaris*) 11542 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 11543 ld_shlibs=no 11544 cat <<_LT_EOF 1>&2 11545 11546*** Warning: The releases 2.8.* of the GNU linker cannot reliably 11547*** create shared libraries on Solaris systems. Therefore, libtool 11548*** is disabling shared libraries support. We urge you to upgrade GNU 11549*** binutils to release 2.9.1 or newer. Another option is to modify 11550*** your PATH or compiler configuration so that the native linker is 11551*** used, and then restart. 11552 11553_LT_EOF 11554 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11555 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11556 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 11557 else 11558 ld_shlibs=no 11559 fi 11560 ;; 11561 11562 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 11563 case `$LD -v 2>&1` in 11564 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 11565 ld_shlibs=no 11566 cat <<_LT_EOF 1>&2 11567 11568*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 11569*** reliably create shared libraries on SCO systems. Therefore, libtool 11570*** is disabling shared libraries support. We urge you to upgrade GNU 11571*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 11572*** your PATH or compiler configuration so that the native linker is 11573*** used, and then restart. 11574 11575_LT_EOF 11576 ;; 11577 *) 11578 # For security reasons, it is highly recommended that you always 11579 # use absolute paths for naming shared libraries, and exclude the 11580 # DT_RUNPATH tag from executables and libraries. But doing so 11581 # requires that you compile everything twice, which is a pain. 11582 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11583 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11584 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11585 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 11586 else 11587 ld_shlibs=no 11588 fi 11589 ;; 11590 esac 11591 ;; 11592 11593 sunos4*) 11594 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11595 wlarc= 11596 hardcode_direct=yes 11597 hardcode_shlibpath_var=no 11598 ;; 11599 11600 *) 11601 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11602 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11603 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 11604 else 11605 ld_shlibs=no 11606 fi 11607 ;; 11608 esac 11609 11610 if test no = "$ld_shlibs"; then 11611 runpath_var= 11612 hardcode_libdir_flag_spec= 11613 export_dynamic_flag_spec= 11614 whole_archive_flag_spec= 11615 fi 11616 else 11617 # PORTME fill in a description of your system's linker (not GNU ld) 11618 case $host_os in 11619 aix3*) 11620 allow_undefined_flag=unsupported 11621 always_export_symbols=yes 11622 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' 11623 # Note: this linker hardcodes the directories in LIBPATH if there 11624 # are no directories specified by -L. 11625 hardcode_minus_L=yes 11626 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 11627 # Neither direct hardcoding nor static linking is supported with a 11628 # broken collect2. 11629 hardcode_direct=unsupported 11630 fi 11631 ;; 11632 11633 aix[4-9]*) 11634 if test ia64 = "$host_cpu"; then 11635 # On IA64, the linker does run time linking by default, so we don't 11636 # have to do anything special. 11637 aix_use_runtimelinking=no 11638 exp_sym_flag='-Bexport' 11639 no_entry_flag= 11640 else 11641 # If we're using GNU nm, then we don't want the "-C" option. 11642 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 11643 # Without the "-l" option, or with the "-B" option, AIX nm treats 11644 # weak defined symbols like other global defined symbols, whereas 11645 # GNU nm marks them as "W". 11646 # While the 'weak' keyword is ignored in the Export File, we need 11647 # it in the Import File for the 'aix-soname' feature, so we have 11648 # to replace the "-B" option with "-P" for AIX nm. 11649 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 11650 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' 11651 else 11652 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' 11653 fi 11654 aix_use_runtimelinking=no 11655 11656 # Test if we are trying to use run time linking or normal 11657 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11658 # have runtime linking enabled, and use it for executables. 11659 # For shared libraries, we enable/disable runtime linking 11660 # depending on the kind of the shared library created - 11661 # when "with_aix_soname,aix_use_runtimelinking" is: 11662 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 11663 # "aix,yes" lib.so shared, rtl:yes, for executables 11664 # lib.a static archive 11665 # "both,no" lib.so.V(shr.o) shared, rtl:yes 11666 # lib.a(lib.so.V) shared, rtl:no, for executables 11667 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 11668 # lib.a(lib.so.V) shared, rtl:no 11669 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 11670 # lib.a static archive 11671 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11672 for ld_flag in $LDFLAGS; do 11673 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 11674 aix_use_runtimelinking=yes 11675 break 11676 fi 11677 done 11678 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 11679 # With aix-soname=svr4, we create the lib.so.V shared archives only, 11680 # so we don't have lib.a shared libs to link our executables. 11681 # We have to force runtime linking in this case. 11682 aix_use_runtimelinking=yes 11683 LDFLAGS="$LDFLAGS -Wl,-brtl" 11684 fi 11685 ;; 11686 esac 11687 11688 exp_sym_flag='-bexport' 11689 no_entry_flag='-bnoentry' 11690 fi 11691 11692 # When large executables or shared objects are built, AIX ld can 11693 # have problems creating the table of contents. If linking a library 11694 # or program results in "error TOC overflow" add -mminimal-toc to 11695 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11696 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11697 11698 archive_cmds='' 11699 hardcode_direct=yes 11700 hardcode_direct_absolute=yes 11701 hardcode_libdir_separator=':' 11702 link_all_deplibs=yes 11703 file_list_spec='$wl-f,' 11704 case $with_aix_soname,$aix_use_runtimelinking in 11705 aix,*) ;; # traditional, no import file 11706 svr4,* | *,yes) # use import file 11707 # The Import File defines what to hardcode. 11708 hardcode_direct=no 11709 hardcode_direct_absolute=no 11710 ;; 11711 esac 11712 11713 if test yes = "$GCC"; then 11714 case $host_os in aix4.[012]|aix4.[012].*) 11715 # We only want to do this on AIX 4.2 and lower, the check 11716 # below for broken collect2 doesn't work under 4.3+ 11717 collect2name=`$CC -print-prog-name=collect2` 11718 if test -f "$collect2name" && 11719 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11720 then 11721 # We have reworked collect2 11722 : 11723 else 11724 # We have old collect2 11725 hardcode_direct=unsupported 11726 # It fails to find uninstalled libraries when the uninstalled 11727 # path is not listed in the libpath. Setting hardcode_minus_L 11728 # to unsupported forces relinking 11729 hardcode_minus_L=yes 11730 hardcode_libdir_flag_spec='-L$libdir' 11731 hardcode_libdir_separator= 11732 fi 11733 ;; 11734 esac 11735 shared_flag='-shared' 11736 if test yes = "$aix_use_runtimelinking"; then 11737 shared_flag="$shared_flag "'$wl-G' 11738 fi 11739 # Need to ensure runtime linking is disabled for the traditional 11740 # shared library, or the linker may eventually find shared libraries 11741 # /with/ Import File - we do not want to mix them. 11742 shared_flag_aix='-shared' 11743 shared_flag_svr4='-shared $wl-G' 11744 else 11745 # not using gcc 11746 if test ia64 = "$host_cpu"; then 11747 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11748 # chokes on -Wl,-G. The following line is correct: 11749 shared_flag='-G' 11750 else 11751 if test yes = "$aix_use_runtimelinking"; then 11752 shared_flag='$wl-G' 11753 else 11754 shared_flag='$wl-bM:SRE' 11755 fi 11756 shared_flag_aix='$wl-bM:SRE' 11757 shared_flag_svr4='$wl-G' 11758 fi 11759 fi 11760 11761 export_dynamic_flag_spec='$wl-bexpall' 11762 # It seems that -bexpall does not export symbols beginning with 11763 # underscore (_), so it is better to generate a list of symbols to export. 11764 always_export_symbols=yes 11765 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11766 # Warning - without using the other runtime loading flags (-brtl), 11767 # -berok will link without error, but may produce a broken library. 11768 allow_undefined_flag='-berok' 11769 # Determine the default libpath from the value encoded in an 11770 # empty executable. 11771 if test set = "${lt_cv_aix_libpath+set}"; then 11772 aix_libpath=$lt_cv_aix_libpath 11773else 11774 if ${lt_cv_aix_libpath_+:} false; then : 11775 $as_echo_n "(cached) " >&6 11776else 11777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11778/* end confdefs.h. */ 11779 11780int 11781main () 11782{ 11783 11784 ; 11785 return 0; 11786} 11787_ACEOF 11788if ac_fn_c_try_link "$LINENO"; then : 11789 11790 lt_aix_libpath_sed=' 11791 /Import File Strings/,/^$/ { 11792 /^0/ { 11793 s/^0 *\([^ ]*\) *$/\1/ 11794 p 11795 } 11796 }' 11797 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11798 # Check for a 64-bit object if we didn't find anything. 11799 if test -z "$lt_cv_aix_libpath_"; then 11800 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11801 fi 11802fi 11803rm -f core conftest.err conftest.$ac_objext \ 11804 conftest$ac_exeext conftest.$ac_ext 11805 if test -z "$lt_cv_aix_libpath_"; then 11806 lt_cv_aix_libpath_=/usr/lib:/lib 11807 fi 11808 11809fi 11810 11811 aix_libpath=$lt_cv_aix_libpath_ 11812fi 11813 11814 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11815 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 11816 else 11817 if test ia64 = "$host_cpu"; then 11818 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11819 allow_undefined_flag="-z nodefs" 11820 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" 11821 else 11822 # Determine the default libpath from the value encoded in an 11823 # empty executable. 11824 if test set = "${lt_cv_aix_libpath+set}"; then 11825 aix_libpath=$lt_cv_aix_libpath 11826else 11827 if ${lt_cv_aix_libpath_+:} false; then : 11828 $as_echo_n "(cached) " >&6 11829else 11830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11831/* end confdefs.h. */ 11832 11833int 11834main () 11835{ 11836 11837 ; 11838 return 0; 11839} 11840_ACEOF 11841if ac_fn_c_try_link "$LINENO"; then : 11842 11843 lt_aix_libpath_sed=' 11844 /Import File Strings/,/^$/ { 11845 /^0/ { 11846 s/^0 *\([^ ]*\) *$/\1/ 11847 p 11848 } 11849 }' 11850 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11851 # Check for a 64-bit object if we didn't find anything. 11852 if test -z "$lt_cv_aix_libpath_"; then 11853 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11854 fi 11855fi 11856rm -f core conftest.err conftest.$ac_objext \ 11857 conftest$ac_exeext conftest.$ac_ext 11858 if test -z "$lt_cv_aix_libpath_"; then 11859 lt_cv_aix_libpath_=/usr/lib:/lib 11860 fi 11861 11862fi 11863 11864 aix_libpath=$lt_cv_aix_libpath_ 11865fi 11866 11867 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11868 # Warning - without using the other run time loading flags, 11869 # -berok will link without error, but may produce a broken library. 11870 no_undefined_flag=' $wl-bernotok' 11871 allow_undefined_flag=' $wl-berok' 11872 if test yes = "$with_gnu_ld"; then 11873 # We only use this code for GNU lds that support --whole-archive. 11874 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11875 else 11876 # Exported symbols can be pulled into shared objects from archives 11877 whole_archive_flag_spec='$convenience' 11878 fi 11879 archive_cmds_need_lc=yes 11880 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11881 # -brtl affects multiple linker settings, -berok does not and is overridden later 11882 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11883 if test svr4 != "$with_aix_soname"; then 11884 # This is similar to how AIX traditionally builds its shared libraries. 11885 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' 11886 fi 11887 if test aix != "$with_aix_soname"; then 11888 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' 11889 else 11890 # used by -dlpreopen to get the symbols 11891 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11892 fi 11893 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11894 fi 11895 fi 11896 ;; 11897 11898 amigaos*) 11899 case $host_cpu in 11900 powerpc) 11901 # see comment about AmigaOS4 .so support 11902 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11903 archive_expsym_cmds='' 11904 ;; 11905 m68k) 11906 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)' 11907 hardcode_libdir_flag_spec='-L$libdir' 11908 hardcode_minus_L=yes 11909 ;; 11910 esac 11911 ;; 11912 11913 bsdi[45]*) 11914 export_dynamic_flag_spec=-rdynamic 11915 ;; 11916 11917 cygwin* | mingw* | pw32* | cegcc*) 11918 # When not using gcc, we currently assume that we are using 11919 # Microsoft Visual C++. 11920 # hardcode_libdir_flag_spec is actually meaningless, as there is 11921 # no search path for DLLs. 11922 case $cc_basename in 11923 cl*) 11924 # Native MSVC 11925 hardcode_libdir_flag_spec=' ' 11926 allow_undefined_flag=unsupported 11927 always_export_symbols=yes 11928 file_list_spec='@' 11929 # Tell ltmain to make .lib files, not .a files. 11930 libext=lib 11931 # Tell ltmain to make .dll files, not .so files. 11932 shrext_cmds=.dll 11933 # FIXME: Setting linknames here is a bad hack. 11934 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11935 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11936 cp "$export_symbols" "$output_objdir/$soname.def"; 11937 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11938 else 11939 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11940 fi~ 11941 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11942 linknames=' 11943 # The linker will not automatically build a static lib if we build a DLL. 11944 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11945 enable_shared_with_static_runtimes=yes 11946 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11947 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11948 # Don't use ranlib 11949 old_postinstall_cmds='chmod 644 $oldlib' 11950 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11951 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11952 case $lt_outputfile in 11953 *.exe|*.EXE) ;; 11954 *) 11955 lt_outputfile=$lt_outputfile.exe 11956 lt_tool_outputfile=$lt_tool_outputfile.exe 11957 ;; 11958 esac~ 11959 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11960 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11961 $RM "$lt_outputfile.manifest"; 11962 fi' 11963 ;; 11964 *) 11965 # Assume MSVC wrapper 11966 hardcode_libdir_flag_spec=' ' 11967 allow_undefined_flag=unsupported 11968 # Tell ltmain to make .lib files, not .a files. 11969 libext=lib 11970 # Tell ltmain to make .dll files, not .so files. 11971 shrext_cmds=.dll 11972 # FIXME: Setting linknames here is a bad hack. 11973 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11974 # The linker will automatically build a .lib file if we build a DLL. 11975 old_archive_from_new_cmds='true' 11976 # FIXME: Should let the user specify the lib program. 11977 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11978 enable_shared_with_static_runtimes=yes 11979 ;; 11980 esac 11981 ;; 11982 11983 darwin* | rhapsody*) 11984 11985 11986 archive_cmds_need_lc=no 11987 hardcode_direct=no 11988 hardcode_automatic=yes 11989 hardcode_shlibpath_var=unsupported 11990 if test yes = "$lt_cv_ld_force_load"; then 11991 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\"`' 11992 11993 else 11994 whole_archive_flag_spec='' 11995 fi 11996 link_all_deplibs=yes 11997 allow_undefined_flag=$_lt_dar_allow_undefined 11998 case $cc_basename in 11999 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 12000 *) _lt_dar_can_shared=$GCC ;; 12001 esac 12002 if test yes = "$_lt_dar_can_shared"; then 12003 output_verbose_link_cmd=func_echo_all 12004 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 12005 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 12006 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" 12007 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" 12008 12009 else 12010 ld_shlibs=no 12011 fi 12012 12013 ;; 12014 12015 dgux*) 12016 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12017 hardcode_libdir_flag_spec='-L$libdir' 12018 hardcode_shlibpath_var=no 12019 ;; 12020 12021 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 12022 # support. Future versions do this automatically, but an explicit c++rt0.o 12023 # does not break anything, and helps significantly (at the cost of a little 12024 # extra space). 12025 freebsd2.2*) 12026 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 12027 hardcode_libdir_flag_spec='-R$libdir' 12028 hardcode_direct=yes 12029 hardcode_shlibpath_var=no 12030 ;; 12031 12032 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 12033 freebsd2.*) 12034 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 12035 hardcode_direct=yes 12036 hardcode_minus_L=yes 12037 hardcode_shlibpath_var=no 12038 ;; 12039 12040 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 12041 freebsd* | dragonfly*) 12042 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 12043 hardcode_libdir_flag_spec='-R$libdir' 12044 hardcode_direct=yes 12045 hardcode_shlibpath_var=no 12046 ;; 12047 12048 hpux9*) 12049 if test yes = "$GCC"; then 12050 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' 12051 else 12052 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' 12053 fi 12054 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 12055 hardcode_libdir_separator=: 12056 hardcode_direct=yes 12057 12058 # hardcode_minus_L: Not really in the search PATH, 12059 # but as the default location of the library. 12060 hardcode_minus_L=yes 12061 export_dynamic_flag_spec='$wl-E' 12062 ;; 12063 12064 hpux10*) 12065 if test yes,no = "$GCC,$with_gnu_ld"; then 12066 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 12067 else 12068 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 12069 fi 12070 if test no = "$with_gnu_ld"; then 12071 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 12072 hardcode_libdir_separator=: 12073 hardcode_direct=yes 12074 hardcode_direct_absolute=yes 12075 export_dynamic_flag_spec='$wl-E' 12076 # hardcode_minus_L: Not really in the search PATH, 12077 # but as the default location of the library. 12078 hardcode_minus_L=yes 12079 fi 12080 ;; 12081 12082 hpux11*) 12083 if test yes,no = "$GCC,$with_gnu_ld"; then 12084 case $host_cpu in 12085 hppa*64*) 12086 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 12087 ;; 12088 ia64*) 12089 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 12090 ;; 12091 *) 12092 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 12093 ;; 12094 esac 12095 else 12096 case $host_cpu in 12097 hppa*64*) 12098 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 12099 ;; 12100 ia64*) 12101 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 12102 ;; 12103 *) 12104 12105 # Older versions of the 11.00 compiler do not understand -b yet 12106 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 12108$as_echo_n "checking if $CC understands -b... " >&6; } 12109if ${lt_cv_prog_compiler__b+:} false; then : 12110 $as_echo_n "(cached) " >&6 12111else 12112 lt_cv_prog_compiler__b=no 12113 save_LDFLAGS=$LDFLAGS 12114 LDFLAGS="$LDFLAGS -b" 12115 echo "$lt_simple_link_test_code" > conftest.$ac_ext 12116 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 12117 # The linker can only warn and ignore the option if not recognized 12118 # So say no if there are warnings 12119 if test -s conftest.err; then 12120 # Append any errors to the config.log. 12121 cat conftest.err 1>&5 12122 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 12123 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 12124 if diff conftest.exp conftest.er2 >/dev/null; then 12125 lt_cv_prog_compiler__b=yes 12126 fi 12127 else 12128 lt_cv_prog_compiler__b=yes 12129 fi 12130 fi 12131 $RM -r conftest* 12132 LDFLAGS=$save_LDFLAGS 12133 12134fi 12135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 12136$as_echo "$lt_cv_prog_compiler__b" >&6; } 12137 12138if test yes = "$lt_cv_prog_compiler__b"; then 12139 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 12140else 12141 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 12142fi 12143 12144 ;; 12145 esac 12146 fi 12147 if test no = "$with_gnu_ld"; then 12148 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 12149 hardcode_libdir_separator=: 12150 12151 case $host_cpu in 12152 hppa*64*|ia64*) 12153 hardcode_direct=no 12154 hardcode_shlibpath_var=no 12155 ;; 12156 *) 12157 hardcode_direct=yes 12158 hardcode_direct_absolute=yes 12159 export_dynamic_flag_spec='$wl-E' 12160 12161 # hardcode_minus_L: Not really in the search PATH, 12162 # but as the default location of the library. 12163 hardcode_minus_L=yes 12164 ;; 12165 esac 12166 fi 12167 ;; 12168 12169 irix5* | irix6* | nonstopux*) 12170 if test yes = "$GCC"; then 12171 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' 12172 # Try to use the -exported_symbol ld option, if it does not 12173 # work, assume that -exports_file does not work either and 12174 # implicitly export all symbols. 12175 # This should be the same for all languages, so no per-tag cache variable. 12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 12177$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 12178if ${lt_cv_irix_exported_symbol+:} false; then : 12179 $as_echo_n "(cached) " >&6 12180else 12181 save_LDFLAGS=$LDFLAGS 12182 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12184/* end confdefs.h. */ 12185int foo (void) { return 0; } 12186_ACEOF 12187if ac_fn_c_try_link "$LINENO"; then : 12188 lt_cv_irix_exported_symbol=yes 12189else 12190 lt_cv_irix_exported_symbol=no 12191fi 12192rm -f core conftest.err conftest.$ac_objext \ 12193 conftest$ac_exeext conftest.$ac_ext 12194 LDFLAGS=$save_LDFLAGS 12195fi 12196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 12197$as_echo "$lt_cv_irix_exported_symbol" >&6; } 12198 if test yes = "$lt_cv_irix_exported_symbol"; then 12199 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' 12200 fi 12201 else 12202 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' 12203 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' 12204 fi 12205 archive_cmds_need_lc='no' 12206 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12207 hardcode_libdir_separator=: 12208 inherit_rpath=yes 12209 link_all_deplibs=yes 12210 ;; 12211 12212 linux*) 12213 case $cc_basename in 12214 tcc*) 12215 # Fabrice Bellard et al's Tiny C Compiler 12216 ld_shlibs=yes 12217 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 12218 ;; 12219 esac 12220 ;; 12221 12222 netbsd*) 12223 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12224 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 12225 else 12226 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 12227 fi 12228 hardcode_libdir_flag_spec='-R$libdir' 12229 hardcode_direct=yes 12230 hardcode_shlibpath_var=no 12231 ;; 12232 12233 newsos6) 12234 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12235 hardcode_direct=yes 12236 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12237 hardcode_libdir_separator=: 12238 hardcode_shlibpath_var=no 12239 ;; 12240 12241 *nto* | *qnx*) 12242 ;; 12243 12244 openbsd* | bitrig*) 12245 if test -f /usr/libexec/ld.so; then 12246 hardcode_direct=yes 12247 hardcode_shlibpath_var=no 12248 hardcode_direct_absolute=yes 12249 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12250 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 12251 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 12252 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 12253 export_dynamic_flag_spec='$wl-E' 12254 else 12255 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 12256 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 12257 fi 12258 else 12259 ld_shlibs=no 12260 fi 12261 ;; 12262 12263 os2*) 12264 hardcode_libdir_flag_spec='-L$libdir' 12265 hardcode_minus_L=yes 12266 allow_undefined_flag=unsupported 12267 shrext_cmds=.dll 12268 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 12269 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 12270 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 12271 $ECHO EXPORTS >> $output_objdir/$libname.def~ 12272 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 12273 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 12274 emximp -o $lib $output_objdir/$libname.def' 12275 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 12276 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 12277 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 12278 $ECHO EXPORTS >> $output_objdir/$libname.def~ 12279 prefix_cmds="$SED"~ 12280 if test EXPORTS = "`$SED 1q $export_symbols`"; then 12281 prefix_cmds="$prefix_cmds -e 1d"; 12282 fi~ 12283 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 12284 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 12285 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 12286 emximp -o $lib $output_objdir/$libname.def' 12287 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 12288 enable_shared_with_static_runtimes=yes 12289 ;; 12290 12291 osf3*) 12292 if test yes = "$GCC"; then 12293 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 12294 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' 12295 else 12296 allow_undefined_flag=' -expect_unresolved \*' 12297 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' 12298 fi 12299 archive_cmds_need_lc='no' 12300 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12301 hardcode_libdir_separator=: 12302 ;; 12303 12304 osf4* | osf5*) # as osf3* with the addition of -msym flag 12305 if test yes = "$GCC"; then 12306 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 12307 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' 12308 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12309 else 12310 allow_undefined_flag=' -expect_unresolved \*' 12311 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' 12312 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~ 12313 $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' 12314 12315 # Both c and cxx compiler support -rpath directly 12316 hardcode_libdir_flag_spec='-rpath $libdir' 12317 fi 12318 archive_cmds_need_lc='no' 12319 hardcode_libdir_separator=: 12320 ;; 12321 12322 solaris*) 12323 no_undefined_flag=' -z defs' 12324 if test yes = "$GCC"; then 12325 wlarc='$wl' 12326 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 12327 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12328 $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' 12329 else 12330 case `$CC -V 2>&1` in 12331 *"Compilers 5.0"*) 12332 wlarc='' 12333 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 12334 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12335 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 12336 ;; 12337 *) 12338 wlarc='$wl' 12339 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 12340 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12341 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 12342 ;; 12343 esac 12344 fi 12345 hardcode_libdir_flag_spec='-R$libdir' 12346 hardcode_shlibpath_var=no 12347 case $host_os in 12348 solaris2.[0-5] | solaris2.[0-5].*) ;; 12349 *) 12350 # The compiler driver will combine and reorder linker options, 12351 # but understands '-z linker_flag'. GCC discards it without '$wl', 12352 # but is careful enough not to reorder. 12353 # Supported since Solaris 2.6 (maybe 2.5.1?) 12354 if test yes = "$GCC"; then 12355 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 12356 else 12357 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 12358 fi 12359 ;; 12360 esac 12361 link_all_deplibs=yes 12362 ;; 12363 12364 sunos4*) 12365 if test sequent = "$host_vendor"; then 12366 # Use $CC to link under sequent, because it throws in some extra .o 12367 # files that make .init and .fini sections work. 12368 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 12369 else 12370 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 12371 fi 12372 hardcode_libdir_flag_spec='-L$libdir' 12373 hardcode_direct=yes 12374 hardcode_minus_L=yes 12375 hardcode_shlibpath_var=no 12376 ;; 12377 12378 sysv4) 12379 case $host_vendor in 12380 sni) 12381 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12382 hardcode_direct=yes # is this really true??? 12383 ;; 12384 siemens) 12385 ## LD is ld it makes a PLAMLIB 12386 ## CC just makes a GrossModule. 12387 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 12388 reload_cmds='$CC -r -o $output$reload_objs' 12389 hardcode_direct=no 12390 ;; 12391 motorola) 12392 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12393 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 12394 ;; 12395 esac 12396 runpath_var='LD_RUN_PATH' 12397 hardcode_shlibpath_var=no 12398 ;; 12399 12400 sysv4.3*) 12401 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12402 hardcode_shlibpath_var=no 12403 export_dynamic_flag_spec='-Bexport' 12404 ;; 12405 12406 sysv4*MP*) 12407 if test -d /usr/nec; then 12408 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12409 hardcode_shlibpath_var=no 12410 runpath_var=LD_RUN_PATH 12411 hardcode_runpath_var=yes 12412 ld_shlibs=yes 12413 fi 12414 ;; 12415 12416 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 12417 no_undefined_flag='$wl-z,text' 12418 archive_cmds_need_lc=no 12419 hardcode_shlibpath_var=no 12420 runpath_var='LD_RUN_PATH' 12421 12422 if test yes = "$GCC"; then 12423 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12424 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12425 else 12426 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12427 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12428 fi 12429 ;; 12430 12431 sysv5* | sco3.2v5* | sco5v6*) 12432 # Note: We CANNOT use -z defs as we might desire, because we do not 12433 # link with -lc, and that would cause any symbols used from libc to 12434 # always be unresolved, which means just about no library would 12435 # ever link correctly. If we're not using GNU ld we use -z text 12436 # though, which does catch some bad symbols but isn't as heavy-handed 12437 # as -z defs. 12438 no_undefined_flag='$wl-z,text' 12439 allow_undefined_flag='$wl-z,nodefs' 12440 archive_cmds_need_lc=no 12441 hardcode_shlibpath_var=no 12442 hardcode_libdir_flag_spec='$wl-R,$libdir' 12443 hardcode_libdir_separator=':' 12444 link_all_deplibs=yes 12445 export_dynamic_flag_spec='$wl-Bexport' 12446 runpath_var='LD_RUN_PATH' 12447 12448 if test yes = "$GCC"; then 12449 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12450 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12451 else 12452 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12453 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12454 fi 12455 ;; 12456 12457 uts4*) 12458 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12459 hardcode_libdir_flag_spec='-L$libdir' 12460 hardcode_shlibpath_var=no 12461 ;; 12462 12463 *) 12464 ld_shlibs=no 12465 ;; 12466 esac 12467 12468 if test sni = "$host_vendor"; then 12469 case $host in 12470 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 12471 export_dynamic_flag_spec='$wl-Blargedynsym' 12472 ;; 12473 esac 12474 fi 12475 fi 12476 12477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 12478$as_echo "$ld_shlibs" >&6; } 12479test no = "$ld_shlibs" && can_build_shared=no 12480 12481with_gnu_ld=$with_gnu_ld 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497# 12498# Do we need to explicitly link libc? 12499# 12500case "x$archive_cmds_need_lc" in 12501x|xyes) 12502 # Assume -lc should be added 12503 archive_cmds_need_lc=yes 12504 12505 if test yes,yes = "$GCC,$enable_shared"; then 12506 case $archive_cmds in 12507 *'~'*) 12508 # FIXME: we may have to deal with multi-command sequences. 12509 ;; 12510 '$CC '*) 12511 # Test whether the compiler implicitly links with -lc since on some 12512 # systems, -lgcc has to come before -lc. If gcc already passes -lc 12513 # to ld, don't add -lc before -lgcc. 12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 12515$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 12516if ${lt_cv_archive_cmds_need_lc+:} false; then : 12517 $as_echo_n "(cached) " >&6 12518else 12519 $RM conftest* 12520 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 12521 12522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 12523 (eval $ac_compile) 2>&5 12524 ac_status=$? 12525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12526 test $ac_status = 0; } 2>conftest.err; then 12527 soname=conftest 12528 lib=conftest 12529 libobjs=conftest.$ac_objext 12530 deplibs= 12531 wl=$lt_prog_compiler_wl 12532 pic_flag=$lt_prog_compiler_pic 12533 compiler_flags=-v 12534 linker_flags=-v 12535 verstring= 12536 output_objdir=. 12537 libname=conftest 12538 lt_save_allow_undefined_flag=$allow_undefined_flag 12539 allow_undefined_flag= 12540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 12541 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 12542 ac_status=$? 12543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12544 test $ac_status = 0; } 12545 then 12546 lt_cv_archive_cmds_need_lc=no 12547 else 12548 lt_cv_archive_cmds_need_lc=yes 12549 fi 12550 allow_undefined_flag=$lt_save_allow_undefined_flag 12551 else 12552 cat conftest.err 1>&5 12553 fi 12554 $RM conftest* 12555 12556fi 12557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 12558$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 12559 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 12560 ;; 12561 esac 12562 fi 12563 ;; 12564esac 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12718$as_echo_n "checking dynamic linker characteristics... " >&6; } 12719 12720if test yes = "$GCC"; then 12721 case $host_os in 12722 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12723 *) lt_awk_arg='/^libraries:/' ;; 12724 esac 12725 case $host_os in 12726 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12727 *) lt_sed_strip_eq='s|=/|/|g' ;; 12728 esac 12729 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12730 case $lt_search_path_spec in 12731 *\;*) 12732 # if the path contains ";" then we assume it to be the separator 12733 # otherwise default to the standard path separator (i.e. ":") - it is 12734 # assumed that no part of a normal pathname contains ";" but that should 12735 # okay in the real world where ";" in dirpaths is itself problematic. 12736 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12737 ;; 12738 *) 12739 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12740 ;; 12741 esac 12742 # Ok, now we have the path, separated by spaces, we can step through it 12743 # and add multilib dir if necessary... 12744 lt_tmp_lt_search_path_spec= 12745 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12746 # ...but if some path component already ends with the multilib dir we assume 12747 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12748 case "$lt_multi_os_dir; $lt_search_path_spec " in 12749 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12750 lt_multi_os_dir= 12751 ;; 12752 esac 12753 for lt_sys_path in $lt_search_path_spec; do 12754 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12755 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12756 elif test -n "$lt_multi_os_dir"; then 12757 test -d "$lt_sys_path" && \ 12758 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12759 fi 12760 done 12761 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12762BEGIN {RS = " "; FS = "/|\n";} { 12763 lt_foo = ""; 12764 lt_count = 0; 12765 for (lt_i = NF; lt_i > 0; lt_i--) { 12766 if ($lt_i != "" && $lt_i != ".") { 12767 if ($lt_i == "..") { 12768 lt_count++; 12769 } else { 12770 if (lt_count == 0) { 12771 lt_foo = "/" $lt_i lt_foo; 12772 } else { 12773 lt_count--; 12774 } 12775 } 12776 } 12777 } 12778 if (lt_foo != "") { lt_freq[lt_foo]++; } 12779 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12780}'` 12781 # AWK program above erroneously prepends '/' to C:/dos/paths 12782 # for these hosts. 12783 case $host_os in 12784 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12785 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12786 esac 12787 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12788else 12789 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12790fi 12791library_names_spec= 12792libname_spec='lib$name' 12793soname_spec= 12794shrext_cmds=.so 12795postinstall_cmds= 12796postuninstall_cmds= 12797finish_cmds= 12798finish_eval= 12799shlibpath_var= 12800shlibpath_overrides_runpath=unknown 12801version_type=none 12802dynamic_linker="$host_os ld.so" 12803sys_lib_dlsearch_path_spec="/lib /usr/lib" 12804need_lib_prefix=unknown 12805hardcode_into_libs=no 12806 12807# when you set need_version to no, make sure it does not cause -set_version 12808# flags to be left without arguments 12809need_version=unknown 12810 12811 12812 12813case $host_os in 12814aix3*) 12815 version_type=linux # correct to gnu/linux during the next big refactor 12816 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12817 shlibpath_var=LIBPATH 12818 12819 # AIX 3 has no versioning support, so we append a major version to the name. 12820 soname_spec='$libname$release$shared_ext$major' 12821 ;; 12822 12823aix[4-9]*) 12824 version_type=linux # correct to gnu/linux during the next big refactor 12825 need_lib_prefix=no 12826 need_version=no 12827 hardcode_into_libs=yes 12828 if test ia64 = "$host_cpu"; then 12829 # AIX 5 supports IA64 12830 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12831 shlibpath_var=LD_LIBRARY_PATH 12832 else 12833 # With GCC up to 2.95.x, collect2 would create an import file 12834 # for dependence libraries. The import file would start with 12835 # the line '#! .'. This would cause the generated library to 12836 # depend on '.', always an invalid library. This was fixed in 12837 # development snapshots of GCC prior to 3.0. 12838 case $host_os in 12839 aix4 | aix4.[01] | aix4.[01].*) 12840 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12841 echo ' yes ' 12842 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12843 : 12844 else 12845 can_build_shared=no 12846 fi 12847 ;; 12848 esac 12849 # Using Import Files as archive members, it is possible to support 12850 # filename-based versioning of shared library archives on AIX. While 12851 # this would work for both with and without runtime linking, it will 12852 # prevent static linking of such archives. So we do filename-based 12853 # shared library versioning with .so extension only, which is used 12854 # when both runtime linking and shared linking is enabled. 12855 # Unfortunately, runtime linking may impact performance, so we do 12856 # not want this to be the default eventually. Also, we use the 12857 # versioned .so libs for executables only if there is the -brtl 12858 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12859 # To allow for filename-based versioning support, we need to create 12860 # libNAME.so.V as an archive file, containing: 12861 # *) an Import File, referring to the versioned filename of the 12862 # archive as well as the shared archive member, telling the 12863 # bitwidth (32 or 64) of that shared object, and providing the 12864 # list of exported symbols of that shared object, eventually 12865 # decorated with the 'weak' keyword 12866 # *) the shared object with the F_LOADONLY flag set, to really avoid 12867 # it being seen by the linker. 12868 # At run time we better use the real file rather than another symlink, 12869 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12870 12871 case $with_aix_soname,$aix_use_runtimelinking in 12872 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12873 # soname into executable. Probably we can add versioning support to 12874 # collect2, so additional links can be useful in future. 12875 aix,yes) # traditional libtool 12876 dynamic_linker='AIX unversionable lib.so' 12877 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12878 # instead of lib<name>.a to let people know that these are not 12879 # typical AIX shared libraries. 12880 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12881 ;; 12882 aix,no) # traditional AIX only 12883 dynamic_linker='AIX lib.a(lib.so.V)' 12884 # We preserve .a as extension for shared libraries through AIX4.2 12885 # and later when we are not doing run time linking. 12886 library_names_spec='$libname$release.a $libname.a' 12887 soname_spec='$libname$release$shared_ext$major' 12888 ;; 12889 svr4,*) # full svr4 only 12890 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12891 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12892 # We do not specify a path in Import Files, so LIBPATH fires. 12893 shlibpath_overrides_runpath=yes 12894 ;; 12895 *,yes) # both, prefer svr4 12896 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12897 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12898 # unpreferred sharedlib libNAME.a needs extra handling 12899 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"' 12900 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"' 12901 # We do not specify a path in Import Files, so LIBPATH fires. 12902 shlibpath_overrides_runpath=yes 12903 ;; 12904 *,no) # both, prefer aix 12905 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12906 library_names_spec='$libname$release.a $libname.a' 12907 soname_spec='$libname$release$shared_ext$major' 12908 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12909 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)' 12910 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"' 12911 ;; 12912 esac 12913 shlibpath_var=LIBPATH 12914 fi 12915 ;; 12916 12917amigaos*) 12918 case $host_cpu in 12919 powerpc) 12920 # Since July 2007 AmigaOS4 officially supports .so libraries. 12921 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12922 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12923 ;; 12924 m68k) 12925 library_names_spec='$libname.ixlibrary $libname.a' 12926 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12927 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' 12928 ;; 12929 esac 12930 ;; 12931 12932beos*) 12933 library_names_spec='$libname$shared_ext' 12934 dynamic_linker="$host_os ld.so" 12935 shlibpath_var=LIBRARY_PATH 12936 ;; 12937 12938bsdi[45]*) 12939 version_type=linux # correct to gnu/linux during the next big refactor 12940 need_version=no 12941 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12942 soname_spec='$libname$release$shared_ext$major' 12943 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12944 shlibpath_var=LD_LIBRARY_PATH 12945 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12946 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12947 # the default ld.so.conf also contains /usr/contrib/lib and 12948 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12949 # libtool to hard-code these into programs 12950 ;; 12951 12952cygwin* | mingw* | pw32* | cegcc*) 12953 version_type=windows 12954 shrext_cmds=.dll 12955 need_version=no 12956 need_lib_prefix=no 12957 12958 case $GCC,$cc_basename in 12959 yes,*) 12960 # gcc 12961 library_names_spec='$libname.dll.a' 12962 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12963 postinstall_cmds='base_file=`basename \$file`~ 12964 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12965 dldir=$destdir/`dirname \$dlpath`~ 12966 test -d \$dldir || mkdir -p \$dldir~ 12967 $install_prog $dir/$dlname \$dldir/$dlname~ 12968 chmod a+x \$dldir/$dlname~ 12969 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12970 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12971 fi' 12972 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12973 dlpath=$dir/\$dldll~ 12974 $RM \$dlpath' 12975 shlibpath_overrides_runpath=yes 12976 12977 case $host_os in 12978 cygwin*) 12979 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12980 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12981 12982 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12983 ;; 12984 mingw* | cegcc*) 12985 # MinGW DLLs use traditional 'lib' prefix 12986 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12987 ;; 12988 pw32*) 12989 # pw32 DLLs use 'pw' prefix rather than 'lib' 12990 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12991 ;; 12992 esac 12993 dynamic_linker='Win32 ld.exe' 12994 ;; 12995 12996 *,cl*) 12997 # Native MSVC 12998 libname_spec='$name' 12999 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 13000 library_names_spec='$libname.dll.lib' 13001 13002 case $build_os in 13003 mingw*) 13004 sys_lib_search_path_spec= 13005 lt_save_ifs=$IFS 13006 IFS=';' 13007 for lt_path in $LIB 13008 do 13009 IFS=$lt_save_ifs 13010 # Let DOS variable expansion print the short 8.3 style file name. 13011 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 13012 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 13013 done 13014 IFS=$lt_save_ifs 13015 # Convert to MSYS style. 13016 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 13017 ;; 13018 cygwin*) 13019 # Convert to unix form, then to dos form, then back to unix form 13020 # but this time dos style (no spaces!) so that the unix form looks 13021 # like /cygdrive/c/PROGRA~1:/cygdr... 13022 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 13023 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 13024 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 13025 ;; 13026 *) 13027 sys_lib_search_path_spec=$LIB 13028 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 13029 # It is most probably a Windows format PATH. 13030 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 13031 else 13032 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 13033 fi 13034 # FIXME: find the short name or the path components, as spaces are 13035 # common. (e.g. "Program Files" -> "PROGRA~1") 13036 ;; 13037 esac 13038 13039 # DLL is installed to $(libdir)/../bin by postinstall_cmds 13040 postinstall_cmds='base_file=`basename \$file`~ 13041 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 13042 dldir=$destdir/`dirname \$dlpath`~ 13043 test -d \$dldir || mkdir -p \$dldir~ 13044 $install_prog $dir/$dlname \$dldir/$dlname' 13045 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 13046 dlpath=$dir/\$dldll~ 13047 $RM \$dlpath' 13048 shlibpath_overrides_runpath=yes 13049 dynamic_linker='Win32 link.exe' 13050 ;; 13051 13052 *) 13053 # Assume MSVC wrapper 13054 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 13055 dynamic_linker='Win32 ld.exe' 13056 ;; 13057 esac 13058 # FIXME: first we should search . and the directory the executable is in 13059 shlibpath_var=PATH 13060 ;; 13061 13062darwin* | rhapsody*) 13063 dynamic_linker="$host_os dyld" 13064 version_type=darwin 13065 need_lib_prefix=no 13066 need_version=no 13067 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 13068 soname_spec='$libname$release$major$shared_ext' 13069 shlibpath_overrides_runpath=yes 13070 shlibpath_var=DYLD_LIBRARY_PATH 13071 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 13072 13073 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 13074 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 13075 ;; 13076 13077dgux*) 13078 version_type=linux # correct to gnu/linux during the next big refactor 13079 need_lib_prefix=no 13080 need_version=no 13081 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13082 soname_spec='$libname$release$shared_ext$major' 13083 shlibpath_var=LD_LIBRARY_PATH 13084 ;; 13085 13086freebsd* | dragonfly*) 13087 # DragonFly does not have aout. When/if they implement a new 13088 # versioning mechanism, adjust this. 13089 if test -x /usr/bin/objformat; then 13090 objformat=`/usr/bin/objformat` 13091 else 13092 case $host_os in 13093 freebsd[23].*) objformat=aout ;; 13094 *) objformat=elf ;; 13095 esac 13096 fi 13097 version_type=freebsd-$objformat 13098 case $version_type in 13099 freebsd-elf*) 13100 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13101 soname_spec='$libname$release$shared_ext$major' 13102 need_version=no 13103 need_lib_prefix=no 13104 ;; 13105 freebsd-*) 13106 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 13107 need_version=yes 13108 ;; 13109 esac 13110 shlibpath_var=LD_LIBRARY_PATH 13111 case $host_os in 13112 freebsd2.*) 13113 shlibpath_overrides_runpath=yes 13114 ;; 13115 freebsd3.[01]* | freebsdelf3.[01]*) 13116 shlibpath_overrides_runpath=yes 13117 hardcode_into_libs=yes 13118 ;; 13119 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 13120 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 13121 shlibpath_overrides_runpath=no 13122 hardcode_into_libs=yes 13123 ;; 13124 *) # from 4.6 on, and DragonFly 13125 shlibpath_overrides_runpath=yes 13126 hardcode_into_libs=yes 13127 ;; 13128 esac 13129 ;; 13130 13131haiku*) 13132 version_type=linux # correct to gnu/linux during the next big refactor 13133 need_lib_prefix=no 13134 need_version=no 13135 dynamic_linker="$host_os runtime_loader" 13136 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13137 soname_spec='$libname$release$shared_ext$major' 13138 shlibpath_var=LIBRARY_PATH 13139 shlibpath_overrides_runpath=no 13140 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 13141 hardcode_into_libs=yes 13142 ;; 13143 13144hpux9* | hpux10* | hpux11*) 13145 # Give a soname corresponding to the major version so that dld.sl refuses to 13146 # link against other versions. 13147 version_type=sunos 13148 need_lib_prefix=no 13149 need_version=no 13150 case $host_cpu in 13151 ia64*) 13152 shrext_cmds='.so' 13153 hardcode_into_libs=yes 13154 dynamic_linker="$host_os dld.so" 13155 shlibpath_var=LD_LIBRARY_PATH 13156 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 13157 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13158 soname_spec='$libname$release$shared_ext$major' 13159 if test 32 = "$HPUX_IA64_MODE"; then 13160 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 13161 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 13162 else 13163 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 13164 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 13165 fi 13166 ;; 13167 hppa*64*) 13168 shrext_cmds='.sl' 13169 hardcode_into_libs=yes 13170 dynamic_linker="$host_os dld.sl" 13171 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 13172 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 13173 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13174 soname_spec='$libname$release$shared_ext$major' 13175 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 13176 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 13177 ;; 13178 *) 13179 shrext_cmds='.sl' 13180 dynamic_linker="$host_os dld.sl" 13181 shlibpath_var=SHLIB_PATH 13182 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 13183 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13184 soname_spec='$libname$release$shared_ext$major' 13185 ;; 13186 esac 13187 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 13188 postinstall_cmds='chmod 555 $lib' 13189 # or fails outright, so override atomically: 13190 install_override_mode=555 13191 ;; 13192 13193interix[3-9]*) 13194 version_type=linux # correct to gnu/linux during the next big refactor 13195 need_lib_prefix=no 13196 need_version=no 13197 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13198 soname_spec='$libname$release$shared_ext$major' 13199 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 13200 shlibpath_var=LD_LIBRARY_PATH 13201 shlibpath_overrides_runpath=no 13202 hardcode_into_libs=yes 13203 ;; 13204 13205irix5* | irix6* | nonstopux*) 13206 case $host_os in 13207 nonstopux*) version_type=nonstopux ;; 13208 *) 13209 if test yes = "$lt_cv_prog_gnu_ld"; then 13210 version_type=linux # correct to gnu/linux during the next big refactor 13211 else 13212 version_type=irix 13213 fi ;; 13214 esac 13215 need_lib_prefix=no 13216 need_version=no 13217 soname_spec='$libname$release$shared_ext$major' 13218 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 13219 case $host_os in 13220 irix5* | nonstopux*) 13221 libsuff= shlibsuff= 13222 ;; 13223 *) 13224 case $LD in # libtool.m4 will add one of these switches to LD 13225 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 13226 libsuff= shlibsuff= libmagic=32-bit;; 13227 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 13228 libsuff=32 shlibsuff=N32 libmagic=N32;; 13229 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 13230 libsuff=64 shlibsuff=64 libmagic=64-bit;; 13231 *) libsuff= shlibsuff= libmagic=never-match;; 13232 esac 13233 ;; 13234 esac 13235 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 13236 shlibpath_overrides_runpath=no 13237 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 13238 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 13239 hardcode_into_libs=yes 13240 ;; 13241 13242# No shared lib support for Linux oldld, aout, or coff. 13243linux*oldld* | linux*aout* | linux*coff*) 13244 dynamic_linker=no 13245 ;; 13246 13247linux*android*) 13248 version_type=none # Android doesn't support versioned libraries. 13249 need_lib_prefix=no 13250 need_version=no 13251 library_names_spec='$libname$release$shared_ext' 13252 soname_spec='$libname$release$shared_ext' 13253 finish_cmds= 13254 shlibpath_var=LD_LIBRARY_PATH 13255 shlibpath_overrides_runpath=yes 13256 13257 # This implies no fast_install, which is unacceptable. 13258 # Some rework will be needed to allow for fast_install 13259 # before this can be enabled. 13260 hardcode_into_libs=yes 13261 13262 dynamic_linker='Android linker' 13263 # Don't embed -rpath directories since the linker doesn't support them. 13264 hardcode_libdir_flag_spec='-L$libdir' 13265 ;; 13266 13267# This must be glibc/ELF. 13268linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 13269 version_type=linux # correct to gnu/linux during the next big refactor 13270 need_lib_prefix=no 13271 need_version=no 13272 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13273 soname_spec='$libname$release$shared_ext$major' 13274 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 13275 shlibpath_var=LD_LIBRARY_PATH 13276 shlibpath_overrides_runpath=no 13277 13278 # Some binutils ld are patched to set DT_RUNPATH 13279 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 13280 $as_echo_n "(cached) " >&6 13281else 13282 lt_cv_shlibpath_overrides_runpath=no 13283 save_LDFLAGS=$LDFLAGS 13284 save_libdir=$libdir 13285 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 13286 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 13287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13288/* end confdefs.h. */ 13289 13290int 13291main () 13292{ 13293 13294 ; 13295 return 0; 13296} 13297_ACEOF 13298if ac_fn_c_try_link "$LINENO"; then : 13299 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 13300 lt_cv_shlibpath_overrides_runpath=yes 13301fi 13302fi 13303rm -f core conftest.err conftest.$ac_objext \ 13304 conftest$ac_exeext conftest.$ac_ext 13305 LDFLAGS=$save_LDFLAGS 13306 libdir=$save_libdir 13307 13308fi 13309 13310 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 13311 13312 # This implies no fast_install, which is unacceptable. 13313 # Some rework will be needed to allow for fast_install 13314 # before this can be enabled. 13315 hardcode_into_libs=yes 13316 13317 # Add ABI-specific directories to the system library path. 13318 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 13319 13320 # Ideally, we could use ldconfig to report *all* directores which are 13321 # searched for libraries, however this is still not possible. Aside from not 13322 # being certain /sbin/ldconfig is available, command 13323 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 13324 # even though it is searched at run-time. Try to do the best guess by 13325 # appending ld.so.conf contents (and includes) to the search path. 13326 if test -f /etc/ld.so.conf; then 13327 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' ' '` 13328 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 13329 fi 13330 13331 # We used to test for /lib/ld.so.1 and disable shared libraries on 13332 # powerpc, because MkLinux only supported shared libraries with the 13333 # GNU dynamic linker. Since this was broken with cross compilers, 13334 # most powerpc-linux boxes support dynamic linking these days and 13335 # people can always --disable-shared, the test was removed, and we 13336 # assume the GNU/Linux dynamic linker is in use. 13337 dynamic_linker='GNU/Linux ld.so' 13338 ;; 13339 13340netbsd*) 13341 version_type=sunos 13342 need_lib_prefix=no 13343 need_version=no 13344 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13345 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 13346 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13347 dynamic_linker='NetBSD (a.out) ld.so' 13348 else 13349 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13350 soname_spec='$libname$release$shared_ext$major' 13351 dynamic_linker='NetBSD ld.elf_so' 13352 fi 13353 shlibpath_var=LD_LIBRARY_PATH 13354 shlibpath_overrides_runpath=yes 13355 hardcode_into_libs=yes 13356 ;; 13357 13358newsos6) 13359 version_type=linux # correct to gnu/linux during the next big refactor 13360 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13361 shlibpath_var=LD_LIBRARY_PATH 13362 shlibpath_overrides_runpath=yes 13363 ;; 13364 13365*nto* | *qnx*) 13366 version_type=qnx 13367 need_lib_prefix=no 13368 need_version=no 13369 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13370 soname_spec='$libname$release$shared_ext$major' 13371 shlibpath_var=LD_LIBRARY_PATH 13372 shlibpath_overrides_runpath=no 13373 hardcode_into_libs=yes 13374 dynamic_linker='ldqnx.so' 13375 ;; 13376 13377openbsd* | bitrig*) 13378 version_type=sunos 13379 sys_lib_dlsearch_path_spec=/usr/lib 13380 need_lib_prefix=no 13381 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 13382 need_version=no 13383 else 13384 need_version=yes 13385 fi 13386 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 13387 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13388 shlibpath_var=LD_LIBRARY_PATH 13389 shlibpath_overrides_runpath=yes 13390 ;; 13391 13392os2*) 13393 libname_spec='$name' 13394 version_type=windows 13395 shrext_cmds=.dll 13396 need_version=no 13397 need_lib_prefix=no 13398 # OS/2 can only load a DLL with a base name of 8 characters or less. 13399 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 13400 v=$($ECHO $release$versuffix | tr -d .-); 13401 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 13402 $ECHO $n$v`$shared_ext' 13403 library_names_spec='${libname}_dll.$libext' 13404 dynamic_linker='OS/2 ld.exe' 13405 shlibpath_var=BEGINLIBPATH 13406 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 13407 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 13408 postinstall_cmds='base_file=`basename \$file`~ 13409 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 13410 dldir=$destdir/`dirname \$dlpath`~ 13411 test -d \$dldir || mkdir -p \$dldir~ 13412 $install_prog $dir/$dlname \$dldir/$dlname~ 13413 chmod a+x \$dldir/$dlname~ 13414 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 13415 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 13416 fi' 13417 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 13418 dlpath=$dir/\$dldll~ 13419 $RM \$dlpath' 13420 ;; 13421 13422osf3* | osf4* | osf5*) 13423 version_type=osf 13424 need_lib_prefix=no 13425 need_version=no 13426 soname_spec='$libname$release$shared_ext$major' 13427 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13428 shlibpath_var=LD_LIBRARY_PATH 13429 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 13430 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 13431 ;; 13432 13433rdos*) 13434 dynamic_linker=no 13435 ;; 13436 13437solaris*) 13438 version_type=linux # correct to gnu/linux during the next big refactor 13439 need_lib_prefix=no 13440 need_version=no 13441 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13442 soname_spec='$libname$release$shared_ext$major' 13443 shlibpath_var=LD_LIBRARY_PATH 13444 shlibpath_overrides_runpath=yes 13445 hardcode_into_libs=yes 13446 # ldd complains unless libraries are executable 13447 postinstall_cmds='chmod +x $lib' 13448 ;; 13449 13450sunos4*) 13451 version_type=sunos 13452 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 13453 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 13454 shlibpath_var=LD_LIBRARY_PATH 13455 shlibpath_overrides_runpath=yes 13456 if test yes = "$with_gnu_ld"; then 13457 need_lib_prefix=no 13458 fi 13459 need_version=yes 13460 ;; 13461 13462sysv4 | sysv4.3*) 13463 version_type=linux # correct to gnu/linux during the next big refactor 13464 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13465 soname_spec='$libname$release$shared_ext$major' 13466 shlibpath_var=LD_LIBRARY_PATH 13467 case $host_vendor in 13468 sni) 13469 shlibpath_overrides_runpath=no 13470 need_lib_prefix=no 13471 runpath_var=LD_RUN_PATH 13472 ;; 13473 siemens) 13474 need_lib_prefix=no 13475 ;; 13476 motorola) 13477 need_lib_prefix=no 13478 need_version=no 13479 shlibpath_overrides_runpath=no 13480 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 13481 ;; 13482 esac 13483 ;; 13484 13485sysv4*MP*) 13486 if test -d /usr/nec; then 13487 version_type=linux # correct to gnu/linux during the next big refactor 13488 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 13489 soname_spec='$libname$shared_ext.$major' 13490 shlibpath_var=LD_LIBRARY_PATH 13491 fi 13492 ;; 13493 13494sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 13495 version_type=sco 13496 need_lib_prefix=no 13497 need_version=no 13498 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 13499 soname_spec='$libname$release$shared_ext$major' 13500 shlibpath_var=LD_LIBRARY_PATH 13501 shlibpath_overrides_runpath=yes 13502 hardcode_into_libs=yes 13503 if test yes = "$with_gnu_ld"; then 13504 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 13505 else 13506 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 13507 case $host_os in 13508 sco3.2v5*) 13509 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 13510 ;; 13511 esac 13512 fi 13513 sys_lib_dlsearch_path_spec='/usr/lib' 13514 ;; 13515 13516tpf*) 13517 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 13518 version_type=linux # correct to gnu/linux during the next big refactor 13519 need_lib_prefix=no 13520 need_version=no 13521 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13522 shlibpath_var=LD_LIBRARY_PATH 13523 shlibpath_overrides_runpath=no 13524 hardcode_into_libs=yes 13525 ;; 13526 13527uts4*) 13528 version_type=linux # correct to gnu/linux during the next big refactor 13529 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13530 soname_spec='$libname$release$shared_ext$major' 13531 shlibpath_var=LD_LIBRARY_PATH 13532 ;; 13533 13534*) 13535 dynamic_linker=no 13536 ;; 13537esac 13538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 13539$as_echo "$dynamic_linker" >&6; } 13540test no = "$dynamic_linker" && can_build_shared=no 13541 13542variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 13543if test yes = "$GCC"; then 13544 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 13545fi 13546 13547if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 13548 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 13549fi 13550 13551if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 13552 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 13553fi 13554 13555# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 13556configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 13557 13558# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 13559func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 13560 13561# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 13562configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 13661$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 13662hardcode_action= 13663if test -n "$hardcode_libdir_flag_spec" || 13664 test -n "$runpath_var" || 13665 test yes = "$hardcode_automatic"; then 13666 13667 # We can hardcode non-existent directories. 13668 if test no != "$hardcode_direct" && 13669 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13670 # have to relink, otherwise we might link with an installed library 13671 # when we should be linking with a yet-to-be-installed one 13672 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 13673 test no != "$hardcode_minus_L"; then 13674 # Linking always hardcodes the temporary library directory. 13675 hardcode_action=relink 13676 else 13677 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13678 hardcode_action=immediate 13679 fi 13680else 13681 # We cannot hardcode anything, or else we can only hardcode existing 13682 # directories. 13683 hardcode_action=unsupported 13684fi 13685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13686$as_echo "$hardcode_action" >&6; } 13687 13688if test relink = "$hardcode_action" || 13689 test yes = "$inherit_rpath"; then 13690 # Fast installation is not supported 13691 enable_fast_install=no 13692elif test yes = "$shlibpath_overrides_runpath" || 13693 test no = "$enable_shared"; then 13694 # Fast installation is not necessary 13695 enable_fast_install=needless 13696fi 13697 13698 13699 13700 13701 13702 13703 if test yes != "$enable_dlopen"; then 13704 enable_dlopen=unknown 13705 enable_dlopen_self=unknown 13706 enable_dlopen_self_static=unknown 13707else 13708 lt_cv_dlopen=no 13709 lt_cv_dlopen_libs= 13710 13711 case $host_os in 13712 beos*) 13713 lt_cv_dlopen=load_add_on 13714 lt_cv_dlopen_libs= 13715 lt_cv_dlopen_self=yes 13716 ;; 13717 13718 mingw* | pw32* | cegcc*) 13719 lt_cv_dlopen=LoadLibrary 13720 lt_cv_dlopen_libs= 13721 ;; 13722 13723 cygwin*) 13724 lt_cv_dlopen=dlopen 13725 lt_cv_dlopen_libs= 13726 ;; 13727 13728 darwin*) 13729 # if libdl is installed we need to link against it 13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13731$as_echo_n "checking for dlopen in -ldl... " >&6; } 13732if ${ac_cv_lib_dl_dlopen+:} false; then : 13733 $as_echo_n "(cached) " >&6 13734else 13735 ac_check_lib_save_LIBS=$LIBS 13736LIBS="-ldl $LIBS" 13737cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13738/* end confdefs.h. */ 13739 13740/* Override any GCC internal prototype to avoid an error. 13741 Use char because int might match the return type of a GCC 13742 builtin and then its argument prototype would still apply. */ 13743#ifdef __cplusplus 13744extern "C" 13745#endif 13746char dlopen (); 13747int 13748main () 13749{ 13750return dlopen (); 13751 ; 13752 return 0; 13753} 13754_ACEOF 13755if ac_fn_c_try_link "$LINENO"; then : 13756 ac_cv_lib_dl_dlopen=yes 13757else 13758 ac_cv_lib_dl_dlopen=no 13759fi 13760rm -f core conftest.err conftest.$ac_objext \ 13761 conftest$ac_exeext conftest.$ac_ext 13762LIBS=$ac_check_lib_save_LIBS 13763fi 13764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13765$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13766if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13767 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13768else 13769 13770 lt_cv_dlopen=dyld 13771 lt_cv_dlopen_libs= 13772 lt_cv_dlopen_self=yes 13773 13774fi 13775 13776 ;; 13777 13778 tpf*) 13779 # Don't try to run any link tests for TPF. We know it's impossible 13780 # because TPF is a cross-compiler, and we know how we open DSOs. 13781 lt_cv_dlopen=dlopen 13782 lt_cv_dlopen_libs= 13783 lt_cv_dlopen_self=no 13784 ;; 13785 13786 *) 13787 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13788if test "x$ac_cv_func_shl_load" = xyes; then : 13789 lt_cv_dlopen=shl_load 13790else 13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13792$as_echo_n "checking for shl_load in -ldld... " >&6; } 13793if ${ac_cv_lib_dld_shl_load+:} false; then : 13794 $as_echo_n "(cached) " >&6 13795else 13796 ac_check_lib_save_LIBS=$LIBS 13797LIBS="-ldld $LIBS" 13798cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13799/* end confdefs.h. */ 13800 13801/* Override any GCC internal prototype to avoid an error. 13802 Use char because int might match the return type of a GCC 13803 builtin and then its argument prototype would still apply. */ 13804#ifdef __cplusplus 13805extern "C" 13806#endif 13807char shl_load (); 13808int 13809main () 13810{ 13811return shl_load (); 13812 ; 13813 return 0; 13814} 13815_ACEOF 13816if ac_fn_c_try_link "$LINENO"; then : 13817 ac_cv_lib_dld_shl_load=yes 13818else 13819 ac_cv_lib_dld_shl_load=no 13820fi 13821rm -f core conftest.err conftest.$ac_objext \ 13822 conftest$ac_exeext conftest.$ac_ext 13823LIBS=$ac_check_lib_save_LIBS 13824fi 13825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13826$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13827if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13828 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13829else 13830 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13831if test "x$ac_cv_func_dlopen" = xyes; then : 13832 lt_cv_dlopen=dlopen 13833else 13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13835$as_echo_n "checking for dlopen in -ldl... " >&6; } 13836if ${ac_cv_lib_dl_dlopen+:} false; then : 13837 $as_echo_n "(cached) " >&6 13838else 13839 ac_check_lib_save_LIBS=$LIBS 13840LIBS="-ldl $LIBS" 13841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13842/* end confdefs.h. */ 13843 13844/* Override any GCC internal prototype to avoid an error. 13845 Use char because int might match the return type of a GCC 13846 builtin and then its argument prototype would still apply. */ 13847#ifdef __cplusplus 13848extern "C" 13849#endif 13850char dlopen (); 13851int 13852main () 13853{ 13854return dlopen (); 13855 ; 13856 return 0; 13857} 13858_ACEOF 13859if ac_fn_c_try_link "$LINENO"; then : 13860 ac_cv_lib_dl_dlopen=yes 13861else 13862 ac_cv_lib_dl_dlopen=no 13863fi 13864rm -f core conftest.err conftest.$ac_objext \ 13865 conftest$ac_exeext conftest.$ac_ext 13866LIBS=$ac_check_lib_save_LIBS 13867fi 13868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13869$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13870if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13871 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13872else 13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13874$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13875if ${ac_cv_lib_svld_dlopen+:} false; then : 13876 $as_echo_n "(cached) " >&6 13877else 13878 ac_check_lib_save_LIBS=$LIBS 13879LIBS="-lsvld $LIBS" 13880cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13881/* end confdefs.h. */ 13882 13883/* Override any GCC internal prototype to avoid an error. 13884 Use char because int might match the return type of a GCC 13885 builtin and then its argument prototype would still apply. */ 13886#ifdef __cplusplus 13887extern "C" 13888#endif 13889char dlopen (); 13890int 13891main () 13892{ 13893return dlopen (); 13894 ; 13895 return 0; 13896} 13897_ACEOF 13898if ac_fn_c_try_link "$LINENO"; then : 13899 ac_cv_lib_svld_dlopen=yes 13900else 13901 ac_cv_lib_svld_dlopen=no 13902fi 13903rm -f core conftest.err conftest.$ac_objext \ 13904 conftest$ac_exeext conftest.$ac_ext 13905LIBS=$ac_check_lib_save_LIBS 13906fi 13907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13908$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13909if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13910 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13911else 13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13913$as_echo_n "checking for dld_link in -ldld... " >&6; } 13914if ${ac_cv_lib_dld_dld_link+:} false; then : 13915 $as_echo_n "(cached) " >&6 13916else 13917 ac_check_lib_save_LIBS=$LIBS 13918LIBS="-ldld $LIBS" 13919cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13920/* end confdefs.h. */ 13921 13922/* Override any GCC internal prototype to avoid an error. 13923 Use char because int might match the return type of a GCC 13924 builtin and then its argument prototype would still apply. */ 13925#ifdef __cplusplus 13926extern "C" 13927#endif 13928char dld_link (); 13929int 13930main () 13931{ 13932return dld_link (); 13933 ; 13934 return 0; 13935} 13936_ACEOF 13937if ac_fn_c_try_link "$LINENO"; then : 13938 ac_cv_lib_dld_dld_link=yes 13939else 13940 ac_cv_lib_dld_dld_link=no 13941fi 13942rm -f core conftest.err conftest.$ac_objext \ 13943 conftest$ac_exeext conftest.$ac_ext 13944LIBS=$ac_check_lib_save_LIBS 13945fi 13946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13947$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13948if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13949 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13950fi 13951 13952 13953fi 13954 13955 13956fi 13957 13958 13959fi 13960 13961 13962fi 13963 13964 13965fi 13966 13967 ;; 13968 esac 13969 13970 if test no = "$lt_cv_dlopen"; then 13971 enable_dlopen=no 13972 else 13973 enable_dlopen=yes 13974 fi 13975 13976 case $lt_cv_dlopen in 13977 dlopen) 13978 save_CPPFLAGS=$CPPFLAGS 13979 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13980 13981 save_LDFLAGS=$LDFLAGS 13982 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13983 13984 save_LIBS=$LIBS 13985 LIBS="$lt_cv_dlopen_libs $LIBS" 13986 13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13988$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13989if ${lt_cv_dlopen_self+:} false; then : 13990 $as_echo_n "(cached) " >&6 13991else 13992 if test yes = "$cross_compiling"; then : 13993 lt_cv_dlopen_self=cross 13994else 13995 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13996 lt_status=$lt_dlunknown 13997 cat > conftest.$ac_ext <<_LT_EOF 13998#line $LINENO "configure" 13999#include "confdefs.h" 14000 14001#if HAVE_DLFCN_H 14002#include <dlfcn.h> 14003#endif 14004 14005#include <stdio.h> 14006 14007#ifdef RTLD_GLOBAL 14008# define LT_DLGLOBAL RTLD_GLOBAL 14009#else 14010# ifdef DL_GLOBAL 14011# define LT_DLGLOBAL DL_GLOBAL 14012# else 14013# define LT_DLGLOBAL 0 14014# endif 14015#endif 14016 14017/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 14018 find out it does not work in some platform. */ 14019#ifndef LT_DLLAZY_OR_NOW 14020# ifdef RTLD_LAZY 14021# define LT_DLLAZY_OR_NOW RTLD_LAZY 14022# else 14023# ifdef DL_LAZY 14024# define LT_DLLAZY_OR_NOW DL_LAZY 14025# else 14026# ifdef RTLD_NOW 14027# define LT_DLLAZY_OR_NOW RTLD_NOW 14028# else 14029# ifdef DL_NOW 14030# define LT_DLLAZY_OR_NOW DL_NOW 14031# else 14032# define LT_DLLAZY_OR_NOW 0 14033# endif 14034# endif 14035# endif 14036# endif 14037#endif 14038 14039/* When -fvisibility=hidden is used, assume the code has been annotated 14040 correspondingly for the symbols needed. */ 14041#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14042int fnord () __attribute__((visibility("default"))); 14043#endif 14044 14045int fnord () { return 42; } 14046int main () 14047{ 14048 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14049 int status = $lt_dlunknown; 14050 14051 if (self) 14052 { 14053 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 14054 else 14055 { 14056 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 14057 else puts (dlerror ()); 14058 } 14059 /* dlclose (self); */ 14060 } 14061 else 14062 puts (dlerror ()); 14063 14064 return status; 14065} 14066_LT_EOF 14067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 14068 (eval $ac_link) 2>&5 14069 ac_status=$? 14070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14071 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 14072 (./conftest; exit; ) >&5 2>/dev/null 14073 lt_status=$? 14074 case x$lt_status in 14075 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 14076 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 14077 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 14078 esac 14079 else : 14080 # compilation failed 14081 lt_cv_dlopen_self=no 14082 fi 14083fi 14084rm -fr conftest* 14085 14086 14087fi 14088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 14089$as_echo "$lt_cv_dlopen_self" >&6; } 14090 14091 if test yes = "$lt_cv_dlopen_self"; then 14092 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 14094$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 14095if ${lt_cv_dlopen_self_static+:} false; then : 14096 $as_echo_n "(cached) " >&6 14097else 14098 if test yes = "$cross_compiling"; then : 14099 lt_cv_dlopen_self_static=cross 14100else 14101 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14102 lt_status=$lt_dlunknown 14103 cat > conftest.$ac_ext <<_LT_EOF 14104#line $LINENO "configure" 14105#include "confdefs.h" 14106 14107#if HAVE_DLFCN_H 14108#include <dlfcn.h> 14109#endif 14110 14111#include <stdio.h> 14112 14113#ifdef RTLD_GLOBAL 14114# define LT_DLGLOBAL RTLD_GLOBAL 14115#else 14116# ifdef DL_GLOBAL 14117# define LT_DLGLOBAL DL_GLOBAL 14118# else 14119# define LT_DLGLOBAL 0 14120# endif 14121#endif 14122 14123/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 14124 find out it does not work in some platform. */ 14125#ifndef LT_DLLAZY_OR_NOW 14126# ifdef RTLD_LAZY 14127# define LT_DLLAZY_OR_NOW RTLD_LAZY 14128# else 14129# ifdef DL_LAZY 14130# define LT_DLLAZY_OR_NOW DL_LAZY 14131# else 14132# ifdef RTLD_NOW 14133# define LT_DLLAZY_OR_NOW RTLD_NOW 14134# else 14135# ifdef DL_NOW 14136# define LT_DLLAZY_OR_NOW DL_NOW 14137# else 14138# define LT_DLLAZY_OR_NOW 0 14139# endif 14140# endif 14141# endif 14142# endif 14143#endif 14144 14145/* When -fvisibility=hidden is used, assume the code has been annotated 14146 correspondingly for the symbols needed. */ 14147#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14148int fnord () __attribute__((visibility("default"))); 14149#endif 14150 14151int fnord () { return 42; } 14152int main () 14153{ 14154 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14155 int status = $lt_dlunknown; 14156 14157 if (self) 14158 { 14159 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 14160 else 14161 { 14162 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 14163 else puts (dlerror ()); 14164 } 14165 /* dlclose (self); */ 14166 } 14167 else 14168 puts (dlerror ()); 14169 14170 return status; 14171} 14172_LT_EOF 14173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 14174 (eval $ac_link) 2>&5 14175 ac_status=$? 14176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14177 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 14178 (./conftest; exit; ) >&5 2>/dev/null 14179 lt_status=$? 14180 case x$lt_status in 14181 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 14182 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 14183 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 14184 esac 14185 else : 14186 # compilation failed 14187 lt_cv_dlopen_self_static=no 14188 fi 14189fi 14190rm -fr conftest* 14191 14192 14193fi 14194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 14195$as_echo "$lt_cv_dlopen_self_static" >&6; } 14196 fi 14197 14198 CPPFLAGS=$save_CPPFLAGS 14199 LDFLAGS=$save_LDFLAGS 14200 LIBS=$save_LIBS 14201 ;; 14202 esac 14203 14204 case $lt_cv_dlopen_self in 14205 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 14206 *) enable_dlopen_self=unknown ;; 14207 esac 14208 14209 case $lt_cv_dlopen_self_static in 14210 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 14211 *) enable_dlopen_self_static=unknown ;; 14212 esac 14213fi 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231striplib= 14232old_striplib= 14233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 14234$as_echo_n "checking whether stripping libraries is possible... " >&6; } 14235if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 14236 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 14237 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14239$as_echo "yes" >&6; } 14240else 14241# FIXME - insert some real tests, host_os isn't really good enough 14242 case $host_os in 14243 darwin*) 14244 if test -n "$STRIP"; then 14245 striplib="$STRIP -x" 14246 old_striplib="$STRIP -S" 14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14248$as_echo "yes" >&6; } 14249 else 14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14251$as_echo "no" >&6; } 14252 fi 14253 ;; 14254 *) 14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14256$as_echo "no" >&6; } 14257 ;; 14258 esac 14259fi 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 # Report what library types will actually be built 14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 14274$as_echo_n "checking if libtool supports shared libraries... " >&6; } 14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 14276$as_echo "$can_build_shared" >&6; } 14277 14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 14279$as_echo_n "checking whether to build shared libraries... " >&6; } 14280 test no = "$can_build_shared" && enable_shared=no 14281 14282 # On AIX, shared libraries and static libraries use the same namespace, and 14283 # are all built from PIC. 14284 case $host_os in 14285 aix3*) 14286 test yes = "$enable_shared" && enable_static=no 14287 if test -n "$RANLIB"; then 14288 archive_cmds="$archive_cmds~\$RANLIB \$lib" 14289 postinstall_cmds='$RANLIB $lib' 14290 fi 14291 ;; 14292 14293 aix[4-9]*) 14294 if test ia64 != "$host_cpu"; then 14295 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 14296 yes,aix,yes) ;; # shared object as lib.so file only 14297 yes,svr4,*) ;; # shared object as lib.so archive member only 14298 yes,*) enable_static=no ;; # shared object in lib.a archive as well 14299 esac 14300 fi 14301 ;; 14302 esac 14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 14304$as_echo "$enable_shared" >&6; } 14305 14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 14307$as_echo_n "checking whether to build static libraries... " >&6; } 14308 # Make sure either enable_shared or enable_static is yes. 14309 test yes = "$enable_shared" || enable_static=yes 14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 14311$as_echo "$enable_static" >&6; } 14312 14313 14314 14315 14316fi 14317ac_ext=c 14318ac_cpp='$CPP $CPPFLAGS' 14319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14321ac_compiler_gnu=$ac_cv_c_compiler_gnu 14322 14323CC=$lt_save_CC 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 ac_config_commands="$ac_config_commands libtool" 14340 14341 14342 14343 14344# Only expand once: 14345 14346 14347if test -n "$ac_tool_prefix"; then 14348 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. 14349set dummy ${ac_tool_prefix}windres; ac_word=$2 14350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14351$as_echo_n "checking for $ac_word... " >&6; } 14352if ${ac_cv_prog_RC+:} false; then : 14353 $as_echo_n "(cached) " >&6 14354else 14355 if test -n "$RC"; then 14356 ac_cv_prog_RC="$RC" # Let the user override the test. 14357else 14358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14359for as_dir in $PATH 14360do 14361 IFS=$as_save_IFS 14362 test -z "$as_dir" && as_dir=. 14363 for ac_exec_ext in '' $ac_executable_extensions; do 14364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14365 ac_cv_prog_RC="${ac_tool_prefix}windres" 14366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14367 break 2 14368 fi 14369done 14370 done 14371IFS=$as_save_IFS 14372 14373fi 14374fi 14375RC=$ac_cv_prog_RC 14376if test -n "$RC"; then 14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5 14378$as_echo "$RC" >&6; } 14379else 14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14381$as_echo "no" >&6; } 14382fi 14383 14384 14385fi 14386if test -z "$ac_cv_prog_RC"; then 14387 ac_ct_RC=$RC 14388 # Extract the first word of "windres", so it can be a program name with args. 14389set dummy windres; ac_word=$2 14390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14391$as_echo_n "checking for $ac_word... " >&6; } 14392if ${ac_cv_prog_ac_ct_RC+:} false; then : 14393 $as_echo_n "(cached) " >&6 14394else 14395 if test -n "$ac_ct_RC"; then 14396 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test. 14397else 14398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14399for as_dir in $PATH 14400do 14401 IFS=$as_save_IFS 14402 test -z "$as_dir" && as_dir=. 14403 for ac_exec_ext in '' $ac_executable_extensions; do 14404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14405 ac_cv_prog_ac_ct_RC="windres" 14406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14407 break 2 14408 fi 14409done 14410 done 14411IFS=$as_save_IFS 14412 14413fi 14414fi 14415ac_ct_RC=$ac_cv_prog_ac_ct_RC 14416if test -n "$ac_ct_RC"; then 14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5 14418$as_echo "$ac_ct_RC" >&6; } 14419else 14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14421$as_echo "no" >&6; } 14422fi 14423 14424 if test "x$ac_ct_RC" = x; then 14425 RC="" 14426 else 14427 case $cross_compiling:$ac_tool_warned in 14428yes:) 14429{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14430$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14431ac_tool_warned=yes ;; 14432esac 14433 RC=$ac_ct_RC 14434 fi 14435else 14436 RC="$ac_cv_prog_RC" 14437fi 14438 14439 14440 14441# Source file extension for RC test sources. 14442ac_ext=rc 14443 14444# Object file extension for compiled RC test sources. 14445objext=o 14446objext_RC=$objext 14447 14448# Code to be used in simple compile tests 14449lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' 14450 14451# Code to be used in simple link tests 14452lt_simple_link_test_code=$lt_simple_compile_test_code 14453 14454# ltmain only uses $CC for tagged configurations so make sure $CC is set. 14455 14456 14457 14458 14459 14460 14461# If no C compiler was specified, use CC. 14462LTCC=${LTCC-"$CC"} 14463 14464# If no C compiler flags were specified, use CFLAGS. 14465LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 14466 14467# Allow CC to be a program name with arguments. 14468compiler=$CC 14469 14470 14471# save warnings/boilerplate of simple test code 14472ac_outfile=conftest.$ac_objext 14473echo "$lt_simple_compile_test_code" >conftest.$ac_ext 14474eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14475_lt_compiler_boilerplate=`cat conftest.err` 14476$RM conftest* 14477 14478ac_outfile=conftest.$ac_objext 14479echo "$lt_simple_link_test_code" >conftest.$ac_ext 14480eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14481_lt_linker_boilerplate=`cat conftest.err` 14482$RM -r conftest* 14483 14484 14485# Allow CC to be a program name with arguments. 14486lt_save_CC=$CC 14487lt_save_CFLAGS=$CFLAGS 14488lt_save_GCC=$GCC 14489GCC= 14490CC=${RC-"windres"} 14491CFLAGS= 14492compiler=$CC 14493compiler_RC=$CC 14494func_cc_basename $compiler 14495cc_basename=$func_cc_basename_result 14496 14497lt_cv_prog_compiler_c_o_RC=yes 14498 14499if test -n "$compiler"; then 14500 : 14501 14502 14503 14504fi 14505 14506GCC=$lt_save_GCC 14507ac_ext=c 14508ac_cpp='$CPP $CPPFLAGS' 14509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14511ac_compiler_gnu=$ac_cv_c_compiler_gnu 14512 14513CC=$lt_save_CC 14514CFLAGS=$lt_save_CFLAGS 14515 14516 14517 14518for ac_prog in gawk mawk nawk awk 14519do 14520 # Extract the first word of "$ac_prog", so it can be a program name with args. 14521set dummy $ac_prog; ac_word=$2 14522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14523$as_echo_n "checking for $ac_word... " >&6; } 14524if ${ac_cv_prog_AWK+:} false; then : 14525 $as_echo_n "(cached) " >&6 14526else 14527 if test -n "$AWK"; then 14528 ac_cv_prog_AWK="$AWK" # Let the user override the test. 14529else 14530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14531for as_dir in $PATH 14532do 14533 IFS=$as_save_IFS 14534 test -z "$as_dir" && as_dir=. 14535 for ac_exec_ext in '' $ac_executable_extensions; do 14536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14537 ac_cv_prog_AWK="$ac_prog" 14538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14539 break 2 14540 fi 14541done 14542 done 14543IFS=$as_save_IFS 14544 14545fi 14546fi 14547AWK=$ac_cv_prog_AWK 14548if test -n "$AWK"; then 14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 14550$as_echo "$AWK" >&6; } 14551else 14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14553$as_echo "no" >&6; } 14554fi 14555 14556 14557 test -n "$AWK" && break 14558done 14559 14560 14561ac_ext=cpp 14562ac_cpp='$CXXCPP $CPPFLAGS' 14563ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14564ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14565ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14566if test -z "$CXX"; then 14567 if test -n "$CCC"; then 14568 CXX=$CCC 14569 else 14570 if test -n "$ac_tool_prefix"; then 14571 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 14572 do 14573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 14574set dummy $ac_tool_prefix$ac_prog; ac_word=$2 14575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14576$as_echo_n "checking for $ac_word... " >&6; } 14577if ${ac_cv_prog_CXX+:} false; then : 14578 $as_echo_n "(cached) " >&6 14579else 14580 if test -n "$CXX"; then 14581 ac_cv_prog_CXX="$CXX" # Let the user override the test. 14582else 14583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14584for as_dir in $PATH 14585do 14586 IFS=$as_save_IFS 14587 test -z "$as_dir" && as_dir=. 14588 for ac_exec_ext in '' $ac_executable_extensions; do 14589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14590 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 14591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14592 break 2 14593 fi 14594done 14595 done 14596IFS=$as_save_IFS 14597 14598fi 14599fi 14600CXX=$ac_cv_prog_CXX 14601if test -n "$CXX"; then 14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 14603$as_echo "$CXX" >&6; } 14604else 14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14606$as_echo "no" >&6; } 14607fi 14608 14609 14610 test -n "$CXX" && break 14611 done 14612fi 14613if test -z "$CXX"; then 14614 ac_ct_CXX=$CXX 14615 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 14616do 14617 # Extract the first word of "$ac_prog", so it can be a program name with args. 14618set dummy $ac_prog; ac_word=$2 14619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14620$as_echo_n "checking for $ac_word... " >&6; } 14621if ${ac_cv_prog_ac_ct_CXX+:} false; then : 14622 $as_echo_n "(cached) " >&6 14623else 14624 if test -n "$ac_ct_CXX"; then 14625 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 14626else 14627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14628for as_dir in $PATH 14629do 14630 IFS=$as_save_IFS 14631 test -z "$as_dir" && as_dir=. 14632 for ac_exec_ext in '' $ac_executable_extensions; do 14633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14634 ac_cv_prog_ac_ct_CXX="$ac_prog" 14635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14636 break 2 14637 fi 14638done 14639 done 14640IFS=$as_save_IFS 14641 14642fi 14643fi 14644ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 14645if test -n "$ac_ct_CXX"; then 14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 14647$as_echo "$ac_ct_CXX" >&6; } 14648else 14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14650$as_echo "no" >&6; } 14651fi 14652 14653 14654 test -n "$ac_ct_CXX" && break 14655done 14656 14657 if test "x$ac_ct_CXX" = x; then 14658 CXX="g++" 14659 else 14660 case $cross_compiling:$ac_tool_warned in 14661yes:) 14662{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14663$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14664ac_tool_warned=yes ;; 14665esac 14666 CXX=$ac_ct_CXX 14667 fi 14668fi 14669 14670 fi 14671fi 14672# Provide some information about the compiler. 14673$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 14674set X $ac_compile 14675ac_compiler=$2 14676for ac_option in --version -v -V -qversion; do 14677 { { ac_try="$ac_compiler $ac_option >&5" 14678case "(($ac_try" in 14679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14680 *) ac_try_echo=$ac_try;; 14681esac 14682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14683$as_echo "$ac_try_echo"; } >&5 14684 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 14685 ac_status=$? 14686 if test -s conftest.err; then 14687 sed '10a\ 14688... rest of stderr output deleted ... 14689 10q' conftest.err >conftest.er1 14690 cat conftest.er1 >&5 14691 fi 14692 rm -f conftest.er1 conftest.err 14693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14694 test $ac_status = 0; } 14695done 14696 14697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 14698$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 14699if ${ac_cv_cxx_compiler_gnu+:} false; then : 14700 $as_echo_n "(cached) " >&6 14701else 14702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14703/* end confdefs.h. */ 14704 14705int 14706main () 14707{ 14708#ifndef __GNUC__ 14709 choke me 14710#endif 14711 14712 ; 14713 return 0; 14714} 14715_ACEOF 14716if ac_fn_cxx_try_compile "$LINENO"; then : 14717 ac_compiler_gnu=yes 14718else 14719 ac_compiler_gnu=no 14720fi 14721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14722ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 14723 14724fi 14725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 14726$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 14727if test $ac_compiler_gnu = yes; then 14728 GXX=yes 14729else 14730 GXX= 14731fi 14732ac_test_CXXFLAGS=${CXXFLAGS+set} 14733ac_save_CXXFLAGS=$CXXFLAGS 14734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 14735$as_echo_n "checking whether $CXX accepts -g... " >&6; } 14736if ${ac_cv_prog_cxx_g+:} false; then : 14737 $as_echo_n "(cached) " >&6 14738else 14739 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 14740 ac_cxx_werror_flag=yes 14741 ac_cv_prog_cxx_g=no 14742 CXXFLAGS="-g" 14743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14744/* end confdefs.h. */ 14745 14746int 14747main () 14748{ 14749 14750 ; 14751 return 0; 14752} 14753_ACEOF 14754if ac_fn_cxx_try_compile "$LINENO"; then : 14755 ac_cv_prog_cxx_g=yes 14756else 14757 CXXFLAGS="" 14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14759/* end confdefs.h. */ 14760 14761int 14762main () 14763{ 14764 14765 ; 14766 return 0; 14767} 14768_ACEOF 14769if ac_fn_cxx_try_compile "$LINENO"; then : 14770 14771else 14772 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 14773 CXXFLAGS="-g" 14774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14775/* end confdefs.h. */ 14776 14777int 14778main () 14779{ 14780 14781 ; 14782 return 0; 14783} 14784_ACEOF 14785if ac_fn_cxx_try_compile "$LINENO"; then : 14786 ac_cv_prog_cxx_g=yes 14787fi 14788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14789fi 14790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14791fi 14792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14793 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 14794fi 14795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 14796$as_echo "$ac_cv_prog_cxx_g" >&6; } 14797if test "$ac_test_CXXFLAGS" = set; then 14798 CXXFLAGS=$ac_save_CXXFLAGS 14799elif test $ac_cv_prog_cxx_g = yes; then 14800 if test "$GXX" = yes; then 14801 CXXFLAGS="-g -O2" 14802 else 14803 CXXFLAGS="-g" 14804 fi 14805else 14806 if test "$GXX" = yes; then 14807 CXXFLAGS="-O2" 14808 else 14809 CXXFLAGS= 14810 fi 14811fi 14812ac_ext=c 14813ac_cpp='$CPP $CPPFLAGS' 14814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14816ac_compiler_gnu=$ac_cv_c_compiler_gnu 14817 14818depcc="$CXX" am_compiler_list= 14819 14820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 14821$as_echo_n "checking dependency style of $depcc... " >&6; } 14822if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 14823 $as_echo_n "(cached) " >&6 14824else 14825 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 14826 # We make a subdir and do the tests there. Otherwise we can end up 14827 # making bogus files that we don't know about and never remove. For 14828 # instance it was reported that on HP-UX the gcc test will end up 14829 # making a dummy file named 'D' -- because '-MD' means "put the output 14830 # in D". 14831 rm -rf conftest.dir 14832 mkdir conftest.dir 14833 # Copy depcomp to subdir because otherwise we won't find it if we're 14834 # using a relative directory. 14835 cp "$am_depcomp" conftest.dir 14836 cd conftest.dir 14837 # We will build objects and dependencies in a subdirectory because 14838 # it helps to detect inapplicable dependency modes. For instance 14839 # both Tru64's cc and ICC support -MD to output dependencies as a 14840 # side effect of compilation, but ICC will put the dependencies in 14841 # the current directory while Tru64 will put them in the object 14842 # directory. 14843 mkdir sub 14844 14845 am_cv_CXX_dependencies_compiler_type=none 14846 if test "$am_compiler_list" = ""; then 14847 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 14848 fi 14849 am__universal=false 14850 case " $depcc " in #( 14851 *\ -arch\ *\ -arch\ *) am__universal=true ;; 14852 esac 14853 14854 for depmode in $am_compiler_list; do 14855 # Setup a source with many dependencies, because some compilers 14856 # like to wrap large dependency lists on column 80 (with \), and 14857 # we should not choose a depcomp mode which is confused by this. 14858 # 14859 # We need to recreate these files for each test, as the compiler may 14860 # overwrite some of them when testing with obscure command lines. 14861 # This happens at least with the AIX C compiler. 14862 : > sub/conftest.c 14863 for i in 1 2 3 4 5 6; do 14864 echo '#include "conftst'$i'.h"' >> sub/conftest.c 14865 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 14866 # Solaris 10 /bin/sh. 14867 echo '/* dummy */' > sub/conftst$i.h 14868 done 14869 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 14870 14871 # We check with '-c' and '-o' for the sake of the "dashmstdout" 14872 # mode. It turns out that the SunPro C++ compiler does not properly 14873 # handle '-M -o', and we need to detect this. Also, some Intel 14874 # versions had trouble with output in subdirs. 14875 am__obj=sub/conftest.${OBJEXT-o} 14876 am__minus_obj="-o $am__obj" 14877 case $depmode in 14878 gcc) 14879 # This depmode causes a compiler race in universal mode. 14880 test "$am__universal" = false || continue 14881 ;; 14882 nosideeffect) 14883 # After this tag, mechanisms are not by side-effect, so they'll 14884 # only be used when explicitly requested. 14885 if test "x$enable_dependency_tracking" = xyes; then 14886 continue 14887 else 14888 break 14889 fi 14890 ;; 14891 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 14892 # This compiler won't grok '-c -o', but also, the minuso test has 14893 # not run yet. These depmodes are late enough in the game, and 14894 # so weak that their functioning should not be impacted. 14895 am__obj=conftest.${OBJEXT-o} 14896 am__minus_obj= 14897 ;; 14898 none) break ;; 14899 esac 14900 if depmode=$depmode \ 14901 source=sub/conftest.c object=$am__obj \ 14902 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 14903 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 14904 >/dev/null 2>conftest.err && 14905 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 14906 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 14907 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 14908 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 14909 # icc doesn't choke on unknown options, it will just issue warnings 14910 # or remarks (even with -Werror). So we grep stderr for any message 14911 # that says an option was ignored or not supported. 14912 # When given -MP, icc 7.0 and 7.1 complain thusly: 14913 # icc: Command line warning: ignoring option '-M'; no argument required 14914 # The diagnosis changed in icc 8.0: 14915 # icc: Command line remark: option '-MP' not supported 14916 if (grep 'ignoring option' conftest.err || 14917 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 14918 am_cv_CXX_dependencies_compiler_type=$depmode 14919 break 14920 fi 14921 fi 14922 done 14923 14924 cd .. 14925 rm -rf conftest.dir 14926else 14927 am_cv_CXX_dependencies_compiler_type=none 14928fi 14929 14930fi 14931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 14932$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 14933CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 14934 14935 if 14936 test "x$enable_dependency_tracking" != xno \ 14937 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 14938 am__fastdepCXX_TRUE= 14939 am__fastdepCXX_FALSE='#' 14940else 14941 am__fastdepCXX_TRUE='#' 14942 am__fastdepCXX_FALSE= 14943fi 14944 14945 14946 14947 14948func_stripname_cnf () 14949{ 14950 case $2 in 14951 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 14952 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 14953 esac 14954} # func_stripname_cnf 14955 14956 if test -n "$CXX" && ( test no != "$CXX" && 14957 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 14958 (test g++ != "$CXX"))); then 14959 ac_ext=cpp 14960ac_cpp='$CXXCPP $CPPFLAGS' 14961ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14962ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14963ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 14965$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 14966if test -z "$CXXCPP"; then 14967 if ${ac_cv_prog_CXXCPP+:} false; then : 14968 $as_echo_n "(cached) " >&6 14969else 14970 # Double quotes because CXXCPP needs to be expanded 14971 for CXXCPP in "$CXX -E" "/lib/cpp" 14972 do 14973 ac_preproc_ok=false 14974for ac_cxx_preproc_warn_flag in '' yes 14975do 14976 # Use a header file that comes with gcc, so configuring glibc 14977 # with a fresh cross-compiler works. 14978 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14979 # <limits.h> exists even on freestanding compilers. 14980 # On the NeXT, cc -E runs the code through the compiler's parser, 14981 # not just through cpp. "Syntax error" is here to catch this case. 14982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14983/* end confdefs.h. */ 14984#ifdef __STDC__ 14985# include <limits.h> 14986#else 14987# include <assert.h> 14988#endif 14989 Syntax error 14990_ACEOF 14991if ac_fn_cxx_try_cpp "$LINENO"; then : 14992 14993else 14994 # Broken: fails on valid input. 14995continue 14996fi 14997rm -f conftest.err conftest.i conftest.$ac_ext 14998 14999 # OK, works on sane cases. Now check whether nonexistent headers 15000 # can be detected and how. 15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15002/* end confdefs.h. */ 15003#include <ac_nonexistent.h> 15004_ACEOF 15005if ac_fn_cxx_try_cpp "$LINENO"; then : 15006 # Broken: success on invalid input. 15007continue 15008else 15009 # Passes both tests. 15010ac_preproc_ok=: 15011break 15012fi 15013rm -f conftest.err conftest.i conftest.$ac_ext 15014 15015done 15016# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 15017rm -f conftest.i conftest.err conftest.$ac_ext 15018if $ac_preproc_ok; then : 15019 break 15020fi 15021 15022 done 15023 ac_cv_prog_CXXCPP=$CXXCPP 15024 15025fi 15026 CXXCPP=$ac_cv_prog_CXXCPP 15027else 15028 ac_cv_prog_CXXCPP=$CXXCPP 15029fi 15030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 15031$as_echo "$CXXCPP" >&6; } 15032ac_preproc_ok=false 15033for ac_cxx_preproc_warn_flag in '' yes 15034do 15035 # Use a header file that comes with gcc, so configuring glibc 15036 # with a fresh cross-compiler works. 15037 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15038 # <limits.h> exists even on freestanding compilers. 15039 # On the NeXT, cc -E runs the code through the compiler's parser, 15040 # not just through cpp. "Syntax error" is here to catch this case. 15041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15042/* end confdefs.h. */ 15043#ifdef __STDC__ 15044# include <limits.h> 15045#else 15046# include <assert.h> 15047#endif 15048 Syntax error 15049_ACEOF 15050if ac_fn_cxx_try_cpp "$LINENO"; then : 15051 15052else 15053 # Broken: fails on valid input. 15054continue 15055fi 15056rm -f conftest.err conftest.i conftest.$ac_ext 15057 15058 # OK, works on sane cases. Now check whether nonexistent headers 15059 # can be detected and how. 15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15061/* end confdefs.h. */ 15062#include <ac_nonexistent.h> 15063_ACEOF 15064if ac_fn_cxx_try_cpp "$LINENO"; then : 15065 # Broken: success on invalid input. 15066continue 15067else 15068 # Passes both tests. 15069ac_preproc_ok=: 15070break 15071fi 15072rm -f conftest.err conftest.i conftest.$ac_ext 15073 15074done 15075# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 15076rm -f conftest.i conftest.err conftest.$ac_ext 15077if $ac_preproc_ok; then : 15078 15079else 15080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15081$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15082as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 15083See \`config.log' for more details" "$LINENO" 5; } 15084fi 15085 15086ac_ext=c 15087ac_cpp='$CPP $CPPFLAGS' 15088ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15089ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15090ac_compiler_gnu=$ac_cv_c_compiler_gnu 15091 15092else 15093 _lt_caught_CXX_error=yes 15094fi 15095 15096ac_ext=cpp 15097ac_cpp='$CXXCPP $CPPFLAGS' 15098ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15099ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15100ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 15101 15102archive_cmds_need_lc_CXX=no 15103allow_undefined_flag_CXX= 15104always_export_symbols_CXX=no 15105archive_expsym_cmds_CXX= 15106compiler_needs_object_CXX=no 15107export_dynamic_flag_spec_CXX= 15108hardcode_direct_CXX=no 15109hardcode_direct_absolute_CXX=no 15110hardcode_libdir_flag_spec_CXX= 15111hardcode_libdir_separator_CXX= 15112hardcode_minus_L_CXX=no 15113hardcode_shlibpath_var_CXX=unsupported 15114hardcode_automatic_CXX=no 15115inherit_rpath_CXX=no 15116module_cmds_CXX= 15117module_expsym_cmds_CXX= 15118link_all_deplibs_CXX=unknown 15119old_archive_cmds_CXX=$old_archive_cmds 15120reload_flag_CXX=$reload_flag 15121reload_cmds_CXX=$reload_cmds 15122no_undefined_flag_CXX= 15123whole_archive_flag_spec_CXX= 15124enable_shared_with_static_runtimes_CXX=no 15125 15126# Source file extension for C++ test sources. 15127ac_ext=cpp 15128 15129# Object file extension for compiled C++ test sources. 15130objext=o 15131objext_CXX=$objext 15132 15133# No sense in running all these tests if we already determined that 15134# the CXX compiler isn't working. Some variables (like enable_shared) 15135# are currently assumed to apply to all compilers on this platform, 15136# and will be corrupted by setting them based on a non-working compiler. 15137if test yes != "$_lt_caught_CXX_error"; then 15138 # Code to be used in simple compile tests 15139 lt_simple_compile_test_code="int some_variable = 0;" 15140 15141 # Code to be used in simple link tests 15142 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 15143 15144 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 15145 15146 15147 15148 15149 15150 15151# If no C compiler was specified, use CC. 15152LTCC=${LTCC-"$CC"} 15153 15154# If no C compiler flags were specified, use CFLAGS. 15155LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 15156 15157# Allow CC to be a program name with arguments. 15158compiler=$CC 15159 15160 15161 # save warnings/boilerplate of simple test code 15162 ac_outfile=conftest.$ac_objext 15163echo "$lt_simple_compile_test_code" >conftest.$ac_ext 15164eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 15165_lt_compiler_boilerplate=`cat conftest.err` 15166$RM conftest* 15167 15168 ac_outfile=conftest.$ac_objext 15169echo "$lt_simple_link_test_code" >conftest.$ac_ext 15170eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 15171_lt_linker_boilerplate=`cat conftest.err` 15172$RM -r conftest* 15173 15174 15175 # Allow CC to be a program name with arguments. 15176 lt_save_CC=$CC 15177 lt_save_CFLAGS=$CFLAGS 15178 lt_save_LD=$LD 15179 lt_save_GCC=$GCC 15180 GCC=$GXX 15181 lt_save_with_gnu_ld=$with_gnu_ld 15182 lt_save_path_LD=$lt_cv_path_LD 15183 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 15184 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 15185 else 15186 $as_unset lt_cv_prog_gnu_ld 15187 fi 15188 if test -n "${lt_cv_path_LDCXX+set}"; then 15189 lt_cv_path_LD=$lt_cv_path_LDCXX 15190 else 15191 $as_unset lt_cv_path_LD 15192 fi 15193 test -z "${LDCXX+set}" || LD=$LDCXX 15194 CC=${CXX-"c++"} 15195 CFLAGS=$CXXFLAGS 15196 compiler=$CC 15197 compiler_CXX=$CC 15198 func_cc_basename $compiler 15199cc_basename=$func_cc_basename_result 15200 15201 15202 if test -n "$compiler"; then 15203 # We don't want -fno-exception when compiling C++ code, so set the 15204 # no_builtin_flag separately 15205 if test yes = "$GXX"; then 15206 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 15207 else 15208 lt_prog_compiler_no_builtin_flag_CXX= 15209 fi 15210 15211 if test yes = "$GXX"; then 15212 # Set up default GNU C++ configuration 15213 15214 15215 15216# Check whether --with-gnu-ld was given. 15217if test "${with_gnu_ld+set}" = set; then : 15218 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 15219else 15220 with_gnu_ld=no 15221fi 15222 15223ac_prog=ld 15224if test yes = "$GCC"; then 15225 # Check if gcc -print-prog-name=ld gives a path. 15226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 15227$as_echo_n "checking for ld used by $CC... " >&6; } 15228 case $host in 15229 *-*-mingw*) 15230 # gcc leaves a trailing carriage return, which upsets mingw 15231 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 15232 *) 15233 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 15234 esac 15235 case $ac_prog in 15236 # Accept absolute paths. 15237 [\\/]* | ?:[\\/]*) 15238 re_direlt='/[^/][^/]*/\.\./' 15239 # Canonicalize the pathname of ld 15240 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 15241 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 15242 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 15243 done 15244 test -z "$LD" && LD=$ac_prog 15245 ;; 15246 "") 15247 # If it fails, then pretend we aren't using GCC. 15248 ac_prog=ld 15249 ;; 15250 *) 15251 # If it is relative, then search for the first ld in PATH. 15252 with_gnu_ld=unknown 15253 ;; 15254 esac 15255elif test yes = "$with_gnu_ld"; then 15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 15257$as_echo_n "checking for GNU ld... " >&6; } 15258else 15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 15260$as_echo_n "checking for non-GNU ld... " >&6; } 15261fi 15262if ${lt_cv_path_LD+:} false; then : 15263 $as_echo_n "(cached) " >&6 15264else 15265 if test -z "$LD"; then 15266 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 15267 for ac_dir in $PATH; do 15268 IFS=$lt_save_ifs 15269 test -z "$ac_dir" && ac_dir=. 15270 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 15271 lt_cv_path_LD=$ac_dir/$ac_prog 15272 # Check to see if the program is GNU ld. I'd rather use --version, 15273 # but apparently some variants of GNU ld only accept -v. 15274 # Break only if it was the GNU/non-GNU ld that we prefer. 15275 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 15276 *GNU* | *'with BFD'*) 15277 test no != "$with_gnu_ld" && break 15278 ;; 15279 *) 15280 test yes != "$with_gnu_ld" && break 15281 ;; 15282 esac 15283 fi 15284 done 15285 IFS=$lt_save_ifs 15286else 15287 lt_cv_path_LD=$LD # Let the user override the test with a path. 15288fi 15289fi 15290 15291LD=$lt_cv_path_LD 15292if test -n "$LD"; then 15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 15294$as_echo "$LD" >&6; } 15295else 15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15297$as_echo "no" >&6; } 15298fi 15299test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 15300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 15301$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 15302if ${lt_cv_prog_gnu_ld+:} false; then : 15303 $as_echo_n "(cached) " >&6 15304else 15305 # I'd rather use --version here, but apparently some GNU lds only accept -v. 15306case `$LD -v 2>&1 </dev/null` in 15307*GNU* | *'with BFD'*) 15308 lt_cv_prog_gnu_ld=yes 15309 ;; 15310*) 15311 lt_cv_prog_gnu_ld=no 15312 ;; 15313esac 15314fi 15315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 15316$as_echo "$lt_cv_prog_gnu_ld" >&6; } 15317with_gnu_ld=$lt_cv_prog_gnu_ld 15318 15319 15320 15321 15322 15323 15324 15325 # Check if GNU C++ uses GNU ld as the underlying linker, since the 15326 # archiving commands below assume that GNU ld is being used. 15327 if test yes = "$with_gnu_ld"; then 15328 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15329 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' 15330 15331 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15332 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15333 15334 # If archive_cmds runs LD, not CC, wlarc should be empty 15335 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 15336 # investigate it a little bit more. (MM) 15337 wlarc='$wl' 15338 15339 # ancient GNU ld didn't support --whole-archive et. al. 15340 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 15341 $GREP 'no-whole-archive' > /dev/null; then 15342 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 15343 else 15344 whole_archive_flag_spec_CXX= 15345 fi 15346 else 15347 with_gnu_ld=no 15348 wlarc= 15349 15350 # A generic and very simple default shared library creation 15351 # command for GNU C++ for the case where it uses the native 15352 # linker, instead of GNU ld. If possible, this setting should 15353 # overridden to take advantage of the native linker features on 15354 # the platform it is being used on. 15355 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 15356 fi 15357 15358 # Commands to make compiler produce verbose output that lists 15359 # what "hidden" libraries, object files and flags are used when 15360 # linking a shared library. 15361 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15362 15363 else 15364 GXX=no 15365 with_gnu_ld=no 15366 wlarc= 15367 fi 15368 15369 # PORTME: fill in a description of your system's C++ link characteristics 15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15371$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15372 ld_shlibs_CXX=yes 15373 case $host_os in 15374 aix3*) 15375 # FIXME: insert proper C++ library support 15376 ld_shlibs_CXX=no 15377 ;; 15378 aix[4-9]*) 15379 if test ia64 = "$host_cpu"; then 15380 # On IA64, the linker does run time linking by default, so we don't 15381 # have to do anything special. 15382 aix_use_runtimelinking=no 15383 exp_sym_flag='-Bexport' 15384 no_entry_flag= 15385 else 15386 aix_use_runtimelinking=no 15387 15388 # Test if we are trying to use run time linking or normal 15389 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 15390 # have runtime linking enabled, and use it for executables. 15391 # For shared libraries, we enable/disable runtime linking 15392 # depending on the kind of the shared library created - 15393 # when "with_aix_soname,aix_use_runtimelinking" is: 15394 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 15395 # "aix,yes" lib.so shared, rtl:yes, for executables 15396 # lib.a static archive 15397 # "both,no" lib.so.V(shr.o) shared, rtl:yes 15398 # lib.a(lib.so.V) shared, rtl:no, for executables 15399 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 15400 # lib.a(lib.so.V) shared, rtl:no 15401 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 15402 # lib.a static archive 15403 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 15404 for ld_flag in $LDFLAGS; do 15405 case $ld_flag in 15406 *-brtl*) 15407 aix_use_runtimelinking=yes 15408 break 15409 ;; 15410 esac 15411 done 15412 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 15413 # With aix-soname=svr4, we create the lib.so.V shared archives only, 15414 # so we don't have lib.a shared libs to link our executables. 15415 # We have to force runtime linking in this case. 15416 aix_use_runtimelinking=yes 15417 LDFLAGS="$LDFLAGS -Wl,-brtl" 15418 fi 15419 ;; 15420 esac 15421 15422 exp_sym_flag='-bexport' 15423 no_entry_flag='-bnoentry' 15424 fi 15425 15426 # When large executables or shared objects are built, AIX ld can 15427 # have problems creating the table of contents. If linking a library 15428 # or program results in "error TOC overflow" add -mminimal-toc to 15429 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 15430 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 15431 15432 archive_cmds_CXX='' 15433 hardcode_direct_CXX=yes 15434 hardcode_direct_absolute_CXX=yes 15435 hardcode_libdir_separator_CXX=':' 15436 link_all_deplibs_CXX=yes 15437 file_list_spec_CXX='$wl-f,' 15438 case $with_aix_soname,$aix_use_runtimelinking in 15439 aix,*) ;; # no import file 15440 svr4,* | *,yes) # use import file 15441 # The Import File defines what to hardcode. 15442 hardcode_direct_CXX=no 15443 hardcode_direct_absolute_CXX=no 15444 ;; 15445 esac 15446 15447 if test yes = "$GXX"; then 15448 case $host_os in aix4.[012]|aix4.[012].*) 15449 # We only want to do this on AIX 4.2 and lower, the check 15450 # below for broken collect2 doesn't work under 4.3+ 15451 collect2name=`$CC -print-prog-name=collect2` 15452 if test -f "$collect2name" && 15453 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 15454 then 15455 # We have reworked collect2 15456 : 15457 else 15458 # We have old collect2 15459 hardcode_direct_CXX=unsupported 15460 # It fails to find uninstalled libraries when the uninstalled 15461 # path is not listed in the libpath. Setting hardcode_minus_L 15462 # to unsupported forces relinking 15463 hardcode_minus_L_CXX=yes 15464 hardcode_libdir_flag_spec_CXX='-L$libdir' 15465 hardcode_libdir_separator_CXX= 15466 fi 15467 esac 15468 shared_flag='-shared' 15469 if test yes = "$aix_use_runtimelinking"; then 15470 shared_flag=$shared_flag' $wl-G' 15471 fi 15472 # Need to ensure runtime linking is disabled for the traditional 15473 # shared library, or the linker may eventually find shared libraries 15474 # /with/ Import File - we do not want to mix them. 15475 shared_flag_aix='-shared' 15476 shared_flag_svr4='-shared $wl-G' 15477 else 15478 # not using gcc 15479 if test ia64 = "$host_cpu"; then 15480 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 15481 # chokes on -Wl,-G. The following line is correct: 15482 shared_flag='-G' 15483 else 15484 if test yes = "$aix_use_runtimelinking"; then 15485 shared_flag='$wl-G' 15486 else 15487 shared_flag='$wl-bM:SRE' 15488 fi 15489 shared_flag_aix='$wl-bM:SRE' 15490 shared_flag_svr4='$wl-G' 15491 fi 15492 fi 15493 15494 export_dynamic_flag_spec_CXX='$wl-bexpall' 15495 # It seems that -bexpall does not export symbols beginning with 15496 # underscore (_), so it is better to generate a list of symbols to 15497 # export. 15498 always_export_symbols_CXX=yes 15499 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 15500 # Warning - without using the other runtime loading flags (-brtl), 15501 # -berok will link without error, but may produce a broken library. 15502 # The "-G" linker flag allows undefined symbols. 15503 no_undefined_flag_CXX='-bernotok' 15504 # Determine the default libpath from the value encoded in an empty 15505 # executable. 15506 if test set = "${lt_cv_aix_libpath+set}"; then 15507 aix_libpath=$lt_cv_aix_libpath 15508else 15509 if ${lt_cv_aix_libpath__CXX+:} false; then : 15510 $as_echo_n "(cached) " >&6 15511else 15512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15513/* end confdefs.h. */ 15514 15515int 15516main () 15517{ 15518 15519 ; 15520 return 0; 15521} 15522_ACEOF 15523if ac_fn_cxx_try_link "$LINENO"; then : 15524 15525 lt_aix_libpath_sed=' 15526 /Import File Strings/,/^$/ { 15527 /^0/ { 15528 s/^0 *\([^ ]*\) *$/\1/ 15529 p 15530 } 15531 }' 15532 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15533 # Check for a 64-bit object if we didn't find anything. 15534 if test -z "$lt_cv_aix_libpath__CXX"; then 15535 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15536 fi 15537fi 15538rm -f core conftest.err conftest.$ac_objext \ 15539 conftest$ac_exeext conftest.$ac_ext 15540 if test -z "$lt_cv_aix_libpath__CXX"; then 15541 lt_cv_aix_libpath__CXX=/usr/lib:/lib 15542 fi 15543 15544fi 15545 15546 aix_libpath=$lt_cv_aix_libpath__CXX 15547fi 15548 15549 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 15550 15551 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 15552 else 15553 if test ia64 = "$host_cpu"; then 15554 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 15555 allow_undefined_flag_CXX="-z nodefs" 15556 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" 15557 else 15558 # Determine the default libpath from the value encoded in an 15559 # empty executable. 15560 if test set = "${lt_cv_aix_libpath+set}"; then 15561 aix_libpath=$lt_cv_aix_libpath 15562else 15563 if ${lt_cv_aix_libpath__CXX+:} false; then : 15564 $as_echo_n "(cached) " >&6 15565else 15566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15567/* end confdefs.h. */ 15568 15569int 15570main () 15571{ 15572 15573 ; 15574 return 0; 15575} 15576_ACEOF 15577if ac_fn_cxx_try_link "$LINENO"; then : 15578 15579 lt_aix_libpath_sed=' 15580 /Import File Strings/,/^$/ { 15581 /^0/ { 15582 s/^0 *\([^ ]*\) *$/\1/ 15583 p 15584 } 15585 }' 15586 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15587 # Check for a 64-bit object if we didn't find anything. 15588 if test -z "$lt_cv_aix_libpath__CXX"; then 15589 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15590 fi 15591fi 15592rm -f core conftest.err conftest.$ac_objext \ 15593 conftest$ac_exeext conftest.$ac_ext 15594 if test -z "$lt_cv_aix_libpath__CXX"; then 15595 lt_cv_aix_libpath__CXX=/usr/lib:/lib 15596 fi 15597 15598fi 15599 15600 aix_libpath=$lt_cv_aix_libpath__CXX 15601fi 15602 15603 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 15604 # Warning - without using the other run time loading flags, 15605 # -berok will link without error, but may produce a broken library. 15606 no_undefined_flag_CXX=' $wl-bernotok' 15607 allow_undefined_flag_CXX=' $wl-berok' 15608 if test yes = "$with_gnu_ld"; then 15609 # We only use this code for GNU lds that support --whole-archive. 15610 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 15611 else 15612 # Exported symbols can be pulled into shared objects from archives 15613 whole_archive_flag_spec_CXX='$convenience' 15614 fi 15615 archive_cmds_need_lc_CXX=yes 15616 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 15617 # -brtl affects multiple linker settings, -berok does not and is overridden later 15618 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 15619 if test svr4 != "$with_aix_soname"; then 15620 # This is similar to how AIX traditionally builds its shared 15621 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 15622 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' 15623 fi 15624 if test aix != "$with_aix_soname"; then 15625 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' 15626 else 15627 # used by -dlpreopen to get the symbols 15628 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 15629 fi 15630 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 15631 fi 15632 fi 15633 ;; 15634 15635 beos*) 15636 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 15637 allow_undefined_flag_CXX=unsupported 15638 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 15639 # support --undefined. This deserves some investigation. FIXME 15640 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15641 else 15642 ld_shlibs_CXX=no 15643 fi 15644 ;; 15645 15646 chorus*) 15647 case $cc_basename in 15648 *) 15649 # FIXME: insert proper C++ library support 15650 ld_shlibs_CXX=no 15651 ;; 15652 esac 15653 ;; 15654 15655 cygwin* | mingw* | pw32* | cegcc*) 15656 case $GXX,$cc_basename in 15657 ,cl* | no,cl*) 15658 # Native MSVC 15659 # hardcode_libdir_flag_spec is actually meaningless, as there is 15660 # no search path for DLLs. 15661 hardcode_libdir_flag_spec_CXX=' ' 15662 allow_undefined_flag_CXX=unsupported 15663 always_export_symbols_CXX=yes 15664 file_list_spec_CXX='@' 15665 # Tell ltmain to make .lib files, not .a files. 15666 libext=lib 15667 # Tell ltmain to make .dll files, not .so files. 15668 shrext_cmds=.dll 15669 # FIXME: Setting linknames here is a bad hack. 15670 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 15671 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 15672 cp "$export_symbols" "$output_objdir/$soname.def"; 15673 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 15674 else 15675 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 15676 fi~ 15677 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 15678 linknames=' 15679 # The linker will not automatically build a static lib if we build a DLL. 15680 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 15681 enable_shared_with_static_runtimes_CXX=yes 15682 # Don't use ranlib 15683 old_postinstall_cmds_CXX='chmod 644 $oldlib' 15684 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 15685 lt_tool_outputfile="@TOOL_OUTPUT@"~ 15686 case $lt_outputfile in 15687 *.exe|*.EXE) ;; 15688 *) 15689 lt_outputfile=$lt_outputfile.exe 15690 lt_tool_outputfile=$lt_tool_outputfile.exe 15691 ;; 15692 esac~ 15693 func_to_tool_file "$lt_outputfile"~ 15694 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 15695 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 15696 $RM "$lt_outputfile.manifest"; 15697 fi' 15698 ;; 15699 *) 15700 # g++ 15701 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 15702 # as there is no search path for DLLs. 15703 hardcode_libdir_flag_spec_CXX='-L$libdir' 15704 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 15705 allow_undefined_flag_CXX=unsupported 15706 always_export_symbols_CXX=no 15707 enable_shared_with_static_runtimes_CXX=yes 15708 15709 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 15710 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' 15711 # If the export-symbols file already is a .def file, use it as 15712 # is; otherwise, prepend EXPORTS... 15713 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 15714 cp $export_symbols $output_objdir/$soname.def; 15715 else 15716 echo EXPORTS > $output_objdir/$soname.def; 15717 cat $export_symbols >> $output_objdir/$soname.def; 15718 fi~ 15719 $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' 15720 else 15721 ld_shlibs_CXX=no 15722 fi 15723 ;; 15724 esac 15725 ;; 15726 darwin* | rhapsody*) 15727 15728 15729 archive_cmds_need_lc_CXX=no 15730 hardcode_direct_CXX=no 15731 hardcode_automatic_CXX=yes 15732 hardcode_shlibpath_var_CXX=unsupported 15733 if test yes = "$lt_cv_ld_force_load"; then 15734 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\"`' 15735 15736 else 15737 whole_archive_flag_spec_CXX='' 15738 fi 15739 link_all_deplibs_CXX=yes 15740 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 15741 case $cc_basename in 15742 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 15743 *) _lt_dar_can_shared=$GCC ;; 15744 esac 15745 if test yes = "$_lt_dar_can_shared"; then 15746 output_verbose_link_cmd=func_echo_all 15747 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" 15748 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 15749 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" 15750 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" 15751 if test yes != "$lt_cv_apple_cc_single_mod"; then 15752 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" 15753 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" 15754 fi 15755 15756 else 15757 ld_shlibs_CXX=no 15758 fi 15759 15760 ;; 15761 15762 os2*) 15763 hardcode_libdir_flag_spec_CXX='-L$libdir' 15764 hardcode_minus_L_CXX=yes 15765 allow_undefined_flag_CXX=unsupported 15766 shrext_cmds=.dll 15767 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 15768 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 15769 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 15770 $ECHO EXPORTS >> $output_objdir/$libname.def~ 15771 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 15772 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 15773 emximp -o $lib $output_objdir/$libname.def' 15774 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 15775 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 15776 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 15777 $ECHO EXPORTS >> $output_objdir/$libname.def~ 15778 prefix_cmds="$SED"~ 15779 if test EXPORTS = "`$SED 1q $export_symbols`"; then 15780 prefix_cmds="$prefix_cmds -e 1d"; 15781 fi~ 15782 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 15783 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 15784 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 15785 emximp -o $lib $output_objdir/$libname.def' 15786 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 15787 enable_shared_with_static_runtimes_CXX=yes 15788 ;; 15789 15790 dgux*) 15791 case $cc_basename in 15792 ec++*) 15793 # FIXME: insert proper C++ library support 15794 ld_shlibs_CXX=no 15795 ;; 15796 ghcx*) 15797 # Green Hills C++ Compiler 15798 # FIXME: insert proper C++ library support 15799 ld_shlibs_CXX=no 15800 ;; 15801 *) 15802 # FIXME: insert proper C++ library support 15803 ld_shlibs_CXX=no 15804 ;; 15805 esac 15806 ;; 15807 15808 freebsd2.*) 15809 # C++ shared libraries reported to be fairly broken before 15810 # switch to ELF 15811 ld_shlibs_CXX=no 15812 ;; 15813 15814 freebsd-elf*) 15815 archive_cmds_need_lc_CXX=no 15816 ;; 15817 15818 freebsd* | dragonfly*) 15819 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 15820 # conventions 15821 ld_shlibs_CXX=yes 15822 ;; 15823 15824 haiku*) 15825 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15826 link_all_deplibs_CXX=yes 15827 ;; 15828 15829 hpux9*) 15830 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 15831 hardcode_libdir_separator_CXX=: 15832 export_dynamic_flag_spec_CXX='$wl-E' 15833 hardcode_direct_CXX=yes 15834 hardcode_minus_L_CXX=yes # Not in the search PATH, 15835 # but as the default 15836 # location of the library. 15837 15838 case $cc_basename in 15839 CC*) 15840 # FIXME: insert proper C++ library support 15841 ld_shlibs_CXX=no 15842 ;; 15843 aCC*) 15844 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' 15845 # Commands to make compiler produce verbose output that lists 15846 # what "hidden" libraries, object files and flags are used when 15847 # linking a shared library. 15848 # 15849 # There doesn't appear to be a way to prevent this compiler from 15850 # explicitly linking system object files so we need to strip them 15851 # from the output so that they don't get included in the library 15852 # dependencies. 15853 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"' 15854 ;; 15855 *) 15856 if test yes = "$GXX"; then 15857 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' 15858 else 15859 # FIXME: insert proper C++ library support 15860 ld_shlibs_CXX=no 15861 fi 15862 ;; 15863 esac 15864 ;; 15865 15866 hpux10*|hpux11*) 15867 if test no = "$with_gnu_ld"; then 15868 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 15869 hardcode_libdir_separator_CXX=: 15870 15871 case $host_cpu in 15872 hppa*64*|ia64*) 15873 ;; 15874 *) 15875 export_dynamic_flag_spec_CXX='$wl-E' 15876 ;; 15877 esac 15878 fi 15879 case $host_cpu in 15880 hppa*64*|ia64*) 15881 hardcode_direct_CXX=no 15882 hardcode_shlibpath_var_CXX=no 15883 ;; 15884 *) 15885 hardcode_direct_CXX=yes 15886 hardcode_direct_absolute_CXX=yes 15887 hardcode_minus_L_CXX=yes # Not in the search PATH, 15888 # but as the default 15889 # location of the library. 15890 ;; 15891 esac 15892 15893 case $cc_basename in 15894 CC*) 15895 # FIXME: insert proper C++ library support 15896 ld_shlibs_CXX=no 15897 ;; 15898 aCC*) 15899 case $host_cpu in 15900 hppa*64*) 15901 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15902 ;; 15903 ia64*) 15904 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15905 ;; 15906 *) 15907 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15908 ;; 15909 esac 15910 # Commands to make compiler produce verbose output that lists 15911 # what "hidden" libraries, object files and flags are used when 15912 # linking a shared library. 15913 # 15914 # There doesn't appear to be a way to prevent this compiler from 15915 # explicitly linking system object files so we need to strip them 15916 # from the output so that they don't get included in the library 15917 # dependencies. 15918 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"' 15919 ;; 15920 *) 15921 if test yes = "$GXX"; then 15922 if test no = "$with_gnu_ld"; then 15923 case $host_cpu in 15924 hppa*64*) 15925 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15926 ;; 15927 ia64*) 15928 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15929 ;; 15930 *) 15931 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' 15932 ;; 15933 esac 15934 fi 15935 else 15936 # FIXME: insert proper C++ library support 15937 ld_shlibs_CXX=no 15938 fi 15939 ;; 15940 esac 15941 ;; 15942 15943 interix[3-9]*) 15944 hardcode_direct_CXX=no 15945 hardcode_shlibpath_var_CXX=no 15946 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15947 export_dynamic_flag_spec_CXX='$wl-E' 15948 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 15949 # Instead, shared libraries are loaded at an image base (0x10000000 by 15950 # default) and relocated if they conflict, which is a slow very memory 15951 # consuming and fragmenting process. To avoid this, we pick a random, 15952 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 15953 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 15954 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' 15955 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' 15956 ;; 15957 irix5* | irix6*) 15958 case $cc_basename in 15959 CC*) 15960 # SGI C++ 15961 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' 15962 15963 # Archives containing C++ object files must be created using 15964 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 15965 # necessary to make sure instantiated templates are included 15966 # in the archive. 15967 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 15968 ;; 15969 *) 15970 if test yes = "$GXX"; then 15971 if test no = "$with_gnu_ld"; then 15972 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' 15973 else 15974 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' 15975 fi 15976 fi 15977 link_all_deplibs_CXX=yes 15978 ;; 15979 esac 15980 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15981 hardcode_libdir_separator_CXX=: 15982 inherit_rpath_CXX=yes 15983 ;; 15984 15985 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15986 case $cc_basename in 15987 KCC*) 15988 # Kuck and Associates, Inc. (KAI) C++ Compiler 15989 15990 # KCC will only create a shared library if the output file 15991 # ends with ".so" (or ".sl" for HP-UX), so rename the library 15992 # to its proper name (with version) after linking. 15993 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' 15994 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' 15995 # Commands to make compiler produce verbose output that lists 15996 # what "hidden" libraries, object files and flags are used when 15997 # linking a shared library. 15998 # 15999 # There doesn't appear to be a way to prevent this compiler from 16000 # explicitly linking system object files so we need to strip them 16001 # from the output so that they don't get included in the library 16002 # dependencies. 16003 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"' 16004 16005 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 16006 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 16007 16008 # Archives containing C++ object files must be created using 16009 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 16010 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 16011 ;; 16012 icpc* | ecpc* ) 16013 # Intel C++ 16014 with_gnu_ld=yes 16015 # version 8.0 and above of icpc choke on multiply defined symbols 16016 # if we add $predep_objects and $postdep_objects, however 7.1 and 16017 # earlier do not add the objects themselves. 16018 case `$CC -V 2>&1` in 16019 *"Version 7."*) 16020 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 16021 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' 16022 ;; 16023 *) # Version 8.0 or newer 16024 tmp_idyn= 16025 case $host_cpu in 16026 ia64*) tmp_idyn=' -i_dynamic';; 16027 esac 16028 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 16029 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' 16030 ;; 16031 esac 16032 archive_cmds_need_lc_CXX=no 16033 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 16034 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 16035 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 16036 ;; 16037 pgCC* | pgcpp*) 16038 # Portland Group C++ compiler 16039 case `$CC -V` in 16040 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 16041 prelink_cmds_CXX='tpldir=Template.dir~ 16042 rm -rf $tpldir~ 16043 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 16044 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 16045 old_archive_cmds_CXX='tpldir=Template.dir~ 16046 rm -rf $tpldir~ 16047 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 16048 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 16049 $RANLIB $oldlib' 16050 archive_cmds_CXX='tpldir=Template.dir~ 16051 rm -rf $tpldir~ 16052 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 16053 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 16054 archive_expsym_cmds_CXX='tpldir=Template.dir~ 16055 rm -rf $tpldir~ 16056 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 16057 $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' 16058 ;; 16059 *) # Version 6 and above use weak symbols 16060 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 16061 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' 16062 ;; 16063 esac 16064 16065 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 16066 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 16067 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' 16068 ;; 16069 cxx*) 16070 # Compaq C++ 16071 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 16072 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' 16073 16074 runpath_var=LD_RUN_PATH 16075 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 16076 hardcode_libdir_separator_CXX=: 16077 16078 # Commands to make compiler produce verbose output that lists 16079 # what "hidden" libraries, object files and flags are used when 16080 # linking a shared library. 16081 # 16082 # There doesn't appear to be a way to prevent this compiler from 16083 # explicitly linking system object files so we need to strip them 16084 # from the output so that they don't get included in the library 16085 # dependencies. 16086 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' 16087 ;; 16088 xl* | mpixl* | bgxl*) 16089 # IBM XL 8.0 on PPC, with GNU ld 16090 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 16091 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 16092 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 16093 if test yes = "$supports_anon_versioning"; then 16094 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 16095 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 16096 echo "local: *; };" >> $output_objdir/$libname.ver~ 16097 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 16098 fi 16099 ;; 16100 *) 16101 case `$CC -V 2>&1 | sed 5q` in 16102 *Sun\ C*) 16103 # Sun C++ 5.9 16104 no_undefined_flag_CXX=' -zdefs' 16105 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16106 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' 16107 hardcode_libdir_flag_spec_CXX='-R$libdir' 16108 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' 16109 compiler_needs_object_CXX=yes 16110 16111 # Not sure whether something based on 16112 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 16113 # would be better. 16114 output_verbose_link_cmd='func_echo_all' 16115 16116 # Archives containing C++ object files must be created using 16117 # "CC -xar", where "CC" is the Sun C++ compiler. This is 16118 # necessary to make sure instantiated templates are included 16119 # in the archive. 16120 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 16121 ;; 16122 esac 16123 ;; 16124 esac 16125 ;; 16126 16127 lynxos*) 16128 # FIXME: insert proper C++ library support 16129 ld_shlibs_CXX=no 16130 ;; 16131 16132 m88k*) 16133 # FIXME: insert proper C++ library support 16134 ld_shlibs_CXX=no 16135 ;; 16136 16137 mvs*) 16138 case $cc_basename in 16139 cxx*) 16140 # FIXME: insert proper C++ library support 16141 ld_shlibs_CXX=no 16142 ;; 16143 *) 16144 # FIXME: insert proper C++ library support 16145 ld_shlibs_CXX=no 16146 ;; 16147 esac 16148 ;; 16149 16150 netbsd*) 16151 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16152 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 16153 wlarc= 16154 hardcode_libdir_flag_spec_CXX='-R$libdir' 16155 hardcode_direct_CXX=yes 16156 hardcode_shlibpath_var_CXX=no 16157 fi 16158 # Workaround some broken pre-1.5 toolchains 16159 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 16160 ;; 16161 16162 *nto* | *qnx*) 16163 ld_shlibs_CXX=yes 16164 ;; 16165 16166 openbsd* | bitrig*) 16167 if test -f /usr/libexec/ld.so; then 16168 hardcode_direct_CXX=yes 16169 hardcode_shlibpath_var_CXX=no 16170 hardcode_direct_absolute_CXX=yes 16171 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 16172 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 16173 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 16174 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 16175 export_dynamic_flag_spec_CXX='$wl-E' 16176 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 16177 fi 16178 output_verbose_link_cmd=func_echo_all 16179 else 16180 ld_shlibs_CXX=no 16181 fi 16182 ;; 16183 16184 osf3* | osf4* | osf5*) 16185 case $cc_basename in 16186 KCC*) 16187 # Kuck and Associates, Inc. (KAI) C++ Compiler 16188 16189 # KCC will only create a shared library if the output file 16190 # ends with ".so" (or ".sl" for HP-UX), so rename the library 16191 # to its proper name (with version) after linking. 16192 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' 16193 16194 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 16195 hardcode_libdir_separator_CXX=: 16196 16197 # Archives containing C++ object files must be created using 16198 # the KAI C++ compiler. 16199 case $host in 16200 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 16201 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 16202 esac 16203 ;; 16204 RCC*) 16205 # Rational C++ 2.4.1 16206 # FIXME: insert proper C++ library support 16207 ld_shlibs_CXX=no 16208 ;; 16209 cxx*) 16210 case $host in 16211 osf3*) 16212 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 16213 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' 16214 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 16215 ;; 16216 *) 16217 allow_undefined_flag_CXX=' -expect_unresolved \*' 16218 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' 16219 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 16220 echo "-hidden">> $lib.exp~ 16221 $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~ 16222 $RM $lib.exp' 16223 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 16224 ;; 16225 esac 16226 16227 hardcode_libdir_separator_CXX=: 16228 16229 # Commands to make compiler produce verbose output that lists 16230 # what "hidden" libraries, object files and flags are used when 16231 # linking a shared library. 16232 # 16233 # There doesn't appear to be a way to prevent this compiler from 16234 # explicitly linking system object files so we need to strip them 16235 # from the output so that they don't get included in the library 16236 # dependencies. 16237 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"' 16238 ;; 16239 *) 16240 if test yes,no = "$GXX,$with_gnu_ld"; then 16241 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 16242 case $host in 16243 osf3*) 16244 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' 16245 ;; 16246 *) 16247 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' 16248 ;; 16249 esac 16250 16251 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 16252 hardcode_libdir_separator_CXX=: 16253 16254 # Commands to make compiler produce verbose output that lists 16255 # what "hidden" libraries, object files and flags are used when 16256 # linking a shared library. 16257 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16258 16259 else 16260 # FIXME: insert proper C++ library support 16261 ld_shlibs_CXX=no 16262 fi 16263 ;; 16264 esac 16265 ;; 16266 16267 psos*) 16268 # FIXME: insert proper C++ library support 16269 ld_shlibs_CXX=no 16270 ;; 16271 16272 sunos4*) 16273 case $cc_basename in 16274 CC*) 16275 # Sun C++ 4.x 16276 # FIXME: insert proper C++ library support 16277 ld_shlibs_CXX=no 16278 ;; 16279 lcc*) 16280 # Lucid 16281 # FIXME: insert proper C++ library support 16282 ld_shlibs_CXX=no 16283 ;; 16284 *) 16285 # FIXME: insert proper C++ library support 16286 ld_shlibs_CXX=no 16287 ;; 16288 esac 16289 ;; 16290 16291 solaris*) 16292 case $cc_basename in 16293 CC* | sunCC*) 16294 # Sun C++ 4.2, 5.x and Centerline C++ 16295 archive_cmds_need_lc_CXX=yes 16296 no_undefined_flag_CXX=' -zdefs' 16297 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 16298 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16299 $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' 16300 16301 hardcode_libdir_flag_spec_CXX='-R$libdir' 16302 hardcode_shlibpath_var_CXX=no 16303 case $host_os in 16304 solaris2.[0-5] | solaris2.[0-5].*) ;; 16305 *) 16306 # The compiler driver will combine and reorder linker options, 16307 # but understands '-z linker_flag'. 16308 # Supported since Solaris 2.6 (maybe 2.5.1?) 16309 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 16310 ;; 16311 esac 16312 link_all_deplibs_CXX=yes 16313 16314 output_verbose_link_cmd='func_echo_all' 16315 16316 # Archives containing C++ object files must be created using 16317 # "CC -xar", where "CC" is the Sun C++ compiler. This is 16318 # necessary to make sure instantiated templates are included 16319 # in the archive. 16320 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 16321 ;; 16322 gcx*) 16323 # Green Hills C++ Compiler 16324 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 16325 16326 # The C++ compiler must be used to create the archive. 16327 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 16328 ;; 16329 *) 16330 # GNU C++ compiler with Solaris linker 16331 if test yes,no = "$GXX,$with_gnu_ld"; then 16332 no_undefined_flag_CXX=' $wl-z ${wl}defs' 16333 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 16334 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 16335 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16336 $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' 16337 16338 # Commands to make compiler produce verbose output that lists 16339 # what "hidden" libraries, object files and flags are used when 16340 # linking a shared library. 16341 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16342 else 16343 # g++ 2.7 appears to require '-G' NOT '-shared' on this 16344 # platform. 16345 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 16346 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 16347 $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' 16348 16349 # Commands to make compiler produce verbose output that lists 16350 # what "hidden" libraries, object files and flags are used when 16351 # linking a shared library. 16352 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 16353 fi 16354 16355 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 16356 case $host_os in 16357 solaris2.[0-5] | solaris2.[0-5].*) ;; 16358 *) 16359 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 16360 ;; 16361 esac 16362 fi 16363 ;; 16364 esac 16365 ;; 16366 16367 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 16368 no_undefined_flag_CXX='$wl-z,text' 16369 archive_cmds_need_lc_CXX=no 16370 hardcode_shlibpath_var_CXX=no 16371 runpath_var='LD_RUN_PATH' 16372 16373 case $cc_basename in 16374 CC*) 16375 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16376 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16377 ;; 16378 *) 16379 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16380 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16381 ;; 16382 esac 16383 ;; 16384 16385 sysv5* | sco3.2v5* | sco5v6*) 16386 # Note: We CANNOT use -z defs as we might desire, because we do not 16387 # link with -lc, and that would cause any symbols used from libc to 16388 # always be unresolved, which means just about no library would 16389 # ever link correctly. If we're not using GNU ld we use -z text 16390 # though, which does catch some bad symbols but isn't as heavy-handed 16391 # as -z defs. 16392 no_undefined_flag_CXX='$wl-z,text' 16393 allow_undefined_flag_CXX='$wl-z,nodefs' 16394 archive_cmds_need_lc_CXX=no 16395 hardcode_shlibpath_var_CXX=no 16396 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 16397 hardcode_libdir_separator_CXX=':' 16398 link_all_deplibs_CXX=yes 16399 export_dynamic_flag_spec_CXX='$wl-Bexport' 16400 runpath_var='LD_RUN_PATH' 16401 16402 case $cc_basename in 16403 CC*) 16404 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16405 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16406 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 16407 '"$old_archive_cmds_CXX" 16408 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 16409 '"$reload_cmds_CXX" 16410 ;; 16411 *) 16412 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16413 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16414 ;; 16415 esac 16416 ;; 16417 16418 tandem*) 16419 case $cc_basename in 16420 NCC*) 16421 # NonStop-UX NCC 3.20 16422 # FIXME: insert proper C++ library support 16423 ld_shlibs_CXX=no 16424 ;; 16425 *) 16426 # FIXME: insert proper C++ library support 16427 ld_shlibs_CXX=no 16428 ;; 16429 esac 16430 ;; 16431 16432 vxworks*) 16433 # FIXME: insert proper C++ library support 16434 ld_shlibs_CXX=no 16435 ;; 16436 16437 *) 16438 # FIXME: insert proper C++ library support 16439 ld_shlibs_CXX=no 16440 ;; 16441 esac 16442 16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 16444$as_echo "$ld_shlibs_CXX" >&6; } 16445 test no = "$ld_shlibs_CXX" && can_build_shared=no 16446 16447 GCC_CXX=$GXX 16448 LD_CXX=$LD 16449 16450 ## CAVEAT EMPTOR: 16451 ## There is no encapsulation within the following macros, do not change 16452 ## the running order or otherwise move them around unless you know exactly 16453 ## what you are doing... 16454 # Dependencies to place before and after the object being linked: 16455predep_objects_CXX= 16456postdep_objects_CXX= 16457predeps_CXX= 16458postdeps_CXX= 16459compiler_lib_search_path_CXX= 16460 16461cat > conftest.$ac_ext <<_LT_EOF 16462class Foo 16463{ 16464public: 16465 Foo (void) { a = 0; } 16466private: 16467 int a; 16468}; 16469_LT_EOF 16470 16471 16472_lt_libdeps_save_CFLAGS=$CFLAGS 16473case "$CC $CFLAGS " in #( 16474*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 16475*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 16476*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 16477esac 16478 16479if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 16480 (eval $ac_compile) 2>&5 16481 ac_status=$? 16482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16483 test $ac_status = 0; }; then 16484 # Parse the compiler output and extract the necessary 16485 # objects, libraries and library flags. 16486 16487 # Sentinel used to keep track of whether or not we are before 16488 # the conftest object file. 16489 pre_test_object_deps_done=no 16490 16491 for p in `eval "$output_verbose_link_cmd"`; do 16492 case $prev$p in 16493 16494 -L* | -R* | -l*) 16495 # Some compilers place space between "-{L,R}" and the path. 16496 # Remove the space. 16497 if test x-L = "$p" || 16498 test x-R = "$p"; then 16499 prev=$p 16500 continue 16501 fi 16502 16503 # Expand the sysroot to ease extracting the directories later. 16504 if test -z "$prev"; then 16505 case $p in 16506 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 16507 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 16508 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 16509 esac 16510 fi 16511 case $p in 16512 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 16513 esac 16514 if test no = "$pre_test_object_deps_done"; then 16515 case $prev in 16516 -L | -R) 16517 # Internal compiler library paths should come after those 16518 # provided the user. The postdeps already come after the 16519 # user supplied libs so there is no need to process them. 16520 if test -z "$compiler_lib_search_path_CXX"; then 16521 compiler_lib_search_path_CXX=$prev$p 16522 else 16523 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 16524 fi 16525 ;; 16526 # The "-l" case would never come before the object being 16527 # linked, so don't bother handling this case. 16528 esac 16529 else 16530 if test -z "$postdeps_CXX"; then 16531 postdeps_CXX=$prev$p 16532 else 16533 postdeps_CXX="${postdeps_CXX} $prev$p" 16534 fi 16535 fi 16536 prev= 16537 ;; 16538 16539 *.lto.$objext) ;; # Ignore GCC LTO objects 16540 *.$objext) 16541 # This assumes that the test object file only shows up 16542 # once in the compiler output. 16543 if test "$p" = "conftest.$objext"; then 16544 pre_test_object_deps_done=yes 16545 continue 16546 fi 16547 16548 if test no = "$pre_test_object_deps_done"; then 16549 if test -z "$predep_objects_CXX"; then 16550 predep_objects_CXX=$p 16551 else 16552 predep_objects_CXX="$predep_objects_CXX $p" 16553 fi 16554 else 16555 if test -z "$postdep_objects_CXX"; then 16556 postdep_objects_CXX=$p 16557 else 16558 postdep_objects_CXX="$postdep_objects_CXX $p" 16559 fi 16560 fi 16561 ;; 16562 16563 *) ;; # Ignore the rest. 16564 16565 esac 16566 done 16567 16568 # Clean up. 16569 rm -f a.out a.exe 16570else 16571 echo "libtool.m4: error: problem compiling CXX test program" 16572fi 16573 16574$RM -f confest.$objext 16575CFLAGS=$_lt_libdeps_save_CFLAGS 16576 16577# PORTME: override above test on systems where it is broken 16578case $host_os in 16579interix[3-9]*) 16580 # Interix 3.5 installs completely hosed .la files for C++, so rather than 16581 # hack all around it, let's just trust "g++" to DTRT. 16582 predep_objects_CXX= 16583 postdep_objects_CXX= 16584 postdeps_CXX= 16585 ;; 16586esac 16587 16588 16589case " $postdeps_CXX " in 16590*" -lc "*) archive_cmds_need_lc_CXX=no ;; 16591esac 16592 compiler_lib_search_dirs_CXX= 16593if test -n "${compiler_lib_search_path_CXX}"; then 16594 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 16595fi 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 lt_prog_compiler_wl_CXX= 16628lt_prog_compiler_pic_CXX= 16629lt_prog_compiler_static_CXX= 16630 16631 16632 # C++ specific cases for pic, static, wl, etc. 16633 if test yes = "$GXX"; then 16634 lt_prog_compiler_wl_CXX='-Wl,' 16635 lt_prog_compiler_static_CXX='-static' 16636 16637 case $host_os in 16638 aix*) 16639 # All AIX code is PIC. 16640 if test ia64 = "$host_cpu"; then 16641 # AIX 5 now supports IA64 processor 16642 lt_prog_compiler_static_CXX='-Bstatic' 16643 fi 16644 lt_prog_compiler_pic_CXX='-fPIC' 16645 ;; 16646 16647 amigaos*) 16648 case $host_cpu in 16649 powerpc) 16650 # see comment about AmigaOS4 .so support 16651 lt_prog_compiler_pic_CXX='-fPIC' 16652 ;; 16653 m68k) 16654 # FIXME: we need at least 68020 code to build shared libraries, but 16655 # adding the '-m68020' flag to GCC prevents building anything better, 16656 # like '-m68040'. 16657 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 16658 ;; 16659 esac 16660 ;; 16661 16662 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 16663 # PIC is the default for these OSes. 16664 ;; 16665 mingw* | cygwin* | os2* | pw32* | cegcc*) 16666 # This hack is so that the source file can tell whether it is being 16667 # built for inclusion in a dll (and should export symbols for example). 16668 # Although the cygwin gcc ignores -fPIC, still need this for old-style 16669 # (--disable-auto-import) libraries 16670 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 16671 case $host_os in 16672 os2*) 16673 lt_prog_compiler_static_CXX='$wl-static' 16674 ;; 16675 esac 16676 ;; 16677 darwin* | rhapsody*) 16678 # PIC is the default on this platform 16679 # Common symbols not allowed in MH_DYLIB files 16680 lt_prog_compiler_pic_CXX='-fno-common' 16681 ;; 16682 *djgpp*) 16683 # DJGPP does not support shared libraries at all 16684 lt_prog_compiler_pic_CXX= 16685 ;; 16686 haiku*) 16687 # PIC is the default for Haiku. 16688 # The "-static" flag exists, but is broken. 16689 lt_prog_compiler_static_CXX= 16690 ;; 16691 interix[3-9]*) 16692 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 16693 # Instead, we relocate shared libraries at runtime. 16694 ;; 16695 sysv4*MP*) 16696 if test -d /usr/nec; then 16697 lt_prog_compiler_pic_CXX=-Kconform_pic 16698 fi 16699 ;; 16700 hpux*) 16701 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 16702 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 16703 # sets the default TLS model and affects inlining. 16704 case $host_cpu in 16705 hppa*64*) 16706 ;; 16707 *) 16708 lt_prog_compiler_pic_CXX='-fPIC' 16709 ;; 16710 esac 16711 ;; 16712 *qnx* | *nto*) 16713 # QNX uses GNU C++, but need to define -shared option too, otherwise 16714 # it will coredump. 16715 lt_prog_compiler_pic_CXX='-fPIC -shared' 16716 ;; 16717 *) 16718 lt_prog_compiler_pic_CXX='-fPIC' 16719 ;; 16720 esac 16721 else 16722 case $host_os in 16723 aix[4-9]*) 16724 # All AIX code is PIC. 16725 if test ia64 = "$host_cpu"; then 16726 # AIX 5 now supports IA64 processor 16727 lt_prog_compiler_static_CXX='-Bstatic' 16728 else 16729 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 16730 fi 16731 ;; 16732 chorus*) 16733 case $cc_basename in 16734 cxch68*) 16735 # Green Hills C++ Compiler 16736 # _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" 16737 ;; 16738 esac 16739 ;; 16740 mingw* | cygwin* | os2* | pw32* | cegcc*) 16741 # This hack is so that the source file can tell whether it is being 16742 # built for inclusion in a dll (and should export symbols for example). 16743 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 16744 ;; 16745 dgux*) 16746 case $cc_basename in 16747 ec++*) 16748 lt_prog_compiler_pic_CXX='-KPIC' 16749 ;; 16750 ghcx*) 16751 # Green Hills C++ Compiler 16752 lt_prog_compiler_pic_CXX='-pic' 16753 ;; 16754 *) 16755 ;; 16756 esac 16757 ;; 16758 freebsd* | dragonfly*) 16759 # FreeBSD uses GNU C++ 16760 ;; 16761 hpux9* | hpux10* | hpux11*) 16762 case $cc_basename in 16763 CC*) 16764 lt_prog_compiler_wl_CXX='-Wl,' 16765 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 16766 if test ia64 != "$host_cpu"; then 16767 lt_prog_compiler_pic_CXX='+Z' 16768 fi 16769 ;; 16770 aCC*) 16771 lt_prog_compiler_wl_CXX='-Wl,' 16772 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 16773 case $host_cpu in 16774 hppa*64*|ia64*) 16775 # +Z the default 16776 ;; 16777 *) 16778 lt_prog_compiler_pic_CXX='+Z' 16779 ;; 16780 esac 16781 ;; 16782 *) 16783 ;; 16784 esac 16785 ;; 16786 interix*) 16787 # This is c89, which is MS Visual C++ (no shared libs) 16788 # Anyone wants to do a port? 16789 ;; 16790 irix5* | irix6* | nonstopux*) 16791 case $cc_basename in 16792 CC*) 16793 lt_prog_compiler_wl_CXX='-Wl,' 16794 lt_prog_compiler_static_CXX='-non_shared' 16795 # CC pic flag -KPIC is the default. 16796 ;; 16797 *) 16798 ;; 16799 esac 16800 ;; 16801 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16802 case $cc_basename in 16803 KCC*) 16804 # KAI C++ Compiler 16805 lt_prog_compiler_wl_CXX='--backend -Wl,' 16806 lt_prog_compiler_pic_CXX='-fPIC' 16807 ;; 16808 ecpc* ) 16809 # old Intel C++ for x86_64, which still supported -KPIC. 16810 lt_prog_compiler_wl_CXX='-Wl,' 16811 lt_prog_compiler_pic_CXX='-KPIC' 16812 lt_prog_compiler_static_CXX='-static' 16813 ;; 16814 icpc* ) 16815 # Intel C++, used to be incompatible with GCC. 16816 # ICC 10 doesn't accept -KPIC any more. 16817 lt_prog_compiler_wl_CXX='-Wl,' 16818 lt_prog_compiler_pic_CXX='-fPIC' 16819 lt_prog_compiler_static_CXX='-static' 16820 ;; 16821 pgCC* | pgcpp*) 16822 # Portland Group C++ compiler 16823 lt_prog_compiler_wl_CXX='-Wl,' 16824 lt_prog_compiler_pic_CXX='-fpic' 16825 lt_prog_compiler_static_CXX='-Bstatic' 16826 ;; 16827 cxx*) 16828 # Compaq C++ 16829 # Make sure the PIC flag is empty. It appears that all Alpha 16830 # Linux and Compaq Tru64 Unix objects are PIC. 16831 lt_prog_compiler_pic_CXX= 16832 lt_prog_compiler_static_CXX='-non_shared' 16833 ;; 16834 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 16835 # IBM XL 8.0, 9.0 on PPC and BlueGene 16836 lt_prog_compiler_wl_CXX='-Wl,' 16837 lt_prog_compiler_pic_CXX='-qpic' 16838 lt_prog_compiler_static_CXX='-qstaticlink' 16839 ;; 16840 *) 16841 case `$CC -V 2>&1 | sed 5q` in 16842 *Sun\ C*) 16843 # Sun C++ 5.9 16844 lt_prog_compiler_pic_CXX='-KPIC' 16845 lt_prog_compiler_static_CXX='-Bstatic' 16846 lt_prog_compiler_wl_CXX='-Qoption ld ' 16847 ;; 16848 esac 16849 ;; 16850 esac 16851 ;; 16852 lynxos*) 16853 ;; 16854 m88k*) 16855 ;; 16856 mvs*) 16857 case $cc_basename in 16858 cxx*) 16859 lt_prog_compiler_pic_CXX='-W c,exportall' 16860 ;; 16861 *) 16862 ;; 16863 esac 16864 ;; 16865 netbsd*) 16866 ;; 16867 *qnx* | *nto*) 16868 # QNX uses GNU C++, but need to define -shared option too, otherwise 16869 # it will coredump. 16870 lt_prog_compiler_pic_CXX='-fPIC -shared' 16871 ;; 16872 osf3* | osf4* | osf5*) 16873 case $cc_basename in 16874 KCC*) 16875 lt_prog_compiler_wl_CXX='--backend -Wl,' 16876 ;; 16877 RCC*) 16878 # Rational C++ 2.4.1 16879 lt_prog_compiler_pic_CXX='-pic' 16880 ;; 16881 cxx*) 16882 # Digital/Compaq C++ 16883 lt_prog_compiler_wl_CXX='-Wl,' 16884 # Make sure the PIC flag is empty. It appears that all Alpha 16885 # Linux and Compaq Tru64 Unix objects are PIC. 16886 lt_prog_compiler_pic_CXX= 16887 lt_prog_compiler_static_CXX='-non_shared' 16888 ;; 16889 *) 16890 ;; 16891 esac 16892 ;; 16893 psos*) 16894 ;; 16895 solaris*) 16896 case $cc_basename in 16897 CC* | sunCC*) 16898 # Sun C++ 4.2, 5.x and Centerline C++ 16899 lt_prog_compiler_pic_CXX='-KPIC' 16900 lt_prog_compiler_static_CXX='-Bstatic' 16901 lt_prog_compiler_wl_CXX='-Qoption ld ' 16902 ;; 16903 gcx*) 16904 # Green Hills C++ Compiler 16905 lt_prog_compiler_pic_CXX='-PIC' 16906 ;; 16907 *) 16908 ;; 16909 esac 16910 ;; 16911 sunos4*) 16912 case $cc_basename in 16913 CC*) 16914 # Sun C++ 4.x 16915 lt_prog_compiler_pic_CXX='-pic' 16916 lt_prog_compiler_static_CXX='-Bstatic' 16917 ;; 16918 lcc*) 16919 # Lucid 16920 lt_prog_compiler_pic_CXX='-pic' 16921 ;; 16922 *) 16923 ;; 16924 esac 16925 ;; 16926 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 16927 case $cc_basename in 16928 CC*) 16929 lt_prog_compiler_wl_CXX='-Wl,' 16930 lt_prog_compiler_pic_CXX='-KPIC' 16931 lt_prog_compiler_static_CXX='-Bstatic' 16932 ;; 16933 esac 16934 ;; 16935 tandem*) 16936 case $cc_basename in 16937 NCC*) 16938 # NonStop-UX NCC 3.20 16939 lt_prog_compiler_pic_CXX='-KPIC' 16940 ;; 16941 *) 16942 ;; 16943 esac 16944 ;; 16945 vxworks*) 16946 ;; 16947 *) 16948 lt_prog_compiler_can_build_shared_CXX=no 16949 ;; 16950 esac 16951 fi 16952 16953case $host_os in 16954 # For platforms that do not support PIC, -DPIC is meaningless: 16955 *djgpp*) 16956 lt_prog_compiler_pic_CXX= 16957 ;; 16958 *) 16959 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 16960 ;; 16961esac 16962 16963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 16964$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 16965if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 16966 $as_echo_n "(cached) " >&6 16967else 16968 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 16969fi 16970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 16971$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 16972lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 16973 16974# 16975# Check to make sure the PIC flag actually works. 16976# 16977if test -n "$lt_prog_compiler_pic_CXX"; then 16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 16979$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 16980if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 16981 $as_echo_n "(cached) " >&6 16982else 16983 lt_cv_prog_compiler_pic_works_CXX=no 16984 ac_outfile=conftest.$ac_objext 16985 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16986 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 16987 # Insert the option either (1) after the last *FLAGS variable, or 16988 # (2) before a word containing "conftest.", or (3) at the end. 16989 # Note that $ac_compile itself does not contain backslashes and begins 16990 # with a dollar sign (not a hyphen), so the echo should work correctly. 16991 # The option is referenced via a variable to avoid confusing sed. 16992 lt_compile=`echo "$ac_compile" | $SED \ 16993 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16994 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16995 -e 's:$: $lt_compiler_flag:'` 16996 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16997 (eval "$lt_compile" 2>conftest.err) 16998 ac_status=$? 16999 cat conftest.err >&5 17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17001 if (exit $ac_status) && test -s "$ac_outfile"; then 17002 # The compiler can only warn and ignore the option if not recognized 17003 # So say no if there are warnings other than the usual output. 17004 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 17005 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17006 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 17007 lt_cv_prog_compiler_pic_works_CXX=yes 17008 fi 17009 fi 17010 $RM conftest* 17011 17012fi 17013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 17014$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 17015 17016if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 17017 case $lt_prog_compiler_pic_CXX in 17018 "" | " "*) ;; 17019 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 17020 esac 17021else 17022 lt_prog_compiler_pic_CXX= 17023 lt_prog_compiler_can_build_shared_CXX=no 17024fi 17025 17026fi 17027 17028 17029 17030 17031 17032# 17033# Check to make sure the static flag actually works. 17034# 17035wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 17036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 17037$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 17038if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 17039 $as_echo_n "(cached) " >&6 17040else 17041 lt_cv_prog_compiler_static_works_CXX=no 17042 save_LDFLAGS=$LDFLAGS 17043 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 17044 echo "$lt_simple_link_test_code" > conftest.$ac_ext 17045 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 17046 # The linker can only warn and ignore the option if not recognized 17047 # So say no if there are warnings 17048 if test -s conftest.err; then 17049 # Append any errors to the config.log. 17050 cat conftest.err 1>&5 17051 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 17052 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17053 if diff conftest.exp conftest.er2 >/dev/null; then 17054 lt_cv_prog_compiler_static_works_CXX=yes 17055 fi 17056 else 17057 lt_cv_prog_compiler_static_works_CXX=yes 17058 fi 17059 fi 17060 $RM -r conftest* 17061 LDFLAGS=$save_LDFLAGS 17062 17063fi 17064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 17065$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 17066 17067if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 17068 : 17069else 17070 lt_prog_compiler_static_CXX= 17071fi 17072 17073 17074 17075 17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 17077$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 17078if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 17079 $as_echo_n "(cached) " >&6 17080else 17081 lt_cv_prog_compiler_c_o_CXX=no 17082 $RM -r conftest 2>/dev/null 17083 mkdir conftest 17084 cd conftest 17085 mkdir out 17086 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17087 17088 lt_compiler_flag="-o out/conftest2.$ac_objext" 17089 # Insert the option either (1) after the last *FLAGS variable, or 17090 # (2) before a word containing "conftest.", or (3) at the end. 17091 # Note that $ac_compile itself does not contain backslashes and begins 17092 # with a dollar sign (not a hyphen), so the echo should work correctly. 17093 lt_compile=`echo "$ac_compile" | $SED \ 17094 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17096 -e 's:$: $lt_compiler_flag:'` 17097 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 17098 (eval "$lt_compile" 2>out/conftest.err) 17099 ac_status=$? 17100 cat out/conftest.err >&5 17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17102 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17103 then 17104 # The compiler can only warn and ignore the option if not recognized 17105 # So say no if there are warnings 17106 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 17107 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 17108 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 17109 lt_cv_prog_compiler_c_o_CXX=yes 17110 fi 17111 fi 17112 chmod u+w . 2>&5 17113 $RM conftest* 17114 # SGI C++ compiler will create directory out/ii_files/ for 17115 # template instantiation 17116 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 17117 $RM out/* && rmdir out 17118 cd .. 17119 $RM -r conftest 17120 $RM conftest* 17121 17122fi 17123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 17124$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 17125 17126 17127 17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 17129$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 17130if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 17131 $as_echo_n "(cached) " >&6 17132else 17133 lt_cv_prog_compiler_c_o_CXX=no 17134 $RM -r conftest 2>/dev/null 17135 mkdir conftest 17136 cd conftest 17137 mkdir out 17138 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17139 17140 lt_compiler_flag="-o out/conftest2.$ac_objext" 17141 # Insert the option either (1) after the last *FLAGS variable, or 17142 # (2) before a word containing "conftest.", or (3) at the end. 17143 # Note that $ac_compile itself does not contain backslashes and begins 17144 # with a dollar sign (not a hyphen), so the echo should work correctly. 17145 lt_compile=`echo "$ac_compile" | $SED \ 17146 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17147 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17148 -e 's:$: $lt_compiler_flag:'` 17149 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 17150 (eval "$lt_compile" 2>out/conftest.err) 17151 ac_status=$? 17152 cat out/conftest.err >&5 17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17154 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17155 then 17156 # The compiler can only warn and ignore the option if not recognized 17157 # So say no if there are warnings 17158 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 17159 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 17160 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 17161 lt_cv_prog_compiler_c_o_CXX=yes 17162 fi 17163 fi 17164 chmod u+w . 2>&5 17165 $RM conftest* 17166 # SGI C++ compiler will create directory out/ii_files/ for 17167 # template instantiation 17168 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 17169 $RM out/* && rmdir out 17170 cd .. 17171 $RM -r conftest 17172 $RM conftest* 17173 17174fi 17175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 17176$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 17177 17178 17179 17180 17181hard_links=nottested 17182if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 17183 # do not overwrite the value of need_locks provided by the user 17184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 17185$as_echo_n "checking if we can lock with hard links... " >&6; } 17186 hard_links=yes 17187 $RM conftest* 17188 ln conftest.a conftest.b 2>/dev/null && hard_links=no 17189 touch conftest.a 17190 ln conftest.a conftest.b 2>&5 || hard_links=no 17191 ln conftest.a conftest.b 2>/dev/null && hard_links=no 17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 17193$as_echo "$hard_links" >&6; } 17194 if test no = "$hard_links"; then 17195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 17196$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 17197 need_locks=warn 17198 fi 17199else 17200 need_locks=no 17201fi 17202 17203 17204 17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 17206$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 17207 17208 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 17209 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 17210 case $host_os in 17211 aix[4-9]*) 17212 # If we're using GNU nm, then we don't want the "-C" option. 17213 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 17214 # Without the "-l" option, or with the "-B" option, AIX nm treats 17215 # weak defined symbols like other global defined symbols, whereas 17216 # GNU nm marks them as "W". 17217 # While the 'weak' keyword is ignored in the Export File, we need 17218 # it in the Import File for the 'aix-soname' feature, so we have 17219 # to replace the "-B" option with "-P" for AIX nm. 17220 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 17221 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' 17222 else 17223 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' 17224 fi 17225 ;; 17226 pw32*) 17227 export_symbols_cmds_CXX=$ltdll_cmds 17228 ;; 17229 cygwin* | mingw* | cegcc*) 17230 case $cc_basename in 17231 cl*) 17232 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 17233 ;; 17234 *) 17235 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' 17236 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 17237 ;; 17238 esac 17239 ;; 17240 *) 17241 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 17242 ;; 17243 esac 17244 17245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 17246$as_echo "$ld_shlibs_CXX" >&6; } 17247test no = "$ld_shlibs_CXX" && can_build_shared=no 17248 17249with_gnu_ld_CXX=$with_gnu_ld 17250 17251 17252 17253 17254 17255 17256# 17257# Do we need to explicitly link libc? 17258# 17259case "x$archive_cmds_need_lc_CXX" in 17260x|xyes) 17261 # Assume -lc should be added 17262 archive_cmds_need_lc_CXX=yes 17263 17264 if test yes,yes = "$GCC,$enable_shared"; then 17265 case $archive_cmds_CXX in 17266 *'~'*) 17267 # FIXME: we may have to deal with multi-command sequences. 17268 ;; 17269 '$CC '*) 17270 # Test whether the compiler implicitly links with -lc since on some 17271 # systems, -lgcc has to come before -lc. If gcc already passes -lc 17272 # to ld, don't add -lc before -lgcc. 17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 17274$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 17275if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 17276 $as_echo_n "(cached) " >&6 17277else 17278 $RM conftest* 17279 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17280 17281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 17282 (eval $ac_compile) 2>&5 17283 ac_status=$? 17284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17285 test $ac_status = 0; } 2>conftest.err; then 17286 soname=conftest 17287 lib=conftest 17288 libobjs=conftest.$ac_objext 17289 deplibs= 17290 wl=$lt_prog_compiler_wl_CXX 17291 pic_flag=$lt_prog_compiler_pic_CXX 17292 compiler_flags=-v 17293 linker_flags=-v 17294 verstring= 17295 output_objdir=. 17296 libname=conftest 17297 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 17298 allow_undefined_flag_CXX= 17299 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 17300 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 17301 ac_status=$? 17302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17303 test $ac_status = 0; } 17304 then 17305 lt_cv_archive_cmds_need_lc_CXX=no 17306 else 17307 lt_cv_archive_cmds_need_lc_CXX=yes 17308 fi 17309 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 17310 else 17311 cat conftest.err 1>&5 17312 fi 17313 $RM conftest* 17314 17315fi 17316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 17317$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 17318 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 17319 ;; 17320 esac 17321 fi 17322 ;; 17323esac 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 17387$as_echo_n "checking dynamic linker characteristics... " >&6; } 17388 17389library_names_spec= 17390libname_spec='lib$name' 17391soname_spec= 17392shrext_cmds=.so 17393postinstall_cmds= 17394postuninstall_cmds= 17395finish_cmds= 17396finish_eval= 17397shlibpath_var= 17398shlibpath_overrides_runpath=unknown 17399version_type=none 17400dynamic_linker="$host_os ld.so" 17401sys_lib_dlsearch_path_spec="/lib /usr/lib" 17402need_lib_prefix=unknown 17403hardcode_into_libs=no 17404 17405# when you set need_version to no, make sure it does not cause -set_version 17406# flags to be left without arguments 17407need_version=unknown 17408 17409 17410 17411case $host_os in 17412aix3*) 17413 version_type=linux # correct to gnu/linux during the next big refactor 17414 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 17415 shlibpath_var=LIBPATH 17416 17417 # AIX 3 has no versioning support, so we append a major version to the name. 17418 soname_spec='$libname$release$shared_ext$major' 17419 ;; 17420 17421aix[4-9]*) 17422 version_type=linux # correct to gnu/linux during the next big refactor 17423 need_lib_prefix=no 17424 need_version=no 17425 hardcode_into_libs=yes 17426 if test ia64 = "$host_cpu"; then 17427 # AIX 5 supports IA64 17428 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 17429 shlibpath_var=LD_LIBRARY_PATH 17430 else 17431 # With GCC up to 2.95.x, collect2 would create an import file 17432 # for dependence libraries. The import file would start with 17433 # the line '#! .'. This would cause the generated library to 17434 # depend on '.', always an invalid library. This was fixed in 17435 # development snapshots of GCC prior to 3.0. 17436 case $host_os in 17437 aix4 | aix4.[01] | aix4.[01].*) 17438 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 17439 echo ' yes ' 17440 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 17441 : 17442 else 17443 can_build_shared=no 17444 fi 17445 ;; 17446 esac 17447 # Using Import Files as archive members, it is possible to support 17448 # filename-based versioning of shared library archives on AIX. While 17449 # this would work for both with and without runtime linking, it will 17450 # prevent static linking of such archives. So we do filename-based 17451 # shared library versioning with .so extension only, which is used 17452 # when both runtime linking and shared linking is enabled. 17453 # Unfortunately, runtime linking may impact performance, so we do 17454 # not want this to be the default eventually. Also, we use the 17455 # versioned .so libs for executables only if there is the -brtl 17456 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 17457 # To allow for filename-based versioning support, we need to create 17458 # libNAME.so.V as an archive file, containing: 17459 # *) an Import File, referring to the versioned filename of the 17460 # archive as well as the shared archive member, telling the 17461 # bitwidth (32 or 64) of that shared object, and providing the 17462 # list of exported symbols of that shared object, eventually 17463 # decorated with the 'weak' keyword 17464 # *) the shared object with the F_LOADONLY flag set, to really avoid 17465 # it being seen by the linker. 17466 # At run time we better use the real file rather than another symlink, 17467 # but for link time we create the symlink libNAME.so -> libNAME.so.V 17468 17469 case $with_aix_soname,$aix_use_runtimelinking in 17470 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 17471 # soname into executable. Probably we can add versioning support to 17472 # collect2, so additional links can be useful in future. 17473 aix,yes) # traditional libtool 17474 dynamic_linker='AIX unversionable lib.so' 17475 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 17476 # instead of lib<name>.a to let people know that these are not 17477 # typical AIX shared libraries. 17478 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17479 ;; 17480 aix,no) # traditional AIX only 17481 dynamic_linker='AIX lib.a(lib.so.V)' 17482 # We preserve .a as extension for shared libraries through AIX4.2 17483 # and later when we are not doing run time linking. 17484 library_names_spec='$libname$release.a $libname.a' 17485 soname_spec='$libname$release$shared_ext$major' 17486 ;; 17487 svr4,*) # full svr4 only 17488 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 17489 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 17490 # We do not specify a path in Import Files, so LIBPATH fires. 17491 shlibpath_overrides_runpath=yes 17492 ;; 17493 *,yes) # both, prefer svr4 17494 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 17495 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 17496 # unpreferred sharedlib libNAME.a needs extra handling 17497 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"' 17498 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"' 17499 # We do not specify a path in Import Files, so LIBPATH fires. 17500 shlibpath_overrides_runpath=yes 17501 ;; 17502 *,no) # both, prefer aix 17503 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 17504 library_names_spec='$libname$release.a $libname.a' 17505 soname_spec='$libname$release$shared_ext$major' 17506 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 17507 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)' 17508 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"' 17509 ;; 17510 esac 17511 shlibpath_var=LIBPATH 17512 fi 17513 ;; 17514 17515amigaos*) 17516 case $host_cpu in 17517 powerpc) 17518 # Since July 2007 AmigaOS4 officially supports .so libraries. 17519 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 17520 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17521 ;; 17522 m68k) 17523 library_names_spec='$libname.ixlibrary $libname.a' 17524 # Create ${libname}_ixlibrary.a entries in /sys/libs. 17525 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' 17526 ;; 17527 esac 17528 ;; 17529 17530beos*) 17531 library_names_spec='$libname$shared_ext' 17532 dynamic_linker="$host_os ld.so" 17533 shlibpath_var=LIBRARY_PATH 17534 ;; 17535 17536bsdi[45]*) 17537 version_type=linux # correct to gnu/linux during the next big refactor 17538 need_version=no 17539 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17540 soname_spec='$libname$release$shared_ext$major' 17541 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 17542 shlibpath_var=LD_LIBRARY_PATH 17543 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 17544 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 17545 # the default ld.so.conf also contains /usr/contrib/lib and 17546 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 17547 # libtool to hard-code these into programs 17548 ;; 17549 17550cygwin* | mingw* | pw32* | cegcc*) 17551 version_type=windows 17552 shrext_cmds=.dll 17553 need_version=no 17554 need_lib_prefix=no 17555 17556 case $GCC,$cc_basename in 17557 yes,*) 17558 # gcc 17559 library_names_spec='$libname.dll.a' 17560 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17561 postinstall_cmds='base_file=`basename \$file`~ 17562 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 17563 dldir=$destdir/`dirname \$dlpath`~ 17564 test -d \$dldir || mkdir -p \$dldir~ 17565 $install_prog $dir/$dlname \$dldir/$dlname~ 17566 chmod a+x \$dldir/$dlname~ 17567 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 17568 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 17569 fi' 17570 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 17571 dlpath=$dir/\$dldll~ 17572 $RM \$dlpath' 17573 shlibpath_overrides_runpath=yes 17574 17575 case $host_os in 17576 cygwin*) 17577 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 17578 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17579 17580 ;; 17581 mingw* | cegcc*) 17582 # MinGW DLLs use traditional 'lib' prefix 17583 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17584 ;; 17585 pw32*) 17586 # pw32 DLLs use 'pw' prefix rather than 'lib' 17587 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17588 ;; 17589 esac 17590 dynamic_linker='Win32 ld.exe' 17591 ;; 17592 17593 *,cl*) 17594 # Native MSVC 17595 libname_spec='$name' 17596 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 17597 library_names_spec='$libname.dll.lib' 17598 17599 case $build_os in 17600 mingw*) 17601 sys_lib_search_path_spec= 17602 lt_save_ifs=$IFS 17603 IFS=';' 17604 for lt_path in $LIB 17605 do 17606 IFS=$lt_save_ifs 17607 # Let DOS variable expansion print the short 8.3 style file name. 17608 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 17609 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 17610 done 17611 IFS=$lt_save_ifs 17612 # Convert to MSYS style. 17613 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 17614 ;; 17615 cygwin*) 17616 # Convert to unix form, then to dos form, then back to unix form 17617 # but this time dos style (no spaces!) so that the unix form looks 17618 # like /cygdrive/c/PROGRA~1:/cygdr... 17619 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 17620 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 17621 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 17622 ;; 17623 *) 17624 sys_lib_search_path_spec=$LIB 17625 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 17626 # It is most probably a Windows format PATH. 17627 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 17628 else 17629 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 17630 fi 17631 # FIXME: find the short name or the path components, as spaces are 17632 # common. (e.g. "Program Files" -> "PROGRA~1") 17633 ;; 17634 esac 17635 17636 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17637 postinstall_cmds='base_file=`basename \$file`~ 17638 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 17639 dldir=$destdir/`dirname \$dlpath`~ 17640 test -d \$dldir || mkdir -p \$dldir~ 17641 $install_prog $dir/$dlname \$dldir/$dlname' 17642 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 17643 dlpath=$dir/\$dldll~ 17644 $RM \$dlpath' 17645 shlibpath_overrides_runpath=yes 17646 dynamic_linker='Win32 link.exe' 17647 ;; 17648 17649 *) 17650 # Assume MSVC wrapper 17651 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 17652 dynamic_linker='Win32 ld.exe' 17653 ;; 17654 esac 17655 # FIXME: first we should search . and the directory the executable is in 17656 shlibpath_var=PATH 17657 ;; 17658 17659darwin* | rhapsody*) 17660 dynamic_linker="$host_os dyld" 17661 version_type=darwin 17662 need_lib_prefix=no 17663 need_version=no 17664 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 17665 soname_spec='$libname$release$major$shared_ext' 17666 shlibpath_overrides_runpath=yes 17667 shlibpath_var=DYLD_LIBRARY_PATH 17668 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 17669 17670 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 17671 ;; 17672 17673dgux*) 17674 version_type=linux # correct to gnu/linux during the next big refactor 17675 need_lib_prefix=no 17676 need_version=no 17677 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17678 soname_spec='$libname$release$shared_ext$major' 17679 shlibpath_var=LD_LIBRARY_PATH 17680 ;; 17681 17682freebsd* | dragonfly*) 17683 # DragonFly does not have aout. When/if they implement a new 17684 # versioning mechanism, adjust this. 17685 if test -x /usr/bin/objformat; then 17686 objformat=`/usr/bin/objformat` 17687 else 17688 case $host_os in 17689 freebsd[23].*) objformat=aout ;; 17690 *) objformat=elf ;; 17691 esac 17692 fi 17693 version_type=freebsd-$objformat 17694 case $version_type in 17695 freebsd-elf*) 17696 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17697 soname_spec='$libname$release$shared_ext$major' 17698 need_version=no 17699 need_lib_prefix=no 17700 ;; 17701 freebsd-*) 17702 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17703 need_version=yes 17704 ;; 17705 esac 17706 shlibpath_var=LD_LIBRARY_PATH 17707 case $host_os in 17708 freebsd2.*) 17709 shlibpath_overrides_runpath=yes 17710 ;; 17711 freebsd3.[01]* | freebsdelf3.[01]*) 17712 shlibpath_overrides_runpath=yes 17713 hardcode_into_libs=yes 17714 ;; 17715 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 17716 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 17717 shlibpath_overrides_runpath=no 17718 hardcode_into_libs=yes 17719 ;; 17720 *) # from 4.6 on, and DragonFly 17721 shlibpath_overrides_runpath=yes 17722 hardcode_into_libs=yes 17723 ;; 17724 esac 17725 ;; 17726 17727haiku*) 17728 version_type=linux # correct to gnu/linux during the next big refactor 17729 need_lib_prefix=no 17730 need_version=no 17731 dynamic_linker="$host_os runtime_loader" 17732 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17733 soname_spec='$libname$release$shared_ext$major' 17734 shlibpath_var=LIBRARY_PATH 17735 shlibpath_overrides_runpath=no 17736 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 17737 hardcode_into_libs=yes 17738 ;; 17739 17740hpux9* | hpux10* | hpux11*) 17741 # Give a soname corresponding to the major version so that dld.sl refuses to 17742 # link against other versions. 17743 version_type=sunos 17744 need_lib_prefix=no 17745 need_version=no 17746 case $host_cpu in 17747 ia64*) 17748 shrext_cmds='.so' 17749 hardcode_into_libs=yes 17750 dynamic_linker="$host_os dld.so" 17751 shlibpath_var=LD_LIBRARY_PATH 17752 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 17753 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17754 soname_spec='$libname$release$shared_ext$major' 17755 if test 32 = "$HPUX_IA64_MODE"; then 17756 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 17757 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 17758 else 17759 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 17760 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 17761 fi 17762 ;; 17763 hppa*64*) 17764 shrext_cmds='.sl' 17765 hardcode_into_libs=yes 17766 dynamic_linker="$host_os dld.sl" 17767 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 17768 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 17769 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17770 soname_spec='$libname$release$shared_ext$major' 17771 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 17772 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 17773 ;; 17774 *) 17775 shrext_cmds='.sl' 17776 dynamic_linker="$host_os dld.sl" 17777 shlibpath_var=SHLIB_PATH 17778 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 17779 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17780 soname_spec='$libname$release$shared_ext$major' 17781 ;; 17782 esac 17783 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 17784 postinstall_cmds='chmod 555 $lib' 17785 # or fails outright, so override atomically: 17786 install_override_mode=555 17787 ;; 17788 17789interix[3-9]*) 17790 version_type=linux # correct to gnu/linux during the next big refactor 17791 need_lib_prefix=no 17792 need_version=no 17793 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17794 soname_spec='$libname$release$shared_ext$major' 17795 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 17796 shlibpath_var=LD_LIBRARY_PATH 17797 shlibpath_overrides_runpath=no 17798 hardcode_into_libs=yes 17799 ;; 17800 17801irix5* | irix6* | nonstopux*) 17802 case $host_os in 17803 nonstopux*) version_type=nonstopux ;; 17804 *) 17805 if test yes = "$lt_cv_prog_gnu_ld"; then 17806 version_type=linux # correct to gnu/linux during the next big refactor 17807 else 17808 version_type=irix 17809 fi ;; 17810 esac 17811 need_lib_prefix=no 17812 need_version=no 17813 soname_spec='$libname$release$shared_ext$major' 17814 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 17815 case $host_os in 17816 irix5* | nonstopux*) 17817 libsuff= shlibsuff= 17818 ;; 17819 *) 17820 case $LD in # libtool.m4 will add one of these switches to LD 17821 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 17822 libsuff= shlibsuff= libmagic=32-bit;; 17823 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 17824 libsuff=32 shlibsuff=N32 libmagic=N32;; 17825 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 17826 libsuff=64 shlibsuff=64 libmagic=64-bit;; 17827 *) libsuff= shlibsuff= libmagic=never-match;; 17828 esac 17829 ;; 17830 esac 17831 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 17832 shlibpath_overrides_runpath=no 17833 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 17834 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 17835 hardcode_into_libs=yes 17836 ;; 17837 17838# No shared lib support for Linux oldld, aout, or coff. 17839linux*oldld* | linux*aout* | linux*coff*) 17840 dynamic_linker=no 17841 ;; 17842 17843linux*android*) 17844 version_type=none # Android doesn't support versioned libraries. 17845 need_lib_prefix=no 17846 need_version=no 17847 library_names_spec='$libname$release$shared_ext' 17848 soname_spec='$libname$release$shared_ext' 17849 finish_cmds= 17850 shlibpath_var=LD_LIBRARY_PATH 17851 shlibpath_overrides_runpath=yes 17852 17853 # This implies no fast_install, which is unacceptable. 17854 # Some rework will be needed to allow for fast_install 17855 # before this can be enabled. 17856 hardcode_into_libs=yes 17857 17858 dynamic_linker='Android linker' 17859 # Don't embed -rpath directories since the linker doesn't support them. 17860 hardcode_libdir_flag_spec_CXX='-L$libdir' 17861 ;; 17862 17863# This must be glibc/ELF. 17864linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 17865 version_type=linux # correct to gnu/linux during the next big refactor 17866 need_lib_prefix=no 17867 need_version=no 17868 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17869 soname_spec='$libname$release$shared_ext$major' 17870 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 17871 shlibpath_var=LD_LIBRARY_PATH 17872 shlibpath_overrides_runpath=no 17873 17874 # Some binutils ld are patched to set DT_RUNPATH 17875 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 17876 $as_echo_n "(cached) " >&6 17877else 17878 lt_cv_shlibpath_overrides_runpath=no 17879 save_LDFLAGS=$LDFLAGS 17880 save_libdir=$libdir 17881 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 17882 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17884/* end confdefs.h. */ 17885 17886int 17887main () 17888{ 17889 17890 ; 17891 return 0; 17892} 17893_ACEOF 17894if ac_fn_cxx_try_link "$LINENO"; then : 17895 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 17896 lt_cv_shlibpath_overrides_runpath=yes 17897fi 17898fi 17899rm -f core conftest.err conftest.$ac_objext \ 17900 conftest$ac_exeext conftest.$ac_ext 17901 LDFLAGS=$save_LDFLAGS 17902 libdir=$save_libdir 17903 17904fi 17905 17906 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 17907 17908 # This implies no fast_install, which is unacceptable. 17909 # Some rework will be needed to allow for fast_install 17910 # before this can be enabled. 17911 hardcode_into_libs=yes 17912 17913 # Add ABI-specific directories to the system library path. 17914 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 17915 17916 # Ideally, we could use ldconfig to report *all* directores which are 17917 # searched for libraries, however this is still not possible. Aside from not 17918 # being certain /sbin/ldconfig is available, command 17919 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 17920 # even though it is searched at run-time. Try to do the best guess by 17921 # appending ld.so.conf contents (and includes) to the search path. 17922 if test -f /etc/ld.so.conf; then 17923 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' ' '` 17924 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 17925 fi 17926 17927 # We used to test for /lib/ld.so.1 and disable shared libraries on 17928 # powerpc, because MkLinux only supported shared libraries with the 17929 # GNU dynamic linker. Since this was broken with cross compilers, 17930 # most powerpc-linux boxes support dynamic linking these days and 17931 # people can always --disable-shared, the test was removed, and we 17932 # assume the GNU/Linux dynamic linker is in use. 17933 dynamic_linker='GNU/Linux ld.so' 17934 ;; 17935 17936netbsd*) 17937 version_type=sunos 17938 need_lib_prefix=no 17939 need_version=no 17940 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 17941 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17942 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 17943 dynamic_linker='NetBSD (a.out) ld.so' 17944 else 17945 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17946 soname_spec='$libname$release$shared_ext$major' 17947 dynamic_linker='NetBSD ld.elf_so' 17948 fi 17949 shlibpath_var=LD_LIBRARY_PATH 17950 shlibpath_overrides_runpath=yes 17951 hardcode_into_libs=yes 17952 ;; 17953 17954newsos6) 17955 version_type=linux # correct to gnu/linux during the next big refactor 17956 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17957 shlibpath_var=LD_LIBRARY_PATH 17958 shlibpath_overrides_runpath=yes 17959 ;; 17960 17961*nto* | *qnx*) 17962 version_type=qnx 17963 need_lib_prefix=no 17964 need_version=no 17965 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17966 soname_spec='$libname$release$shared_ext$major' 17967 shlibpath_var=LD_LIBRARY_PATH 17968 shlibpath_overrides_runpath=no 17969 hardcode_into_libs=yes 17970 dynamic_linker='ldqnx.so' 17971 ;; 17972 17973openbsd* | bitrig*) 17974 version_type=sunos 17975 sys_lib_dlsearch_path_spec=/usr/lib 17976 need_lib_prefix=no 17977 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 17978 need_version=no 17979 else 17980 need_version=yes 17981 fi 17982 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17983 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 17984 shlibpath_var=LD_LIBRARY_PATH 17985 shlibpath_overrides_runpath=yes 17986 ;; 17987 17988os2*) 17989 libname_spec='$name' 17990 version_type=windows 17991 shrext_cmds=.dll 17992 need_version=no 17993 need_lib_prefix=no 17994 # OS/2 can only load a DLL with a base name of 8 characters or less. 17995 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 17996 v=$($ECHO $release$versuffix | tr -d .-); 17997 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 17998 $ECHO $n$v`$shared_ext' 17999 library_names_spec='${libname}_dll.$libext' 18000 dynamic_linker='OS/2 ld.exe' 18001 shlibpath_var=BEGINLIBPATH 18002 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 18003 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 18004 postinstall_cmds='base_file=`basename \$file`~ 18005 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 18006 dldir=$destdir/`dirname \$dlpath`~ 18007 test -d \$dldir || mkdir -p \$dldir~ 18008 $install_prog $dir/$dlname \$dldir/$dlname~ 18009 chmod a+x \$dldir/$dlname~ 18010 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 18011 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 18012 fi' 18013 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 18014 dlpath=$dir/\$dldll~ 18015 $RM \$dlpath' 18016 ;; 18017 18018osf3* | osf4* | osf5*) 18019 version_type=osf 18020 need_lib_prefix=no 18021 need_version=no 18022 soname_spec='$libname$release$shared_ext$major' 18023 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 18024 shlibpath_var=LD_LIBRARY_PATH 18025 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 18026 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 18027 ;; 18028 18029rdos*) 18030 dynamic_linker=no 18031 ;; 18032 18033solaris*) 18034 version_type=linux # correct to gnu/linux during the next big refactor 18035 need_lib_prefix=no 18036 need_version=no 18037 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 18038 soname_spec='$libname$release$shared_ext$major' 18039 shlibpath_var=LD_LIBRARY_PATH 18040 shlibpath_overrides_runpath=yes 18041 hardcode_into_libs=yes 18042 # ldd complains unless libraries are executable 18043 postinstall_cmds='chmod +x $lib' 18044 ;; 18045 18046sunos4*) 18047 version_type=sunos 18048 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 18049 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 18050 shlibpath_var=LD_LIBRARY_PATH 18051 shlibpath_overrides_runpath=yes 18052 if test yes = "$with_gnu_ld"; then 18053 need_lib_prefix=no 18054 fi 18055 need_version=yes 18056 ;; 18057 18058sysv4 | sysv4.3*) 18059 version_type=linux # correct to gnu/linux during the next big refactor 18060 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 18061 soname_spec='$libname$release$shared_ext$major' 18062 shlibpath_var=LD_LIBRARY_PATH 18063 case $host_vendor in 18064 sni) 18065 shlibpath_overrides_runpath=no 18066 need_lib_prefix=no 18067 runpath_var=LD_RUN_PATH 18068 ;; 18069 siemens) 18070 need_lib_prefix=no 18071 ;; 18072 motorola) 18073 need_lib_prefix=no 18074 need_version=no 18075 shlibpath_overrides_runpath=no 18076 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 18077 ;; 18078 esac 18079 ;; 18080 18081sysv4*MP*) 18082 if test -d /usr/nec; then 18083 version_type=linux # correct to gnu/linux during the next big refactor 18084 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 18085 soname_spec='$libname$shared_ext.$major' 18086 shlibpath_var=LD_LIBRARY_PATH 18087 fi 18088 ;; 18089 18090sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 18091 version_type=sco 18092 need_lib_prefix=no 18093 need_version=no 18094 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 18095 soname_spec='$libname$release$shared_ext$major' 18096 shlibpath_var=LD_LIBRARY_PATH 18097 shlibpath_overrides_runpath=yes 18098 hardcode_into_libs=yes 18099 if test yes = "$with_gnu_ld"; then 18100 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 18101 else 18102 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 18103 case $host_os in 18104 sco3.2v5*) 18105 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 18106 ;; 18107 esac 18108 fi 18109 sys_lib_dlsearch_path_spec='/usr/lib' 18110 ;; 18111 18112tpf*) 18113 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 18114 version_type=linux # correct to gnu/linux during the next big refactor 18115 need_lib_prefix=no 18116 need_version=no 18117 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 18118 shlibpath_var=LD_LIBRARY_PATH 18119 shlibpath_overrides_runpath=no 18120 hardcode_into_libs=yes 18121 ;; 18122 18123uts4*) 18124 version_type=linux # correct to gnu/linux during the next big refactor 18125 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 18126 soname_spec='$libname$release$shared_ext$major' 18127 shlibpath_var=LD_LIBRARY_PATH 18128 ;; 18129 18130*) 18131 dynamic_linker=no 18132 ;; 18133esac 18134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 18135$as_echo "$dynamic_linker" >&6; } 18136test no = "$dynamic_linker" && can_build_shared=no 18137 18138variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 18139if test yes = "$GCC"; then 18140 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 18141fi 18142 18143if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 18144 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 18145fi 18146 18147if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 18148 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 18149fi 18150 18151# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 18152configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 18153 18154# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 18155func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 18156 18157# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 18158configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 18200$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 18201hardcode_action_CXX= 18202if test -n "$hardcode_libdir_flag_spec_CXX" || 18203 test -n "$runpath_var_CXX" || 18204 test yes = "$hardcode_automatic_CXX"; then 18205 18206 # We can hardcode non-existent directories. 18207 if test no != "$hardcode_direct_CXX" && 18208 # If the only mechanism to avoid hardcoding is shlibpath_var, we 18209 # have to relink, otherwise we might link with an installed library 18210 # when we should be linking with a yet-to-be-installed one 18211 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 18212 test no != "$hardcode_minus_L_CXX"; then 18213 # Linking always hardcodes the temporary library directory. 18214 hardcode_action_CXX=relink 18215 else 18216 # We can link without hardcoding, and we can hardcode nonexisting dirs. 18217 hardcode_action_CXX=immediate 18218 fi 18219else 18220 # We cannot hardcode anything, or else we can only hardcode existing 18221 # directories. 18222 hardcode_action_CXX=unsupported 18223fi 18224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 18225$as_echo "$hardcode_action_CXX" >&6; } 18226 18227if test relink = "$hardcode_action_CXX" || 18228 test yes = "$inherit_rpath_CXX"; then 18229 # Fast installation is not supported 18230 enable_fast_install=no 18231elif test yes = "$shlibpath_overrides_runpath" || 18232 test no = "$enable_shared"; then 18233 # Fast installation is not necessary 18234 enable_fast_install=needless 18235fi 18236 18237 18238 18239 18240 18241 18242 18243 fi # test -n "$compiler" 18244 18245 CC=$lt_save_CC 18246 CFLAGS=$lt_save_CFLAGS 18247 LDCXX=$LD 18248 LD=$lt_save_LD 18249 GCC=$lt_save_GCC 18250 with_gnu_ld=$lt_save_with_gnu_ld 18251 lt_cv_path_LDCXX=$lt_cv_path_LD 18252 lt_cv_path_LD=$lt_save_path_LD 18253 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 18254 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 18255fi # test yes != "$_lt_caught_CXX_error" 18256 18257ac_ext=c 18258ac_cpp='$CPP $CPPFLAGS' 18259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18261ac_compiler_gnu=$ac_cv_c_compiler_gnu 18262 18263 18264# Extract the first word of "$CXX", so it can be a program name with args. 18265set dummy $CXX; ac_word=$2 18266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18267$as_echo_n "checking for $ac_word... " >&6; } 18268if ${ac_cv_path_REAL_CXX+:} false; then : 18269 $as_echo_n "(cached) " >&6 18270else 18271 case $REAL_CXX in 18272 [\\/]* | ?:[\\/]*) 18273 ac_cv_path_REAL_CXX="$REAL_CXX" # Let the user override the test with a path. 18274 ;; 18275 *) 18276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18277for as_dir in $PATH 18278do 18279 IFS=$as_save_IFS 18280 test -z "$as_dir" && as_dir=. 18281 for ac_exec_ext in '' $ac_executable_extensions; do 18282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18283 ac_cv_path_REAL_CXX="$as_dir/$ac_word$ac_exec_ext" 18284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18285 break 2 18286 fi 18287done 18288 done 18289IFS=$as_save_IFS 18290 18291 ;; 18292esac 18293fi 18294REAL_CXX=$ac_cv_path_REAL_CXX 18295if test -n "$REAL_CXX"; then 18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REAL_CXX" >&5 18297$as_echo "$REAL_CXX" >&6; } 18298else 18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18300$as_echo "no" >&6; } 18301fi 18302 18303 18304HAVE_CXX=no 18305if test -n "$REAL_CXX"; then 18306 HAVE_CXX=yes 18307fi 18308 18309# Check whether --enable-largefile was given. 18310if test "${enable_largefile+set}" = set; then : 18311 enableval=$enable_largefile; 18312fi 18313 18314if test "$enable_largefile" != no; then 18315 18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 18317$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 18318if ${ac_cv_sys_largefile_CC+:} false; then : 18319 $as_echo_n "(cached) " >&6 18320else 18321 ac_cv_sys_largefile_CC=no 18322 if test "$GCC" != yes; then 18323 ac_save_CC=$CC 18324 while :; do 18325 # IRIX 6.2 and later do not support large files by default, 18326 # so use the C compiler's -n32 option if that helps. 18327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18328/* end confdefs.h. */ 18329#include <sys/types.h> 18330 /* Check that off_t can represent 2**63 - 1 correctly. 18331 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18332 since some C++ compilers masquerading as C compilers 18333 incorrectly reject 9223372036854775807. */ 18334#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18335 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18336 && LARGE_OFF_T % 2147483647 == 1) 18337 ? 1 : -1]; 18338int 18339main () 18340{ 18341 18342 ; 18343 return 0; 18344} 18345_ACEOF 18346 if ac_fn_c_try_compile "$LINENO"; then : 18347 break 18348fi 18349rm -f core conftest.err conftest.$ac_objext 18350 CC="$CC -n32" 18351 if ac_fn_c_try_compile "$LINENO"; then : 18352 ac_cv_sys_largefile_CC=' -n32'; break 18353fi 18354rm -f core conftest.err conftest.$ac_objext 18355 break 18356 done 18357 CC=$ac_save_CC 18358 rm -f conftest.$ac_ext 18359 fi 18360fi 18361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 18362$as_echo "$ac_cv_sys_largefile_CC" >&6; } 18363 if test "$ac_cv_sys_largefile_CC" != no; then 18364 CC=$CC$ac_cv_sys_largefile_CC 18365 fi 18366 18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 18368$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 18369if ${ac_cv_sys_file_offset_bits+:} false; then : 18370 $as_echo_n "(cached) " >&6 18371else 18372 while :; do 18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18374/* end confdefs.h. */ 18375#include <sys/types.h> 18376 /* Check that off_t can represent 2**63 - 1 correctly. 18377 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18378 since some C++ compilers masquerading as C compilers 18379 incorrectly reject 9223372036854775807. */ 18380#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18381 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18382 && LARGE_OFF_T % 2147483647 == 1) 18383 ? 1 : -1]; 18384int 18385main () 18386{ 18387 18388 ; 18389 return 0; 18390} 18391_ACEOF 18392if ac_fn_c_try_compile "$LINENO"; then : 18393 ac_cv_sys_file_offset_bits=no; break 18394fi 18395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18397/* end confdefs.h. */ 18398#define _FILE_OFFSET_BITS 64 18399#include <sys/types.h> 18400 /* Check that off_t can represent 2**63 - 1 correctly. 18401 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18402 since some C++ compilers masquerading as C compilers 18403 incorrectly reject 9223372036854775807. */ 18404#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18405 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18406 && LARGE_OFF_T % 2147483647 == 1) 18407 ? 1 : -1]; 18408int 18409main () 18410{ 18411 18412 ; 18413 return 0; 18414} 18415_ACEOF 18416if ac_fn_c_try_compile "$LINENO"; then : 18417 ac_cv_sys_file_offset_bits=64; break 18418fi 18419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18420 ac_cv_sys_file_offset_bits=unknown 18421 break 18422done 18423fi 18424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 18425$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 18426case $ac_cv_sys_file_offset_bits in #( 18427 no | unknown) ;; 18428 *) 18429cat >>confdefs.h <<_ACEOF 18430#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 18431_ACEOF 18432;; 18433esac 18434rm -rf conftest* 18435 if test $ac_cv_sys_file_offset_bits = unknown; then 18436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 18437$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 18438if ${ac_cv_sys_large_files+:} false; then : 18439 $as_echo_n "(cached) " >&6 18440else 18441 while :; do 18442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18443/* end confdefs.h. */ 18444#include <sys/types.h> 18445 /* Check that off_t can represent 2**63 - 1 correctly. 18446 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18447 since some C++ compilers masquerading as C compilers 18448 incorrectly reject 9223372036854775807. */ 18449#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18450 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18451 && LARGE_OFF_T % 2147483647 == 1) 18452 ? 1 : -1]; 18453int 18454main () 18455{ 18456 18457 ; 18458 return 0; 18459} 18460_ACEOF 18461if ac_fn_c_try_compile "$LINENO"; then : 18462 ac_cv_sys_large_files=no; break 18463fi 18464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18466/* end confdefs.h. */ 18467#define _LARGE_FILES 1 18468#include <sys/types.h> 18469 /* Check that off_t can represent 2**63 - 1 correctly. 18470 We can't simply define LARGE_OFF_T to be 9223372036854775807, 18471 since some C++ compilers masquerading as C compilers 18472 incorrectly reject 9223372036854775807. */ 18473#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 18474 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 18475 && LARGE_OFF_T % 2147483647 == 1) 18476 ? 1 : -1]; 18477int 18478main () 18479{ 18480 18481 ; 18482 return 0; 18483} 18484_ACEOF 18485if ac_fn_c_try_compile "$LINENO"; then : 18486 ac_cv_sys_large_files=1; break 18487fi 18488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18489 ac_cv_sys_large_files=unknown 18490 break 18491done 18492fi 18493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 18494$as_echo "$ac_cv_sys_large_files" >&6; } 18495case $ac_cv_sys_large_files in #( 18496 no | unknown) ;; 18497 *) 18498cat >>confdefs.h <<_ACEOF 18499#define _LARGE_FILES $ac_cv_sys_large_files 18500_ACEOF 18501;; 18502esac 18503rm -rf conftest* 18504 fi 18505 18506 18507fi 18508 18509 18510 18511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for host platform" >&5 18512$as_echo_n "checking for host platform... " >&6; } 18513case "$host" in 18514 *-*-mingw*|*-*-cygwin*) 18515 platform_win32=yes 18516 LDFLAGS="$LDFLAGS -mwindows -Wl,--export-all-symbols" 18517 ;; 18518 *-apple-*) 18519 platform_osx=yes 18520 LDFLAGS="$LDFLAGS -Wl,-export_dynamic" 18521 ;; 18522 *) 18523 platform_win32=no 18524 platform_osx=no 18525 LDFLAGS="$LDFLAGS -Wl,--export-dynamic" 18526 ;; 18527esac 18528 if test x"$platform_win32" = x"yes"; then 18529 PLATFORM_WIN32_TRUE= 18530 PLATFORM_WIN32_FALSE='#' 18531else 18532 PLATFORM_WIN32_TRUE='#' 18533 PLATFORM_WIN32_FALSE= 18534fi 18535 18536 if test x"$platform_osx" = x"yes"; then 18537 PLATFORM_OSX_TRUE= 18538 PLATFORM_OSX_FALSE='#' 18539else 18540 PLATFORM_OSX_TRUE='#' 18541 PLATFORM_OSX_FALSE= 18542fi 18543 18544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $host" >&5 18545$as_echo "$host" >&6; } 18546 18547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5 18548$as_echo_n "checking for native Win32... " >&6; } 18549case "$host" in 18550 *-*-mingw*) 18551 os_win32=yes 18552 ;; 18553 *) 18554 os_win32=no 18555 ;; 18556esac 18557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5 18558$as_echo "$os_win32" >&6; } 18559 if test x"$os_win32" = x"yes"; then 18560 OS_WIN32_TRUE= 18561 OS_WIN32_FALSE='#' 18562else 18563 OS_WIN32_TRUE='#' 18564 OS_WIN32_FALSE= 18565fi 18566 18567 18568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cygwin" >&5 18569$as_echo_n "checking for Cygwin... " >&6; } 18570case "$host" in 18571 *-*-cygwin*) 18572 env_cygwin=yes 18573 ;; 18574 *) 18575 env_cygwin=no 18576 ;; 18577esac 18578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $env_cygwin" >&5 18579$as_echo "$env_cygwin" >&6; } 18580 if test x"$env_cygwin" = x"yes"; then 18581 CYGWIN_TRUE= 18582 CYGWIN_FALSE='#' 18583else 18584 CYGWIN_TRUE='#' 18585 CYGWIN_FALSE= 18586fi 18587 18588 18589if test "$GCC" = "yes" 18590then 18591 CFLAGS="$CFLAGS -Wno-unused-function" 18592 #CFLAGS="-g -Wall -Wno-unused-function" 18593fi 18594 18595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc supports -Wno-pointer-sign" >&5 18596$as_echo_n "checking if gcc supports -Wno-pointer-sign... " >&6; } 18597_gcc_cflags_save=$CFLAGS 18598CFLAGS="-Wno-pointer-sign" 18599cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18600/* end confdefs.h. */ 18601 18602int 18603main () 18604{ 18605 18606 ; 18607 return 0; 18608} 18609_ACEOF 18610if ac_fn_c_try_compile "$LINENO"; then : 18611 _gcc_psign=yes 18612else 18613 _gcc_psign=no 18614fi 18615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_gcc_psign" >&5 18617$as_echo "$_gcc_psign" >&6; } 18618CFLAGS=$_gcc_cflags_save; 18619if test x"$_gcc_psign" = xyes ; then 18620 CFLAGS="$CFLAGS -Wno-pointer-sign" 18621fi 18622 18623CFLAGS="$CFLAGS -Wall -D_GNU_SOURCE" 18624 18625if test $USE_MAINTAINER_MODE = yes; then 18626 CFLAGS="$CFLAGS -g -Wno-pointer-sign -DUSE_MAINTAINER_MODE" 18627fi 18628 18629pthread_name= 18630case "$target" in 18631*-darwin*) 18632 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common" 18633 ;; 18634*-*-mingw*) 18635 # Note that we need to link to pthread in all cases. This 18636 # is because some locking is used even when pthread support is 18637 # disabled. 18638 pthread_name=pthread 18639 CFLAGS="$CFLAGS -mms-bitfields" 18640 LIBS="$LIBS -l${pthread_name} -lws2_32 -lregex" 18641 ;; 18642*-*-solaris*) 18643 CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS" 18644 CFLAGS="$CFLAGS -std=gnu99 -DSOLARIS" 18645 ;; 18646esac 18647 18648 18649 18650# Check whether --with-gnu-ld was given. 18651if test "${with_gnu_ld+set}" = set; then : 18652 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 18653else 18654 with_gnu_ld=no 18655fi 18656 18657# Prepare PATH_SEPARATOR. 18658# The user is always right. 18659if test "${PATH_SEPARATOR+set}" != set; then 18660 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 18661 # contains only /bin. Note that ksh looks also at the FPATH variable, 18662 # so we have to set that as well for the test. 18663 PATH_SEPARATOR=: 18664 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 18665 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 18666 || PATH_SEPARATOR=';' 18667 } 18668fi 18669 18670if test -n "$LD"; then 18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5 18672$as_echo_n "checking for ld... " >&6; } 18673elif test "$GCC" = yes; then 18674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 18675$as_echo_n "checking for ld used by $CC... " >&6; } 18676elif test "$with_gnu_ld" = yes; then 18677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 18678$as_echo_n "checking for GNU ld... " >&6; } 18679else 18680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 18681$as_echo_n "checking for non-GNU ld... " >&6; } 18682fi 18683if test -n "$LD"; then 18684 # Let the user override the test with a path. 18685 : 18686else 18687 if ${acl_cv_path_LD+:} false; then : 18688 $as_echo_n "(cached) " >&6 18689else 18690 18691 acl_cv_path_LD= # Final result of this test 18692 ac_prog=ld # Program to search in $PATH 18693 if test "$GCC" = yes; then 18694 # Check if gcc -print-prog-name=ld gives a path. 18695 case $host in 18696 *-*-mingw*) 18697 # gcc leaves a trailing carriage return which upsets mingw 18698 acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 18699 *) 18700 acl_output=`($CC -print-prog-name=ld) 2>&5` ;; 18701 esac 18702 case $acl_output in 18703 # Accept absolute paths. 18704 [\\/]* | ?:[\\/]*) 18705 re_direlt='/[^/][^/]*/\.\./' 18706 # Canonicalize the pathname of ld 18707 acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` 18708 while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do 18709 acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` 18710 done 18711 # Got the pathname. No search in PATH is needed. 18712 acl_cv_path_LD="$acl_output" 18713 ac_prog= 18714 ;; 18715 "") 18716 # If it fails, then pretend we aren't using GCC. 18717 ;; 18718 *) 18719 # If it is relative, then search for the first ld in PATH. 18720 with_gnu_ld=unknown 18721 ;; 18722 esac 18723 fi 18724 if test -n "$ac_prog"; then 18725 # Search for $ac_prog in $PATH. 18726 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 18727 for ac_dir in $PATH; do 18728 IFS="$acl_save_ifs" 18729 test -z "$ac_dir" && ac_dir=. 18730 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 18731 acl_cv_path_LD="$ac_dir/$ac_prog" 18732 # Check to see if the program is GNU ld. I'd rather use --version, 18733 # but apparently some variants of GNU ld only accept -v. 18734 # Break only if it was the GNU/non-GNU ld that we prefer. 18735 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in 18736 *GNU* | *'with BFD'*) 18737 test "$with_gnu_ld" != no && break 18738 ;; 18739 *) 18740 test "$with_gnu_ld" != yes && break 18741 ;; 18742 esac 18743 fi 18744 done 18745 IFS="$acl_save_ifs" 18746 fi 18747 case $host in 18748 *-*-aix*) 18749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18750/* end confdefs.h. */ 18751#if defined __powerpc64__ || defined _ARCH_PPC64 18752 int ok; 18753 #else 18754 error fail 18755 #endif 18756 18757_ACEOF 18758if ac_fn_c_try_compile "$LINENO"; then : 18759 # The compiler produces 64-bit code. Add option '-b64' so that the 18760 # linker groks 64-bit object files. 18761 case "$acl_cv_path_LD " in 18762 *" -b64 "*) ;; 18763 *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;; 18764 esac 18765 18766fi 18767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18768 ;; 18769 sparc64-*-netbsd*) 18770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18771/* end confdefs.h. */ 18772#if defined __sparcv9 || defined __arch64__ 18773 int ok; 18774 #else 18775 error fail 18776 #endif 18777 18778_ACEOF 18779if ac_fn_c_try_compile "$LINENO"; then : 18780 18781else 18782 # The compiler produces 32-bit code. Add option '-m elf32_sparc' 18783 # so that the linker groks 32-bit object files. 18784 case "$acl_cv_path_LD " in 18785 *" -m elf32_sparc "*) ;; 18786 *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;; 18787 esac 18788 18789fi 18790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18791 ;; 18792 esac 18793 18794fi 18795 18796 LD="$acl_cv_path_LD" 18797fi 18798if test -n "$LD"; then 18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 18800$as_echo "$LD" >&6; } 18801else 18802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18803$as_echo "no" >&6; } 18804 as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 18805fi 18806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 18807$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 18808if ${acl_cv_prog_gnu_ld+:} false; then : 18809 $as_echo_n "(cached) " >&6 18810else 18811 # I'd rather use --version here, but apparently some GNU lds only accept -v. 18812case `$LD -v 2>&1 </dev/null` in 18813*GNU* | *'with BFD'*) 18814 acl_cv_prog_gnu_ld=yes 18815 ;; 18816*) 18817 acl_cv_prog_gnu_ld=no 18818 ;; 18819esac 18820fi 18821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 18822$as_echo "$acl_cv_prog_gnu_ld" >&6; } 18823with_gnu_ld=$acl_cv_prog_gnu_ld 18824 18825 18826 18827 18828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 18829$as_echo_n "checking for shared library run path origin... " >&6; } 18830if ${acl_cv_rpath+:} false; then : 18831 $as_echo_n "(cached) " >&6 18832else 18833 18834 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 18835 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 18836 . ./conftest.sh 18837 rm -f ./conftest.sh 18838 acl_cv_rpath=done 18839 18840fi 18841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 18842$as_echo "$acl_cv_rpath" >&6; } 18843 wl="$acl_cv_wl" 18844 acl_libext="$acl_cv_libext" 18845 acl_shlibext="$acl_cv_shlibext" 18846 acl_libname_spec="$acl_cv_libname_spec" 18847 acl_library_names_spec="$acl_cv_library_names_spec" 18848 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 18849 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 18850 acl_hardcode_direct="$acl_cv_hardcode_direct" 18851 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 18852 # Check whether --enable-rpath was given. 18853if test "${enable_rpath+set}" = set; then : 18854 enableval=$enable_rpath; : 18855else 18856 enable_rpath=yes 18857fi 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 use_additional=yes 18871 18872 acl_save_prefix="$prefix" 18873 prefix="$acl_final_prefix" 18874 acl_save_exec_prefix="$exec_prefix" 18875 exec_prefix="$acl_final_exec_prefix" 18876 18877 eval additional_includedir=\"$includedir\" 18878 eval additional_libdir=\"$libdir\" 18879 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 18880 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 18881 18882 exec_prefix="$acl_save_exec_prefix" 18883 prefix="$acl_save_prefix" 18884 18885 18886# Check whether --with-libiconv-prefix was given. 18887if test "${with_libiconv_prefix+set}" = set; then : 18888 withval=$with_libiconv_prefix; 18889 if test "X$withval" = "Xno"; then 18890 use_additional=no 18891 else 18892 if test "X$withval" = "X"; then 18893 18894 acl_save_prefix="$prefix" 18895 prefix="$acl_final_prefix" 18896 acl_save_exec_prefix="$exec_prefix" 18897 exec_prefix="$acl_final_exec_prefix" 18898 18899 eval additional_includedir=\"$includedir\" 18900 eval additional_libdir=\"$libdir\" 18901 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 18902 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 18903 18904 exec_prefix="$acl_save_exec_prefix" 18905 prefix="$acl_save_prefix" 18906 18907 else 18908 additional_includedir="$withval/include" 18909 additional_libdir="$withval/$acl_libdirstem" 18910 additional_libdir2="$withval/$acl_libdirstem2" 18911 additional_libdir3="$withval/$acl_libdirstem3" 18912 fi 18913 fi 18914 18915fi 18916 18917 if test "X$additional_libdir2" = "X$additional_libdir"; then 18918 additional_libdir2= 18919 fi 18920 if test "X$additional_libdir3" = "X$additional_libdir"; then 18921 additional_libdir3= 18922 fi 18923 LIBICONV= 18924 LTLIBICONV= 18925 INCICONV= 18926 LIBICONV_PREFIX= 18927 HAVE_LIBICONV= 18928 rpathdirs= 18929 ltrpathdirs= 18930 names_already_handled= 18931 names_next_round='iconv ' 18932 while test -n "$names_next_round"; do 18933 names_this_round="$names_next_round" 18934 names_next_round= 18935 for name in $names_this_round; do 18936 already_handled= 18937 for n in $names_already_handled; do 18938 if test "$n" = "$name"; then 18939 already_handled=yes 18940 break 18941 fi 18942 done 18943 if test -z "$already_handled"; then 18944 names_already_handled="$names_already_handled $name" 18945 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 18946 eval value=\"\$HAVE_LIB$uppername\" 18947 if test -n "$value"; then 18948 if test "$value" = yes; then 18949 eval value=\"\$LIB$uppername\" 18950 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 18951 eval value=\"\$LTLIB$uppername\" 18952 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 18953 else 18954 : 18955 fi 18956 else 18957 found_dir= 18958 found_la= 18959 found_so= 18960 found_a= 18961 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 18962 if test -n "$acl_shlibext"; then 18963 shrext=".$acl_shlibext" # typically: shrext=.so 18964 else 18965 shrext= 18966 fi 18967 if test $use_additional = yes; then 18968 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do 18969 if test "X$found_dir" = "X"; then 18970 eval dir=\$$additional_libdir_variable 18971 if test -n "$dir"; then 18972 if test -n "$acl_shlibext"; then 18973 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 18974 found_dir="$dir" 18975 found_so="$dir/$libname$shrext" 18976 else 18977 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18978 ver=`(cd "$dir" && \ 18979 for f in "$libname$shrext".*; do echo "$f"; done \ 18980 | sed -e "s,^$libname$shrext\\\\.,," \ 18981 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18982 | sed 1q ) 2>/dev/null` 18983 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 18984 found_dir="$dir" 18985 found_so="$dir/$libname$shrext.$ver" 18986 fi 18987 else 18988 eval library_names=\"$acl_library_names_spec\" 18989 for f in $library_names; do 18990 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 18991 found_dir="$dir" 18992 found_so="$dir/$f" 18993 break 18994 fi 18995 done 18996 fi 18997 fi 18998 fi 18999 if test "X$found_dir" = "X"; then 19000 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 19001 found_dir="$dir" 19002 found_a="$dir/$libname.$acl_libext" 19003 fi 19004 fi 19005 if test "X$found_dir" != "X"; then 19006 if test -f "$dir/$libname.la"; then 19007 found_la="$dir/$libname.la" 19008 fi 19009 fi 19010 fi 19011 fi 19012 done 19013 fi 19014 if test "X$found_dir" = "X"; then 19015 for x in $LDFLAGS $LTLIBICONV; do 19016 19017 acl_save_prefix="$prefix" 19018 prefix="$acl_final_prefix" 19019 acl_save_exec_prefix="$exec_prefix" 19020 exec_prefix="$acl_final_exec_prefix" 19021 eval x=\"$x\" 19022 exec_prefix="$acl_save_exec_prefix" 19023 prefix="$acl_save_prefix" 19024 19025 case "$x" in 19026 -L*) 19027 dir=`echo "X$x" | sed -e 's/^X-L//'` 19028 if test -n "$acl_shlibext"; then 19029 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 19030 found_dir="$dir" 19031 found_so="$dir/$libname$shrext" 19032 else 19033 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 19034 ver=`(cd "$dir" && \ 19035 for f in "$libname$shrext".*; do echo "$f"; done \ 19036 | sed -e "s,^$libname$shrext\\\\.,," \ 19037 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 19038 | sed 1q ) 2>/dev/null` 19039 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 19040 found_dir="$dir" 19041 found_so="$dir/$libname$shrext.$ver" 19042 fi 19043 else 19044 eval library_names=\"$acl_library_names_spec\" 19045 for f in $library_names; do 19046 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 19047 found_dir="$dir" 19048 found_so="$dir/$f" 19049 break 19050 fi 19051 done 19052 fi 19053 fi 19054 fi 19055 if test "X$found_dir" = "X"; then 19056 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 19057 found_dir="$dir" 19058 found_a="$dir/$libname.$acl_libext" 19059 fi 19060 fi 19061 if test "X$found_dir" != "X"; then 19062 if test -f "$dir/$libname.la"; then 19063 found_la="$dir/$libname.la" 19064 fi 19065 fi 19066 ;; 19067 esac 19068 if test "X$found_dir" != "X"; then 19069 break 19070 fi 19071 done 19072 fi 19073 if test "X$found_dir" != "X"; then 19074 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 19075 if test "X$found_so" != "X"; then 19076 if test "$enable_rpath" = no \ 19077 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 19078 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ 19079 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then 19080 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 19081 else 19082 haveit= 19083 for x in $ltrpathdirs; do 19084 if test "X$x" = "X$found_dir"; then 19085 haveit=yes 19086 break 19087 fi 19088 done 19089 if test -z "$haveit"; then 19090 ltrpathdirs="$ltrpathdirs $found_dir" 19091 fi 19092 if test "$acl_hardcode_direct" = yes; then 19093 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 19094 else 19095 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 19096 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 19097 haveit= 19098 for x in $rpathdirs; do 19099 if test "X$x" = "X$found_dir"; then 19100 haveit=yes 19101 break 19102 fi 19103 done 19104 if test -z "$haveit"; then 19105 rpathdirs="$rpathdirs $found_dir" 19106 fi 19107 else 19108 haveit= 19109 for x in $LDFLAGS $LIBICONV; do 19110 19111 acl_save_prefix="$prefix" 19112 prefix="$acl_final_prefix" 19113 acl_save_exec_prefix="$exec_prefix" 19114 exec_prefix="$acl_final_exec_prefix" 19115 eval x=\"$x\" 19116 exec_prefix="$acl_save_exec_prefix" 19117 prefix="$acl_save_prefix" 19118 19119 if test "X$x" = "X-L$found_dir"; then 19120 haveit=yes 19121 break 19122 fi 19123 done 19124 if test -z "$haveit"; then 19125 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 19126 fi 19127 if test "$acl_hardcode_minus_L" != no; then 19128 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 19129 else 19130 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 19131 fi 19132 fi 19133 fi 19134 fi 19135 else 19136 if test "X$found_a" != "X"; then 19137 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 19138 else 19139 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 19140 fi 19141 fi 19142 additional_includedir= 19143 case "$found_dir" in 19144 */$acl_libdirstem | */$acl_libdirstem/) 19145 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 19146 if test "$name" = 'iconv'; then 19147 LIBICONV_PREFIX="$basedir" 19148 fi 19149 additional_includedir="$basedir/include" 19150 ;; 19151 */$acl_libdirstem2 | */$acl_libdirstem2/) 19152 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 19153 if test "$name" = 'iconv'; then 19154 LIBICONV_PREFIX="$basedir" 19155 fi 19156 additional_includedir="$basedir/include" 19157 ;; 19158 */$acl_libdirstem3 | */$acl_libdirstem3/) 19159 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` 19160 if test "$name" = 'iconv'; then 19161 LIBICONV_PREFIX="$basedir" 19162 fi 19163 additional_includedir="$basedir/include" 19164 ;; 19165 esac 19166 if test "X$additional_includedir" != "X"; then 19167 if test "X$additional_includedir" != "X/usr/include"; then 19168 haveit= 19169 if test "X$additional_includedir" = "X/usr/local/include"; then 19170 if test -n "$GCC"; then 19171 case $host_os in 19172 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 19173 esac 19174 fi 19175 fi 19176 if test -z "$haveit"; then 19177 for x in $CPPFLAGS $INCICONV; do 19178 19179 acl_save_prefix="$prefix" 19180 prefix="$acl_final_prefix" 19181 acl_save_exec_prefix="$exec_prefix" 19182 exec_prefix="$acl_final_exec_prefix" 19183 eval x=\"$x\" 19184 exec_prefix="$acl_save_exec_prefix" 19185 prefix="$acl_save_prefix" 19186 19187 if test "X$x" = "X-I$additional_includedir"; then 19188 haveit=yes 19189 break 19190 fi 19191 done 19192 if test -z "$haveit"; then 19193 if test -d "$additional_includedir"; then 19194 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 19195 fi 19196 fi 19197 fi 19198 fi 19199 fi 19200 if test -n "$found_la"; then 19201 save_libdir="$libdir" 19202 case "$found_la" in 19203 */* | *\\*) . "$found_la" ;; 19204 *) . "./$found_la" ;; 19205 esac 19206 libdir="$save_libdir" 19207 for dep in $dependency_libs; do 19208 case "$dep" in 19209 -L*) 19210 dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 19211 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ 19212 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ 19213 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then 19214 haveit= 19215 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ 19216 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ 19217 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then 19218 if test -n "$GCC"; then 19219 case $host_os in 19220 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 19221 esac 19222 fi 19223 fi 19224 if test -z "$haveit"; then 19225 haveit= 19226 for x in $LDFLAGS $LIBICONV; do 19227 19228 acl_save_prefix="$prefix" 19229 prefix="$acl_final_prefix" 19230 acl_save_exec_prefix="$exec_prefix" 19231 exec_prefix="$acl_final_exec_prefix" 19232 eval x=\"$x\" 19233 exec_prefix="$acl_save_exec_prefix" 19234 prefix="$acl_save_prefix" 19235 19236 if test "X$x" = "X-L$dependency_libdir"; then 19237 haveit=yes 19238 break 19239 fi 19240 done 19241 if test -z "$haveit"; then 19242 if test -d "$dependency_libdir"; then 19243 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir" 19244 fi 19245 fi 19246 haveit= 19247 for x in $LDFLAGS $LTLIBICONV; do 19248 19249 acl_save_prefix="$prefix" 19250 prefix="$acl_final_prefix" 19251 acl_save_exec_prefix="$exec_prefix" 19252 exec_prefix="$acl_final_exec_prefix" 19253 eval x=\"$x\" 19254 exec_prefix="$acl_save_exec_prefix" 19255 prefix="$acl_save_prefix" 19256 19257 if test "X$x" = "X-L$dependency_libdir"; then 19258 haveit=yes 19259 break 19260 fi 19261 done 19262 if test -z "$haveit"; then 19263 if test -d "$dependency_libdir"; then 19264 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir" 19265 fi 19266 fi 19267 fi 19268 fi 19269 ;; 19270 -R*) 19271 dir=`echo "X$dep" | sed -e 's/^X-R//'` 19272 if test "$enable_rpath" != no; then 19273 haveit= 19274 for x in $rpathdirs; do 19275 if test "X$x" = "X$dir"; then 19276 haveit=yes 19277 break 19278 fi 19279 done 19280 if test -z "$haveit"; then 19281 rpathdirs="$rpathdirs $dir" 19282 fi 19283 haveit= 19284 for x in $ltrpathdirs; do 19285 if test "X$x" = "X$dir"; then 19286 haveit=yes 19287 break 19288 fi 19289 done 19290 if test -z "$haveit"; then 19291 ltrpathdirs="$ltrpathdirs $dir" 19292 fi 19293 fi 19294 ;; 19295 -l*) 19296 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 19297 ;; 19298 *.la) 19299 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 19300 ;; 19301 *) 19302 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 19303 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 19304 ;; 19305 esac 19306 done 19307 fi 19308 else 19309 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 19310 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 19311 fi 19312 fi 19313 fi 19314 done 19315 done 19316 if test "X$rpathdirs" != "X"; then 19317 if test -n "$acl_hardcode_libdir_separator"; then 19318 alldirs= 19319 for found_dir in $rpathdirs; do 19320 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 19321 done 19322 acl_save_libdir="$libdir" 19323 libdir="$alldirs" 19324 eval flag=\"$acl_hardcode_libdir_flag_spec\" 19325 libdir="$acl_save_libdir" 19326 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 19327 else 19328 for found_dir in $rpathdirs; do 19329 acl_save_libdir="$libdir" 19330 libdir="$found_dir" 19331 eval flag=\"$acl_hardcode_libdir_flag_spec\" 19332 libdir="$acl_save_libdir" 19333 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 19334 done 19335 fi 19336 fi 19337 if test "X$ltrpathdirs" != "X"; then 19338 for found_dir in $ltrpathdirs; do 19339 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 19340 done 19341 fi 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 am_save_CPPFLAGS="$CPPFLAGS" 19354 19355 for element in $INCICONV; do 19356 haveit= 19357 for x in $CPPFLAGS; do 19358 19359 acl_save_prefix="$prefix" 19360 prefix="$acl_final_prefix" 19361 acl_save_exec_prefix="$exec_prefix" 19362 exec_prefix="$acl_final_exec_prefix" 19363 eval x=\"$x\" 19364 exec_prefix="$acl_save_exec_prefix" 19365 prefix="$acl_save_prefix" 19366 19367 if test "X$x" = "X$element"; then 19368 haveit=yes 19369 break 19370 fi 19371 done 19372 if test -z "$haveit"; then 19373 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 19374 fi 19375 done 19376 19377 19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 19379$as_echo_n "checking for iconv... " >&6; } 19380if ${am_cv_func_iconv+:} false; then : 19381 $as_echo_n "(cached) " >&6 19382else 19383 19384 am_cv_func_iconv="no, consider installing GNU libiconv" 19385 am_cv_lib_iconv=no 19386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19387/* end confdefs.h. */ 19388 19389#include <stdlib.h> 19390#include <iconv.h> 19391 19392int 19393main () 19394{ 19395iconv_t cd = iconv_open("",""); 19396 iconv(cd,NULL,NULL,NULL,NULL); 19397 iconv_close(cd); 19398 ; 19399 return 0; 19400} 19401_ACEOF 19402if ac_fn_c_try_link "$LINENO"; then : 19403 am_cv_func_iconv=yes 19404fi 19405rm -f core conftest.err conftest.$ac_objext \ 19406 conftest$ac_exeext conftest.$ac_ext 19407 if test "$am_cv_func_iconv" != yes; then 19408 am_save_LIBS="$LIBS" 19409 LIBS="$LIBS $LIBICONV" 19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19411/* end confdefs.h. */ 19412 19413#include <stdlib.h> 19414#include <iconv.h> 19415 19416int 19417main () 19418{ 19419iconv_t cd = iconv_open("",""); 19420 iconv(cd,NULL,NULL,NULL,NULL); 19421 iconv_close(cd); 19422 ; 19423 return 0; 19424} 19425_ACEOF 19426if ac_fn_c_try_link "$LINENO"; then : 19427 am_cv_lib_iconv=yes 19428 am_cv_func_iconv=yes 19429fi 19430rm -f core conftest.err conftest.$ac_objext \ 19431 conftest$ac_exeext conftest.$ac_ext 19432 LIBS="$am_save_LIBS" 19433 fi 19434 19435fi 19436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 19437$as_echo "$am_cv_func_iconv" >&6; } 19438 if test "$am_cv_func_iconv" = yes; then 19439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 19440$as_echo_n "checking for working iconv... " >&6; } 19441if ${am_cv_func_iconv_works+:} false; then : 19442 $as_echo_n "(cached) " >&6 19443else 19444 19445 am_save_LIBS="$LIBS" 19446 if test $am_cv_lib_iconv = yes; then 19447 LIBS="$LIBS $LIBICONV" 19448 fi 19449 am_cv_func_iconv_works=no 19450 for ac_iconv_const in '' 'const'; do 19451 if test "$cross_compiling" = yes; then : 19452 case "$host_os" in 19453 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 19454 *) am_cv_func_iconv_works="guessing yes" ;; 19455 esac 19456else 19457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19458/* end confdefs.h. */ 19459 19460#include <iconv.h> 19461#include <string.h> 19462 19463#ifndef ICONV_CONST 19464# define ICONV_CONST $ac_iconv_const 19465#endif 19466 19467int 19468main () 19469{ 19470int result = 0; 19471 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 19472 returns. */ 19473 { 19474 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 19475 if (cd_utf8_to_88591 != (iconv_t)(-1)) 19476 { 19477 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ 19478 char buf[10]; 19479 ICONV_CONST char *inptr = input; 19480 size_t inbytesleft = strlen (input); 19481 char *outptr = buf; 19482 size_t outbytesleft = sizeof (buf); 19483 size_t res = iconv (cd_utf8_to_88591, 19484 &inptr, &inbytesleft, 19485 &outptr, &outbytesleft); 19486 if (res == 0) 19487 result |= 1; 19488 iconv_close (cd_utf8_to_88591); 19489 } 19490 } 19491 /* Test against Solaris 10 bug: Failures are not distinguishable from 19492 successful returns. */ 19493 { 19494 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 19495 if (cd_ascii_to_88591 != (iconv_t)(-1)) 19496 { 19497 static ICONV_CONST char input[] = "\263"; 19498 char buf[10]; 19499 ICONV_CONST char *inptr = input; 19500 size_t inbytesleft = strlen (input); 19501 char *outptr = buf; 19502 size_t outbytesleft = sizeof (buf); 19503 size_t res = iconv (cd_ascii_to_88591, 19504 &inptr, &inbytesleft, 19505 &outptr, &outbytesleft); 19506 if (res == 0) 19507 result |= 2; 19508 iconv_close (cd_ascii_to_88591); 19509 } 19510 } 19511 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 19512 { 19513 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 19514 if (cd_88591_to_utf8 != (iconv_t)(-1)) 19515 { 19516 static ICONV_CONST char input[] = "\304"; 19517 static char buf[2] = { (char)0xDE, (char)0xAD }; 19518 ICONV_CONST char *inptr = input; 19519 size_t inbytesleft = 1; 19520 char *outptr = buf; 19521 size_t outbytesleft = 1; 19522 size_t res = iconv (cd_88591_to_utf8, 19523 &inptr, &inbytesleft, 19524 &outptr, &outbytesleft); 19525 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 19526 result |= 4; 19527 iconv_close (cd_88591_to_utf8); 19528 } 19529 } 19530#if 0 /* This bug could be worked around by the caller. */ 19531 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 19532 { 19533 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 19534 if (cd_88591_to_utf8 != (iconv_t)(-1)) 19535 { 19536 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 19537 char buf[50]; 19538 ICONV_CONST char *inptr = input; 19539 size_t inbytesleft = strlen (input); 19540 char *outptr = buf; 19541 size_t outbytesleft = sizeof (buf); 19542 size_t res = iconv (cd_88591_to_utf8, 19543 &inptr, &inbytesleft, 19544 &outptr, &outbytesleft); 19545 if ((int)res > 0) 19546 result |= 8; 19547 iconv_close (cd_88591_to_utf8); 19548 } 19549 } 19550#endif 19551 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 19552 provided. */ 19553 { 19554 /* Try standardized names. */ 19555 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); 19556 /* Try IRIX, OSF/1 names. */ 19557 iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); 19558 /* Try AIX names. */ 19559 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); 19560 /* Try HP-UX names. */ 19561 iconv_t cd4 = iconv_open ("utf8", "eucJP"); 19562 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) 19563 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) 19564 result |= 16; 19565 if (cd1 != (iconv_t)(-1)) 19566 iconv_close (cd1); 19567 if (cd2 != (iconv_t)(-1)) 19568 iconv_close (cd2); 19569 if (cd3 != (iconv_t)(-1)) 19570 iconv_close (cd3); 19571 if (cd4 != (iconv_t)(-1)) 19572 iconv_close (cd4); 19573 } 19574 return result; 19575 19576 ; 19577 return 0; 19578} 19579_ACEOF 19580if ac_fn_c_try_run "$LINENO"; then : 19581 am_cv_func_iconv_works=yes 19582fi 19583rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 19584 conftest.$ac_objext conftest.beam conftest.$ac_ext 19585fi 19586 19587 test "$am_cv_func_iconv_works" = no || break 19588 done 19589 LIBS="$am_save_LIBS" 19590 19591fi 19592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 19593$as_echo "$am_cv_func_iconv_works" >&6; } 19594 case "$am_cv_func_iconv_works" in 19595 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 19596 *) am_func_iconv=yes ;; 19597 esac 19598 else 19599 am_func_iconv=no am_cv_lib_iconv=no 19600 fi 19601 if test "$am_func_iconv" = yes; then 19602 19603$as_echo "#define HAVE_ICONV 1" >>confdefs.h 19604 19605 fi 19606 if test "$am_cv_lib_iconv" = yes; then 19607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 19608$as_echo_n "checking how to link with libiconv... " >&6; } 19609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 19610$as_echo "$LIBICONV" >&6; } 19611 else 19612 CPPFLAGS="$am_save_CPPFLAGS" 19613 LIBICONV= 19614 LTLIBICONV= 19615 fi 19616 19617 19618 19619 if test "$am_cv_func_iconv" = yes; then 19620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 19621$as_echo_n "checking for iconv declaration... " >&6; } 19622 if ${am_cv_proto_iconv+:} false; then : 19623 $as_echo_n "(cached) " >&6 19624else 19625 19626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19627/* end confdefs.h. */ 19628 19629#include <stdlib.h> 19630#include <iconv.h> 19631extern 19632#ifdef __cplusplus 19633"C" 19634#endif 19635#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) 19636size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 19637#else 19638size_t iconv(); 19639#endif 19640 19641int 19642main () 19643{ 19644 19645 ; 19646 return 0; 19647} 19648_ACEOF 19649if ac_fn_c_try_compile "$LINENO"; then : 19650 am_cv_proto_iconv_arg1="" 19651else 19652 am_cv_proto_iconv_arg1="const" 19653fi 19654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19655 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 19656fi 19657 19658 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 19660 $am_cv_proto_iconv" >&5 19661$as_echo " 19662 $am_cv_proto_iconv" >&6; } 19663 else 19664 am_cv_proto_iconv_arg1="" 19665 fi 19666 19667cat >>confdefs.h <<_ACEOF 19668#define ICONV_CONST $am_cv_proto_iconv_arg1 19669_ACEOF 19670 19671 19672 19673 19674LIBS="$LIBS -lm" 19675 19676syl_save_LIBS=$LIBS 19677LIBS="$LIBS $GTK_LIBS" 19678for ac_func in bind_textdomain_codeset 19679do : 19680 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 19681if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 19682 cat >>confdefs.h <<_ACEOF 19683#define HAVE_BIND_TEXTDOMAIN_CODESET 1 19684_ACEOF 19685 19686fi 19687done 19688 19689LIBS=$syl_save_LIBS 19690 19691ALL_LINGUAS="ca cs da de el_GR en_GB es fi fr hu id_ID it ja nb nl pl pt_BR pt_PT ro ru sk sv tr zh_TW" 19692GETTEXT_PACKAGE=claws-mail 19693 19694 19695cat >>confdefs.h <<_ACEOF 19696#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 19697_ACEOF 19698 19699 19700 19701 19702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 19703$as_echo_n "checking whether NLS is requested... " >&6; } 19704 # Check whether --enable-nls was given. 19705if test "${enable_nls+set}" = set; then : 19706 enableval=$enable_nls; USE_NLS=$enableval 19707else 19708 USE_NLS=yes 19709fi 19710 19711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 19712$as_echo "$USE_NLS" >&6; } 19713 19714 19715 19716 19717 GETTEXT_MACRO_VERSION=0.20 19718 19719 19720 19721 19722# Prepare PATH_SEPARATOR. 19723# The user is always right. 19724if test "${PATH_SEPARATOR+set}" != set; then 19725 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 19726 # contains only /bin. Note that ksh looks also at the FPATH variable, 19727 # so we have to set that as well for the test. 19728 PATH_SEPARATOR=: 19729 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 19730 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 19731 || PATH_SEPARATOR=';' 19732 } 19733fi 19734 19735# Find out how to test for executable files. Don't use a zero-byte file, 19736# as systems may use methods other than mode bits to determine executability. 19737cat >conf$$.file <<_ASEOF 19738#! /bin/sh 19739exit 0 19740_ASEOF 19741chmod +x conf$$.file 19742if test -x conf$$.file >/dev/null 2>&1; then 19743 ac_executable_p="test -x" 19744else 19745 ac_executable_p="test -f" 19746fi 19747rm -f conf$$.file 19748 19749# Extract the first word of "msgfmt", so it can be a program name with args. 19750set dummy msgfmt; ac_word=$2 19751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19752$as_echo_n "checking for $ac_word... " >&6; } 19753if ${ac_cv_path_MSGFMT+:} false; then : 19754 $as_echo_n "(cached) " >&6 19755else 19756 case "$MSGFMT" in 19757 [\\/]* | ?:[\\/]*) 19758 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 19759 ;; 19760 *) 19761 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 19762 for ac_dir in $PATH; do 19763 IFS="$ac_save_IFS" 19764 test -z "$ac_dir" && ac_dir=. 19765 for ac_exec_ext in '' $ac_executable_extensions; do 19766 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 19767 echo "$as_me: trying $ac_dir/$ac_word..." >&5 19768 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 19769 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 19770 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 19771 break 2 19772 fi 19773 fi 19774 done 19775 done 19776 IFS="$ac_save_IFS" 19777 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 19778 ;; 19779esac 19780fi 19781MSGFMT="$ac_cv_path_MSGFMT" 19782if test "$MSGFMT" != ":"; then 19783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 19784$as_echo "$MSGFMT" >&6; } 19785else 19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19787$as_echo "no" >&6; } 19788fi 19789 19790 # Extract the first word of "gmsgfmt", so it can be a program name with args. 19791set dummy gmsgfmt; ac_word=$2 19792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19793$as_echo_n "checking for $ac_word... " >&6; } 19794if ${ac_cv_path_GMSGFMT+:} false; then : 19795 $as_echo_n "(cached) " >&6 19796else 19797 case $GMSGFMT in 19798 [\\/]* | ?:[\\/]*) 19799 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 19800 ;; 19801 *) 19802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19803for as_dir in $PATH 19804do 19805 IFS=$as_save_IFS 19806 test -z "$as_dir" && as_dir=. 19807 for ac_exec_ext in '' $ac_executable_extensions; do 19808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19809 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 19810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19811 break 2 19812 fi 19813done 19814 done 19815IFS=$as_save_IFS 19816 19817 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 19818 ;; 19819esac 19820fi 19821GMSGFMT=$ac_cv_path_GMSGFMT 19822if test -n "$GMSGFMT"; then 19823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 19824$as_echo "$GMSGFMT" >&6; } 19825else 19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19827$as_echo "no" >&6; } 19828fi 19829 19830 19831 19832 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 19833 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 19834 *) GMSGFMT_015=$GMSGFMT ;; 19835 esac 19836 19837 19838 19839# Prepare PATH_SEPARATOR. 19840# The user is always right. 19841if test "${PATH_SEPARATOR+set}" != set; then 19842 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 19843 # contains only /bin. Note that ksh looks also at the FPATH variable, 19844 # so we have to set that as well for the test. 19845 PATH_SEPARATOR=: 19846 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 19847 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 19848 || PATH_SEPARATOR=';' 19849 } 19850fi 19851 19852# Find out how to test for executable files. Don't use a zero-byte file, 19853# as systems may use methods other than mode bits to determine executability. 19854cat >conf$$.file <<_ASEOF 19855#! /bin/sh 19856exit 0 19857_ASEOF 19858chmod +x conf$$.file 19859if test -x conf$$.file >/dev/null 2>&1; then 19860 ac_executable_p="test -x" 19861else 19862 ac_executable_p="test -f" 19863fi 19864rm -f conf$$.file 19865 19866# Extract the first word of "xgettext", so it can be a program name with args. 19867set dummy xgettext; ac_word=$2 19868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19869$as_echo_n "checking for $ac_word... " >&6; } 19870if ${ac_cv_path_XGETTEXT+:} false; then : 19871 $as_echo_n "(cached) " >&6 19872else 19873 case "$XGETTEXT" in 19874 [\\/]* | ?:[\\/]*) 19875 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 19876 ;; 19877 *) 19878 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 19879 for ac_dir in $PATH; do 19880 IFS="$ac_save_IFS" 19881 test -z "$ac_dir" && ac_dir=. 19882 for ac_exec_ext in '' $ac_executable_extensions; do 19883 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 19884 echo "$as_me: trying $ac_dir/$ac_word..." >&5 19885 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 19886 (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 19887 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 19888 break 2 19889 fi 19890 fi 19891 done 19892 done 19893 IFS="$ac_save_IFS" 19894 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 19895 ;; 19896esac 19897fi 19898XGETTEXT="$ac_cv_path_XGETTEXT" 19899if test "$XGETTEXT" != ":"; then 19900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 19901$as_echo "$XGETTEXT" >&6; } 19902else 19903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19904$as_echo "no" >&6; } 19905fi 19906 19907 rm -f messages.po 19908 19909 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 19910 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 19911 *) XGETTEXT_015=$XGETTEXT ;; 19912 esac 19913 19914 19915 19916# Prepare PATH_SEPARATOR. 19917# The user is always right. 19918if test "${PATH_SEPARATOR+set}" != set; then 19919 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 19920 # contains only /bin. Note that ksh looks also at the FPATH variable, 19921 # so we have to set that as well for the test. 19922 PATH_SEPARATOR=: 19923 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 19924 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 19925 || PATH_SEPARATOR=';' 19926 } 19927fi 19928 19929# Find out how to test for executable files. Don't use a zero-byte file, 19930# as systems may use methods other than mode bits to determine executability. 19931cat >conf$$.file <<_ASEOF 19932#! /bin/sh 19933exit 0 19934_ASEOF 19935chmod +x conf$$.file 19936if test -x conf$$.file >/dev/null 2>&1; then 19937 ac_executable_p="test -x" 19938else 19939 ac_executable_p="test -f" 19940fi 19941rm -f conf$$.file 19942 19943# Extract the first word of "msgmerge", so it can be a program name with args. 19944set dummy msgmerge; ac_word=$2 19945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19946$as_echo_n "checking for $ac_word... " >&6; } 19947if ${ac_cv_path_MSGMERGE+:} false; then : 19948 $as_echo_n "(cached) " >&6 19949else 19950 case "$MSGMERGE" in 19951 [\\/]* | ?:[\\/]*) 19952 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 19953 ;; 19954 *) 19955 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 19956 for ac_dir in $PATH; do 19957 IFS="$ac_save_IFS" 19958 test -z "$ac_dir" && ac_dir=. 19959 for ac_exec_ext in '' $ac_executable_extensions; do 19960 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 19961 echo "$as_me: trying $ac_dir/$ac_word..." >&5 19962 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 19963 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 19964 break 2 19965 fi 19966 fi 19967 done 19968 done 19969 IFS="$ac_save_IFS" 19970 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 19971 ;; 19972esac 19973fi 19974MSGMERGE="$ac_cv_path_MSGMERGE" 19975if test "$MSGMERGE" != ":"; then 19976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 19977$as_echo "$MSGMERGE" >&6; } 19978else 19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19980$as_echo "no" >&6; } 19981fi 19982 19983 19984 if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then 19985 MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt' 19986 else 19987 if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then 19988 MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet' 19989 else 19990 MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet' 19991 fi 19992 fi 19993 19994 19995 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 19996 19997 19998 ac_config_commands="$ac_config_commands po-directories" 19999 20000 20001 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 20025$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 20026if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 20027 $as_echo_n "(cached) " >&6 20028else 20029 gt_save_LIBS="$LIBS" 20030 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 20031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20032/* end confdefs.h. */ 20033#include <CoreFoundation/CFPreferences.h> 20034int 20035main () 20036{ 20037CFPreferencesCopyAppValue(NULL, NULL) 20038 ; 20039 return 0; 20040} 20041_ACEOF 20042if ac_fn_c_try_link "$LINENO"; then : 20043 gt_cv_func_CFPreferencesCopyAppValue=yes 20044else 20045 gt_cv_func_CFPreferencesCopyAppValue=no 20046fi 20047rm -f core conftest.err conftest.$ac_objext \ 20048 conftest$ac_exeext conftest.$ac_ext 20049 LIBS="$gt_save_LIBS" 20050fi 20051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 20052$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 20053 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 20054 20055$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 20056 20057 fi 20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 20059$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } 20060if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : 20061 $as_echo_n "(cached) " >&6 20062else 20063 gt_save_LIBS="$LIBS" 20064 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 20065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20066/* end confdefs.h. */ 20067#include <CoreFoundation/CFLocale.h> 20068int 20069main () 20070{ 20071CFLocaleCopyPreferredLanguages(); 20072 ; 20073 return 0; 20074} 20075_ACEOF 20076if ac_fn_c_try_link "$LINENO"; then : 20077 gt_cv_func_CFLocaleCopyPreferredLanguages=yes 20078else 20079 gt_cv_func_CFLocaleCopyPreferredLanguages=no 20080fi 20081rm -f core conftest.err conftest.$ac_objext \ 20082 conftest$ac_exeext conftest.$ac_ext 20083 LIBS="$gt_save_LIBS" 20084fi 20085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 20086$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } 20087 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then 20088 20089$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h 20090 20091 fi 20092 INTL_MACOSX_LIBS= 20093 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ 20094 || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then 20095 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 20096 fi 20097 20098 20099 20100 20101 20102 20103 LIBINTL= 20104 LTLIBINTL= 20105 POSUB= 20106 20107 case " $gt_needs " in 20108 *" need-formatstring-macros "*) gt_api_version=3 ;; 20109 *" need-ngettext "*) gt_api_version=2 ;; 20110 *) gt_api_version=1 ;; 20111 esac 20112 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 20113 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 20114 20115 if test "$USE_NLS" = "yes"; then 20116 gt_use_preinstalled_gnugettext=no 20117 20118 20119 if test $gt_api_version -ge 3; then 20120 gt_revision_test_code=' 20121#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 20122#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 20123#endif 20124typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 20125' 20126 else 20127 gt_revision_test_code= 20128 fi 20129 if test $gt_api_version -ge 2; then 20130 gt_expression_test_code=' + * ngettext ("", "", 0)' 20131 else 20132 gt_expression_test_code= 20133 fi 20134 20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 20136$as_echo_n "checking for GNU gettext in libc... " >&6; } 20137if eval \${$gt_func_gnugettext_libc+:} false; then : 20138 $as_echo_n "(cached) " >&6 20139else 20140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20141/* end confdefs.h. */ 20142 20143#include <libintl.h> 20144#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 20145extern int _nl_msg_cat_cntr; 20146extern int *_nl_domain_bindings; 20147#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) 20148#else 20149#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 20150#endif 20151$gt_revision_test_code 20152 20153int 20154main () 20155{ 20156 20157bindtextdomain ("", ""); 20158return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 20159 20160 ; 20161 return 0; 20162} 20163_ACEOF 20164if ac_fn_c_try_link "$LINENO"; then : 20165 eval "$gt_func_gnugettext_libc=yes" 20166else 20167 eval "$gt_func_gnugettext_libc=no" 20168fi 20169rm -f core conftest.err conftest.$ac_objext \ 20170 conftest$ac_exeext conftest.$ac_ext 20171fi 20172eval ac_res=\$$gt_func_gnugettext_libc 20173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 20174$as_echo "$ac_res" >&6; } 20175 20176 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 20177 20178 20179 20180 20181 20182 am_save_CPPFLAGS="$CPPFLAGS" 20183 20184 for element in $INCICONV; do 20185 haveit= 20186 for x in $CPPFLAGS; do 20187 20188 acl_save_prefix="$prefix" 20189 prefix="$acl_final_prefix" 20190 acl_save_exec_prefix="$exec_prefix" 20191 exec_prefix="$acl_final_exec_prefix" 20192 eval x=\"$x\" 20193 exec_prefix="$acl_save_exec_prefix" 20194 prefix="$acl_save_prefix" 20195 20196 if test "X$x" = "X$element"; then 20197 haveit=yes 20198 break 20199 fi 20200 done 20201 if test -z "$haveit"; then 20202 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 20203 fi 20204 done 20205 20206 20207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 20208$as_echo_n "checking for iconv... " >&6; } 20209if ${am_cv_func_iconv+:} false; then : 20210 $as_echo_n "(cached) " >&6 20211else 20212 20213 am_cv_func_iconv="no, consider installing GNU libiconv" 20214 am_cv_lib_iconv=no 20215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20216/* end confdefs.h. */ 20217 20218#include <stdlib.h> 20219#include <iconv.h> 20220 20221int 20222main () 20223{ 20224iconv_t cd = iconv_open("",""); 20225 iconv(cd,NULL,NULL,NULL,NULL); 20226 iconv_close(cd); 20227 ; 20228 return 0; 20229} 20230_ACEOF 20231if ac_fn_c_try_link "$LINENO"; then : 20232 am_cv_func_iconv=yes 20233fi 20234rm -f core conftest.err conftest.$ac_objext \ 20235 conftest$ac_exeext conftest.$ac_ext 20236 if test "$am_cv_func_iconv" != yes; then 20237 am_save_LIBS="$LIBS" 20238 LIBS="$LIBS $LIBICONV" 20239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20240/* end confdefs.h. */ 20241 20242#include <stdlib.h> 20243#include <iconv.h> 20244 20245int 20246main () 20247{ 20248iconv_t cd = iconv_open("",""); 20249 iconv(cd,NULL,NULL,NULL,NULL); 20250 iconv_close(cd); 20251 ; 20252 return 0; 20253} 20254_ACEOF 20255if ac_fn_c_try_link "$LINENO"; then : 20256 am_cv_lib_iconv=yes 20257 am_cv_func_iconv=yes 20258fi 20259rm -f core conftest.err conftest.$ac_objext \ 20260 conftest$ac_exeext conftest.$ac_ext 20261 LIBS="$am_save_LIBS" 20262 fi 20263 20264fi 20265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 20266$as_echo "$am_cv_func_iconv" >&6; } 20267 if test "$am_cv_func_iconv" = yes; then 20268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 20269$as_echo_n "checking for working iconv... " >&6; } 20270if ${am_cv_func_iconv_works+:} false; then : 20271 $as_echo_n "(cached) " >&6 20272else 20273 20274 am_save_LIBS="$LIBS" 20275 if test $am_cv_lib_iconv = yes; then 20276 LIBS="$LIBS $LIBICONV" 20277 fi 20278 am_cv_func_iconv_works=no 20279 for ac_iconv_const in '' 'const'; do 20280 if test "$cross_compiling" = yes; then : 20281 case "$host_os" in 20282 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 20283 *) am_cv_func_iconv_works="guessing yes" ;; 20284 esac 20285else 20286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20287/* end confdefs.h. */ 20288 20289#include <iconv.h> 20290#include <string.h> 20291 20292#ifndef ICONV_CONST 20293# define ICONV_CONST $ac_iconv_const 20294#endif 20295 20296int 20297main () 20298{ 20299int result = 0; 20300 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 20301 returns. */ 20302 { 20303 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 20304 if (cd_utf8_to_88591 != (iconv_t)(-1)) 20305 { 20306 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ 20307 char buf[10]; 20308 ICONV_CONST char *inptr = input; 20309 size_t inbytesleft = strlen (input); 20310 char *outptr = buf; 20311 size_t outbytesleft = sizeof (buf); 20312 size_t res = iconv (cd_utf8_to_88591, 20313 &inptr, &inbytesleft, 20314 &outptr, &outbytesleft); 20315 if (res == 0) 20316 result |= 1; 20317 iconv_close (cd_utf8_to_88591); 20318 } 20319 } 20320 /* Test against Solaris 10 bug: Failures are not distinguishable from 20321 successful returns. */ 20322 { 20323 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 20324 if (cd_ascii_to_88591 != (iconv_t)(-1)) 20325 { 20326 static ICONV_CONST char input[] = "\263"; 20327 char buf[10]; 20328 ICONV_CONST char *inptr = input; 20329 size_t inbytesleft = strlen (input); 20330 char *outptr = buf; 20331 size_t outbytesleft = sizeof (buf); 20332 size_t res = iconv (cd_ascii_to_88591, 20333 &inptr, &inbytesleft, 20334 &outptr, &outbytesleft); 20335 if (res == 0) 20336 result |= 2; 20337 iconv_close (cd_ascii_to_88591); 20338 } 20339 } 20340 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 20341 { 20342 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 20343 if (cd_88591_to_utf8 != (iconv_t)(-1)) 20344 { 20345 static ICONV_CONST char input[] = "\304"; 20346 static char buf[2] = { (char)0xDE, (char)0xAD }; 20347 ICONV_CONST char *inptr = input; 20348 size_t inbytesleft = 1; 20349 char *outptr = buf; 20350 size_t outbytesleft = 1; 20351 size_t res = iconv (cd_88591_to_utf8, 20352 &inptr, &inbytesleft, 20353 &outptr, &outbytesleft); 20354 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 20355 result |= 4; 20356 iconv_close (cd_88591_to_utf8); 20357 } 20358 } 20359#if 0 /* This bug could be worked around by the caller. */ 20360 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 20361 { 20362 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 20363 if (cd_88591_to_utf8 != (iconv_t)(-1)) 20364 { 20365 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 20366 char buf[50]; 20367 ICONV_CONST char *inptr = input; 20368 size_t inbytesleft = strlen (input); 20369 char *outptr = buf; 20370 size_t outbytesleft = sizeof (buf); 20371 size_t res = iconv (cd_88591_to_utf8, 20372 &inptr, &inbytesleft, 20373 &outptr, &outbytesleft); 20374 if ((int)res > 0) 20375 result |= 8; 20376 iconv_close (cd_88591_to_utf8); 20377 } 20378 } 20379#endif 20380 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 20381 provided. */ 20382 { 20383 /* Try standardized names. */ 20384 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); 20385 /* Try IRIX, OSF/1 names. */ 20386 iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); 20387 /* Try AIX names. */ 20388 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); 20389 /* Try HP-UX names. */ 20390 iconv_t cd4 = iconv_open ("utf8", "eucJP"); 20391 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) 20392 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) 20393 result |= 16; 20394 if (cd1 != (iconv_t)(-1)) 20395 iconv_close (cd1); 20396 if (cd2 != (iconv_t)(-1)) 20397 iconv_close (cd2); 20398 if (cd3 != (iconv_t)(-1)) 20399 iconv_close (cd3); 20400 if (cd4 != (iconv_t)(-1)) 20401 iconv_close (cd4); 20402 } 20403 return result; 20404 20405 ; 20406 return 0; 20407} 20408_ACEOF 20409if ac_fn_c_try_run "$LINENO"; then : 20410 am_cv_func_iconv_works=yes 20411fi 20412rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20413 conftest.$ac_objext conftest.beam conftest.$ac_ext 20414fi 20415 20416 test "$am_cv_func_iconv_works" = no || break 20417 done 20418 LIBS="$am_save_LIBS" 20419 20420fi 20421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 20422$as_echo "$am_cv_func_iconv_works" >&6; } 20423 case "$am_cv_func_iconv_works" in 20424 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 20425 *) am_func_iconv=yes ;; 20426 esac 20427 else 20428 am_func_iconv=no am_cv_lib_iconv=no 20429 fi 20430 if test "$am_func_iconv" = yes; then 20431 20432$as_echo "#define HAVE_ICONV 1" >>confdefs.h 20433 20434 fi 20435 if test "$am_cv_lib_iconv" = yes; then 20436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 20437$as_echo_n "checking how to link with libiconv... " >&6; } 20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 20439$as_echo "$LIBICONV" >&6; } 20440 else 20441 CPPFLAGS="$am_save_CPPFLAGS" 20442 LIBICONV= 20443 LTLIBICONV= 20444 fi 20445 20446 20447 20448 20449 20450 20451 20452 20453 20454 20455 use_additional=yes 20456 20457 acl_save_prefix="$prefix" 20458 prefix="$acl_final_prefix" 20459 acl_save_exec_prefix="$exec_prefix" 20460 exec_prefix="$acl_final_exec_prefix" 20461 20462 eval additional_includedir=\"$includedir\" 20463 eval additional_libdir=\"$libdir\" 20464 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 20465 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 20466 20467 exec_prefix="$acl_save_exec_prefix" 20468 prefix="$acl_save_prefix" 20469 20470 20471# Check whether --with-libintl-prefix was given. 20472if test "${with_libintl_prefix+set}" = set; then : 20473 withval=$with_libintl_prefix; 20474 if test "X$withval" = "Xno"; then 20475 use_additional=no 20476 else 20477 if test "X$withval" = "X"; then 20478 20479 acl_save_prefix="$prefix" 20480 prefix="$acl_final_prefix" 20481 acl_save_exec_prefix="$exec_prefix" 20482 exec_prefix="$acl_final_exec_prefix" 20483 20484 eval additional_includedir=\"$includedir\" 20485 eval additional_libdir=\"$libdir\" 20486 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 20487 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 20488 20489 exec_prefix="$acl_save_exec_prefix" 20490 prefix="$acl_save_prefix" 20491 20492 else 20493 additional_includedir="$withval/include" 20494 additional_libdir="$withval/$acl_libdirstem" 20495 additional_libdir2="$withval/$acl_libdirstem2" 20496 additional_libdir3="$withval/$acl_libdirstem3" 20497 fi 20498 fi 20499 20500fi 20501 20502 if test "X$additional_libdir2" = "X$additional_libdir"; then 20503 additional_libdir2= 20504 fi 20505 if test "X$additional_libdir3" = "X$additional_libdir"; then 20506 additional_libdir3= 20507 fi 20508 LIBINTL= 20509 LTLIBINTL= 20510 INCINTL= 20511 LIBINTL_PREFIX= 20512 HAVE_LIBINTL= 20513 rpathdirs= 20514 ltrpathdirs= 20515 names_already_handled= 20516 names_next_round='intl ' 20517 while test -n "$names_next_round"; do 20518 names_this_round="$names_next_round" 20519 names_next_round= 20520 for name in $names_this_round; do 20521 already_handled= 20522 for n in $names_already_handled; do 20523 if test "$n" = "$name"; then 20524 already_handled=yes 20525 break 20526 fi 20527 done 20528 if test -z "$already_handled"; then 20529 names_already_handled="$names_already_handled $name" 20530 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 20531 eval value=\"\$HAVE_LIB$uppername\" 20532 if test -n "$value"; then 20533 if test "$value" = yes; then 20534 eval value=\"\$LIB$uppername\" 20535 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 20536 eval value=\"\$LTLIB$uppername\" 20537 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 20538 else 20539 : 20540 fi 20541 else 20542 found_dir= 20543 found_la= 20544 found_so= 20545 found_a= 20546 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 20547 if test -n "$acl_shlibext"; then 20548 shrext=".$acl_shlibext" # typically: shrext=.so 20549 else 20550 shrext= 20551 fi 20552 if test $use_additional = yes; then 20553 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do 20554 if test "X$found_dir" = "X"; then 20555 eval dir=\$$additional_libdir_variable 20556 if test -n "$dir"; then 20557 if test -n "$acl_shlibext"; then 20558 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 20559 found_dir="$dir" 20560 found_so="$dir/$libname$shrext" 20561 else 20562 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 20563 ver=`(cd "$dir" && \ 20564 for f in "$libname$shrext".*; do echo "$f"; done \ 20565 | sed -e "s,^$libname$shrext\\\\.,," \ 20566 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 20567 | sed 1q ) 2>/dev/null` 20568 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 20569 found_dir="$dir" 20570 found_so="$dir/$libname$shrext.$ver" 20571 fi 20572 else 20573 eval library_names=\"$acl_library_names_spec\" 20574 for f in $library_names; do 20575 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 20576 found_dir="$dir" 20577 found_so="$dir/$f" 20578 break 20579 fi 20580 done 20581 fi 20582 fi 20583 fi 20584 if test "X$found_dir" = "X"; then 20585 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 20586 found_dir="$dir" 20587 found_a="$dir/$libname.$acl_libext" 20588 fi 20589 fi 20590 if test "X$found_dir" != "X"; then 20591 if test -f "$dir/$libname.la"; then 20592 found_la="$dir/$libname.la" 20593 fi 20594 fi 20595 fi 20596 fi 20597 done 20598 fi 20599 if test "X$found_dir" = "X"; then 20600 for x in $LDFLAGS $LTLIBINTL; do 20601 20602 acl_save_prefix="$prefix" 20603 prefix="$acl_final_prefix" 20604 acl_save_exec_prefix="$exec_prefix" 20605 exec_prefix="$acl_final_exec_prefix" 20606 eval x=\"$x\" 20607 exec_prefix="$acl_save_exec_prefix" 20608 prefix="$acl_save_prefix" 20609 20610 case "$x" in 20611 -L*) 20612 dir=`echo "X$x" | sed -e 's/^X-L//'` 20613 if test -n "$acl_shlibext"; then 20614 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 20615 found_dir="$dir" 20616 found_so="$dir/$libname$shrext" 20617 else 20618 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 20619 ver=`(cd "$dir" && \ 20620 for f in "$libname$shrext".*; do echo "$f"; done \ 20621 | sed -e "s,^$libname$shrext\\\\.,," \ 20622 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 20623 | sed 1q ) 2>/dev/null` 20624 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 20625 found_dir="$dir" 20626 found_so="$dir/$libname$shrext.$ver" 20627 fi 20628 else 20629 eval library_names=\"$acl_library_names_spec\" 20630 for f in $library_names; do 20631 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 20632 found_dir="$dir" 20633 found_so="$dir/$f" 20634 break 20635 fi 20636 done 20637 fi 20638 fi 20639 fi 20640 if test "X$found_dir" = "X"; then 20641 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 20642 found_dir="$dir" 20643 found_a="$dir/$libname.$acl_libext" 20644 fi 20645 fi 20646 if test "X$found_dir" != "X"; then 20647 if test -f "$dir/$libname.la"; then 20648 found_la="$dir/$libname.la" 20649 fi 20650 fi 20651 ;; 20652 esac 20653 if test "X$found_dir" != "X"; then 20654 break 20655 fi 20656 done 20657 fi 20658 if test "X$found_dir" != "X"; then 20659 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 20660 if test "X$found_so" != "X"; then 20661 if test "$enable_rpath" = no \ 20662 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 20663 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ 20664 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then 20665 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 20666 else 20667 haveit= 20668 for x in $ltrpathdirs; do 20669 if test "X$x" = "X$found_dir"; then 20670 haveit=yes 20671 break 20672 fi 20673 done 20674 if test -z "$haveit"; then 20675 ltrpathdirs="$ltrpathdirs $found_dir" 20676 fi 20677 if test "$acl_hardcode_direct" = yes; then 20678 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 20679 else 20680 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 20681 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 20682 haveit= 20683 for x in $rpathdirs; do 20684 if test "X$x" = "X$found_dir"; then 20685 haveit=yes 20686 break 20687 fi 20688 done 20689 if test -z "$haveit"; then 20690 rpathdirs="$rpathdirs $found_dir" 20691 fi 20692 else 20693 haveit= 20694 for x in $LDFLAGS $LIBINTL; do 20695 20696 acl_save_prefix="$prefix" 20697 prefix="$acl_final_prefix" 20698 acl_save_exec_prefix="$exec_prefix" 20699 exec_prefix="$acl_final_exec_prefix" 20700 eval x=\"$x\" 20701 exec_prefix="$acl_save_exec_prefix" 20702 prefix="$acl_save_prefix" 20703 20704 if test "X$x" = "X-L$found_dir"; then 20705 haveit=yes 20706 break 20707 fi 20708 done 20709 if test -z "$haveit"; then 20710 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 20711 fi 20712 if test "$acl_hardcode_minus_L" != no; then 20713 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 20714 else 20715 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 20716 fi 20717 fi 20718 fi 20719 fi 20720 else 20721 if test "X$found_a" != "X"; then 20722 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 20723 else 20724 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 20725 fi 20726 fi 20727 additional_includedir= 20728 case "$found_dir" in 20729 */$acl_libdirstem | */$acl_libdirstem/) 20730 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 20731 if test "$name" = 'intl'; then 20732 LIBINTL_PREFIX="$basedir" 20733 fi 20734 additional_includedir="$basedir/include" 20735 ;; 20736 */$acl_libdirstem2 | */$acl_libdirstem2/) 20737 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 20738 if test "$name" = 'intl'; then 20739 LIBINTL_PREFIX="$basedir" 20740 fi 20741 additional_includedir="$basedir/include" 20742 ;; 20743 */$acl_libdirstem3 | */$acl_libdirstem3/) 20744 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` 20745 if test "$name" = 'intl'; then 20746 LIBINTL_PREFIX="$basedir" 20747 fi 20748 additional_includedir="$basedir/include" 20749 ;; 20750 esac 20751 if test "X$additional_includedir" != "X"; then 20752 if test "X$additional_includedir" != "X/usr/include"; then 20753 haveit= 20754 if test "X$additional_includedir" = "X/usr/local/include"; then 20755 if test -n "$GCC"; then 20756 case $host_os in 20757 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 20758 esac 20759 fi 20760 fi 20761 if test -z "$haveit"; then 20762 for x in $CPPFLAGS $INCINTL; do 20763 20764 acl_save_prefix="$prefix" 20765 prefix="$acl_final_prefix" 20766 acl_save_exec_prefix="$exec_prefix" 20767 exec_prefix="$acl_final_exec_prefix" 20768 eval x=\"$x\" 20769 exec_prefix="$acl_save_exec_prefix" 20770 prefix="$acl_save_prefix" 20771 20772 if test "X$x" = "X-I$additional_includedir"; then 20773 haveit=yes 20774 break 20775 fi 20776 done 20777 if test -z "$haveit"; then 20778 if test -d "$additional_includedir"; then 20779 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 20780 fi 20781 fi 20782 fi 20783 fi 20784 fi 20785 if test -n "$found_la"; then 20786 save_libdir="$libdir" 20787 case "$found_la" in 20788 */* | *\\*) . "$found_la" ;; 20789 *) . "./$found_la" ;; 20790 esac 20791 libdir="$save_libdir" 20792 for dep in $dependency_libs; do 20793 case "$dep" in 20794 -L*) 20795 dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 20796 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ 20797 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ 20798 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then 20799 haveit= 20800 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ 20801 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ 20802 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then 20803 if test -n "$GCC"; then 20804 case $host_os in 20805 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 20806 esac 20807 fi 20808 fi 20809 if test -z "$haveit"; then 20810 haveit= 20811 for x in $LDFLAGS $LIBINTL; do 20812 20813 acl_save_prefix="$prefix" 20814 prefix="$acl_final_prefix" 20815 acl_save_exec_prefix="$exec_prefix" 20816 exec_prefix="$acl_final_exec_prefix" 20817 eval x=\"$x\" 20818 exec_prefix="$acl_save_exec_prefix" 20819 prefix="$acl_save_prefix" 20820 20821 if test "X$x" = "X-L$dependency_libdir"; then 20822 haveit=yes 20823 break 20824 fi 20825 done 20826 if test -z "$haveit"; then 20827 if test -d "$dependency_libdir"; then 20828 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir" 20829 fi 20830 fi 20831 haveit= 20832 for x in $LDFLAGS $LTLIBINTL; do 20833 20834 acl_save_prefix="$prefix" 20835 prefix="$acl_final_prefix" 20836 acl_save_exec_prefix="$exec_prefix" 20837 exec_prefix="$acl_final_exec_prefix" 20838 eval x=\"$x\" 20839 exec_prefix="$acl_save_exec_prefix" 20840 prefix="$acl_save_prefix" 20841 20842 if test "X$x" = "X-L$dependency_libdir"; then 20843 haveit=yes 20844 break 20845 fi 20846 done 20847 if test -z "$haveit"; then 20848 if test -d "$dependency_libdir"; then 20849 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir" 20850 fi 20851 fi 20852 fi 20853 fi 20854 ;; 20855 -R*) 20856 dir=`echo "X$dep" | sed -e 's/^X-R//'` 20857 if test "$enable_rpath" != no; then 20858 haveit= 20859 for x in $rpathdirs; do 20860 if test "X$x" = "X$dir"; then 20861 haveit=yes 20862 break 20863 fi 20864 done 20865 if test -z "$haveit"; then 20866 rpathdirs="$rpathdirs $dir" 20867 fi 20868 haveit= 20869 for x in $ltrpathdirs; do 20870 if test "X$x" = "X$dir"; then 20871 haveit=yes 20872 break 20873 fi 20874 done 20875 if test -z "$haveit"; then 20876 ltrpathdirs="$ltrpathdirs $dir" 20877 fi 20878 fi 20879 ;; 20880 -l*) 20881 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 20882 ;; 20883 *.la) 20884 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 20885 ;; 20886 *) 20887 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 20888 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 20889 ;; 20890 esac 20891 done 20892 fi 20893 else 20894 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 20895 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 20896 fi 20897 fi 20898 fi 20899 done 20900 done 20901 if test "X$rpathdirs" != "X"; then 20902 if test -n "$acl_hardcode_libdir_separator"; then 20903 alldirs= 20904 for found_dir in $rpathdirs; do 20905 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 20906 done 20907 acl_save_libdir="$libdir" 20908 libdir="$alldirs" 20909 eval flag=\"$acl_hardcode_libdir_flag_spec\" 20910 libdir="$acl_save_libdir" 20911 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 20912 else 20913 for found_dir in $rpathdirs; do 20914 acl_save_libdir="$libdir" 20915 libdir="$found_dir" 20916 eval flag=\"$acl_hardcode_libdir_flag_spec\" 20917 libdir="$acl_save_libdir" 20918 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 20919 done 20920 fi 20921 fi 20922 if test "X$ltrpathdirs" != "X"; then 20923 for found_dir in $ltrpathdirs; do 20924 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 20925 done 20926 fi 20927 20928 20929 20930 20931 20932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 20933$as_echo_n "checking for GNU gettext in libintl... " >&6; } 20934if eval \${$gt_func_gnugettext_libintl+:} false; then : 20935 $as_echo_n "(cached) " >&6 20936else 20937 gt_save_CPPFLAGS="$CPPFLAGS" 20938 CPPFLAGS="$CPPFLAGS $INCINTL" 20939 gt_save_LIBS="$LIBS" 20940 LIBS="$LIBS $LIBINTL" 20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20942/* end confdefs.h. */ 20943 20944#include <libintl.h> 20945#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 20946extern int _nl_msg_cat_cntr; 20947extern 20948#ifdef __cplusplus 20949"C" 20950#endif 20951const char *_nl_expand_alias (const char *); 20952#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 20953#else 20954#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 20955#endif 20956$gt_revision_test_code 20957 20958int 20959main () 20960{ 20961 20962bindtextdomain ("", ""); 20963return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 20964 20965 ; 20966 return 0; 20967} 20968_ACEOF 20969if ac_fn_c_try_link "$LINENO"; then : 20970 eval "$gt_func_gnugettext_libintl=yes" 20971else 20972 eval "$gt_func_gnugettext_libintl=no" 20973fi 20974rm -f core conftest.err conftest.$ac_objext \ 20975 conftest$ac_exeext conftest.$ac_ext 20976 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 20977 LIBS="$LIBS $LIBICONV" 20978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20979/* end confdefs.h. */ 20980 20981#include <libintl.h> 20982#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 20983extern int _nl_msg_cat_cntr; 20984extern 20985#ifdef __cplusplus 20986"C" 20987#endif 20988const char *_nl_expand_alias (const char *); 20989#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 20990#else 20991#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 20992#endif 20993$gt_revision_test_code 20994 20995int 20996main () 20997{ 20998 20999bindtextdomain ("", ""); 21000return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 21001 21002 ; 21003 return 0; 21004} 21005_ACEOF 21006if ac_fn_c_try_link "$LINENO"; then : 21007 LIBINTL="$LIBINTL $LIBICONV" 21008 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 21009 eval "$gt_func_gnugettext_libintl=yes" 21010 21011fi 21012rm -f core conftest.err conftest.$ac_objext \ 21013 conftest$ac_exeext conftest.$ac_ext 21014 fi 21015 CPPFLAGS="$gt_save_CPPFLAGS" 21016 LIBS="$gt_save_LIBS" 21017fi 21018eval ac_res=\$$gt_func_gnugettext_libintl 21019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 21020$as_echo "$ac_res" >&6; } 21021 fi 21022 21023 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 21024 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 21025 && test "$PACKAGE" != gettext-runtime \ 21026 && test "$PACKAGE" != gettext-tools; }; then 21027 gt_use_preinstalled_gnugettext=yes 21028 else 21029 LIBINTL= 21030 LTLIBINTL= 21031 INCINTL= 21032 fi 21033 21034 21035 21036 if test -n "$INTL_MACOSX_LIBS"; then 21037 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 21038 || test "$nls_cv_use_gnu_gettext" = "yes"; then 21039 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 21040 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 21041 fi 21042 fi 21043 21044 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 21045 || test "$nls_cv_use_gnu_gettext" = "yes"; then 21046 21047$as_echo "#define ENABLE_NLS 1" >>confdefs.h 21048 21049 else 21050 USE_NLS=no 21051 fi 21052 fi 21053 21054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 21055$as_echo_n "checking whether to use NLS... " >&6; } 21056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 21057$as_echo "$USE_NLS" >&6; } 21058 if test "$USE_NLS" = "yes"; then 21059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 21060$as_echo_n "checking where the gettext function comes from... " >&6; } 21061 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 21062 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 21063 gt_source="external libintl" 21064 else 21065 gt_source="libc" 21066 fi 21067 else 21068 gt_source="included intl directory" 21069 fi 21070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 21071$as_echo "$gt_source" >&6; } 21072 fi 21073 21074 if test "$USE_NLS" = "yes"; then 21075 21076 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 21077 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 21078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 21079$as_echo_n "checking how to link with libintl... " >&6; } 21080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 21081$as_echo "$LIBINTL" >&6; } 21082 21083 for element in $INCINTL; do 21084 haveit= 21085 for x in $CPPFLAGS; do 21086 21087 acl_save_prefix="$prefix" 21088 prefix="$acl_final_prefix" 21089 acl_save_exec_prefix="$exec_prefix" 21090 exec_prefix="$acl_final_exec_prefix" 21091 eval x=\"$x\" 21092 exec_prefix="$acl_save_exec_prefix" 21093 prefix="$acl_save_prefix" 21094 21095 if test "X$x" = "X$element"; then 21096 haveit=yes 21097 break 21098 fi 21099 done 21100 if test -z "$haveit"; then 21101 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 21102 fi 21103 done 21104 21105 fi 21106 21107 21108$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 21109 21110 21111$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 21112 21113 fi 21114 21115 POSUB=po 21116 fi 21117 21118 21119 21120 INTLLIBS="$LIBINTL" 21121 21122 21123 21124 21125 21126 21127 21128# Check whether --enable-manual was given. 21129if test "${enable_manual+set}" = set; then : 21130 enableval=$enable_manual; enable_manual=$enableval 21131else 21132 enable_manual=yes 21133fi 21134 21135 21136# Check whether --enable-libsm was given. 21137if test "${enable_libsm+set}" = set; then : 21138 enableval=$enable_libsm; enable_libsm=$enableval 21139else 21140 enable_libsm=yes 21141fi 21142 21143 21144# Check whether --enable-ipv6 was given. 21145if test "${enable_ipv6+set}" = set; then : 21146 enableval=$enable_ipv6; enable_ipv6=$enableval 21147else 21148 enable_ipv6=yes 21149fi 21150 21151 21152# Check whether --enable-gnutls was given. 21153if test "${enable_gnutls+set}" = set; then : 21154 enableval=$enable_gnutls; enable_gnutls=$enableval 21155else 21156 enable_gnutls=yes 21157fi 21158 21159 21160# Check whether --enable-enchant was given. 21161if test "${enable_enchant+set}" = set; then : 21162 enableval=$enable_enchant; enable_enchant=$enableval 21163else 21164 enable_enchant=yes 21165fi 21166 21167 21168# Check whether --enable-crash-dialog was given. 21169if test "${enable_crash_dialog+set}" = set; then : 21170 enableval=$enable_crash_dialog; enable_crash_dialog=$enableval 21171else 21172 enable_crash_dialog=no 21173fi 21174 21175 21176# Check whether --enable-generic-umpc was given. 21177if test "${enable_generic_umpc+set}" = set; then : 21178 enableval=$enable_generic_umpc; enable_generic_umpc=$enableval 21179else 21180 enable_generic_umpc=no 21181fi 21182 21183 21184# Check whether --enable-compface was given. 21185if test "${enable_compface+set}" = set; then : 21186 enableval=$enable_compface; enable_compface=$enableval 21187else 21188 enable_compface=yes 21189fi 21190 21191 21192# Check whether --enable-pthread was given. 21193if test "${enable_pthread+set}" = set; then : 21194 enableval=$enable_pthread; enable_pthread=$enableval 21195else 21196 enable_pthread=yes 21197fi 21198 21199 21200# Check whether --enable-startup-notification was given. 21201if test "${enable_startup_notification+set}" = set; then : 21202 enableval=$enable_startup_notification; enable_startup_notification=$enableval 21203else 21204 enable_startup_notification=yes 21205fi 21206 21207 21208# Check whether --enable-dbus was given. 21209if test "${enable_dbus+set}" = set; then : 21210 enableval=$enable_dbus; enable_dbus=$enableval 21211else 21212 enable_dbus=yes 21213fi 21214 21215 21216# Check whether --enable-ldap was given. 21217if test "${enable_ldap+set}" = set; then : 21218 enableval=$enable_ldap; enable_ldap=$enableval 21219else 21220 enable_ldap=yes 21221fi 21222 21223 21224# Check whether --enable-jpilot was given. 21225if test "${enable_jpilot+set}" = set; then : 21226 enableval=$enable_jpilot; enable_jpilot=$enableval 21227else 21228 enable_jpilot=yes 21229fi 21230 21231 21232# Check whether --enable-networkmanager was given. 21233if test "${enable_networkmanager+set}" = set; then : 21234 enableval=$enable_networkmanager; enable_networkmanager=$enableval 21235else 21236 enable_networkmanager=yes 21237fi 21238 21239 21240# Check whether --enable-libetpan was given. 21241if test "${enable_libetpan+set}" = set; then : 21242 enableval=$enable_libetpan; enable_libetpan=$enableval 21243else 21244 enable_libetpan=yes 21245fi 21246 21247 21248# Check whether --enable-valgrind was given. 21249if test "${enable_valgrind+set}" = set; then : 21250 enableval=$enable_valgrind; enable_valgrind=$enableval 21251else 21252 enable_valgrind=yes 21253fi 21254 21255 21256# Check whether --enable-alternate-addressbook was given. 21257if test "${enable_alternate_addressbook+set}" = set; then : 21258 enableval=$enable_alternate_addressbook; enable_alternate_addressbook=$enableval 21259else 21260 enable_alternate_addressbook=no 21261fi 21262 21263 21264# Check whether --enable-svg was given. 21265if test "${enable_svg+set}" = set; then : 21266 enableval=$enable_svg; enable_svg=$enableval 21267else 21268 enable_svg=yes 21269fi 21270 21271 21272# Check whether --enable-tests was given. 21273if test "${enable_tests+set}" = set; then : 21274 enableval=$enable_tests; enable_tests=$enableval 21275else 21276 enable_tests=no 21277fi 21278 21279 21280manualdir='${docdir}/manual' 21281 21282# Check whether --with-manualdir was given. 21283if test "${with_manualdir+set}" = set; then : 21284 withval=$with_manualdir; manualdir="$withval" 21285fi 21286 21287 21288 21289 21290# Extract the first word of "docbook2html", so it can be a program name with args. 21291set dummy docbook2html; ac_word=$2 21292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21293$as_echo_n "checking for $ac_word... " >&6; } 21294if ${ac_cv_path_DOCBOOK2HTML+:} false; then : 21295 $as_echo_n "(cached) " >&6 21296else 21297 case $DOCBOOK2HTML in 21298 [\\/]* | ?:[\\/]*) 21299 ac_cv_path_DOCBOOK2HTML="$DOCBOOK2HTML" # Let the user override the test with a path. 21300 ;; 21301 *) 21302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21303for as_dir in $PATH 21304do 21305 IFS=$as_save_IFS 21306 test -z "$as_dir" && as_dir=. 21307 for ac_exec_ext in '' $ac_executable_extensions; do 21308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 21309 ac_cv_path_DOCBOOK2HTML="$as_dir/$ac_word$ac_exec_ext" 21310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21311 break 2 21312 fi 21313done 21314 done 21315IFS=$as_save_IFS 21316 21317 ;; 21318esac 21319fi 21320DOCBOOK2HTML=$ac_cv_path_DOCBOOK2HTML 21321if test -n "$DOCBOOK2HTML"; then 21322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK2HTML" >&5 21323$as_echo "$DOCBOOK2HTML" >&6; } 21324else 21325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21326$as_echo "no" >&6; } 21327fi 21328 21329 21330# Extract the first word of "docbook2txt", so it can be a program name with args. 21331set dummy docbook2txt; ac_word=$2 21332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21333$as_echo_n "checking for $ac_word... " >&6; } 21334if ${ac_cv_path_DOCBOOK2TXT+:} false; then : 21335 $as_echo_n "(cached) " >&6 21336else 21337 case $DOCBOOK2TXT in 21338 [\\/]* | ?:[\\/]*) 21339 ac_cv_path_DOCBOOK2TXT="$DOCBOOK2TXT" # Let the user override the test with a path. 21340 ;; 21341 *) 21342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21343for as_dir in $PATH 21344do 21345 IFS=$as_save_IFS 21346 test -z "$as_dir" && as_dir=. 21347 for ac_exec_ext in '' $ac_executable_extensions; do 21348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 21349 ac_cv_path_DOCBOOK2TXT="$as_dir/$ac_word$ac_exec_ext" 21350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21351 break 2 21352 fi 21353done 21354 done 21355IFS=$as_save_IFS 21356 21357 ;; 21358esac 21359fi 21360DOCBOOK2TXT=$ac_cv_path_DOCBOOK2TXT 21361if test -n "$DOCBOOK2TXT"; then 21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK2TXT" >&5 21363$as_echo "$DOCBOOK2TXT" >&6; } 21364else 21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21366$as_echo "no" >&6; } 21367fi 21368 21369 21370# Extract the first word of "docbook2ps", so it can be a program name with args. 21371set dummy docbook2ps; ac_word=$2 21372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21373$as_echo_n "checking for $ac_word... " >&6; } 21374if ${ac_cv_path_DOCBOOK2PS+:} false; then : 21375 $as_echo_n "(cached) " >&6 21376else 21377 case $DOCBOOK2PS in 21378 [\\/]* | ?:[\\/]*) 21379 ac_cv_path_DOCBOOK2PS="$DOCBOOK2PS" # Let the user override the test with a path. 21380 ;; 21381 *) 21382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21383for as_dir in $PATH 21384do 21385 IFS=$as_save_IFS 21386 test -z "$as_dir" && as_dir=. 21387 for ac_exec_ext in '' $ac_executable_extensions; do 21388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 21389 ac_cv_path_DOCBOOK2PS="$as_dir/$ac_word$ac_exec_ext" 21390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21391 break 2 21392 fi 21393done 21394 done 21395IFS=$as_save_IFS 21396 21397 ;; 21398esac 21399fi 21400DOCBOOK2PS=$ac_cv_path_DOCBOOK2PS 21401if test -n "$DOCBOOK2PS"; then 21402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK2PS" >&5 21403$as_echo "$DOCBOOK2PS" >&6; } 21404else 21405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21406$as_echo "no" >&6; } 21407fi 21408 21409 21410# Extract the first word of "docbook2pdf", so it can be a program name with args. 21411set dummy docbook2pdf; ac_word=$2 21412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21413$as_echo_n "checking for $ac_word... " >&6; } 21414if ${ac_cv_path_DOCBOOK2PDF+:} false; then : 21415 $as_echo_n "(cached) " >&6 21416else 21417 case $DOCBOOK2PDF in 21418 [\\/]* | ?:[\\/]*) 21419 ac_cv_path_DOCBOOK2PDF="$DOCBOOK2PDF" # Let the user override the test with a path. 21420 ;; 21421 *) 21422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21423for as_dir in $PATH 21424do 21425 IFS=$as_save_IFS 21426 test -z "$as_dir" && as_dir=. 21427 for ac_exec_ext in '' $ac_executable_extensions; do 21428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 21429 ac_cv_path_DOCBOOK2PDF="$as_dir/$ac_word$ac_exec_ext" 21430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21431 break 2 21432 fi 21433done 21434 done 21435IFS=$as_save_IFS 21436 21437 ;; 21438esac 21439fi 21440DOCBOOK2PDF=$ac_cv_path_DOCBOOK2PDF 21441if test -n "$DOCBOOK2PDF"; then 21442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK2PDF" >&5 21443$as_echo "$DOCBOOK2PDF" >&6; } 21444else 21445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21446$as_echo "no" >&6; } 21447fi 21448 21449 21450 21451 if test -n "$DOCBOOK2HTML"; then 21452 MANUAL_HTML_TRUE= 21453 MANUAL_HTML_FALSE='#' 21454else 21455 MANUAL_HTML_TRUE='#' 21456 MANUAL_HTML_FALSE= 21457fi 21458 21459 if test -n "$DOCBOOK2TXT"; then 21460 MANUAL_TXT_TRUE= 21461 MANUAL_TXT_FALSE='#' 21462else 21463 MANUAL_TXT_TRUE='#' 21464 MANUAL_TXT_FALSE= 21465fi 21466 21467 if test -n "$DOCBOOK2PDF"; then 21468 MANUAL_PDF_TRUE= 21469 MANUAL_PDF_FALSE='#' 21470else 21471 MANUAL_PDF_TRUE='#' 21472 MANUAL_PDF_FALSE= 21473fi 21474 21475 if test -n "$DOCBOOK2PS"; then 21476 MANUAL_PS_TRUE= 21477 MANUAL_PS_FALSE='#' 21478else 21479 MANUAL_PS_TRUE='#' 21480 MANUAL_PS_FALSE= 21481fi 21482 21483 21484if test x"$enable_manual" = x"yes"; then 21485 if test -n "$DOCBOOK2TXT" -o -n "$DOCBOOK2HTML" \ 21486 -o -n "$DOCBOOK2PS" -o -n "$DOCBOOK2PDF"; then 21487 enable_manual=yes 21488 else 21489 enable_manual=no 21490 fi 21491fi 21492 21493 if test x"$enable_manual" = xyes; then 21494 BUILD_MANUAL_TRUE= 21495 BUILD_MANUAL_FALSE='#' 21496else 21497 BUILD_MANUAL_TRUE='#' 21498 BUILD_MANUAL_FALSE= 21499fi 21500 21501 21502if test "x${datarootdir}" = 'x${prefix}/share'; then 21503 if test "x${prefix}" = "xNONE"; then 21504 21505cat >>confdefs.h <<_ACEOF 21506#define PACKAGE_DATA_DIR "${ac_default_prefix}/share/${PACKAGE}" 21507_ACEOF 21508 21509 else 21510 21511cat >>confdefs.h <<_ACEOF 21512#define PACKAGE_DATA_DIR "${prefix}/share/${PACKAGE}" 21513_ACEOF 21514 21515 fi 21516else 21517 21518cat >>confdefs.h <<_ACEOF 21519#define PACKAGE_DATA_DIR "${datarootdir}/${PACKAGE}" 21520_ACEOF 21521 21522fi 21523 21524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for setlocale in -lxpg4" >&5 21525$as_echo_n "checking for setlocale in -lxpg4... " >&6; } 21526if ${ac_cv_lib_xpg4_setlocale+:} false; then : 21527 $as_echo_n "(cached) " >&6 21528else 21529 ac_check_lib_save_LIBS=$LIBS 21530LIBS="-lxpg4 $LIBS" 21531cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21532/* end confdefs.h. */ 21533 21534/* Override any GCC internal prototype to avoid an error. 21535 Use char because int might match the return type of a GCC 21536 builtin and then its argument prototype would still apply. */ 21537#ifdef __cplusplus 21538extern "C" 21539#endif 21540char setlocale (); 21541int 21542main () 21543{ 21544return setlocale (); 21545 ; 21546 return 0; 21547} 21548_ACEOF 21549if ac_fn_c_try_link "$LINENO"; then : 21550 ac_cv_lib_xpg4_setlocale=yes 21551else 21552 ac_cv_lib_xpg4_setlocale=no 21553fi 21554rm -f core conftest.err conftest.$ac_objext \ 21555 conftest$ac_exeext conftest.$ac_ext 21556LIBS=$ac_check_lib_save_LIBS 21557fi 21558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xpg4_setlocale" >&5 21559$as_echo "$ac_cv_lib_xpg4_setlocale" >&6; } 21560if test "x$ac_cv_lib_xpg4_setlocale" = xyes; then : 21561 cat >>confdefs.h <<_ACEOF 21562#define HAVE_LIBXPG4 1 21563_ACEOF 21564 21565 LIBS="-lxpg4 $LIBS" 21566 21567fi 21568 21569 21570SM_LIBS="" 21571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use LibSM" >&5 21572$as_echo_n "checking whether to use LibSM... " >&6; } 21573if test x"$enable_libsm" = xyes; then 21574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21575$as_echo "yes" >&6; } 21576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcSaveYourselfDone in -lSM" >&5 21577$as_echo_n "checking for SmcSaveYourselfDone in -lSM... " >&6; } 21578if ${ac_cv_lib_SM_SmcSaveYourselfDone+:} false; then : 21579 $as_echo_n "(cached) " >&6 21580else 21581 ac_check_lib_save_LIBS=$LIBS 21582LIBS="-lSM $X_LIBS -lICE $LIBS" 21583cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21584/* end confdefs.h. */ 21585 21586/* Override any GCC internal prototype to avoid an error. 21587 Use char because int might match the return type of a GCC 21588 builtin and then its argument prototype would still apply. */ 21589#ifdef __cplusplus 21590extern "C" 21591#endif 21592char SmcSaveYourselfDone (); 21593int 21594main () 21595{ 21596return SmcSaveYourselfDone (); 21597 ; 21598 return 0; 21599} 21600_ACEOF 21601if ac_fn_c_try_link "$LINENO"; then : 21602 ac_cv_lib_SM_SmcSaveYourselfDone=yes 21603else 21604 ac_cv_lib_SM_SmcSaveYourselfDone=no 21605fi 21606rm -f core conftest.err conftest.$ac_objext \ 21607 conftest$ac_exeext conftest.$ac_ext 21608LIBS=$ac_check_lib_save_LIBS 21609fi 21610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcSaveYourselfDone" >&5 21611$as_echo "$ac_cv_lib_SM_SmcSaveYourselfDone" >&6; } 21612if test "x$ac_cv_lib_SM_SmcSaveYourselfDone" = xyes; then : 21613 SM_LIBS="$X_LIBS -lSM -lICE" 21614else 21615 enable_libsm=no 21616fi 21617 21618 for ac_header in X11/SM/SMlib.h 21619do : 21620 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" 21621if test "x$ac_cv_header_X11_SM_SMlib_h" = xyes; then : 21622 cat >>confdefs.h <<_ACEOF 21623#define HAVE_X11_SM_SMLIB_H 1 21624_ACEOF 21625 21626else 21627 enable_libsm=no 21628fi 21629 21630done 21631 21632 if test x"$enable_libsm" = xyes; then 21633 21634$as_echo "#define HAVE_LIBSM 1" >>confdefs.h 21635 21636 else 21637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 21638$as_echo "not found" >&6; } 21639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** LibSM will not be supported ***" >&5 21640$as_echo "$as_me: WARNING: *** LibSM will not be supported ***" >&2;} 21641 fi 21642else 21643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21644$as_echo "no" >&6; } 21645fi 21646 21647 21648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct dirent has d_type member" >&5 21649$as_echo_n "checking whether struct dirent has d_type member... " >&6; } 21650if ${ac_cv_dirent_d_type+:} false; then : 21651 $as_echo_n "(cached) " >&6 21652else 21653 21654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21655/* end confdefs.h. */ 21656#include <dirent.h> 21657int 21658main () 21659{ 21660struct dirent d; d.d_type = DT_REG; 21661 ; 21662 return 0; 21663} 21664_ACEOF 21665if ac_fn_c_try_compile "$LINENO"; then : 21666 ac_cv_dirent_d_type=yes 21667else 21668 ac_cv_dirent_d_type=no 21669fi 21670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21671 21672fi 21673 21674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dirent_d_type" >&5 21675$as_echo "$ac_cv_dirent_d_type" >&6; } 21676if test $ac_cv_dirent_d_type = yes; then 21677 21678$as_echo "#define HAVE_DIRENT_D_TYPE 1" >>confdefs.h 21679 21680fi 21681 21682# Check whether mkdir does not take the permission argument. 21683for ac_header in sys/stat.h unistd.h direct.h 21684do : 21685 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21686ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21687if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21688 cat >>confdefs.h <<_ACEOF 21689#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21690_ACEOF 21691 21692fi 21693 21694done 21695 21696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if mkdir takes one argument" >&5 21697$as_echo_n "checking if mkdir takes one argument... " >&6; } 21698if ${gnupg_cv_mkdir_takes_one_arg+:} false; then : 21699 $as_echo_n "(cached) " >&6 21700else 21701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21702/* end confdefs.h. */ 21703 21704#include <sys/types.h> 21705#ifdef HAVE_SYS_STAT_H 21706# include <sys/stat.h> 21707#endif 21708#ifdef HAVE_UNISTD_H 21709# include <unistd.h> 21710#endif 21711#ifdef HAVE_DIRECT_H 21712# include <direct.h> 21713#endif 21714int 21715main () 21716{ 21717mkdir ("foo", 0); 21718 ; 21719 return 0; 21720} 21721_ACEOF 21722if ac_fn_c_try_compile "$LINENO"; then : 21723 gnupg_cv_mkdir_takes_one_arg=no 21724else 21725 gnupg_cv_mkdir_takes_one_arg=yes 21726fi 21727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21728fi 21729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnupg_cv_mkdir_takes_one_arg" >&5 21730$as_echo "$gnupg_cv_mkdir_takes_one_arg" >&6; } 21731if test $gnupg_cv_mkdir_takes_one_arg = yes ; then 21732 21733$as_echo "#define MKDIR_TAKES_ONE_ARG 1" >>confdefs.h 21734 21735fi 21736 21737 21738ac_header_dirent=no 21739for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 21740 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 21741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 21742$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 21743if eval \${$as_ac_Header+:} false; then : 21744 $as_echo_n "(cached) " >&6 21745else 21746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21747/* end confdefs.h. */ 21748#include <sys/types.h> 21749#include <$ac_hdr> 21750 21751int 21752main () 21753{ 21754if ((DIR *) 0) 21755return 0; 21756 ; 21757 return 0; 21758} 21759_ACEOF 21760if ac_fn_c_try_compile "$LINENO"; then : 21761 eval "$as_ac_Header=yes" 21762else 21763 eval "$as_ac_Header=no" 21764fi 21765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21766fi 21767eval ac_res=\$$as_ac_Header 21768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 21769$as_echo "$ac_res" >&6; } 21770if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21771 cat >>confdefs.h <<_ACEOF 21772#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 21773_ACEOF 21774 21775ac_header_dirent=$ac_hdr; break 21776fi 21777 21778done 21779# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 21780if test $ac_header_dirent = dirent.h; then 21781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 21782$as_echo_n "checking for library containing opendir... " >&6; } 21783if ${ac_cv_search_opendir+:} false; then : 21784 $as_echo_n "(cached) " >&6 21785else 21786 ac_func_search_save_LIBS=$LIBS 21787cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21788/* end confdefs.h. */ 21789 21790/* Override any GCC internal prototype to avoid an error. 21791 Use char because int might match the return type of a GCC 21792 builtin and then its argument prototype would still apply. */ 21793#ifdef __cplusplus 21794extern "C" 21795#endif 21796char opendir (); 21797int 21798main () 21799{ 21800return opendir (); 21801 ; 21802 return 0; 21803} 21804_ACEOF 21805for ac_lib in '' dir; do 21806 if test -z "$ac_lib"; then 21807 ac_res="none required" 21808 else 21809 ac_res=-l$ac_lib 21810 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 21811 fi 21812 if ac_fn_c_try_link "$LINENO"; then : 21813 ac_cv_search_opendir=$ac_res 21814fi 21815rm -f core conftest.err conftest.$ac_objext \ 21816 conftest$ac_exeext 21817 if ${ac_cv_search_opendir+:} false; then : 21818 break 21819fi 21820done 21821if ${ac_cv_search_opendir+:} false; then : 21822 21823else 21824 ac_cv_search_opendir=no 21825fi 21826rm conftest.$ac_ext 21827LIBS=$ac_func_search_save_LIBS 21828fi 21829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 21830$as_echo "$ac_cv_search_opendir" >&6; } 21831ac_res=$ac_cv_search_opendir 21832if test "$ac_res" != no; then : 21833 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 21834 21835fi 21836 21837else 21838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 21839$as_echo_n "checking for library containing opendir... " >&6; } 21840if ${ac_cv_search_opendir+:} false; then : 21841 $as_echo_n "(cached) " >&6 21842else 21843 ac_func_search_save_LIBS=$LIBS 21844cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21845/* end confdefs.h. */ 21846 21847/* Override any GCC internal prototype to avoid an error. 21848 Use char because int might match the return type of a GCC 21849 builtin and then its argument prototype would still apply. */ 21850#ifdef __cplusplus 21851extern "C" 21852#endif 21853char opendir (); 21854int 21855main () 21856{ 21857return opendir (); 21858 ; 21859 return 0; 21860} 21861_ACEOF 21862for ac_lib in '' x; do 21863 if test -z "$ac_lib"; then 21864 ac_res="none required" 21865 else 21866 ac_res=-l$ac_lib 21867 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 21868 fi 21869 if ac_fn_c_try_link "$LINENO"; then : 21870 ac_cv_search_opendir=$ac_res 21871fi 21872rm -f core conftest.err conftest.$ac_objext \ 21873 conftest$ac_exeext 21874 if ${ac_cv_search_opendir+:} false; then : 21875 break 21876fi 21877done 21878if ${ac_cv_search_opendir+:} false; then : 21879 21880else 21881 ac_cv_search_opendir=no 21882fi 21883rm conftest.$ac_ext 21884LIBS=$ac_func_search_save_LIBS 21885fi 21886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 21887$as_echo "$ac_cv_search_opendir" >&6; } 21888ac_res=$ac_cv_search_opendir 21889if test "$ac_res" != no; then : 21890 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 21891 21892fi 21893 21894fi 21895 21896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 21897$as_echo_n "checking for ANSI C header files... " >&6; } 21898if ${ac_cv_header_stdc+:} false; then : 21899 $as_echo_n "(cached) " >&6 21900else 21901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21902/* end confdefs.h. */ 21903#include <stdlib.h> 21904#include <stdarg.h> 21905#include <string.h> 21906#include <float.h> 21907 21908int 21909main () 21910{ 21911 21912 ; 21913 return 0; 21914} 21915_ACEOF 21916if ac_fn_c_try_compile "$LINENO"; then : 21917 ac_cv_header_stdc=yes 21918else 21919 ac_cv_header_stdc=no 21920fi 21921rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21922 21923if test $ac_cv_header_stdc = yes; then 21924 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 21925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21926/* end confdefs.h. */ 21927#include <string.h> 21928 21929_ACEOF 21930if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 21931 $EGREP "memchr" >/dev/null 2>&1; then : 21932 21933else 21934 ac_cv_header_stdc=no 21935fi 21936rm -f conftest* 21937 21938fi 21939 21940if test $ac_cv_header_stdc = yes; then 21941 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 21942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21943/* end confdefs.h. */ 21944#include <stdlib.h> 21945 21946_ACEOF 21947if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 21948 $EGREP "free" >/dev/null 2>&1; then : 21949 21950else 21951 ac_cv_header_stdc=no 21952fi 21953rm -f conftest* 21954 21955fi 21956 21957if test $ac_cv_header_stdc = yes; then 21958 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 21959 if test "$cross_compiling" = yes; then : 21960 : 21961else 21962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21963/* end confdefs.h. */ 21964#include <ctype.h> 21965#include <stdlib.h> 21966#if ((' ' & 0x0FF) == 0x020) 21967# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 21968# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 21969#else 21970# define ISLOWER(c) \ 21971 (('a' <= (c) && (c) <= 'i') \ 21972 || ('j' <= (c) && (c) <= 'r') \ 21973 || ('s' <= (c) && (c) <= 'z')) 21974# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 21975#endif 21976 21977#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 21978int 21979main () 21980{ 21981 int i; 21982 for (i = 0; i < 256; i++) 21983 if (XOR (islower (i), ISLOWER (i)) 21984 || toupper (i) != TOUPPER (i)) 21985 return 2; 21986 return 0; 21987} 21988_ACEOF 21989if ac_fn_c_try_run "$LINENO"; then : 21990 21991else 21992 ac_cv_header_stdc=no 21993fi 21994rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21995 conftest.$ac_objext conftest.beam conftest.$ac_ext 21996fi 21997 21998fi 21999fi 22000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 22001$as_echo "$ac_cv_header_stdc" >&6; } 22002if test $ac_cv_header_stdc = yes; then 22003 22004$as_echo "#define STDC_HEADERS 1" >>confdefs.h 22005 22006fi 22007 22008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 22009$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 22010if ${ac_cv_header_sys_wait_h+:} false; then : 22011 $as_echo_n "(cached) " >&6 22012else 22013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22014/* end confdefs.h. */ 22015#include <sys/types.h> 22016#include <sys/wait.h> 22017#ifndef WEXITSTATUS 22018# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) 22019#endif 22020#ifndef WIFEXITED 22021# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 22022#endif 22023 22024int 22025main () 22026{ 22027 int s; 22028 wait (&s); 22029 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 22030 ; 22031 return 0; 22032} 22033_ACEOF 22034if ac_fn_c_try_compile "$LINENO"; then : 22035 ac_cv_header_sys_wait_h=yes 22036else 22037 ac_cv_header_sys_wait_h=no 22038fi 22039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22040fi 22041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 22042$as_echo "$ac_cv_header_sys_wait_h" >&6; } 22043if test $ac_cv_header_sys_wait_h = yes; then 22044 22045$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h 22046 22047fi 22048 22049for ac_header in fcntl.h sys/file.h unistd.h paths.h \ 22050 sys/param.h sys/utsname.h sys/select.h \ 22051 wchar.h wctype.h locale.h netdb.h 22052do : 22053 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 22054ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 22055if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 22056 cat >>confdefs.h <<_ACEOF 22057#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 22058_ACEOF 22059 22060fi 22061 22062done 22063 22064ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" 22065if test "x$ac_cv_header_execinfo_h" = xyes; then : 22066 22067$as_echo "#define HAVE_BACKTRACE 1" >>confdefs.h 22068 22069fi 22070 22071 22072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace_symbols" >&5 22073$as_echo_n "checking for library containing backtrace_symbols... " >&6; } 22074if ${ac_cv_search_backtrace_symbols+:} false; then : 22075 $as_echo_n "(cached) " >&6 22076else 22077 ac_func_search_save_LIBS=$LIBS 22078cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22079/* end confdefs.h. */ 22080 22081/* Override any GCC internal prototype to avoid an error. 22082 Use char because int might match the return type of a GCC 22083 builtin and then its argument prototype would still apply. */ 22084#ifdef __cplusplus 22085extern "C" 22086#endif 22087char backtrace_symbols (); 22088int 22089main () 22090{ 22091return backtrace_symbols (); 22092 ; 22093 return 0; 22094} 22095_ACEOF 22096for ac_lib in '' execinfo; do 22097 if test -z "$ac_lib"; then 22098 ac_res="none required" 22099 else 22100 ac_res=-l$ac_lib 22101 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 22102 fi 22103 if ac_fn_c_try_link "$LINENO"; then : 22104 ac_cv_search_backtrace_symbols=$ac_res 22105fi 22106rm -f core conftest.err conftest.$ac_objext \ 22107 conftest$ac_exeext 22108 if ${ac_cv_search_backtrace_symbols+:} false; then : 22109 break 22110fi 22111done 22112if ${ac_cv_search_backtrace_symbols+:} false; then : 22113 22114else 22115 ac_cv_search_backtrace_symbols=no 22116fi 22117rm conftest.$ac_ext 22118LIBS=$ac_func_search_save_LIBS 22119fi 22120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace_symbols" >&5 22121$as_echo "$ac_cv_search_backtrace_symbols" >&6; } 22122ac_res=$ac_cv_search_backtrace_symbols 22123if test "$ac_res" != no; then : 22124 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 22125 22126fi 22127 22128 22129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 22130$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 22131if ${ac_cv_c_const+:} false; then : 22132 $as_echo_n "(cached) " >&6 22133else 22134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22135/* end confdefs.h. */ 22136 22137int 22138main () 22139{ 22140 22141#ifndef __cplusplus 22142 /* Ultrix mips cc rejects this sort of thing. */ 22143 typedef int charset[2]; 22144 const charset cs = { 0, 0 }; 22145 /* SunOS 4.1.1 cc rejects this. */ 22146 char const *const *pcpcc; 22147 char **ppc; 22148 /* NEC SVR4.0.2 mips cc rejects this. */ 22149 struct point {int x, y;}; 22150 static struct point const zero = {0,0}; 22151 /* AIX XL C 1.02.0.0 rejects this. 22152 It does not let you subtract one const X* pointer from another in 22153 an arm of an if-expression whose if-part is not a constant 22154 expression */ 22155 const char *g = "string"; 22156 pcpcc = &g + (g ? g-g : 0); 22157 /* HPUX 7.0 cc rejects these. */ 22158 ++pcpcc; 22159 ppc = (char**) pcpcc; 22160 pcpcc = (char const *const *) ppc; 22161 { /* SCO 3.2v4 cc rejects this sort of thing. */ 22162 char tx; 22163 char *t = &tx; 22164 char const *s = 0 ? (char *) 0 : (char const *) 0; 22165 22166 *t++ = 0; 22167 if (s) return 0; 22168 } 22169 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 22170 int x[] = {25, 17}; 22171 const int *foo = &x[0]; 22172 ++foo; 22173 } 22174 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 22175 typedef const int *iptr; 22176 iptr p = 0; 22177 ++p; 22178 } 22179 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 22180 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 22181 struct s { int j; const int *ap[3]; } bx; 22182 struct s *b = &bx; b->j = 5; 22183 } 22184 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 22185 const int foo = 10; 22186 if (!foo) return 0; 22187 } 22188 return !cs[0] && !zero.x; 22189#endif 22190 22191 ; 22192 return 0; 22193} 22194_ACEOF 22195if ac_fn_c_try_compile "$LINENO"; then : 22196 ac_cv_c_const=yes 22197else 22198 ac_cv_c_const=no 22199fi 22200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22201fi 22202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 22203$as_echo "$ac_cv_c_const" >&6; } 22204if test $ac_cv_c_const = no; then 22205 22206$as_echo "#define const /**/" >>confdefs.h 22207 22208fi 22209 22210ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 22211if test "x$ac_cv_type_off_t" = xyes; then : 22212 22213else 22214 22215cat >>confdefs.h <<_ACEOF 22216#define off_t long int 22217_ACEOF 22218 22219fi 22220 22221ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 22222if test "x$ac_cv_type_pid_t" = xyes; then : 22223 22224else 22225 22226cat >>confdefs.h <<_ACEOF 22227#define pid_t int 22228_ACEOF 22229 22230fi 22231 22232ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 22233if test "x$ac_cv_type_size_t" = xyes; then : 22234 22235else 22236 22237cat >>confdefs.h <<_ACEOF 22238#define size_t unsigned int 22239_ACEOF 22240 22241fi 22242 22243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 22244$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 22245if ${ac_cv_struct_tm+:} false; then : 22246 $as_echo_n "(cached) " >&6 22247else 22248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22249/* end confdefs.h. */ 22250#include <sys/types.h> 22251#include <time.h> 22252 22253int 22254main () 22255{ 22256struct tm tm; 22257 int *p = &tm.tm_sec; 22258 return !p; 22259 ; 22260 return 0; 22261} 22262_ACEOF 22263if ac_fn_c_try_compile "$LINENO"; then : 22264 ac_cv_struct_tm=time.h 22265else 22266 ac_cv_struct_tm=sys/time.h 22267fi 22268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22269fi 22270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 22271$as_echo "$ac_cv_struct_tm" >&6; } 22272if test $ac_cv_struct_tm = sys/time.h; then 22273 22274$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 22275 22276fi 22277 22278 22279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 22280$as_echo_n "checking for wint_t... " >&6; } 22281if ${claws_cv_type_wint_t+:} false; then : 22282 $as_echo_n "(cached) " >&6 22283else 22284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22285/* end confdefs.h. */ 22286 22287#include <sys/types.h> 22288#if STDC_HEADERS 22289#include <stdlib.h> 22290#include <stddef.h> 22291#endif 22292 22293#if HAVE_WCHAR_H 22294#include <wchar.h> 22295#endif 22296 22297 22298int 22299main () 22300{ 22301 22302#undef wint_t 22303int a = sizeof(wint_t); 22304 22305 ; 22306 return 0; 22307} 22308_ACEOF 22309if ac_fn_c_try_compile "$LINENO"; then : 22310 claws_cv_type_wint_t=yes 22311else 22312 claws_cv_type_wint_t=no 22313fi 22314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22315fi 22316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $claws_cv_type_wint_t" >&5 22317$as_echo "$claws_cv_type_wint_t" >&6; } 22318if test $claws_cv_type_wint_t = no; then 22319 22320$as_echo "#define wint_t unsigned int" >>confdefs.h 22321 22322fi 22323 22324 22325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u32 typedef" >&5 22326$as_echo_n "checking for u32 typedef... " >&6; } 22327 if ${gnupg_cv_typedef_u32+:} false; then : 22328 $as_echo_n "(cached) " >&6 22329else 22330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22331/* end confdefs.h. */ 22332#include <stdlib.h> 22333 #include <sys/types.h> 22334int 22335main () 22336{ 22337 22338 #undef u32 22339 int a = sizeof(u32); 22340 22341 ; 22342 return 0; 22343} 22344_ACEOF 22345if ac_fn_c_try_compile "$LINENO"; then : 22346 gnupg_cv_typedef_u32=yes 22347else 22348 gnupg_cv_typedef_u32=no 22349fi 22350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22351fi 22352 22353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnupg_cv_typedef_u32" >&5 22354$as_echo "$gnupg_cv_typedef_u32" >&6; } 22355 if test "$gnupg_cv_typedef_u32" = yes; then 22356 22357$as_echo "#define HAVE_U32_TYPEDEF 1" >>confdefs.h 22358 22359 fi 22360 22361# The cast to long int works around a bug in the HP C Compiler 22362# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 22363# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 22364# This bug is HP SR number 8606223364. 22365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5 22366$as_echo_n "checking size of unsigned short... " >&6; } 22367if ${ac_cv_sizeof_unsigned_short+:} false; then : 22368 $as_echo_n "(cached) " >&6 22369else 22370 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then : 22371 22372else 22373 if test "$ac_cv_type_unsigned_short" = yes; then 22374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 22375$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22376as_fn_error 77 "cannot compute sizeof (unsigned short) 22377See \`config.log' for more details" "$LINENO" 5; } 22378 else 22379 ac_cv_sizeof_unsigned_short=0 22380 fi 22381fi 22382 22383fi 22384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5 22385$as_echo "$ac_cv_sizeof_unsigned_short" >&6; } 22386 22387 22388 22389cat >>confdefs.h <<_ACEOF 22390#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short 22391_ACEOF 22392 22393 22394# The cast to long int works around a bug in the HP C Compiler 22395# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 22396# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 22397# This bug is HP SR number 8606223364. 22398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5 22399$as_echo_n "checking size of unsigned int... " >&6; } 22400if ${ac_cv_sizeof_unsigned_int+:} false; then : 22401 $as_echo_n "(cached) " >&6 22402else 22403 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then : 22404 22405else 22406 if test "$ac_cv_type_unsigned_int" = yes; then 22407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 22408$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22409as_fn_error 77 "cannot compute sizeof (unsigned int) 22410See \`config.log' for more details" "$LINENO" 5; } 22411 else 22412 ac_cv_sizeof_unsigned_int=0 22413 fi 22414fi 22415 22416fi 22417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5 22418$as_echo "$ac_cv_sizeof_unsigned_int" >&6; } 22419 22420 22421 22422cat >>confdefs.h <<_ACEOF 22423#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int 22424_ACEOF 22425 22426 22427# The cast to long int works around a bug in the HP C Compiler 22428# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 22429# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 22430# This bug is HP SR number 8606223364. 22431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 22432$as_echo_n "checking size of unsigned long... " >&6; } 22433if ${ac_cv_sizeof_unsigned_long+:} false; then : 22434 $as_echo_n "(cached) " >&6 22435else 22436 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : 22437 22438else 22439 if test "$ac_cv_type_unsigned_long" = yes; then 22440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 22441$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22442as_fn_error 77 "cannot compute sizeof (unsigned long) 22443See \`config.log' for more details" "$LINENO" 5; } 22444 else 22445 ac_cv_sizeof_unsigned_long=0 22446 fi 22447fi 22448 22449fi 22450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 22451$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } 22452 22453 22454 22455cat >>confdefs.h <<_ACEOF 22456#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long 22457_ACEOF 22458 22459 22460 22461# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 22462# for constant arguments. Useless! 22463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 22464$as_echo_n "checking for working alloca.h... " >&6; } 22465if ${ac_cv_working_alloca_h+:} false; then : 22466 $as_echo_n "(cached) " >&6 22467else 22468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22469/* end confdefs.h. */ 22470#include <alloca.h> 22471int 22472main () 22473{ 22474char *p = (char *) alloca (2 * sizeof (int)); 22475 if (p) return 0; 22476 ; 22477 return 0; 22478} 22479_ACEOF 22480if ac_fn_c_try_link "$LINENO"; then : 22481 ac_cv_working_alloca_h=yes 22482else 22483 ac_cv_working_alloca_h=no 22484fi 22485rm -f core conftest.err conftest.$ac_objext \ 22486 conftest$ac_exeext conftest.$ac_ext 22487fi 22488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 22489$as_echo "$ac_cv_working_alloca_h" >&6; } 22490if test $ac_cv_working_alloca_h = yes; then 22491 22492$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 22493 22494fi 22495 22496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 22497$as_echo_n "checking for alloca... " >&6; } 22498if ${ac_cv_func_alloca_works+:} false; then : 22499 $as_echo_n "(cached) " >&6 22500else 22501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22502/* end confdefs.h. */ 22503#ifdef __GNUC__ 22504# define alloca __builtin_alloca 22505#else 22506# ifdef _MSC_VER 22507# include <malloc.h> 22508# define alloca _alloca 22509# else 22510# ifdef HAVE_ALLOCA_H 22511# include <alloca.h> 22512# else 22513# ifdef _AIX 22514 #pragma alloca 22515# else 22516# ifndef alloca /* predefined by HP cc +Olibcalls */ 22517void *alloca (size_t); 22518# endif 22519# endif 22520# endif 22521# endif 22522#endif 22523 22524int 22525main () 22526{ 22527char *p = (char *) alloca (1); 22528 if (p) return 0; 22529 ; 22530 return 0; 22531} 22532_ACEOF 22533if ac_fn_c_try_link "$LINENO"; then : 22534 ac_cv_func_alloca_works=yes 22535else 22536 ac_cv_func_alloca_works=no 22537fi 22538rm -f core conftest.err conftest.$ac_objext \ 22539 conftest$ac_exeext conftest.$ac_ext 22540fi 22541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 22542$as_echo "$ac_cv_func_alloca_works" >&6; } 22543 22544if test $ac_cv_func_alloca_works = yes; then 22545 22546$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 22547 22548else 22549 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 22550# that cause trouble. Some versions do not even contain alloca or 22551# contain a buggy version. If you still want to use their alloca, 22552# use ar to extract alloca.o from them instead of compiling alloca.c. 22553 22554ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 22555 22556$as_echo "#define C_ALLOCA 1" >>confdefs.h 22557 22558 22559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 22560$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 22561if ${ac_cv_os_cray+:} false; then : 22562 $as_echo_n "(cached) " >&6 22563else 22564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22565/* end confdefs.h. */ 22566#if defined CRAY && ! defined CRAY2 22567webecray 22568#else 22569wenotbecray 22570#endif 22571 22572_ACEOF 22573if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 22574 $EGREP "webecray" >/dev/null 2>&1; then : 22575 ac_cv_os_cray=yes 22576else 22577 ac_cv_os_cray=no 22578fi 22579rm -f conftest* 22580 22581fi 22582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 22583$as_echo "$ac_cv_os_cray" >&6; } 22584if test $ac_cv_os_cray = yes; then 22585 for ac_func in _getb67 GETB67 getb67; do 22586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 22587ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 22588if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 22589 22590cat >>confdefs.h <<_ACEOF 22591#define CRAY_STACKSEG_END $ac_func 22592_ACEOF 22593 22594 break 22595fi 22596 22597 done 22598fi 22599 22600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 22601$as_echo_n "checking stack direction for C alloca... " >&6; } 22602if ${ac_cv_c_stack_direction+:} false; then : 22603 $as_echo_n "(cached) " >&6 22604else 22605 if test "$cross_compiling" = yes; then : 22606 ac_cv_c_stack_direction=0 22607else 22608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22609/* end confdefs.h. */ 22610$ac_includes_default 22611int 22612find_stack_direction (int *addr, int depth) 22613{ 22614 int dir, dummy = 0; 22615 if (! addr) 22616 addr = &dummy; 22617 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; 22618 dir = depth ? find_stack_direction (addr, depth - 1) : 0; 22619 return dir + dummy; 22620} 22621 22622int 22623main (int argc, char **argv) 22624{ 22625 return find_stack_direction (0, argc + !argv + 20) < 0; 22626} 22627_ACEOF 22628if ac_fn_c_try_run "$LINENO"; then : 22629 ac_cv_c_stack_direction=1 22630else 22631 ac_cv_c_stack_direction=-1 22632fi 22633rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 22634 conftest.$ac_objext conftest.beam conftest.$ac_ext 22635fi 22636 22637fi 22638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 22639$as_echo "$ac_cv_c_stack_direction" >&6; } 22640cat >>confdefs.h <<_ACEOF 22641#define STACK_DIRECTION $ac_cv_c_stack_direction 22642_ACEOF 22643 22644 22645fi 22646 22647for ac_func in gethostname mkdir mktime socket strstr strchr strcasestr \ 22648 uname flock lockf inet_aton inet_addr \ 22649 fchmod mkstemp truncate getuid regcomp 22650do : 22651 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 22652ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 22653if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 22654 cat >>confdefs.h <<_ACEOF 22655#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 22656_ACEOF 22657 22658fi 22659done 22660 22661 22662for ac_func in fgets_unlocked fgetc_unlocked fputs_unlocked fputc_unlocked fread_unlocked fwrite_unlocked feof_unlocked ferror_unlocked fmemopen 22663do : 22664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 22665ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 22666if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 22667 cat >>confdefs.h <<_ACEOF 22668#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 22669_ACEOF 22670 22671fi 22672done 22673 22674 22675 22676 22677pkg_failed=no 22678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 22679$as_echo_n "checking for GLIB... " >&6; } 22680 22681if test -n "$GLIB_CFLAGS"; then 22682 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 22683 elif test -n "$PKG_CONFIG"; then 22684 if test -n "$PKG_CONFIG" && \ 22685 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28 gmodule-2.0 >= 2.28 gobject-2.0 >= 2.28 gthread-2.0 >= 2.28\""; } >&5 22686 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28 gmodule-2.0 >= 2.28 gobject-2.0 >= 2.28 gthread-2.0 >= 2.28") 2>&5 22687 ac_status=$? 22688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22689 test $ac_status = 0; }; then 22690 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28 gmodule-2.0 >= 2.28 gobject-2.0 >= 2.28 gthread-2.0 >= 2.28" 2>/dev/null` 22691 test "x$?" != "x0" && pkg_failed=yes 22692else 22693 pkg_failed=yes 22694fi 22695 else 22696 pkg_failed=untried 22697fi 22698if test -n "$GLIB_LIBS"; then 22699 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 22700 elif test -n "$PKG_CONFIG"; then 22701 if test -n "$PKG_CONFIG" && \ 22702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28 gmodule-2.0 >= 2.28 gobject-2.0 >= 2.28 gthread-2.0 >= 2.28\""; } >&5 22703 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28 gmodule-2.0 >= 2.28 gobject-2.0 >= 2.28 gthread-2.0 >= 2.28") 2>&5 22704 ac_status=$? 22705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22706 test $ac_status = 0; }; then 22707 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28 gmodule-2.0 >= 2.28 gobject-2.0 >= 2.28 gthread-2.0 >= 2.28" 2>/dev/null` 22708 test "x$?" != "x0" && pkg_failed=yes 22709else 22710 pkg_failed=yes 22711fi 22712 else 22713 pkg_failed=untried 22714fi 22715 22716 22717 22718if test $pkg_failed = yes; then 22719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22720$as_echo "no" >&6; } 22721 22722if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22723 _pkg_short_errors_supported=yes 22724else 22725 _pkg_short_errors_supported=no 22726fi 22727 if test $_pkg_short_errors_supported = yes; then 22728 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28 gmodule-2.0 >= 2.28 gobject-2.0 >= 2.28 gthread-2.0 >= 2.28" 2>&1` 22729 else 22730 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28 gmodule-2.0 >= 2.28 gobject-2.0 >= 2.28 gthread-2.0 >= 2.28" 2>&1` 22731 fi 22732 # Put the nasty error message in config.log where it belongs 22733 echo "$GLIB_PKG_ERRORS" >&5 22734 22735 as_fn_error $? "Package requirements (glib-2.0 >= 2.28 gmodule-2.0 >= 2.28 gobject-2.0 >= 2.28 gthread-2.0 >= 2.28) were not met: 22736 22737$GLIB_PKG_ERRORS 22738 22739Consider adjusting the PKG_CONFIG_PATH environment variable if you 22740installed software in a non-standard prefix. 22741 22742Alternatively, you may set the environment variables GLIB_CFLAGS 22743and GLIB_LIBS to avoid the need to call pkg-config. 22744See the pkg-config man page for more details." "$LINENO" 5 22745elif test $pkg_failed = untried; then 22746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22747$as_echo "no" >&6; } 22748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 22749$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22750as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 22751is in your PATH or set the PKG_CONFIG environment variable to the full 22752path to pkg-config. 22753 22754Alternatively, you may set the environment variables GLIB_CFLAGS 22755and GLIB_LIBS to avoid the need to call pkg-config. 22756See the pkg-config man page for more details. 22757 22758To get pkg-config, see <http://pkg-config.freedesktop.org/>. 22759See \`config.log' for more details" "$LINENO" 5; } 22760else 22761 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 22762 GLIB_LIBS=$pkg_cv_GLIB_LIBS 22763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22764$as_echo "yes" >&6; } 22765 22766fi 22767 22768GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` 22769 22770 22771 22772 22773 22774 22775pkg_failed=no 22776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 22777$as_echo_n "checking for GDK_PIXBUF... " >&6; } 22778 22779if test -n "$GDK_PIXBUF_CFLAGS"; then 22780 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 22781 elif test -n "$PKG_CONFIG"; then 22782 if test -n "$PKG_CONFIG" && \ 22783 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.26\""; } >&5 22784 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26") 2>&5 22785 ac_status=$? 22786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22787 test $ac_status = 0; }; then 22788 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.26" 2>/dev/null` 22789 test "x$?" != "x0" && pkg_failed=yes 22790else 22791 pkg_failed=yes 22792fi 22793 else 22794 pkg_failed=untried 22795fi 22796if test -n "$GDK_PIXBUF_LIBS"; then 22797 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 22798 elif test -n "$PKG_CONFIG"; then 22799 if test -n "$PKG_CONFIG" && \ 22800 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.26\""; } >&5 22801 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26") 2>&5 22802 ac_status=$? 22803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22804 test $ac_status = 0; }; then 22805 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.26" 2>/dev/null` 22806 test "x$?" != "x0" && pkg_failed=yes 22807else 22808 pkg_failed=yes 22809fi 22810 else 22811 pkg_failed=untried 22812fi 22813 22814 22815 22816if test $pkg_failed = yes; then 22817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22818$as_echo "no" >&6; } 22819 22820if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22821 _pkg_short_errors_supported=yes 22822else 22823 _pkg_short_errors_supported=no 22824fi 22825 if test $_pkg_short_errors_supported = yes; then 22826 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.26" 2>&1` 22827 else 22828 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.26" 2>&1` 22829 fi 22830 # Put the nasty error message in config.log where it belongs 22831 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 22832 22833 as_fn_error $? "Package requirements (gdk-pixbuf-2.0 >= 2.26) were not met: 22834 22835$GDK_PIXBUF_PKG_ERRORS 22836 22837Consider adjusting the PKG_CONFIG_PATH environment variable if you 22838installed software in a non-standard prefix. 22839 22840Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS 22841and GDK_PIXBUF_LIBS to avoid the need to call pkg-config. 22842See the pkg-config man page for more details." "$LINENO" 5 22843elif test $pkg_failed = untried; then 22844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22845$as_echo "no" >&6; } 22846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 22847$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22848as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 22849is in your PATH or set the PKG_CONFIG environment variable to the full 22850path to pkg-config. 22851 22852Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS 22853and GDK_PIXBUF_LIBS to avoid the need to call pkg-config. 22854See the pkg-config man page for more details. 22855 22856To get pkg-config, see <http://pkg-config.freedesktop.org/>. 22857See \`config.log' for more details" "$LINENO" 5; } 22858else 22859 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 22860 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 22861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22862$as_echo "yes" >&6; } 22863 22864fi 22865 22866syl_save_LIBS=$LIBS 22867LIBS="$LIBS $GTK_LIBS" 22868for ac_func in bind_textdomain_codeset 22869do : 22870 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 22871if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 22872 cat >>confdefs.h <<_ACEOF 22873#define HAVE_BIND_TEXTDOMAIN_CODESET 1 22874_ACEOF 22875 22876fi 22877done 22878 22879LIBS=$syl_save_LIBS 22880 22881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use IPv6" >&5 22882$as_echo_n "checking whether to use IPv6... " >&6; } 22883if test x"$enable_ipv6" = xyes; then 22884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22885$as_echo "yes" >&6; } 22886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 support" >&5 22887$as_echo_n "checking for IPv6 support... " >&6; } 22888 if test x"$platform_win32" = xyes; then 22889 if ${ac_cv_ipv6+:} false; then : 22890 $as_echo_n "(cached) " >&6 22891else 22892 22893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22894/* end confdefs.h. */ 22895 22896 #include <ws2tcpip.h> 22897 22898int 22899main () 22900{ 22901struct in6_addr a; 22902 ; 22903 return 0; 22904} 22905_ACEOF 22906if ac_fn_c_try_compile "$LINENO"; then : 22907 ac_cv_ipv6=yes 22908else 22909 ac_cv_ipv6=no 22910fi 22911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22912 22913fi 22914 22915 else 22916 if ${ac_cv_ipv6+:} false; then : 22917 $as_echo_n "(cached) " >&6 22918else 22919 22920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22921/* end confdefs.h. */ 22922 22923 #define INET6 22924 #include <sys/types.h> 22925 #include <netinet/in.h> 22926 22927int 22928main () 22929{ 22930int x = IPPROTO_IPV6; struct in6_addr a; 22931 ; 22932 return 0; 22933} 22934_ACEOF 22935if ac_fn_c_try_compile "$LINENO"; then : 22936 ac_cv_ipv6=yes 22937else 22938 ac_cv_ipv6=no 22939fi 22940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22941 22942fi 22943 22944 fi 22945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ipv6" >&5 22946$as_echo "$ac_cv_ipv6" >&6; } 22947 if test $ac_cv_ipv6 = yes; then 22948 22949$as_echo "#define INET6 1" >>confdefs.h 22950 22951 else 22952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** IPv6 will not be supported ***" >&5 22953$as_echo "$as_me: WARNING: *** IPv6 will not be supported ***" >&2;} 22954 enable_ipv6=no 22955 fi 22956else 22957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22958$as_echo "no" >&6; } 22959fi 22960 22961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use GnuTLS" >&5 22962$as_echo_n "checking whether to use GnuTLS... " >&6; } 22963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gnutls" >&5 22964$as_echo "$enable_gnutls" >&6; } 22965if test "x$enable_gnutls" != "xno"; then 22966 22967pkg_failed=no 22968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5 22969$as_echo_n "checking for GNUTLS... " >&6; } 22970 22971if test -n "$GNUTLS_CFLAGS"; then 22972 pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" 22973 elif test -n "$PKG_CONFIG"; then 22974 if test -n "$PKG_CONFIG" && \ 22975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.2\""; } >&5 22976 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.2") 2>&5 22977 ac_status=$? 22978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22979 test $ac_status = 0; }; then 22980 pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.2" 2>/dev/null` 22981 test "x$?" != "x0" && pkg_failed=yes 22982else 22983 pkg_failed=yes 22984fi 22985 else 22986 pkg_failed=untried 22987fi 22988if test -n "$GNUTLS_LIBS"; then 22989 pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" 22990 elif test -n "$PKG_CONFIG"; then 22991 if test -n "$PKG_CONFIG" && \ 22992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.2\""; } >&5 22993 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.2") 2>&5 22994 ac_status=$? 22995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22996 test $ac_status = 0; }; then 22997 pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.2" 2>/dev/null` 22998 test "x$?" != "x0" && pkg_failed=yes 22999else 23000 pkg_failed=yes 23001fi 23002 else 23003 pkg_failed=untried 23004fi 23005 23006 23007 23008if test $pkg_failed = yes; then 23009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23010$as_echo "no" >&6; } 23011 23012if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23013 _pkg_short_errors_supported=yes 23014else 23015 _pkg_short_errors_supported=no 23016fi 23017 if test $_pkg_short_errors_supported = yes; then 23018 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls >= 2.2" 2>&1` 23019 else 23020 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls >= 2.2" 2>&1` 23021 fi 23022 # Put the nasty error message in config.log where it belongs 23023 echo "$GNUTLS_PKG_ERRORS" >&5 23024 23025 23026 echo "Building without GnuTLS" 23027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** GnuTLS support is recommended " >&5 23028$as_echo "*** GnuTLS support is recommended " >&6; } 23029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** You can use --disable-gnutls if you don't need it." >&5 23030$as_echo "*** You can use --disable-gnutls if you don't need it." >&6; } 23031 as_fn_error $? "GnuTLS not found" "$LINENO" 5 23032 23033elif test $pkg_failed = untried; then 23034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23035$as_echo "no" >&6; } 23036 23037 echo "Building without GnuTLS" 23038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** GnuTLS support is recommended " >&5 23039$as_echo "*** GnuTLS support is recommended " >&6; } 23040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** You can use --disable-gnutls if you don't need it." >&5 23041$as_echo "*** You can use --disable-gnutls if you don't need it." >&6; } 23042 as_fn_error $? "GnuTLS not found" "$LINENO" 5 23043 23044else 23045 GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS 23046 GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS 23047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23048$as_echo "yes" >&6; } 23049 23050 23051$as_echo "#define USE_GNUTLS 1" >>confdefs.h 23052 23053 echo "Building with GnuTLS" 23054 23055pkg_failed=no 23056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5 23057$as_echo_n "checking for GNUTLS... " >&6; } 23058 23059if test -n "$GNUTLS_CFLAGS"; then 23060 pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" 23061 elif test -n "$PKG_CONFIG"; then 23062 if test -n "$PKG_CONFIG" && \ 23063 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.11\""; } >&5 23064 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.11") 2>&5 23065 ac_status=$? 23066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23067 test $ac_status = 0; }; then 23068 pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.11" 2>/dev/null` 23069 test "x$?" != "x0" && pkg_failed=yes 23070else 23071 pkg_failed=yes 23072fi 23073 else 23074 pkg_failed=untried 23075fi 23076if test -n "$GNUTLS_LIBS"; then 23077 pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" 23078 elif test -n "$PKG_CONFIG"; then 23079 if test -n "$PKG_CONFIG" && \ 23080 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.11\""; } >&5 23081 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.11") 2>&5 23082 ac_status=$? 23083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23084 test $ac_status = 0; }; then 23085 pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.11" 2>/dev/null` 23086 test "x$?" != "x0" && pkg_failed=yes 23087else 23088 pkg_failed=yes 23089fi 23090 else 23091 pkg_failed=untried 23092fi 23093 23094 23095 23096if test $pkg_failed = yes; then 23097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23098$as_echo "no" >&6; } 23099 23100if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23101 _pkg_short_errors_supported=yes 23102else 23103 _pkg_short_errors_supported=no 23104fi 23105 if test $_pkg_short_errors_supported = yes; then 23106 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls >= 2.11" 2>&1` 23107 else 23108 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls >= 2.11" 2>&1` 23109 fi 23110 # Put the nasty error message in config.log where it belongs 23111 echo "$GNUTLS_PKG_ERRORS" >&5 23112 23113 23114 GNUTLS_LIBS="$GNUTLS_LIBS -lgcrypt" 23115 23116elif test $pkg_failed = untried; then 23117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23118$as_echo "no" >&6; } 23119 23120 GNUTLS_LIBS="$GNUTLS_LIBS -lgcrypt" 23121 23122else 23123 GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS 23124 GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS 23125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23126$as_echo "yes" >&6; } 23127 23128 23129fi 23130 23131fi 23132 23133 23134fi 23135 23136 23137pkg_failed=no 23138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NETTLE" >&5 23139$as_echo_n "checking for NETTLE... " >&6; } 23140 23141if test -n "$NETTLE_CFLAGS"; then 23142 pkg_cv_NETTLE_CFLAGS="$NETTLE_CFLAGS" 23143 elif test -n "$PKG_CONFIG"; then 23144 if test -n "$PKG_CONFIG" && \ 23145 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nettle\""; } >&5 23146 ($PKG_CONFIG --exists --print-errors "nettle") 2>&5 23147 ac_status=$? 23148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23149 test $ac_status = 0; }; then 23150 pkg_cv_NETTLE_CFLAGS=`$PKG_CONFIG --cflags "nettle" 2>/dev/null` 23151 test "x$?" != "x0" && pkg_failed=yes 23152else 23153 pkg_failed=yes 23154fi 23155 else 23156 pkg_failed=untried 23157fi 23158if test -n "$NETTLE_LIBS"; then 23159 pkg_cv_NETTLE_LIBS="$NETTLE_LIBS" 23160 elif test -n "$PKG_CONFIG"; then 23161 if test -n "$PKG_CONFIG" && \ 23162 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nettle\""; } >&5 23163 ($PKG_CONFIG --exists --print-errors "nettle") 2>&5 23164 ac_status=$? 23165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23166 test $ac_status = 0; }; then 23167 pkg_cv_NETTLE_LIBS=`$PKG_CONFIG --libs "nettle" 2>/dev/null` 23168 test "x$?" != "x0" && pkg_failed=yes 23169else 23170 pkg_failed=yes 23171fi 23172 else 23173 pkg_failed=untried 23174fi 23175 23176 23177 23178if test $pkg_failed = yes; then 23179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23180$as_echo "no" >&6; } 23181 23182if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23183 _pkg_short_errors_supported=yes 23184else 23185 _pkg_short_errors_supported=no 23186fi 23187 if test $_pkg_short_errors_supported = yes; then 23188 NETTLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nettle" 2>&1` 23189 else 23190 NETTLE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nettle" 2>&1` 23191 fi 23192 # Put the nasty error message in config.log where it belongs 23193 echo "$NETTLE_PKG_ERRORS" >&5 23194 23195 as_fn_error $? "Package requirements (nettle) were not met: 23196 23197$NETTLE_PKG_ERRORS 23198 23199Consider adjusting the PKG_CONFIG_PATH environment variable if you 23200installed software in a non-standard prefix. 23201 23202Alternatively, you may set the environment variables NETTLE_CFLAGS 23203and NETTLE_LIBS to avoid the need to call pkg-config. 23204See the pkg-config man page for more details." "$LINENO" 5 23205elif test $pkg_failed = untried; then 23206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23207$as_echo "no" >&6; } 23208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23209$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23210as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 23211is in your PATH or set the PKG_CONFIG environment variable to the full 23212path to pkg-config. 23213 23214Alternatively, you may set the environment variables NETTLE_CFLAGS 23215and NETTLE_LIBS to avoid the need to call pkg-config. 23216See the pkg-config man page for more details. 23217 23218To get pkg-config, see <http://pkg-config.freedesktop.org/>. 23219See \`config.log' for more details" "$LINENO" 5; } 23220else 23221 NETTLE_CFLAGS=$pkg_cv_NETTLE_CFLAGS 23222 NETTLE_LIBS=$pkg_cv_NETTLE_LIBS 23223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23224$as_echo "yes" >&6; } 23225 23226fi 23227 23228 23229 23230# Check whether --with-passcrypt-key was given. 23231if test "${with_passcrypt_key+set}" = set; then : 23232 withval=$with_passcrypt_key; with_passcrypt_key="$withval" 23233else 23234 with_passcrypt_key="passkey0" 23235fi 23236 23237PASSCRYPT_KEY=$with_passcrypt_key 23238 23239 23240 23241# Check whether --with-config-dir was given. 23242if test "${with_config_dir+set}" = set; then : 23243 withval=$with_config_dir; ac_cv_with_config_dir="$withval" 23244else 23245 ac_cv_with_config_dir="" 23246fi 23247 23248 23249if test x"$ac_cv_with_config_dir" = x""; then 23250 if test x"$platform_win32" = xyes; then 23251 ac_cv_with_config_dir="Claws-mail" 23252 else 23253 ac_cv_with_config_dir=".claws-mail" 23254 fi 23255fi 23256 23257cat >>confdefs.h <<_ACEOF 23258#define CFG_RC_DIR "$ac_cv_with_config_dir" 23259_ACEOF 23260 23261 23262 23263# Check whether --with-password-encryption was given. 23264if test "${with_password_encryption+set}" = set; then : 23265 withval=$with_password_encryption; pwd_crypto="$withval" 23266else 23267 pwd_crypto="default" 23268fi 23269 23270 23271if test x"$pwd_crypto" = xdefault; then 23272 if test x"$enable_gnutls" = xyes; then 23273 if `$PKG_CONFIG --atleast-version=3.0 gnutls`; then 23274 pwd_crypto="gnutls" 23275 fi 23276 fi 23277fi 23278if test x"$pwd_crypto" = xdefault; then 23279 pwd_crypto="old" 23280fi 23281 23282case $pwd_crypto in 23283 gnutls) 23284 if test x"$enable_gnutls" = xno; then 23285 as_fn_error $? "GnuTLS password encryption requested but GnuTLS is not available." "$LINENO" 5 23286 fi 23287 if ! `$PKG_CONFIG --atleast-version=3.0 gnutls`; then 23288 as_fn_error $? "GnuTLS version at least 3.0 is required for password encryption." "$LINENO" 5 23289 fi 23290 23291$as_echo "#define PASSWORD_CRYPTO_GNUTLS 1" >>confdefs.h 23292 23293 ;; 23294 old) 23295 23296$as_echo "#define PASSWORD_CRYPTO_OLD 1" >>confdefs.h 23297 23298 ;; 23299 *) 23300 as_fn_error $? "Unknown password encryption provider requested." "$LINENO" 5 23301 ;; 23302esac 23303 23304 23305 23306 23307pkg_failed=no 23308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 23309$as_echo_n "checking for GTK... " >&6; } 23310 23311if test -n "$GTK_CFLAGS"; then 23312 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 23313 elif test -n "$PKG_CONFIG"; then 23314 if test -n "$PKG_CONFIG" && \ 23315 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24\""; } >&5 23316 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24") 2>&5 23317 ac_status=$? 23318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23319 test $ac_status = 0; }; then 23320 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.24" 2>/dev/null` 23321 test "x$?" != "x0" && pkg_failed=yes 23322else 23323 pkg_failed=yes 23324fi 23325 else 23326 pkg_failed=untried 23327fi 23328if test -n "$GTK_LIBS"; then 23329 pkg_cv_GTK_LIBS="$GTK_LIBS" 23330 elif test -n "$PKG_CONFIG"; then 23331 if test -n "$PKG_CONFIG" && \ 23332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24\""; } >&5 23333 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24") 2>&5 23334 ac_status=$? 23335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23336 test $ac_status = 0; }; then 23337 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.24" 2>/dev/null` 23338 test "x$?" != "x0" && pkg_failed=yes 23339else 23340 pkg_failed=yes 23341fi 23342 else 23343 pkg_failed=untried 23344fi 23345 23346 23347 23348if test $pkg_failed = yes; then 23349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23350$as_echo "no" >&6; } 23351 23352if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23353 _pkg_short_errors_supported=yes 23354else 23355 _pkg_short_errors_supported=no 23356fi 23357 if test $_pkg_short_errors_supported = yes; then 23358 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.24" 2>&1` 23359 else 23360 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.24" 2>&1` 23361 fi 23362 # Put the nasty error message in config.log where it belongs 23363 echo "$GTK_PKG_ERRORS" >&5 23364 23365 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.24) were not met: 23366 23367$GTK_PKG_ERRORS 23368 23369Consider adjusting the PKG_CONFIG_PATH environment variable if you 23370installed software in a non-standard prefix. 23371 23372Alternatively, you may set the environment variables GTK_CFLAGS 23373and GTK_LIBS to avoid the need to call pkg-config. 23374See the pkg-config man page for more details." "$LINENO" 5 23375elif test $pkg_failed = untried; then 23376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23377$as_echo "no" >&6; } 23378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23379$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23380as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 23381is in your PATH or set the PKG_CONFIG environment variable to the full 23382path to pkg-config. 23383 23384Alternatively, you may set the environment variables GTK_CFLAGS 23385and GTK_LIBS to avoid the need to call pkg-config. 23386See the pkg-config man page for more details. 23387 23388To get pkg-config, see <http://pkg-config.freedesktop.org/>. 23389See \`config.log' for more details" "$LINENO" 5; } 23390else 23391 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 23392 GTK_LIBS=$pkg_cv_GTK_LIBS 23393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23394$as_echo "yes" >&6; } 23395 23396fi 23397 23398# Check whether --enable-deprecated was given. 23399if test "${enable_deprecated+set}" = set; then : 23400 enableval=$enable_deprecated; gtkdeprecated=$enableval 23401fi 23402 23403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use deprecated GTK functions" >&5 23404$as_echo_n "checking whether to use deprecated GTK functions... " >&6; } 23405if test x"$gtkdeprecated" != xno; then 23406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23407$as_echo "yes" >&6; } 23408else 23409 GTK_CFLAGS="$GTK_CFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" 23410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23411$as_echo "no" >&6; } 23412fi 23413 23414GTK_CFLAGS="$GTK_CFLAGS -DGTK_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE" 23415 23416 23417 23418 23419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use enchant" >&5 23420$as_echo_n "checking whether to use enchant... " >&6; } 23421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_enchant" >&5 23422$as_echo "$enable_enchant" >&6; } 23423if test $enable_enchant = yes; then 23424 23425pkg_failed=no 23426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCHANT" >&5 23427$as_echo_n "checking for ENCHANT... " >&6; } 23428 23429if test -n "$ENCHANT_CFLAGS"; then 23430 pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS" 23431 elif test -n "$PKG_CONFIG"; then 23432 if test -n "$PKG_CONFIG" && \ 23433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= 1.4.0\""; } >&5 23434 ($PKG_CONFIG --exists --print-errors "enchant >= 1.4.0") 2>&5 23435 ac_status=$? 23436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23437 test $ac_status = 0; }; then 23438 pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant >= 1.4.0" 2>/dev/null` 23439 test "x$?" != "x0" && pkg_failed=yes 23440else 23441 pkg_failed=yes 23442fi 23443 else 23444 pkg_failed=untried 23445fi 23446if test -n "$ENCHANT_LIBS"; then 23447 pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS" 23448 elif test -n "$PKG_CONFIG"; then 23449 if test -n "$PKG_CONFIG" && \ 23450 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= 1.4.0\""; } >&5 23451 ($PKG_CONFIG --exists --print-errors "enchant >= 1.4.0") 2>&5 23452 ac_status=$? 23453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23454 test $ac_status = 0; }; then 23455 pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant >= 1.4.0" 2>/dev/null` 23456 test "x$?" != "x0" && pkg_failed=yes 23457else 23458 pkg_failed=yes 23459fi 23460 else 23461 pkg_failed=untried 23462fi 23463 23464 23465 23466if test $pkg_failed = yes; then 23467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23468$as_echo "no" >&6; } 23469 23470if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23471 _pkg_short_errors_supported=yes 23472else 23473 _pkg_short_errors_supported=no 23474fi 23475 if test $_pkg_short_errors_supported = yes; then 23476 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "enchant >= 1.4.0" 2>&1` 23477 else 23478 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "enchant >= 1.4.0" 2>&1` 23479 fi 23480 # Put the nasty error message in config.log where it belongs 23481 echo "$ENCHANT_PKG_ERRORS" >&5 23482 23483 23484 23485pkg_failed=no 23486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCHANT" >&5 23487$as_echo_n "checking for ENCHANT... " >&6; } 23488 23489if test -n "$ENCHANT_CFLAGS"; then 23490 pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS" 23491 elif test -n "$PKG_CONFIG"; then 23492 if test -n "$PKG_CONFIG" && \ 23493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant-2 >= 2.0.0\""; } >&5 23494 ($PKG_CONFIG --exists --print-errors "enchant-2 >= 2.0.0") 2>&5 23495 ac_status=$? 23496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23497 test $ac_status = 0; }; then 23498 pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant-2 >= 2.0.0" 2>/dev/null` 23499 test "x$?" != "x0" && pkg_failed=yes 23500else 23501 pkg_failed=yes 23502fi 23503 else 23504 pkg_failed=untried 23505fi 23506if test -n "$ENCHANT_LIBS"; then 23507 pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS" 23508 elif test -n "$PKG_CONFIG"; then 23509 if test -n "$PKG_CONFIG" && \ 23510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant-2 >= 2.0.0\""; } >&5 23511 ($PKG_CONFIG --exists --print-errors "enchant-2 >= 2.0.0") 2>&5 23512 ac_status=$? 23513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23514 test $ac_status = 0; }; then 23515 pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant-2 >= 2.0.0" 2>/dev/null` 23516 test "x$?" != "x0" && pkg_failed=yes 23517else 23518 pkg_failed=yes 23519fi 23520 else 23521 pkg_failed=untried 23522fi 23523 23524 23525 23526if test $pkg_failed = yes; then 23527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23528$as_echo "no" >&6; } 23529 23530if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23531 _pkg_short_errors_supported=yes 23532else 23533 _pkg_short_errors_supported=no 23534fi 23535 if test $_pkg_short_errors_supported = yes; then 23536 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "enchant-2 >= 2.0.0" 2>&1` 23537 else 23538 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "enchant-2 >= 2.0.0" 2>&1` 23539 fi 23540 # Put the nasty error message in config.log where it belongs 23541 echo "$ENCHANT_PKG_ERRORS" >&5 23542 23543 23544 echo "Building without enchant-notification" 23545 enable_enchant=no 23546 23547elif test $pkg_failed = untried; then 23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23549$as_echo "no" >&6; } 23550 23551 echo "Building without enchant-notification" 23552 enable_enchant=no 23553 23554else 23555 ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS 23556 ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS 23557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23558$as_echo "yes" >&6; } 23559 23560 23561$as_echo "#define USE_ENCHANT 1" >>confdefs.h 23562 23563 echo "Building with enchant-2" 23564 enable_enchant=yes 23565 23566fi 23567 23568elif test $pkg_failed = untried; then 23569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23570$as_echo "no" >&6; } 23571 23572 23573pkg_failed=no 23574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCHANT" >&5 23575$as_echo_n "checking for ENCHANT... " >&6; } 23576 23577if test -n "$ENCHANT_CFLAGS"; then 23578 pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS" 23579 elif test -n "$PKG_CONFIG"; then 23580 if test -n "$PKG_CONFIG" && \ 23581 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant-2 >= 2.0.0\""; } >&5 23582 ($PKG_CONFIG --exists --print-errors "enchant-2 >= 2.0.0") 2>&5 23583 ac_status=$? 23584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23585 test $ac_status = 0; }; then 23586 pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant-2 >= 2.0.0" 2>/dev/null` 23587 test "x$?" != "x0" && pkg_failed=yes 23588else 23589 pkg_failed=yes 23590fi 23591 else 23592 pkg_failed=untried 23593fi 23594if test -n "$ENCHANT_LIBS"; then 23595 pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS" 23596 elif test -n "$PKG_CONFIG"; then 23597 if test -n "$PKG_CONFIG" && \ 23598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant-2 >= 2.0.0\""; } >&5 23599 ($PKG_CONFIG --exists --print-errors "enchant-2 >= 2.0.0") 2>&5 23600 ac_status=$? 23601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23602 test $ac_status = 0; }; then 23603 pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant-2 >= 2.0.0" 2>/dev/null` 23604 test "x$?" != "x0" && pkg_failed=yes 23605else 23606 pkg_failed=yes 23607fi 23608 else 23609 pkg_failed=untried 23610fi 23611 23612 23613 23614if test $pkg_failed = yes; then 23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23616$as_echo "no" >&6; } 23617 23618if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23619 _pkg_short_errors_supported=yes 23620else 23621 _pkg_short_errors_supported=no 23622fi 23623 if test $_pkg_short_errors_supported = yes; then 23624 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "enchant-2 >= 2.0.0" 2>&1` 23625 else 23626 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "enchant-2 >= 2.0.0" 2>&1` 23627 fi 23628 # Put the nasty error message in config.log where it belongs 23629 echo "$ENCHANT_PKG_ERRORS" >&5 23630 23631 23632 echo "Building without enchant-notification" 23633 enable_enchant=no 23634 23635elif test $pkg_failed = untried; then 23636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23637$as_echo "no" >&6; } 23638 23639 echo "Building without enchant-notification" 23640 enable_enchant=no 23641 23642else 23643 ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS 23644 ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS 23645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23646$as_echo "yes" >&6; } 23647 23648 23649$as_echo "#define USE_ENCHANT 1" >>confdefs.h 23650 23651 echo "Building with enchant-2" 23652 enable_enchant=yes 23653 23654fi 23655 23656else 23657 ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS 23658 ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS 23659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23660$as_echo "yes" >&6; } 23661 23662 23663$as_echo "#define USE_ENCHANT 1" >>confdefs.h 23664 23665 echo "Building with enchant" 23666 enable_enchant=yes 23667 23668fi 23669 23670 23671fi 23672 23673if test $enable_crash_dialog = yes; then 23674 # Extract the first word of "gdb", so it can be a program name with args. 23675set dummy gdb; ac_word=$2 23676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23677$as_echo_n "checking for $ac_word... " >&6; } 23678if ${ac_cv_prog_enable_crash_dialog+:} false; then : 23679 $as_echo_n "(cached) " >&6 23680else 23681 if test -n "$enable_crash_dialog"; then 23682 ac_cv_prog_enable_crash_dialog="$enable_crash_dialog" # Let the user override the test. 23683else 23684as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23685for as_dir in $PATH 23686do 23687 IFS=$as_save_IFS 23688 test -z "$as_dir" && as_dir=. 23689 for ac_exec_ext in '' $ac_executable_extensions; do 23690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23691 ac_cv_prog_enable_crash_dialog="yes" 23692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23693 break 2 23694 fi 23695done 23696 done 23697IFS=$as_save_IFS 23698 23699 test -z "$ac_cv_prog_enable_crash_dialog" && ac_cv_prog_enable_crash_dialog="no" 23700fi 23701fi 23702enable_crash_dialog=$ac_cv_prog_enable_crash_dialog 23703if test -n "$enable_crash_dialog"; then 23704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_crash_dialog" >&5 23705$as_echo "$enable_crash_dialog" >&6; } 23706else 23707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23708$as_echo "no" >&6; } 23709fi 23710 23711 23712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use crash dialog" >&5 23713$as_echo_n "checking whether to use crash dialog... " >&6; } 23714 if test $enable_crash_dialog = yes; then 23715 23716$as_echo "#define CRASH_DIALOG 1" >>confdefs.h 23717 23718 fi 23719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_crash_dialog" >&5 23720$as_echo "$enable_crash_dialog" >&6; } 23721fi 23722 23723if test $enable_generic_umpc = yes; then 23724 23725$as_echo "#define GENERIC_UMPC 1" >>confdefs.h 23726 23727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generic_umpc" >&5 23728$as_echo "$enable_generic_umpc" >&6; } 23729fi 23730 23731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use compface" >&5 23732$as_echo_n "checking whether to use compface... " >&6; } 23733if test x"$enable_compface" = xyes; then 23734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23735$as_echo "yes" >&6; } 23736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompface in -lcompface" >&5 23737$as_echo_n "checking for uncompface in -lcompface... " >&6; } 23738if ${ac_cv_lib_compface_uncompface+:} false; then : 23739 $as_echo_n "(cached) " >&6 23740else 23741 ac_check_lib_save_LIBS=$LIBS 23742LIBS="-lcompface $LIBS" 23743cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23744/* end confdefs.h. */ 23745 23746/* Override any GCC internal prototype to avoid an error. 23747 Use char because int might match the return type of a GCC 23748 builtin and then its argument prototype would still apply. */ 23749#ifdef __cplusplus 23750extern "C" 23751#endif 23752char uncompface (); 23753int 23754main () 23755{ 23756return uncompface (); 23757 ; 23758 return 0; 23759} 23760_ACEOF 23761if ac_fn_c_try_link "$LINENO"; then : 23762 ac_cv_lib_compface_uncompface=yes 23763else 23764 ac_cv_lib_compface_uncompface=no 23765fi 23766rm -f core conftest.err conftest.$ac_objext \ 23767 conftest$ac_exeext conftest.$ac_ext 23768LIBS=$ac_check_lib_save_LIBS 23769fi 23770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_compface_uncompface" >&5 23771$as_echo "$ac_cv_lib_compface_uncompface" >&6; } 23772if test "x$ac_cv_lib_compface_uncompface" = xyes; then : 23773 23774$as_echo "#define HAVE_LIBCOMPFACE 1" >>confdefs.h 23775 23776else 23777 enable_compface=no 23778fi 23779 23780 if test x"$enable_compface" = xyes; then 23781 COMPFACE_LIBS="-lcompface" 23782 else 23783 COMPFACE_LIBS="" 23784 fi 23785 23786else 23787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23788$as_echo "no" >&6; } 23789fi 23790 23791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use pthread" >&5 23792$as_echo_n "checking whether to use pthread... " >&6; } 23793if test x$enable_pthread = xno; then 23794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23795$as_echo "no" >&6; } 23796else 23797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23798$as_echo "yes" >&6; } 23799 23800 # For W32 we need to use a special ptrhead lib. In this case we can't 23801 # use AC_CHECK_LIB because it has no means of checking for a 23802 # library installed under a different name. Checking for the 23803 # header is okay. 23804 if test -n "${pthread_name}" ; then 23805 enable_pthread=yes 23806 else 23807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 23808$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 23809if ${ac_cv_lib_pthread_pthread_create+:} false; then : 23810 $as_echo_n "(cached) " >&6 23811else 23812 ac_check_lib_save_LIBS=$LIBS 23813LIBS="-lpthread $LIBS" 23814cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23815/* end confdefs.h. */ 23816 23817/* Override any GCC internal prototype to avoid an error. 23818 Use char because int might match the return type of a GCC 23819 builtin and then its argument prototype would still apply. */ 23820#ifdef __cplusplus 23821extern "C" 23822#endif 23823char pthread_create (); 23824int 23825main () 23826{ 23827return pthread_create (); 23828 ; 23829 return 0; 23830} 23831_ACEOF 23832if ac_fn_c_try_link "$LINENO"; then : 23833 ac_cv_lib_pthread_pthread_create=yes 23834else 23835 ac_cv_lib_pthread_pthread_create=no 23836fi 23837rm -f core conftest.err conftest.$ac_objext \ 23838 conftest$ac_exeext conftest.$ac_ext 23839LIBS=$ac_check_lib_save_LIBS 23840fi 23841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 23842$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 23843if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 23844 : 23845else 23846 enable_pthread=no 23847fi 23848 23849 fi 23850 for ac_header in pthread.h 23851do : 23852 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 23853if test "x$ac_cv_header_pthread_h" = xyes; then : 23854 cat >>confdefs.h <<_ACEOF 23855#define HAVE_PTHREAD_H 1 23856_ACEOF 23857 : 23858else 23859 enable_pthread=no 23860fi 23861 23862done 23863 23864 23865 if test x$enable_pthread = xyes; then 23866 23867$as_echo "#define USE_PTHREAD 1" >>confdefs.h 23868 23869 if test -z "${pthread_name}" ; then 23870 PTHREAD_LIBS="-lpthread" 23871 fi 23872 fi 23873 23874fi 23875 23876 23877if test x$os_win32 = xno; then 23878 t_oldLibs="$LIBS" 23879 LIBS="$LIBS" 23880 ac_cv_var__res_options=no 23881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23882/* end confdefs.h. */ 23883#include <sys/types.h> 23884 #include <sys/socket.h> 23885 #include <netinet/in.h> 23886 #include <arpa/nameser.h> 23887 #include <resolv.h> 23888int 23889main () 23890{ 23891_res.options = RES_INIT; 23892 ; 23893 return 0; 23894} 23895_ACEOF 23896if ac_fn_c_try_link "$LINENO"; then : 23897 ac_cv_var__res_options=yes 23898fi 23899rm -f core conftest.err conftest.$ac_objext \ 23900 conftest$ac_exeext conftest.$ac_ext; 23901 if test "$ac_cv_var__res_options" != "yes"; then 23902 LIBRESOLV="-lresolv" 23903 fi 23904 LIBS="$t_oldLibs" 23905 23906 if test "x$LIBRESOLV" = "x"; then 23907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5 23908$as_echo_n "checking for res_query in -lresolv... " >&6; } 23909if ${ac_cv_lib_resolv_res_query+:} false; then : 23910 $as_echo_n "(cached) " >&6 23911else 23912 ac_check_lib_save_LIBS=$LIBS 23913LIBS="-lresolv $LIBS" 23914cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23915/* end confdefs.h. */ 23916 23917/* Override any GCC internal prototype to avoid an error. 23918 Use char because int might match the return type of a GCC 23919 builtin and then its argument prototype would still apply. */ 23920#ifdef __cplusplus 23921extern "C" 23922#endif 23923char res_query (); 23924int 23925main () 23926{ 23927return res_query (); 23928 ; 23929 return 0; 23930} 23931_ACEOF 23932if ac_fn_c_try_link "$LINENO"; then : 23933 ac_cv_lib_resolv_res_query=yes 23934else 23935 ac_cv_lib_resolv_res_query=no 23936fi 23937rm -f core conftest.err conftest.$ac_objext \ 23938 conftest$ac_exeext conftest.$ac_ext 23939LIBS=$ac_check_lib_save_LIBS 23940fi 23941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_query" >&5 23942$as_echo "$ac_cv_lib_resolv_res_query" >&6; } 23943if test "x$ac_cv_lib_resolv_res_query" = xyes; then : 23944 LIBRESOLV=-lresolv 23945fi 23946 23947 LIBS="$t_oldLibs" 23948 fi 23949fi 23950 23951 23952LIBS="$LIBS $LIBRESOLV" 23953 23954if test "x$enable_startup_notification" = "xyes"; then 23955 23956pkg_failed=no 23957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for STARTUP_NOTIFICATION" >&5 23958$as_echo_n "checking for STARTUP_NOTIFICATION... " >&6; } 23959 23960if test -n "$STARTUP_NOTIFICATION_CFLAGS"; then 23961 pkg_cv_STARTUP_NOTIFICATION_CFLAGS="$STARTUP_NOTIFICATION_CFLAGS" 23962 elif test -n "$PKG_CONFIG"; then 23963 if test -n "$PKG_CONFIG" && \ 23964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libstartup-notification-1.0 >= 0.5\""; } >&5 23965 ($PKG_CONFIG --exists --print-errors "libstartup-notification-1.0 >= 0.5") 2>&5 23966 ac_status=$? 23967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23968 test $ac_status = 0; }; then 23969 pkg_cv_STARTUP_NOTIFICATION_CFLAGS=`$PKG_CONFIG --cflags "libstartup-notification-1.0 >= 0.5" 2>/dev/null` 23970 test "x$?" != "x0" && pkg_failed=yes 23971else 23972 pkg_failed=yes 23973fi 23974 else 23975 pkg_failed=untried 23976fi 23977if test -n "$STARTUP_NOTIFICATION_LIBS"; then 23978 pkg_cv_STARTUP_NOTIFICATION_LIBS="$STARTUP_NOTIFICATION_LIBS" 23979 elif test -n "$PKG_CONFIG"; then 23980 if test -n "$PKG_CONFIG" && \ 23981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libstartup-notification-1.0 >= 0.5\""; } >&5 23982 ($PKG_CONFIG --exists --print-errors "libstartup-notification-1.0 >= 0.5") 2>&5 23983 ac_status=$? 23984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23985 test $ac_status = 0; }; then 23986 pkg_cv_STARTUP_NOTIFICATION_LIBS=`$PKG_CONFIG --libs "libstartup-notification-1.0 >= 0.5" 2>/dev/null` 23987 test "x$?" != "x0" && pkg_failed=yes 23988else 23989 pkg_failed=yes 23990fi 23991 else 23992 pkg_failed=untried 23993fi 23994 23995 23996 23997if test $pkg_failed = yes; then 23998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23999$as_echo "no" >&6; } 24000 24001if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24002 _pkg_short_errors_supported=yes 24003else 24004 _pkg_short_errors_supported=no 24005fi 24006 if test $_pkg_short_errors_supported = yes; then 24007 STARTUP_NOTIFICATION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libstartup-notification-1.0 >= 0.5" 2>&1` 24008 else 24009 STARTUP_NOTIFICATION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libstartup-notification-1.0 >= 0.5" 2>&1` 24010 fi 24011 # Put the nasty error message in config.log where it belongs 24012 echo "$STARTUP_NOTIFICATION_PKG_ERRORS" >&5 24013 24014 24015 echo "Building without libstartup-notification" 24016 enable_startup_notification=no 24017 24018elif test $pkg_failed = untried; then 24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24020$as_echo "no" >&6; } 24021 24022 echo "Building without libstartup-notification" 24023 enable_startup_notification=no 24024 24025else 24026 STARTUP_NOTIFICATION_CFLAGS=$pkg_cv_STARTUP_NOTIFICATION_CFLAGS 24027 STARTUP_NOTIFICATION_LIBS=$pkg_cv_STARTUP_NOTIFICATION_LIBS 24028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24029$as_echo "yes" >&6; } 24030 24031 24032$as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h 24033 24034 echo "Building with libstartup-notification" 24035 enable_startup_notification=yes 24036 24037fi 24038 24039 24040 24041fi 24042 24043if test "x$enable_dbus" = "xyes"; then 24044 24045pkg_failed=no 24046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5 24047$as_echo_n "checking for DBUS... " >&6; } 24048 24049if test -n "$DBUS_CFLAGS"; then 24050 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" 24051 elif test -n "$PKG_CONFIG"; then 24052 if test -n "$PKG_CONFIG" && \ 24053 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.60, dbus-glib-1 >= 0.60\""; } >&5 24054 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.60, dbus-glib-1 >= 0.60") 2>&5 24055 ac_status=$? 24056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24057 test $ac_status = 0; }; then 24058 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.60, dbus-glib-1 >= 0.60" 2>/dev/null` 24059 test "x$?" != "x0" && pkg_failed=yes 24060else 24061 pkg_failed=yes 24062fi 24063 else 24064 pkg_failed=untried 24065fi 24066if test -n "$DBUS_LIBS"; then 24067 pkg_cv_DBUS_LIBS="$DBUS_LIBS" 24068 elif test -n "$PKG_CONFIG"; then 24069 if test -n "$PKG_CONFIG" && \ 24070 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.60, dbus-glib-1 >= 0.60\""; } >&5 24071 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.60, dbus-glib-1 >= 0.60") 2>&5 24072 ac_status=$? 24073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24074 test $ac_status = 0; }; then 24075 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.60, dbus-glib-1 >= 0.60" 2>/dev/null` 24076 test "x$?" != "x0" && pkg_failed=yes 24077else 24078 pkg_failed=yes 24079fi 24080 else 24081 pkg_failed=untried 24082fi 24083 24084 24085 24086if test $pkg_failed = yes; then 24087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24088$as_echo "no" >&6; } 24089 24090if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24091 _pkg_short_errors_supported=yes 24092else 24093 _pkg_short_errors_supported=no 24094fi 24095 if test $_pkg_short_errors_supported = yes; then 24096 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.60, dbus-glib-1 >= 0.60" 2>&1` 24097 else 24098 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.60, dbus-glib-1 >= 0.60" 2>&1` 24099 fi 24100 # Put the nasty error message in config.log where it belongs 24101 echo "$DBUS_PKG_ERRORS" >&5 24102 24103 24104 echo "D-Bus requirements not met. D-Bus support not activated." 24105 enable_dbus=no 24106 24107elif test $pkg_failed = untried; then 24108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24109$as_echo "no" >&6; } 24110 24111 echo "D-Bus requirements not met. D-Bus support not activated." 24112 enable_dbus=no 24113 24114else 24115 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS 24116 DBUS_LIBS=$pkg_cv_DBUS_LIBS 24117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24118$as_echo "yes" >&6; } 24119 24120 24121$as_echo "#define HAVE_DBUS_GLIB 1" >>confdefs.h 24122 24123 enable_dbus=yes 24124 24125fi 24126 24127 24128fi 24129 24130 24131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DBUS support for alternate address book is present" >&5 24132$as_echo_n "checking whether DBUS support for alternate address book is present... " >&6; } 24133if test x"$enable_dbus" = xyes; then 24134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24135$as_echo "yes" >&6; } 24136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable alternate address book" >&5 24137$as_echo_n "checking whether to enable alternate address book... " >&6; } 24138 if test x"$enable_alternate_addressbook" = xyes; then 24139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24140$as_echo "yes" >&6; } 24141 24142pkg_failed=no 24143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CONTACTS" >&5 24144$as_echo_n "checking for CONTACTS... " >&6; } 24145 24146if test -n "$CONTACTS_CFLAGS"; then 24147 pkg_cv_CONTACTS_CFLAGS="$CONTACTS_CFLAGS" 24148 elif test -n "$PKG_CONFIG"; then 24149 if test -n "$PKG_CONFIG" && \ 24150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"claws-contacts\""; } >&5 24151 ($PKG_CONFIG --exists --print-errors "claws-contacts") 2>&5 24152 ac_status=$? 24153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24154 test $ac_status = 0; }; then 24155 pkg_cv_CONTACTS_CFLAGS=`$PKG_CONFIG --cflags "claws-contacts" 2>/dev/null` 24156 test "x$?" != "x0" && pkg_failed=yes 24157else 24158 pkg_failed=yes 24159fi 24160 else 24161 pkg_failed=untried 24162fi 24163if test -n "$CONTACTS_LIBS"; then 24164 pkg_cv_CONTACTS_LIBS="$CONTACTS_LIBS" 24165 elif test -n "$PKG_CONFIG"; then 24166 if test -n "$PKG_CONFIG" && \ 24167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"claws-contacts\""; } >&5 24168 ($PKG_CONFIG --exists --print-errors "claws-contacts") 2>&5 24169 ac_status=$? 24170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24171 test $ac_status = 0; }; then 24172 pkg_cv_CONTACTS_LIBS=`$PKG_CONFIG --libs "claws-contacts" 2>/dev/null` 24173 test "x$?" != "x0" && pkg_failed=yes 24174else 24175 pkg_failed=yes 24176fi 24177 else 24178 pkg_failed=untried 24179fi 24180 24181 24182 24183if test $pkg_failed = yes; then 24184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24185$as_echo "no" >&6; } 24186 24187if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24188 _pkg_short_errors_supported=yes 24189else 24190 _pkg_short_errors_supported=no 24191fi 24192 if test $_pkg_short_errors_supported = yes; then 24193 CONTACTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "claws-contacts" 2>&1` 24194 else 24195 CONTACTS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "claws-contacts" 2>&1` 24196 fi 24197 # Put the nasty error message in config.log where it belongs 24198 echo "$CONTACTS_PKG_ERRORS" >&5 24199 24200 24201 enable_alternate_addressbook=no 24202 24203elif test $pkg_failed = untried; then 24204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24205$as_echo "no" >&6; } 24206 24207 enable_alternate_addressbook=no 24208 24209else 24210 CONTACTS_CFLAGS=$pkg_cv_CONTACTS_CFLAGS 24211 CONTACTS_LIBS=$pkg_cv_CONTACTS_LIBS 24212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24213$as_echo "yes" >&6; } 24214 24215 24216$as_echo "#define USE_ALT_ADDRBOOK 1" >>confdefs.h 24217 24218 enable_alternate_addressbook=yes 24219 24220 24221 24222fi 24223 else 24224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24225$as_echo "no" >&6; } 24226 enable_alternate_addressbook=no 24227 fi 24228else 24229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24230$as_echo "no" >&6; } 24231 enable_alternate_addressbook=no 24232fi 24233 24234if test x"$enable_alternate_addressbook" = xno; then 24235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use LDAP" >&5 24236$as_echo_n "checking whether to use LDAP... " >&6; } 24237 if test x"$enable_ldap" = xno; then 24238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24239$as_echo "no" >&6; } 24240 elif test x"$enable_ldap" = xyes -a x"$enable_pthread" = xno; then 24241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LDAP support needs pthread support" >&5 24242$as_echo "no - LDAP support needs pthread support" >&6; } 24243 24244 enable_ldap=no 24245 elif test x"$platform_win32" = xyes; then 24246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24247$as_echo "yes" >&6; } 24248 24249$as_echo "#define USE_LDAP 1" >>confdefs.h 24250 24251 LDAP_LIBS="-lwldap32" 24252 24253 else 24254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24255$as_echo "yes" >&6; } 24256 24257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5 24258$as_echo_n "checking for res_query in -lresolv... " >&6; } 24259if ${ac_cv_lib_resolv_res_query+:} false; then : 24260 $as_echo_n "(cached) " >&6 24261else 24262 ac_check_lib_save_LIBS=$LIBS 24263LIBS="-lresolv $LIBS" 24264cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24265/* end confdefs.h. */ 24266 24267/* Override any GCC internal prototype to avoid an error. 24268 Use char because int might match the return type of a GCC 24269 builtin and then its argument prototype would still apply. */ 24270#ifdef __cplusplus 24271extern "C" 24272#endif 24273char res_query (); 24274int 24275main () 24276{ 24277return res_query (); 24278 ; 24279 return 0; 24280} 24281_ACEOF 24282if ac_fn_c_try_link "$LINENO"; then : 24283 ac_cv_lib_resolv_res_query=yes 24284else 24285 ac_cv_lib_resolv_res_query=no 24286fi 24287rm -f core conftest.err conftest.$ac_objext \ 24288 conftest$ac_exeext conftest.$ac_ext 24289LIBS=$ac_check_lib_save_LIBS 24290fi 24291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_query" >&5 24292$as_echo "$ac_cv_lib_resolv_res_query" >&6; } 24293if test "x$ac_cv_lib_resolv_res_query" = xyes; then : 24294 LDAP_LIBS="$LDAP_LIBS -lresolv" 24295fi 24296 24297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5 24298$as_echo_n "checking for bind in -lsocket... " >&6; } 24299if ${ac_cv_lib_socket_bind+:} false; then : 24300 $as_echo_n "(cached) " >&6 24301else 24302 ac_check_lib_save_LIBS=$LIBS 24303LIBS="-lsocket $LIBS" 24304cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24305/* end confdefs.h. */ 24306 24307/* Override any GCC internal prototype to avoid an error. 24308 Use char because int might match the return type of a GCC 24309 builtin and then its argument prototype would still apply. */ 24310#ifdef __cplusplus 24311extern "C" 24312#endif 24313char bind (); 24314int 24315main () 24316{ 24317return bind (); 24318 ; 24319 return 0; 24320} 24321_ACEOF 24322if ac_fn_c_try_link "$LINENO"; then : 24323 ac_cv_lib_socket_bind=yes 24324else 24325 ac_cv_lib_socket_bind=no 24326fi 24327rm -f core conftest.err conftest.$ac_objext \ 24328 conftest$ac_exeext conftest.$ac_ext 24329LIBS=$ac_check_lib_save_LIBS 24330fi 24331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5 24332$as_echo "$ac_cv_lib_socket_bind" >&6; } 24333if test "x$ac_cv_lib_socket_bind" = xyes; then : 24334 LDAP_LIBS="$LDAP_LIBS -lsocket" 24335fi 24336 24337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyaddr in -lnsl" >&5 24338$as_echo_n "checking for gethostbyaddr in -lnsl... " >&6; } 24339if ${ac_cv_lib_nsl_gethostbyaddr+:} false; then : 24340 $as_echo_n "(cached) " >&6 24341else 24342 ac_check_lib_save_LIBS=$LIBS 24343LIBS="-lnsl $LIBS" 24344cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24345/* end confdefs.h. */ 24346 24347/* Override any GCC internal prototype to avoid an error. 24348 Use char because int might match the return type of a GCC 24349 builtin and then its argument prototype would still apply. */ 24350#ifdef __cplusplus 24351extern "C" 24352#endif 24353char gethostbyaddr (); 24354int 24355main () 24356{ 24357return gethostbyaddr (); 24358 ; 24359 return 0; 24360} 24361_ACEOF 24362if ac_fn_c_try_link "$LINENO"; then : 24363 ac_cv_lib_nsl_gethostbyaddr=yes 24364else 24365 ac_cv_lib_nsl_gethostbyaddr=no 24366fi 24367rm -f core conftest.err conftest.$ac_objext \ 24368 conftest$ac_exeext conftest.$ac_ext 24369LIBS=$ac_check_lib_save_LIBS 24370fi 24371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyaddr" >&5 24372$as_echo "$ac_cv_lib_nsl_gethostbyaddr" >&6; } 24373if test "x$ac_cv_lib_nsl_gethostbyaddr" = xyes; then : 24374 LDAP_LIBS="$LDAP_LIBS -lnsl" 24375fi 24376 24377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_get_tag in -llber" >&5 24378$as_echo_n "checking for ber_get_tag in -llber... " >&6; } 24379if ${ac_cv_lib_lber_ber_get_tag+:} false; then : 24380 $as_echo_n "(cached) " >&6 24381else 24382 ac_check_lib_save_LIBS=$LIBS 24383LIBS="-llber $LDAP_LIBS $LIBS" 24384cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24385/* end confdefs.h. */ 24386 24387/* Override any GCC internal prototype to avoid an error. 24388 Use char because int might match the return type of a GCC 24389 builtin and then its argument prototype would still apply. */ 24390#ifdef __cplusplus 24391extern "C" 24392#endif 24393char ber_get_tag (); 24394int 24395main () 24396{ 24397return ber_get_tag (); 24398 ; 24399 return 0; 24400} 24401_ACEOF 24402if ac_fn_c_try_link "$LINENO"; then : 24403 ac_cv_lib_lber_ber_get_tag=yes 24404else 24405 ac_cv_lib_lber_ber_get_tag=no 24406fi 24407rm -f core conftest.err conftest.$ac_objext \ 24408 conftest$ac_exeext conftest.$ac_ext 24409LIBS=$ac_check_lib_save_LIBS 24410fi 24411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_get_tag" >&5 24412$as_echo "$ac_cv_lib_lber_ber_get_tag" >&6; } 24413if test "x$ac_cv_lib_lber_ber_get_tag" = xyes; then : 24414 LDAP_LIBS="$LDAP_LIBS -llber" 24415fi 24416 24417 24418 for ac_header in ldap.h lber.h 24419do : 24420 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 24421ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 24422if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 24423 cat >>confdefs.h <<_ACEOF 24424#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 24425_ACEOF 24426 enable_ldap=yes 24427else 24428 enable_ldap=no 24429fi 24430 24431done 24432 24433 24434 if test "$enable_ldap" = yes; then 24435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_open in -lldap" >&5 24436$as_echo_n "checking for ldap_open in -lldap... " >&6; } 24437if ${ac_cv_lib_ldap_ldap_open+:} false; then : 24438 $as_echo_n "(cached) " >&6 24439else 24440 ac_check_lib_save_LIBS=$LIBS 24441LIBS="-lldap $LDAP_LIBS $LIBS" 24442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24443/* end confdefs.h. */ 24444 24445/* Override any GCC internal prototype to avoid an error. 24446 Use char because int might match the return type of a GCC 24447 builtin and then its argument prototype would still apply. */ 24448#ifdef __cplusplus 24449extern "C" 24450#endif 24451char ldap_open (); 24452int 24453main () 24454{ 24455return ldap_open (); 24456 ; 24457 return 0; 24458} 24459_ACEOF 24460if ac_fn_c_try_link "$LINENO"; then : 24461 ac_cv_lib_ldap_ldap_open=yes 24462else 24463 ac_cv_lib_ldap_ldap_open=no 24464fi 24465rm -f core conftest.err conftest.$ac_objext \ 24466 conftest$ac_exeext conftest.$ac_ext 24467LIBS=$ac_check_lib_save_LIBS 24468fi 24469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_open" >&5 24470$as_echo "$ac_cv_lib_ldap_ldap_open" >&6; } 24471if test "x$ac_cv_lib_ldap_ldap_open" = xyes; then : 24472 enable_ldap=yes 24473else 24474 enable_ldap=no 24475fi 24476 24477 24478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_start_tls_s in -lldap" >&5 24479$as_echo_n "checking for ldap_start_tls_s in -lldap... " >&6; } 24480if ${ac_cv_lib_ldap_ldap_start_tls_s+:} false; then : 24481 $as_echo_n "(cached) " >&6 24482else 24483 ac_check_lib_save_LIBS=$LIBS 24484LIBS="-lldap $LIBS" 24485cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24486/* end confdefs.h. */ 24487 24488/* Override any GCC internal prototype to avoid an error. 24489 Use char because int might match the return type of a GCC 24490 builtin and then its argument prototype would still apply. */ 24491#ifdef __cplusplus 24492extern "C" 24493#endif 24494char ldap_start_tls_s (); 24495int 24496main () 24497{ 24498return ldap_start_tls_s (); 24499 ; 24500 return 0; 24501} 24502_ACEOF 24503if ac_fn_c_try_link "$LINENO"; then : 24504 ac_cv_lib_ldap_ldap_start_tls_s=yes 24505else 24506 ac_cv_lib_ldap_ldap_start_tls_s=no 24507fi 24508rm -f core conftest.err conftest.$ac_objext \ 24509 conftest$ac_exeext conftest.$ac_ext 24510LIBS=$ac_check_lib_save_LIBS 24511fi 24512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_start_tls_s" >&5 24513$as_echo "$ac_cv_lib_ldap_ldap_start_tls_s" >&6; } 24514if test "x$ac_cv_lib_ldap_ldap_start_tls_s" = xyes; then : 24515 ac_cv_have_tls=yes 24516else 24517 ac_cv_have_tls=no 24518fi 24519 24520 24521 fi 24522 24523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldap library is available" >&5 24524$as_echo_n "checking whether ldap library is available... " >&6; } 24525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_ldap" >&5 24526$as_echo "$enable_ldap" >&6; } 24527 24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TLS library is available" >&5 24529$as_echo_n "checking whether TLS library is available... " >&6; } 24530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_tls" >&5 24531$as_echo "$ac_cv_have_tls" >&6; } 24532 24533 if test "$enable_ldap" = yes; then 24534 24535$as_echo "#define USE_LDAP 1" >>confdefs.h 24536 24537 LDAP_LIBS="$LDAP_LIBS -lldap" 24538 24539 if test "$ac_cv_have_tls" = yes; then 24540 24541$as_echo "#define USE_LDAP_TLS 1" >>confdefs.h 24542 24543 fi 24544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking The API version of OpenLDAP" >&5 24545$as_echo_n "checking The API version of OpenLDAP... " >&6; } 24546 if test "$cross_compiling" = yes; then : 24547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling deprecated features in OpenLDAP" >&5 24548$as_echo "Enabling deprecated features in OpenLDAP" >&6; } 24549 24550$as_echo "#define OPEN_LDAP_API_AT_LEAST_3000 0" >>confdefs.h 24551 24552 24553$as_echo "#define LDAP_DEPRECATED 1" >>confdefs.h 24554 24555 24556else 24557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24558/* end confdefs.h. */ 24559#include <ldap.h> 24560int 24561main () 24562{ 24563if (LDAP_API_VERSION >= 3000) 24564 return 1 24565 24566 ; 24567 return 0; 24568} 24569_ACEOF 24570if ac_fn_c_try_run "$LINENO"; then : 24571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version < 3000" >&5 24572$as_echo "version < 3000" >&6; } 24573 24574$as_echo "#define OPEN_LDAP_API_AT_LEAST_3000 0" >>confdefs.h 24575 24576else 24577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version >= 3000" >&5 24578$as_echo "version >= 3000" >&6; } 24579 24580$as_echo "#define OPEN_LDAP_API_AT_LEAST_3000 1" >>confdefs.h 24581 24582fi 24583rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 24584 conftest.$ac_objext conftest.beam conftest.$ac_ext 24585fi 24586 24587 fi 24588 fi 24589 24590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use JPilot" >&5 24591$as_echo_n "checking whether to use JPilot... " >&6; } 24592 if test "$enable_jpilot" = yes; then 24593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24594$as_echo "yes" >&6; } 24595 for ac_header in pi-args.h pi-appinfo.h pi-address.h pi-version.h 24596do : 24597 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 24598ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 24599if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 24600 cat >>confdefs.h <<_ACEOF 24601#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 24602_ACEOF 24603 24604$as_echo "#define USE_JPILOT 1" >>confdefs.h 24605 24606else 24607 enable_jpilot=no 24608fi 24609 24610done 24611 24612 if test "$enable_jpilot" = no; then 24613 for ac_header in libpisock/pi-args.h libpisock/pi-appinfo.h libpisock/pi-address.h libpisock/pi-version.h 24614do : 24615 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 24616ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 24617if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 24618 cat >>confdefs.h <<_ACEOF 24619#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 24620_ACEOF 24621 enable_jpilot=yes 24622 24623$as_echo "#define USE_JPILOT 1" >>confdefs.h 24624 24625fi 24626 24627done 24628 24629 fi 24630 24631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unpack_Address in -lpisock" >&5 24632$as_echo_n "checking for unpack_Address in -lpisock... " >&6; } 24633if ${ac_cv_lib_pisock_unpack_Address+:} false; then : 24634 $as_echo_n "(cached) " >&6 24635else 24636 ac_check_lib_save_LIBS=$LIBS 24637LIBS="-lpisock $LIBS" 24638cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24639/* end confdefs.h. */ 24640 24641/* Override any GCC internal prototype to avoid an error. 24642 Use char because int might match the return type of a GCC 24643 builtin and then its argument prototype would still apply. */ 24644#ifdef __cplusplus 24645extern "C" 24646#endif 24647char unpack_Address (); 24648int 24649main () 24650{ 24651return unpack_Address (); 24652 ; 24653 return 0; 24654} 24655_ACEOF 24656if ac_fn_c_try_link "$LINENO"; then : 24657 ac_cv_lib_pisock_unpack_Address=yes 24658else 24659 ac_cv_lib_pisock_unpack_Address=no 24660fi 24661rm -f core conftest.err conftest.$ac_objext \ 24662 conftest$ac_exeext conftest.$ac_ext 24663LIBS=$ac_check_lib_save_LIBS 24664fi 24665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pisock_unpack_Address" >&5 24666$as_echo "$ac_cv_lib_pisock_unpack_Address" >&6; } 24667if test "x$ac_cv_lib_pisock_unpack_Address" = xyes; then : 24668 JPILOT_LIBS="-lpisock" 24669else 24670 JPILOT_LIBS="" enable_jpilot="no" 24671fi 24672 24673 if test x"$enable_jpilot" = xyes; then 24674 24675$as_echo "#define USE_JPILOT 1" >>confdefs.h 24676 24677 else 24678 { $as_echo "$as_me:${as_lineno-$LINENO}: JPilot support not available" >&5 24679$as_echo "$as_me: JPilot support not available" >&6;} 24680 fi 24681 24682 else 24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24684$as_echo "no" >&6; } 24685 fi 24686fi 24687 24688 if test x"$enable_alternate_addressbook" = x"yes"; then 24689 BUILD_ALTADDRBOOK_TRUE= 24690 BUILD_ALTADDRBOOK_FALSE='#' 24691else 24692 BUILD_ALTADDRBOOK_TRUE='#' 24693 BUILD_ALTADDRBOOK_FALSE= 24694fi 24695 24696 24697if test x"$enable_dbus" = xyes; then 24698 if test x"$enable_networkmanager" = xyes; then 24699 24700pkg_failed=no 24701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NETWORKMANAGER_SUPPORT" >&5 24702$as_echo_n "checking for NETWORKMANAGER_SUPPORT... " >&6; } 24703 24704if test -n "$NETWORKMANAGER_SUPPORT_CFLAGS"; then 24705 pkg_cv_NETWORKMANAGER_SUPPORT_CFLAGS="$NETWORKMANAGER_SUPPORT_CFLAGS" 24706 elif test -n "$PKG_CONFIG"; then 24707 if test -n "$PKG_CONFIG" && \ 24708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnm\""; } >&5 24709 ($PKG_CONFIG --exists --print-errors "libnm") 2>&5 24710 ac_status=$? 24711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24712 test $ac_status = 0; }; then 24713 pkg_cv_NETWORKMANAGER_SUPPORT_CFLAGS=`$PKG_CONFIG --cflags "libnm" 2>/dev/null` 24714 test "x$?" != "x0" && pkg_failed=yes 24715else 24716 pkg_failed=yes 24717fi 24718 else 24719 pkg_failed=untried 24720fi 24721if test -n "$NETWORKMANAGER_SUPPORT_LIBS"; then 24722 pkg_cv_NETWORKMANAGER_SUPPORT_LIBS="$NETWORKMANAGER_SUPPORT_LIBS" 24723 elif test -n "$PKG_CONFIG"; then 24724 if test -n "$PKG_CONFIG" && \ 24725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnm\""; } >&5 24726 ($PKG_CONFIG --exists --print-errors "libnm") 2>&5 24727 ac_status=$? 24728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24729 test $ac_status = 0; }; then 24730 pkg_cv_NETWORKMANAGER_SUPPORT_LIBS=`$PKG_CONFIG --libs "libnm" 2>/dev/null` 24731 test "x$?" != "x0" && pkg_failed=yes 24732else 24733 pkg_failed=yes 24734fi 24735 else 24736 pkg_failed=untried 24737fi 24738 24739 24740 24741if test $pkg_failed = yes; then 24742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24743$as_echo "no" >&6; } 24744 24745if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24746 _pkg_short_errors_supported=yes 24747else 24748 _pkg_short_errors_supported=no 24749fi 24750 if test $_pkg_short_errors_supported = yes; then 24751 NETWORKMANAGER_SUPPORT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnm" 2>&1` 24752 else 24753 NETWORKMANAGER_SUPPORT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnm" 2>&1` 24754 fi 24755 # Put the nasty error message in config.log where it belongs 24756 echo "$NETWORKMANAGER_SUPPORT_PKG_ERRORS" >&5 24757 24758 24759 echo "NetworkManager not found." 24760 enable_networkmanager=no 24761 24762elif test $pkg_failed = untried; then 24763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24764$as_echo "no" >&6; } 24765 24766 echo "NetworkManager not found." 24767 enable_networkmanager=no 24768 24769else 24770 NETWORKMANAGER_SUPPORT_CFLAGS=$pkg_cv_NETWORKMANAGER_SUPPORT_CFLAGS 24771 NETWORKMANAGER_SUPPORT_LIBS=$pkg_cv_NETWORKMANAGER_SUPPORT_LIBS 24772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24773$as_echo "yes" >&6; } 24774 24775 24776$as_echo "#define HAVE_NETWORKMANAGER_SUPPORT 1" >>confdefs.h 24777 24778 echo "Building with NetworkManager support" 24779 enable_networkmanager=yes 24780 24781fi 24782 24783 fi 24784else 24785 echo "NetworkManager support deactivated as D-Bus requirements were not met." 24786 enable_networkmanager=no 24787fi 24788 24789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libetpan" >&5 24790$as_echo_n "checking whether to use libetpan... " >&6; } 24791if test x"$enable_libetpan" = xyes; then 24792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24793$as_echo "yes" >&6; } 24794 24795 libetpan_config=no 24796 libetpan_result=no 24797 libetpan_versiontype=0 24798 24799 # since 1.9.4, libetpan uses pkg-config 24800 24801pkg_failed=no 24802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBETPAN" >&5 24803$as_echo_n "checking for LIBETPAN... " >&6; } 24804 24805if test -n "$LIBETPAN_CFLAGS"; then 24806 pkg_cv_LIBETPAN_CFLAGS="$LIBETPAN_CFLAGS" 24807 elif test -n "$PKG_CONFIG"; then 24808 if test -n "$PKG_CONFIG" && \ 24809 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libetpan >= 1.9.4\""; } >&5 24810 ($PKG_CONFIG --exists --print-errors "libetpan >= 1.9.4") 2>&5 24811 ac_status=$? 24812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24813 test $ac_status = 0; }; then 24814 pkg_cv_LIBETPAN_CFLAGS=`$PKG_CONFIG --cflags "libetpan >= 1.9.4" 2>/dev/null` 24815 test "x$?" != "x0" && pkg_failed=yes 24816else 24817 pkg_failed=yes 24818fi 24819 else 24820 pkg_failed=untried 24821fi 24822if test -n "$LIBETPAN_LIBS"; then 24823 pkg_cv_LIBETPAN_LIBS="$LIBETPAN_LIBS" 24824 elif test -n "$PKG_CONFIG"; then 24825 if test -n "$PKG_CONFIG" && \ 24826 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libetpan >= 1.9.4\""; } >&5 24827 ($PKG_CONFIG --exists --print-errors "libetpan >= 1.9.4") 2>&5 24828 ac_status=$? 24829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24830 test $ac_status = 0; }; then 24831 pkg_cv_LIBETPAN_LIBS=`$PKG_CONFIG --libs "libetpan >= 1.9.4" 2>/dev/null` 24832 test "x$?" != "x0" && pkg_failed=yes 24833else 24834 pkg_failed=yes 24835fi 24836 else 24837 pkg_failed=untried 24838fi 24839 24840 24841 24842if test $pkg_failed = yes; then 24843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24844$as_echo "no" >&6; } 24845 24846if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24847 _pkg_short_errors_supported=yes 24848else 24849 _pkg_short_errors_supported=no 24850fi 24851 if test $_pkg_short_errors_supported = yes; then 24852 LIBETPAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libetpan >= 1.9.4" 2>&1` 24853 else 24854 LIBETPAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libetpan >= 1.9.4" 2>&1` 24855 fi 24856 # Put the nasty error message in config.log where it belongs 24857 echo "$LIBETPAN_PKG_ERRORS" >&5 24858 24859 24860 # before 1.9.4, libetpan uses its own libetpan-config script 24861 # Extract the first word of "libetpan-config", so it can be a program name with args. 24862set dummy libetpan-config; ac_word=$2 24863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24864$as_echo_n "checking for $ac_word... " >&6; } 24865if ${ac_cv_path_libetpanconfig+:} false; then : 24866 $as_echo_n "(cached) " >&6 24867else 24868 case $libetpanconfig in 24869 [\\/]* | ?:[\\/]*) 24870 ac_cv_path_libetpanconfig="$libetpanconfig" # Let the user override the test with a path. 24871 ;; 24872 *) 24873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24874for as_dir in $PATH 24875do 24876 IFS=$as_save_IFS 24877 test -z "$as_dir" && as_dir=. 24878 for ac_exec_ext in '' $ac_executable_extensions; do 24879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24880 ac_cv_path_libetpanconfig="$as_dir/$ac_word$ac_exec_ext" 24881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24882 break 2 24883 fi 24884done 24885 done 24886IFS=$as_save_IFS 24887 24888 ;; 24889esac 24890fi 24891libetpanconfig=$ac_cv_path_libetpanconfig 24892if test -n "$libetpanconfig"; then 24893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libetpanconfig" >&5 24894$as_echo "$libetpanconfig" >&6; } 24895else 24896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24897$as_echo "no" >&6; } 24898fi 24899 24900 24901 if test "x$libetpanconfig" != "x"; then 24902 LIBETPAN_CPPFLAGS="`$libetpanconfig --cflags`" 24903 LIBETPAN_LIBS="`$libetpanconfig --libs`" 24904 # support libetpan version like x.x and x.x.x 24905 libetpan_versiontype=`$libetpanconfig --version | tr -dc . | wc -c` 24906 if test $libetpan_versiontype -eq 1; then 24907 LIBETPAN_VERSION=`$libetpanconfig --version | $AWK -F. '{printf "%d", ($1 * 100) + $2}'` 24908 else 24909 LIBETPAN_VERSION=`$libetpanconfig --version | $AWK -F. '{printf "%d", ($1 * 10000) + ($2 * 100) + $3}'` 24910 fi 24911 libetpan_config=yes 24912 fi 24913 24914elif test $pkg_failed = untried; then 24915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24916$as_echo "no" >&6; } 24917 24918 # before 1.9.4, libetpan uses its own libetpan-config script 24919 # Extract the first word of "libetpan-config", so it can be a program name with args. 24920set dummy libetpan-config; ac_word=$2 24921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24922$as_echo_n "checking for $ac_word... " >&6; } 24923if ${ac_cv_path_libetpanconfig+:} false; then : 24924 $as_echo_n "(cached) " >&6 24925else 24926 case $libetpanconfig in 24927 [\\/]* | ?:[\\/]*) 24928 ac_cv_path_libetpanconfig="$libetpanconfig" # Let the user override the test with a path. 24929 ;; 24930 *) 24931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24932for as_dir in $PATH 24933do 24934 IFS=$as_save_IFS 24935 test -z "$as_dir" && as_dir=. 24936 for ac_exec_ext in '' $ac_executable_extensions; do 24937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24938 ac_cv_path_libetpanconfig="$as_dir/$ac_word$ac_exec_ext" 24939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24940 break 2 24941 fi 24942done 24943 done 24944IFS=$as_save_IFS 24945 24946 ;; 24947esac 24948fi 24949libetpanconfig=$ac_cv_path_libetpanconfig 24950if test -n "$libetpanconfig"; then 24951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libetpanconfig" >&5 24952$as_echo "$libetpanconfig" >&6; } 24953else 24954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24955$as_echo "no" >&6; } 24956fi 24957 24958 24959 if test "x$libetpanconfig" != "x"; then 24960 LIBETPAN_CPPFLAGS="`$libetpanconfig --cflags`" 24961 LIBETPAN_LIBS="`$libetpanconfig --libs`" 24962 # support libetpan version like x.x and x.x.x 24963 libetpan_versiontype=`$libetpanconfig --version | tr -dc . | wc -c` 24964 if test $libetpan_versiontype -eq 1; then 24965 LIBETPAN_VERSION=`$libetpanconfig --version | $AWK -F. '{printf "%d", ($1 * 100) + $2}'` 24966 else 24967 LIBETPAN_VERSION=`$libetpanconfig --version | $AWK -F. '{printf "%d", ($1 * 10000) + ($2 * 100) + $3}'` 24968 fi 24969 libetpan_config=yes 24970 fi 24971 24972else 24973 LIBETPAN_CFLAGS=$pkg_cv_LIBETPAN_CFLAGS 24974 LIBETPAN_LIBS=$pkg_cv_LIBETPAN_LIBS 24975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24976$as_echo "yes" >&6; } 24977 24978 LIBETPAN_VERSION=`pkg-config --modversion libetpan | $AWK -F. '{printf "%d", ($1 * 10000) + ($2 * 100) + $3}'` 24979 libetpan_config=yes 24980 24981fi 24982 if test "x$libetpan_config" = "xyes"; then 24983 CPPFLAGS="$CPPFLAGS $LIBETPAN_FLAGS" 24984 ac_fn_c_check_header_mongrel "$LINENO" "libetpan/libetpan.h" "ac_cv_header_libetpan_libetpan_h" "$ac_includes_default" 24985if test "x$ac_cv_header_libetpan_libetpan_h" = xyes; then : 24986 libetpan_result=yes 24987fi 24988 24989 24990 if test "x$libetpan_result" = "xyes"; then 24991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libetpan-config hints compiles and links fine" >&5 24992$as_echo_n "checking whether libetpan-config hints compiles and links fine... " >&6; } 24993 LIBS="$LIBS $LIBETPAN_LIBS" 24994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24995/* end confdefs.h. */ 24996#include <libetpan/dbstorage.h> 24997int 24998main () 24999{ 25000db_mailstorage_init(NULL, NULL); 25001 ; 25002 return 0; 25003} 25004_ACEOF 25005if ac_fn_c_try_link "$LINENO"; then : 25006 libetpan_result=yes 25007else 25008 libetpan_result=no 25009fi 25010rm -f core conftest.err conftest.$ac_objext \ 25011 conftest$ac_exeext conftest.$ac_ext 25012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libetpan_result" >&5 25013$as_echo "$libetpan_result" >&6; } 25014 fi 25015 fi 25016 if test "x$libetpan_result" = "xyes"; then 25017 if test $libetpan_versiontype -eq 1; then 25018 if test "$LIBETPAN_VERSION" -lt "57"; then 25019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/" >&5 25020$as_echo "*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/" >&6; } 25021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support." >&5 25022$as_echo "*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support." >&6; } 25023 as_fn_error $? "libetpan 0.57 not found" "$LINENO" 5 25024 fi 25025 fi 25026 25027 25028 25029$as_echo "#define HAVE_LIBETPAN 1" >>confdefs.h 25030 25031 else 25032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/ " >&5 25033$as_echo "*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/ " >&6; } 25034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support." >&5 25035$as_echo "*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support." >&6; } 25036 as_fn_error $? "libetpan 0.57 not found" "$LINENO" 5 25037 fi 25038else 25039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25040$as_echo "no" >&6; } 25041fi 25042 if test "x$libetpan_result" = "xyes"; then 25043 CLAWS_LIBETPAN_TRUE= 25044 CLAWS_LIBETPAN_FALSE='#' 25045else 25046 CLAWS_LIBETPAN_TRUE='#' 25047 CLAWS_LIBETPAN_FALSE= 25048fi 25049 25050 25051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use librsvg" >&5 25052$as_echo_n "checking whether to use librsvg... " >&6; } 25053if test x"$enable_svg" = xyes; then 25054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25055$as_echo "yes" >&6; } 25056 25057pkg_failed=no 25058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5 25059$as_echo_n "checking for SVG... " >&6; } 25060 25061if test -n "$SVG_CFLAGS"; then 25062 pkg_cv_SVG_CFLAGS="$SVG_CFLAGS" 25063 elif test -n "$PKG_CONFIG"; then 25064 if test -n "$PKG_CONFIG" && \ 25065 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.39.0 cairo >= 1.0.0\""; } >&5 25066 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.39.0 cairo >= 1.0.0") 2>&5 25067 ac_status=$? 25068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25069 test $ac_status = 0; }; then 25070 pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.39.0 cairo >= 1.0.0" 2>/dev/null` 25071 test "x$?" != "x0" && pkg_failed=yes 25072else 25073 pkg_failed=yes 25074fi 25075 else 25076 pkg_failed=untried 25077fi 25078if test -n "$SVG_LIBS"; then 25079 pkg_cv_SVG_LIBS="$SVG_LIBS" 25080 elif test -n "$PKG_CONFIG"; then 25081 if test -n "$PKG_CONFIG" && \ 25082 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.39.0 cairo >= 1.0.0\""; } >&5 25083 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.39.0 cairo >= 1.0.0") 2>&5 25084 ac_status=$? 25085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25086 test $ac_status = 0; }; then 25087 pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.39.0 cairo >= 1.0.0" 2>/dev/null` 25088 test "x$?" != "x0" && pkg_failed=yes 25089else 25090 pkg_failed=yes 25091fi 25092 else 25093 pkg_failed=untried 25094fi 25095 25096 25097 25098if test $pkg_failed = yes; then 25099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25100$as_echo "no" >&6; } 25101 25102if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25103 _pkg_short_errors_supported=yes 25104else 25105 _pkg_short_errors_supported=no 25106fi 25107 if test $_pkg_short_errors_supported = yes; then 25108 SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librsvg-2.0 >= 2.39.0 cairo >= 1.0.0" 2>&1` 25109 else 25110 SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librsvg-2.0 >= 2.39.0 cairo >= 1.0.0" 2>&1` 25111 fi 25112 # Put the nasty error message in config.log where it belongs 25113 echo "$SVG_PKG_ERRORS" >&5 25114 25115 25116 { $as_echo "$as_me:${as_lineno-$LINENO}: SVG support deactivated as librsvg2 >= 2.39.0 was not found" >&5 25117$as_echo "$as_me: SVG support deactivated as librsvg2 >= 2.39.0 was not found" >&6;} 25118 enable_svg=no 25119 25120elif test $pkg_failed = untried; then 25121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25122$as_echo "no" >&6; } 25123 25124 { $as_echo "$as_me:${as_lineno-$LINENO}: SVG support deactivated as librsvg2 >= 2.39.0 was not found" >&5 25125$as_echo "$as_me: SVG support deactivated as librsvg2 >= 2.39.0 was not found" >&6;} 25126 enable_svg=no 25127 25128else 25129 SVG_CFLAGS=$pkg_cv_SVG_CFLAGS 25130 SVG_LIBS=$pkg_cv_SVG_LIBS 25131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25132$as_echo "yes" >&6; } 25133 25134 25135 25136 25137$as_echo "#define HAVE_SVG 1" >>confdefs.h 25138 25139 enable_svg=yes 25140 25141fi 25142else 25143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25144$as_echo "no" >&6; } 25145fi 25146 25147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use valgrind" >&5 25148$as_echo_n "checking whether to use valgrind... " >&6; } 25149if test x$enable_valgrind = xyes; then 25150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25151$as_echo "yes" >&6; } 25152 25153pkg_failed=no 25154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5 25155$as_echo_n "checking for VALGRIND... " >&6; } 25156 25157if test -n "$VALGRIND_CFLAGS"; then 25158 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS" 25159 elif test -n "$PKG_CONFIG"; then 25160 if test -n "$PKG_CONFIG" && \ 25161 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5 25162 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5 25163 ac_status=$? 25164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25165 test $ac_status = 0; }; then 25166 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= 2.4.0" 2>/dev/null` 25167 test "x$?" != "x0" && pkg_failed=yes 25168else 25169 pkg_failed=yes 25170fi 25171 else 25172 pkg_failed=untried 25173fi 25174if test -n "$VALGRIND_LIBS"; then 25175 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS" 25176 elif test -n "$PKG_CONFIG"; then 25177 if test -n "$PKG_CONFIG" && \ 25178 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5 25179 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5 25180 ac_status=$? 25181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25182 test $ac_status = 0; }; then 25183 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= 2.4.0" 2>/dev/null` 25184 test "x$?" != "x0" && pkg_failed=yes 25185else 25186 pkg_failed=yes 25187fi 25188 else 25189 pkg_failed=untried 25190fi 25191 25192 25193 25194if test $pkg_failed = yes; then 25195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25196$as_echo "no" >&6; } 25197 25198if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25199 _pkg_short_errors_supported=yes 25200else 25201 _pkg_short_errors_supported=no 25202fi 25203 if test $_pkg_short_errors_supported = yes; then 25204 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind >= 2.4.0" 2>&1` 25205 else 25206 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "valgrind >= 2.4.0" 2>&1` 25207 fi 25208 # Put the nasty error message in config.log where it belongs 25209 echo "$VALGRIND_PKG_ERRORS" >&5 25210 25211 enable_valgrind=no 25212elif test $pkg_failed = untried; then 25213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25214$as_echo "no" >&6; } 25215 enable_valgrind=no 25216else 25217 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS 25218 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS 25219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25220$as_echo "yes" >&6; } 25221 enable_valgrind=yes 25222fi 25223 if test x"$enable_valgrind" = xyes; then 25224 25225$as_echo "#define HAVE_VALGRIND 1" >>confdefs.h 25226 25227 else 25228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 25229$as_echo "not found" >&6; } 25230 fi 25231else 25232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25233$as_echo "no" >&6; } 25234fi 25235 if test x"$enable_valgrind" = x"yes"; then 25236 CLAWS_VALGRIND_TRUE= 25237 CLAWS_VALGRIND_FALSE='#' 25238else 25239 CLAWS_VALGRIND_TRUE='#' 25240 CLAWS_VALGRIND_FALSE= 25241fi 25242 25243 25244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build unit tests" >&5 25245$as_echo_n "checking whether to build unit tests... " >&6; } 25246if test x$enable_tests = xyes; then 25247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25248$as_echo "yes" >&6; } 25249else 25250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25251$as_echo "no" >&6; } 25252fi 25253 if test "x$enable_tests" = "xyes"; then 25254 BUILD_TESTS_TRUE= 25255 BUILD_TESTS_FALSE='#' 25256else 25257 BUILD_TESTS_TRUE='#' 25258 BUILD_TESTS_FALSE= 25259fi 25260 25261 25262 25263PLUGINS="" 25264DISABLED_PLUGINS="" 25265MISSING_DEPS_PLUGINS="" 25266 25267 25268# Check whether --enable-acpi_notifier-plugin was given. 25269if test "${enable_acpi_notifier_plugin+set}" = set; then : 25270 enableval=$enable_acpi_notifier_plugin; enable_acpi_notifier_plugin=$enableval 25271else 25272 enable_acpi_notifier_plugin=auto 25273fi 25274 25275 25276# Check whether --enable-address_keeper-plugin was given. 25277if test "${enable_address_keeper_plugin+set}" = set; then : 25278 enableval=$enable_address_keeper_plugin; enable_address_keeper_plugin=$enableval 25279else 25280 enable_address_keeper_plugin=auto 25281fi 25282 25283 25284# Check whether --enable-archive-plugin was given. 25285if test "${enable_archive_plugin+set}" = set; then : 25286 enableval=$enable_archive_plugin; enable_archive_plugin=$enableval 25287else 25288 enable_archive_plugin=auto 25289fi 25290 25291 25292# Check whether --enable-att_remover-plugin was given. 25293if test "${enable_att_remover_plugin+set}" = set; then : 25294 enableval=$enable_att_remover_plugin; enable_att_remover_plugin=$enableval 25295else 25296 enable_att_remover_plugin=auto 25297fi 25298 25299 25300# Check whether --enable-attachwarner-plugin was given. 25301if test "${enable_attachwarner_plugin+set}" = set; then : 25302 enableval=$enable_attachwarner_plugin; enable_attachwarner_plugin=$enableval 25303else 25304 enable_attachwarner_plugin=auto 25305fi 25306 25307 25308# Check whether --enable-bogofilter-plugin was given. 25309if test "${enable_bogofilter_plugin+set}" = set; then : 25310 enableval=$enable_bogofilter_plugin; enable_bogofilter_plugin=$enableval 25311else 25312 enable_bogofilter_plugin=auto 25313fi 25314 25315 25316# Check whether --enable-bsfilter-plugin was given. 25317if test "${enable_bsfilter_plugin+set}" = set; then : 25318 enableval=$enable_bsfilter_plugin; enable_bsfilter_plugin=$enableval 25319else 25320 enable_bsfilter_plugin=auto 25321fi 25322 25323 25324# Check whether --enable-clamd-plugin was given. 25325if test "${enable_clamd_plugin+set}" = set; then : 25326 enableval=$enable_clamd_plugin; enable_clamd_plugin=$enableval 25327else 25328 enable_clamd_plugin=auto 25329fi 25330 25331 25332# Check whether --enable-dillo-plugin was given. 25333if test "${enable_dillo_plugin+set}" = set; then : 25334 enableval=$enable_dillo_plugin; enable_dillo_plugin=$enableval 25335else 25336 enable_dillo_plugin=auto 25337fi 25338 25339 25340# Check whether --enable-fancy-plugin was given. 25341if test "${enable_fancy_plugin+set}" = set; then : 25342 enableval=$enable_fancy_plugin; enable_fancy_plugin=$enableval 25343else 25344 enable_fancy_plugin=auto 25345fi 25346 25347 25348# Check whether --enable-fetchinfo-plugin was given. 25349if test "${enable_fetchinfo_plugin+set}" = set; then : 25350 enableval=$enable_fetchinfo_plugin; enable_fetchinfo_plugin=$enableval 25351else 25352 enable_fetchinfo_plugin=auto 25353fi 25354 25355 25356# Check whether --enable-gdata-plugin was given. 25357if test "${enable_gdata_plugin+set}" = set; then : 25358 enableval=$enable_gdata_plugin; enable_gdata_plugin=$enableval 25359else 25360 enable_gdata_plugin=auto 25361fi 25362 25363 25364# Check whether --enable-libravatar-plugin was given. 25365if test "${enable_libravatar_plugin+set}" = set; then : 25366 enableval=$enable_libravatar_plugin; enable_libravatar_plugin=$enableval 25367else 25368 enable_libravatar_plugin=auto 25369fi 25370 25371 25372# Check whether --enable-litehtml_viewer-plugin was given. 25373if test "${enable_litehtml_viewer_plugin+set}" = set; then : 25374 enableval=$enable_litehtml_viewer_plugin; enable_litehtml_viewer_plugin=$enableval 25375else 25376 enable_litehtml_viewer_plugin=auto 25377fi 25378 25379 25380# Check whether --enable-mailmbox-plugin was given. 25381if test "${enable_mailmbox_plugin+set}" = set; then : 25382 enableval=$enable_mailmbox_plugin; enable_mailmbox_plugin=$enableval 25383else 25384 enable_mailmbox_plugin=auto 25385fi 25386 25387 25388# Check whether --enable-managesieve-plugin was given. 25389if test "${enable_managesieve_plugin+set}" = set; then : 25390 enableval=$enable_managesieve_plugin; enable_managesieve_plugin=$enableval 25391else 25392 enable_managesieve_plugin=auto 25393fi 25394 25395 25396# Check whether --enable-newmail-plugin was given. 25397if test "${enable_newmail_plugin+set}" = set; then : 25398 enableval=$enable_newmail_plugin; enable_newmail_plugin=$enableval 25399else 25400 enable_newmail_plugin=auto 25401fi 25402 25403 25404# Check whether --enable-notification-plugin was given. 25405if test "${enable_notification_plugin+set}" = set; then : 25406 enableval=$enable_notification_plugin; enable_notification_plugin=$enableval 25407else 25408 enable_notification_plugin=auto 25409fi 25410 25411 25412# Check whether --enable-pdf_viewer-plugin was given. 25413if test "${enable_pdf_viewer_plugin+set}" = set; then : 25414 enableval=$enable_pdf_viewer_plugin; enable_pdf_viewer_plugin=$enableval 25415else 25416 enable_pdf_viewer_plugin=auto 25417fi 25418 25419 25420# Check whether --enable-perl-plugin was given. 25421if test "${enable_perl_plugin+set}" = set; then : 25422 enableval=$enable_perl_plugin; enable_perl_plugin=$enableval 25423else 25424 enable_perl_plugin=auto 25425fi 25426 25427 25428# Check whether --enable-python-plugin was given. 25429if test "${enable_python_plugin+set}" = set; then : 25430 enableval=$enable_python_plugin; enable_python_plugin=$enableval 25431else 25432 enable_python_plugin=auto 25433fi 25434 25435 25436# Check whether --enable-pgpcore-plugin was given. 25437if test "${enable_pgpcore_plugin+set}" = set; then : 25438 enableval=$enable_pgpcore_plugin; enable_pgpcore_plugin=$enableval 25439else 25440 enable_pgpcore_plugin=auto 25441fi 25442 25443 25444# Check whether --enable-pgpmime-plugin was given. 25445if test "${enable_pgpmime_plugin+set}" = set; then : 25446 enableval=$enable_pgpmime_plugin; enable_pgpmime_plugin=$enableval 25447else 25448 enable_pgpmime_plugin=auto 25449fi 25450 25451 25452# Check whether --enable-pgpinline-plugin was given. 25453if test "${enable_pgpinline_plugin+set}" = set; then : 25454 enableval=$enable_pgpinline_plugin; enable_pgpinline_plugin=$enableval 25455else 25456 enable_pgpinline_plugin=auto 25457fi 25458 25459 25460# Check whether --enable-rssyl-plugin was given. 25461if test "${enable_rssyl_plugin+set}" = set; then : 25462 enableval=$enable_rssyl_plugin; enable_rssyl_plugin=$enableval 25463else 25464 enable_rssyl_plugin=auto 25465fi 25466 25467 25468# Check whether --enable-smime-plugin was given. 25469if test "${enable_smime_plugin+set}" = set; then : 25470 enableval=$enable_smime_plugin; enable_smime_plugin=$enableval 25471else 25472 enable_smime_plugin=auto 25473fi 25474 25475 25476# Check whether --enable-spamassassin-plugin was given. 25477if test "${enable_spamassassin_plugin+set}" = set; then : 25478 enableval=$enable_spamassassin_plugin; enable_spamassassin_plugin=$enableval 25479else 25480 enable_spamassassin_plugin=auto 25481fi 25482 25483 25484# Check whether --enable-spam_report-plugin was given. 25485if test "${enable_spam_report_plugin+set}" = set; then : 25486 enableval=$enable_spam_report_plugin; enable_spam_report_plugin=$enableval 25487else 25488 enable_spam_report_plugin=auto 25489fi 25490 25491 25492# Check whether --enable-tnef_parse-plugin was given. 25493if test "${enable_tnef_parse_plugin+set}" = set; then : 25494 enableval=$enable_tnef_parse_plugin; enable_tnef_parse_plugin=$enableval 25495else 25496 enable_tnef_parse_plugin=auto 25497fi 25498 25499 25500# Check whether --enable-vcalendar-plugin was given. 25501if test "${enable_vcalendar_plugin+set}" = set; then : 25502 enableval=$enable_vcalendar_plugin; enable_vcalendar_plugin=$enableval 25503else 25504 enable_vcalendar_plugin=auto 25505fi 25506 25507 25508# Check whether --enable-demo-plugin was given. 25509if test "${enable_demo_plugin+set}" = set; then : 25510 enableval=$enable_demo_plugin; enable_demo_plugin=$enableval 25511else 25512 enable_demo_plugin=no 25513fi 25514 25515 25516 25517 25518 25519 25520pkg_failed=no 25521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5 25522$as_echo_n "checking for CURL... " >&6; } 25523 25524if test -n "$CURL_CFLAGS"; then 25525 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" 25526 elif test -n "$PKG_CONFIG"; then 25527 if test -n "$PKG_CONFIG" && \ 25528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 25529 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 25530 ac_status=$? 25531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25532 test $ac_status = 0; }; then 25533 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null` 25534 test "x$?" != "x0" && pkg_failed=yes 25535else 25536 pkg_failed=yes 25537fi 25538 else 25539 pkg_failed=untried 25540fi 25541if test -n "$CURL_LIBS"; then 25542 pkg_cv_CURL_LIBS="$CURL_LIBS" 25543 elif test -n "$PKG_CONFIG"; then 25544 if test -n "$PKG_CONFIG" && \ 25545 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 25546 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 25547 ac_status=$? 25548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25549 test $ac_status = 0; }; then 25550 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null` 25551 test "x$?" != "x0" && pkg_failed=yes 25552else 25553 pkg_failed=yes 25554fi 25555 else 25556 pkg_failed=untried 25557fi 25558 25559 25560 25561if test $pkg_failed = yes; then 25562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25563$as_echo "no" >&6; } 25564 25565if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25566 _pkg_short_errors_supported=yes 25567else 25568 _pkg_short_errors_supported=no 25569fi 25570 if test $_pkg_short_errors_supported = yes; then 25571 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1` 25572 else 25573 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1` 25574 fi 25575 # Put the nasty error message in config.log where it belongs 25576 echo "$CURL_PKG_ERRORS" >&5 25577 25578 HAVE_CURL=no 25579elif test $pkg_failed = untried; then 25580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25581$as_echo "no" >&6; } 25582 HAVE_CURL=no 25583else 25584 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS 25585 CURL_LIBS=$pkg_cv_CURL_LIBS 25586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25587$as_echo "yes" >&6; } 25588 HAVE_CURL=yes 25589fi 25590 25591 25592 25593 25594pkg_failed=no 25595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXPAT" >&5 25596$as_echo_n "checking for EXPAT... " >&6; } 25597 25598if test -n "$EXPAT_CFLAGS"; then 25599 pkg_cv_EXPAT_CFLAGS="$EXPAT_CFLAGS" 25600 elif test -n "$PKG_CONFIG"; then 25601 if test -n "$PKG_CONFIG" && \ 25602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5 25603 ($PKG_CONFIG --exists --print-errors "expat") 2>&5 25604 ac_status=$? 25605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25606 test $ac_status = 0; }; then 25607 pkg_cv_EXPAT_CFLAGS=`$PKG_CONFIG --cflags "expat" 2>/dev/null` 25608 test "x$?" != "x0" && pkg_failed=yes 25609else 25610 pkg_failed=yes 25611fi 25612 else 25613 pkg_failed=untried 25614fi 25615if test -n "$EXPAT_LIBS"; then 25616 pkg_cv_EXPAT_LIBS="$EXPAT_LIBS" 25617 elif test -n "$PKG_CONFIG"; then 25618 if test -n "$PKG_CONFIG" && \ 25619 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5 25620 ($PKG_CONFIG --exists --print-errors "expat") 2>&5 25621 ac_status=$? 25622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25623 test $ac_status = 0; }; then 25624 pkg_cv_EXPAT_LIBS=`$PKG_CONFIG --libs "expat" 2>/dev/null` 25625 test "x$?" != "x0" && pkg_failed=yes 25626else 25627 pkg_failed=yes 25628fi 25629 else 25630 pkg_failed=untried 25631fi 25632 25633 25634 25635if test $pkg_failed = yes; then 25636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25637$as_echo "no" >&6; } 25638 25639if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25640 _pkg_short_errors_supported=yes 25641else 25642 _pkg_short_errors_supported=no 25643fi 25644 if test $_pkg_short_errors_supported = yes; then 25645 EXPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "expat" 2>&1` 25646 else 25647 EXPAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "expat" 2>&1` 25648 fi 25649 # Put the nasty error message in config.log where it belongs 25650 echo "$EXPAT_PKG_ERRORS" >&5 25651 25652 HAVE_EXPAT=no 25653elif test $pkg_failed = untried; then 25654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25655$as_echo "no" >&6; } 25656 HAVE_EXPAT=no 25657else 25658 EXPAT_CFLAGS=$pkg_cv_EXPAT_CFLAGS 25659 EXPAT_LIBS=$pkg_cv_EXPAT_LIBS 25660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25661$as_echo "yes" >&6; } 25662 HAVE_EXPAT=yes 25663fi 25664 25665if test x"$HAVE_EXPAT" = xno; then 25666 ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default" 25667if test "x$ac_cv_header_expat_h" = xyes; then : 25668 expat_header=yes 25669else 25670 expat_header=no 25671fi 25672 25673 25674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5 25675$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; } 25676if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then : 25677 $as_echo_n "(cached) " >&6 25678else 25679 ac_check_lib_save_LIBS=$LIBS 25680LIBS="-lexpat $LIBS" 25681cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25682/* end confdefs.h. */ 25683 25684/* Override any GCC internal prototype to avoid an error. 25685 Use char because int might match the return type of a GCC 25686 builtin and then its argument prototype would still apply. */ 25687#ifdef __cplusplus 25688extern "C" 25689#endif 25690char XML_ParserCreate (); 25691int 25692main () 25693{ 25694return XML_ParserCreate (); 25695 ; 25696 return 0; 25697} 25698_ACEOF 25699if ac_fn_c_try_link "$LINENO"; then : 25700 ac_cv_lib_expat_XML_ParserCreate=yes 25701else 25702 ac_cv_lib_expat_XML_ParserCreate=no 25703fi 25704rm -f core conftest.err conftest.$ac_objext \ 25705 conftest$ac_exeext conftest.$ac_ext 25706LIBS=$ac_check_lib_save_LIBS 25707fi 25708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5 25709$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; } 25710if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then : 25711 expat_lib=yes 25712else 25713 expat_lib=no 25714fi 25715 25716 if test x"$expat_header" = xyes -a x"$expat_lib"=xyes; then 25717 HAVE_EXPAT=yes 25718 EXPAT_CFLAGS="" 25719 EXPAT_LIBS="-lexpat" 25720 fi 25721fi 25722 25723 25724 25725 25726 25727pkg_failed=no 25728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 25729$as_echo_n "checking for WEBKIT... " >&6; } 25730 25731if test -n "$WEBKIT_CFLAGS"; then 25732 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" 25733 elif test -n "$PKG_CONFIG"; then 25734 if test -n "$PKG_CONFIG" && \ 25735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.10.0\""; } >&5 25736 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.10.0") 2>&5 25737 ac_status=$? 25738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25739 test $ac_status = 0; }; then 25740 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0 >= 1.10.0" 2>/dev/null` 25741 test "x$?" != "x0" && pkg_failed=yes 25742else 25743 pkg_failed=yes 25744fi 25745 else 25746 pkg_failed=untried 25747fi 25748if test -n "$WEBKIT_LIBS"; then 25749 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" 25750 elif test -n "$PKG_CONFIG"; then 25751 if test -n "$PKG_CONFIG" && \ 25752 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.10.0\""; } >&5 25753 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.10.0") 2>&5 25754 ac_status=$? 25755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25756 test $ac_status = 0; }; then 25757 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0 >= 1.10.0" 2>/dev/null` 25758 test "x$?" != "x0" && pkg_failed=yes 25759else 25760 pkg_failed=yes 25761fi 25762 else 25763 pkg_failed=untried 25764fi 25765 25766 25767 25768if test $pkg_failed = yes; then 25769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25770$as_echo "no" >&6; } 25771 25772if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25773 _pkg_short_errors_supported=yes 25774else 25775 _pkg_short_errors_supported=no 25776fi 25777 if test $_pkg_short_errors_supported = yes; then 25778 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkit-1.0 >= 1.10.0" 2>&1` 25779 else 25780 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkit-1.0 >= 1.10.0" 2>&1` 25781 fi 25782 # Put the nasty error message in config.log where it belongs 25783 echo "$WEBKIT_PKG_ERRORS" >&5 25784 25785 HAVE_WEBKIT=no 25786elif test $pkg_failed = untried; then 25787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25788$as_echo "no" >&6; } 25789 HAVE_WEBKIT=no 25790else 25791 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS 25792 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS 25793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25794$as_echo "yes" >&6; } 25795 HAVE_WEBKIT=yes 25796fi 25797 25798 25799 25800 25801pkg_failed=no 25802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5 25803$as_echo_n "checking for LIBSOUP... " >&6; } 25804 25805if test -n "$LIBSOUP_CFLAGS"; then 25806 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS" 25807 elif test -n "$PKG_CONFIG"; then 25808 if test -n "$PKG_CONFIG" && \ 25809 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5 25810 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5 25811 ac_status=$? 25812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25813 test $ac_status = 0; }; then 25814 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null` 25815 test "x$?" != "x0" && pkg_failed=yes 25816else 25817 pkg_failed=yes 25818fi 25819 else 25820 pkg_failed=untried 25821fi 25822if test -n "$LIBSOUP_LIBS"; then 25823 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS" 25824 elif test -n "$PKG_CONFIG"; then 25825 if test -n "$PKG_CONFIG" && \ 25826 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5 25827 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5 25828 ac_status=$? 25829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25830 test $ac_status = 0; }; then 25831 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null` 25832 test "x$?" != "x0" && pkg_failed=yes 25833else 25834 pkg_failed=yes 25835fi 25836 else 25837 pkg_failed=untried 25838fi 25839 25840 25841 25842if test $pkg_failed = yes; then 25843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25844$as_echo "no" >&6; } 25845 25846if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25847 _pkg_short_errors_supported=yes 25848else 25849 _pkg_short_errors_supported=no 25850fi 25851 if test $_pkg_short_errors_supported = yes; then 25852 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1` 25853 else 25854 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1` 25855 fi 25856 # Put the nasty error message in config.log where it belongs 25857 echo "$LIBSOUP_PKG_ERRORS" >&5 25858 25859 HAVE_LIBSOUP=no 25860elif test $pkg_failed = untried; then 25861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25862$as_echo "no" >&6; } 25863 HAVE_LIBSOUP=no 25864else 25865 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS 25866 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS 25867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25868$as_echo "yes" >&6; } 25869 HAVE_LIBSOUP=yes 25870fi 25871if test x"$HAVE_LIBSOUP" = xyes; then 25872 25873$as_echo "#define HAVE_LIBSOUP 1" >>confdefs.h 25874 25875fi 25876 25877 25878 25879 25880pkg_failed=no 25881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP_GNOME" >&5 25882$as_echo_n "checking for LIBSOUP_GNOME... " >&6; } 25883 25884if test -n "$LIBSOUP_GNOME_CFLAGS"; then 25885 pkg_cv_LIBSOUP_GNOME_CFLAGS="$LIBSOUP_GNOME_CFLAGS" 25886 elif test -n "$PKG_CONFIG"; then 25887 if test -n "$PKG_CONFIG" && \ 25888 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.26\""; } >&5 25889 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.26") 2>&5 25890 ac_status=$? 25891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25892 test $ac_status = 0; }; then 25893 pkg_cv_LIBSOUP_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libsoup-gnome-2.4 >= 2.26" 2>/dev/null` 25894 test "x$?" != "x0" && pkg_failed=yes 25895else 25896 pkg_failed=yes 25897fi 25898 else 25899 pkg_failed=untried 25900fi 25901if test -n "$LIBSOUP_GNOME_LIBS"; then 25902 pkg_cv_LIBSOUP_GNOME_LIBS="$LIBSOUP_GNOME_LIBS" 25903 elif test -n "$PKG_CONFIG"; then 25904 if test -n "$PKG_CONFIG" && \ 25905 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.26\""; } >&5 25906 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.26") 2>&5 25907 ac_status=$? 25908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25909 test $ac_status = 0; }; then 25910 pkg_cv_LIBSOUP_GNOME_LIBS=`$PKG_CONFIG --libs "libsoup-gnome-2.4 >= 2.26" 2>/dev/null` 25911 test "x$?" != "x0" && pkg_failed=yes 25912else 25913 pkg_failed=yes 25914fi 25915 else 25916 pkg_failed=untried 25917fi 25918 25919 25920 25921if test $pkg_failed = yes; then 25922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25923$as_echo "no" >&6; } 25924 25925if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25926 _pkg_short_errors_supported=yes 25927else 25928 _pkg_short_errors_supported=no 25929fi 25930 if test $_pkg_short_errors_supported = yes; then 25931 LIBSOUP_GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-gnome-2.4 >= 2.26" 2>&1` 25932 else 25933 LIBSOUP_GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-gnome-2.4 >= 2.26" 2>&1` 25934 fi 25935 # Put the nasty error message in config.log where it belongs 25936 echo "$LIBSOUP_GNOME_PKG_ERRORS" >&5 25937 25938 HAVE_LIBSOUP_GNOME=no 25939elif test $pkg_failed = untried; then 25940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25941$as_echo "no" >&6; } 25942 HAVE_LIBSOUP_GNOME=no 25943else 25944 LIBSOUP_GNOME_CFLAGS=$pkg_cv_LIBSOUP_GNOME_CFLAGS 25945 LIBSOUP_GNOME_LIBS=$pkg_cv_LIBSOUP_GNOME_LIBS 25946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25947$as_echo "yes" >&6; } 25948 HAVE_LIBSOUP_GNOME=yes 25949fi 25950if test x"$HAVE_LIBSOUP_GNOME" = xyes; then 25951 25952$as_echo "#define HAVE_LIBSOUP_GNOME 1" >>confdefs.h 25953 25954fi 25955 25956 25957 25958 25959pkg_failed=no 25960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBARCHIVE" >&5 25961$as_echo_n "checking for LIBARCHIVE... " >&6; } 25962 25963if test -n "$LIBARCHIVE_CFLAGS"; then 25964 pkg_cv_LIBARCHIVE_CFLAGS="$LIBARCHIVE_CFLAGS" 25965 elif test -n "$PKG_CONFIG"; then 25966 if test -n "$PKG_CONFIG" && \ 25967 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive\""; } >&5 25968 ($PKG_CONFIG --exists --print-errors "libarchive") 2>&5 25969 ac_status=$? 25970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25971 test $ac_status = 0; }; then 25972 pkg_cv_LIBARCHIVE_CFLAGS=`$PKG_CONFIG --cflags "libarchive" 2>/dev/null` 25973 test "x$?" != "x0" && pkg_failed=yes 25974else 25975 pkg_failed=yes 25976fi 25977 else 25978 pkg_failed=untried 25979fi 25980if test -n "$LIBARCHIVE_LIBS"; then 25981 pkg_cv_LIBARCHIVE_LIBS="$LIBARCHIVE_LIBS" 25982 elif test -n "$PKG_CONFIG"; then 25983 if test -n "$PKG_CONFIG" && \ 25984 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive\""; } >&5 25985 ($PKG_CONFIG --exists --print-errors "libarchive") 2>&5 25986 ac_status=$? 25987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25988 test $ac_status = 0; }; then 25989 pkg_cv_LIBARCHIVE_LIBS=`$PKG_CONFIG --libs "libarchive" 2>/dev/null` 25990 test "x$?" != "x0" && pkg_failed=yes 25991else 25992 pkg_failed=yes 25993fi 25994 else 25995 pkg_failed=untried 25996fi 25997 25998 25999 26000if test $pkg_failed = yes; then 26001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26002$as_echo "no" >&6; } 26003 26004if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26005 _pkg_short_errors_supported=yes 26006else 26007 _pkg_short_errors_supported=no 26008fi 26009 if test $_pkg_short_errors_supported = yes; then 26010 LIBARCHIVE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libarchive" 2>&1` 26011 else 26012 LIBARCHIVE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libarchive" 2>&1` 26013 fi 26014 # Put the nasty error message in config.log where it belongs 26015 echo "$LIBARCHIVE_PKG_ERRORS" >&5 26016 26017 HAVE_ARCHIVE=no 26018elif test $pkg_failed = untried; then 26019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26020$as_echo "no" >&6; } 26021 HAVE_ARCHIVE=no 26022else 26023 LIBARCHIVE_CFLAGS=$pkg_cv_LIBARCHIVE_CFLAGS 26024 LIBARCHIVE_LIBS=$pkg_cv_LIBARCHIVE_LIBS 26025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26026$as_echo "yes" >&6; } 26027 HAVE_ARCHIVE=yes 26028fi 26029 26030 26031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archive_read_new in -larchive" >&5 26032$as_echo_n "checking for archive_read_new in -larchive... " >&6; } 26033if ${ac_cv_lib_archive_archive_read_new+:} false; then : 26034 $as_echo_n "(cached) " >&6 26035else 26036 ac_check_lib_save_LIBS=$LIBS 26037LIBS="-larchive $LIBS" 26038cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26039/* end confdefs.h. */ 26040 26041/* Override any GCC internal prototype to avoid an error. 26042 Use char because int might match the return type of a GCC 26043 builtin and then its argument prototype would still apply. */ 26044#ifdef __cplusplus 26045extern "C" 26046#endif 26047char archive_read_new (); 26048int 26049main () 26050{ 26051return archive_read_new (); 26052 ; 26053 return 0; 26054} 26055_ACEOF 26056if ac_fn_c_try_link "$LINENO"; then : 26057 ac_cv_lib_archive_archive_read_new=yes 26058else 26059 ac_cv_lib_archive_archive_read_new=no 26060fi 26061rm -f core conftest.err conftest.$ac_objext \ 26062 conftest$ac_exeext conftest.$ac_ext 26063LIBS=$ac_check_lib_save_LIBS 26064fi 26065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_archive_archive_read_new" >&5 26066$as_echo "$ac_cv_lib_archive_archive_read_new" >&6; } 26067if test "x$ac_cv_lib_archive_archive_read_new" = xyes; then : 26068 ARCHIVE_LIBS=-larchive 26069 HAVE_ARCHIVE=yes 26070 ARCHIVE_LIBS=$ARCHIVE_CFLAGS 26071 26072else 26073 HAVE_ARCHIVE=no 26074 26075fi 26076 26077 26078 26079pkg_failed=no 26080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDATA" >&5 26081$as_echo_n "checking for GDATA... " >&6; } 26082 26083if test -n "$GDATA_CFLAGS"; then 26084 pkg_cv_GDATA_CFLAGS="$GDATA_CFLAGS" 26085 elif test -n "$PKG_CONFIG"; then 26086 if test -n "$PKG_CONFIG" && \ 26087 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgdata >= 0.17.2\""; } >&5 26088 ($PKG_CONFIG --exists --print-errors "libgdata >= 0.17.2") 2>&5 26089 ac_status=$? 26090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26091 test $ac_status = 0; }; then 26092 pkg_cv_GDATA_CFLAGS=`$PKG_CONFIG --cflags "libgdata >= 0.17.2" 2>/dev/null` 26093 test "x$?" != "x0" && pkg_failed=yes 26094else 26095 pkg_failed=yes 26096fi 26097 else 26098 pkg_failed=untried 26099fi 26100if test -n "$GDATA_LIBS"; then 26101 pkg_cv_GDATA_LIBS="$GDATA_LIBS" 26102 elif test -n "$PKG_CONFIG"; then 26103 if test -n "$PKG_CONFIG" && \ 26104 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgdata >= 0.17.2\""; } >&5 26105 ($PKG_CONFIG --exists --print-errors "libgdata >= 0.17.2") 2>&5 26106 ac_status=$? 26107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26108 test $ac_status = 0; }; then 26109 pkg_cv_GDATA_LIBS=`$PKG_CONFIG --libs "libgdata >= 0.17.2" 2>/dev/null` 26110 test "x$?" != "x0" && pkg_failed=yes 26111else 26112 pkg_failed=yes 26113fi 26114 else 26115 pkg_failed=untried 26116fi 26117 26118 26119 26120if test $pkg_failed = yes; then 26121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26122$as_echo "no" >&6; } 26123 26124if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26125 _pkg_short_errors_supported=yes 26126else 26127 _pkg_short_errors_supported=no 26128fi 26129 if test $_pkg_short_errors_supported = yes; then 26130 GDATA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgdata >= 0.17.2" 2>&1` 26131 else 26132 GDATA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgdata >= 0.17.2" 2>&1` 26133 fi 26134 # Put the nasty error message in config.log where it belongs 26135 echo "$GDATA_PKG_ERRORS" >&5 26136 26137 HAVE_GDATA=no 26138elif test $pkg_failed = untried; then 26139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26140$as_echo "no" >&6; } 26141 HAVE_GDATA=no 26142else 26143 GDATA_CFLAGS=$pkg_cv_GDATA_CFLAGS 26144 GDATA_LIBS=$pkg_cv_GDATA_LIBS 26145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26146$as_echo "yes" >&6; } 26147 HAVE_GDATA=yes 26148fi 26149 26150 26151 26152 26153pkg_failed=no 26154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5 26155$as_echo_n "checking for CAIRO... " >&6; } 26156 26157if test -n "$CAIRO_CFLAGS"; then 26158 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS" 26159 elif test -n "$PKG_CONFIG"; then 26160 if test -n "$PKG_CONFIG" && \ 26161 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5 26162 ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5 26163 ac_status=$? 26164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26165 test $ac_status = 0; }; then 26166 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.12.0" 2>/dev/null` 26167 test "x$?" != "x0" && pkg_failed=yes 26168else 26169 pkg_failed=yes 26170fi 26171 else 26172 pkg_failed=untried 26173fi 26174if test -n "$CAIRO_LIBS"; then 26175 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS" 26176 elif test -n "$PKG_CONFIG"; then 26177 if test -n "$PKG_CONFIG" && \ 26178 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5 26179 ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5 26180 ac_status=$? 26181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26182 test $ac_status = 0; }; then 26183 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.12.0" 2>/dev/null` 26184 test "x$?" != "x0" && pkg_failed=yes 26185else 26186 pkg_failed=yes 26187fi 26188 else 26189 pkg_failed=untried 26190fi 26191 26192 26193 26194if test $pkg_failed = yes; then 26195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26196$as_echo "no" >&6; } 26197 26198if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26199 _pkg_short_errors_supported=yes 26200else 26201 _pkg_short_errors_supported=no 26202fi 26203 if test $_pkg_short_errors_supported = yes; then 26204 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1` 26205 else 26206 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1` 26207 fi 26208 # Put the nasty error message in config.log where it belongs 26209 echo "$CAIRO_PKG_ERRORS" >&5 26210 26211 HAVE_CAIRO=no 26212elif test $pkg_failed = untried; then 26213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26214$as_echo "no" >&6; } 26215 HAVE_CAIRO=no 26216else 26217 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS 26218 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS 26219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26220$as_echo "yes" >&6; } 26221 HAVE_CAIRO=yes 26222fi 26223 26224 26225 26226 26227pkg_failed=no 26228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5 26229$as_echo_n "checking for FONTCONFIG... " >&6; } 26230 26231if test -n "$FONTCONFIG_CFLAGS"; then 26232 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS" 26233 elif test -n "$PKG_CONFIG"; then 26234 if test -n "$PKG_CONFIG" && \ 26235 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5 26236 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5 26237 ac_status=$? 26238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26239 test $ac_status = 0; }; then 26240 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null` 26241 test "x$?" != "x0" && pkg_failed=yes 26242else 26243 pkg_failed=yes 26244fi 26245 else 26246 pkg_failed=untried 26247fi 26248if test -n "$FONTCONFIG_LIBS"; then 26249 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS" 26250 elif test -n "$PKG_CONFIG"; then 26251 if test -n "$PKG_CONFIG" && \ 26252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5 26253 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5 26254 ac_status=$? 26255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26256 test $ac_status = 0; }; then 26257 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null` 26258 test "x$?" != "x0" && pkg_failed=yes 26259else 26260 pkg_failed=yes 26261fi 26262 else 26263 pkg_failed=untried 26264fi 26265 26266 26267 26268if test $pkg_failed = yes; then 26269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26270$as_echo "no" >&6; } 26271 26272if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26273 _pkg_short_errors_supported=yes 26274else 26275 _pkg_short_errors_supported=no 26276fi 26277 if test $_pkg_short_errors_supported = yes; then 26278 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig" 2>&1` 26279 else 26280 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig" 2>&1` 26281 fi 26282 # Put the nasty error message in config.log where it belongs 26283 echo "$FONTCONFIG_PKG_ERRORS" >&5 26284 26285 HAVE_FONTCONFIG=no 26286elif test $pkg_failed = untried; then 26287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26288$as_echo "no" >&6; } 26289 HAVE_FONTCONFIG=no 26290else 26291 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS 26292 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS 26293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26294$as_echo "yes" >&6; } 26295 HAVE_FONTCONFIG=yes 26296fi 26297 26298 26299 26300 26301pkg_failed=no 26302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUMBO" >&5 26303$as_echo_n "checking for LIBGUMBO... " >&6; } 26304 26305if test -n "$LIBGUMBO_CFLAGS"; then 26306 pkg_cv_LIBGUMBO_CFLAGS="$LIBGUMBO_CFLAGS" 26307 elif test -n "$PKG_CONFIG"; then 26308 if test -n "$PKG_CONFIG" && \ 26309 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gumbo >= 0.10\""; } >&5 26310 ($PKG_CONFIG --exists --print-errors "gumbo >= 0.10") 2>&5 26311 ac_status=$? 26312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26313 test $ac_status = 0; }; then 26314 pkg_cv_LIBGUMBO_CFLAGS=`$PKG_CONFIG --cflags "gumbo >= 0.10" 2>/dev/null` 26315 test "x$?" != "x0" && pkg_failed=yes 26316else 26317 pkg_failed=yes 26318fi 26319 else 26320 pkg_failed=untried 26321fi 26322if test -n "$LIBGUMBO_LIBS"; then 26323 pkg_cv_LIBGUMBO_LIBS="$LIBGUMBO_LIBS" 26324 elif test -n "$PKG_CONFIG"; then 26325 if test -n "$PKG_CONFIG" && \ 26326 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gumbo >= 0.10\""; } >&5 26327 ($PKG_CONFIG --exists --print-errors "gumbo >= 0.10") 2>&5 26328 ac_status=$? 26329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26330 test $ac_status = 0; }; then 26331 pkg_cv_LIBGUMBO_LIBS=`$PKG_CONFIG --libs "gumbo >= 0.10" 2>/dev/null` 26332 test "x$?" != "x0" && pkg_failed=yes 26333else 26334 pkg_failed=yes 26335fi 26336 else 26337 pkg_failed=untried 26338fi 26339 26340 26341 26342if test $pkg_failed = yes; then 26343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26344$as_echo "no" >&6; } 26345 26346if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26347 _pkg_short_errors_supported=yes 26348else 26349 _pkg_short_errors_supported=no 26350fi 26351 if test $_pkg_short_errors_supported = yes; then 26352 LIBGUMBO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gumbo >= 0.10" 2>&1` 26353 else 26354 LIBGUMBO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gumbo >= 0.10" 2>&1` 26355 fi 26356 # Put the nasty error message in config.log where it belongs 26357 echo "$LIBGUMBO_PKG_ERRORS" >&5 26358 26359 HAVE_LIBGUMBO=no 26360elif test $pkg_failed = untried; then 26361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26362$as_echo "no" >&6; } 26363 HAVE_LIBGUMBO=no 26364else 26365 LIBGUMBO_CFLAGS=$pkg_cv_LIBGUMBO_CFLAGS 26366 LIBGUMBO_LIBS=$pkg_cv_LIBGUMBO_LIBS 26367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26368$as_echo "yes" >&6; } 26369 HAVE_LIBGUMBO=yes 26370fi 26371 26372 26373 26374 26375pkg_failed=no 26376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5 26377$as_echo_n "checking for LIBICAL... " >&6; } 26378 26379if test -n "$LIBICAL_CFLAGS"; then 26380 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS" 26381 elif test -n "$PKG_CONFIG"; then 26382 if test -n "$PKG_CONFIG" && \ 26383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical >= 2.0\""; } >&5 26384 ($PKG_CONFIG --exists --print-errors "libical >= 2.0") 2>&5 26385 ac_status=$? 26386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26387 test $ac_status = 0; }; then 26388 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libical >= 2.0" 2>/dev/null` 26389 test "x$?" != "x0" && pkg_failed=yes 26390else 26391 pkg_failed=yes 26392fi 26393 else 26394 pkg_failed=untried 26395fi 26396if test -n "$LIBICAL_LIBS"; then 26397 pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS" 26398 elif test -n "$PKG_CONFIG"; then 26399 if test -n "$PKG_CONFIG" && \ 26400 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical >= 2.0\""; } >&5 26401 ($PKG_CONFIG --exists --print-errors "libical >= 2.0") 2>&5 26402 ac_status=$? 26403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26404 test $ac_status = 0; }; then 26405 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libical >= 2.0" 2>/dev/null` 26406 test "x$?" != "x0" && pkg_failed=yes 26407else 26408 pkg_failed=yes 26409fi 26410 else 26411 pkg_failed=untried 26412fi 26413 26414 26415 26416if test $pkg_failed = yes; then 26417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26418$as_echo "no" >&6; } 26419 26420if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26421 _pkg_short_errors_supported=yes 26422else 26423 _pkg_short_errors_supported=no 26424fi 26425 if test $_pkg_short_errors_supported = yes; then 26426 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libical >= 2.0" 2>&1` 26427 else 26428 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libical >= 2.0" 2>&1` 26429 fi 26430 # Put the nasty error message in config.log where it belongs 26431 echo "$LIBICAL_PKG_ERRORS" >&5 26432 26433 HAVE_LIBICAL=no 26434elif test $pkg_failed = untried; then 26435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26436$as_echo "no" >&6; } 26437 HAVE_LIBICAL=no 26438else 26439 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS 26440 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS 26441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26442$as_echo "yes" >&6; } 26443 HAVE_LIBICAL=yes 26444fi 26445 26446 26447 26448 26449pkg_failed=no 26450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER" >&5 26451$as_echo_n "checking for POPPLER... " >&6; } 26452 26453if test -n "$POPPLER_CFLAGS"; then 26454 pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS" 26455 elif test -n "$PKG_CONFIG"; then 26456 if test -n "$PKG_CONFIG" && \ 26457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.12.0\""; } >&5 26458 ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.12.0") 2>&5 26459 ac_status=$? 26460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26461 test $ac_status = 0; }; then 26462 pkg_cv_POPPLER_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.12.0" 2>/dev/null` 26463 test "x$?" != "x0" && pkg_failed=yes 26464else 26465 pkg_failed=yes 26466fi 26467 else 26468 pkg_failed=untried 26469fi 26470if test -n "$POPPLER_LIBS"; then 26471 pkg_cv_POPPLER_LIBS="$POPPLER_LIBS" 26472 elif test -n "$PKG_CONFIG"; then 26473 if test -n "$PKG_CONFIG" && \ 26474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.12.0\""; } >&5 26475 ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.12.0") 2>&5 26476 ac_status=$? 26477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26478 test $ac_status = 0; }; then 26479 pkg_cv_POPPLER_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.12.0" 2>/dev/null` 26480 test "x$?" != "x0" && pkg_failed=yes 26481else 26482 pkg_failed=yes 26483fi 26484 else 26485 pkg_failed=untried 26486fi 26487 26488 26489 26490if test $pkg_failed = yes; then 26491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26492$as_echo "no" >&6; } 26493 26494if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26495 _pkg_short_errors_supported=yes 26496else 26497 _pkg_short_errors_supported=no 26498fi 26499 if test $_pkg_short_errors_supported = yes; then 26500 POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "poppler-glib >= 0.12.0" 2>&1` 26501 else 26502 POPPLER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "poppler-glib >= 0.12.0" 2>&1` 26503 fi 26504 # Put the nasty error message in config.log where it belongs 26505 echo "$POPPLER_PKG_ERRORS" >&5 26506 26507 HAVE_POPPLER=no 26508elif test $pkg_failed = untried; then 26509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26510$as_echo "no" >&6; } 26511 HAVE_POPPLER=no 26512else 26513 POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS 26514 POPPLER_LIBS=$pkg_cv_POPPLER_LIBS 26515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26516$as_echo "yes" >&6; } 26517 HAVE_POPPLER=yes 26518fi 26519 26520 26521 26522if test x"$HAVE_POPPLER" = xyes; then 26523 OLD_CFLAGS=$CFLAGS 26524 CFLAGS="$POPPLER_CFLAGS $GTK_CFLAGS $GLIB_CFLAGS" 26525 ac_fn_c_check_decl "$LINENO" "POPPLER_DEST_NAMED" "ac_cv_have_decl_POPPLER_DEST_NAMED" "#include <poppler-action.h> 26526" 26527if test "x$ac_cv_have_decl_POPPLER_DEST_NAMED" = xyes; then : 26528 26529$as_echo "#define HAVE_POPPLER_DEST_NAMED /**/" >>confdefs.h 26530 26531fi 26532 26533 ac_fn_c_check_decl "$LINENO" "POPPLER_DEST_XYZ" "ac_cv_have_decl_POPPLER_DEST_XYZ" "#include <poppler-action.h> 26534" 26535if test "x$ac_cv_have_decl_POPPLER_DEST_XYZ" = xyes; then : 26536 26537$as_echo "#define HAVE_POPPLER_DEST_XYZ /**/" >>confdefs.h 26538 26539fi 26540 26541 CFLAGS=$OLD_CFLAGS 26542fi 26543 26544# Extract the first word of "perl", so it can be a program name with args. 26545set dummy perl; ac_word=$2 26546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26547$as_echo_n "checking for $ac_word... " >&6; } 26548if ${ac_cv_prog_HAVE_PERL+:} false; then : 26549 $as_echo_n "(cached) " >&6 26550else 26551 if test -n "$HAVE_PERL"; then 26552 ac_cv_prog_HAVE_PERL="$HAVE_PERL" # Let the user override the test. 26553else 26554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26555for as_dir in $PATH 26556do 26557 IFS=$as_save_IFS 26558 test -z "$as_dir" && as_dir=. 26559 for ac_exec_ext in '' $ac_executable_extensions; do 26560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 26561 ac_cv_prog_HAVE_PERL="yes" 26562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26563 break 2 26564 fi 26565done 26566 done 26567IFS=$as_save_IFS 26568 26569 test -z "$ac_cv_prog_HAVE_PERL" && ac_cv_prog_HAVE_PERL="no" 26570fi 26571fi 26572HAVE_PERL=$ac_cv_prog_HAVE_PERL 26573if test -n "$HAVE_PERL"; then 26574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PERL" >&5 26575$as_echo "$HAVE_PERL" >&6; } 26576else 26577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26578$as_echo "no" >&6; } 26579fi 26580 26581 26582if test x"$HAVE_PERL" = xyes; then 26583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.0" >&5 26584$as_echo_n "checking for perl >= 5.8.0... " >&6; } 26585 PERL_VER=`perl -e 'print $] > 5.0079999?"yes":"no"'` 26586 if test "$PERL_VER" = "yes"; then 26587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26588$as_echo "yes" >&6; } 26589 else 26590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26591$as_echo "no" >&6; } 26592 HAVE_PERL=no 26593 fi 26594fi 26595if test x"$HAVE_PERL" = xyes; then 26596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl compile flags" >&5 26597$as_echo_n "checking for Perl compile flags... " >&6; } 26598 PERL_CFLAGS=`perl -MExtUtils::Embed -e ccopts` 26599 PERL_CFLAGS=`echo $PERL_CFLAGS | sed 's/-D_FILE_OFFSET_BITS=[0-9]*//'` 26600 PERL_LDFLAGS=`perl -MExtUtils::Embed -e ldopts |sed 's/-lgdbm\>//'` 26601 PERL_LDFLAGS=`echo $PERL_LDFLAGS |sed 's/-ldb\>//'` 26602 PERL_LDFLAGS=`echo $PERL_LDFLAGS |sed 's/-lndbm\>//'` 26603 PERL_LDFLAGS=`echo $PERL_LDFLAGS |sed 's/-lc\>//'` 26604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 26605$as_echo "ok" >&6; } 26606 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding perl LIBS ${PERL_CFLAGS}" >&5 26607$as_echo "$as_me: Adding perl LIBS ${PERL_CFLAGS}" >&6;} 26608 26609 if test x"$HAVE_PERL" = xyes; then 26610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl_alloc in -lperl" >&5 26611$as_echo_n "checking for perl_alloc in -lperl... " >&6; } 26612if ${ac_cv_lib_perl_perl_alloc+:} false; then : 26613 $as_echo_n "(cached) " >&6 26614else 26615 ac_check_lib_save_LIBS=$LIBS 26616LIBS="-lperl $LIBS" 26617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26618/* end confdefs.h. */ 26619 26620/* Override any GCC internal prototype to avoid an error. 26621 Use char because int might match the return type of a GCC 26622 builtin and then its argument prototype would still apply. */ 26623#ifdef __cplusplus 26624extern "C" 26625#endif 26626char perl_alloc (); 26627int 26628main () 26629{ 26630return perl_alloc (); 26631 ; 26632 return 0; 26633} 26634_ACEOF 26635if ac_fn_c_try_link "$LINENO"; then : 26636 ac_cv_lib_perl_perl_alloc=yes 26637else 26638 ac_cv_lib_perl_perl_alloc=no 26639fi 26640rm -f core conftest.err conftest.$ac_objext \ 26641 conftest$ac_exeext conftest.$ac_ext 26642LIBS=$ac_check_lib_save_LIBS 26643fi 26644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_perl_perl_alloc" >&5 26645$as_echo "$ac_cv_lib_perl_perl_alloc" >&6; } 26646if test "x$ac_cv_lib_perl_perl_alloc" = xyes; then : 26647 26648$as_echo "#define HAVE_LIBPERL 1" >>confdefs.h 26649 26650else 26651 HAVE_LIBPERL=no 26652fi 26653 26654 fi 26655 if test x"$HAVE_LIBPERL" = xno; then 26656 LIBPERL_PREFIX=`perl -MExtUtils::Embed -e perl_inc` 26657 LIBPERL_PREFIX=`echo $LIBPERL_PREFIX |sed 's/-I//'` 26658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libperl.so" >&5 26659$as_echo_n "checking for libperl.so... " >&6; } 26660 if test -f "$LIBPERL_PREFIX/libperl.so"; then 26661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26662$as_echo "yes" >&6; } 26663 HAVE_LIBPERL=yes 26664 else 26665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26666$as_echo "no" >&6; } 26667 fi 26668 fi 26669 PERL="perl" 26670 26671 26672 26673fi 26674 26675 26676# Check whether --with-gpgme-prefix was given. 26677if test "${with_gpgme_prefix+set}" = set; then : 26678 withval=$with_gpgme_prefix; gpgme_config_prefix="$withval" 26679else 26680 gpgme_config_prefix="" 26681fi 26682 26683 if test "x$gpgme_config_prefix" != x ; then 26684 GPGME_CONFIG="$gpgme_config_prefix/bin/gpgme-config" 26685 fi 26686 # Extract the first word of "gpgme-config", so it can be a program name with args. 26687set dummy gpgme-config; ac_word=$2 26688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26689$as_echo_n "checking for $ac_word... " >&6; } 26690if ${ac_cv_path_GPGME_CONFIG+:} false; then : 26691 $as_echo_n "(cached) " >&6 26692else 26693 case $GPGME_CONFIG in 26694 [\\/]* | ?:[\\/]*) 26695 ac_cv_path_GPGME_CONFIG="$GPGME_CONFIG" # Let the user override the test with a path. 26696 ;; 26697 *) 26698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26699for as_dir in $PATH 26700do 26701 IFS=$as_save_IFS 26702 test -z "$as_dir" && as_dir=. 26703 for ac_exec_ext in '' $ac_executable_extensions; do 26704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 26705 ac_cv_path_GPGME_CONFIG="$as_dir/$ac_word$ac_exec_ext" 26706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26707 break 2 26708 fi 26709done 26710 done 26711IFS=$as_save_IFS 26712 26713 test -z "$ac_cv_path_GPGME_CONFIG" && ac_cv_path_GPGME_CONFIG="no" 26714 ;; 26715esac 26716fi 26717GPGME_CONFIG=$ac_cv_path_GPGME_CONFIG 26718if test -n "$GPGME_CONFIG"; then 26719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPGME_CONFIG" >&5 26720$as_echo "$GPGME_CONFIG" >&6; } 26721else 26722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26723$as_echo "no" >&6; } 26724fi 26725 26726 26727 26728 if test "$GPGME_CONFIG" != "no" ; then 26729 gpgme_version=`$GPGME_CONFIG --version` 26730 fi 26731 gpgme_version_major=`echo $gpgme_version | \ 26732 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'` 26733 gpgme_version_minor=`echo $gpgme_version | \ 26734 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'` 26735 gpgme_version_micro=`echo $gpgme_version | \ 26736 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'` 26737 26738 tmp=1.0.0 26739 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then 26740 req_gpgme_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` 26741 min_gpgme_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'` 26742 else 26743 req_gpgme_api=0 26744 min_gpgme_version="$tmp" 26745 fi 26746 26747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPGME - version >= $min_gpgme_version" >&5 26748$as_echo_n "checking for GPGME - version >= $min_gpgme_version... " >&6; } 26749 ok=no 26750 if test "$GPGME_CONFIG" != "no" ; then 26751 req_major=`echo $min_gpgme_version | \ 26752 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'` 26753 req_minor=`echo $min_gpgme_version | \ 26754 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'` 26755 req_micro=`echo $min_gpgme_version | \ 26756 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'` 26757 if test "$gpgme_version_major" -gt "$req_major"; then 26758 ok=yes 26759 else 26760 if test "$gpgme_version_major" -eq "$req_major"; then 26761 if test "$gpgme_version_minor" -gt "$req_minor"; then 26762 ok=yes 26763 else 26764 if test "$gpgme_version_minor" -eq "$req_minor"; then 26765 if test "$gpgme_version_micro" -ge "$req_micro"; then 26766 ok=yes 26767 fi 26768 fi 26769 fi 26770 fi 26771 fi 26772 fi 26773 if test $ok = yes; then 26774 # If we have a recent GPGME, we should also check that the 26775 # API is compatible. 26776 if test "$req_gpgme_api" -gt 0 ; then 26777 tmp=`$GPGME_CONFIG --api-version 2>/dev/null || echo 0` 26778 if test "$tmp" -gt 0 ; then 26779 if test "$req_gpgme_api" -ne "$tmp" ; then 26780 ok=no 26781 fi 26782 fi 26783 fi 26784 fi 26785 if test $ok = yes; then 26786 GPGME_CFLAGS=`$GPGME_CONFIG --cflags` 26787 GPGME_LIBS=`$GPGME_CONFIG --libs` 26788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26789$as_echo "yes" >&6; } 26790 HAVE_GPGME=yes 26791 else 26792 GPGME_CFLAGS="" 26793 GPGME_LIBS="" 26794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26795$as_echo "no" >&6; } 26796 HAVE_GPGME=no 26797 fi 26798 26799 26800 26801if test x"$HAVE_GPGME" = xyes; then 26802 26803$as_echo "#define USE_GPGME 1" >>confdefs.h 26804 26805 tmp=1.1.1 26806 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then 26807 req_gpgme_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` 26808 min_gpgme_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'` 26809 else 26810 req_gpgme_api=0 26811 min_gpgme_version="$tmp" 26812 fi 26813 26814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPGME - version >= $min_gpgme_version" >&5 26815$as_echo_n "checking for GPGME - version >= $min_gpgme_version... " >&6; } 26816 ok=no 26817 if test "$GPGME_CONFIG" != "no" ; then 26818 req_major=`echo $min_gpgme_version | \ 26819 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'` 26820 req_minor=`echo $min_gpgme_version | \ 26821 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'` 26822 req_micro=`echo $min_gpgme_version | \ 26823 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'` 26824 if test "$gpgme_version_major" -gt "$req_major"; then 26825 ok=yes 26826 else 26827 if test "$gpgme_version_major" -eq "$req_major"; then 26828 if test "$gpgme_version_minor" -gt "$req_minor"; then 26829 ok=yes 26830 else 26831 if test "$gpgme_version_minor" -eq "$req_minor"; then 26832 if test "$gpgme_version_micro" -ge "$req_micro"; then 26833 ok=yes 26834 fi 26835 fi 26836 fi 26837 fi 26838 fi 26839 fi 26840 if test $ok = yes; then 26841 # If we have a recent GPGME, we should also check that the 26842 # API is compatible. 26843 if test "$req_gpgme_api" -gt 0 ; then 26844 tmp=`$GPGME_CONFIG --api-version 2>/dev/null || echo 0` 26845 if test "$tmp" -gt 0 ; then 26846 if test "$req_gpgme_api" -ne "$tmp" ; then 26847 ok=no 26848 fi 26849 fi 26850 fi 26851 fi 26852 if test $ok = yes; then 26853 GPGME_CFLAGS=`$GPGME_CONFIG --cflags` 26854 GPGME_LIBS=`$GPGME_CONFIG --libs` 26855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26856$as_echo "yes" >&6; } 26857 26858$as_echo "#define HAVE_GPGME_PKA_TRUST 1" >>confdefs.h 26859 26860 else 26861 GPGME_CFLAGS="" 26862 GPGME_LIBS="" 26863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26864$as_echo "no" >&6; } 26865 : 26866 fi 26867 26868 26869 26870fi 26871 26872missing_python="" 26873 26874pkg_failed=no 26875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5 26876$as_echo_n "checking for PYTHON... " >&6; } 26877 26878if test -n "$PYTHON_CFLAGS"; then 26879 pkg_cv_PYTHON_CFLAGS="$PYTHON_CFLAGS" 26880 elif test -n "$PKG_CONFIG"; then 26881 if test -n "$PKG_CONFIG" && \ 26882 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python2\""; } >&5 26883 ($PKG_CONFIG --exists --print-errors "python2") 2>&5 26884 ac_status=$? 26885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26886 test $ac_status = 0; }; then 26887 pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "python2" 2>/dev/null` 26888 test "x$?" != "x0" && pkg_failed=yes 26889else 26890 pkg_failed=yes 26891fi 26892 else 26893 pkg_failed=untried 26894fi 26895if test -n "$PYTHON_LIBS"; then 26896 pkg_cv_PYTHON_LIBS="$PYTHON_LIBS" 26897 elif test -n "$PKG_CONFIG"; then 26898 if test -n "$PKG_CONFIG" && \ 26899 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python2\""; } >&5 26900 ($PKG_CONFIG --exists --print-errors "python2") 2>&5 26901 ac_status=$? 26902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26903 test $ac_status = 0; }; then 26904 pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "python2" 2>/dev/null` 26905 test "x$?" != "x0" && pkg_failed=yes 26906else 26907 pkg_failed=yes 26908fi 26909 else 26910 pkg_failed=untried 26911fi 26912 26913 26914 26915if test $pkg_failed = yes; then 26916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26917$as_echo "no" >&6; } 26918 26919if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26920 _pkg_short_errors_supported=yes 26921else 26922 _pkg_short_errors_supported=no 26923fi 26924 if test $_pkg_short_errors_supported = yes; then 26925 PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python2" 2>&1` 26926 else 26927 PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python2" 2>&1` 26928 fi 26929 # Put the nasty error message in config.log where it belongs 26930 echo "$PYTHON_PKG_ERRORS" >&5 26931 26932 HAVE_PYTHON=no 26933elif test $pkg_failed = untried; then 26934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26935$as_echo "no" >&6; } 26936 HAVE_PYTHON=no 26937else 26938 PYTHON_CFLAGS=$pkg_cv_PYTHON_CFLAGS 26939 PYTHON_LIBS=$pkg_cv_PYTHON_LIBS 26940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26941$as_echo "yes" >&6; } 26942 HAVE_PYTHON=yes 26943fi 26944if test x"$HAVE_PYTHON" = xno; then 26945 missing_python="python2" 26946fi 26947if test x"$HAVE_PYTHON" = xyes; then 26948 26949pkg_failed=no 26950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTK" >&5 26951$as_echo_n "checking for PYGTK... " >&6; } 26952 26953if test -n "$PYGTK_CFLAGS"; then 26954 pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS" 26955 elif test -n "$PKG_CONFIG"; then 26956 if test -n "$PKG_CONFIG" && \ 26957 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.10.3\""; } >&5 26958 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.10.3") 2>&5 26959 ac_status=$? 26960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26961 test $ac_status = 0; }; then 26962 pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 2.10.3" 2>/dev/null` 26963 test "x$?" != "x0" && pkg_failed=yes 26964else 26965 pkg_failed=yes 26966fi 26967 else 26968 pkg_failed=untried 26969fi 26970if test -n "$PYGTK_LIBS"; then 26971 pkg_cv_PYGTK_LIBS="$PYGTK_LIBS" 26972 elif test -n "$PKG_CONFIG"; then 26973 if test -n "$PKG_CONFIG" && \ 26974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.10.3\""; } >&5 26975 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.10.3") 2>&5 26976 ac_status=$? 26977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26978 test $ac_status = 0; }; then 26979 pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 2.10.3" 2>/dev/null` 26980 test "x$?" != "x0" && pkg_failed=yes 26981else 26982 pkg_failed=yes 26983fi 26984 else 26985 pkg_failed=untried 26986fi 26987 26988 26989 26990if test $pkg_failed = yes; then 26991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26992$as_echo "no" >&6; } 26993 26994if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26995 _pkg_short_errors_supported=yes 26996else 26997 _pkg_short_errors_supported=no 26998fi 26999 if test $_pkg_short_errors_supported = yes; then 27000 PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygtk-2.0 >= 2.10.3" 2>&1` 27001 else 27002 PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygtk-2.0 >= 2.10.3" 2>&1` 27003 fi 27004 # Put the nasty error message in config.log where it belongs 27005 echo "$PYGTK_PKG_ERRORS" >&5 27006 27007 HAVE_PYTHON=no 27008elif test $pkg_failed = untried; then 27009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27010$as_echo "no" >&6; } 27011 HAVE_PYTHON=no 27012else 27013 PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS 27014 PYGTK_LIBS=$pkg_cv_PYGTK_LIBS 27015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27016$as_echo "yes" >&6; } 27017 27018$as_echo "#define ENABLE_PYTHON 1" >>confdefs.h 27019 27020fi 27021 if test x"$HAVE_PYTHON" = xno; then 27022 missing_python="pygtk-2.0 >= 2.10.3" 27023 fi 27024fi 27025 27026 27027 27028 27029 27030 27031 27032pkg_failed=no 27033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnotify" >&5 27034$as_echo_n "checking for libnotify... " >&6; } 27035 27036if test -n "$libnotify_CFLAGS"; then 27037 pkg_cv_libnotify_CFLAGS="$libnotify_CFLAGS" 27038 elif test -n "$PKG_CONFIG"; then 27039 if test -n "$PKG_CONFIG" && \ 27040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4.3\""; } >&5 27041 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4.3") 2>&5 27042 ac_status=$? 27043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27044 test $ac_status = 0; }; then 27045 pkg_cv_libnotify_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4.3" 2>/dev/null` 27046 test "x$?" != "x0" && pkg_failed=yes 27047else 27048 pkg_failed=yes 27049fi 27050 else 27051 pkg_failed=untried 27052fi 27053if test -n "$libnotify_LIBS"; then 27054 pkg_cv_libnotify_LIBS="$libnotify_LIBS" 27055 elif test -n "$PKG_CONFIG"; then 27056 if test -n "$PKG_CONFIG" && \ 27057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4.3\""; } >&5 27058 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4.3") 2>&5 27059 ac_status=$? 27060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27061 test $ac_status = 0; }; then 27062 pkg_cv_libnotify_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4.3" 2>/dev/null` 27063 test "x$?" != "x0" && pkg_failed=yes 27064else 27065 pkg_failed=yes 27066fi 27067 else 27068 pkg_failed=untried 27069fi 27070 27071 27072 27073if test $pkg_failed = yes; then 27074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27075$as_echo "no" >&6; } 27076 27077if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27078 _pkg_short_errors_supported=yes 27079else 27080 _pkg_short_errors_supported=no 27081fi 27082 if test $_pkg_short_errors_supported = yes; then 27083 libnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify >= 0.4.3" 2>&1` 27084 else 27085 libnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify >= 0.4.3" 2>&1` 27086 fi 27087 # Put the nasty error message in config.log where it belongs 27088 echo "$libnotify_PKG_ERRORS" >&5 27089 27090 HAVE_LIBNOTIFY=no 27091elif test $pkg_failed = untried; then 27092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27093$as_echo "no" >&6; } 27094 HAVE_LIBNOTIFY=no 27095else 27096 libnotify_CFLAGS=$pkg_cv_libnotify_CFLAGS 27097 libnotify_LIBS=$pkg_cv_libnotify_LIBS 27098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27099$as_echo "yes" >&6; } 27100 HAVE_LIBNOTIFY=yes 27101fi 27102if test x"$HAVE_LIBNOTIFY" = xyes; then 27103 27104$as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h 27105 27106fi 27107 27108 27109 27110 27111pkg_failed=no 27112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcanberra_gtk" >&5 27113$as_echo_n "checking for libcanberra_gtk... " >&6; } 27114 27115if test -n "$libcanberra_gtk_CFLAGS"; then 27116 pkg_cv_libcanberra_gtk_CFLAGS="$libcanberra_gtk_CFLAGS" 27117 elif test -n "$PKG_CONFIG"; then 27118 if test -n "$PKG_CONFIG" && \ 27119 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= 0.6\""; } >&5 27120 ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= 0.6") 2>&5 27121 ac_status=$? 27122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27123 test $ac_status = 0; }; then 27124 pkg_cv_libcanberra_gtk_CFLAGS=`$PKG_CONFIG --cflags "libcanberra-gtk >= 0.6" 2>/dev/null` 27125 test "x$?" != "x0" && pkg_failed=yes 27126else 27127 pkg_failed=yes 27128fi 27129 else 27130 pkg_failed=untried 27131fi 27132if test -n "$libcanberra_gtk_LIBS"; then 27133 pkg_cv_libcanberra_gtk_LIBS="$libcanberra_gtk_LIBS" 27134 elif test -n "$PKG_CONFIG"; then 27135 if test -n "$PKG_CONFIG" && \ 27136 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= 0.6\""; } >&5 27137 ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= 0.6") 2>&5 27138 ac_status=$? 27139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27140 test $ac_status = 0; }; then 27141 pkg_cv_libcanberra_gtk_LIBS=`$PKG_CONFIG --libs "libcanberra-gtk >= 0.6" 2>/dev/null` 27142 test "x$?" != "x0" && pkg_failed=yes 27143else 27144 pkg_failed=yes 27145fi 27146 else 27147 pkg_failed=untried 27148fi 27149 27150 27151 27152if test $pkg_failed = yes; then 27153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27154$as_echo "no" >&6; } 27155 27156if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27157 _pkg_short_errors_supported=yes 27158else 27159 _pkg_short_errors_supported=no 27160fi 27161 if test $_pkg_short_errors_supported = yes; then 27162 libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcanberra-gtk >= 0.6" 2>&1` 27163 else 27164 libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcanberra-gtk >= 0.6" 2>&1` 27165 fi 27166 # Put the nasty error message in config.log where it belongs 27167 echo "$libcanberra_gtk_PKG_ERRORS" >&5 27168 27169 HAVE_LIBCANBERRA_GTK=no 27170elif test $pkg_failed = untried; then 27171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27172$as_echo "no" >&6; } 27173 HAVE_LIBCANBERRA_GTK=no 27174else 27175 libcanberra_gtk_CFLAGS=$pkg_cv_libcanberra_gtk_CFLAGS 27176 libcanberra_gtk_LIBS=$pkg_cv_libcanberra_gtk_LIBS 27177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27178$as_echo "yes" >&6; } 27179 HAVE_LIBCANBERRA_GTK=yes 27180fi 27181if test x"$HAVE_LIBCANBERRA_GTK" = xyes; then 27182 27183$as_echo "#define HAVE_LIBCANBERRA_GTK 1" >>confdefs.h 27184 27185fi 27186 27187 27188 27189 27190pkg_failed=no 27191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unity" >&5 27192$as_echo_n "checking for unity... " >&6; } 27193 27194if test -n "$unity_CFLAGS"; then 27195 pkg_cv_unity_CFLAGS="$unity_CFLAGS" 27196 elif test -n "$PKG_CONFIG"; then 27197 if test -n "$PKG_CONFIG" && \ 27198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity messaging-menu\""; } >&5 27199 ($PKG_CONFIG --exists --print-errors "unity messaging-menu") 2>&5 27200 ac_status=$? 27201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27202 test $ac_status = 0; }; then 27203 pkg_cv_unity_CFLAGS=`$PKG_CONFIG --cflags "unity messaging-menu" 2>/dev/null` 27204 test "x$?" != "x0" && pkg_failed=yes 27205else 27206 pkg_failed=yes 27207fi 27208 else 27209 pkg_failed=untried 27210fi 27211if test -n "$unity_LIBS"; then 27212 pkg_cv_unity_LIBS="$unity_LIBS" 27213 elif test -n "$PKG_CONFIG"; then 27214 if test -n "$PKG_CONFIG" && \ 27215 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity messaging-menu\""; } >&5 27216 ($PKG_CONFIG --exists --print-errors "unity messaging-menu") 2>&5 27217 ac_status=$? 27218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27219 test $ac_status = 0; }; then 27220 pkg_cv_unity_LIBS=`$PKG_CONFIG --libs "unity messaging-menu" 2>/dev/null` 27221 test "x$?" != "x0" && pkg_failed=yes 27222else 27223 pkg_failed=yes 27224fi 27225 else 27226 pkg_failed=untried 27227fi 27228 27229 27230 27231if test $pkg_failed = yes; then 27232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27233$as_echo "no" >&6; } 27234 27235if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27236 _pkg_short_errors_supported=yes 27237else 27238 _pkg_short_errors_supported=no 27239fi 27240 if test $_pkg_short_errors_supported = yes; then 27241 unity_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity messaging-menu" 2>&1` 27242 else 27243 unity_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity messaging-menu" 2>&1` 27244 fi 27245 # Put the nasty error message in config.log where it belongs 27246 echo "$unity_PKG_ERRORS" >&5 27247 27248 HAVE_UNITY=no 27249elif test $pkg_failed = untried; then 27250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27251$as_echo "no" >&6; } 27252 HAVE_UNITY=no 27253else 27254 unity_CFLAGS=$pkg_cv_unity_CFLAGS 27255 unity_LIBS=$pkg_cv_unity_LIBS 27256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27257$as_echo "yes" >&6; } 27258 HAVE_UNITY=yes 27259fi 27260if test x"$HAVE_UNITY" = xyes; then 27261 27262$as_echo "#define NOTIFICATION_INDICATOR 1" >>confdefs.h 27263 27264fi 27265 27266 27267 27268 27269pkg_failed=no 27270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CM_NP_HOTKEY" >&5 27271$as_echo_n "checking for CM_NP_HOTKEY... " >&6; } 27272 27273if test -n "$CM_NP_HOTKEY_CFLAGS"; then 27274 pkg_cv_CM_NP_HOTKEY_CFLAGS="$CM_NP_HOTKEY_CFLAGS" 27275 elif test -n "$PKG_CONFIG"; then 27276 if test -n "$PKG_CONFIG" && \ 27277 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.15.6 gio-unix-2.0 >= 2.15.6\""; } >&5 27278 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.15.6 gio-unix-2.0 >= 2.15.6") 2>&5 27279 ac_status=$? 27280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27281 test $ac_status = 0; }; then 27282 pkg_cv_CM_NP_HOTKEY_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.15.6 gio-unix-2.0 >= 2.15.6" 2>/dev/null` 27283 test "x$?" != "x0" && pkg_failed=yes 27284else 27285 pkg_failed=yes 27286fi 27287 else 27288 pkg_failed=untried 27289fi 27290if test -n "$CM_NP_HOTKEY_LIBS"; then 27291 pkg_cv_CM_NP_HOTKEY_LIBS="$CM_NP_HOTKEY_LIBS" 27292 elif test -n "$PKG_CONFIG"; then 27293 if test -n "$PKG_CONFIG" && \ 27294 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.15.6 gio-unix-2.0 >= 2.15.6\""; } >&5 27295 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.15.6 gio-unix-2.0 >= 2.15.6") 2>&5 27296 ac_status=$? 27297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27298 test $ac_status = 0; }; then 27299 pkg_cv_CM_NP_HOTKEY_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.15.6 gio-unix-2.0 >= 2.15.6" 2>/dev/null` 27300 test "x$?" != "x0" && pkg_failed=yes 27301else 27302 pkg_failed=yes 27303fi 27304 else 27305 pkg_failed=untried 27306fi 27307 27308 27309 27310if test $pkg_failed = yes; then 27311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27312$as_echo "no" >&6; } 27313 27314if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27315 _pkg_short_errors_supported=yes 27316else 27317 _pkg_short_errors_supported=no 27318fi 27319 if test $_pkg_short_errors_supported = yes; then 27320 CM_NP_HOTKEY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.15.6 gio-unix-2.0 >= 2.15.6" 2>&1` 27321 else 27322 CM_NP_HOTKEY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.15.6 gio-unix-2.0 >= 2.15.6" 2>&1` 27323 fi 27324 # Put the nasty error message in config.log where it belongs 27325 echo "$CM_NP_HOTKEY_PKG_ERRORS" >&5 27326 27327 HAVE_HOTKEYS=no 27328elif test $pkg_failed = untried; then 27329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27330$as_echo "no" >&6; } 27331 HAVE_HOTKEYS=no 27332else 27333 CM_NP_HOTKEY_CFLAGS=$pkg_cv_CM_NP_HOTKEY_CFLAGS 27334 CM_NP_HOTKEY_LIBS=$pkg_cv_CM_NP_HOTKEY_LIBS 27335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27336$as_echo "yes" >&6; } 27337 HAVE_HOTKEYS=yes 27338fi 27339if test x"$HAVE_HOTKEYS" = xyes; then 27340 27341$as_echo "#define NOTIFICATION_HOTKEYS 1" >>confdefs.h 27342 27343fi 27344 27345 27346 27347YTNEF_CFLAGS="" 27348YTNEF_LIBS="" 27349have_ytnef=0 27350# Check both ytnef.h and libytnef/ytnef.h, and adjust YTNEF_CFLAGS 27351# accordingly 27352ac_fn_c_check_header_mongrel "$LINENO" "ytnef.h" "ac_cv_header_ytnef_h" "$ac_includes_default" 27353if test "x$ac_cv_header_ytnef_h" = xyes; then : 27354 have_ytnef=1 27355else 27356 have_ytnef=0 27357fi 27358 27359 27360if test $have_ytnef -eq 0; then 27361 ac_fn_c_check_header_mongrel "$LINENO" "libytnef/ytnef.h" "ac_cv_header_libytnef_ytnef_h" "$ac_includes_default" 27362if test "x$ac_cv_header_libytnef_ytnef_h" = xyes; then : 27363 have_ytnef=1; 27364 YTNEF_CFLAGS="${YTNEF_CFLAGS} -DYTNEF_H_SUBDIR" 27365else 27366 have_ytnef=0 27367fi 27368 27369 27370fi 27371if test $have_ytnef -eq 1; then 27372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how libytnef's SwapDDWord() should be called" >&5 27373$as_echo_n "checking how libytnef's SwapDDWord() should be called... " >&6; } 27374 # Now we have to figure out which libytnef version we're using, 27375 # based on whether SwapDDWord takes one argument or two. 27376 if test "x${YTNEF_CFLAGS}" = "x"; then 27377 ytnef_include="#include <ytnef.h>" 27378 else 27379 ytnef_include="#include <libytnef/ytnef.h>" 27380 fi 27381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27382/* end confdefs.h. */ 27383#include <stdio.h> 27384 ${ytnef_include} 27385int 27386main () 27387{ 27388SwapDDWord(0, 0); 27389 ; 27390 return 0; 27391} 27392_ACEOF 27393if ac_fn_c_try_compile "$LINENO"; then : 27394 have_ytnef=1 27395else 27396 have_ytnef=0 27397fi 27398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27399 if test $have_ytnef -eq 0; then 27400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27401/* end confdefs.h. */ 27402#include <stdio.h> 27403 ${ytnef_include} 27404int 27405main () 27406{ 27407SwapDDWord(0); 27408 ; 27409 return 0; 27410} 27411_ACEOF 27412if ac_fn_c_try_compile "$LINENO"; then : 27413 have_ytnef=1; 27414 YTNEF_CFLAGS="${YTNEF_CFLAGS} -DYTNEF_OLD_SWAPDDWORD" 27415else 27416 have_ytnef=0 27417fi 27418rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27419 fi 27420 if test $have_ytnef -eq 1; then 27421 YTNEF_LIBS="-lytnef" 27422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 27423$as_echo "ok" >&6; } 27424 else 27425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no idea" >&5 27426$as_echo "no idea" >&6; } 27427 fi 27428fi 27429 27430 27431 27432 27433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build acpi_notifier plugin" >&5 27434$as_echo_n "checking whether to build acpi_notifier plugin... " >&6; } 27435if test x"$enable_acpi_notifier_plugin" != xno; then 27436 PLUGINS="$PLUGINS acpi_notifier" 27437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27438$as_echo "yes" >&6; } 27439else 27440 DISABLED_PLUGINS="$DISABLED_PLUGINS acpi_notifier" 27441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27442$as_echo "no" >&6; } 27443fi 27444 27445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build address_keeper plugin" >&5 27446$as_echo_n "checking whether to build address_keeper plugin... " >&6; } 27447if test x"$enable_address_keeper_plugin" != xno; then 27448 PLUGINS="$PLUGINS address_keeper" 27449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27450$as_echo "yes" >&6; } 27451else 27452 DISABLED_PLUGINS="$DISABLED_PLUGINS address_keeper" 27453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27454$as_echo "no" >&6; } 27455fi 27456 27457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build archive plugin" >&5 27458$as_echo_n "checking whether to build archive plugin... " >&6; } 27459if test x"$enable_archive_plugin" != xno; then 27460 dependencies_missing="" 27461 27462 if test x"$HAVE_ARCHIVE" = xno; then 27463 dependencies_missing="libarchive $dependencies_missing" 27464 fi 27465 27466 if test x"$dependencies_missing" = x; then 27467 PLUGINS="$PLUGINS archive" 27468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27469$as_echo "yes" >&6; } 27470 elif test x"$enable_archive_plugin" = xauto; then 27471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27472$as_echo "no" >&6; } 27473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin archive will not be built; missing $dependencies_missing\"" >&5 27474$as_echo "$as_me: WARNING: \"Plugin archive will not be built; missing $dependencies_missing\"" >&2;} 27475 enable_archive_plugin=no 27476 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS archive" 27477 else 27478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27479$as_echo "no" >&6; } 27480 as_fn_error $? "\"Plugin archive cannot be built; missing $dependencies_missing\"" "$LINENO" 5 27481 fi 27482else 27483 DISABLED_PLUGINS="$DISABLED_PLUGINS archive" 27484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27485$as_echo "no" >&6; } 27486fi 27487 27488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build att_remover plugin" >&5 27489$as_echo_n "checking whether to build att_remover plugin... " >&6; } 27490if test x"$enable_att_remover_plugin" != xno; then 27491 PLUGINS="$PLUGINS att_remover" 27492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27493$as_echo "yes" >&6; } 27494else 27495 DISABLED_PLUGINS="$DISABLED_PLUGINS att_remover" 27496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27497$as_echo "no" >&6; } 27498fi 27499 27500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build attachwarner plugin" >&5 27501$as_echo_n "checking whether to build attachwarner plugin... " >&6; } 27502if test x"$enable_attachwarner_plugin" != xno; then 27503 PLUGINS="$PLUGINS attachwarner" 27504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27505$as_echo "yes" >&6; } 27506else 27507 DISABLED_PLUGINS="$DISABLED_PLUGINS attachwarner" 27508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27509$as_echo "no" >&6; } 27510fi 27511 27512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build bogofilter plugin" >&5 27513$as_echo_n "checking whether to build bogofilter plugin... " >&6; } 27514if test x"$enable_bogofilter_plugin" != xno; then 27515 PLUGINS="$PLUGINS bogofilter" 27516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27517$as_echo "yes" >&6; } 27518else 27519 DISABLED_PLUGINS="$DISABLED_PLUGINS bogofilter" 27520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27521$as_echo "no" >&6; } 27522fi 27523 27524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build bsfilter plugin" >&5 27525$as_echo_n "checking whether to build bsfilter plugin... " >&6; } 27526if test x"$enable_bsfilter_plugin" != xno; then 27527 PLUGINS="$PLUGINS bsfilter" 27528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27529$as_echo "yes" >&6; } 27530else 27531 DISABLED_PLUGINS="$DISABLED_PLUGINS bsfilter" 27532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27533$as_echo "no" >&6; } 27534fi 27535 27536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build clamd plugin" >&5 27537$as_echo_n "checking whether to build clamd plugin... " >&6; } 27538if test x"$enable_clamd_plugin" != xno; then 27539 PLUGINS="$PLUGINS clamd" 27540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27541$as_echo "yes" >&6; } 27542else 27543 DISABLED_PLUGINS="$DISABLED_PLUGINS clamd" 27544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27545$as_echo "no" >&6; } 27546fi 27547 27548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build demo plugin" >&5 27549$as_echo_n "checking whether to build demo plugin... " >&6; } 27550if test x"$enable_demo_plugin" != xno; then 27551 PLUGINS="$PLUGINS demo" 27552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27553$as_echo "yes" >&6; } 27554else 27555 DISABLED_PLUGINS="$DISABLED_PLUGINS demo" 27556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27557$as_echo "no" >&6; } 27558fi 27559 27560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Dillo plugin" >&5 27561$as_echo_n "checking whether to build Dillo plugin... " >&6; } 27562if test x"$enable_dillo_plugin" != xno; then 27563 PLUGINS="$PLUGINS dillo" 27564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27565$as_echo "yes" >&6; } 27566else 27567 DISABLED_PLUGINS="$DISABLED_PLUGINS dillo" 27568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27569$as_echo "no" >&6; } 27570fi 27571 27572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build fancy plugin" >&5 27573$as_echo_n "checking whether to build fancy plugin... " >&6; } 27574if test x"$enable_fancy_plugin" != xno; then 27575 dependencies_missing="" 27576 27577 if test x"$HAVE_WEBKIT" = xno; then 27578 dependencies_missing="libwebkit-1.0 $dependencies_missing" 27579 fi 27580 if test x"$HAVE_CURL" = xno; then 27581 dependencies_missing="libcurl $dependencies_missing" 27582 fi 27583 27584 if test x"$dependencies_missing" = x; then 27585 PLUGINS="$PLUGINS fancy" 27586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27587$as_echo "yes" >&6; } 27588 elif test x"$enable_fancy_plugin" = xauto; then 27589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27590$as_echo "no" >&6; } 27591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin fancy will not be built; missing $dependencies_missing\"" >&5 27592$as_echo "$as_me: WARNING: \"Plugin fancy will not be built; missing $dependencies_missing\"" >&2;} 27593 enable_fancy_plugin=no 27594 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS fancy" 27595 else 27596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27597$as_echo "no" >&6; } 27598 as_fn_error $? "\"Plugin fancy cannot be built; missing $dependencies_missing\"" "$LINENO" 5 27599 fi 27600else 27601 DISABLED_PLUGINS="$DISABLED_PLUGINS fancy" 27602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27603$as_echo "no" >&6; } 27604fi 27605 27606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build fetchinfo plugin" >&5 27607$as_echo_n "checking whether to build fetchinfo plugin... " >&6; } 27608if test x"$enable_fetchinfo_plugin" != xno; then 27609 PLUGINS="$PLUGINS fetchinfo" 27610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27611$as_echo "yes" >&6; } 27612else 27613 DISABLED_PLUGINS="$DISABLED_PLUGINS fetchinfo" 27614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27615$as_echo "no" >&6; } 27616fi 27617 27618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gdata plugin" >&5 27619$as_echo_n "checking whether to build gdata plugin... " >&6; } 27620if test x"$enable_gdata_plugin" != xno; then 27621 dependencies_missing="" 27622 27623 if test x"$HAVE_GDATA" = xno; then 27624 dependencies_missing="libgdata $dependencies_missing" 27625 fi 27626 27627 if test x"$dependencies_missing" = x; then 27628 PLUGINS="$PLUGINS gdata" 27629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27630$as_echo "yes" >&6; } 27631 elif test x"$enable_gdata_plugin" = xauto; then 27632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27633$as_echo "no" >&6; } 27634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin gdata will not be built; missing $dependencies_missing\"" >&5 27635$as_echo "$as_me: WARNING: \"Plugin gdata will not be built; missing $dependencies_missing\"" >&2;} 27636 enable_gdata_plugin=no 27637 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS gdata" 27638 else 27639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27640$as_echo "no" >&6; } 27641 as_fn_error $? "\"Plugin gdata cannot be built; missing $dependencies_missing\"" "$LINENO" 5 27642 fi 27643else 27644 DISABLED_PLUGINS="$DISABLED_PLUGINS gdata" 27645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27646$as_echo "no" >&6; } 27647fi 27648 27649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libravatar plugin" >&5 27650$as_echo_n "checking whether to build libravatar plugin... " >&6; } 27651if test x"$enable_libravatar_plugin" != xno; then 27652 dependencies_missing="" 27653 27654 if test x"$HAVE_CURL" = xno; then 27655 dependencies_missing="libcurl $dependencies_missing" 27656 fi 27657 27658 if test x"$dependencies_missing" = x; then 27659 PLUGINS="$PLUGINS libravatar" 27660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27661$as_echo "yes" >&6; } 27662 elif test x"$enable_libravatar_plugin" = xauto; then 27663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27664$as_echo "no" >&6; } 27665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin libravatar will not be built; missing $dependencies_missing\"" >&5 27666$as_echo "$as_me: WARNING: \"Plugin libravatar will not be built; missing $dependencies_missing\"" >&2;} 27667 enable_libravatar_plugin=no 27668 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS libravatar" 27669 else 27670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27671$as_echo "no" >&6; } 27672 as_fn_error $? "\"Plugin libravatar cannot be built; missing $dependencies_missing\"" "$LINENO" 5 27673 fi 27674else 27675 DISABLED_PLUGINS="$DISABLED_PLUGINS libravatar" 27676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27677$as_echo "no" >&6; } 27678fi 27679 27680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build litehtml_viewer plugin" >&5 27681$as_echo_n "checking whether to build litehtml_viewer plugin... " >&6; } 27682if test x"$enable_litehtml_viewer_plugin" != xno; then 27683 dependencies_missing="" 27684 27685 if test x"$HAVE_CXX" = xno; then 27686 dependencies_missing="C++ compiler $dependencies_missing" 27687 fi 27688 if test -n "$PKG_CONFIG" && \ 27689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.36\""; } >&5 27690 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.36") 2>&5 27691 ac_status=$? 27692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27693 test $ac_status = 0; }; then 27694 : 27695else 27696 dependencies_missing="glib-2.0 >= 2.36 $dependencies_missing" 27697fi 27698 if test x"$HAVE_CAIRO" = xno; then 27699 dependencies_missing="cairo $dependencies_missing" 27700 fi 27701 if test x"$HAVE_FONTCONFIG" = xno; then 27702 dependencies_missing="fontconfig $dependencies_missing" 27703 fi 27704 if test x"$HAVE_LIBGUMBO" = xno; then 27705 dependencies_missing="libgumbo $dependencies_missing" 27706 fi 27707 if test x"$HAVE_CURL" = xno; then 27708 dependencies_missing="libcurl $dependencies_missing" 27709 fi 27710 27711 27712 if test x"$dependencies_missing" = x; then 27713 PLUGINS="$PLUGINS litehtml_viewer" 27714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27715$as_echo "yes" >&6; } 27716 elif test x"$enable_litehtml_viewer_plugin" = xauto; then 27717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27718$as_echo "no" >&6; } 27719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin litehtml_viewer will not be built; missing $dependencies_missing\"" >&5 27720$as_echo "$as_me: WARNING: \"Plugin litehtml_viewer will not be built; missing $dependencies_missing\"" >&2;} 27721 enable_litehtml_viewer_plugin=no 27722 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS litehtml_viewer" 27723 else 27724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27725$as_echo "no" >&6; } 27726 as_fn_error $? "\"Plugin litehtml_viewer cannot be built; missing $dependencies_missing\"" "$LINENO" 5 27727 fi 27728else 27729 DISABLED_PLUGINS="$DISABLED_PLUGINS litehtml_viewer" 27730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27731$as_echo "no" >&6; } 27732fi 27733 27734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build mailmbox plugin" >&5 27735$as_echo_n "checking whether to build mailmbox plugin... " >&6; } 27736if test x"$enable_mailmbox_plugin" != xno; then 27737 PLUGINS="$PLUGINS mailmbox" 27738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27739$as_echo "yes" >&6; } 27740else 27741 DISABLED_PLUGINS="$DISABLED_PLUGINS mailmbox" 27742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27743$as_echo "no" >&6; } 27744fi 27745 27746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build managesieve plugin" >&5 27747$as_echo_n "checking whether to build managesieve plugin... " >&6; } 27748if test x"$enable_managesieve_plugin" != xno; then 27749 PLUGINS="$PLUGINS managesieve" 27750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27751$as_echo "yes" >&6; } 27752else 27753 DISABLED_PLUGINS="$DISABLED_PLUGINS managesieve" 27754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27755$as_echo "no" >&6; } 27756fi 27757 27758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build newmail plugin" >&5 27759$as_echo_n "checking whether to build newmail plugin... " >&6; } 27760if test x"$enable_newmail_plugin" != xno; then 27761 PLUGINS="$PLUGINS newmail" 27762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27763$as_echo "yes" >&6; } 27764else 27765 DISABLED_PLUGINS="$DISABLED_PLUGINS newmail" 27766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27767$as_echo "no" >&6; } 27768fi 27769 27770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build notification plugin" >&5 27771$as_echo_n "checking whether to build notification plugin... " >&6; } 27772if test x"$enable_notification_plugin" != xno; then 27773 PLUGINS="$PLUGINS notification" 27774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27775$as_echo "yes" >&6; } 27776 27777 27778$as_echo "#define NOTIFICATION_POPUP 1" >>confdefs.h 27779 27780 27781$as_echo "#define NOTIFICATION_BANNER 1" >>confdefs.h 27782 27783 27784$as_echo "#define NOTIFICATION_COMMAND 1" >>confdefs.h 27785 27786 27787$as_echo "#define NOTIFICATION_TRAYICON 1" >>confdefs.h 27788 27789 if test x"$platform_win32" = xno; then 27790 27791$as_echo "#define NOTIFICATION_LCDPROC 1" >>confdefs.h 27792 27793 fi 27794 27795 notification_features="banner command" 27796 notification_missing_dependencies="" 27797 if test x"$HAVE_HOTKEYS" = xyes; then 27798 notification_features="$notification_features hotkeys" 27799 else 27800 notification_missing_dependencies="$notification_missing_dependencies hotkeys" 27801 fi 27802 notification_features="$notification_features lcdproc" 27803 if test x"$HAVE_UNITY" = xyes; then 27804 notification_features="$notification_features unity/messaging-menu" 27805 else 27806 notification_missing_dependencies="$notification_missing_dependencies unity/messaging-menu" 27807 fi 27808 if test x"$HAVE_LIBNOTIFY" = xyes; then 27809 notification_features="$notification_features libnotify" 27810 else 27811 notification_missing_dependencies="$notification_missing_dependencies libnotify" 27812 fi 27813 if test x"$HAVE_LIBCANBERRA_GTK" = xyes; then 27814 notification_features="$notification_features libcanberra-gtk" 27815 else 27816 notification_missing_dependencies="$notification_missing_dependencies libcanberra-gtk" 27817 fi 27818 notification_features="$notification_features popup trayicon" 27819else 27820 DISABLED_PLUGINS="$DISABLED_PLUGINS notification" 27821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27822$as_echo "no" >&6; } 27823fi 27824 27825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pdf_viewer plugin" >&5 27826$as_echo_n "checking whether to build pdf_viewer plugin... " >&6; } 27827if test x"$enable_pdf_viewer_plugin" != xno; then 27828 dependencies_missing="" 27829 27830 if test x"$HAVE_POPPLER" = xno; then 27831 dependencies_missing="libpoppler-glib $dependencies_missing" 27832 fi 27833 27834 if test x"$dependencies_missing" = x; then 27835 PLUGINS="$PLUGINS pdf_viewer" 27836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27837$as_echo "yes" >&6; } 27838 elif test x"$enable_pdf_viewer_plugin" = xauto; then 27839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27840$as_echo "no" >&6; } 27841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin pdf_viewer will not be built; missing $dependencies_missing\"" >&5 27842$as_echo "$as_me: WARNING: \"Plugin pdf_viewer will not be built; missing $dependencies_missing\"" >&2;} 27843 enable_pdf_viewer_plugin=no 27844 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS pdf_viewer" 27845 else 27846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27847$as_echo "no" >&6; } 27848 as_fn_error $? "\"Plugin pdf_viewer cannot be built; missing $dependencies_missing\"" "$LINENO" 5 27849 fi 27850else 27851 DISABLED_PLUGINS="$DISABLED_PLUGINS pdf_viewer" 27852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27853$as_echo "no" >&6; } 27854fi 27855 27856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build perl plugin" >&5 27857$as_echo_n "checking whether to build perl plugin... " >&6; } 27858if test x"$enable_perl_plugin" != xno; then 27859 dependencies_missing="" 27860 27861 if test x"$HAVE_LIBPERL" = xno; then 27862 dependencies_missing="libperl $dependencies_missing" 27863 fi 27864 27865 if test x"$dependencies_missing" = x; then 27866 PLUGINS="$PLUGINS perl" 27867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27868$as_echo "yes" >&6; } 27869 elif test x"$enable_perl_plugin" = xauto; then 27870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27871$as_echo "no" >&6; } 27872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin perl will not be built; missing $dependencies_missing\"" >&5 27873$as_echo "$as_me: WARNING: \"Plugin perl will not be built; missing $dependencies_missing\"" >&2;} 27874 enable_perl_plugin=no 27875 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS perl" 27876 else 27877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27878$as_echo "no" >&6; } 27879 as_fn_error $? "\"Plugin perl cannot be built; missing $dependencies_missing\"" "$LINENO" 5 27880 fi 27881else 27882 DISABLED_PLUGINS="$DISABLED_PLUGINS perl" 27883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27884$as_echo "no" >&6; } 27885fi 27886 27887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build python plugin" >&5 27888$as_echo_n "checking whether to build python plugin... " >&6; } 27889if test x"$enable_python_plugin" != xno; then 27890 dependencies_missing="" 27891 27892 if test x"$HAVE_PYTHON" = xno; then 27893 dependencies_missing="$missing_python $dependencies_missing" 27894 fi 27895 27896 if test x"$dependencies_missing" = x; then 27897 PLUGINS="$PLUGINS python" 27898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27899$as_echo "yes" >&6; } 27900 elif test x"$enable_python_plugin" = xauto; then 27901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27902$as_echo "no" >&6; } 27903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin python will not be built; missing $dependencies_missing\"" >&5 27904$as_echo "$as_me: WARNING: \"Plugin python will not be built; missing $dependencies_missing\"" >&2;} 27905 enable_python_plugin=no 27906 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS python" 27907 else 27908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27909$as_echo "no" >&6; } 27910 as_fn_error $? "\"Plugin python cannot be built; missing $dependencies_missing\"" "$LINENO" 5 27911 fi 27912else 27913 DISABLED_PLUGINS="$DISABLED_PLUGINS python" 27914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27915$as_echo "no" >&6; } 27916fi 27917 27918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pgpcore plugin" >&5 27919$as_echo_n "checking whether to build pgpcore plugin... " >&6; } 27920if test x"$enable_pgpcore_plugin" != xno; then 27921 dependencies_missing="" 27922 27923 if test x"$HAVE_GPGME" = xno; then 27924 dependencies_missing="libgpgme $dependencies_missing" 27925 fi 27926 27927 if test x"$dependencies_missing" = x; then 27928 PLUGINS="$PLUGINS pgpcore" 27929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27930$as_echo "yes" >&6; } 27931 elif test x"$enable_pgpcore_plugin" = xauto; then 27932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27933$as_echo "no" >&6; } 27934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin pgpcore will not be built; missing $dependencies_missing\"" >&5 27935$as_echo "$as_me: WARNING: \"Plugin pgpcore will not be built; missing $dependencies_missing\"" >&2;} 27936 enable_pgpcore_plugin=no 27937 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS pgpcore" 27938 else 27939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27940$as_echo "no" >&6; } 27941 as_fn_error $? "\"Plugin pgpcore cannot be built; missing $dependencies_missing\"" "$LINENO" 5 27942 fi 27943else 27944 DISABLED_PLUGINS="$DISABLED_PLUGINS pgpcore" 27945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27946$as_echo "no" >&6; } 27947fi 27948 27949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pgpmime plugin" >&5 27950$as_echo_n "checking whether to build pgpmime plugin... " >&6; } 27951if test x"$enable_pgpmime_plugin" != xno; then 27952 dependencies_missing="" 27953 27954 if test x"$HAVE_GPGME" = xno; then 27955 dependencies_missing="libgpgme $dependencies_missing" 27956 fi 27957 if test x"$enable_pgpcore_plugin" = xno; then 27958 dependencies_missing="pgpcore plugin $dependencies_missing" 27959 fi 27960 27961 if test x"$dependencies_missing" = x; then 27962 PLUGINS="$PLUGINS pgpmime" 27963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27964$as_echo "yes" >&6; } 27965 elif test x"$enable_pgpmime_plugin" = xauto; then 27966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27967$as_echo "no" >&6; } 27968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin pgpmime will not be built; missing $dependencies_missing\"" >&5 27969$as_echo "$as_me: WARNING: \"Plugin pgpmime will not be built; missing $dependencies_missing\"" >&2;} 27970 enable_pgpmime_plugin=no 27971 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS pgpmime" 27972 else 27973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27974$as_echo "no" >&6; } 27975 as_fn_error $? "\"Plugin pgpmime cannot be built; missing $dependencies_missing\"" "$LINENO" 5 27976 fi 27977else 27978 DISABLED_PLUGINS="$DISABLED_PLUGINS pgpmime" 27979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27980$as_echo "no" >&6; } 27981fi 27982 27983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pgpinline plugin" >&5 27984$as_echo_n "checking whether to build pgpinline plugin... " >&6; } 27985if test x"$enable_pgpinline_plugin" != xno; then 27986 dependencies_missing="" 27987 27988 if test x"$HAVE_GPGME" = xno; then 27989 dependencies_missing="libgpgme $dependencies_missing" 27990 fi 27991 if test x"$enable_pgpcore_plugin" = xno; then 27992 dependencies_missing="pgpcore plugin $dependencies_missing" 27993 fi 27994 27995 if test x"$dependencies_missing" = x; then 27996 PLUGINS="$PLUGINS pgpinline" 27997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27998$as_echo "yes" >&6; } 27999 elif test x"$enable_pgpinline_plugin" = xauto; then 28000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28001$as_echo "no" >&6; } 28002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin pgpinline will not be built; missing $dependencies_missing\"" >&5 28003$as_echo "$as_me: WARNING: \"Plugin pgpinline will not be built; missing $dependencies_missing\"" >&2;} 28004 enable_pgpinline_plugin=no 28005 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS pgpinline" 28006 else 28007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28008$as_echo "no" >&6; } 28009 as_fn_error $? "\"Plugin pgpinline cannot be built; missing $dependencies_missing\"" "$LINENO" 5 28010 fi 28011else 28012 DISABLED_PLUGINS="$DISABLED_PLUGINS pgpinline" 28013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28014$as_echo "no" >&6; } 28015fi 28016 28017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build rssyl plugin" >&5 28018$as_echo_n "checking whether to build rssyl plugin... " >&6; } 28019if test x"$enable_rssyl_plugin" != xno; then 28020 dependencies_missing="" 28021 28022 if test x"$HAVE_EXPAT" = xno; then 28023 dependencies_missing="expat $dependencies_missing" 28024 fi 28025 if test x"$HAVE_CURL" = xno; then 28026 dependencies_missing="libcurl $dependencies_missing" 28027 fi 28028 28029 if test x"$dependencies_missing" = x; then 28030 PLUGINS="$PLUGINS rssyl" 28031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28032$as_echo "yes" >&6; } 28033 elif test x"$enable_rssyl_plugin" = xauto; then 28034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28035$as_echo "no" >&6; } 28036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin rssyl will not be built; missing $dependencies_missing\"" >&5 28037$as_echo "$as_me: WARNING: \"Plugin rssyl will not be built; missing $dependencies_missing\"" >&2;} 28038 enable_rssyl_plugin=no 28039 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS rssyl" 28040 else 28041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28042$as_echo "no" >&6; } 28043 as_fn_error $? "\"Plugin rssyl cannot be built; missing $dependencies_missing\"" "$LINENO" 5 28044 fi 28045else 28046 DISABLED_PLUGINS="$DISABLED_PLUGINS rssyl" 28047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28048$as_echo "no" >&6; } 28049fi 28050 28051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build spamassassin plugin" >&5 28052$as_echo_n "checking whether to build spamassassin plugin... " >&6; } 28053if test x"$enable_spamassassin_plugin" != xno; then 28054 PLUGINS="$PLUGINS spamassassin" 28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28056$as_echo "yes" >&6; } 28057 28058for ac_header in sys/time.h syslog.h unistd.h errno.h sys/errno.h 28059do : 28060 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28061ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 28062if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 28063 cat >>confdefs.h <<_ACEOF 28064#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28065_ACEOF 28066 28067fi 28068 28069done 28070 28071for ac_header in time.h sysexits.h sys/socket.h netdb.h netinet/in.h 28072do : 28073 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28074ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 28075if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 28076 cat >>confdefs.h <<_ACEOF 28077#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28078_ACEOF 28079 28080fi 28081 28082done 28083 28084 28085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHUT_RD" >&5 28086$as_echo_n "checking for SHUT_RD... " >&6; } 28087if ${spamassassin_cv_has_shutrd+:} false; then : 28088 $as_echo_n "(cached) " >&6 28089else 28090 28091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28092/* end confdefs.h. */ 28093#include <sys/types.h> 28094#include <stdio.h> 28095#include <sys/socket.h> 28096int 28097main () 28098{ 28099printf ("%d", SHUT_RD); return 0; 28100 ; 28101 return 0; 28102} 28103_ACEOF 28104if ac_fn_c_try_compile "$LINENO"; then : 28105 spamassassin_cv_has_shutrd=yes 28106else 28107 spamassassin_cv_has_shutrd=no 28108fi 28109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext, 28110 28111fi 28112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $spamassassin_cv_has_shutrd" >&5 28113$as_echo "$spamassassin_cv_has_shutrd" >&6; } 28114if test $spamassassin_cv_has_shutrd = yes ; then 28115 28116$as_echo "#define HAVE_SHUT_RD 1" >>confdefs.h 28117 28118fi 28119 28120 28121for ac_func in socket strdup strtod strtol snprintf shutdown 28122do : 28123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 28124ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 28125if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 28126 cat >>confdefs.h <<_ACEOF 28127#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 28128_ACEOF 28129 28130fi 28131done 28132 28133 28134 28135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for h_errno" >&5 28136$as_echo_n "checking for h_errno... " >&6; } 28137if ${spamassassin_cv_has_herrno+:} false; then : 28138 $as_echo_n "(cached) " >&6 28139else 28140 28141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28142/* end confdefs.h. */ 28143#include <netdb.h> 28144#include <stdio.h> 28145 28146int 28147main () 28148{ 28149printf ("%d", h_errno); return 0; 28150 ; 28151 return 0; 28152} 28153_ACEOF 28154if ac_fn_c_try_compile "$LINENO"; then : 28155 spamassassin_cv_has_herrno=yes 28156else 28157 spamassassin_cv_has_herrno=no 28158fi 28159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext, 28160 28161fi 28162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $spamassassin_cv_has_herrno" >&5 28163$as_echo "$spamassassin_cv_has_herrno" >&6; } 28164if test $spamassassin_cv_has_herrno = yes ; then 28165 28166$as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h 28167 28168fi 28169 28170 28171 28172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t" >&5 28173$as_echo_n "checking for in_addr_t... " >&6; } 28174if ${spamassassin_cv_has_inaddrt+:} false; then : 28175 $as_echo_n "(cached) " >&6 28176else 28177 28178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28179/* end confdefs.h. */ 28180#include <sys/types.h> 28181#include <netinet/in.h> 28182int 28183main () 28184{ 28185in_addr_t foo; return 0; 28186 ; 28187 return 0; 28188} 28189_ACEOF 28190if ac_fn_c_try_compile "$LINENO"; then : 28191 spamassassin_cv_has_inaddrt=yes 28192else 28193 spamassassin_cv_has_inaddrt=no 28194fi 28195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext, 28196 28197fi 28198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $spamassassin_cv_has_inaddrt" >&5 28199$as_echo "$spamassassin_cv_has_inaddrt" >&6; } 28200if test $spamassassin_cv_has_inaddrt = no ; then 28201 ac_fn_c_check_type "$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" "$ac_includes_default" 28202if test "x$ac_cv_type_in_addr_t" = xyes; then : 28203 28204else 28205 28206cat >>confdefs.h <<_ACEOF 28207#define in_addr_t unsigned long 28208_ACEOF 28209 28210fi 28211 28212fi 28213 28214 28215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INADDR_NONE" >&5 28216$as_echo_n "checking for INADDR_NONE... " >&6; } 28217if ${spamassassin_cv_has_haveinaddrnone+:} false; then : 28218 $as_echo_n "(cached) " >&6 28219else 28220 28221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28222/* end confdefs.h. */ 28223#include <sys/types.h> 28224#include <netinet/in.h> 28225int 28226main () 28227{ 28228in_addr_t foo = INADDR_NONE; return 0; 28229 ; 28230 return 0; 28231} 28232_ACEOF 28233if ac_fn_c_try_compile "$LINENO"; then : 28234 spamassassin_cv_has_haveinaddrnone=yes 28235else 28236 spamassassin_cv_has_haveinaddrnone=no 28237fi 28238rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext, 28239 28240fi 28241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $spamassassin_cv_has_haveinaddrnone" >&5 28242$as_echo "$spamassassin_cv_has_haveinaddrnone" >&6; } 28243if test $spamassassin_cv_has_haveinaddrnone = yes ; then 28244 28245$as_echo "#define HAVE_INADDR_NONE 1" >>confdefs.h 28246 28247fi 28248 28249 28250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EX__MAX" >&5 28251$as_echo_n "checking for EX__MAX... " >&6; } 28252if ${spamassassin_cv_has_haveexmax+:} false; then : 28253 $as_echo_n "(cached) " >&6 28254else 28255 28256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28257/* end confdefs.h. */ 28258#ifdef HAVE_SYSEXITS_H 28259#include <sysexits.h> 28260#endif 28261#include <errno.h> 28262int 28263main () 28264{ 28265int foo = EX__MAX; return 0; 28266 ; 28267 return 0; 28268} 28269_ACEOF 28270if ac_fn_c_try_compile "$LINENO"; then : 28271 spamassassin_cv_has_haveexmax=yes 28272else 28273 spamassassin_cv_has_haveexmax=no 28274fi 28275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext, 28276 28277fi 28278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $spamassassin_cv_has_haveexmax" >&5 28279$as_echo "$spamassassin_cv_has_haveexmax" >&6; } 28280if test $spamassassin_cv_has_haveexmax = yes ; then 28281 28282$as_echo "#define HAVE_EX__MAX 1" >>confdefs.h 28283 28284fi 28285 28286 28287 28288 spamassassin_zlib=0 28289 SPAMASSASSIN_CFLAGS="" 28290 SPAMASSASSIN_LIBS="" 28291 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" 28292if test "x$ac_cv_header_zlib_h" = xyes; then : 28293 28294$as_echo "#define HAVE_ZLIB_H 1" >>confdefs.h 28295 28296 spamassassin_zlib=1 28297else 28298 spamassassin_zlib=0 28299fi 28300 28301 28302 if test $spamassassin_zlib -eq 1; then 28303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 28304$as_echo_n "checking for deflate in -lz... " >&6; } 28305if ${ac_cv_lib_z_deflate+:} false; then : 28306 $as_echo_n "(cached) " >&6 28307else 28308 ac_check_lib_save_LIBS=$LIBS 28309LIBS="-lz $LIBS" 28310cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28311/* end confdefs.h. */ 28312 28313/* Override any GCC internal prototype to avoid an error. 28314 Use char because int might match the return type of a GCC 28315 builtin and then its argument prototype would still apply. */ 28316#ifdef __cplusplus 28317extern "C" 28318#endif 28319char deflate (); 28320int 28321main () 28322{ 28323return deflate (); 28324 ; 28325 return 0; 28326} 28327_ACEOF 28328if ac_fn_c_try_link "$LINENO"; then : 28329 ac_cv_lib_z_deflate=yes 28330else 28331 ac_cv_lib_z_deflate=no 28332fi 28333rm -f core conftest.err conftest.$ac_objext \ 28334 conftest$ac_exeext conftest.$ac_ext 28335LIBS=$ac_check_lib_save_LIBS 28336fi 28337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 28338$as_echo "$ac_cv_lib_z_deflate" >&6; } 28339if test "x$ac_cv_lib_z_deflate" = xyes; then : 28340 spamassassin_zlib=1 28341else 28342 spamassassin_zlib=0 28343fi 28344 28345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build spamassassin plugin with zlib support" >&5 28346$as_echo_n "checking whether to build spamassassin plugin with zlib support... " >&6; } 28347 if test $spamassassin_zlib -eq 1; then 28348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28349$as_echo "yes" >&6; } 28350 SPAMASSASSIN_CFLAGS="-DHAVE_LIBZ" 28351 SPAMASSASSIN_LIBS="-lz" 28352 else 28353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28354$as_echo "no" >&6; } 28355 fi 28356 fi 28357 28358 28359else 28360 DISABLED_PLUGINS="$DISABLED_PLUGINS spamassassin" 28361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28362$as_echo "no" >&6; } 28363fi 28364 28365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build smime plugin" >&5 28366$as_echo_n "checking whether to build smime plugin... " >&6; } 28367if test x"$enable_smime_plugin" != xno; then 28368 dependencies_missing="" 28369 28370 if test x"$HAVE_GPGME" = xno; then 28371 dependencies_missing="libgpgme $dependencies_missing" 28372 fi 28373 if test x"$enable_pgpcore_plugin" = xno; then 28374 dependencies_missing="pgpcore plugin $dependencies_missing" 28375 fi 28376 28377 if test x"$dependencies_missing" = x; then 28378 PLUGINS="$PLUGINS smime" 28379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28380$as_echo "yes" >&6; } 28381 elif test x"$enable_smime_plugin" = xauto; then 28382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28383$as_echo "no" >&6; } 28384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin smime will not be built; missing $dependencies_missing\"" >&5 28385$as_echo "$as_me: WARNING: \"Plugin smime will not be built; missing $dependencies_missing\"" >&2;} 28386 enable_smime_plugin=no 28387 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS smime" 28388 else 28389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28390$as_echo "no" >&6; } 28391 as_fn_error $? "\"Plugin smime cannot be built; missing $dependencies_missing\"" "$LINENO" 5 28392 fi 28393else 28394 DISABLED_PLUGINS="$DISABLED_PLUGINS smime" 28395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28396$as_echo "no" >&6; } 28397fi 28398 28399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build spam_report plugin" >&5 28400$as_echo_n "checking whether to build spam_report plugin... " >&6; } 28401if test x"$enable_spam_report_plugin" != xno; then 28402 dependencies_missing="" 28403 28404 if test x"$HAVE_CURL" = xno; then 28405 dependencies_missing="libcurl $dependencies_missing" 28406 fi 28407 28408 if test x"$dependencies_missing" = x; then 28409 PLUGINS="$PLUGINS spam_report" 28410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28411$as_echo "yes" >&6; } 28412 elif test x"$enable_spam_report_plugin" = xauto; then 28413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28414$as_echo "no" >&6; } 28415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin spam_report will not be built; missing $dependencies_missing\"" >&5 28416$as_echo "$as_me: WARNING: \"Plugin spam_report will not be built; missing $dependencies_missing\"" >&2;} 28417 enable_spam_report_plugin=no 28418 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS spam_report" 28419 else 28420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28421$as_echo "no" >&6; } 28422 as_fn_error $? "\"Plugin spam_report cannot be built; missing $dependencies_missing\"" "$LINENO" 5 28423 fi 28424else 28425 DISABLED_PLUGINS="$DISABLED_PLUGINS spam_report" 28426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28427$as_echo "no" >&6; } 28428fi 28429 28430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tnef_parse plugin" >&5 28431$as_echo_n "checking whether to build tnef_parse plugin... " >&6; } 28432if test x"$enable_tnef_parse_plugin" != xno; then 28433 dependencies_missing="" 28434 28435 if test $have_ytnef -eq 0; then 28436 dependencies_missing="libytnef" 28437 fi 28438 28439 if test x"$dependencies_missing" = x; then 28440 PLUGINS="$PLUGINS tnef_parse" 28441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28442$as_echo "yes" >&6; } 28443 elif test x"$enable_tnef_parse_plugin" = xauto; then 28444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28445$as_echo "no" >&6; } 28446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Plugin tnef_parse will not be built; missing $dependencies_missing\"" >&5 28447$as_echo "$as_me: WARNING: Plugin tnef_parse will not be built; missing $dependencies_missing\"" >&2;} 28448 enable_tnef_parse_plugin=no 28449 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS tnef_parse" 28450 else 28451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28452$as_echo "no" >&6; } 28453 as_fn_error $? "Plugin tnef_parse will not be built; missing $dependencies_missing\"" "$LINENO" 5 28454 fi 28455else 28456 DISABLED_PLUGINS="$DISABLED_PLUGINS tnef_parse" 28457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28458$as_echo "no" >&6; } 28459fi 28460 28461 28462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build vcalendar plugin" >&5 28463$as_echo_n "checking whether to build vcalendar plugin... " >&6; } 28464if test x"$enable_vcalendar_plugin" != xno; then 28465 dependencies_missing="" 28466 28467 if test x"$HAVE_CURL" = xno; then 28468 dependencies_missing="libcurl $dependencies_missing" 28469 fi 28470 28471 if test x"$HAVE_LIBICAL" = xno; then 28472 dependencies_missing="libical $dependencies_missing" 28473 fi 28474 28475 if test x"$HAVE_PERL" = xno; then 28476 dependencies_missing="perl $dependencies_missing" 28477 fi 28478 28479 if test x"$dependencies_missing" = x; then 28480 PLUGINS="$PLUGINS vcalendar" 28481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28482$as_echo "yes" >&6; } 28483 elif test x"$enable_vcalendar_plugin" = xauto; then 28484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28485$as_echo "no" >&6; } 28486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Plugin vcalendar will not be built; missing $dependencies_missing\"" >&5 28487$as_echo "$as_me: WARNING: \"Plugin vcalendar will not be built; missing $dependencies_missing\"" >&2;} 28488 enable_vcalendar_plugin=no 28489 MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS vcalendar" 28490 else 28491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28492$as_echo "no" >&6; } 28493 as_fn_error $? "\"Plugin vcalendar cannot be built; missing $dependencies_missing\"" "$LINENO" 5 28494 fi 28495else 28496 DISABLED_PLUGINS="$DISABLED_PLUGINS vcalendar" 28497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28498$as_echo "no" >&6; } 28499fi 28500 28501 28502 if test x"$enable_acpi_notifier_plugin" != xno; then 28503 BUILD_ACPI_NOTIFIER_PLUGIN_TRUE= 28504 BUILD_ACPI_NOTIFIER_PLUGIN_FALSE='#' 28505else 28506 BUILD_ACPI_NOTIFIER_PLUGIN_TRUE='#' 28507 BUILD_ACPI_NOTIFIER_PLUGIN_FALSE= 28508fi 28509 28510 if test x"$enable_address_keeper_plugin" != xno; then 28511 BUILD_ADDRESS_KEEPER_PLUGIN_TRUE= 28512 BUILD_ADDRESS_KEEPER_PLUGIN_FALSE='#' 28513else 28514 BUILD_ADDRESS_KEEPER_PLUGIN_TRUE='#' 28515 BUILD_ADDRESS_KEEPER_PLUGIN_FALSE= 28516fi 28517 28518 if test x"$enable_archive_plugin" != xno; then 28519 BUILD_ARCHIVE_PLUGIN_TRUE= 28520 BUILD_ARCHIVE_PLUGIN_FALSE='#' 28521else 28522 BUILD_ARCHIVE_PLUGIN_TRUE='#' 28523 BUILD_ARCHIVE_PLUGIN_FALSE= 28524fi 28525 28526 if test x"$enable_att_remover_plugin" != xno; then 28527 BUILD_ATT_REMOVER_PLUGIN_TRUE= 28528 BUILD_ATT_REMOVER_PLUGIN_FALSE='#' 28529else 28530 BUILD_ATT_REMOVER_PLUGIN_TRUE='#' 28531 BUILD_ATT_REMOVER_PLUGIN_FALSE= 28532fi 28533 28534 if test x"$enable_attachwarner_plugin" != xno; then 28535 BUILD_ATTACHWARNER_PLUGIN_TRUE= 28536 BUILD_ATTACHWARNER_PLUGIN_FALSE='#' 28537else 28538 BUILD_ATTACHWARNER_PLUGIN_TRUE='#' 28539 BUILD_ATTACHWARNER_PLUGIN_FALSE= 28540fi 28541 28542 if test x"$enable_bogofilter_plugin" != xno; then 28543 BUILD_BOGOFILTER_PLUGIN_TRUE= 28544 BUILD_BOGOFILTER_PLUGIN_FALSE='#' 28545else 28546 BUILD_BOGOFILTER_PLUGIN_TRUE='#' 28547 BUILD_BOGOFILTER_PLUGIN_FALSE= 28548fi 28549 28550 if test x"$enable_bsfilter_plugin" != xno; then 28551 BUILD_BSFILTER_PLUGIN_TRUE= 28552 BUILD_BSFILTER_PLUGIN_FALSE='#' 28553else 28554 BUILD_BSFILTER_PLUGIN_TRUE='#' 28555 BUILD_BSFILTER_PLUGIN_FALSE= 28556fi 28557 28558 if test x"$enable_clamd_plugin" != xno; then 28559 BUILD_CLAMD_PLUGIN_TRUE= 28560 BUILD_CLAMD_PLUGIN_FALSE='#' 28561else 28562 BUILD_CLAMD_PLUGIN_TRUE='#' 28563 BUILD_CLAMD_PLUGIN_FALSE= 28564fi 28565 28566 if test x"$enable_demo_plugin" != xno; then 28567 BUILD_DEMO_PLUGIN_TRUE= 28568 BUILD_DEMO_PLUGIN_FALSE='#' 28569else 28570 BUILD_DEMO_PLUGIN_TRUE='#' 28571 BUILD_DEMO_PLUGIN_FALSE= 28572fi 28573 28574 if test x"$enable_dillo_plugin" != xno; then 28575 BUILD_DILLO_PLUGIN_TRUE= 28576 BUILD_DILLO_PLUGIN_FALSE='#' 28577else 28578 BUILD_DILLO_PLUGIN_TRUE='#' 28579 BUILD_DILLO_PLUGIN_FALSE= 28580fi 28581 28582 if test x"$enable_fancy_plugin" != xno; then 28583 BUILD_FANCY_PLUGIN_TRUE= 28584 BUILD_FANCY_PLUGIN_FALSE='#' 28585else 28586 BUILD_FANCY_PLUGIN_TRUE='#' 28587 BUILD_FANCY_PLUGIN_FALSE= 28588fi 28589 28590 if test x"$enable_fetchinfo_plugin" != xno; then 28591 BUILD_FETCHINFO_PLUGIN_TRUE= 28592 BUILD_FETCHINFO_PLUGIN_FALSE='#' 28593else 28594 BUILD_FETCHINFO_PLUGIN_TRUE='#' 28595 BUILD_FETCHINFO_PLUGIN_FALSE= 28596fi 28597 28598 if test x"$enable_gdata_plugin" != xno; then 28599 BUILD_GDATA_PLUGIN_TRUE= 28600 BUILD_GDATA_PLUGIN_FALSE='#' 28601else 28602 BUILD_GDATA_PLUGIN_TRUE='#' 28603 BUILD_GDATA_PLUGIN_FALSE= 28604fi 28605 28606 if test x"$enable_libravatar_plugin" != xno; then 28607 BUILD_LIBRAVATAR_PLUGIN_TRUE= 28608 BUILD_LIBRAVATAR_PLUGIN_FALSE='#' 28609else 28610 BUILD_LIBRAVATAR_PLUGIN_TRUE='#' 28611 BUILD_LIBRAVATAR_PLUGIN_FALSE= 28612fi 28613 28614 if test x"$enable_litehtml_viewer_plugin" != xno; then 28615 BUILD_LITEHTML_VIEWER_PLUGIN_TRUE= 28616 BUILD_LITEHTML_VIEWER_PLUGIN_FALSE='#' 28617else 28618 BUILD_LITEHTML_VIEWER_PLUGIN_TRUE='#' 28619 BUILD_LITEHTML_VIEWER_PLUGIN_FALSE= 28620fi 28621 28622 if test x"$enable_mailmbox_plugin" != xno; then 28623 BUILD_MAILMBOX_PLUGIN_TRUE= 28624 BUILD_MAILMBOX_PLUGIN_FALSE='#' 28625else 28626 BUILD_MAILMBOX_PLUGIN_TRUE='#' 28627 BUILD_MAILMBOX_PLUGIN_FALSE= 28628fi 28629 28630 if test x"$enable_managesieve_plugin" != xno; then 28631 BUILD_MANAGESIEVE_PLUGIN_TRUE= 28632 BUILD_MANAGESIEVE_PLUGIN_FALSE='#' 28633else 28634 BUILD_MANAGESIEVE_PLUGIN_TRUE='#' 28635 BUILD_MANAGESIEVE_PLUGIN_FALSE= 28636fi 28637 28638 if test x"$enable_newmail_plugin" != xno; then 28639 BUILD_NEWMAIL_PLUGIN_TRUE= 28640 BUILD_NEWMAIL_PLUGIN_FALSE='#' 28641else 28642 BUILD_NEWMAIL_PLUGIN_TRUE='#' 28643 BUILD_NEWMAIL_PLUGIN_FALSE= 28644fi 28645 28646 if test x"$enable_notification_plugin" != xno; then 28647 BUILD_NOTIFICATION_PLUGIN_TRUE= 28648 BUILD_NOTIFICATION_PLUGIN_FALSE='#' 28649else 28650 BUILD_NOTIFICATION_PLUGIN_TRUE='#' 28651 BUILD_NOTIFICATION_PLUGIN_FALSE= 28652fi 28653 28654 if test x"$enable_notification_plugin" != xno -a x"$HAVE_HOTKEYS" = xyes; then 28655 BUILD_HOTKEYS_TRUE= 28656 BUILD_HOTKEYS_FALSE='#' 28657else 28658 BUILD_HOTKEYS_TRUE='#' 28659 BUILD_HOTKEYS_FALSE= 28660fi 28661 28662 if test x"$enable_pdf_viewer_plugin" != xno; then 28663 BUILD_PDF_VIEWER_PLUGIN_TRUE= 28664 BUILD_PDF_VIEWER_PLUGIN_FALSE='#' 28665else 28666 BUILD_PDF_VIEWER_PLUGIN_TRUE='#' 28667 BUILD_PDF_VIEWER_PLUGIN_FALSE= 28668fi 28669 28670 if test x"$enable_perl_plugin" != xno; then 28671 BUILD_PERL_PLUGIN_TRUE= 28672 BUILD_PERL_PLUGIN_FALSE='#' 28673else 28674 BUILD_PERL_PLUGIN_TRUE='#' 28675 BUILD_PERL_PLUGIN_FALSE= 28676fi 28677 28678 if test x"$enable_python_plugin" != xno; then 28679 BUILD_PYTHON_PLUGIN_TRUE= 28680 BUILD_PYTHON_PLUGIN_FALSE='#' 28681else 28682 BUILD_PYTHON_PLUGIN_TRUE='#' 28683 BUILD_PYTHON_PLUGIN_FALSE= 28684fi 28685 28686 if test x"$enable_pgpcore_plugin" != xno; then 28687 BUILD_PGPCORE_PLUGIN_TRUE= 28688 BUILD_PGPCORE_PLUGIN_FALSE='#' 28689else 28690 BUILD_PGPCORE_PLUGIN_TRUE='#' 28691 BUILD_PGPCORE_PLUGIN_FALSE= 28692fi 28693 28694 if test x"$enable_pgpmime_plugin" != xno; then 28695 BUILD_PGPMIME_PLUGIN_TRUE= 28696 BUILD_PGPMIME_PLUGIN_FALSE='#' 28697else 28698 BUILD_PGPMIME_PLUGIN_TRUE='#' 28699 BUILD_PGPMIME_PLUGIN_FALSE= 28700fi 28701 28702 if test x"$enable_pgpinline_plugin" != xno; then 28703 BUILD_PGPINLINE_PLUGIN_TRUE= 28704 BUILD_PGPINLINE_PLUGIN_FALSE='#' 28705else 28706 BUILD_PGPINLINE_PLUGIN_TRUE='#' 28707 BUILD_PGPINLINE_PLUGIN_FALSE= 28708fi 28709 28710 if test x"$enable_rssyl_plugin" != xno; then 28711 BUILD_RSSYL_PLUGIN_TRUE= 28712 BUILD_RSSYL_PLUGIN_FALSE='#' 28713else 28714 BUILD_RSSYL_PLUGIN_TRUE='#' 28715 BUILD_RSSYL_PLUGIN_FALSE= 28716fi 28717 28718 if test x"$enable_smime_plugin" != xno; then 28719 BUILD_SMIME_PLUGIN_TRUE= 28720 BUILD_SMIME_PLUGIN_FALSE='#' 28721else 28722 BUILD_SMIME_PLUGIN_TRUE='#' 28723 BUILD_SMIME_PLUGIN_FALSE= 28724fi 28725 28726 if test x"$enable_spamassassin_plugin" != xno; then 28727 BUILD_SPAMASSASSIN_PLUGIN_TRUE= 28728 BUILD_SPAMASSASSIN_PLUGIN_FALSE='#' 28729else 28730 BUILD_SPAMASSASSIN_PLUGIN_TRUE='#' 28731 BUILD_SPAMASSASSIN_PLUGIN_FALSE= 28732fi 28733 28734 if test x"$enable_spam_report_plugin" != xno; then 28735 BUILD_SPAM_REPORT_PLUGIN_TRUE= 28736 BUILD_SPAM_REPORT_PLUGIN_FALSE='#' 28737else 28738 BUILD_SPAM_REPORT_PLUGIN_TRUE='#' 28739 BUILD_SPAM_REPORT_PLUGIN_FALSE= 28740fi 28741 28742 if test x"$enable_tnef_parse_plugin" != xno; then 28743 BUILD_TNEF_PARSE_PLUGIN_TRUE= 28744 BUILD_TNEF_PARSE_PLUGIN_FALSE='#' 28745else 28746 BUILD_TNEF_PARSE_PLUGIN_TRUE='#' 28747 BUILD_TNEF_PARSE_PLUGIN_FALSE= 28748fi 28749 28750 if test x"$enable_vcalendar_plugin" != xno; then 28751 BUILD_VCALENDAR_PLUGIN_TRUE= 28752 BUILD_VCALENDAR_PLUGIN_FALSE='#' 28753else 28754 BUILD_VCALENDAR_PLUGIN_TRUE='#' 28755 BUILD_VCALENDAR_PLUGIN_FALSE= 28756fi 28757 28758 28759 28760 28761ac_config_files="$ac_config_files Makefile m4/Makefile po/Makefile.in src/common/version.h src/Makefile src/common/Makefile src/common/passcrypt.h src/common/tests/Makefile src/gtk/Makefile src/etpan/Makefile src/plugins/Makefile src/plugins/acpi_notifier/Makefile src/plugins/address_keeper/Makefile src/plugins/archive/Makefile src/plugins/att_remover/Makefile src/plugins/attachwarner/Makefile src/plugins/bogofilter/Makefile src/plugins/bsfilter/Makefile src/plugins/clamd/Makefile src/plugins/clamd/libclamd/Makefile src/plugins/demo/Makefile src/plugins/dillo/Makefile src/plugins/fancy/Makefile src/plugins/fetchinfo/Makefile src/plugins/gdata/Makefile src/plugins/litehtml_viewer/Makefile src/plugins/litehtml_viewer/litehtml/Makefile src/plugins/libravatar/Makefile src/plugins/mailmbox/Makefile src/plugins/managesieve/Makefile src/plugins/newmail/Makefile src/plugins/notification/Makefile src/plugins/notification/gtkhotkey/Makefile src/plugins/pdf_viewer/Makefile src/plugins/perl/Makefile src/plugins/perl/tools/Makefile src/plugins/python/Makefile src/plugins/python/examples/Makefile src/plugins/pgpcore/Makefile src/plugins/pgpcore/tests/Makefile src/plugins/pgpmime/Makefile src/plugins/pgpinline/Makefile src/plugins/rssyl/Makefile src/plugins/rssyl/tests/Makefile src/plugins/rssyl/libfeed/Makefile src/plugins/rssyl/libfeed/tests/Makefile src/plugins/smime/Makefile src/plugins/spamassassin/Makefile src/plugins/spam_report/Makefile src/plugins/tnef_parse/Makefile src/plugins/vcalendar/Makefile src/tests/Makefile doc/Makefile doc/man/Makefile tools/Makefile config/Makefile manual/Makefile manual/dtd/Makefile manual/dist/Makefile manual/dist/pdf/Makefile manual/dist/ps/Makefile manual/dist/html/Makefile manual/dist/txt/Makefile manual/fr/Makefile manual/fr/dist/Makefile manual/fr/dist/pdf/Makefile manual/fr/dist/ps/Makefile manual/fr/dist/html/Makefile manual/fr/dist/txt/Makefile manual/es/Makefile manual/es/dist/Makefile manual/es/dist/pdf/Makefile manual/es/dist/ps/Makefile manual/es/dist/html/Makefile manual/es/dist/txt/Makefile claws-mail.pc" 28762 28763cat >confcache <<\_ACEOF 28764# This file is a shell script that caches the results of configure 28765# tests run on this system so they can be shared between configure 28766# scripts and configure runs, see configure's option --config-cache. 28767# It is not useful on other systems. If it contains results you don't 28768# want to keep, you may remove or edit it. 28769# 28770# config.status only pays attention to the cache file if you give it 28771# the --recheck option to rerun configure. 28772# 28773# `ac_cv_env_foo' variables (set or unset) will be overridden when 28774# loading this file, other *unset* `ac_cv_foo' will be assigned the 28775# following values. 28776 28777_ACEOF 28778 28779# The following way of writing the cache mishandles newlines in values, 28780# but we know of no workaround that is simple, portable, and efficient. 28781# So, we kill variables containing newlines. 28782# Ultrix sh set writes to stderr and can't be redirected directly, 28783# and sets the high bit in the cache file unless we assign to the vars. 28784( 28785 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 28786 eval ac_val=\$$ac_var 28787 case $ac_val in #( 28788 *${as_nl}*) 28789 case $ac_var in #( 28790 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 28791$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 28792 esac 28793 case $ac_var in #( 28794 _ | IFS | as_nl) ;; #( 28795 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 28796 *) { eval $ac_var=; unset $ac_var;} ;; 28797 esac ;; 28798 esac 28799 done 28800 28801 (set) 2>&1 | 28802 case $as_nl`(ac_space=' '; set) 2>&1` in #( 28803 *${as_nl}ac_space=\ *) 28804 # `set' does not quote correctly, so add quotes: double-quote 28805 # substitution turns \\\\ into \\, and sed turns \\ into \. 28806 sed -n \ 28807 "s/'/'\\\\''/g; 28808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 28809 ;; #( 28810 *) 28811 # `set' quotes correctly as required by POSIX, so do not add quotes. 28812 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 28813 ;; 28814 esac | 28815 sort 28816) | 28817 sed ' 28818 /^ac_cv_env_/b end 28819 t clear 28820 :clear 28821 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 28822 t end 28823 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 28824 :end' >>confcache 28825if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 28826 if test -w "$cache_file"; then 28827 if test "x$cache_file" != "x/dev/null"; then 28828 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 28829$as_echo "$as_me: updating cache $cache_file" >&6;} 28830 if test ! -f "$cache_file" || test -h "$cache_file"; then 28831 cat confcache >"$cache_file" 28832 else 28833 case $cache_file in #( 28834 */* | ?:*) 28835 mv -f confcache "$cache_file"$$ && 28836 mv -f "$cache_file"$$ "$cache_file" ;; #( 28837 *) 28838 mv -f confcache "$cache_file" ;; 28839 esac 28840 fi 28841 fi 28842 else 28843 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 28844$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 28845 fi 28846fi 28847rm -f confcache 28848 28849test "x$prefix" = xNONE && prefix=$ac_default_prefix 28850# Let make expand exec_prefix. 28851test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 28852 28853DEFS=-DHAVE_CONFIG_H 28854 28855ac_libobjs= 28856ac_ltlibobjs= 28857U= 28858for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 28859 # 1. Remove the extension, and $U if already installed. 28860 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 28861 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 28862 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 28863 # will be set to the directory where LIBOBJS objects are built. 28864 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 28865 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 28866done 28867LIBOBJS=$ac_libobjs 28868 28869LTLIBOBJS=$ac_ltlibobjs 28870 28871 28872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 28873$as_echo_n "checking that generated files are newer than configure... " >&6; } 28874 if test -n "$am_sleep_pid"; then 28875 # Hide warnings about reused PIDs. 28876 wait $am_sleep_pid 2>/dev/null 28877 fi 28878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 28879$as_echo "done" >&6; } 28880 if test -n "$EXEEXT"; then 28881 am__EXEEXT_TRUE= 28882 am__EXEEXT_FALSE='#' 28883else 28884 am__EXEEXT_TRUE='#' 28885 am__EXEEXT_FALSE= 28886fi 28887 28888if test -z "${UPDATE_GTK_ICON_CACHE_TRUE}" && test -z "${UPDATE_GTK_ICON_CACHE_FALSE}"; then 28889 as_fn_error $? "conditional \"UPDATE_GTK_ICON_CACHE\" was never defined. 28890Usually this means the macro was only invoked conditionally." "$LINENO" 5 28891fi 28892if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 28893 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 28894Usually this means the macro was only invoked conditionally." "$LINENO" 5 28895fi 28896if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 28897 as_fn_error $? "conditional \"AMDEP\" was never defined. 28898Usually this means the macro was only invoked conditionally." "$LINENO" 5 28899fi 28900if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 28901 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 28902Usually this means the macro was only invoked conditionally." "$LINENO" 5 28903fi 28904if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 28905 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 28906Usually this means the macro was only invoked conditionally." "$LINENO" 5 28907fi 28908if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then 28909 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined. 28910Usually this means the macro was only invoked conditionally." "$LINENO" 5 28911fi 28912if test -z "${PLATFORM_OSX_TRUE}" && test -z "${PLATFORM_OSX_FALSE}"; then 28913 as_fn_error $? "conditional \"PLATFORM_OSX\" was never defined. 28914Usually this means the macro was only invoked conditionally." "$LINENO" 5 28915fi 28916if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then 28917 as_fn_error $? "conditional \"OS_WIN32\" was never defined. 28918Usually this means the macro was only invoked conditionally." "$LINENO" 5 28919fi 28920if test -z "${CYGWIN_TRUE}" && test -z "${CYGWIN_FALSE}"; then 28921 as_fn_error $? "conditional \"CYGWIN\" was never defined. 28922Usually this means the macro was only invoked conditionally." "$LINENO" 5 28923fi 28924if test -z "${MANUAL_HTML_TRUE}" && test -z "${MANUAL_HTML_FALSE}"; then 28925 as_fn_error $? "conditional \"MANUAL_HTML\" was never defined. 28926Usually this means the macro was only invoked conditionally." "$LINENO" 5 28927fi 28928if test -z "${MANUAL_TXT_TRUE}" && test -z "${MANUAL_TXT_FALSE}"; then 28929 as_fn_error $? "conditional \"MANUAL_TXT\" was never defined. 28930Usually this means the macro was only invoked conditionally." "$LINENO" 5 28931fi 28932if test -z "${MANUAL_PDF_TRUE}" && test -z "${MANUAL_PDF_FALSE}"; then 28933 as_fn_error $? "conditional \"MANUAL_PDF\" was never defined. 28934Usually this means the macro was only invoked conditionally." "$LINENO" 5 28935fi 28936if test -z "${MANUAL_PS_TRUE}" && test -z "${MANUAL_PS_FALSE}"; then 28937 as_fn_error $? "conditional \"MANUAL_PS\" was never defined. 28938Usually this means the macro was only invoked conditionally." "$LINENO" 5 28939fi 28940if test -z "${BUILD_MANUAL_TRUE}" && test -z "${BUILD_MANUAL_FALSE}"; then 28941 as_fn_error $? "conditional \"BUILD_MANUAL\" was never defined. 28942Usually this means the macro was only invoked conditionally." "$LINENO" 5 28943fi 28944if test -z "${BUILD_ALTADDRBOOK_TRUE}" && test -z "${BUILD_ALTADDRBOOK_FALSE}"; then 28945 as_fn_error $? "conditional \"BUILD_ALTADDRBOOK\" was never defined. 28946Usually this means the macro was only invoked conditionally." "$LINENO" 5 28947fi 28948if test -z "${CLAWS_LIBETPAN_TRUE}" && test -z "${CLAWS_LIBETPAN_FALSE}"; then 28949 as_fn_error $? "conditional \"CLAWS_LIBETPAN\" was never defined. 28950Usually this means the macro was only invoked conditionally." "$LINENO" 5 28951fi 28952if test -z "${CLAWS_VALGRIND_TRUE}" && test -z "${CLAWS_VALGRIND_FALSE}"; then 28953 as_fn_error $? "conditional \"CLAWS_VALGRIND\" was never defined. 28954Usually this means the macro was only invoked conditionally." "$LINENO" 5 28955fi 28956if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then 28957 as_fn_error $? "conditional \"BUILD_TESTS\" was never defined. 28958Usually this means the macro was only invoked conditionally." "$LINENO" 5 28959fi 28960if test -z "${BUILD_ACPI_NOTIFIER_PLUGIN_TRUE}" && test -z "${BUILD_ACPI_NOTIFIER_PLUGIN_FALSE}"; then 28961 as_fn_error $? "conditional \"BUILD_ACPI_NOTIFIER_PLUGIN\" was never defined. 28962Usually this means the macro was only invoked conditionally." "$LINENO" 5 28963fi 28964if test -z "${BUILD_ADDRESS_KEEPER_PLUGIN_TRUE}" && test -z "${BUILD_ADDRESS_KEEPER_PLUGIN_FALSE}"; then 28965 as_fn_error $? "conditional \"BUILD_ADDRESS_KEEPER_PLUGIN\" was never defined. 28966Usually this means the macro was only invoked conditionally." "$LINENO" 5 28967fi 28968if test -z "${BUILD_ARCHIVE_PLUGIN_TRUE}" && test -z "${BUILD_ARCHIVE_PLUGIN_FALSE}"; then 28969 as_fn_error $? "conditional \"BUILD_ARCHIVE_PLUGIN\" was never defined. 28970Usually this means the macro was only invoked conditionally." "$LINENO" 5 28971fi 28972if test -z "${BUILD_ATT_REMOVER_PLUGIN_TRUE}" && test -z "${BUILD_ATT_REMOVER_PLUGIN_FALSE}"; then 28973 as_fn_error $? "conditional \"BUILD_ATT_REMOVER_PLUGIN\" was never defined. 28974Usually this means the macro was only invoked conditionally." "$LINENO" 5 28975fi 28976if test -z "${BUILD_ATTACHWARNER_PLUGIN_TRUE}" && test -z "${BUILD_ATTACHWARNER_PLUGIN_FALSE}"; then 28977 as_fn_error $? "conditional \"BUILD_ATTACHWARNER_PLUGIN\" was never defined. 28978Usually this means the macro was only invoked conditionally." "$LINENO" 5 28979fi 28980if test -z "${BUILD_BOGOFILTER_PLUGIN_TRUE}" && test -z "${BUILD_BOGOFILTER_PLUGIN_FALSE}"; then 28981 as_fn_error $? "conditional \"BUILD_BOGOFILTER_PLUGIN\" was never defined. 28982Usually this means the macro was only invoked conditionally." "$LINENO" 5 28983fi 28984if test -z "${BUILD_BSFILTER_PLUGIN_TRUE}" && test -z "${BUILD_BSFILTER_PLUGIN_FALSE}"; then 28985 as_fn_error $? "conditional \"BUILD_BSFILTER_PLUGIN\" was never defined. 28986Usually this means the macro was only invoked conditionally." "$LINENO" 5 28987fi 28988if test -z "${BUILD_CLAMD_PLUGIN_TRUE}" && test -z "${BUILD_CLAMD_PLUGIN_FALSE}"; then 28989 as_fn_error $? "conditional \"BUILD_CLAMD_PLUGIN\" was never defined. 28990Usually this means the macro was only invoked conditionally." "$LINENO" 5 28991fi 28992if test -z "${BUILD_DEMO_PLUGIN_TRUE}" && test -z "${BUILD_DEMO_PLUGIN_FALSE}"; then 28993 as_fn_error $? "conditional \"BUILD_DEMO_PLUGIN\" was never defined. 28994Usually this means the macro was only invoked conditionally." "$LINENO" 5 28995fi 28996if test -z "${BUILD_DILLO_PLUGIN_TRUE}" && test -z "${BUILD_DILLO_PLUGIN_FALSE}"; then 28997 as_fn_error $? "conditional \"BUILD_DILLO_PLUGIN\" was never defined. 28998Usually this means the macro was only invoked conditionally." "$LINENO" 5 28999fi 29000if test -z "${BUILD_FANCY_PLUGIN_TRUE}" && test -z "${BUILD_FANCY_PLUGIN_FALSE}"; then 29001 as_fn_error $? "conditional \"BUILD_FANCY_PLUGIN\" was never defined. 29002Usually this means the macro was only invoked conditionally." "$LINENO" 5 29003fi 29004if test -z "${BUILD_FETCHINFO_PLUGIN_TRUE}" && test -z "${BUILD_FETCHINFO_PLUGIN_FALSE}"; then 29005 as_fn_error $? "conditional \"BUILD_FETCHINFO_PLUGIN\" was never defined. 29006Usually this means the macro was only invoked conditionally." "$LINENO" 5 29007fi 29008if test -z "${BUILD_GDATA_PLUGIN_TRUE}" && test -z "${BUILD_GDATA_PLUGIN_FALSE}"; then 29009 as_fn_error $? "conditional \"BUILD_GDATA_PLUGIN\" was never defined. 29010Usually this means the macro was only invoked conditionally." "$LINENO" 5 29011fi 29012if test -z "${BUILD_LIBRAVATAR_PLUGIN_TRUE}" && test -z "${BUILD_LIBRAVATAR_PLUGIN_FALSE}"; then 29013 as_fn_error $? "conditional \"BUILD_LIBRAVATAR_PLUGIN\" was never defined. 29014Usually this means the macro was only invoked conditionally." "$LINENO" 5 29015fi 29016if test -z "${BUILD_LITEHTML_VIEWER_PLUGIN_TRUE}" && test -z "${BUILD_LITEHTML_VIEWER_PLUGIN_FALSE}"; then 29017 as_fn_error $? "conditional \"BUILD_LITEHTML_VIEWER_PLUGIN\" was never defined. 29018Usually this means the macro was only invoked conditionally." "$LINENO" 5 29019fi 29020if test -z "${BUILD_MAILMBOX_PLUGIN_TRUE}" && test -z "${BUILD_MAILMBOX_PLUGIN_FALSE}"; then 29021 as_fn_error $? "conditional \"BUILD_MAILMBOX_PLUGIN\" was never defined. 29022Usually this means the macro was only invoked conditionally." "$LINENO" 5 29023fi 29024if test -z "${BUILD_MANAGESIEVE_PLUGIN_TRUE}" && test -z "${BUILD_MANAGESIEVE_PLUGIN_FALSE}"; then 29025 as_fn_error $? "conditional \"BUILD_MANAGESIEVE_PLUGIN\" was never defined. 29026Usually this means the macro was only invoked conditionally." "$LINENO" 5 29027fi 29028if test -z "${BUILD_NEWMAIL_PLUGIN_TRUE}" && test -z "${BUILD_NEWMAIL_PLUGIN_FALSE}"; then 29029 as_fn_error $? "conditional \"BUILD_NEWMAIL_PLUGIN\" was never defined. 29030Usually this means the macro was only invoked conditionally." "$LINENO" 5 29031fi 29032if test -z "${BUILD_NOTIFICATION_PLUGIN_TRUE}" && test -z "${BUILD_NOTIFICATION_PLUGIN_FALSE}"; then 29033 as_fn_error $? "conditional \"BUILD_NOTIFICATION_PLUGIN\" was never defined. 29034Usually this means the macro was only invoked conditionally." "$LINENO" 5 29035fi 29036if test -z "${BUILD_HOTKEYS_TRUE}" && test -z "${BUILD_HOTKEYS_FALSE}"; then 29037 as_fn_error $? "conditional \"BUILD_HOTKEYS\" was never defined. 29038Usually this means the macro was only invoked conditionally." "$LINENO" 5 29039fi 29040if test -z "${BUILD_PDF_VIEWER_PLUGIN_TRUE}" && test -z "${BUILD_PDF_VIEWER_PLUGIN_FALSE}"; then 29041 as_fn_error $? "conditional \"BUILD_PDF_VIEWER_PLUGIN\" was never defined. 29042Usually this means the macro was only invoked conditionally." "$LINENO" 5 29043fi 29044if test -z "${BUILD_PERL_PLUGIN_TRUE}" && test -z "${BUILD_PERL_PLUGIN_FALSE}"; then 29045 as_fn_error $? "conditional \"BUILD_PERL_PLUGIN\" was never defined. 29046Usually this means the macro was only invoked conditionally." "$LINENO" 5 29047fi 29048if test -z "${BUILD_PYTHON_PLUGIN_TRUE}" && test -z "${BUILD_PYTHON_PLUGIN_FALSE}"; then 29049 as_fn_error $? "conditional \"BUILD_PYTHON_PLUGIN\" was never defined. 29050Usually this means the macro was only invoked conditionally." "$LINENO" 5 29051fi 29052if test -z "${BUILD_PGPCORE_PLUGIN_TRUE}" && test -z "${BUILD_PGPCORE_PLUGIN_FALSE}"; then 29053 as_fn_error $? "conditional \"BUILD_PGPCORE_PLUGIN\" was never defined. 29054Usually this means the macro was only invoked conditionally." "$LINENO" 5 29055fi 29056if test -z "${BUILD_PGPMIME_PLUGIN_TRUE}" && test -z "${BUILD_PGPMIME_PLUGIN_FALSE}"; then 29057 as_fn_error $? "conditional \"BUILD_PGPMIME_PLUGIN\" was never defined. 29058Usually this means the macro was only invoked conditionally." "$LINENO" 5 29059fi 29060if test -z "${BUILD_PGPINLINE_PLUGIN_TRUE}" && test -z "${BUILD_PGPINLINE_PLUGIN_FALSE}"; then 29061 as_fn_error $? "conditional \"BUILD_PGPINLINE_PLUGIN\" was never defined. 29062Usually this means the macro was only invoked conditionally." "$LINENO" 5 29063fi 29064if test -z "${BUILD_RSSYL_PLUGIN_TRUE}" && test -z "${BUILD_RSSYL_PLUGIN_FALSE}"; then 29065 as_fn_error $? "conditional \"BUILD_RSSYL_PLUGIN\" was never defined. 29066Usually this means the macro was only invoked conditionally." "$LINENO" 5 29067fi 29068if test -z "${BUILD_SMIME_PLUGIN_TRUE}" && test -z "${BUILD_SMIME_PLUGIN_FALSE}"; then 29069 as_fn_error $? "conditional \"BUILD_SMIME_PLUGIN\" was never defined. 29070Usually this means the macro was only invoked conditionally." "$LINENO" 5 29071fi 29072if test -z "${BUILD_SPAMASSASSIN_PLUGIN_TRUE}" && test -z "${BUILD_SPAMASSASSIN_PLUGIN_FALSE}"; then 29073 as_fn_error $? "conditional \"BUILD_SPAMASSASSIN_PLUGIN\" was never defined. 29074Usually this means the macro was only invoked conditionally." "$LINENO" 5 29075fi 29076if test -z "${BUILD_SPAM_REPORT_PLUGIN_TRUE}" && test -z "${BUILD_SPAM_REPORT_PLUGIN_FALSE}"; then 29077 as_fn_error $? "conditional \"BUILD_SPAM_REPORT_PLUGIN\" was never defined. 29078Usually this means the macro was only invoked conditionally." "$LINENO" 5 29079fi 29080if test -z "${BUILD_TNEF_PARSE_PLUGIN_TRUE}" && test -z "${BUILD_TNEF_PARSE_PLUGIN_FALSE}"; then 29081 as_fn_error $? "conditional \"BUILD_TNEF_PARSE_PLUGIN\" was never defined. 29082Usually this means the macro was only invoked conditionally." "$LINENO" 5 29083fi 29084if test -z "${BUILD_VCALENDAR_PLUGIN_TRUE}" && test -z "${BUILD_VCALENDAR_PLUGIN_FALSE}"; then 29085 as_fn_error $? "conditional \"BUILD_VCALENDAR_PLUGIN\" was never defined. 29086Usually this means the macro was only invoked conditionally." "$LINENO" 5 29087fi 29088 29089: "${CONFIG_STATUS=./config.status}" 29090ac_write_fail=0 29091ac_clean_files_save=$ac_clean_files 29092ac_clean_files="$ac_clean_files $CONFIG_STATUS" 29093{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 29094$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 29095as_write_fail=0 29096cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 29097#! $SHELL 29098# Generated by $as_me. 29099# Run this file to recreate the current configuration. 29100# Compiler output produced by configure, useful for debugging 29101# configure, is in config.log if it exists. 29102 29103debug=false 29104ac_cs_recheck=false 29105ac_cs_silent=false 29106 29107SHELL=\${CONFIG_SHELL-$SHELL} 29108export SHELL 29109_ASEOF 29110cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 29111## -------------------- ## 29112## M4sh Initialization. ## 29113## -------------------- ## 29114 29115# Be more Bourne compatible 29116DUALCASE=1; export DUALCASE # for MKS sh 29117if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 29118 emulate sh 29119 NULLCMD=: 29120 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 29121 # is contrary to our usage. Disable this feature. 29122 alias -g '${1+"$@"}'='"$@"' 29123 setopt NO_GLOB_SUBST 29124else 29125 case `(set -o) 2>/dev/null` in #( 29126 *posix*) : 29127 set -o posix ;; #( 29128 *) : 29129 ;; 29130esac 29131fi 29132 29133 29134as_nl=' 29135' 29136export as_nl 29137# Printing a long string crashes Solaris 7 /usr/bin/printf. 29138as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 29139as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 29140as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 29141# Prefer a ksh shell builtin over an external printf program on Solaris, 29142# but without wasting forks for bash or zsh. 29143if test -z "$BASH_VERSION$ZSH_VERSION" \ 29144 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 29145 as_echo='print -r --' 29146 as_echo_n='print -rn --' 29147elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 29148 as_echo='printf %s\n' 29149 as_echo_n='printf %s' 29150else 29151 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 29152 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 29153 as_echo_n='/usr/ucb/echo -n' 29154 else 29155 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 29156 as_echo_n_body='eval 29157 arg=$1; 29158 case $arg in #( 29159 *"$as_nl"*) 29160 expr "X$arg" : "X\\(.*\\)$as_nl"; 29161 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 29162 esac; 29163 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 29164 ' 29165 export as_echo_n_body 29166 as_echo_n='sh -c $as_echo_n_body as_echo' 29167 fi 29168 export as_echo_body 29169 as_echo='sh -c $as_echo_body as_echo' 29170fi 29171 29172# The user is always right. 29173if test "${PATH_SEPARATOR+set}" != set; then 29174 PATH_SEPARATOR=: 29175 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 29176 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 29177 PATH_SEPARATOR=';' 29178 } 29179fi 29180 29181 29182# IFS 29183# We need space, tab and new line, in precisely that order. Quoting is 29184# there to prevent editors from complaining about space-tab. 29185# (If _AS_PATH_WALK were called with IFS unset, it would disable word 29186# splitting by setting IFS to empty value.) 29187IFS=" "" $as_nl" 29188 29189# Find who we are. Look in the path if we contain no directory separator. 29190as_myself= 29191case $0 in #(( 29192 *[\\/]* ) as_myself=$0 ;; 29193 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 29194for as_dir in $PATH 29195do 29196 IFS=$as_save_IFS 29197 test -z "$as_dir" && as_dir=. 29198 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 29199 done 29200IFS=$as_save_IFS 29201 29202 ;; 29203esac 29204# We did not find ourselves, most probably we were run as `sh COMMAND' 29205# in which case we are not to be found in the path. 29206if test "x$as_myself" = x; then 29207 as_myself=$0 29208fi 29209if test ! -f "$as_myself"; then 29210 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 29211 exit 1 29212fi 29213 29214# Unset variables that we do not need and which cause bugs (e.g. in 29215# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 29216# suppresses any "Segmentation fault" message there. '((' could 29217# trigger a bug in pdksh 5.2.14. 29218for as_var in BASH_ENV ENV MAIL MAILPATH 29219do eval test x\${$as_var+set} = xset \ 29220 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 29221done 29222PS1='$ ' 29223PS2='> ' 29224PS4='+ ' 29225 29226# NLS nuisances. 29227LC_ALL=C 29228export LC_ALL 29229LANGUAGE=C 29230export LANGUAGE 29231 29232# CDPATH. 29233(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 29234 29235 29236# as_fn_error STATUS ERROR [LINENO LOG_FD] 29237# ---------------------------------------- 29238# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 29239# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 29240# script with STATUS, using 1 if that was 0. 29241as_fn_error () 29242{ 29243 as_status=$1; test $as_status -eq 0 && as_status=1 29244 if test "$4"; then 29245 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 29246 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 29247 fi 29248 $as_echo "$as_me: error: $2" >&2 29249 as_fn_exit $as_status 29250} # as_fn_error 29251 29252 29253# as_fn_set_status STATUS 29254# ----------------------- 29255# Set $? to STATUS, without forking. 29256as_fn_set_status () 29257{ 29258 return $1 29259} # as_fn_set_status 29260 29261# as_fn_exit STATUS 29262# ----------------- 29263# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 29264as_fn_exit () 29265{ 29266 set +e 29267 as_fn_set_status $1 29268 exit $1 29269} # as_fn_exit 29270 29271# as_fn_unset VAR 29272# --------------- 29273# Portably unset VAR. 29274as_fn_unset () 29275{ 29276 { eval $1=; unset $1;} 29277} 29278as_unset=as_fn_unset 29279# as_fn_append VAR VALUE 29280# ---------------------- 29281# Append the text in VALUE to the end of the definition contained in VAR. Take 29282# advantage of any shell optimizations that allow amortized linear growth over 29283# repeated appends, instead of the typical quadratic growth present in naive 29284# implementations. 29285if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 29286 eval 'as_fn_append () 29287 { 29288 eval $1+=\$2 29289 }' 29290else 29291 as_fn_append () 29292 { 29293 eval $1=\$$1\$2 29294 } 29295fi # as_fn_append 29296 29297# as_fn_arith ARG... 29298# ------------------ 29299# Perform arithmetic evaluation on the ARGs, and store the result in the 29300# global $as_val. Take advantage of shells that can avoid forks. The arguments 29301# must be portable across $(()) and expr. 29302if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 29303 eval 'as_fn_arith () 29304 { 29305 as_val=$(( $* )) 29306 }' 29307else 29308 as_fn_arith () 29309 { 29310 as_val=`expr "$@" || test $? -eq 1` 29311 } 29312fi # as_fn_arith 29313 29314 29315if expr a : '\(a\)' >/dev/null 2>&1 && 29316 test "X`expr 00001 : '.*\(...\)'`" = X001; then 29317 as_expr=expr 29318else 29319 as_expr=false 29320fi 29321 29322if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 29323 as_basename=basename 29324else 29325 as_basename=false 29326fi 29327 29328if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 29329 as_dirname=dirname 29330else 29331 as_dirname=false 29332fi 29333 29334as_me=`$as_basename -- "$0" || 29335$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 29336 X"$0" : 'X\(//\)$' \| \ 29337 X"$0" : 'X\(/\)' \| . 2>/dev/null || 29338$as_echo X/"$0" | 29339 sed '/^.*\/\([^/][^/]*\)\/*$/{ 29340 s//\1/ 29341 q 29342 } 29343 /^X\/\(\/\/\)$/{ 29344 s//\1/ 29345 q 29346 } 29347 /^X\/\(\/\).*/{ 29348 s//\1/ 29349 q 29350 } 29351 s/.*/./; q'` 29352 29353# Avoid depending upon Character Ranges. 29354as_cr_letters='abcdefghijklmnopqrstuvwxyz' 29355as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 29356as_cr_Letters=$as_cr_letters$as_cr_LETTERS 29357as_cr_digits='0123456789' 29358as_cr_alnum=$as_cr_Letters$as_cr_digits 29359 29360ECHO_C= ECHO_N= ECHO_T= 29361case `echo -n x` in #((((( 29362-n*) 29363 case `echo 'xy\c'` in 29364 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 29365 xy) ECHO_C='\c';; 29366 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 29367 ECHO_T=' ';; 29368 esac;; 29369*) 29370 ECHO_N='-n';; 29371esac 29372 29373rm -f conf$$ conf$$.exe conf$$.file 29374if test -d conf$$.dir; then 29375 rm -f conf$$.dir/conf$$.file 29376else 29377 rm -f conf$$.dir 29378 mkdir conf$$.dir 2>/dev/null 29379fi 29380if (echo >conf$$.file) 2>/dev/null; then 29381 if ln -s conf$$.file conf$$ 2>/dev/null; then 29382 as_ln_s='ln -s' 29383 # ... but there are two gotchas: 29384 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 29385 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 29386 # In both cases, we have to default to `cp -pR'. 29387 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 29388 as_ln_s='cp -pR' 29389 elif ln conf$$.file conf$$ 2>/dev/null; then 29390 as_ln_s=ln 29391 else 29392 as_ln_s='cp -pR' 29393 fi 29394else 29395 as_ln_s='cp -pR' 29396fi 29397rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 29398rmdir conf$$.dir 2>/dev/null 29399 29400 29401# as_fn_mkdir_p 29402# ------------- 29403# Create "$as_dir" as a directory, including parents if necessary. 29404as_fn_mkdir_p () 29405{ 29406 29407 case $as_dir in #( 29408 -*) as_dir=./$as_dir;; 29409 esac 29410 test -d "$as_dir" || eval $as_mkdir_p || { 29411 as_dirs= 29412 while :; do 29413 case $as_dir in #( 29414 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 29415 *) as_qdir=$as_dir;; 29416 esac 29417 as_dirs="'$as_qdir' $as_dirs" 29418 as_dir=`$as_dirname -- "$as_dir" || 29419$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 29420 X"$as_dir" : 'X\(//\)[^/]' \| \ 29421 X"$as_dir" : 'X\(//\)$' \| \ 29422 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 29423$as_echo X"$as_dir" | 29424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 29425 s//\1/ 29426 q 29427 } 29428 /^X\(\/\/\)[^/].*/{ 29429 s//\1/ 29430 q 29431 } 29432 /^X\(\/\/\)$/{ 29433 s//\1/ 29434 q 29435 } 29436 /^X\(\/\).*/{ 29437 s//\1/ 29438 q 29439 } 29440 s/.*/./; q'` 29441 test -d "$as_dir" && break 29442 done 29443 test -z "$as_dirs" || eval "mkdir $as_dirs" 29444 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 29445 29446 29447} # as_fn_mkdir_p 29448if mkdir -p . 2>/dev/null; then 29449 as_mkdir_p='mkdir -p "$as_dir"' 29450else 29451 test -d ./-p && rmdir ./-p 29452 as_mkdir_p=false 29453fi 29454 29455 29456# as_fn_executable_p FILE 29457# ----------------------- 29458# Test if FILE is an executable regular file. 29459as_fn_executable_p () 29460{ 29461 test -f "$1" && test -x "$1" 29462} # as_fn_executable_p 29463as_test_x='test -x' 29464as_executable_p=as_fn_executable_p 29465 29466# Sed expression to map a string onto a valid CPP name. 29467as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 29468 29469# Sed expression to map a string onto a valid variable name. 29470as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 29471 29472 29473exec 6>&1 29474## ----------------------------------- ## 29475## Main body of $CONFIG_STATUS script. ## 29476## ----------------------------------- ## 29477_ASEOF 29478test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 29479 29480cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29481# Save the log message, to keep $0 and so on meaningful, and to 29482# report actual input values of CONFIG_FILES etc. instead of their 29483# values after options handling. 29484ac_log=" 29485This file was extended by $as_me, which was 29486generated by GNU Autoconf 2.69. Invocation command line was 29487 29488 CONFIG_FILES = $CONFIG_FILES 29489 CONFIG_HEADERS = $CONFIG_HEADERS 29490 CONFIG_LINKS = $CONFIG_LINKS 29491 CONFIG_COMMANDS = $CONFIG_COMMANDS 29492 $ $0 $@ 29493 29494on `(hostname || uname -n) 2>/dev/null | sed 1q` 29495" 29496 29497_ACEOF 29498 29499case $ac_config_files in *" 29500"*) set x $ac_config_files; shift; ac_config_files=$*;; 29501esac 29502 29503case $ac_config_headers in *" 29504"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 29505esac 29506 29507 29508cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29509# Files that config.status was made for. 29510config_files="$ac_config_files" 29511config_headers="$ac_config_headers" 29512config_commands="$ac_config_commands" 29513 29514_ACEOF 29515 29516cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29517ac_cs_usage="\ 29518\`$as_me' instantiates files and other configuration actions 29519from templates according to the current configuration. Unless the files 29520and actions are specified as TAGs, all are instantiated by default. 29521 29522Usage: $0 [OPTION]... [TAG]... 29523 29524 -h, --help print this help, then exit 29525 -V, --version print version number and configuration settings, then exit 29526 --config print configuration, then exit 29527 -q, --quiet, --silent 29528 do not print progress messages 29529 -d, --debug don't remove temporary files 29530 --recheck update $as_me by reconfiguring in the same conditions 29531 --file=FILE[:TEMPLATE] 29532 instantiate the configuration file FILE 29533 --header=FILE[:TEMPLATE] 29534 instantiate the configuration header FILE 29535 29536Configuration files: 29537$config_files 29538 29539Configuration headers: 29540$config_headers 29541 29542Configuration commands: 29543$config_commands 29544 29545Report bugs to the package provider." 29546 29547_ACEOF 29548cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29549ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 29550ac_cs_version="\\ 29551config.status 29552configured by $0, generated by GNU Autoconf 2.69, 29553 with options \\"\$ac_cs_config\\" 29554 29555Copyright (C) 2012 Free Software Foundation, Inc. 29556This config.status script is free software; the Free Software Foundation 29557gives unlimited permission to copy, distribute and modify it." 29558 29559ac_pwd='$ac_pwd' 29560srcdir='$srcdir' 29561INSTALL='$INSTALL' 29562MKDIR_P='$MKDIR_P' 29563AWK='$AWK' 29564test -n "\$AWK" || AWK=awk 29565_ACEOF 29566 29567cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29568# The default lists apply if the user does not specify any file. 29569ac_need_defaults=: 29570while test $# != 0 29571do 29572 case $1 in 29573 --*=?*) 29574 ac_option=`expr "X$1" : 'X\([^=]*\)='` 29575 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 29576 ac_shift=: 29577 ;; 29578 --*=) 29579 ac_option=`expr "X$1" : 'X\([^=]*\)='` 29580 ac_optarg= 29581 ac_shift=: 29582 ;; 29583 *) 29584 ac_option=$1 29585 ac_optarg=$2 29586 ac_shift=shift 29587 ;; 29588 esac 29589 29590 case $ac_option in 29591 # Handling of the options. 29592 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 29593 ac_cs_recheck=: ;; 29594 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 29595 $as_echo "$ac_cs_version"; exit ;; 29596 --config | --confi | --conf | --con | --co | --c ) 29597 $as_echo "$ac_cs_config"; exit ;; 29598 --debug | --debu | --deb | --de | --d | -d ) 29599 debug=: ;; 29600 --file | --fil | --fi | --f ) 29601 $ac_shift 29602 case $ac_optarg in 29603 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 29604 '') as_fn_error $? "missing file argument" ;; 29605 esac 29606 as_fn_append CONFIG_FILES " '$ac_optarg'" 29607 ac_need_defaults=false;; 29608 --header | --heade | --head | --hea ) 29609 $ac_shift 29610 case $ac_optarg in 29611 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 29612 esac 29613 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 29614 ac_need_defaults=false;; 29615 --he | --h) 29616 # Conflict between --help and --header 29617 as_fn_error $? "ambiguous option: \`$1' 29618Try \`$0 --help' for more information.";; 29619 --help | --hel | -h ) 29620 $as_echo "$ac_cs_usage"; exit ;; 29621 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 29622 | -silent | --silent | --silen | --sile | --sil | --si | --s) 29623 ac_cs_silent=: ;; 29624 29625 # This is an error. 29626 -*) as_fn_error $? "unrecognized option: \`$1' 29627Try \`$0 --help' for more information." ;; 29628 29629 *) as_fn_append ac_config_targets " $1" 29630 ac_need_defaults=false ;; 29631 29632 esac 29633 shift 29634done 29635 29636ac_configure_extra_args= 29637 29638if $ac_cs_silent; then 29639 exec 6>/dev/null 29640 ac_configure_extra_args="$ac_configure_extra_args --silent" 29641fi 29642 29643_ACEOF 29644cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29645if \$ac_cs_recheck; then 29646 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 29647 shift 29648 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 29649 CONFIG_SHELL='$SHELL' 29650 export CONFIG_SHELL 29651 exec "\$@" 29652fi 29653 29654_ACEOF 29655cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 29656exec 5>>config.log 29657{ 29658 echo 29659 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 29660## Running $as_me. ## 29661_ASBOX 29662 $as_echo "$ac_log" 29663} >&5 29664 29665_ACEOF 29666cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 29667# 29668# INIT-COMMANDS 29669# 29670AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 29671 29672 29673# The HP-UX ksh and POSIX shell print the target directory to stdout 29674# if CDPATH is set. 29675(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 29676 29677sed_quote_subst='$sed_quote_subst' 29678double_quote_subst='$double_quote_subst' 29679delay_variable_subst='$delay_variable_subst' 29680AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 29681DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 29682OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 29683macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 29684macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 29685enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 29686enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 29687pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 29688enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 29689shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 29690SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 29691ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 29692PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 29693host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 29694host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 29695host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 29696build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 29697build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 29698build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 29699SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 29700Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 29701GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 29702EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 29703FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 29704LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 29705NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 29706LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 29707max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 29708ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 29709exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 29710lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 29711lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 29712lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 29713lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 29714lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 29715reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 29716reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 29717deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 29718file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 29719file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 29720want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 29721sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 29722AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 29723AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 29724archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 29725STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 29726RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 29727old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 29728old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 29729old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 29730lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 29731CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 29732CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 29733compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 29734GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 29735lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 29736lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 29737lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 29738lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 29739lt_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"`' 29740lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 29741nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 29742lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 29743lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 29744objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 29745MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 29746lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 29747lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 29748lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 29749lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 29750lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 29751need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 29752MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 29753DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 29754NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 29755LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 29756OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 29757OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 29758libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 29759shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 29760extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 29761archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 29762enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 29763export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 29764whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 29765compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 29766old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 29767old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 29768archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 29769archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 29770module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 29771module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 29772with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 29773allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 29774no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 29775hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 29776hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 29777hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 29778hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 29779hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 29780hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 29781hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 29782inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 29783link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 29784always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 29785export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 29786exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 29787include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 29788prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 29789postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 29790file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 29791variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 29792need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 29793need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 29794version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 29795runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 29796shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 29797shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 29798libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 29799library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 29800soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 29801install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 29802postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 29803postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 29804finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 29805finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 29806hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 29807sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 29808configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 29809configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 29810hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 29811enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 29812enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 29813enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 29814old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 29815striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 29816compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 29817predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 29818postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 29819predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 29820postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 29821compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 29822LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`' 29823LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 29824reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`' 29825reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 29826reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`' 29827reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 29828old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`' 29829old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 29830compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`' 29831compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 29832GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`' 29833GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 29834lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`' 29835lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 29836lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`' 29837lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 29838lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`' 29839lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 29840lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`' 29841lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 29842lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`' 29843lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 29844archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`' 29845archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 29846enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`' 29847enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 29848export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`' 29849export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 29850whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`' 29851whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 29852compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`' 29853compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 29854old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`' 29855old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 29856old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`' 29857old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 29858archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`' 29859archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 29860archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`' 29861archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 29862module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`' 29863module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 29864module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`' 29865module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 29866with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`' 29867with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 29868allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`' 29869allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 29870no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`' 29871no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 29872hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`' 29873hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 29874hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`' 29875hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 29876hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`' 29877hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 29878hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`' 29879hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 29880hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`' 29881hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 29882hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`' 29883hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 29884hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`' 29885hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 29886inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`' 29887inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 29888link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`' 29889link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 29890always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`' 29891always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 29892export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`' 29893export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 29894exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`' 29895exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 29896include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`' 29897include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 29898prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`' 29899prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 29900postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`' 29901postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 29902file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`' 29903file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 29904hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`' 29905hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 29906compiler_lib_search_dirs_RC='`$ECHO "$compiler_lib_search_dirs_RC" | $SED "$delay_single_quote_subst"`' 29907compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 29908predep_objects_RC='`$ECHO "$predep_objects_RC" | $SED "$delay_single_quote_subst"`' 29909predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 29910postdep_objects_RC='`$ECHO "$postdep_objects_RC" | $SED "$delay_single_quote_subst"`' 29911postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 29912predeps_RC='`$ECHO "$predeps_RC" | $SED "$delay_single_quote_subst"`' 29913predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 29914postdeps_RC='`$ECHO "$postdeps_RC" | $SED "$delay_single_quote_subst"`' 29915postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 29916compiler_lib_search_path_RC='`$ECHO "$compiler_lib_search_path_RC" | $SED "$delay_single_quote_subst"`' 29917compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 29918 29919LTCC='$LTCC' 29920LTCFLAGS='$LTCFLAGS' 29921compiler='$compiler_DEFAULT' 29922 29923# A function that is used when there is no print builtin or printf. 29924func_fallback_echo () 29925{ 29926 eval 'cat <<_LTECHO_EOF 29927\$1 29928_LTECHO_EOF' 29929} 29930 29931# Quote evaled strings. 29932for var in AS \ 29933DLLTOOL \ 29934OBJDUMP \ 29935SHELL \ 29936ECHO \ 29937PATH_SEPARATOR \ 29938SED \ 29939GREP \ 29940EGREP \ 29941FGREP \ 29942LD \ 29943NM \ 29944LN_S \ 29945lt_SP2NL \ 29946lt_NL2SP \ 29947reload_flag \ 29948deplibs_check_method \ 29949file_magic_cmd \ 29950file_magic_glob \ 29951want_nocaseglob \ 29952sharedlib_from_linklib_cmd \ 29953AR \ 29954AR_FLAGS \ 29955archiver_list_spec \ 29956STRIP \ 29957RANLIB \ 29958CC \ 29959CFLAGS \ 29960compiler \ 29961lt_cv_sys_global_symbol_pipe \ 29962lt_cv_sys_global_symbol_to_cdecl \ 29963lt_cv_sys_global_symbol_to_import \ 29964lt_cv_sys_global_symbol_to_c_name_address \ 29965lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 29966lt_cv_nm_interface \ 29967nm_file_list_spec \ 29968lt_cv_truncate_bin \ 29969lt_prog_compiler_no_builtin_flag \ 29970lt_prog_compiler_pic \ 29971lt_prog_compiler_wl \ 29972lt_prog_compiler_static \ 29973lt_cv_prog_compiler_c_o \ 29974need_locks \ 29975MANIFEST_TOOL \ 29976DSYMUTIL \ 29977NMEDIT \ 29978LIPO \ 29979OTOOL \ 29980OTOOL64 \ 29981shrext_cmds \ 29982export_dynamic_flag_spec \ 29983whole_archive_flag_spec \ 29984compiler_needs_object \ 29985with_gnu_ld \ 29986allow_undefined_flag \ 29987no_undefined_flag \ 29988hardcode_libdir_flag_spec \ 29989hardcode_libdir_separator \ 29990exclude_expsyms \ 29991include_expsyms \ 29992file_list_spec \ 29993variables_saved_for_relink \ 29994libname_spec \ 29995library_names_spec \ 29996soname_spec \ 29997install_override_mode \ 29998finish_eval \ 29999old_striplib \ 30000striplib \ 30001compiler_lib_search_dirs \ 30002predep_objects \ 30003postdep_objects \ 30004predeps \ 30005postdeps \ 30006compiler_lib_search_path \ 30007LD_RC \ 30008LD_CXX \ 30009reload_flag_RC \ 30010reload_flag_CXX \ 30011compiler_RC \ 30012compiler_CXX \ 30013lt_prog_compiler_no_builtin_flag_RC \ 30014lt_prog_compiler_no_builtin_flag_CXX \ 30015lt_prog_compiler_pic_RC \ 30016lt_prog_compiler_pic_CXX \ 30017lt_prog_compiler_wl_RC \ 30018lt_prog_compiler_wl_CXX \ 30019lt_prog_compiler_static_RC \ 30020lt_prog_compiler_static_CXX \ 30021lt_cv_prog_compiler_c_o_RC \ 30022lt_cv_prog_compiler_c_o_CXX \ 30023export_dynamic_flag_spec_RC \ 30024export_dynamic_flag_spec_CXX \ 30025whole_archive_flag_spec_RC \ 30026whole_archive_flag_spec_CXX \ 30027compiler_needs_object_RC \ 30028compiler_needs_object_CXX \ 30029with_gnu_ld_RC \ 30030with_gnu_ld_CXX \ 30031allow_undefined_flag_RC \ 30032allow_undefined_flag_CXX \ 30033no_undefined_flag_RC \ 30034no_undefined_flag_CXX \ 30035hardcode_libdir_flag_spec_RC \ 30036hardcode_libdir_flag_spec_CXX \ 30037hardcode_libdir_separator_RC \ 30038hardcode_libdir_separator_CXX \ 30039exclude_expsyms_RC \ 30040exclude_expsyms_CXX \ 30041include_expsyms_RC \ 30042include_expsyms_CXX \ 30043file_list_spec_RC \ 30044file_list_spec_CXX \ 30045compiler_lib_search_dirs_RC \ 30046compiler_lib_search_dirs_CXX \ 30047predep_objects_RC \ 30048predep_objects_CXX \ 30049postdep_objects_RC \ 30050postdep_objects_CXX \ 30051predeps_RC \ 30052predeps_CXX \ 30053postdeps_RC \ 30054postdeps_CXX \ 30055compiler_lib_search_path_RC \ 30056compiler_lib_search_path_CXX; do 30057 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 30058 *[\\\\\\\`\\"\\\$]*) 30059 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 30060 ;; 30061 *) 30062 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 30063 ;; 30064 esac 30065done 30066 30067# Double-quote double-evaled strings. 30068for var in reload_cmds \ 30069old_postinstall_cmds \ 30070old_postuninstall_cmds \ 30071old_archive_cmds \ 30072extract_expsyms_cmds \ 30073old_archive_from_new_cmds \ 30074old_archive_from_expsyms_cmds \ 30075archive_cmds \ 30076archive_expsym_cmds \ 30077module_cmds \ 30078module_expsym_cmds \ 30079export_symbols_cmds \ 30080prelink_cmds \ 30081postlink_cmds \ 30082postinstall_cmds \ 30083postuninstall_cmds \ 30084finish_cmds \ 30085sys_lib_search_path_spec \ 30086configure_time_dlsearch_path \ 30087configure_time_lt_sys_library_path \ 30088reload_cmds_RC \ 30089reload_cmds_CXX \ 30090old_archive_cmds_RC \ 30091old_archive_cmds_CXX \ 30092old_archive_from_new_cmds_RC \ 30093old_archive_from_new_cmds_CXX \ 30094old_archive_from_expsyms_cmds_RC \ 30095old_archive_from_expsyms_cmds_CXX \ 30096archive_cmds_RC \ 30097archive_cmds_CXX \ 30098archive_expsym_cmds_RC \ 30099archive_expsym_cmds_CXX \ 30100module_cmds_RC \ 30101module_cmds_CXX \ 30102module_expsym_cmds_RC \ 30103module_expsym_cmds_CXX \ 30104export_symbols_cmds_RC \ 30105export_symbols_cmds_CXX \ 30106prelink_cmds_RC \ 30107prelink_cmds_CXX \ 30108postlink_cmds_RC \ 30109postlink_cmds_CXX; do 30110 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 30111 *[\\\\\\\`\\"\\\$]*) 30112 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 30113 ;; 30114 *) 30115 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 30116 ;; 30117 esac 30118done 30119 30120ac_aux_dir='$ac_aux_dir' 30121 30122# See if we are running on zsh, and set the options that allow our 30123# commands through without removal of \ escapes INIT. 30124if test -n "\${ZSH_VERSION+set}"; then 30125 setopt NO_GLOB_SUBST 30126fi 30127 30128 30129 PACKAGE='$PACKAGE' 30130 VERSION='$VERSION' 30131 RM='$RM' 30132 ofile='$ofile' 30133 30134 30135 30136 30137 30138 30139 30140# Capture the value of obsolete ALL_LINGUAS because we need it to compute 30141 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. 30142 OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS" 30143 # Capture the value of LINGUAS because we need it to compute CATALOGS. 30144 LINGUAS="${LINGUAS-%UNSET%}" 30145 30146 30147_ACEOF 30148 30149cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30150 30151# Handling of arguments. 30152for ac_config_target in $ac_config_targets 30153do 30154 case $ac_config_target in 30155 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 30156 "claws-features.h") CONFIG_HEADERS="$CONFIG_HEADERS claws-features.h" ;; 30157 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 30158 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 30159 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 30160 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 30161 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 30162 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 30163 "src/common/version.h") CONFIG_FILES="$CONFIG_FILES src/common/version.h" ;; 30164 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 30165 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;; 30166 "src/common/passcrypt.h") CONFIG_FILES="$CONFIG_FILES src/common/passcrypt.h" ;; 30167 "src/common/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/tests/Makefile" ;; 30168 "src/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/Makefile" ;; 30169 "src/etpan/Makefile") CONFIG_FILES="$CONFIG_FILES src/etpan/Makefile" ;; 30170 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;; 30171 "src/plugins/acpi_notifier/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/acpi_notifier/Makefile" ;; 30172 "src/plugins/address_keeper/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/address_keeper/Makefile" ;; 30173 "src/plugins/archive/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/archive/Makefile" ;; 30174 "src/plugins/att_remover/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/att_remover/Makefile" ;; 30175 "src/plugins/attachwarner/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/attachwarner/Makefile" ;; 30176 "src/plugins/bogofilter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/bogofilter/Makefile" ;; 30177 "src/plugins/bsfilter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/bsfilter/Makefile" ;; 30178 "src/plugins/clamd/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/clamd/Makefile" ;; 30179 "src/plugins/clamd/libclamd/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/clamd/libclamd/Makefile" ;; 30180 "src/plugins/demo/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/demo/Makefile" ;; 30181 "src/plugins/dillo/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/dillo/Makefile" ;; 30182 "src/plugins/fancy/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/fancy/Makefile" ;; 30183 "src/plugins/fetchinfo/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/fetchinfo/Makefile" ;; 30184 "src/plugins/gdata/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/gdata/Makefile" ;; 30185 "src/plugins/litehtml_viewer/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/litehtml_viewer/Makefile" ;; 30186 "src/plugins/litehtml_viewer/litehtml/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/litehtml_viewer/litehtml/Makefile" ;; 30187 "src/plugins/libravatar/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/libravatar/Makefile" ;; 30188 "src/plugins/mailmbox/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/mailmbox/Makefile" ;; 30189 "src/plugins/managesieve/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/managesieve/Makefile" ;; 30190 "src/plugins/newmail/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/newmail/Makefile" ;; 30191 "src/plugins/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/notification/Makefile" ;; 30192 "src/plugins/notification/gtkhotkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/notification/gtkhotkey/Makefile" ;; 30193 "src/plugins/pdf_viewer/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/pdf_viewer/Makefile" ;; 30194 "src/plugins/perl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/perl/Makefile" ;; 30195 "src/plugins/perl/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/perl/tools/Makefile" ;; 30196 "src/plugins/python/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/python/Makefile" ;; 30197 "src/plugins/python/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/python/examples/Makefile" ;; 30198 "src/plugins/pgpcore/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/pgpcore/Makefile" ;; 30199 "src/plugins/pgpcore/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/pgpcore/tests/Makefile" ;; 30200 "src/plugins/pgpmime/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/pgpmime/Makefile" ;; 30201 "src/plugins/pgpinline/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/pgpinline/Makefile" ;; 30202 "src/plugins/rssyl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/rssyl/Makefile" ;; 30203 "src/plugins/rssyl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/rssyl/tests/Makefile" ;; 30204 "src/plugins/rssyl/libfeed/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/rssyl/libfeed/Makefile" ;; 30205 "src/plugins/rssyl/libfeed/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/rssyl/libfeed/tests/Makefile" ;; 30206 "src/plugins/smime/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/smime/Makefile" ;; 30207 "src/plugins/spamassassin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/spamassassin/Makefile" ;; 30208 "src/plugins/spam_report/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/spam_report/Makefile" ;; 30209 "src/plugins/tnef_parse/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/tnef_parse/Makefile" ;; 30210 "src/plugins/vcalendar/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/vcalendar/Makefile" ;; 30211 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;; 30212 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 30213 "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;; 30214 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; 30215 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;; 30216 "manual/Makefile") CONFIG_FILES="$CONFIG_FILES manual/Makefile" ;; 30217 "manual/dtd/Makefile") CONFIG_FILES="$CONFIG_FILES manual/dtd/Makefile" ;; 30218 "manual/dist/Makefile") CONFIG_FILES="$CONFIG_FILES manual/dist/Makefile" ;; 30219 "manual/dist/pdf/Makefile") CONFIG_FILES="$CONFIG_FILES manual/dist/pdf/Makefile" ;; 30220 "manual/dist/ps/Makefile") CONFIG_FILES="$CONFIG_FILES manual/dist/ps/Makefile" ;; 30221 "manual/dist/html/Makefile") CONFIG_FILES="$CONFIG_FILES manual/dist/html/Makefile" ;; 30222 "manual/dist/txt/Makefile") CONFIG_FILES="$CONFIG_FILES manual/dist/txt/Makefile" ;; 30223 "manual/fr/Makefile") CONFIG_FILES="$CONFIG_FILES manual/fr/Makefile" ;; 30224 "manual/fr/dist/Makefile") CONFIG_FILES="$CONFIG_FILES manual/fr/dist/Makefile" ;; 30225 "manual/fr/dist/pdf/Makefile") CONFIG_FILES="$CONFIG_FILES manual/fr/dist/pdf/Makefile" ;; 30226 "manual/fr/dist/ps/Makefile") CONFIG_FILES="$CONFIG_FILES manual/fr/dist/ps/Makefile" ;; 30227 "manual/fr/dist/html/Makefile") CONFIG_FILES="$CONFIG_FILES manual/fr/dist/html/Makefile" ;; 30228 "manual/fr/dist/txt/Makefile") CONFIG_FILES="$CONFIG_FILES manual/fr/dist/txt/Makefile" ;; 30229 "manual/es/Makefile") CONFIG_FILES="$CONFIG_FILES manual/es/Makefile" ;; 30230 "manual/es/dist/Makefile") CONFIG_FILES="$CONFIG_FILES manual/es/dist/Makefile" ;; 30231 "manual/es/dist/pdf/Makefile") CONFIG_FILES="$CONFIG_FILES manual/es/dist/pdf/Makefile" ;; 30232 "manual/es/dist/ps/Makefile") CONFIG_FILES="$CONFIG_FILES manual/es/dist/ps/Makefile" ;; 30233 "manual/es/dist/html/Makefile") CONFIG_FILES="$CONFIG_FILES manual/es/dist/html/Makefile" ;; 30234 "manual/es/dist/txt/Makefile") CONFIG_FILES="$CONFIG_FILES manual/es/dist/txt/Makefile" ;; 30235 "claws-mail.pc") CONFIG_FILES="$CONFIG_FILES claws-mail.pc" ;; 30236 30237 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 30238 esac 30239done 30240 30241 30242# If the user did not use the arguments to specify the items to instantiate, 30243# then the envvar interface is used. Set only those that are not. 30244# We use the long form for the default assignment because of an extremely 30245# bizarre bug on SunOS 4.1.3. 30246if $ac_need_defaults; then 30247 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 30248 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 30249 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 30250fi 30251 30252# Have a temporary directory for convenience. Make it in the build tree 30253# simply because there is no reason against having it here, and in addition, 30254# creating and moving files from /tmp can sometimes cause problems. 30255# Hook for its removal unless debugging. 30256# Note that there is a small window in which the directory will not be cleaned: 30257# after its creation but before its name has been assigned to `$tmp'. 30258$debug || 30259{ 30260 tmp= ac_tmp= 30261 trap 'exit_status=$? 30262 : "${ac_tmp:=$tmp}" 30263 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 30264' 0 30265 trap 'as_fn_exit 1' 1 2 13 15 30266} 30267# Create a (secure) tmp directory for tmp files. 30268 30269{ 30270 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 30271 test -d "$tmp" 30272} || 30273{ 30274 tmp=./conf$$-$RANDOM 30275 (umask 077 && mkdir "$tmp") 30276} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 30277ac_tmp=$tmp 30278 30279# Set up the scripts for CONFIG_FILES section. 30280# No need to generate them if there are no CONFIG_FILES. 30281# This happens for instance with `./config.status config.h'. 30282if test -n "$CONFIG_FILES"; then 30283 30284 30285ac_cr=`echo X | tr X '\015'` 30286# On cygwin, bash can eat \r inside `` if the user requested igncr. 30287# But we know of no other shell where ac_cr would be empty at this 30288# point, so we can use a bashism as a fallback. 30289if test "x$ac_cr" = x; then 30290 eval ac_cr=\$\'\\r\' 30291fi 30292ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 30293if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 30294 ac_cs_awk_cr='\\r' 30295else 30296 ac_cs_awk_cr=$ac_cr 30297fi 30298 30299echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 30300_ACEOF 30301 30302 30303{ 30304 echo "cat >conf$$subs.awk <<_ACEOF" && 30305 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 30306 echo "_ACEOF" 30307} >conf$$subs.sh || 30308 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 30309ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 30310ac_delim='%!_!# ' 30311for ac_last_try in false false false false false :; do 30312 . ./conf$$subs.sh || 30313 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 30314 30315 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 30316 if test $ac_delim_n = $ac_delim_num; then 30317 break 30318 elif $ac_last_try; then 30319 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 30320 else 30321 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 30322 fi 30323done 30324rm -f conf$$subs.sh 30325 30326cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30327cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 30328_ACEOF 30329sed -n ' 30330h 30331s/^/S["/; s/!.*/"]=/ 30332p 30333g 30334s/^[^!]*!// 30335:repl 30336t repl 30337s/'"$ac_delim"'$// 30338t delim 30339:nl 30340h 30341s/\(.\{148\}\)..*/\1/ 30342t more1 30343s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 30344p 30345n 30346b repl 30347:more1 30348s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 30349p 30350g 30351s/.\{148\}// 30352t nl 30353:delim 30354h 30355s/\(.\{148\}\)..*/\1/ 30356t more2 30357s/["\\]/\\&/g; s/^/"/; s/$/"/ 30358p 30359b 30360:more2 30361s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 30362p 30363g 30364s/.\{148\}// 30365t delim 30366' <conf$$subs.awk | sed ' 30367/^[^""]/{ 30368 N 30369 s/\n// 30370} 30371' >>$CONFIG_STATUS || ac_write_fail=1 30372rm -f conf$$subs.awk 30373cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30374_ACAWK 30375cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 30376 for (key in S) S_is_set[key] = 1 30377 FS = "" 30378 30379} 30380{ 30381 line = $ 0 30382 nfields = split(line, field, "@") 30383 substed = 0 30384 len = length(field[1]) 30385 for (i = 2; i < nfields; i++) { 30386 key = field[i] 30387 keylen = length(key) 30388 if (S_is_set[key]) { 30389 value = S[key] 30390 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 30391 len += length(value) + length(field[++i]) 30392 substed = 1 30393 } else 30394 len += 1 + keylen 30395 } 30396 30397 print line 30398} 30399 30400_ACAWK 30401_ACEOF 30402cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30403if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 30404 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 30405else 30406 cat 30407fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 30408 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 30409_ACEOF 30410 30411# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 30412# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 30413# trailing colons and then remove the whole line if VPATH becomes empty 30414# (actually we leave an empty line to preserve line numbers). 30415if test "x$srcdir" = x.; then 30416 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 30417h 30418s/// 30419s/^/:/ 30420s/[ ]*$/:/ 30421s/:\$(srcdir):/:/g 30422s/:\${srcdir}:/:/g 30423s/:@srcdir@:/:/g 30424s/^:*// 30425s/:*$// 30426x 30427s/\(=[ ]*\).*/\1/ 30428G 30429s/\n// 30430s/^[^=]*=[ ]*$// 30431}' 30432fi 30433 30434cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30435fi # test -n "$CONFIG_FILES" 30436 30437# Set up the scripts for CONFIG_HEADERS section. 30438# No need to generate them if there are no CONFIG_HEADERS. 30439# This happens for instance with `./config.status Makefile'. 30440if test -n "$CONFIG_HEADERS"; then 30441cat >"$ac_tmp/defines.awk" <<\_ACAWK || 30442BEGIN { 30443_ACEOF 30444 30445# Transform confdefs.h into an awk script `defines.awk', embedded as 30446# here-document in config.status, that substitutes the proper values into 30447# config.h.in to produce config.h. 30448 30449# Create a delimiter string that does not exist in confdefs.h, to ease 30450# handling of long lines. 30451ac_delim='%!_!# ' 30452for ac_last_try in false false :; do 30453 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 30454 if test -z "$ac_tt"; then 30455 break 30456 elif $ac_last_try; then 30457 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 30458 else 30459 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 30460 fi 30461done 30462 30463# For the awk script, D is an array of macro values keyed by name, 30464# likewise P contains macro parameters if any. Preserve backslash 30465# newline sequences. 30466 30467ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 30468sed -n ' 30469s/.\{148\}/&'"$ac_delim"'/g 30470t rset 30471:rset 30472s/^[ ]*#[ ]*define[ ][ ]*/ / 30473t def 30474d 30475:def 30476s/\\$// 30477t bsnl 30478s/["\\]/\\&/g 30479s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 30480D["\1"]=" \3"/p 30481s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 30482d 30483:bsnl 30484s/["\\]/\\&/g 30485s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 30486D["\1"]=" \3\\\\\\n"\\/p 30487t cont 30488s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 30489t cont 30490d 30491:cont 30492n 30493s/.\{148\}/&'"$ac_delim"'/g 30494t clear 30495:clear 30496s/\\$// 30497t bsnlc 30498s/["\\]/\\&/g; s/^/"/; s/$/"/p 30499d 30500:bsnlc 30501s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 30502b cont 30503' <confdefs.h | sed ' 30504s/'"$ac_delim"'/"\\\ 30505"/g' >>$CONFIG_STATUS || ac_write_fail=1 30506 30507cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30508 for (key in D) D_is_set[key] = 1 30509 FS = "" 30510} 30511/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 30512 line = \$ 0 30513 split(line, arg, " ") 30514 if (arg[1] == "#") { 30515 defundef = arg[2] 30516 mac1 = arg[3] 30517 } else { 30518 defundef = substr(arg[1], 2) 30519 mac1 = arg[2] 30520 } 30521 split(mac1, mac2, "(") #) 30522 macro = mac2[1] 30523 prefix = substr(line, 1, index(line, defundef) - 1) 30524 if (D_is_set[macro]) { 30525 # Preserve the white space surrounding the "#". 30526 print prefix "define", macro P[macro] D[macro] 30527 next 30528 } else { 30529 # Replace #undef with comments. This is necessary, for example, 30530 # in the case of _POSIX_SOURCE, which is predefined and required 30531 # on some systems where configure will not decide to define it. 30532 if (defundef == "undef") { 30533 print "/*", prefix defundef, macro, "*/" 30534 next 30535 } 30536 } 30537} 30538{ print } 30539_ACAWK 30540_ACEOF 30541cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30542 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 30543fi # test -n "$CONFIG_HEADERS" 30544 30545 30546eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 30547shift 30548for ac_tag 30549do 30550 case $ac_tag in 30551 :[FHLC]) ac_mode=$ac_tag; continue;; 30552 esac 30553 case $ac_mode$ac_tag in 30554 :[FHL]*:*);; 30555 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 30556 :[FH]-) ac_tag=-:-;; 30557 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 30558 esac 30559 ac_save_IFS=$IFS 30560 IFS=: 30561 set x $ac_tag 30562 IFS=$ac_save_IFS 30563 shift 30564 ac_file=$1 30565 shift 30566 30567 case $ac_mode in 30568 :L) ac_source=$1;; 30569 :[FH]) 30570 ac_file_inputs= 30571 for ac_f 30572 do 30573 case $ac_f in 30574 -) ac_f="$ac_tmp/stdin";; 30575 *) # Look for the file first in the build tree, then in the source tree 30576 # (if the path is not absolute). The absolute path cannot be DOS-style, 30577 # because $ac_f cannot contain `:'. 30578 test -f "$ac_f" || 30579 case $ac_f in 30580 [\\/$]*) false;; 30581 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 30582 esac || 30583 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 30584 esac 30585 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 30586 as_fn_append ac_file_inputs " '$ac_f'" 30587 done 30588 30589 # Let's still pretend it is `configure' which instantiates (i.e., don't 30590 # use $as_me), people would be surprised to read: 30591 # /* config.h. Generated by config.status. */ 30592 configure_input='Generated from '` 30593 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 30594 `' by configure.' 30595 if test x"$ac_file" != x-; then 30596 configure_input="$ac_file. $configure_input" 30597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 30598$as_echo "$as_me: creating $ac_file" >&6;} 30599 fi 30600 # Neutralize special characters interpreted by sed in replacement strings. 30601 case $configure_input in #( 30602 *\&* | *\|* | *\\* ) 30603 ac_sed_conf_input=`$as_echo "$configure_input" | 30604 sed 's/[\\\\&|]/\\\\&/g'`;; #( 30605 *) ac_sed_conf_input=$configure_input;; 30606 esac 30607 30608 case $ac_tag in 30609 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 30610 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 30611 esac 30612 ;; 30613 esac 30614 30615 ac_dir=`$as_dirname -- "$ac_file" || 30616$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30617 X"$ac_file" : 'X\(//\)[^/]' \| \ 30618 X"$ac_file" : 'X\(//\)$' \| \ 30619 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 30620$as_echo X"$ac_file" | 30621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 30622 s//\1/ 30623 q 30624 } 30625 /^X\(\/\/\)[^/].*/{ 30626 s//\1/ 30627 q 30628 } 30629 /^X\(\/\/\)$/{ 30630 s//\1/ 30631 q 30632 } 30633 /^X\(\/\).*/{ 30634 s//\1/ 30635 q 30636 } 30637 s/.*/./; q'` 30638 as_dir="$ac_dir"; as_fn_mkdir_p 30639 ac_builddir=. 30640 30641case "$ac_dir" in 30642.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 30643*) 30644 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 30645 # A ".." for each directory in $ac_dir_suffix. 30646 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 30647 case $ac_top_builddir_sub in 30648 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 30649 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 30650 esac ;; 30651esac 30652ac_abs_top_builddir=$ac_pwd 30653ac_abs_builddir=$ac_pwd$ac_dir_suffix 30654# for backward compatibility: 30655ac_top_builddir=$ac_top_build_prefix 30656 30657case $srcdir in 30658 .) # We are building in place. 30659 ac_srcdir=. 30660 ac_top_srcdir=$ac_top_builddir_sub 30661 ac_abs_top_srcdir=$ac_pwd ;; 30662 [\\/]* | ?:[\\/]* ) # Absolute name. 30663 ac_srcdir=$srcdir$ac_dir_suffix; 30664 ac_top_srcdir=$srcdir 30665 ac_abs_top_srcdir=$srcdir ;; 30666 *) # Relative name. 30667 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 30668 ac_top_srcdir=$ac_top_build_prefix$srcdir 30669 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 30670esac 30671ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 30672 30673 30674 case $ac_mode in 30675 :F) 30676 # 30677 # CONFIG_FILE 30678 # 30679 30680 case $INSTALL in 30681 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 30682 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 30683 esac 30684 ac_MKDIR_P=$MKDIR_P 30685 case $MKDIR_P in 30686 [\\/$]* | ?:[\\/]* ) ;; 30687 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 30688 esac 30689_ACEOF 30690 30691cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30692# If the template does not know about datarootdir, expand it. 30693# FIXME: This hack should be removed a few years after 2.60. 30694ac_datarootdir_hack=; ac_datarootdir_seen= 30695ac_sed_dataroot=' 30696/datarootdir/ { 30697 p 30698 q 30699} 30700/@datadir@/p 30701/@docdir@/p 30702/@infodir@/p 30703/@localedir@/p 30704/@mandir@/p' 30705case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 30706*datarootdir*) ac_datarootdir_seen=yes;; 30707*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 30708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 30709$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 30710_ACEOF 30711cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30712 ac_datarootdir_hack=' 30713 s&@datadir@&$datadir&g 30714 s&@docdir@&$docdir&g 30715 s&@infodir@&$infodir&g 30716 s&@localedir@&$localedir&g 30717 s&@mandir@&$mandir&g 30718 s&\\\${datarootdir}&$datarootdir&g' ;; 30719esac 30720_ACEOF 30721 30722# Neutralize VPATH when `$srcdir' = `.'. 30723# Shell code in configure.ac might set extrasub. 30724# FIXME: do we really want to maintain this feature? 30725cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30726ac_sed_extra="$ac_vpsub 30727$extrasub 30728_ACEOF 30729cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30730:t 30731/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 30732s|@configure_input@|$ac_sed_conf_input|;t t 30733s&@top_builddir@&$ac_top_builddir_sub&;t t 30734s&@top_build_prefix@&$ac_top_build_prefix&;t t 30735s&@srcdir@&$ac_srcdir&;t t 30736s&@abs_srcdir@&$ac_abs_srcdir&;t t 30737s&@top_srcdir@&$ac_top_srcdir&;t t 30738s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 30739s&@builddir@&$ac_builddir&;t t 30740s&@abs_builddir@&$ac_abs_builddir&;t t 30741s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 30742s&@INSTALL@&$ac_INSTALL&;t t 30743s&@MKDIR_P@&$ac_MKDIR_P&;t t 30744$ac_datarootdir_hack 30745" 30746eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 30747 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 30748 30749test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 30750 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 30751 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 30752 "$ac_tmp/out"`; test -z "$ac_out"; } && 30753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 30754which seems to be undefined. Please make sure it is defined" >&5 30755$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 30756which seems to be undefined. Please make sure it is defined" >&2;} 30757 30758 rm -f "$ac_tmp/stdin" 30759 case $ac_file in 30760 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 30761 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 30762 esac \ 30763 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 30764 ;; 30765 :H) 30766 # 30767 # CONFIG_HEADER 30768 # 30769 if test x"$ac_file" != x-; then 30770 { 30771 $as_echo "/* $configure_input */" \ 30772 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 30773 } >"$ac_tmp/config.h" \ 30774 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 30775 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 30776 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 30777$as_echo "$as_me: $ac_file is unchanged" >&6;} 30778 else 30779 rm -f "$ac_file" 30780 mv "$ac_tmp/config.h" "$ac_file" \ 30781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 30782 fi 30783 else 30784 $as_echo "/* $configure_input */" \ 30785 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 30786 || as_fn_error $? "could not create -" "$LINENO" 5 30787 fi 30788# Compute "$ac_file"'s index in $config_headers. 30789_am_arg="$ac_file" 30790_am_stamp_count=1 30791for _am_header in $config_headers :; do 30792 case $_am_header in 30793 $_am_arg | $_am_arg:* ) 30794 break ;; 30795 * ) 30796 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 30797 esac 30798done 30799echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 30800$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30801 X"$_am_arg" : 'X\(//\)[^/]' \| \ 30802 X"$_am_arg" : 'X\(//\)$' \| \ 30803 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 30804$as_echo X"$_am_arg" | 30805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 30806 s//\1/ 30807 q 30808 } 30809 /^X\(\/\/\)[^/].*/{ 30810 s//\1/ 30811 q 30812 } 30813 /^X\(\/\/\)$/{ 30814 s//\1/ 30815 q 30816 } 30817 /^X\(\/\).*/{ 30818 s//\1/ 30819 q 30820 } 30821 s/.*/./; q'`/stamp-h$_am_stamp_count 30822 ;; 30823 30824 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 30825$as_echo "$as_me: executing $ac_file commands" >&6;} 30826 ;; 30827 esac 30828 30829 30830 case $ac_file$ac_mode in 30831 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 30832 # Older Autoconf quotes --file arguments for eval, but not when files 30833 # are listed without --file. Let's play safe and only enable the eval 30834 # if we detect the quoting. 30835 # TODO: see whether this extra hack can be removed once we start 30836 # requiring Autoconf 2.70 or later. 30837 case $CONFIG_FILES in #( 30838 *\'*) : 30839 eval set x "$CONFIG_FILES" ;; #( 30840 *) : 30841 set x $CONFIG_FILES ;; #( 30842 *) : 30843 ;; 30844esac 30845 shift 30846 # Used to flag and report bootstrapping failures. 30847 am_rc=0 30848 for am_mf 30849 do 30850 # Strip MF so we end up with the name of the file. 30851 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 30852 # Check whether this is an Automake generated Makefile which includes 30853 # dependency-tracking related rules and includes. 30854 # Grep'ing the whole file directly is not great: AIX grep has a line 30855 # limit of 2048, but all sed's we know have understand at least 4000. 30856 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 30857 || continue 30858 am_dirpart=`$as_dirname -- "$am_mf" || 30859$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30860 X"$am_mf" : 'X\(//\)[^/]' \| \ 30861 X"$am_mf" : 'X\(//\)$' \| \ 30862 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 30863$as_echo X"$am_mf" | 30864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 30865 s//\1/ 30866 q 30867 } 30868 /^X\(\/\/\)[^/].*/{ 30869 s//\1/ 30870 q 30871 } 30872 /^X\(\/\/\)$/{ 30873 s//\1/ 30874 q 30875 } 30876 /^X\(\/\).*/{ 30877 s//\1/ 30878 q 30879 } 30880 s/.*/./; q'` 30881 am_filepart=`$as_basename -- "$am_mf" || 30882$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 30883 X"$am_mf" : 'X\(//\)$' \| \ 30884 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 30885$as_echo X/"$am_mf" | 30886 sed '/^.*\/\([^/][^/]*\)\/*$/{ 30887 s//\1/ 30888 q 30889 } 30890 /^X\/\(\/\/\)$/{ 30891 s//\1/ 30892 q 30893 } 30894 /^X\/\(\/\).*/{ 30895 s//\1/ 30896 q 30897 } 30898 s/.*/./; q'` 30899 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 30900 && sed -e '/# am--include-marker/d' "$am_filepart" \ 30901 | $MAKE -f - am--depfiles" >&5 30902 (cd "$am_dirpart" \ 30903 && sed -e '/# am--include-marker/d' "$am_filepart" \ 30904 | $MAKE -f - am--depfiles) >&5 2>&5 30905 ac_status=$? 30906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30907 (exit $ac_status); } || am_rc=$? 30908 done 30909 if test $am_rc -ne 0; then 30910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30911$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30912as_fn_error $? "Something went wrong bootstrapping makefile fragments 30913 for automatic dependency tracking. If GNU make was not used, consider 30914 re-running the configure script with MAKE=\"gmake\" (or whatever is 30915 necessary). You can also try re-running configure with the 30916 '--disable-dependency-tracking' option to at least be able to build 30917 the package (albeit without support for automatic dependency tracking). 30918See \`config.log' for more details" "$LINENO" 5; } 30919 fi 30920 { am_dirpart=; unset am_dirpart;} 30921 { am_filepart=; unset am_filepart;} 30922 { am_mf=; unset am_mf;} 30923 { am_rc=; unset am_rc;} 30924 rm -f conftest-deps.mk 30925} 30926 ;; 30927 "libtool":C) 30928 30929 # See if we are running on zsh, and set the options that allow our 30930 # commands through without removal of \ escapes. 30931 if test -n "${ZSH_VERSION+set}"; then 30932 setopt NO_GLOB_SUBST 30933 fi 30934 30935 cfgfile=${ofile}T 30936 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 30937 $RM "$cfgfile" 30938 30939 cat <<_LT_EOF >> "$cfgfile" 30940#! $SHELL 30941# Generated automatically by $as_me ($PACKAGE) $VERSION 30942# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 30943# NOTE: Changes made to this file will be lost: look at ltmain.sh. 30944 30945# Provide generalized library-building support services. 30946# Written by Gordon Matzigkeit, 1996 30947 30948# Copyright (C) 2014 Free Software Foundation, Inc. 30949# This is free software; see the source for copying conditions. There is NO 30950# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 30951 30952# GNU Libtool is free software; you can redistribute it and/or modify 30953# it under the terms of the GNU General Public License as published by 30954# the Free Software Foundation; either version 2 of of the License, or 30955# (at your option) any later version. 30956# 30957# As a special exception to the GNU General Public License, if you 30958# distribute this file as part of a program or library that is built 30959# using GNU Libtool, you may include this file under the same 30960# distribution terms that you use for the rest of that program. 30961# 30962# GNU Libtool is distributed in the hope that it will be useful, but 30963# WITHOUT ANY WARRANTY; without even the implied warranty of 30964# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 30965# GNU General Public License for more details. 30966# 30967# You should have received a copy of the GNU General Public License 30968# along with this program. If not, see <http://www.gnu.org/licenses/>. 30969 30970 30971# The names of the tagged configurations supported by this script. 30972available_tags='RC CXX ' 30973 30974# Configured defaults for sys_lib_dlsearch_path munging. 30975: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 30976 30977# ### BEGIN LIBTOOL CONFIG 30978 30979# Assembler program. 30980AS=$lt_AS 30981 30982# DLL creation program. 30983DLLTOOL=$lt_DLLTOOL 30984 30985# Object dumper program. 30986OBJDUMP=$lt_OBJDUMP 30987 30988# Which release of libtool.m4 was used? 30989macro_version=$macro_version 30990macro_revision=$macro_revision 30991 30992# Whether or not to build shared libraries. 30993build_libtool_libs=$enable_shared 30994 30995# Whether or not to build static libraries. 30996build_old_libs=$enable_static 30997 30998# What type of objects to build. 30999pic_mode=$pic_mode 31000 31001# Whether or not to optimize for fast installation. 31002fast_install=$enable_fast_install 31003 31004# Shared archive member basename,for filename based shared library versioning on AIX. 31005shared_archive_member_spec=$shared_archive_member_spec 31006 31007# Shell to use when invoking shell scripts. 31008SHELL=$lt_SHELL 31009 31010# An echo program that protects backslashes. 31011ECHO=$lt_ECHO 31012 31013# The PATH separator for the build system. 31014PATH_SEPARATOR=$lt_PATH_SEPARATOR 31015 31016# The host system. 31017host_alias=$host_alias 31018host=$host 31019host_os=$host_os 31020 31021# The build system. 31022build_alias=$build_alias 31023build=$build 31024build_os=$build_os 31025 31026# A sed program that does not truncate output. 31027SED=$lt_SED 31028 31029# Sed that helps us avoid accidentally triggering echo(1) options like -n. 31030Xsed="\$SED -e 1s/^X//" 31031 31032# A grep program that handles long lines. 31033GREP=$lt_GREP 31034 31035# An ERE matcher. 31036EGREP=$lt_EGREP 31037 31038# A literal string matcher. 31039FGREP=$lt_FGREP 31040 31041# A BSD- or MS-compatible name lister. 31042NM=$lt_NM 31043 31044# Whether we need soft or hard links. 31045LN_S=$lt_LN_S 31046 31047# What is the maximum length of a command? 31048max_cmd_len=$max_cmd_len 31049 31050# Object file suffix (normally "o"). 31051objext=$ac_objext 31052 31053# Executable file suffix (normally ""). 31054exeext=$exeext 31055 31056# whether the shell understands "unset". 31057lt_unset=$lt_unset 31058 31059# turn spaces into newlines. 31060SP2NL=$lt_lt_SP2NL 31061 31062# turn newlines into spaces. 31063NL2SP=$lt_lt_NL2SP 31064 31065# convert \$build file names to \$host format. 31066to_host_file_cmd=$lt_cv_to_host_file_cmd 31067 31068# convert \$build files to toolchain format. 31069to_tool_file_cmd=$lt_cv_to_tool_file_cmd 31070 31071# Method to check whether dependent libraries are shared objects. 31072deplibs_check_method=$lt_deplibs_check_method 31073 31074# Command to use when deplibs_check_method = "file_magic". 31075file_magic_cmd=$lt_file_magic_cmd 31076 31077# How to find potential files when deplibs_check_method = "file_magic". 31078file_magic_glob=$lt_file_magic_glob 31079 31080# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 31081want_nocaseglob=$lt_want_nocaseglob 31082 31083# Command to associate shared and link libraries. 31084sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 31085 31086# The archiver. 31087AR=$lt_AR 31088 31089# Flags to create an archive. 31090AR_FLAGS=$lt_AR_FLAGS 31091 31092# How to feed a file listing to the archiver. 31093archiver_list_spec=$lt_archiver_list_spec 31094 31095# A symbol stripping program. 31096STRIP=$lt_STRIP 31097 31098# Commands used to install an old-style archive. 31099RANLIB=$lt_RANLIB 31100old_postinstall_cmds=$lt_old_postinstall_cmds 31101old_postuninstall_cmds=$lt_old_postuninstall_cmds 31102 31103# Whether to use a lock for old archive extraction. 31104lock_old_archive_extraction=$lock_old_archive_extraction 31105 31106# A C compiler. 31107LTCC=$lt_CC 31108 31109# LTCC compiler flags. 31110LTCFLAGS=$lt_CFLAGS 31111 31112# Take the output of nm and produce a listing of raw symbols and C names. 31113global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 31114 31115# Transform the output of nm in a proper C declaration. 31116global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 31117 31118# Transform the output of nm into a list of symbols to manually relocate. 31119global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 31120 31121# Transform the output of nm in a C name address pair. 31122global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 31123 31124# Transform the output of nm in a C name address pair when lib prefix is needed. 31125global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 31126 31127# The name lister interface. 31128nm_interface=$lt_lt_cv_nm_interface 31129 31130# Specify filename containing input files for \$NM. 31131nm_file_list_spec=$lt_nm_file_list_spec 31132 31133# The root where to search for dependent libraries,and where our libraries should be installed. 31134lt_sysroot=$lt_sysroot 31135 31136# Command to truncate a binary pipe. 31137lt_truncate_bin=$lt_lt_cv_truncate_bin 31138 31139# The name of the directory that contains temporary libtool files. 31140objdir=$objdir 31141 31142# Used to examine libraries when file_magic_cmd begins with "file". 31143MAGIC_CMD=$MAGIC_CMD 31144 31145# Must we lock files when doing compilation? 31146need_locks=$lt_need_locks 31147 31148# Manifest tool. 31149MANIFEST_TOOL=$lt_MANIFEST_TOOL 31150 31151# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 31152DSYMUTIL=$lt_DSYMUTIL 31153 31154# Tool to change global to local symbols on Mac OS X. 31155NMEDIT=$lt_NMEDIT 31156 31157# Tool to manipulate fat objects and archives on Mac OS X. 31158LIPO=$lt_LIPO 31159 31160# ldd/readelf like tool for Mach-O binaries on Mac OS X. 31161OTOOL=$lt_OTOOL 31162 31163# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 31164OTOOL64=$lt_OTOOL64 31165 31166# Old archive suffix (normally "a"). 31167libext=$libext 31168 31169# Shared library suffix (normally ".so"). 31170shrext_cmds=$lt_shrext_cmds 31171 31172# The commands to extract the exported symbol list from a shared archive. 31173extract_expsyms_cmds=$lt_extract_expsyms_cmds 31174 31175# Variables whose values should be saved in libtool wrapper scripts and 31176# restored at link time. 31177variables_saved_for_relink=$lt_variables_saved_for_relink 31178 31179# Do we need the "lib" prefix for modules? 31180need_lib_prefix=$need_lib_prefix 31181 31182# Do we need a version for libraries? 31183need_version=$need_version 31184 31185# Library versioning type. 31186version_type=$version_type 31187 31188# Shared library runtime path variable. 31189runpath_var=$runpath_var 31190 31191# Shared library path variable. 31192shlibpath_var=$shlibpath_var 31193 31194# Is shlibpath searched before the hard-coded library search path? 31195shlibpath_overrides_runpath=$shlibpath_overrides_runpath 31196 31197# Format of library name prefix. 31198libname_spec=$lt_libname_spec 31199 31200# List of archive names. First name is the real one, the rest are links. 31201# The last name is the one that the linker finds with -lNAME 31202library_names_spec=$lt_library_names_spec 31203 31204# The coded name of the library, if different from the real name. 31205soname_spec=$lt_soname_spec 31206 31207# Permission mode override for installation of shared libraries. 31208install_override_mode=$lt_install_override_mode 31209 31210# Command to use after installation of a shared archive. 31211postinstall_cmds=$lt_postinstall_cmds 31212 31213# Command to use after uninstallation of a shared archive. 31214postuninstall_cmds=$lt_postuninstall_cmds 31215 31216# Commands used to finish a libtool library installation in a directory. 31217finish_cmds=$lt_finish_cmds 31218 31219# As "finish_cmds", except a single script fragment to be evaled but 31220# not shown. 31221finish_eval=$lt_finish_eval 31222 31223# Whether we should hardcode library paths into libraries. 31224hardcode_into_libs=$hardcode_into_libs 31225 31226# Compile-time system search path for libraries. 31227sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 31228 31229# Detected run-time system search path for libraries. 31230sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 31231 31232# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 31233configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 31234 31235# Whether dlopen is supported. 31236dlopen_support=$enable_dlopen 31237 31238# Whether dlopen of programs is supported. 31239dlopen_self=$enable_dlopen_self 31240 31241# Whether dlopen of statically linked programs is supported. 31242dlopen_self_static=$enable_dlopen_self_static 31243 31244# Commands to strip libraries. 31245old_striplib=$lt_old_striplib 31246striplib=$lt_striplib 31247 31248 31249# The linker used to build libraries. 31250LD=$lt_LD 31251 31252# How to create reloadable object files. 31253reload_flag=$lt_reload_flag 31254reload_cmds=$lt_reload_cmds 31255 31256# Commands used to build an old-style archive. 31257old_archive_cmds=$lt_old_archive_cmds 31258 31259# A language specific compiler. 31260CC=$lt_compiler 31261 31262# Is the compiler the GNU compiler? 31263with_gcc=$GCC 31264 31265# Compiler flag to turn off builtin functions. 31266no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 31267 31268# Additional compiler flags for building library objects. 31269pic_flag=$lt_lt_prog_compiler_pic 31270 31271# How to pass a linker flag through the compiler. 31272wl=$lt_lt_prog_compiler_wl 31273 31274# Compiler flag to prevent dynamic linking. 31275link_static_flag=$lt_lt_prog_compiler_static 31276 31277# Does compiler simultaneously support -c and -o options? 31278compiler_c_o=$lt_lt_cv_prog_compiler_c_o 31279 31280# Whether or not to add -lc for building shared libraries. 31281build_libtool_need_lc=$archive_cmds_need_lc 31282 31283# Whether or not to disallow shared libs when runtime libs are static. 31284allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 31285 31286# Compiler flag to allow reflexive dlopens. 31287export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 31288 31289# Compiler flag to generate shared objects directly from archives. 31290whole_archive_flag_spec=$lt_whole_archive_flag_spec 31291 31292# Whether the compiler copes with passing no objects directly. 31293compiler_needs_object=$lt_compiler_needs_object 31294 31295# Create an old-style archive from a shared archive. 31296old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 31297 31298# Create a temporary old-style archive to link instead of a shared archive. 31299old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 31300 31301# Commands used to build a shared archive. 31302archive_cmds=$lt_archive_cmds 31303archive_expsym_cmds=$lt_archive_expsym_cmds 31304 31305# Commands used to build a loadable module if different from building 31306# a shared archive. 31307module_cmds=$lt_module_cmds 31308module_expsym_cmds=$lt_module_expsym_cmds 31309 31310# Whether we are building with GNU ld or not. 31311with_gnu_ld=$lt_with_gnu_ld 31312 31313# Flag that allows shared libraries with undefined symbols to be built. 31314allow_undefined_flag=$lt_allow_undefined_flag 31315 31316# Flag that enforces no undefined symbols. 31317no_undefined_flag=$lt_no_undefined_flag 31318 31319# Flag to hardcode \$libdir into a binary during linking. 31320# This must work even if \$libdir does not exist 31321hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 31322 31323# Whether we need a single "-rpath" flag with a separated argument. 31324hardcode_libdir_separator=$lt_hardcode_libdir_separator 31325 31326# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 31327# DIR into the resulting binary. 31328hardcode_direct=$hardcode_direct 31329 31330# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 31331# DIR into the resulting binary and the resulting library dependency is 31332# "absolute",i.e impossible to change by setting \$shlibpath_var if the 31333# library is relocated. 31334hardcode_direct_absolute=$hardcode_direct_absolute 31335 31336# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 31337# into the resulting binary. 31338hardcode_minus_L=$hardcode_minus_L 31339 31340# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 31341# into the resulting binary. 31342hardcode_shlibpath_var=$hardcode_shlibpath_var 31343 31344# Set to "yes" if building a shared library automatically hardcodes DIR 31345# into the library and all subsequent libraries and executables linked 31346# against it. 31347hardcode_automatic=$hardcode_automatic 31348 31349# Set to yes if linker adds runtime paths of dependent libraries 31350# to runtime path list. 31351inherit_rpath=$inherit_rpath 31352 31353# Whether libtool must link a program against all its dependency libraries. 31354link_all_deplibs=$link_all_deplibs 31355 31356# Set to "yes" if exported symbols are required. 31357always_export_symbols=$always_export_symbols 31358 31359# The commands to list exported symbols. 31360export_symbols_cmds=$lt_export_symbols_cmds 31361 31362# Symbols that should not be listed in the preloaded symbols. 31363exclude_expsyms=$lt_exclude_expsyms 31364 31365# Symbols that must always be exported. 31366include_expsyms=$lt_include_expsyms 31367 31368# Commands necessary for linking programs (against libraries) with templates. 31369prelink_cmds=$lt_prelink_cmds 31370 31371# Commands necessary for finishing linking programs. 31372postlink_cmds=$lt_postlink_cmds 31373 31374# Specify filename containing input files. 31375file_list_spec=$lt_file_list_spec 31376 31377# How to hardcode a shared library path into an executable. 31378hardcode_action=$hardcode_action 31379 31380# The directories searched by this compiler when creating a shared library. 31381compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 31382 31383# Dependencies to place before and after the objects being linked to 31384# create a shared library. 31385predep_objects=$lt_predep_objects 31386postdep_objects=$lt_postdep_objects 31387predeps=$lt_predeps 31388postdeps=$lt_postdeps 31389 31390# The library search path used internally by the compiler when linking 31391# a shared library. 31392compiler_lib_search_path=$lt_compiler_lib_search_path 31393 31394# ### END LIBTOOL CONFIG 31395 31396_LT_EOF 31397 31398 cat <<'_LT_EOF' >> "$cfgfile" 31399 31400# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 31401 31402# func_munge_path_list VARIABLE PATH 31403# ----------------------------------- 31404# VARIABLE is name of variable containing _space_ separated list of 31405# directories to be munged by the contents of PATH, which is string 31406# having a format: 31407# "DIR[:DIR]:" 31408# string "DIR[ DIR]" will be prepended to VARIABLE 31409# ":DIR[:DIR]" 31410# string "DIR[ DIR]" will be appended to VARIABLE 31411# "DIRP[:DIRP]::[DIRA:]DIRA" 31412# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 31413# "DIRA[ DIRA]" will be appended to VARIABLE 31414# "DIR[:DIR]" 31415# VARIABLE will be replaced by "DIR[ DIR]" 31416func_munge_path_list () 31417{ 31418 case x$2 in 31419 x) 31420 ;; 31421 *:) 31422 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 31423 ;; 31424 x:*) 31425 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 31426 ;; 31427 *::*) 31428 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 31429 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 31430 ;; 31431 *) 31432 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 31433 ;; 31434 esac 31435} 31436 31437 31438# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 31439func_cc_basename () 31440{ 31441 for cc_temp in $*""; do 31442 case $cc_temp in 31443 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 31444 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 31445 \-*) ;; 31446 *) break;; 31447 esac 31448 done 31449 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 31450} 31451 31452 31453# ### END FUNCTIONS SHARED WITH CONFIGURE 31454 31455_LT_EOF 31456 31457 case $host_os in 31458 aix3*) 31459 cat <<\_LT_EOF >> "$cfgfile" 31460# AIX sometimes has problems with the GCC collect2 program. For some 31461# reason, if we set the COLLECT_NAMES environment variable, the problems 31462# vanish in a puff of smoke. 31463if test set != "${COLLECT_NAMES+set}"; then 31464 COLLECT_NAMES= 31465 export COLLECT_NAMES 31466fi 31467_LT_EOF 31468 ;; 31469 esac 31470 31471 31472ltmain=$ac_aux_dir/ltmain.sh 31473 31474 31475 # We use sed instead of cat because bash on DJGPP gets confused if 31476 # if finds mixed CR/LF and LF-only lines. Since sed operates in 31477 # text mode, it properly converts lines to CR/LF. This bash problem 31478 # is reportedly fixed, but why not run on old versions too? 31479 sed '$q' "$ltmain" >> "$cfgfile" \ 31480 || (rm -f "$cfgfile"; exit 1) 31481 31482 mv -f "$cfgfile" "$ofile" || 31483 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 31484 chmod +x "$ofile" 31485 31486 31487 cat <<_LT_EOF >> "$ofile" 31488 31489# ### BEGIN LIBTOOL TAG CONFIG: RC 31490 31491# The linker used to build libraries. 31492LD=$lt_LD_RC 31493 31494# How to create reloadable object files. 31495reload_flag=$lt_reload_flag_RC 31496reload_cmds=$lt_reload_cmds_RC 31497 31498# Commands used to build an old-style archive. 31499old_archive_cmds=$lt_old_archive_cmds_RC 31500 31501# A language specific compiler. 31502CC=$lt_compiler_RC 31503 31504# Is the compiler the GNU compiler? 31505with_gcc=$GCC_RC 31506 31507# Compiler flag to turn off builtin functions. 31508no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC 31509 31510# Additional compiler flags for building library objects. 31511pic_flag=$lt_lt_prog_compiler_pic_RC 31512 31513# How to pass a linker flag through the compiler. 31514wl=$lt_lt_prog_compiler_wl_RC 31515 31516# Compiler flag to prevent dynamic linking. 31517link_static_flag=$lt_lt_prog_compiler_static_RC 31518 31519# Does compiler simultaneously support -c and -o options? 31520compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC 31521 31522# Whether or not to add -lc for building shared libraries. 31523build_libtool_need_lc=$archive_cmds_need_lc_RC 31524 31525# Whether or not to disallow shared libs when runtime libs are static. 31526allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC 31527 31528# Compiler flag to allow reflexive dlopens. 31529export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC 31530 31531# Compiler flag to generate shared objects directly from archives. 31532whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC 31533 31534# Whether the compiler copes with passing no objects directly. 31535compiler_needs_object=$lt_compiler_needs_object_RC 31536 31537# Create an old-style archive from a shared archive. 31538old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC 31539 31540# Create a temporary old-style archive to link instead of a shared archive. 31541old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC 31542 31543# Commands used to build a shared archive. 31544archive_cmds=$lt_archive_cmds_RC 31545archive_expsym_cmds=$lt_archive_expsym_cmds_RC 31546 31547# Commands used to build a loadable module if different from building 31548# a shared archive. 31549module_cmds=$lt_module_cmds_RC 31550module_expsym_cmds=$lt_module_expsym_cmds_RC 31551 31552# Whether we are building with GNU ld or not. 31553with_gnu_ld=$lt_with_gnu_ld_RC 31554 31555# Flag that allows shared libraries with undefined symbols to be built. 31556allow_undefined_flag=$lt_allow_undefined_flag_RC 31557 31558# Flag that enforces no undefined symbols. 31559no_undefined_flag=$lt_no_undefined_flag_RC 31560 31561# Flag to hardcode \$libdir into a binary during linking. 31562# This must work even if \$libdir does not exist 31563hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC 31564 31565# Whether we need a single "-rpath" flag with a separated argument. 31566hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC 31567 31568# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 31569# DIR into the resulting binary. 31570hardcode_direct=$hardcode_direct_RC 31571 31572# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 31573# DIR into the resulting binary and the resulting library dependency is 31574# "absolute",i.e impossible to change by setting \$shlibpath_var if the 31575# library is relocated. 31576hardcode_direct_absolute=$hardcode_direct_absolute_RC 31577 31578# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 31579# into the resulting binary. 31580hardcode_minus_L=$hardcode_minus_L_RC 31581 31582# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 31583# into the resulting binary. 31584hardcode_shlibpath_var=$hardcode_shlibpath_var_RC 31585 31586# Set to "yes" if building a shared library automatically hardcodes DIR 31587# into the library and all subsequent libraries and executables linked 31588# against it. 31589hardcode_automatic=$hardcode_automatic_RC 31590 31591# Set to yes if linker adds runtime paths of dependent libraries 31592# to runtime path list. 31593inherit_rpath=$inherit_rpath_RC 31594 31595# Whether libtool must link a program against all its dependency libraries. 31596link_all_deplibs=$link_all_deplibs_RC 31597 31598# Set to "yes" if exported symbols are required. 31599always_export_symbols=$always_export_symbols_RC 31600 31601# The commands to list exported symbols. 31602export_symbols_cmds=$lt_export_symbols_cmds_RC 31603 31604# Symbols that should not be listed in the preloaded symbols. 31605exclude_expsyms=$lt_exclude_expsyms_RC 31606 31607# Symbols that must always be exported. 31608include_expsyms=$lt_include_expsyms_RC 31609 31610# Commands necessary for linking programs (against libraries) with templates. 31611prelink_cmds=$lt_prelink_cmds_RC 31612 31613# Commands necessary for finishing linking programs. 31614postlink_cmds=$lt_postlink_cmds_RC 31615 31616# Specify filename containing input files. 31617file_list_spec=$lt_file_list_spec_RC 31618 31619# How to hardcode a shared library path into an executable. 31620hardcode_action=$hardcode_action_RC 31621 31622# The directories searched by this compiler when creating a shared library. 31623compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC 31624 31625# Dependencies to place before and after the objects being linked to 31626# create a shared library. 31627predep_objects=$lt_predep_objects_RC 31628postdep_objects=$lt_postdep_objects_RC 31629predeps=$lt_predeps_RC 31630postdeps=$lt_postdeps_RC 31631 31632# The library search path used internally by the compiler when linking 31633# a shared library. 31634compiler_lib_search_path=$lt_compiler_lib_search_path_RC 31635 31636# ### END LIBTOOL TAG CONFIG: RC 31637_LT_EOF 31638 31639 31640 cat <<_LT_EOF >> "$ofile" 31641 31642# ### BEGIN LIBTOOL TAG CONFIG: CXX 31643 31644# The linker used to build libraries. 31645LD=$lt_LD_CXX 31646 31647# How to create reloadable object files. 31648reload_flag=$lt_reload_flag_CXX 31649reload_cmds=$lt_reload_cmds_CXX 31650 31651# Commands used to build an old-style archive. 31652old_archive_cmds=$lt_old_archive_cmds_CXX 31653 31654# A language specific compiler. 31655CC=$lt_compiler_CXX 31656 31657# Is the compiler the GNU compiler? 31658with_gcc=$GCC_CXX 31659 31660# Compiler flag to turn off builtin functions. 31661no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 31662 31663# Additional compiler flags for building library objects. 31664pic_flag=$lt_lt_prog_compiler_pic_CXX 31665 31666# How to pass a linker flag through the compiler. 31667wl=$lt_lt_prog_compiler_wl_CXX 31668 31669# Compiler flag to prevent dynamic linking. 31670link_static_flag=$lt_lt_prog_compiler_static_CXX 31671 31672# Does compiler simultaneously support -c and -o options? 31673compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 31674 31675# Whether or not to add -lc for building shared libraries. 31676build_libtool_need_lc=$archive_cmds_need_lc_CXX 31677 31678# Whether or not to disallow shared libs when runtime libs are static. 31679allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 31680 31681# Compiler flag to allow reflexive dlopens. 31682export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 31683 31684# Compiler flag to generate shared objects directly from archives. 31685whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 31686 31687# Whether the compiler copes with passing no objects directly. 31688compiler_needs_object=$lt_compiler_needs_object_CXX 31689 31690# Create an old-style archive from a shared archive. 31691old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 31692 31693# Create a temporary old-style archive to link instead of a shared archive. 31694old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 31695 31696# Commands used to build a shared archive. 31697archive_cmds=$lt_archive_cmds_CXX 31698archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 31699 31700# Commands used to build a loadable module if different from building 31701# a shared archive. 31702module_cmds=$lt_module_cmds_CXX 31703module_expsym_cmds=$lt_module_expsym_cmds_CXX 31704 31705# Whether we are building with GNU ld or not. 31706with_gnu_ld=$lt_with_gnu_ld_CXX 31707 31708# Flag that allows shared libraries with undefined symbols to be built. 31709allow_undefined_flag=$lt_allow_undefined_flag_CXX 31710 31711# Flag that enforces no undefined symbols. 31712no_undefined_flag=$lt_no_undefined_flag_CXX 31713 31714# Flag to hardcode \$libdir into a binary during linking. 31715# This must work even if \$libdir does not exist 31716hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 31717 31718# Whether we need a single "-rpath" flag with a separated argument. 31719hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 31720 31721# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 31722# DIR into the resulting binary. 31723hardcode_direct=$hardcode_direct_CXX 31724 31725# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 31726# DIR into the resulting binary and the resulting library dependency is 31727# "absolute",i.e impossible to change by setting \$shlibpath_var if the 31728# library is relocated. 31729hardcode_direct_absolute=$hardcode_direct_absolute_CXX 31730 31731# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 31732# into the resulting binary. 31733hardcode_minus_L=$hardcode_minus_L_CXX 31734 31735# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 31736# into the resulting binary. 31737hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 31738 31739# Set to "yes" if building a shared library automatically hardcodes DIR 31740# into the library and all subsequent libraries and executables linked 31741# against it. 31742hardcode_automatic=$hardcode_automatic_CXX 31743 31744# Set to yes if linker adds runtime paths of dependent libraries 31745# to runtime path list. 31746inherit_rpath=$inherit_rpath_CXX 31747 31748# Whether libtool must link a program against all its dependency libraries. 31749link_all_deplibs=$link_all_deplibs_CXX 31750 31751# Set to "yes" if exported symbols are required. 31752always_export_symbols=$always_export_symbols_CXX 31753 31754# The commands to list exported symbols. 31755export_symbols_cmds=$lt_export_symbols_cmds_CXX 31756 31757# Symbols that should not be listed in the preloaded symbols. 31758exclude_expsyms=$lt_exclude_expsyms_CXX 31759 31760# Symbols that must always be exported. 31761include_expsyms=$lt_include_expsyms_CXX 31762 31763# Commands necessary for linking programs (against libraries) with templates. 31764prelink_cmds=$lt_prelink_cmds_CXX 31765 31766# Commands necessary for finishing linking programs. 31767postlink_cmds=$lt_postlink_cmds_CXX 31768 31769# Specify filename containing input files. 31770file_list_spec=$lt_file_list_spec_CXX 31771 31772# How to hardcode a shared library path into an executable. 31773hardcode_action=$hardcode_action_CXX 31774 31775# The directories searched by this compiler when creating a shared library. 31776compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 31777 31778# Dependencies to place before and after the objects being linked to 31779# create a shared library. 31780predep_objects=$lt_predep_objects_CXX 31781postdep_objects=$lt_postdep_objects_CXX 31782predeps=$lt_predeps_CXX 31783postdeps=$lt_postdeps_CXX 31784 31785# The library search path used internally by the compiler when linking 31786# a shared library. 31787compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 31788 31789# ### END LIBTOOL TAG CONFIG: CXX 31790_LT_EOF 31791 31792 ;; 31793 "po-directories":C) 31794 for ac_file in $CONFIG_FILES; do 31795 # Support "outfile[:infile[:infile...]]" 31796 case "$ac_file" in 31797 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 31798 esac 31799 # PO directories have a Makefile.in generated from Makefile.in.in. 31800 case "$ac_file" in */Makefile.in) 31801 # Adjust a relative srcdir. 31802 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 31803 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 31804 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 31805 # In autoconf-2.13 it is called $ac_given_srcdir. 31806 # In autoconf-2.50 it is called $srcdir. 31807 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 31808 case "$ac_given_srcdir" in 31809 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 31810 /*) top_srcdir="$ac_given_srcdir" ;; 31811 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 31812 esac 31813 # Treat a directory as a PO directory if and only if it has a 31814 # POTFILES.in file. This allows packages to have multiple PO 31815 # directories under different names or in different locations. 31816 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 31817 rm -f "$ac_dir/POTFILES" 31818 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 31819 gt_tab=`printf '\t'` 31820 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" 31821 POMAKEFILEDEPS="POTFILES.in" 31822 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 31823 # on $ac_dir but don't depend on user-specified configuration 31824 # parameters. 31825 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 31826 # The LINGUAS file contains the set of available languages. 31827 if test -n "$OBSOLETE_ALL_LINGUAS"; then 31828 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 31829 fi 31830 ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 31831 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 31832 else 31833 # The set of available languages was given in configure.in. 31834 ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS 31835 fi 31836 # Compute POFILES 31837 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 31838 # Compute UPDATEPOFILES 31839 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 31840 # Compute DUMMYPOFILES 31841 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 31842 # Compute GMOFILES 31843 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 31844 case "$ac_given_srcdir" in 31845 .) srcdirpre= ;; 31846 *) srcdirpre='$(srcdir)/' ;; 31847 esac 31848 POFILES= 31849 UPDATEPOFILES= 31850 DUMMYPOFILES= 31851 GMOFILES= 31852 for lang in $ALL_LINGUAS; do 31853 POFILES="$POFILES $srcdirpre$lang.po" 31854 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 31855 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 31856 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 31857 done 31858 # CATALOGS depends on both $ac_dir and the user's LINGUAS 31859 # environment variable. 31860 INST_LINGUAS= 31861 if test -n "$ALL_LINGUAS"; then 31862 for presentlang in $ALL_LINGUAS; do 31863 useit=no 31864 if test "%UNSET%" != "$LINGUAS"; then 31865 desiredlanguages="$LINGUAS" 31866 else 31867 desiredlanguages="$ALL_LINGUAS" 31868 fi 31869 for desiredlang in $desiredlanguages; do 31870 # Use the presentlang catalog if desiredlang is 31871 # a. equal to presentlang, or 31872 # b. a variant of presentlang (because in this case, 31873 # presentlang can be used as a fallback for messages 31874 # which are not translated in the desiredlang catalog). 31875 case "$desiredlang" in 31876 "$presentlang"*) useit=yes;; 31877 esac 31878 done 31879 if test $useit = yes; then 31880 INST_LINGUAS="$INST_LINGUAS $presentlang" 31881 fi 31882 done 31883 fi 31884 CATALOGS= 31885 if test -n "$INST_LINGUAS"; then 31886 for lang in $INST_LINGUAS; do 31887 CATALOGS="$CATALOGS $lang.gmo" 31888 done 31889 fi 31890 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 31891 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" 31892 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 31893 if test -f "$f"; then 31894 case "$f" in 31895 *.orig | *.bak | *~) ;; 31896 *) cat "$f" >> "$ac_dir/Makefile" ;; 31897 esac 31898 fi 31899 done 31900 fi 31901 ;; 31902 esac 31903 done ;; 31904 31905 esac 31906done # for ac_tag 31907 31908 31909as_fn_exit 0 31910_ACEOF 31911ac_clean_files=$ac_clean_files_save 31912 31913test $ac_write_fail = 0 || 31914 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 31915 31916 31917# configure is writing to config.log, and then calls config.status. 31918# config.status does its own redirection, appending to config.log. 31919# Unfortunately, on DOS this fails, as config.log is still kept open 31920# by configure, so config.status won't be able to write to it; its 31921# output is simply discarded. So we exec the FD to /dev/null, 31922# effectively closing config.log, so it can be properly (re)opened and 31923# appended to by config.status. When coming back to configure, we 31924# need to make the FD available again. 31925if test "$no_create" != yes; then 31926 ac_cs_success=: 31927 ac_config_status_args= 31928 test "$silent" = yes && 31929 ac_config_status_args="$ac_config_status_args --quiet" 31930 exec 5>/dev/null 31931 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 31932 exec 5>>config.log 31933 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 31934 # would make configure fail if this is the last instruction. 31935 $ac_cs_success || as_fn_exit 1 31936fi 31937if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 31938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 31939$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 31940fi 31941 31942 31943echo "" 31944echo "$PACKAGE $VERSION" 31945echo "" 31946if test x"$enable_alternate_addressbook" = xyes; then 31947 echo "Using Address Book : Alternate experimental interface" 31948else 31949 echo "Using Address Book : Original stable interface" 31950 echo "JPilot : $enable_jpilot" 31951 echo "LDAP : $enable_ldap" 31952fi 31953echo "gnuTLS : $enable_gnutls" 31954echo "iconv : $am_cv_func_iconv" 31955echo "compface : $enable_compface" 31956echo "IPv6 : $enable_ipv6" 31957echo "enchant : $enable_enchant" 31958echo "IMAP4 : $enable_libetpan" 31959echo "NNTP : $enable_libetpan" 31960echo "Crash dialog : $enable_crash_dialog" 31961echo "LibSM : $enable_libsm" 31962echo "DBUS : $enable_dbus" 31963echo "NetworkManager : $enable_networkmanager" 31964echo "Manual : $enable_manual" 31965echo "Generic UMPC code : $enable_generic_umpc" 31966echo "SVG support : $enable_svg" 31967echo "Config dir : $ac_cv_with_config_dir" 31968echo "Password crypto : $pwd_crypto" 31969echo "Unit tests : $enable_tests" 31970 31971echo "Plugins" 31972echo " Built:" 31973for plugin in $PLUGINS; do 31974echo " - $plugin" 31975if test x"$plugin" = xnotification; then 31976 echo " Features:" 31977 for notif_feature in $notification_features; do 31978 echo " $notif_feature" 31979 done; 31980 if test "x$notification_missing_dependencies" != x; then 31981 echo " Disabled due to missing dependencies:" 31982 for notif_miss_dep in $notification_missing_dependencies; do 31983 echo " $notif_miss_dep" 31984 done; 31985 fi 31986fi 31987done; 31988if test "x$DISABLED_PLUGINS" != x; then 31989echo " Disabled:" 31990for plugin in $DISABLED_PLUGINS; do 31991echo " - $plugin" 31992done; 31993fi 31994 31995if test "x$MISSING_DEPS_PLUGINS" != x; then 31996echo " Disabled due to missing dependencies:" 31997for plugin in $MISSING_DEPS_PLUGINS; do 31998echo " - $plugin" 31999done; 32000fi 32001echo "" 32002echo "The binary will be installed in $prefix/bin" 32003echo "" 32004echo "Configure finished, type 'make' to build." 32005