1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for tumbler 4.16.0. 4# 5# Report bugs to <https://gitlab.xfce.org/xfce/tumbler>. 6# 7# Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org> 8# 9# Copyright (c) 2016-2017 Ali Abdallah <ali@xfce.org> 10# 11# 12# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 13# 14# 15# This configure script is free software; the Free Software Foundation 16# gives unlimited permission to copy, distribute and modify it. 17## -------------------- ## 18## M4sh Initialization. ## 19## -------------------- ## 20 21# Be more Bourne compatible 22DUALCASE=1; export DUALCASE # for MKS sh 23if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 24 emulate sh 25 NULLCMD=: 26 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 27 # is contrary to our usage. Disable this feature. 28 alias -g '${1+"$@"}'='"$@"' 29 setopt NO_GLOB_SUBST 30else 31 case `(set -o) 2>/dev/null` in #( 32 *posix*) : 33 set -o posix ;; #( 34 *) : 35 ;; 36esac 37fi 38 39 40as_nl=' 41' 42export as_nl 43# Printing a long string crashes Solaris 7 /usr/bin/printf. 44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47# Prefer a ksh shell builtin over an external printf program on Solaris, 48# but without wasting forks for bash or zsh. 49if test -z "$BASH_VERSION$ZSH_VERSION" \ 50 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 51 as_echo='print -r --' 52 as_echo_n='print -rn --' 53elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 54 as_echo='printf %s\n' 55 as_echo_n='printf %s' 56else 57 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 58 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 59 as_echo_n='/usr/ucb/echo -n' 60 else 61 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 62 as_echo_n_body='eval 63 arg=$1; 64 case $arg in #( 65 *"$as_nl"*) 66 expr "X$arg" : "X\\(.*\\)$as_nl"; 67 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 68 esac; 69 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 70 ' 71 export as_echo_n_body 72 as_echo_n='sh -c $as_echo_n_body as_echo' 73 fi 74 export as_echo_body 75 as_echo='sh -c $as_echo_body as_echo' 76fi 77 78# The user is always right. 79if test "${PATH_SEPARATOR+set}" != set; then 80 PATH_SEPARATOR=: 81 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 82 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 83 PATH_SEPARATOR=';' 84 } 85fi 86 87 88# IFS 89# We need space, tab and new line, in precisely that order. Quoting is 90# there to prevent editors from complaining about space-tab. 91# (If _AS_PATH_WALK were called with IFS unset, it would disable word 92# splitting by setting IFS to empty value.) 93IFS=" "" $as_nl" 94 95# Find who we are. Look in the path if we contain no directory separator. 96as_myself= 97case $0 in #(( 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 100for as_dir in $PATH 101do 102 IFS=$as_save_IFS 103 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 105 done 106IFS=$as_save_IFS 107 108 ;; 109esac 110# We did not find ourselves, most probably we were run as `sh COMMAND' 111# in which case we are not to be found in the path. 112if test "x$as_myself" = x; then 113 as_myself=$0 114fi 115if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 exit 1 118fi 119 120# Unset variables that we do not need and which cause bugs (e.g. in 121# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 122# suppresses any "Segmentation fault" message there. '((' could 123# trigger a bug in pdksh 5.2.14. 124for as_var in BASH_ENV ENV MAIL MAILPATH 125do eval test x\${$as_var+set} = xset \ 126 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 127done 128PS1='$ ' 129PS2='> ' 130PS4='+ ' 131 132# NLS nuisances. 133LC_ALL=C 134export LC_ALL 135LANGUAGE=C 136export LANGUAGE 137 138# CDPATH. 139(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 140 141# Use a proper internal environment variable to ensure we don't fall 142 # into an infinite loop, continuously re-executing ourselves. 143 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 144 _as_can_reexec=no; export _as_can_reexec; 145 # We cannot yet assume a decent shell, so we have to provide a 146# neutralization value for shells without unset; and this also 147# works around shells that cannot unset nonexistent variables. 148# Preserve -v and -x to the replacement shell. 149BASH_ENV=/dev/null 150ENV=/dev/null 151(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 152case $- in # (((( 153 *v*x* | *x*v* ) as_opts=-vx ;; 154 *v* ) as_opts=-v ;; 155 *x* ) as_opts=-x ;; 156 * ) as_opts= ;; 157esac 158exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 159# Admittedly, this is quite paranoid, since all the known shells bail 160# out after a failed `exec'. 161$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 162as_fn_exit 255 163 fi 164 # We don't want this to propagate to other subprocesses. 165 { _as_can_reexec=; unset _as_can_reexec;} 166if test "x$CONFIG_SHELL" = x; then 167 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 168 emulate sh 169 NULLCMD=: 170 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 171 # is contrary to our usage. Disable this feature. 172 alias -g '\${1+\"\$@\"}'='\"\$@\"' 173 setopt NO_GLOB_SUBST 174else 175 case \`(set -o) 2>/dev/null\` in #( 176 *posix*) : 177 set -o posix ;; #( 178 *) : 179 ;; 180esac 181fi 182" 183 as_required="as_fn_return () { (exit \$1); } 184as_fn_success () { as_fn_return 0; } 185as_fn_failure () { as_fn_return 1; } 186as_fn_ret_success () { return 0; } 187as_fn_ret_failure () { return 1; } 188 189exitcode=0 190as_fn_success || { exitcode=1; echo as_fn_success failed.; } 191as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 192as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 193as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 194if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 195 196else 197 exitcode=1; echo positional parameters were not saved. 198fi 199test x\$exitcode = x0 || exit 1 200test -x / || exit 1" 201 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 202 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 203 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 204 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 205test \$(( 1 + 1 )) = 2 || exit 1 206 207 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 208 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 209 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 210 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 211 PATH=/empty FPATH=/empty; export PATH FPATH 212 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 213 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 214 if (eval "$as_required") 2>/dev/null; then : 215 as_have_required=yes 216else 217 as_have_required=no 218fi 219 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 220 221else 222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 223as_found=false 224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 as_found=: 229 case $as_dir in #( 230 /*) 231 for as_base in sh bash ksh sh5; do 232 # Try only shells that exist, to save several forks. 233 as_shell=$as_dir/$as_base 234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 235 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 236 CONFIG_SHELL=$as_shell as_have_required=yes 237 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 238 break 2 239fi 240fi 241 done;; 242 esac 243 as_found=false 244done 245$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 246 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 247 CONFIG_SHELL=$SHELL as_have_required=yes 248fi; } 249IFS=$as_save_IFS 250 251 252 if test "x$CONFIG_SHELL" != x; then : 253 export CONFIG_SHELL 254 # We cannot yet assume a decent shell, so we have to provide a 255# neutralization value for shells without unset; and this also 256# works around shells that cannot unset nonexistent variables. 257# Preserve -v and -x to the replacement shell. 258BASH_ENV=/dev/null 259ENV=/dev/null 260(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 261case $- in # (((( 262 *v*x* | *x*v* ) as_opts=-vx ;; 263 *v* ) as_opts=-v ;; 264 *x* ) as_opts=-x ;; 265 * ) as_opts= ;; 266esac 267exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 268# Admittedly, this is quite paranoid, since all the known shells bail 269# out after a failed `exec'. 270$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 271exit 255 272fi 273 274 if test x$as_have_required = xno; then : 275 $as_echo "$0: This script requires a shell more modern than all" 276 $as_echo "$0: the shells that I found on your system." 277 if test x${ZSH_VERSION+set} = xset ; then 278 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 279 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 280 else 281 $as_echo "$0: Please tell bug-autoconf@gnu.org and 282$0: https://gitlab.xfce.org/xfce/tumbler about your system, 283$0: including any error possibly output before this 284$0: message. Then install a modern shell, or manually run 285$0: the script under such a shell if you do have one." 286 fi 287 exit 1 288fi 289fi 290fi 291SHELL=${CONFIG_SHELL-/bin/sh} 292export SHELL 293# Unset more variables known to interfere with behavior of common tools. 294CLICOLOR_FORCE= GREP_OPTIONS= 295unset CLICOLOR_FORCE GREP_OPTIONS 296 297## --------------------- ## 298## M4sh Shell Functions. ## 299## --------------------- ## 300# as_fn_unset VAR 301# --------------- 302# Portably unset VAR. 303as_fn_unset () 304{ 305 { eval $1=; unset $1;} 306} 307as_unset=as_fn_unset 308 309# as_fn_set_status STATUS 310# ----------------------- 311# Set $? to STATUS, without forking. 312as_fn_set_status () 313{ 314 return $1 315} # as_fn_set_status 316 317# as_fn_exit STATUS 318# ----------------- 319# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 320as_fn_exit () 321{ 322 set +e 323 as_fn_set_status $1 324 exit $1 325} # as_fn_exit 326 327# as_fn_mkdir_p 328# ------------- 329# Create "$as_dir" as a directory, including parents if necessary. 330as_fn_mkdir_p () 331{ 332 333 case $as_dir in #( 334 -*) as_dir=./$as_dir;; 335 esac 336 test -d "$as_dir" || eval $as_mkdir_p || { 337 as_dirs= 338 while :; do 339 case $as_dir in #( 340 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 341 *) as_qdir=$as_dir;; 342 esac 343 as_dirs="'$as_qdir' $as_dirs" 344 as_dir=`$as_dirname -- "$as_dir" || 345$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 346 X"$as_dir" : 'X\(//\)[^/]' \| \ 347 X"$as_dir" : 'X\(//\)$' \| \ 348 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 349$as_echo X"$as_dir" | 350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)[^/].*/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\/\)$/{ 359 s//\1/ 360 q 361 } 362 /^X\(\/\).*/{ 363 s//\1/ 364 q 365 } 366 s/.*/./; q'` 367 test -d "$as_dir" && break 368 done 369 test -z "$as_dirs" || eval "mkdir $as_dirs" 370 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 371 372 373} # as_fn_mkdir_p 374 375# as_fn_executable_p FILE 376# ----------------------- 377# Test if FILE is an executable regular file. 378as_fn_executable_p () 379{ 380 test -f "$1" && test -x "$1" 381} # as_fn_executable_p 382# as_fn_append VAR VALUE 383# ---------------------- 384# Append the text in VALUE to the end of the definition contained in VAR. Take 385# advantage of any shell optimizations that allow amortized linear growth over 386# repeated appends, instead of the typical quadratic growth present in naive 387# implementations. 388if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 389 eval 'as_fn_append () 390 { 391 eval $1+=\$2 392 }' 393else 394 as_fn_append () 395 { 396 eval $1=\$$1\$2 397 } 398fi # as_fn_append 399 400# as_fn_arith ARG... 401# ------------------ 402# Perform arithmetic evaluation on the ARGs, and store the result in the 403# global $as_val. Take advantage of shells that can avoid forks. The arguments 404# must be portable across $(()) and expr. 405if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 406 eval 'as_fn_arith () 407 { 408 as_val=$(( $* )) 409 }' 410else 411 as_fn_arith () 412 { 413 as_val=`expr "$@" || test $? -eq 1` 414 } 415fi # as_fn_arith 416 417 418# as_fn_error STATUS ERROR [LINENO LOG_FD] 419# ---------------------------------------- 420# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 421# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 422# script with STATUS, using 1 if that was 0. 423as_fn_error () 424{ 425 as_status=$1; test $as_status -eq 0 && as_status=1 426 if test "$4"; then 427 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 428 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 429 fi 430 $as_echo "$as_me: error: $2" >&2 431 as_fn_exit $as_status 432} # as_fn_error 433 434if expr a : '\(a\)' >/dev/null 2>&1 && 435 test "X`expr 00001 : '.*\(...\)'`" = X001; then 436 as_expr=expr 437else 438 as_expr=false 439fi 440 441if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 442 as_basename=basename 443else 444 as_basename=false 445fi 446 447if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 448 as_dirname=dirname 449else 450 as_dirname=false 451fi 452 453as_me=`$as_basename -- "$0" || 454$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 455 X"$0" : 'X\(//\)$' \| \ 456 X"$0" : 'X\(/\)' \| . 2>/dev/null || 457$as_echo X/"$0" | 458 sed '/^.*\/\([^/][^/]*\)\/*$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\/\)$/{ 463 s//\1/ 464 q 465 } 466 /^X\/\(\/\).*/{ 467 s//\1/ 468 q 469 } 470 s/.*/./; q'` 471 472# Avoid depending upon Character Ranges. 473as_cr_letters='abcdefghijklmnopqrstuvwxyz' 474as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 475as_cr_Letters=$as_cr_letters$as_cr_LETTERS 476as_cr_digits='0123456789' 477as_cr_alnum=$as_cr_Letters$as_cr_digits 478 479 480 as_lineno_1=$LINENO as_lineno_1a=$LINENO 481 as_lineno_2=$LINENO as_lineno_2a=$LINENO 482 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 483 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 484 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 485 sed -n ' 486 p 487 /[$]LINENO/= 488 ' <$as_myself | 489 sed ' 490 s/[$]LINENO.*/&-/ 491 t lineno 492 b 493 :lineno 494 N 495 :loop 496 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 497 t loop 498 s/-\n.*// 499 ' >$as_me.lineno && 500 chmod +x "$as_me.lineno" || 501 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 502 503 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 504 # already done that, so ensure we don't try to do so again and fall 505 # in an infinite loop. This has already happened in practice. 506 _as_can_reexec=no; export _as_can_reexec 507 # Don't try to exec as it changes $[0], causing all sort of problems 508 # (the dirname of $[0] is not the place where we might find the 509 # original and so on. Autoconf is especially sensitive to this). 510 . "./$as_me.lineno" 511 # Exit status is that of the last command. 512 exit 513} 514 515ECHO_C= ECHO_N= ECHO_T= 516case `echo -n x` in #((((( 517-n*) 518 case `echo 'xy\c'` in 519 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 520 xy) ECHO_C='\c';; 521 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 522 ECHO_T=' ';; 523 esac;; 524*) 525 ECHO_N='-n';; 526esac 527 528rm -f conf$$ conf$$.exe conf$$.file 529if test -d conf$$.dir; then 530 rm -f conf$$.dir/conf$$.file 531else 532 rm -f conf$$.dir 533 mkdir conf$$.dir 2>/dev/null 534fi 535if (echo >conf$$.file) 2>/dev/null; then 536 if ln -s conf$$.file conf$$ 2>/dev/null; then 537 as_ln_s='ln -s' 538 # ... but there are two gotchas: 539 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 540 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 541 # In both cases, we have to default to `cp -pR'. 542 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 543 as_ln_s='cp -pR' 544 elif ln conf$$.file conf$$ 2>/dev/null; then 545 as_ln_s=ln 546 else 547 as_ln_s='cp -pR' 548 fi 549else 550 as_ln_s='cp -pR' 551fi 552rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 553rmdir conf$$.dir 2>/dev/null 554 555if mkdir -p . 2>/dev/null; then 556 as_mkdir_p='mkdir -p "$as_dir"' 557else 558 test -d ./-p && rmdir ./-p 559 as_mkdir_p=false 560fi 561 562as_test_x='test -x' 563as_executable_p=as_fn_executable_p 564 565# Sed expression to map a string onto a valid CPP name. 566as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 567 568# Sed expression to map a string onto a valid variable name. 569as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 570 571SHELL=${CONFIG_SHELL-/bin/sh} 572 573 574test -n "$DJDIR" || exec 7<&0 </dev/null 575exec 6>&1 576 577# Name of the host. 578# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 579# so uname gets run too. 580ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 581 582# 583# Initializations. 584# 585ac_default_prefix=/usr/local 586ac_clean_files= 587ac_config_libobj_dir=. 588LIBOBJS= 589cross_compiling=no 590subdirs= 591MFLAGS= 592MAKEFLAGS= 593 594# Identity of this package. 595PACKAGE_NAME='tumbler' 596PACKAGE_TARNAME='tumbler' 597PACKAGE_VERSION='4.16.0' 598PACKAGE_STRING='tumbler 4.16.0' 599PACKAGE_BUGREPORT='https://gitlab.xfce.org/xfce/tumbler' 600PACKAGE_URL='' 601 602# Factoring default headers for most tests. 603ac_includes_default="\ 604#include <stdio.h> 605#ifdef HAVE_SYS_TYPES_H 606# include <sys/types.h> 607#endif 608#ifdef HAVE_SYS_STAT_H 609# include <sys/stat.h> 610#endif 611#ifdef STDC_HEADERS 612# include <stdlib.h> 613# include <stddef.h> 614#else 615# ifdef HAVE_STDLIB_H 616# include <stdlib.h> 617# endif 618#endif 619#ifdef HAVE_STRING_H 620# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 621# include <memory.h> 622# endif 623# include <string.h> 624#endif 625#ifdef HAVE_STRINGS_H 626# include <strings.h> 627#endif 628#ifdef HAVE_INTTYPES_H 629# include <inttypes.h> 630#endif 631#ifdef HAVE_STDINT_H 632# include <stdint.h> 633#endif 634#ifdef HAVE_UNISTD_H 635# include <unistd.h> 636#endif" 637 638ac_header_list= 639ac_subst_vars='am__EXEEXT_FALSE 640am__EXEEXT_TRUE 641LTLIBOBJS 642LIBOBJS 643GTK_DOC_EXTRA_CFLAGS 644TUMBLER_GEPUB_THUMBNAILER_FALSE 645TUMBLER_GEPUB_THUMBNAILER_TRUE 646GEPUB_LIBS 647GEPUB_CFLAGS 648TUMBLER_DESKTOP_THUMBNAILER_FALSE 649TUMBLER_DESKTOP_THUMBNAILER_TRUE 650TUMBLER_XDG_CACHE_FALSE 651TUMBLER_XDG_CACHE_TRUE 652PNG_LIBS 653PNG_CFLAGS 654TUMBLER_RAW_THUMBNAILER_FALSE 655TUMBLER_RAW_THUMBNAILER_TRUE 656LIBOPENRAW_GNOME_LIBS 657LIBOPENRAW_GNOME_CFLAGS 658TUMBLER_POPPLER_THUMBNAILER_FALSE 659TUMBLER_POPPLER_THUMBNAILER_TRUE 660POPPLER_GLIB_LIBS 661POPPLER_GLIB_CFLAGS 662TUMBLER_ODF_THUMBNAILER_FALSE 663TUMBLER_ODF_THUMBNAILER_TRUE 664GSF_LIBS 665GSF_CFLAGS 666TUMBLER_GSTREAMER_THUMBNAILER_FALSE 667TUMBLER_GSTREAMER_THUMBNAILER_TRUE 668GSTREAMER_TAG_LIBS 669GSTREAMER_TAG_CFLAGS 670GSTREAMER_LIBS 671GSTREAMER_CFLAGS 672TUMBLER_FFMPEG_THUMBNAILER_FALSE 673TUMBLER_FFMPEG_THUMBNAILER_TRUE 674FFMPEGTHUMBNAILER_LIBS 675FFMPEGTHUMBNAILER_CFLAGS 676TUMBLER_PIXBUF_THUMBNAILER_FALSE 677TUMBLER_PIXBUF_THUMBNAILER_TRUE 678TUMBLER_JPEG_THUMBNAILER_FALSE 679TUMBLER_JPEG_THUMBNAILER_TRUE 680LIBJPEG_LIBS 681LIBJPEG_CFLAGS 682TUMBLER_FONT_THUMBNAILER_FALSE 683TUMBLER_FONT_THUMBNAILER_TRUE 684FREETYPE_LIBS 685FREETYPE_CFLAGS 686TUMBLER_COVER_THUMBNAILER_FALSE 687TUMBLER_COVER_THUMBNAILER_TRUE 688CURL_LIBS 689CURL_CFLAGS 690GDK_PIXBUF_LIBS 691GDK_PIXBUF_CFLAGS 692GTHREAD_LIBS 693GTHREAD_CFLAGS 694GMODULE_LIBS 695GMODULE_CFLAGS 696GIO_UNIX_LIBS 697GIO_UNIX_CFLAGS 698GIO_LIBS 699GIO_CFLAGS 700GLIB_LIBS 701GLIB_CFLAGS 702GDBUS_CODEGEN 703GTK_DOC_USE_REBASE_FALSE 704GTK_DOC_USE_REBASE_TRUE 705GTK_DOC_USE_LIBTOOL_FALSE 706GTK_DOC_USE_LIBTOOL_TRUE 707GTK_DOC_BUILD_PDF_FALSE 708GTK_DOC_BUILD_PDF_TRUE 709GTK_DOC_BUILD_HTML_FALSE 710GTK_DOC_BUILD_HTML_TRUE 711ENABLE_GTK_DOC_FALSE 712ENABLE_GTK_DOC_TRUE 713HAVE_GTK_DOC_FALSE 714HAVE_GTK_DOC_TRUE 715GTKDOC_DEPS_LIBS 716GTKDOC_DEPS_CFLAGS 717HTML_DIR 718GTKDOC_MKPDF 719GTKDOC_REBASE 720GTKDOC_CHECK_PATH 721GTKDOC_CHECK 722PKG_CONFIG_LIBDIR 723PKG_CONFIG_PATH 724PKG_CONFIG 725XGETTEXT_ARGS 726MKINSTALLDIRS 727POSUB 728POFILES 729PO_IN_DATADIR_FALSE 730PO_IN_DATADIR_TRUE 731INTLLIBS 732INSTOBJEXT 733GMOFILES 734DATADIRNAME 735CATOBJEXT 736CATALOGS 737MSGFMT_OPTS 738INTL_MACOSX_LIBS 739GETTEXT_PACKAGE 740LT_SYS_LIBRARY_PATH 741OTOOL64 742OTOOL 743LIPO 744NMEDIT 745DSYMUTIL 746MANIFEST_TOOL 747RANLIB 748ac_ct_AR 749AR 750DLLTOOL 751OBJDUMP 752LN_S 753NM 754ac_ct_DUMPBIN 755DUMPBIN 756LD 757FGREP 758SED 759LIBTOOL 760ALL_LINGUAS 761INTLTOOL_PERL 762GMSGFMT 763MSGFMT 764MSGMERGE 765XGETTEXT 766INTLTOOL_POLICY_RULE 767INTLTOOL_SERVICE_RULE 768INTLTOOL_THEME_RULE 769INTLTOOL_SCHEMAS_RULE 770INTLTOOL_CAVES_RULE 771INTLTOOL_XML_NOMERGE_RULE 772INTLTOOL_XML_RULE 773INTLTOOL_KBD_RULE 774INTLTOOL_XAM_RULE 775INTLTOOL_UI_RULE 776INTLTOOL_SOUNDLIST_RULE 777INTLTOOL_SHEET_RULE 778INTLTOOL_SERVER_RULE 779INTLTOOL_PONG_RULE 780INTLTOOL_OAF_RULE 781INTLTOOL_PROP_RULE 782INTLTOOL_KEYS_RULE 783INTLTOOL_DIRECTORY_RULE 784INTLTOOL_DESKTOP_RULE 785intltool__v_merge_options_0 786intltool__v_merge_options_ 787INTLTOOL_V_MERGE_OPTIONS 788INTLTOOL__v_MERGE_0 789INTLTOOL__v_MERGE_ 790INTLTOOL_V_MERGE 791INTLTOOL_EXTRACT 792INTLTOOL_MERGE 793INTLTOOL_UPDATE 794USE_NLS 795am__fastdepCCAS_FALSE 796am__fastdepCCAS_TRUE 797CCASDEPMODE 798CCASFLAGS 799CCAS 800PLATFORM_WIN32_FALSE 801PLATFORM_WIN32_TRUE 802EGREP 803GREP 804CPP 805am__fastdepCC_FALSE 806am__fastdepCC_TRUE 807CCDEPMODE 808am__nodep 809AMDEPBACKSLASH 810AMDEP_FALSE 811AMDEP_TRUE 812am__include 813DEPDIR 814OBJEXT 815EXEEXT 816ac_ct_CC 817CPPFLAGS 818LDFLAGS 819CFLAGS 820CC 821TUMBLER_VERSION_API 822TUMBLER_VERSION_API_MAJOR 823TUMBLER_VERSION_MICRO 824TUMBLER_VERSION_MINOR 825TUMBLER_VERSION_MAJOR 826TUMBLER_VERINFO 827MAINT 828MAINTAINER_MODE_FALSE 829MAINTAINER_MODE_TRUE 830ACLOCAL_AMFLAGS 831AM_BACKSLASH 832AM_DEFAULT_VERBOSITY 833AM_DEFAULT_V 834AM_V 835am__untar 836am__tar 837AMTAR 838am__leading_dot 839SET_MAKE 840AWK 841mkdir_p 842MKDIR_P 843INSTALL_STRIP_PROGRAM 844STRIP 845install_sh 846MAKEINFO 847AUTOHEADER 848AUTOMAKE 849AUTOCONF 850ACLOCAL 851VERSION 852PACKAGE 853CYGPATH_W 854am__isrc 855INSTALL_DATA 856INSTALL_SCRIPT 857INSTALL_PROGRAM 858target_os 859target_vendor 860target_cpu 861target 862host_os 863host_vendor 864host_cpu 865host 866build_os 867build_vendor 868build_cpu 869build 870target_alias 871host_alias 872build_alias 873LIBS 874ECHO_T 875ECHO_N 876ECHO_C 877DEFS 878mandir 879localedir 880libdir 881psdir 882pdfdir 883dvidir 884htmldir 885infodir 886docdir 887oldincludedir 888includedir 889runstatedir 890localstatedir 891sharedstatedir 892sysconfdir 893datadir 894datarootdir 895libexecdir 896sbindir 897bindir 898program_transform_name 899prefix 900exec_prefix 901PACKAGE_URL 902PACKAGE_BUGREPORT 903PACKAGE_STRING 904PACKAGE_VERSION 905PACKAGE_TARNAME 906PACKAGE_NAME 907PATH_SEPARATOR 908SHELL 909am__quote' 910ac_subst_files='' 911ac_user_opts=' 912enable_option_checking 913enable_silent_rules 914enable_maintainer_mode 915enable_dependency_tracking 916enable_nls 917enable_static 918enable_shared 919with_pic 920enable_fast_install 921with_aix_soname 922with_gnu_ld 923with_sysroot 924enable_libtool_lock 925with_locales_dir 926with_html_dir 927enable_gtk_doc 928enable_gtk_doc_html 929enable_gtk_doc_pdf 930enable_cover_thumbnailer 931enable_font_thumbnailer 932enable_jpeg_thumbnailer 933enable_pixbuf_thumbnailer 934enable_ffmpeg_thumbnailer 935enable_gstreamer_thumbnailer 936enable_odf_thumbnailer 937enable_poppler_thumbnailer 938enable_raw_thumbnailer 939enable_xdg_cache 940enable_desktop_thumbnailer 941enable_gepub_thumbnailer 942enable_debug 943enable_linker_opts 944' 945 ac_precious_vars='build_alias 946host_alias 947target_alias 948CC 949CFLAGS 950LDFLAGS 951LIBS 952CPPFLAGS 953CPP 954CCAS 955CCASFLAGS 956LT_SYS_LIBRARY_PATH 957PKG_CONFIG 958PKG_CONFIG_PATH 959PKG_CONFIG_LIBDIR 960GTKDOC_DEPS_CFLAGS 961GTKDOC_DEPS_LIBS 962GDBUS_CODEGEN 963GLIB_CFLAGS 964GLIB_LIBS 965GIO_CFLAGS 966GIO_LIBS 967GIO_UNIX_CFLAGS 968GIO_UNIX_LIBS 969GMODULE_CFLAGS 970GMODULE_LIBS 971GTHREAD_CFLAGS 972GTHREAD_LIBS 973GDK_PIXBUF_CFLAGS 974GDK_PIXBUF_LIBS 975CURL_CFLAGS 976CURL_LIBS 977FREETYPE_CFLAGS 978FREETYPE_LIBS 979FFMPEGTHUMBNAILER_CFLAGS 980FFMPEGTHUMBNAILER_LIBS 981GSTREAMER_CFLAGS 982GSTREAMER_LIBS 983GSTREAMER_TAG_CFLAGS 984GSTREAMER_TAG_LIBS 985GSF_CFLAGS 986GSF_LIBS 987POPPLER_GLIB_CFLAGS 988POPPLER_GLIB_LIBS 989LIBOPENRAW_GNOME_CFLAGS 990LIBOPENRAW_GNOME_LIBS 991PNG_CFLAGS 992PNG_LIBS 993GEPUB_CFLAGS 994GEPUB_LIBS' 995 996 997# Initialize some variables set by options. 998ac_init_help= 999ac_init_version=false 1000ac_unrecognized_opts= 1001ac_unrecognized_sep= 1002# The variables have the same names as the options, with 1003# dashes changed to underlines. 1004cache_file=/dev/null 1005exec_prefix=NONE 1006no_create= 1007no_recursion= 1008prefix=NONE 1009program_prefix=NONE 1010program_suffix=NONE 1011program_transform_name=s,x,x, 1012silent= 1013site= 1014srcdir= 1015verbose= 1016x_includes=NONE 1017x_libraries=NONE 1018 1019# Installation directory options. 1020# These are left unexpanded so users can "make install exec_prefix=/foo" 1021# and all the variables that are supposed to be based on exec_prefix 1022# by default will actually change. 1023# Use braces instead of parens because sh, perl, etc. also accept them. 1024# (The list follows the same order as the GNU Coding Standards.) 1025bindir='${exec_prefix}/bin' 1026sbindir='${exec_prefix}/sbin' 1027libexecdir='${exec_prefix}/libexec' 1028datarootdir='${prefix}/share' 1029datadir='${datarootdir}' 1030sysconfdir='${prefix}/etc' 1031sharedstatedir='${prefix}/com' 1032localstatedir='${prefix}/var' 1033runstatedir='${localstatedir}/run' 1034includedir='${prefix}/include' 1035oldincludedir='/usr/include' 1036docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1037infodir='${datarootdir}/info' 1038htmldir='${docdir}' 1039dvidir='${docdir}' 1040pdfdir='${docdir}' 1041psdir='${docdir}' 1042libdir='${exec_prefix}/lib' 1043localedir='${datarootdir}/locale' 1044mandir='${datarootdir}/man' 1045 1046ac_prev= 1047ac_dashdash= 1048for ac_option 1049do 1050 # If the previous option needs an argument, assign it. 1051 if test -n "$ac_prev"; then 1052 eval $ac_prev=\$ac_option 1053 ac_prev= 1054 continue 1055 fi 1056 1057 case $ac_option in 1058 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1059 *=) ac_optarg= ;; 1060 *) ac_optarg=yes ;; 1061 esac 1062 1063 # Accept the important Cygnus configure options, so we can diagnose typos. 1064 1065 case $ac_dashdash$ac_option in 1066 --) 1067 ac_dashdash=yes ;; 1068 1069 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1070 ac_prev=bindir ;; 1071 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1072 bindir=$ac_optarg ;; 1073 1074 -build | --build | --buil | --bui | --bu) 1075 ac_prev=build_alias ;; 1076 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1077 build_alias=$ac_optarg ;; 1078 1079 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1080 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1081 ac_prev=cache_file ;; 1082 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1083 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1084 cache_file=$ac_optarg ;; 1085 1086 --config-cache | -C) 1087 cache_file=config.cache ;; 1088 1089 -datadir | --datadir | --datadi | --datad) 1090 ac_prev=datadir ;; 1091 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1092 datadir=$ac_optarg ;; 1093 1094 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1095 | --dataroo | --dataro | --datar) 1096 ac_prev=datarootdir ;; 1097 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1098 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1099 datarootdir=$ac_optarg ;; 1100 1101 -disable-* | --disable-*) 1102 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1103 # Reject names that are not valid shell variable names. 1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1105 as_fn_error $? "invalid feature name: $ac_useropt" 1106 ac_useropt_orig=$ac_useropt 1107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1108 case $ac_user_opts in 1109 *" 1110"enable_$ac_useropt" 1111"*) ;; 1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1113 ac_unrecognized_sep=', ';; 1114 esac 1115 eval enable_$ac_useropt=no ;; 1116 1117 -docdir | --docdir | --docdi | --doc | --do) 1118 ac_prev=docdir ;; 1119 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1120 docdir=$ac_optarg ;; 1121 1122 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1123 ac_prev=dvidir ;; 1124 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1125 dvidir=$ac_optarg ;; 1126 1127 -enable-* | --enable-*) 1128 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1129 # Reject names that are not valid shell variable names. 1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1131 as_fn_error $? "invalid feature name: $ac_useropt" 1132 ac_useropt_orig=$ac_useropt 1133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1134 case $ac_user_opts in 1135 *" 1136"enable_$ac_useropt" 1137"*) ;; 1138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1139 ac_unrecognized_sep=', ';; 1140 esac 1141 eval enable_$ac_useropt=\$ac_optarg ;; 1142 1143 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1144 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1145 | --exec | --exe | --ex) 1146 ac_prev=exec_prefix ;; 1147 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1148 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1149 | --exec=* | --exe=* | --ex=*) 1150 exec_prefix=$ac_optarg ;; 1151 1152 -gas | --gas | --ga | --g) 1153 # Obsolete; use --with-gas. 1154 with_gas=yes ;; 1155 1156 -help | --help | --hel | --he | -h) 1157 ac_init_help=long ;; 1158 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1159 ac_init_help=recursive ;; 1160 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1161 ac_init_help=short ;; 1162 1163 -host | --host | --hos | --ho) 1164 ac_prev=host_alias ;; 1165 -host=* | --host=* | --hos=* | --ho=*) 1166 host_alias=$ac_optarg ;; 1167 1168 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1169 ac_prev=htmldir ;; 1170 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1171 | --ht=*) 1172 htmldir=$ac_optarg ;; 1173 1174 -includedir | --includedir | --includedi | --included | --include \ 1175 | --includ | --inclu | --incl | --inc) 1176 ac_prev=includedir ;; 1177 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1178 | --includ=* | --inclu=* | --incl=* | --inc=*) 1179 includedir=$ac_optarg ;; 1180 1181 -infodir | --infodir | --infodi | --infod | --info | --inf) 1182 ac_prev=infodir ;; 1183 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1184 infodir=$ac_optarg ;; 1185 1186 -libdir | --libdir | --libdi | --libd) 1187 ac_prev=libdir ;; 1188 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1189 libdir=$ac_optarg ;; 1190 1191 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1192 | --libexe | --libex | --libe) 1193 ac_prev=libexecdir ;; 1194 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1195 | --libexe=* | --libex=* | --libe=*) 1196 libexecdir=$ac_optarg ;; 1197 1198 -localedir | --localedir | --localedi | --localed | --locale) 1199 ac_prev=localedir ;; 1200 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1201 localedir=$ac_optarg ;; 1202 1203 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1204 | --localstate | --localstat | --localsta | --localst | --locals) 1205 ac_prev=localstatedir ;; 1206 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1207 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1208 localstatedir=$ac_optarg ;; 1209 1210 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1211 ac_prev=mandir ;; 1212 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1213 mandir=$ac_optarg ;; 1214 1215 -nfp | --nfp | --nf) 1216 # Obsolete; use --without-fp. 1217 with_fp=no ;; 1218 1219 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1220 | --no-cr | --no-c | -n) 1221 no_create=yes ;; 1222 1223 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1224 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1225 no_recursion=yes ;; 1226 1227 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1228 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1229 | --oldin | --oldi | --old | --ol | --o) 1230 ac_prev=oldincludedir ;; 1231 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1232 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1233 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1234 oldincludedir=$ac_optarg ;; 1235 1236 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1237 ac_prev=prefix ;; 1238 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1239 prefix=$ac_optarg ;; 1240 1241 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1242 | --program-pre | --program-pr | --program-p) 1243 ac_prev=program_prefix ;; 1244 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1245 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1246 program_prefix=$ac_optarg ;; 1247 1248 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1249 | --program-suf | --program-su | --program-s) 1250 ac_prev=program_suffix ;; 1251 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1252 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1253 program_suffix=$ac_optarg ;; 1254 1255 -program-transform-name | --program-transform-name \ 1256 | --program-transform-nam | --program-transform-na \ 1257 | --program-transform-n | --program-transform- \ 1258 | --program-transform | --program-transfor \ 1259 | --program-transfo | --program-transf \ 1260 | --program-trans | --program-tran \ 1261 | --progr-tra | --program-tr | --program-t) 1262 ac_prev=program_transform_name ;; 1263 -program-transform-name=* | --program-transform-name=* \ 1264 | --program-transform-nam=* | --program-transform-na=* \ 1265 | --program-transform-n=* | --program-transform-=* \ 1266 | --program-transform=* | --program-transfor=* \ 1267 | --program-transfo=* | --program-transf=* \ 1268 | --program-trans=* | --program-tran=* \ 1269 | --progr-tra=* | --program-tr=* | --program-t=*) 1270 program_transform_name=$ac_optarg ;; 1271 1272 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1273 ac_prev=pdfdir ;; 1274 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1275 pdfdir=$ac_optarg ;; 1276 1277 -psdir | --psdir | --psdi | --psd | --ps) 1278 ac_prev=psdir ;; 1279 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1280 psdir=$ac_optarg ;; 1281 1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1283 | -silent | --silent | --silen | --sile | --sil) 1284 silent=yes ;; 1285 1286 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1287 | --runstate | --runstat | --runsta | --runst | --runs \ 1288 | --run | --ru | --r) 1289 ac_prev=runstatedir ;; 1290 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1291 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1292 | --run=* | --ru=* | --r=*) 1293 runstatedir=$ac_optarg ;; 1294 1295 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1296 ac_prev=sbindir ;; 1297 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1298 | --sbi=* | --sb=*) 1299 sbindir=$ac_optarg ;; 1300 1301 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1302 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1303 | --sharedst | --shareds | --shared | --share | --shar \ 1304 | --sha | --sh) 1305 ac_prev=sharedstatedir ;; 1306 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1307 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1308 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1309 | --sha=* | --sh=*) 1310 sharedstatedir=$ac_optarg ;; 1311 1312 -site | --site | --sit) 1313 ac_prev=site ;; 1314 -site=* | --site=* | --sit=*) 1315 site=$ac_optarg ;; 1316 1317 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1318 ac_prev=srcdir ;; 1319 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1320 srcdir=$ac_optarg ;; 1321 1322 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1323 | --syscon | --sysco | --sysc | --sys | --sy) 1324 ac_prev=sysconfdir ;; 1325 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1326 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1327 sysconfdir=$ac_optarg ;; 1328 1329 -target | --target | --targe | --targ | --tar | --ta | --t) 1330 ac_prev=target_alias ;; 1331 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1332 target_alias=$ac_optarg ;; 1333 1334 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1335 verbose=yes ;; 1336 1337 -version | --version | --versio | --versi | --vers | -V) 1338 ac_init_version=: ;; 1339 1340 -with-* | --with-*) 1341 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1342 # Reject names that are not valid shell variable names. 1343 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1344 as_fn_error $? "invalid package name: $ac_useropt" 1345 ac_useropt_orig=$ac_useropt 1346 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1347 case $ac_user_opts in 1348 *" 1349"with_$ac_useropt" 1350"*) ;; 1351 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1352 ac_unrecognized_sep=', ';; 1353 esac 1354 eval with_$ac_useropt=\$ac_optarg ;; 1355 1356 -without-* | --without-*) 1357 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1358 # Reject names that are not valid shell variable names. 1359 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1360 as_fn_error $? "invalid package name: $ac_useropt" 1361 ac_useropt_orig=$ac_useropt 1362 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1363 case $ac_user_opts in 1364 *" 1365"with_$ac_useropt" 1366"*) ;; 1367 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1368 ac_unrecognized_sep=', ';; 1369 esac 1370 eval with_$ac_useropt=no ;; 1371 1372 --x) 1373 # Obsolete; use --with-x. 1374 with_x=yes ;; 1375 1376 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1377 | --x-incl | --x-inc | --x-in | --x-i) 1378 ac_prev=x_includes ;; 1379 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1380 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1381 x_includes=$ac_optarg ;; 1382 1383 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1384 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1385 ac_prev=x_libraries ;; 1386 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1387 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1388 x_libraries=$ac_optarg ;; 1389 1390 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1391Try \`$0 --help' for more information" 1392 ;; 1393 1394 *=*) 1395 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1396 # Reject names that are not valid shell variable names. 1397 case $ac_envvar in #( 1398 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1399 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1400 esac 1401 eval $ac_envvar=\$ac_optarg 1402 export $ac_envvar ;; 1403 1404 *) 1405 # FIXME: should be removed in autoconf 3.0. 1406 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1407 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1408 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1409 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1410 ;; 1411 1412 esac 1413done 1414 1415if test -n "$ac_prev"; then 1416 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1417 as_fn_error $? "missing argument to $ac_option" 1418fi 1419 1420if test -n "$ac_unrecognized_opts"; then 1421 case $enable_option_checking in 1422 no) ;; 1423 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1424 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1425 esac 1426fi 1427 1428# Check all directory arguments for consistency. 1429for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1430 datadir sysconfdir sharedstatedir localstatedir includedir \ 1431 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1432 libdir localedir mandir runstatedir 1433do 1434 eval ac_val=\$$ac_var 1435 # Remove trailing slashes. 1436 case $ac_val in 1437 */ ) 1438 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1439 eval $ac_var=\$ac_val;; 1440 esac 1441 # Be sure to have absolute directory names. 1442 case $ac_val in 1443 [\\/$]* | ?:[\\/]* ) continue;; 1444 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1445 esac 1446 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1447done 1448 1449# There might be people who depend on the old broken behavior: `$host' 1450# used to hold the argument of --host etc. 1451# FIXME: To remove some day. 1452build=$build_alias 1453host=$host_alias 1454target=$target_alias 1455 1456# FIXME: To remove some day. 1457if test "x$host_alias" != x; then 1458 if test "x$build_alias" = x; then 1459 cross_compiling=maybe 1460 elif test "x$build_alias" != "x$host_alias"; then 1461 cross_compiling=yes 1462 fi 1463fi 1464 1465ac_tool_prefix= 1466test -n "$host_alias" && ac_tool_prefix=$host_alias- 1467 1468test "$silent" = yes && exec 6>/dev/null 1469 1470 1471ac_pwd=`pwd` && test -n "$ac_pwd" && 1472ac_ls_di=`ls -di .` && 1473ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1474 as_fn_error $? "working directory cannot be determined" 1475test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1476 as_fn_error $? "pwd does not report name of working directory" 1477 1478 1479# Find the source files, if location was not specified. 1480if test -z "$srcdir"; then 1481 ac_srcdir_defaulted=yes 1482 # Try the directory containing this script, then the parent directory. 1483 ac_confdir=`$as_dirname -- "$as_myself" || 1484$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1485 X"$as_myself" : 'X\(//\)[^/]' \| \ 1486 X"$as_myself" : 'X\(//\)$' \| \ 1487 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1488$as_echo X"$as_myself" | 1489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1490 s//\1/ 1491 q 1492 } 1493 /^X\(\/\/\)[^/].*/{ 1494 s//\1/ 1495 q 1496 } 1497 /^X\(\/\/\)$/{ 1498 s//\1/ 1499 q 1500 } 1501 /^X\(\/\).*/{ 1502 s//\1/ 1503 q 1504 } 1505 s/.*/./; q'` 1506 srcdir=$ac_confdir 1507 if test ! -r "$srcdir/$ac_unique_file"; then 1508 srcdir=.. 1509 fi 1510else 1511 ac_srcdir_defaulted=no 1512fi 1513if test ! -r "$srcdir/$ac_unique_file"; then 1514 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1515 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1516fi 1517ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1518ac_abs_confdir=`( 1519 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1520 pwd)` 1521# When building in place, set srcdir=. 1522if test "$ac_abs_confdir" = "$ac_pwd"; then 1523 srcdir=. 1524fi 1525# Remove unnecessary trailing slashes from srcdir. 1526# Double slashes in file names in object file debugging info 1527# mess up M-x gdb in Emacs. 1528case $srcdir in 1529*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1530esac 1531for ac_var in $ac_precious_vars; do 1532 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1533 eval ac_env_${ac_var}_value=\$${ac_var} 1534 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1535 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1536done 1537 1538# 1539# Report the --help message. 1540# 1541if test "$ac_init_help" = "long"; then 1542 # Omit some internal or obsolete options to make the list less imposing. 1543 # This message is too long to be a string in the A/UX 3.1 sh. 1544 cat <<_ACEOF 1545\`configure' configures tumbler 4.16.0 to adapt to many kinds of systems. 1546 1547Usage: $0 [OPTION]... [VAR=VALUE]... 1548 1549To assign environment variables (e.g., CC, CFLAGS...), specify them as 1550VAR=VALUE. See below for descriptions of some of the useful variables. 1551 1552Defaults for the options are specified in brackets. 1553 1554Configuration: 1555 -h, --help display this help and exit 1556 --help=short display options specific to this package 1557 --help=recursive display the short help of all the included packages 1558 -V, --version display version information and exit 1559 -q, --quiet, --silent do not print \`checking ...' messages 1560 --cache-file=FILE cache test results in FILE [disabled] 1561 -C, --config-cache alias for \`--cache-file=config.cache' 1562 -n, --no-create do not create output files 1563 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1564 1565Installation directories: 1566 --prefix=PREFIX install architecture-independent files in PREFIX 1567 [$ac_default_prefix] 1568 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1569 [PREFIX] 1570 1571By default, \`make install' will install all the files in 1572\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1573an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1574for instance \`--prefix=\$HOME'. 1575 1576For better control, use the options below. 1577 1578Fine tuning of the installation directories: 1579 --bindir=DIR user executables [EPREFIX/bin] 1580 --sbindir=DIR system admin executables [EPREFIX/sbin] 1581 --libexecdir=DIR program executables [EPREFIX/libexec] 1582 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1583 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1584 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1585 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1586 --libdir=DIR object code libraries [EPREFIX/lib] 1587 --includedir=DIR C header files [PREFIX/include] 1588 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1589 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1590 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1591 --infodir=DIR info documentation [DATAROOTDIR/info] 1592 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1593 --mandir=DIR man documentation [DATAROOTDIR/man] 1594 --docdir=DIR documentation root [DATAROOTDIR/doc/tumbler] 1595 --htmldir=DIR html documentation [DOCDIR] 1596 --dvidir=DIR dvi documentation [DOCDIR] 1597 --pdfdir=DIR pdf documentation [DOCDIR] 1598 --psdir=DIR ps documentation [DOCDIR] 1599_ACEOF 1600 1601 cat <<\_ACEOF 1602 1603Program names: 1604 --program-prefix=PREFIX prepend PREFIX to installed program names 1605 --program-suffix=SUFFIX append SUFFIX to installed program names 1606 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1607 1608System types: 1609 --build=BUILD configure for building on BUILD [guessed] 1610 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1611 --target=TARGET configure for building compilers for TARGET [HOST] 1612_ACEOF 1613fi 1614 1615if test -n "$ac_init_help"; then 1616 case $ac_init_help in 1617 short | recursive ) echo "Configuration of tumbler 4.16.0:";; 1618 esac 1619 cat <<\_ACEOF 1620 1621Optional Features: 1622 --disable-option-checking ignore unrecognized --enable/--with options 1623 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1624 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1625 --enable-silent-rules less verbose build output (undo: "make V=1") 1626 --disable-silent-rules verbose build output (undo: "make V=0") 1627 --enable-maintainer-mode 1628 enable make rules and dependencies not useful (and 1629 sometimes confusing) to the casual installer 1630 --enable-dependency-tracking 1631 do not reject slow dependency extractors 1632 --disable-dependency-tracking 1633 speeds up one-time build 1634 --disable-nls do not use Native Language Support 1635 --enable-static[=PKGS] build static libraries [default=no] 1636 --enable-shared[=PKGS] build shared libraries [default=yes] 1637 --enable-fast-install[=PKGS] 1638 optimize for fast installation [default=yes] 1639 --disable-libtool-lock avoid locking (might break parallel builds) 1640 --enable-gtk-doc use gtk-doc to build documentation [[default=no]] 1641 --enable-gtk-doc-html build documentation in html format [[default=yes]] 1642 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] 1643 --disable-cover-thumbnailer 1644 Don't build the Cover thumbnailer plugin 1645 --disable-font-thumbnailer 1646 Don't build the FreeType font thumbnailer plugin 1647 --disable-jpeg-thumbnailer 1648 Don't build the JPEG thumbnailer plugin with EXIF 1649 support 1650 --disable-pixbuf-thumbnailer 1651 Don't build the GdkPixbuf thumbnailer plugin 1652 --disable-ffmpeg-thumbnailer 1653 Don't build the ffmpeg video thumbnailer plugin 1654 --disable-gstreamer-thumbnailer 1655 Don't build the GStreamer video thumbnailer plugin 1656 --disable-odf-thumbnailer 1657 Don't build the office thumbnailer plugin 1658 --disable-poppler-thumbnailer 1659 Don't build the poppler PDF/PS thumbnailer plugin 1660 --disable-raw-thumbnailer 1661 Don't build the RAW image thumbnailer plugin 1662 --disable-xdg-cache Don't build the freedesktop.org cache plugin 1663 --disable-desktop-thumbnailer 1664 Don't build the plugin support for loading 1665 thumbnailers *.thumbnailer files 1666 --disable-gepub-thumbnailer 1667 Don't build the libgepub thumbnailer plugin 1668 --enable-debug[=no|minimum|yes|full] 1669 Build with debugging support [default=[]] 1670 --disable-debug Include no debugging support 1671 --disable-linker-opts Disable linker optimizations 1672 1673Optional Packages: 1674 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1675 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1676 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1677 both] 1678 --with-aix-soname=aix|svr4|both 1679 shared library versioning (aka "SONAME") variant to 1680 provide on AIX, [default=aix]. 1681 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1682 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1683 compiler's sysroot if not specified). 1684 1685 --with-locales-dir=DIR Install locales into DIR 1686 1687 --with-html-dir=PATH path to installed docs 1688 1689Some influential environment variables: 1690 CC C compiler command 1691 CFLAGS C compiler flags 1692 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1693 nonstandard directory <lib dir> 1694 LIBS libraries to pass to the linker, e.g. -l<library> 1695 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1696 you have headers in a nonstandard directory <include dir> 1697 CPP C preprocessor 1698 CCAS assembler compiler command (defaults to CC) 1699 CCASFLAGS assembler compiler flags (defaults to CFLAGS) 1700 LT_SYS_LIBRARY_PATH 1701 User-defined run-time library search path. 1702 PKG_CONFIG path to pkg-config utility 1703 PKG_CONFIG_PATH 1704 directories to add to pkg-config's search path 1705 PKG_CONFIG_LIBDIR 1706 path overriding pkg-config's built-in search path 1707 GTKDOC_DEPS_CFLAGS 1708 C compiler flags for GTKDOC_DEPS, overriding pkg-config 1709 GTKDOC_DEPS_LIBS 1710 linker flags for GTKDOC_DEPS, overriding pkg-config 1711 GDBUS_CODEGEN 1712 D-Bus code and documentation generator from XML D-Bus interface 1713 definitions 1714 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1715 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1716 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config 1717 GIO_LIBS linker flags for GIO, overriding pkg-config 1718 GIO_UNIX_CFLAGS 1719 C compiler flags for GIO_UNIX, overriding pkg-config 1720 GIO_UNIX_LIBS 1721 linker flags for GIO_UNIX, overriding pkg-config 1722 GMODULE_CFLAGS 1723 C compiler flags for GMODULE, overriding pkg-config 1724 GMODULE_LIBS 1725 linker flags for GMODULE, overriding pkg-config 1726 GTHREAD_CFLAGS 1727 C compiler flags for GTHREAD, overriding pkg-config 1728 GTHREAD_LIBS 1729 linker flags for GTHREAD, overriding pkg-config 1730 GDK_PIXBUF_CFLAGS 1731 C compiler flags for GDK_PIXBUF, overriding pkg-config 1732 GDK_PIXBUF_LIBS 1733 linker flags for GDK_PIXBUF, overriding pkg-config 1734 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config 1735 CURL_LIBS linker flags for CURL, overriding pkg-config 1736 FREETYPE_CFLAGS 1737 C compiler flags for FREETYPE, overriding pkg-config 1738 FREETYPE_LIBS 1739 linker flags for FREETYPE, overriding pkg-config 1740 FFMPEGTHUMBNAILER_CFLAGS 1741 C compiler flags for FFMPEGTHUMBNAILER, overriding pkg-config 1742 FFMPEGTHUMBNAILER_LIBS 1743 linker flags for FFMPEGTHUMBNAILER, overriding pkg-config 1744 GSTREAMER_CFLAGS 1745 C compiler flags for GSTREAMER, overriding pkg-config 1746 GSTREAMER_LIBS 1747 linker flags for GSTREAMER, overriding pkg-config 1748 GSTREAMER_TAG_CFLAGS 1749 C compiler flags for GSTREAMER_TAG, overriding pkg-config 1750 GSTREAMER_TAG_LIBS 1751 linker flags for GSTREAMER_TAG, overriding pkg-config 1752 GSF_CFLAGS C compiler flags for GSF, overriding pkg-config 1753 GSF_LIBS linker flags for GSF, overriding pkg-config 1754 POPPLER_GLIB_CFLAGS 1755 C compiler flags for POPPLER_GLIB, overriding pkg-config 1756 POPPLER_GLIB_LIBS 1757 linker flags for POPPLER_GLIB, overriding pkg-config 1758 LIBOPENRAW_GNOME_CFLAGS 1759 C compiler flags for LIBOPENRAW_GNOME, overriding pkg-config 1760 LIBOPENRAW_GNOME_LIBS 1761 linker flags for LIBOPENRAW_GNOME, overriding pkg-config 1762 PNG_CFLAGS C compiler flags for PNG, overriding pkg-config 1763 PNG_LIBS linker flags for PNG, overriding pkg-config 1764 GEPUB_CFLAGS 1765 C compiler flags for GEPUB, overriding pkg-config 1766 GEPUB_LIBS linker flags for GEPUB, overriding pkg-config 1767 1768Use these variables to override the choices made by `configure' or to help 1769it to find libraries and programs with nonstandard names/locations. 1770 1771Report bugs to <https://gitlab.xfce.org/xfce/tumbler>. 1772_ACEOF 1773ac_status=$? 1774fi 1775 1776if test "$ac_init_help" = "recursive"; then 1777 # If there are subdirs, report their specific --help. 1778 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1779 test -d "$ac_dir" || 1780 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1781 continue 1782 ac_builddir=. 1783 1784case "$ac_dir" in 1785.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1786*) 1787 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1788 # A ".." for each directory in $ac_dir_suffix. 1789 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1790 case $ac_top_builddir_sub in 1791 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1792 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1793 esac ;; 1794esac 1795ac_abs_top_builddir=$ac_pwd 1796ac_abs_builddir=$ac_pwd$ac_dir_suffix 1797# for backward compatibility: 1798ac_top_builddir=$ac_top_build_prefix 1799 1800case $srcdir in 1801 .) # We are building in place. 1802 ac_srcdir=. 1803 ac_top_srcdir=$ac_top_builddir_sub 1804 ac_abs_top_srcdir=$ac_pwd ;; 1805 [\\/]* | ?:[\\/]* ) # Absolute name. 1806 ac_srcdir=$srcdir$ac_dir_suffix; 1807 ac_top_srcdir=$srcdir 1808 ac_abs_top_srcdir=$srcdir ;; 1809 *) # Relative name. 1810 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1811 ac_top_srcdir=$ac_top_build_prefix$srcdir 1812 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1813esac 1814ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1815 1816 cd "$ac_dir" || { ac_status=$?; continue; } 1817 # Check for guested configure. 1818 if test -f "$ac_srcdir/configure.gnu"; then 1819 echo && 1820 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1821 elif test -f "$ac_srcdir/configure"; then 1822 echo && 1823 $SHELL "$ac_srcdir/configure" --help=recursive 1824 else 1825 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1826 fi || ac_status=$? 1827 cd "$ac_pwd" || { ac_status=$?; break; } 1828 done 1829fi 1830 1831test -n "$ac_init_help" && exit $ac_status 1832if $ac_init_version; then 1833 cat <<\_ACEOF 1834tumbler configure 4.16.0 1835generated by GNU Autoconf 2.69 1836 1837Copyright (C) 2012 Free Software Foundation, Inc. 1838This configure script is free software; the Free Software Foundation 1839gives unlimited permission to copy, distribute and modify it. 1840 1841Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org> 1842 1843Copyright (c) 2016-2017 Ali Abdallah <ali@xfce.org> 1844_ACEOF 1845 exit 1846fi 1847 1848## ------------------------ ## 1849## Autoconf initialization. ## 1850## ------------------------ ## 1851 1852# ac_fn_c_try_compile LINENO 1853# -------------------------- 1854# Try to compile conftest.$ac_ext, and return whether this succeeded. 1855ac_fn_c_try_compile () 1856{ 1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1858 rm -f conftest.$ac_objext 1859 if { { ac_try="$ac_compile" 1860case "(($ac_try" in 1861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1862 *) ac_try_echo=$ac_try;; 1863esac 1864eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1865$as_echo "$ac_try_echo"; } >&5 1866 (eval "$ac_compile") 2>conftest.err 1867 ac_status=$? 1868 if test -s conftest.err; then 1869 grep -v '^ *+' conftest.err >conftest.er1 1870 cat conftest.er1 >&5 1871 mv -f conftest.er1 conftest.err 1872 fi 1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1874 test $ac_status = 0; } && { 1875 test -z "$ac_c_werror_flag" || 1876 test ! -s conftest.err 1877 } && test -s conftest.$ac_objext; then : 1878 ac_retval=0 1879else 1880 $as_echo "$as_me: failed program was:" >&5 1881sed 's/^/| /' conftest.$ac_ext >&5 1882 1883 ac_retval=1 1884fi 1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1886 as_fn_set_status $ac_retval 1887 1888} # ac_fn_c_try_compile 1889 1890# ac_fn_c_try_cpp LINENO 1891# ---------------------- 1892# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1893ac_fn_c_try_cpp () 1894{ 1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1896 if { { ac_try="$ac_cpp conftest.$ac_ext" 1897case "(($ac_try" in 1898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1899 *) ac_try_echo=$ac_try;; 1900esac 1901eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1902$as_echo "$ac_try_echo"; } >&5 1903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1904 ac_status=$? 1905 if test -s conftest.err; then 1906 grep -v '^ *+' conftest.err >conftest.er1 1907 cat conftest.er1 >&5 1908 mv -f conftest.er1 conftest.err 1909 fi 1910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1911 test $ac_status = 0; } > conftest.i && { 1912 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1913 test ! -s conftest.err 1914 }; then : 1915 ac_retval=0 1916else 1917 $as_echo "$as_me: failed program was:" >&5 1918sed 's/^/| /' conftest.$ac_ext >&5 1919 1920 ac_retval=1 1921fi 1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1923 as_fn_set_status $ac_retval 1924 1925} # ac_fn_c_try_cpp 1926 1927# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1928# ------------------------------------------------------- 1929# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1930# the include files in INCLUDES and setting the cache variable VAR 1931# accordingly. 1932ac_fn_c_check_header_mongrel () 1933{ 1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1935 if eval \${$3+:} false; then : 1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1937$as_echo_n "checking for $2... " >&6; } 1938if eval \${$3+:} false; then : 1939 $as_echo_n "(cached) " >&6 1940fi 1941eval ac_res=\$$3 1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1943$as_echo "$ac_res" >&6; } 1944else 1945 # Is the header compilable? 1946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1947$as_echo_n "checking $2 usability... " >&6; } 1948cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1949/* end confdefs.h. */ 1950$4 1951#include <$2> 1952_ACEOF 1953if ac_fn_c_try_compile "$LINENO"; then : 1954 ac_header_compiler=yes 1955else 1956 ac_header_compiler=no 1957fi 1958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1960$as_echo "$ac_header_compiler" >&6; } 1961 1962# Is the header present? 1963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1964$as_echo_n "checking $2 presence... " >&6; } 1965cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1966/* end confdefs.h. */ 1967#include <$2> 1968_ACEOF 1969if ac_fn_c_try_cpp "$LINENO"; then : 1970 ac_header_preproc=yes 1971else 1972 ac_header_preproc=no 1973fi 1974rm -f conftest.err conftest.i conftest.$ac_ext 1975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1976$as_echo "$ac_header_preproc" >&6; } 1977 1978# So? What about this header? 1979case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1980 yes:no: ) 1981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1982$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1984$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1985 ;; 1986 no:yes:* ) 1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1988$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1990$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1992$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1994$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1996$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1997( $as_echo "## --------------------------------------------------- ## 1998## Report this to https://gitlab.xfce.org/xfce/tumbler ## 1999## --------------------------------------------------- ##" 2000 ) | sed "s/^/$as_me: WARNING: /" >&2 2001 ;; 2002esac 2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2004$as_echo_n "checking for $2... " >&6; } 2005if eval \${$3+:} false; then : 2006 $as_echo_n "(cached) " >&6 2007else 2008 eval "$3=\$ac_header_compiler" 2009fi 2010eval ac_res=\$$3 2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2012$as_echo "$ac_res" >&6; } 2013fi 2014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2015 2016} # ac_fn_c_check_header_mongrel 2017 2018# ac_fn_c_try_run LINENO 2019# ---------------------- 2020# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2021# that executables *can* be run. 2022ac_fn_c_try_run () 2023{ 2024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2025 if { { ac_try="$ac_link" 2026case "(($ac_try" in 2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2028 *) ac_try_echo=$ac_try;; 2029esac 2030eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2031$as_echo "$ac_try_echo"; } >&5 2032 (eval "$ac_link") 2>&5 2033 ac_status=$? 2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2035 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2036 { { case "(($ac_try" in 2037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2038 *) ac_try_echo=$ac_try;; 2039esac 2040eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2041$as_echo "$ac_try_echo"; } >&5 2042 (eval "$ac_try") 2>&5 2043 ac_status=$? 2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2045 test $ac_status = 0; }; }; then : 2046 ac_retval=0 2047else 2048 $as_echo "$as_me: program exited with status $ac_status" >&5 2049 $as_echo "$as_me: failed program was:" >&5 2050sed 's/^/| /' conftest.$ac_ext >&5 2051 2052 ac_retval=$ac_status 2053fi 2054 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2056 as_fn_set_status $ac_retval 2057 2058} # ac_fn_c_try_run 2059 2060# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2061# ------------------------------------------------------- 2062# Tests whether HEADER exists and can be compiled using the include files in 2063# INCLUDES, setting the cache variable VAR accordingly. 2064ac_fn_c_check_header_compile () 2065{ 2066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2068$as_echo_n "checking for $2... " >&6; } 2069if eval \${$3+:} false; then : 2070 $as_echo_n "(cached) " >&6 2071else 2072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2073/* end confdefs.h. */ 2074$4 2075#include <$2> 2076_ACEOF 2077if ac_fn_c_try_compile "$LINENO"; then : 2078 eval "$3=yes" 2079else 2080 eval "$3=no" 2081fi 2082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2083fi 2084eval ac_res=\$$3 2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2086$as_echo "$ac_res" >&6; } 2087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2088 2089} # ac_fn_c_check_header_compile 2090 2091# ac_fn_c_try_link LINENO 2092# ----------------------- 2093# Try to link conftest.$ac_ext, and return whether this succeeded. 2094ac_fn_c_try_link () 2095{ 2096 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2097 rm -f conftest.$ac_objext conftest$ac_exeext 2098 if { { ac_try="$ac_link" 2099case "(($ac_try" in 2100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2101 *) ac_try_echo=$ac_try;; 2102esac 2103eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2104$as_echo "$ac_try_echo"; } >&5 2105 (eval "$ac_link") 2>conftest.err 2106 ac_status=$? 2107 if test -s conftest.err; then 2108 grep -v '^ *+' conftest.err >conftest.er1 2109 cat conftest.er1 >&5 2110 mv -f conftest.er1 conftest.err 2111 fi 2112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2113 test $ac_status = 0; } && { 2114 test -z "$ac_c_werror_flag" || 2115 test ! -s conftest.err 2116 } && test -s conftest$ac_exeext && { 2117 test "$cross_compiling" = yes || 2118 test -x conftest$ac_exeext 2119 }; then : 2120 ac_retval=0 2121else 2122 $as_echo "$as_me: failed program was:" >&5 2123sed 's/^/| /' conftest.$ac_ext >&5 2124 2125 ac_retval=1 2126fi 2127 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2128 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2129 # interfere with the next link command; also delete a directory that is 2130 # left behind by Apple's compiler. We do this before executing the actions. 2131 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2133 as_fn_set_status $ac_retval 2134 2135} # ac_fn_c_try_link 2136 2137# ac_fn_c_check_func LINENO FUNC VAR 2138# ---------------------------------- 2139# Tests whether FUNC exists, setting the cache variable VAR accordingly 2140ac_fn_c_check_func () 2141{ 2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2144$as_echo_n "checking for $2... " >&6; } 2145if eval \${$3+:} false; then : 2146 $as_echo_n "(cached) " >&6 2147else 2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2149/* end confdefs.h. */ 2150/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2151 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2152#define $2 innocuous_$2 2153 2154/* System header to define __stub macros and hopefully few prototypes, 2155 which can conflict with char $2 (); below. 2156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2157 <limits.h> exists even on freestanding compilers. */ 2158 2159#ifdef __STDC__ 2160# include <limits.h> 2161#else 2162# include <assert.h> 2163#endif 2164 2165#undef $2 2166 2167/* Override any GCC internal prototype to avoid an error. 2168 Use char because int might match the return type of a GCC 2169 builtin and then its argument prototype would still apply. */ 2170#ifdef __cplusplus 2171extern "C" 2172#endif 2173char $2 (); 2174/* The GNU C library defines this for functions which it implements 2175 to always fail with ENOSYS. Some functions are actually named 2176 something starting with __ and the normal name is an alias. */ 2177#if defined __stub_$2 || defined __stub___$2 2178choke me 2179#endif 2180 2181int 2182main () 2183{ 2184return $2 (); 2185 ; 2186 return 0; 2187} 2188_ACEOF 2189if ac_fn_c_try_link "$LINENO"; then : 2190 eval "$3=yes" 2191else 2192 eval "$3=no" 2193fi 2194rm -f core conftest.err conftest.$ac_objext \ 2195 conftest$ac_exeext conftest.$ac_ext 2196fi 2197eval ac_res=\$$3 2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2199$as_echo "$ac_res" >&6; } 2200 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2201 2202} # ac_fn_c_check_func 2203cat >config.log <<_ACEOF 2204This file contains any messages produced by compilers while 2205running configure, to aid debugging if configure makes a mistake. 2206 2207It was created by tumbler $as_me 4.16.0, which was 2208generated by GNU Autoconf 2.69. Invocation command line was 2209 2210 $ $0 $@ 2211 2212_ACEOF 2213exec 5>>config.log 2214{ 2215cat <<_ASUNAME 2216## --------- ## 2217## Platform. ## 2218## --------- ## 2219 2220hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2221uname -m = `(uname -m) 2>/dev/null || echo unknown` 2222uname -r = `(uname -r) 2>/dev/null || echo unknown` 2223uname -s = `(uname -s) 2>/dev/null || echo unknown` 2224uname -v = `(uname -v) 2>/dev/null || echo unknown` 2225 2226/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2227/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2228 2229/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2230/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2231/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2232/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2233/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2234/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2235/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2236 2237_ASUNAME 2238 2239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2240for as_dir in $PATH 2241do 2242 IFS=$as_save_IFS 2243 test -z "$as_dir" && as_dir=. 2244 $as_echo "PATH: $as_dir" 2245 done 2246IFS=$as_save_IFS 2247 2248} >&5 2249 2250cat >&5 <<_ACEOF 2251 2252 2253## ----------- ## 2254## Core tests. ## 2255## ----------- ## 2256 2257_ACEOF 2258 2259 2260# Keep a trace of the command line. 2261# Strip out --no-create and --no-recursion so they do not pile up. 2262# Strip out --silent because we don't want to record it for future runs. 2263# Also quote any args containing shell meta-characters. 2264# Make two passes to allow for proper duplicate-argument suppression. 2265ac_configure_args= 2266ac_configure_args0= 2267ac_configure_args1= 2268ac_must_keep_next=false 2269for ac_pass in 1 2 2270do 2271 for ac_arg 2272 do 2273 case $ac_arg in 2274 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2276 | -silent | --silent | --silen | --sile | --sil) 2277 continue ;; 2278 *\'*) 2279 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2280 esac 2281 case $ac_pass in 2282 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2283 2) 2284 as_fn_append ac_configure_args1 " '$ac_arg'" 2285 if test $ac_must_keep_next = true; then 2286 ac_must_keep_next=false # Got value, back to normal. 2287 else 2288 case $ac_arg in 2289 *=* | --config-cache | -C | -disable-* | --disable-* \ 2290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2292 | -with-* | --with-* | -without-* | --without-* | --x) 2293 case "$ac_configure_args0 " in 2294 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2295 esac 2296 ;; 2297 -* ) ac_must_keep_next=true ;; 2298 esac 2299 fi 2300 as_fn_append ac_configure_args " '$ac_arg'" 2301 ;; 2302 esac 2303 done 2304done 2305{ ac_configure_args0=; unset ac_configure_args0;} 2306{ ac_configure_args1=; unset ac_configure_args1;} 2307 2308# When interrupted or exit'd, cleanup temporary files, and complete 2309# config.log. We remove comments because anyway the quotes in there 2310# would cause problems or look ugly. 2311# WARNING: Use '\'' to represent an apostrophe within the trap. 2312# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2313trap 'exit_status=$? 2314 # Save into config.log some information that might help in debugging. 2315 { 2316 echo 2317 2318 $as_echo "## ---------------- ## 2319## Cache variables. ## 2320## ---------------- ##" 2321 echo 2322 # The following way of writing the cache mishandles newlines in values, 2323( 2324 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2325 eval ac_val=\$$ac_var 2326 case $ac_val in #( 2327 *${as_nl}*) 2328 case $ac_var in #( 2329 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2330$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2331 esac 2332 case $ac_var in #( 2333 _ | IFS | as_nl) ;; #( 2334 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2335 *) { eval $ac_var=; unset $ac_var;} ;; 2336 esac ;; 2337 esac 2338 done 2339 (set) 2>&1 | 2340 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2341 *${as_nl}ac_space=\ *) 2342 sed -n \ 2343 "s/'\''/'\''\\\\'\'''\''/g; 2344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2345 ;; #( 2346 *) 2347 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2348 ;; 2349 esac | 2350 sort 2351) 2352 echo 2353 2354 $as_echo "## ----------------- ## 2355## Output variables. ## 2356## ----------------- ##" 2357 echo 2358 for ac_var in $ac_subst_vars 2359 do 2360 eval ac_val=\$$ac_var 2361 case $ac_val in 2362 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2363 esac 2364 $as_echo "$ac_var='\''$ac_val'\''" 2365 done | sort 2366 echo 2367 2368 if test -n "$ac_subst_files"; then 2369 $as_echo "## ------------------- ## 2370## File substitutions. ## 2371## ------------------- ##" 2372 echo 2373 for ac_var in $ac_subst_files 2374 do 2375 eval ac_val=\$$ac_var 2376 case $ac_val in 2377 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2378 esac 2379 $as_echo "$ac_var='\''$ac_val'\''" 2380 done | sort 2381 echo 2382 fi 2383 2384 if test -s confdefs.h; then 2385 $as_echo "## ----------- ## 2386## confdefs.h. ## 2387## ----------- ##" 2388 echo 2389 cat confdefs.h 2390 echo 2391 fi 2392 test "$ac_signal" != 0 && 2393 $as_echo "$as_me: caught signal $ac_signal" 2394 $as_echo "$as_me: exit $exit_status" 2395 } >&5 2396 rm -f core *.core core.conftest.* && 2397 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2398 exit $exit_status 2399' 0 2400for ac_signal in 1 2 13 15; do 2401 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2402done 2403ac_signal=0 2404 2405# confdefs.h avoids OS command line length limits that DEFS can exceed. 2406rm -f -r conftest* confdefs.h 2407 2408$as_echo "/* confdefs.h */" > confdefs.h 2409 2410# Predefined preprocessor variables. 2411 2412cat >>confdefs.h <<_ACEOF 2413#define PACKAGE_NAME "$PACKAGE_NAME" 2414_ACEOF 2415 2416cat >>confdefs.h <<_ACEOF 2417#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2418_ACEOF 2419 2420cat >>confdefs.h <<_ACEOF 2421#define PACKAGE_VERSION "$PACKAGE_VERSION" 2422_ACEOF 2423 2424cat >>confdefs.h <<_ACEOF 2425#define PACKAGE_STRING "$PACKAGE_STRING" 2426_ACEOF 2427 2428cat >>confdefs.h <<_ACEOF 2429#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2430_ACEOF 2431 2432cat >>confdefs.h <<_ACEOF 2433#define PACKAGE_URL "$PACKAGE_URL" 2434_ACEOF 2435 2436 2437# Let the site file select an alternate cache file if it wants to. 2438# Prefer an explicitly selected file to automatically selected ones. 2439ac_site_file1=NONE 2440ac_site_file2=NONE 2441if test -n "$CONFIG_SITE"; then 2442 # We do not want a PATH search for config.site. 2443 case $CONFIG_SITE in #(( 2444 -*) ac_site_file1=./$CONFIG_SITE;; 2445 */*) ac_site_file1=$CONFIG_SITE;; 2446 *) ac_site_file1=./$CONFIG_SITE;; 2447 esac 2448elif test "x$prefix" != xNONE; then 2449 ac_site_file1=$prefix/share/config.site 2450 ac_site_file2=$prefix/etc/config.site 2451else 2452 ac_site_file1=$ac_default_prefix/share/config.site 2453 ac_site_file2=$ac_default_prefix/etc/config.site 2454fi 2455for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2456do 2457 test "x$ac_site_file" = xNONE && continue 2458 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2459 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2460$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2461 sed 's/^/| /' "$ac_site_file" >&5 2462 . "$ac_site_file" \ 2463 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2464$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2465as_fn_error $? "failed to load site script $ac_site_file 2466See \`config.log' for more details" "$LINENO" 5; } 2467 fi 2468done 2469 2470if test -r "$cache_file"; then 2471 # Some versions of bash will fail to source /dev/null (special files 2472 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2473 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2474 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2475$as_echo "$as_me: loading cache $cache_file" >&6;} 2476 case $cache_file in 2477 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2478 *) . "./$cache_file";; 2479 esac 2480 fi 2481else 2482 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2483$as_echo "$as_me: creating cache $cache_file" >&6;} 2484 >$cache_file 2485fi 2486 2487as_fn_append ac_header_list " stdlib.h" 2488as_fn_append ac_header_list " unistd.h" 2489as_fn_append ac_header_list " sys/param.h" 2490# Check that the precious variables saved in the cache have kept the same 2491# value. 2492ac_cache_corrupted=false 2493for ac_var in $ac_precious_vars; do 2494 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2495 eval ac_new_set=\$ac_env_${ac_var}_set 2496 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2497 eval ac_new_val=\$ac_env_${ac_var}_value 2498 case $ac_old_set,$ac_new_set in 2499 set,) 2500 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2501$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2502 ac_cache_corrupted=: ;; 2503 ,set) 2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2505$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2506 ac_cache_corrupted=: ;; 2507 ,);; 2508 *) 2509 if test "x$ac_old_val" != "x$ac_new_val"; then 2510 # differences in whitespace do not lead to failure. 2511 ac_old_val_w=`echo x $ac_old_val` 2512 ac_new_val_w=`echo x $ac_new_val` 2513 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2515$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2516 ac_cache_corrupted=: 2517 else 2518 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2519$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2520 eval $ac_var=\$ac_old_val 2521 fi 2522 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2523$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2524 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2525$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2526 fi;; 2527 esac 2528 # Pass precious variables to config.status. 2529 if test "$ac_new_set" = set; then 2530 case $ac_new_val in 2531 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2532 *) ac_arg=$ac_var=$ac_new_val ;; 2533 esac 2534 case " $ac_configure_args " in 2535 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2536 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2537 esac 2538 fi 2539done 2540if $ac_cache_corrupted; then 2541 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2542$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2543 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2544$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2545 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2546fi 2547## -------------------- ## 2548## Main body of script. ## 2549## -------------------- ## 2550 2551ac_ext=c 2552ac_cpp='$CPP $CPPFLAGS' 2553ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2554ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2555ac_compiler_gnu=$ac_cv_c_compiler_gnu 2556 2557 2558 2559ac_aux_dir= 2560for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2561 if test -f "$ac_dir/install-sh"; then 2562 ac_aux_dir=$ac_dir 2563 ac_install_sh="$ac_aux_dir/install-sh -c" 2564 break 2565 elif test -f "$ac_dir/install.sh"; then 2566 ac_aux_dir=$ac_dir 2567 ac_install_sh="$ac_aux_dir/install.sh -c" 2568 break 2569 elif test -f "$ac_dir/shtool"; then 2570 ac_aux_dir=$ac_dir 2571 ac_install_sh="$ac_aux_dir/shtool install -c" 2572 break 2573 fi 2574done 2575if test -z "$ac_aux_dir"; then 2576 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2577fi 2578 2579# These three variables are undocumented and unsupported, 2580# and are intended to be withdrawn in a future Autoconf release. 2581# They can cause serious problems if a builder's source tree is in a directory 2582# whose full name contains unusual characters. 2583ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2584ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2585ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2586 2587 2588# Make sure we can run config.sub. 2589$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2590 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2591 2592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2593$as_echo_n "checking build system type... " >&6; } 2594if ${ac_cv_build+:} false; then : 2595 $as_echo_n "(cached) " >&6 2596else 2597 ac_build_alias=$build_alias 2598test "x$ac_build_alias" = x && 2599 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2600test "x$ac_build_alias" = x && 2601 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2602ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2603 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2604 2605fi 2606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2607$as_echo "$ac_cv_build" >&6; } 2608case $ac_cv_build in 2609*-*-*) ;; 2610*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2611esac 2612build=$ac_cv_build 2613ac_save_IFS=$IFS; IFS='-' 2614set x $ac_cv_build 2615shift 2616build_cpu=$1 2617build_vendor=$2 2618shift; shift 2619# Remember, the first character of IFS is used to create $*, 2620# except with old shells: 2621build_os=$* 2622IFS=$ac_save_IFS 2623case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2624 2625 2626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2627$as_echo_n "checking host system type... " >&6; } 2628if ${ac_cv_host+:} false; then : 2629 $as_echo_n "(cached) " >&6 2630else 2631 if test "x$host_alias" = x; then 2632 ac_cv_host=$ac_cv_build 2633else 2634 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2635 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2636fi 2637 2638fi 2639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2640$as_echo "$ac_cv_host" >&6; } 2641case $ac_cv_host in 2642*-*-*) ;; 2643*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2644esac 2645host=$ac_cv_host 2646ac_save_IFS=$IFS; IFS='-' 2647set x $ac_cv_host 2648shift 2649host_cpu=$1 2650host_vendor=$2 2651shift; shift 2652# Remember, the first character of IFS is used to create $*, 2653# except with old shells: 2654host_os=$* 2655IFS=$ac_save_IFS 2656case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2657 2658 2659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2660$as_echo_n "checking target system type... " >&6; } 2661if ${ac_cv_target+:} false; then : 2662 $as_echo_n "(cached) " >&6 2663else 2664 if test "x$target_alias" = x; then 2665 ac_cv_target=$ac_cv_host 2666else 2667 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2668 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2669fi 2670 2671fi 2672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2673$as_echo "$ac_cv_target" >&6; } 2674case $ac_cv_target in 2675*-*-*) ;; 2676*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2677esac 2678target=$ac_cv_target 2679ac_save_IFS=$IFS; IFS='-' 2680set x $ac_cv_target 2681shift 2682target_cpu=$1 2683target_vendor=$2 2684shift; shift 2685# Remember, the first character of IFS is used to create $*, 2686# except with old shells: 2687target_os=$* 2688IFS=$ac_save_IFS 2689case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2690 2691 2692# The aliases save the names the user supplied, while $host etc. 2693# will get canonicalized. 2694test -n "$target_alias" && 2695 test "$program_prefix$program_suffix$program_transform_name" = \ 2696 NONENONEs,x,x, && 2697 program_prefix=${target_alias}- 2698 2699am__api_version='1.16' 2700 2701# Find a good install program. We prefer a C program (faster), 2702# so one script is as good as another. But avoid the broken or 2703# incompatible versions: 2704# SysV /etc/install, /usr/sbin/install 2705# SunOS /usr/etc/install 2706# IRIX /sbin/install 2707# AIX /bin/install 2708# AmigaOS /C/install, which installs bootblocks on floppy discs 2709# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2710# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2711# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2712# OS/2's system install, which has a completely different semantic 2713# ./install, which can be erroneously created by make from ./install.sh. 2714# Reject install programs that cannot install multiple files. 2715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2716$as_echo_n "checking for a BSD-compatible install... " >&6; } 2717if test -z "$INSTALL"; then 2718if ${ac_cv_path_install+:} false; then : 2719 $as_echo_n "(cached) " >&6 2720else 2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2722for as_dir in $PATH 2723do 2724 IFS=$as_save_IFS 2725 test -z "$as_dir" && as_dir=. 2726 # Account for people who put trailing slashes in PATH elements. 2727case $as_dir/ in #(( 2728 ./ | .// | /[cC]/* | \ 2729 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2730 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2731 /usr/ucb/* ) ;; 2732 *) 2733 # OSF1 and SCO ODT 3.0 have their own names for install. 2734 # Don't use installbsd from OSF since it installs stuff as root 2735 # by default. 2736 for ac_prog in ginstall scoinst install; do 2737 for ac_exec_ext in '' $ac_executable_extensions; do 2738 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2739 if test $ac_prog = install && 2740 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2741 # AIX install. It has an incompatible calling convention. 2742 : 2743 elif test $ac_prog = install && 2744 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2745 # program-specific install script used by HP pwplus--don't use. 2746 : 2747 else 2748 rm -rf conftest.one conftest.two conftest.dir 2749 echo one > conftest.one 2750 echo two > conftest.two 2751 mkdir conftest.dir 2752 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2753 test -s conftest.one && test -s conftest.two && 2754 test -s conftest.dir/conftest.one && 2755 test -s conftest.dir/conftest.two 2756 then 2757 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2758 break 3 2759 fi 2760 fi 2761 fi 2762 done 2763 done 2764 ;; 2765esac 2766 2767 done 2768IFS=$as_save_IFS 2769 2770rm -rf conftest.one conftest.two conftest.dir 2771 2772fi 2773 if test "${ac_cv_path_install+set}" = set; then 2774 INSTALL=$ac_cv_path_install 2775 else 2776 # As a last resort, use the slow shell script. Don't cache a 2777 # value for INSTALL within a source directory, because that will 2778 # break other packages using the cache if that directory is 2779 # removed, or if the value is a relative name. 2780 INSTALL=$ac_install_sh 2781 fi 2782fi 2783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2784$as_echo "$INSTALL" >&6; } 2785 2786# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2787# It thinks the first close brace ends the variable substitution. 2788test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2789 2790test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2791 2792test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2793 2794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2795$as_echo_n "checking whether build environment is sane... " >&6; } 2796# Reject unsafe characters in $srcdir or the absolute working directory 2797# name. Accept space and tab only in the latter. 2798am_lf=' 2799' 2800case `pwd` in 2801 *[\\\"\#\$\&\'\`$am_lf]*) 2802 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2803esac 2804case $srcdir in 2805 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2806 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2807esac 2808 2809# Do 'set' in a subshell so we don't clobber the current shell's 2810# arguments. Must try -L first in case configure is actually a 2811# symlink; some systems play weird games with the mod time of symlinks 2812# (eg FreeBSD returns the mod time of the symlink's containing 2813# directory). 2814if ( 2815 am_has_slept=no 2816 for am_try in 1 2; do 2817 echo "timestamp, slept: $am_has_slept" > conftest.file 2818 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2819 if test "$*" = "X"; then 2820 # -L didn't work. 2821 set X `ls -t "$srcdir/configure" conftest.file` 2822 fi 2823 if test "$*" != "X $srcdir/configure conftest.file" \ 2824 && test "$*" != "X conftest.file $srcdir/configure"; then 2825 2826 # If neither matched, then we have a broken ls. This can happen 2827 # if, for instance, CONFIG_SHELL is bash and it inherits a 2828 # broken ls alias from the environment. This has actually 2829 # happened. Such a system could not be considered "sane". 2830 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2831 alias in your environment" "$LINENO" 5 2832 fi 2833 if test "$2" = conftest.file || test $am_try -eq 2; then 2834 break 2835 fi 2836 # Just in case. 2837 sleep 1 2838 am_has_slept=yes 2839 done 2840 test "$2" = conftest.file 2841 ) 2842then 2843 # Ok. 2844 : 2845else 2846 as_fn_error $? "newly created file is older than distributed files! 2847Check your system clock" "$LINENO" 5 2848fi 2849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2850$as_echo "yes" >&6; } 2851# If we didn't sleep, we still need to ensure time stamps of config.status and 2852# generated files are strictly newer. 2853am_sleep_pid= 2854if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2855 ( sleep 1 ) & 2856 am_sleep_pid=$! 2857fi 2858 2859rm -f conftest.file 2860 2861test "$program_prefix" != NONE && 2862 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2863# Use a double $ so make ignores it. 2864test "$program_suffix" != NONE && 2865 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2866# Double any \ or $. 2867# By default was `s,x,x', remove it if useless. 2868ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2869program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2870 2871# Expand $ac_aux_dir to an absolute path. 2872am_aux_dir=`cd "$ac_aux_dir" && pwd` 2873 2874if test x"${MISSING+set}" != xset; then 2875 case $am_aux_dir in 2876 *\ * | *\ *) 2877 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2878 *) 2879 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2880 esac 2881fi 2882# Use eval to expand $SHELL 2883if eval "$MISSING --is-lightweight"; then 2884 am_missing_run="$MISSING " 2885else 2886 am_missing_run= 2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2888$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2889fi 2890 2891if test x"${install_sh+set}" != xset; then 2892 case $am_aux_dir in 2893 *\ * | *\ *) 2894 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2895 *) 2896 install_sh="\${SHELL} $am_aux_dir/install-sh" 2897 esac 2898fi 2899 2900# Installed binaries are usually stripped using 'strip' when the user 2901# run "make install-strip". However 'strip' might not be the right 2902# tool to use in cross-compilation environments, therefore Automake 2903# will honor the 'STRIP' environment variable to overrule this program. 2904if test "$cross_compiling" != no; then 2905 if test -n "$ac_tool_prefix"; then 2906 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2907set dummy ${ac_tool_prefix}strip; ac_word=$2 2908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2909$as_echo_n "checking for $ac_word... " >&6; } 2910if ${ac_cv_prog_STRIP+:} false; then : 2911 $as_echo_n "(cached) " >&6 2912else 2913 if test -n "$STRIP"; then 2914 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2915else 2916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2917for as_dir in $PATH 2918do 2919 IFS=$as_save_IFS 2920 test -z "$as_dir" && as_dir=. 2921 for ac_exec_ext in '' $ac_executable_extensions; do 2922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2923 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2925 break 2 2926 fi 2927done 2928 done 2929IFS=$as_save_IFS 2930 2931fi 2932fi 2933STRIP=$ac_cv_prog_STRIP 2934if test -n "$STRIP"; then 2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2936$as_echo "$STRIP" >&6; } 2937else 2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2939$as_echo "no" >&6; } 2940fi 2941 2942 2943fi 2944if test -z "$ac_cv_prog_STRIP"; then 2945 ac_ct_STRIP=$STRIP 2946 # Extract the first word of "strip", so it can be a program name with args. 2947set dummy strip; ac_word=$2 2948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2949$as_echo_n "checking for $ac_word... " >&6; } 2950if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2951 $as_echo_n "(cached) " >&6 2952else 2953 if test -n "$ac_ct_STRIP"; then 2954 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2955else 2956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2957for as_dir in $PATH 2958do 2959 IFS=$as_save_IFS 2960 test -z "$as_dir" && as_dir=. 2961 for ac_exec_ext in '' $ac_executable_extensions; do 2962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2963 ac_cv_prog_ac_ct_STRIP="strip" 2964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2965 break 2 2966 fi 2967done 2968 done 2969IFS=$as_save_IFS 2970 2971fi 2972fi 2973ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2974if test -n "$ac_ct_STRIP"; then 2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2976$as_echo "$ac_ct_STRIP" >&6; } 2977else 2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2979$as_echo "no" >&6; } 2980fi 2981 2982 if test "x$ac_ct_STRIP" = x; then 2983 STRIP=":" 2984 else 2985 case $cross_compiling:$ac_tool_warned in 2986yes:) 2987{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2988$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2989ac_tool_warned=yes ;; 2990esac 2991 STRIP=$ac_ct_STRIP 2992 fi 2993else 2994 STRIP="$ac_cv_prog_STRIP" 2995fi 2996 2997fi 2998INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2999 3000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3001$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3002if test -z "$MKDIR_P"; then 3003 if ${ac_cv_path_mkdir+:} false; then : 3004 $as_echo_n "(cached) " >&6 3005else 3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3007for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3008do 3009 IFS=$as_save_IFS 3010 test -z "$as_dir" && as_dir=. 3011 for ac_prog in mkdir gmkdir; do 3012 for ac_exec_ext in '' $ac_executable_extensions; do 3013 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3014 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3015 'mkdir (GNU coreutils) '* | \ 3016 'mkdir (coreutils) '* | \ 3017 'mkdir (fileutils) '4.1*) 3018 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3019 break 3;; 3020 esac 3021 done 3022 done 3023 done 3024IFS=$as_save_IFS 3025 3026fi 3027 3028 test -d ./--version && rmdir ./--version 3029 if test "${ac_cv_path_mkdir+set}" = set; then 3030 MKDIR_P="$ac_cv_path_mkdir -p" 3031 else 3032 # As a last resort, use the slow shell script. Don't cache a 3033 # value for MKDIR_P within a source directory, because that will 3034 # break other packages using the cache if that directory is 3035 # removed, or if the value is a relative name. 3036 MKDIR_P="$ac_install_sh -d" 3037 fi 3038fi 3039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3040$as_echo "$MKDIR_P" >&6; } 3041 3042for ac_prog in gawk mawk nawk awk 3043do 3044 # Extract the first word of "$ac_prog", so it can be a program name with args. 3045set dummy $ac_prog; ac_word=$2 3046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3047$as_echo_n "checking for $ac_word... " >&6; } 3048if ${ac_cv_prog_AWK+:} false; then : 3049 $as_echo_n "(cached) " >&6 3050else 3051 if test -n "$AWK"; then 3052 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3053else 3054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3055for as_dir in $PATH 3056do 3057 IFS=$as_save_IFS 3058 test -z "$as_dir" && as_dir=. 3059 for ac_exec_ext in '' $ac_executable_extensions; do 3060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3061 ac_cv_prog_AWK="$ac_prog" 3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3063 break 2 3064 fi 3065done 3066 done 3067IFS=$as_save_IFS 3068 3069fi 3070fi 3071AWK=$ac_cv_prog_AWK 3072if test -n "$AWK"; then 3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3074$as_echo "$AWK" >&6; } 3075else 3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3077$as_echo "no" >&6; } 3078fi 3079 3080 3081 test -n "$AWK" && break 3082done 3083 3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3085$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3086set x ${MAKE-make} 3087ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3088if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3089 $as_echo_n "(cached) " >&6 3090else 3091 cat >conftest.make <<\_ACEOF 3092SHELL = /bin/sh 3093all: 3094 @echo '@@@%%%=$(MAKE)=@@@%%%' 3095_ACEOF 3096# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3097case `${MAKE-make} -f conftest.make 2>/dev/null` in 3098 *@@@%%%=?*=@@@%%%*) 3099 eval ac_cv_prog_make_${ac_make}_set=yes;; 3100 *) 3101 eval ac_cv_prog_make_${ac_make}_set=no;; 3102esac 3103rm -f conftest.make 3104fi 3105if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3107$as_echo "yes" >&6; } 3108 SET_MAKE= 3109else 3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3111$as_echo "no" >&6; } 3112 SET_MAKE="MAKE=${MAKE-make}" 3113fi 3114 3115rm -rf .tst 2>/dev/null 3116mkdir .tst 2>/dev/null 3117if test -d .tst; then 3118 am__leading_dot=. 3119else 3120 am__leading_dot=_ 3121fi 3122rmdir .tst 2>/dev/null 3123 3124# Check whether --enable-silent-rules was given. 3125if test "${enable_silent_rules+set}" = set; then : 3126 enableval=$enable_silent_rules; 3127fi 3128 3129case $enable_silent_rules in # ((( 3130 yes) AM_DEFAULT_VERBOSITY=0;; 3131 no) AM_DEFAULT_VERBOSITY=1;; 3132 *) AM_DEFAULT_VERBOSITY=1;; 3133esac 3134am_make=${MAKE-make} 3135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3136$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3137if ${am_cv_make_support_nested_variables+:} false; then : 3138 $as_echo_n "(cached) " >&6 3139else 3140 if $as_echo 'TRUE=$(BAR$(V)) 3141BAR0=false 3142BAR1=true 3143V=1 3144am__doit: 3145 @$(TRUE) 3146.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3147 am_cv_make_support_nested_variables=yes 3148else 3149 am_cv_make_support_nested_variables=no 3150fi 3151fi 3152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3153$as_echo "$am_cv_make_support_nested_variables" >&6; } 3154if test $am_cv_make_support_nested_variables = yes; then 3155 AM_V='$(V)' 3156 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3157else 3158 AM_V=$AM_DEFAULT_VERBOSITY 3159 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3160fi 3161AM_BACKSLASH='\' 3162 3163if test "`cd $srcdir && pwd`" != "`pwd`"; then 3164 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3165 # is not polluted with repeated "-I." 3166 am__isrc=' -I$(srcdir)' 3167 # test to see if srcdir already configured 3168 if test -f $srcdir/config.status; then 3169 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3170 fi 3171fi 3172 3173# test whether we have cygpath 3174if test -z "$CYGPATH_W"; then 3175 if (cygpath --version) >/dev/null 2>/dev/null; then 3176 CYGPATH_W='cygpath -w' 3177 else 3178 CYGPATH_W=echo 3179 fi 3180fi 3181 3182 3183# Define the identity of the package. 3184 PACKAGE='tumbler' 3185 VERSION='4.16.0' 3186 3187 3188cat >>confdefs.h <<_ACEOF 3189#define PACKAGE "$PACKAGE" 3190_ACEOF 3191 3192 3193cat >>confdefs.h <<_ACEOF 3194#define VERSION "$VERSION" 3195_ACEOF 3196 3197# Some tools Automake needs. 3198 3199ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3200 3201 3202AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3203 3204 3205AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3206 3207 3208AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3209 3210 3211MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3212 3213# For better backward compatibility. To be removed once Automake 1.9.x 3214# dies out for good. For more background, see: 3215# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3216# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3217mkdir_p='$(MKDIR_P)' 3218 3219# We need awk for the "check" target (and possibly the TAP driver). The 3220# system "awk" is bad on some platforms. 3221# Always define AMTAR for backward compatibility. Yes, it's still used 3222# in the wild :-( We should find a proper way to deprecate it ... 3223AMTAR='$${TAR-tar}' 3224 3225 3226# We'll loop over all known methods to create a tar archive until one works. 3227_am_tools='gnutar plaintar pax cpio none' 3228 3229# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3230 # There is notably a 21 bits limit for the UID and the GID. In fact, 3231 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3232 # and bug#13588). 3233 am_max_uid=2097151 # 2^21 - 1 3234 am_max_gid=$am_max_uid 3235 # The $UID and $GID variables are not portable, so we need to resort 3236 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3237 # below are definitely unexpected, so allow the users to see them 3238 # (that is, avoid stderr redirection). 3239 am_uid=`id -u || echo unknown` 3240 am_gid=`id -g || echo unknown` 3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3242$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3243 if test $am_uid -le $am_max_uid; then 3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3245$as_echo "yes" >&6; } 3246 else 3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3248$as_echo "no" >&6; } 3249 _am_tools=none 3250 fi 3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3252$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3253 if test $am_gid -le $am_max_gid; then 3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3255$as_echo "yes" >&6; } 3256 else 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3258$as_echo "no" >&6; } 3259 _am_tools=none 3260 fi 3261 3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3263$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3264 3265 # Go ahead even if we have the value already cached. We do so because we 3266 # need to set the values for the 'am__tar' and 'am__untar' variables. 3267 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3268 3269 for _am_tool in $_am_tools; do 3270 case $_am_tool in 3271 gnutar) 3272 for _am_tar in tar gnutar gtar; do 3273 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3274 ($_am_tar --version) >&5 2>&5 3275 ac_status=$? 3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3277 (exit $ac_status); } && break 3278 done 3279 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3280 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3281 am__untar="$_am_tar -xf -" 3282 ;; 3283 plaintar) 3284 # Must skip GNU tar: if it does not support --format= it doesn't create 3285 # ustar tarball either. 3286 (tar --version) >/dev/null 2>&1 && continue 3287 am__tar='tar chf - "$$tardir"' 3288 am__tar_='tar chf - "$tardir"' 3289 am__untar='tar xf -' 3290 ;; 3291 pax) 3292 am__tar='pax -L -x ustar -w "$$tardir"' 3293 am__tar_='pax -L -x ustar -w "$tardir"' 3294 am__untar='pax -r' 3295 ;; 3296 cpio) 3297 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3298 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3299 am__untar='cpio -i -H ustar -d' 3300 ;; 3301 none) 3302 am__tar=false 3303 am__tar_=false 3304 am__untar=false 3305 ;; 3306 esac 3307 3308 # If the value was cached, stop now. We just wanted to have am__tar 3309 # and am__untar set. 3310 test -n "${am_cv_prog_tar_ustar}" && break 3311 3312 # tar/untar a dummy directory, and stop if the command works. 3313 rm -rf conftest.dir 3314 mkdir conftest.dir 3315 echo GrepMe > conftest.dir/file 3316 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3317 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3318 ac_status=$? 3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3320 (exit $ac_status); } 3321 rm -rf conftest.dir 3322 if test -s conftest.tar; then 3323 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3324 ($am__untar <conftest.tar) >&5 2>&5 3325 ac_status=$? 3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3327 (exit $ac_status); } 3328 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3329 (cat conftest.dir/file) >&5 2>&5 3330 ac_status=$? 3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3332 (exit $ac_status); } 3333 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3334 fi 3335 done 3336 rm -rf conftest.dir 3337 3338 if ${am_cv_prog_tar_ustar+:} false; then : 3339 $as_echo_n "(cached) " >&6 3340else 3341 am_cv_prog_tar_ustar=$_am_tool 3342fi 3343 3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3345$as_echo "$am_cv_prog_tar_ustar" >&6; } 3346 3347 3348 3349 3350 3351 3352# POSIX will say in a future version that running "rm -f" with no argument 3353# is OK; and we want to be able to make that assumption in our Makefile 3354# recipes. So use an aggressive probe to check that the usage we want is 3355# actually supported "in the wild" to an acceptable degree. 3356# See automake bug#10828. 3357# To make any issue more visible, cause the running configure to be aborted 3358# by default if the 'rm' program in use doesn't match our expectations; the 3359# user can still override this though. 3360if rm -f && rm -fr && rm -rf; then : OK; else 3361 cat >&2 <<'END' 3362Oops! 3363 3364Your 'rm' program seems unable to run without file operands specified 3365on the command line, even when the '-f' option is present. This is contrary 3366to the behaviour of most rm programs out there, and not conforming with 3367the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3368 3369Please tell bug-automake@gnu.org about your system, including the value 3370of your $PATH and any error possibly output before this message. This 3371can help us improve future automake versions. 3372 3373END 3374 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3375 echo 'Configuration will proceed anyway, since you have set the' >&2 3376 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3377 echo >&2 3378 else 3379 cat >&2 <<'END' 3380Aborting the configuration process, to ensure you take notice of the issue. 3381 3382You can download and install GNU coreutils to get an 'rm' implementation 3383that behaves properly: <https://www.gnu.org/software/coreutils/>. 3384 3385If you want to complete the configuration process using your problematic 3386'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3387to "yes", and re-run configure. 3388 3389END 3390 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3391 fi 3392fi 3393 3394 3395ACLOCAL_AMFLAGS="$ACLOCAL_FLAGS -I m4" 3396 3397ac_config_headers="$ac_config_headers config.h" 3398 3399 3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3401$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3402 # Check whether --enable-maintainer-mode was given. 3403if test "${enable_maintainer_mode+set}" = set; then : 3404 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3405else 3406 USE_MAINTAINER_MODE=no 3407fi 3408 3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3410$as_echo "$USE_MAINTAINER_MODE" >&6; } 3411 if test $USE_MAINTAINER_MODE = yes; then 3412 MAINTAINER_MODE_TRUE= 3413 MAINTAINER_MODE_FALSE='#' 3414else 3415 MAINTAINER_MODE_TRUE='#' 3416 MAINTAINER_MODE_FALSE= 3417fi 3418 3419 MAINT=$MAINTAINER_MODE_TRUE 3420 3421 3422# Check whether --enable-silent-rules was given. 3423if test "${enable_silent_rules+set}" = set; then : 3424 enableval=$enable_silent_rules; 3425fi 3426 3427case $enable_silent_rules in # ((( 3428 yes) AM_DEFAULT_VERBOSITY=0;; 3429 no) AM_DEFAULT_VERBOSITY=1;; 3430 *) AM_DEFAULT_VERBOSITY=0;; 3431esac 3432am_make=${MAKE-make} 3433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3434$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3435if ${am_cv_make_support_nested_variables+:} false; then : 3436 $as_echo_n "(cached) " >&6 3437else 3438 if $as_echo 'TRUE=$(BAR$(V)) 3439BAR0=false 3440BAR1=true 3441V=1 3442am__doit: 3443 @$(TRUE) 3444.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3445 am_cv_make_support_nested_variables=yes 3446else 3447 am_cv_make_support_nested_variables=no 3448fi 3449fi 3450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3451$as_echo "$am_cv_make_support_nested_variables" >&6; } 3452if test $am_cv_make_support_nested_variables = yes; then 3453 AM_V='$(V)' 3454 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3455else 3456 AM_V=$AM_DEFAULT_VERBOSITY 3457 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3458fi 3459AM_BACKSLASH='\' 3460 3461 3462TUMBLER_VERINFO=0:0:0 3463 3464 3465TUMBLER_VERSION_MAJOR=4 3466TUMBLER_VERSION_MINOR=16 3467TUMBLER_VERSION_MICRO=0 3468TUMBLER_VERSION_API_MAJOR=1 3469TUMBLER_VERSION_API=$TUMBLER_VERSION_API_MAJOR 3470 3471 3472 3473 3474 3475 3476DEPDIR="${am__leading_dot}deps" 3477 3478ac_config_commands="$ac_config_commands depfiles" 3479 3480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3481$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3482cat > confinc.mk << 'END' 3483am__doit: 3484 @echo this is the am__doit target >confinc.out 3485.PHONY: am__doit 3486END 3487am__include="#" 3488am__quote= 3489# BSD make does it like this. 3490echo '.include "confinc.mk" # ignored' > confmf.BSD 3491# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3492echo 'include confinc.mk # ignored' > confmf.GNU 3493_am_result=no 3494for s in GNU BSD; do 3495 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3496 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3497 ac_status=$? 3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3499 (exit $ac_status); } 3500 case $?:`cat confinc.out 2>/dev/null` in #( 3501 '0:this is the am__doit target') : 3502 case $s in #( 3503 BSD) : 3504 am__include='.include' am__quote='"' ;; #( 3505 *) : 3506 am__include='include' am__quote='' ;; 3507esac ;; #( 3508 *) : 3509 ;; 3510esac 3511 if test "$am__include" != "#"; then 3512 _am_result="yes ($s style)" 3513 break 3514 fi 3515done 3516rm -f confinc.* confmf.* 3517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3518$as_echo "${_am_result}" >&6; } 3519 3520# Check whether --enable-dependency-tracking was given. 3521if test "${enable_dependency_tracking+set}" = set; then : 3522 enableval=$enable_dependency_tracking; 3523fi 3524 3525if test "x$enable_dependency_tracking" != xno; then 3526 am_depcomp="$ac_aux_dir/depcomp" 3527 AMDEPBACKSLASH='\' 3528 am__nodep='_no' 3529fi 3530 if test "x$enable_dependency_tracking" != xno; then 3531 AMDEP_TRUE= 3532 AMDEP_FALSE='#' 3533else 3534 AMDEP_TRUE='#' 3535 AMDEP_FALSE= 3536fi 3537 3538 3539ac_ext=c 3540ac_cpp='$CPP $CPPFLAGS' 3541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3543ac_compiler_gnu=$ac_cv_c_compiler_gnu 3544if test -n "$ac_tool_prefix"; then 3545 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3546set dummy ${ac_tool_prefix}gcc; ac_word=$2 3547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3548$as_echo_n "checking for $ac_word... " >&6; } 3549if ${ac_cv_prog_CC+:} false; then : 3550 $as_echo_n "(cached) " >&6 3551else 3552 if test -n "$CC"; then 3553 ac_cv_prog_CC="$CC" # Let the user override the test. 3554else 3555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3556for as_dir in $PATH 3557do 3558 IFS=$as_save_IFS 3559 test -z "$as_dir" && as_dir=. 3560 for ac_exec_ext in '' $ac_executable_extensions; do 3561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3562 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3564 break 2 3565 fi 3566done 3567 done 3568IFS=$as_save_IFS 3569 3570fi 3571fi 3572CC=$ac_cv_prog_CC 3573if test -n "$CC"; then 3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3575$as_echo "$CC" >&6; } 3576else 3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3578$as_echo "no" >&6; } 3579fi 3580 3581 3582fi 3583if test -z "$ac_cv_prog_CC"; then 3584 ac_ct_CC=$CC 3585 # Extract the first word of "gcc", so it can be a program name with args. 3586set dummy gcc; ac_word=$2 3587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3588$as_echo_n "checking for $ac_word... " >&6; } 3589if ${ac_cv_prog_ac_ct_CC+:} false; then : 3590 $as_echo_n "(cached) " >&6 3591else 3592 if test -n "$ac_ct_CC"; then 3593 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3594else 3595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3596for as_dir in $PATH 3597do 3598 IFS=$as_save_IFS 3599 test -z "$as_dir" && as_dir=. 3600 for ac_exec_ext in '' $ac_executable_extensions; do 3601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3602 ac_cv_prog_ac_ct_CC="gcc" 3603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3604 break 2 3605 fi 3606done 3607 done 3608IFS=$as_save_IFS 3609 3610fi 3611fi 3612ac_ct_CC=$ac_cv_prog_ac_ct_CC 3613if test -n "$ac_ct_CC"; then 3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3615$as_echo "$ac_ct_CC" >&6; } 3616else 3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3618$as_echo "no" >&6; } 3619fi 3620 3621 if test "x$ac_ct_CC" = x; then 3622 CC="" 3623 else 3624 case $cross_compiling:$ac_tool_warned in 3625yes:) 3626{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3627$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3628ac_tool_warned=yes ;; 3629esac 3630 CC=$ac_ct_CC 3631 fi 3632else 3633 CC="$ac_cv_prog_CC" 3634fi 3635 3636if test -z "$CC"; then 3637 if test -n "$ac_tool_prefix"; then 3638 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3639set dummy ${ac_tool_prefix}cc; ac_word=$2 3640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3641$as_echo_n "checking for $ac_word... " >&6; } 3642if ${ac_cv_prog_CC+:} false; then : 3643 $as_echo_n "(cached) " >&6 3644else 3645 if test -n "$CC"; then 3646 ac_cv_prog_CC="$CC" # Let the user override the test. 3647else 3648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3649for as_dir in $PATH 3650do 3651 IFS=$as_save_IFS 3652 test -z "$as_dir" && as_dir=. 3653 for ac_exec_ext in '' $ac_executable_extensions; do 3654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3655 ac_cv_prog_CC="${ac_tool_prefix}cc" 3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3657 break 2 3658 fi 3659done 3660 done 3661IFS=$as_save_IFS 3662 3663fi 3664fi 3665CC=$ac_cv_prog_CC 3666if test -n "$CC"; then 3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3668$as_echo "$CC" >&6; } 3669else 3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3671$as_echo "no" >&6; } 3672fi 3673 3674 3675 fi 3676fi 3677if test -z "$CC"; then 3678 # Extract the first word of "cc", so it can be a program name with args. 3679set dummy cc; ac_word=$2 3680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3681$as_echo_n "checking for $ac_word... " >&6; } 3682if ${ac_cv_prog_CC+:} false; then : 3683 $as_echo_n "(cached) " >&6 3684else 3685 if test -n "$CC"; then 3686 ac_cv_prog_CC="$CC" # Let the user override the test. 3687else 3688 ac_prog_rejected=no 3689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3690for as_dir in $PATH 3691do 3692 IFS=$as_save_IFS 3693 test -z "$as_dir" && as_dir=. 3694 for ac_exec_ext in '' $ac_executable_extensions; do 3695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3696 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3697 ac_prog_rejected=yes 3698 continue 3699 fi 3700 ac_cv_prog_CC="cc" 3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3702 break 2 3703 fi 3704done 3705 done 3706IFS=$as_save_IFS 3707 3708if test $ac_prog_rejected = yes; then 3709 # We found a bogon in the path, so make sure we never use it. 3710 set dummy $ac_cv_prog_CC 3711 shift 3712 if test $# != 0; then 3713 # We chose a different compiler from the bogus one. 3714 # However, it has the same basename, so the bogon will be chosen 3715 # first if we set CC to just the basename; use the full file name. 3716 shift 3717 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3718 fi 3719fi 3720fi 3721fi 3722CC=$ac_cv_prog_CC 3723if test -n "$CC"; then 3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3725$as_echo "$CC" >&6; } 3726else 3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3728$as_echo "no" >&6; } 3729fi 3730 3731 3732fi 3733if test -z "$CC"; then 3734 if test -n "$ac_tool_prefix"; then 3735 for ac_prog in cl.exe 3736 do 3737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3738set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3740$as_echo_n "checking for $ac_word... " >&6; } 3741if ${ac_cv_prog_CC+:} false; then : 3742 $as_echo_n "(cached) " >&6 3743else 3744 if test -n "$CC"; then 3745 ac_cv_prog_CC="$CC" # Let the user override the test. 3746else 3747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3748for as_dir in $PATH 3749do 3750 IFS=$as_save_IFS 3751 test -z "$as_dir" && as_dir=. 3752 for ac_exec_ext in '' $ac_executable_extensions; do 3753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3754 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3756 break 2 3757 fi 3758done 3759 done 3760IFS=$as_save_IFS 3761 3762fi 3763fi 3764CC=$ac_cv_prog_CC 3765if test -n "$CC"; then 3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3767$as_echo "$CC" >&6; } 3768else 3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3770$as_echo "no" >&6; } 3771fi 3772 3773 3774 test -n "$CC" && break 3775 done 3776fi 3777if test -z "$CC"; then 3778 ac_ct_CC=$CC 3779 for ac_prog in cl.exe 3780do 3781 # Extract the first word of "$ac_prog", so it can be a program name with args. 3782set dummy $ac_prog; ac_word=$2 3783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3784$as_echo_n "checking for $ac_word... " >&6; } 3785if ${ac_cv_prog_ac_ct_CC+:} false; then : 3786 $as_echo_n "(cached) " >&6 3787else 3788 if test -n "$ac_ct_CC"; then 3789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3790else 3791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3792for as_dir in $PATH 3793do 3794 IFS=$as_save_IFS 3795 test -z "$as_dir" && as_dir=. 3796 for ac_exec_ext in '' $ac_executable_extensions; do 3797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3798 ac_cv_prog_ac_ct_CC="$ac_prog" 3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3800 break 2 3801 fi 3802done 3803 done 3804IFS=$as_save_IFS 3805 3806fi 3807fi 3808ac_ct_CC=$ac_cv_prog_ac_ct_CC 3809if test -n "$ac_ct_CC"; then 3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3811$as_echo "$ac_ct_CC" >&6; } 3812else 3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3814$as_echo "no" >&6; } 3815fi 3816 3817 3818 test -n "$ac_ct_CC" && break 3819done 3820 3821 if test "x$ac_ct_CC" = x; then 3822 CC="" 3823 else 3824 case $cross_compiling:$ac_tool_warned in 3825yes:) 3826{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3827$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3828ac_tool_warned=yes ;; 3829esac 3830 CC=$ac_ct_CC 3831 fi 3832fi 3833 3834fi 3835 3836 3837test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3838$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3839as_fn_error $? "no acceptable C compiler found in \$PATH 3840See \`config.log' for more details" "$LINENO" 5; } 3841 3842# Provide some information about the compiler. 3843$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3844set X $ac_compile 3845ac_compiler=$2 3846for ac_option in --version -v -V -qversion; do 3847 { { ac_try="$ac_compiler $ac_option >&5" 3848case "(($ac_try" in 3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3850 *) ac_try_echo=$ac_try;; 3851esac 3852eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3853$as_echo "$ac_try_echo"; } >&5 3854 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3855 ac_status=$? 3856 if test -s conftest.err; then 3857 sed '10a\ 3858... rest of stderr output deleted ... 3859 10q' conftest.err >conftest.er1 3860 cat conftest.er1 >&5 3861 fi 3862 rm -f conftest.er1 conftest.err 3863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3864 test $ac_status = 0; } 3865done 3866 3867cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3868/* end confdefs.h. */ 3869 3870int 3871main () 3872{ 3873 3874 ; 3875 return 0; 3876} 3877_ACEOF 3878ac_clean_files_save=$ac_clean_files 3879ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3880# Try to create an executable without -o first, disregard a.out. 3881# It will help us diagnose broken compilers, and finding out an intuition 3882# of exeext. 3883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3884$as_echo_n "checking whether the C compiler works... " >&6; } 3885ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3886 3887# The possible output files: 3888ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3889 3890ac_rmfiles= 3891for ac_file in $ac_files 3892do 3893 case $ac_file in 3894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3895 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3896 esac 3897done 3898rm -f $ac_rmfiles 3899 3900if { { ac_try="$ac_link_default" 3901case "(($ac_try" in 3902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3903 *) ac_try_echo=$ac_try;; 3904esac 3905eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3906$as_echo "$ac_try_echo"; } >&5 3907 (eval "$ac_link_default") 2>&5 3908 ac_status=$? 3909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3910 test $ac_status = 0; }; then : 3911 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3912# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3913# in a Makefile. We should not override ac_cv_exeext if it was cached, 3914# so that the user can short-circuit this test for compilers unknown to 3915# Autoconf. 3916for ac_file in $ac_files '' 3917do 3918 test -f "$ac_file" || continue 3919 case $ac_file in 3920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3921 ;; 3922 [ab].out ) 3923 # We found the default executable, but exeext='' is most 3924 # certainly right. 3925 break;; 3926 *.* ) 3927 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3928 then :; else 3929 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3930 fi 3931 # We set ac_cv_exeext here because the later test for it is not 3932 # safe: cross compilers may not add the suffix if given an `-o' 3933 # argument, so we may need to know it at that point already. 3934 # Even if this section looks crufty: it has the advantage of 3935 # actually working. 3936 break;; 3937 * ) 3938 break;; 3939 esac 3940done 3941test "$ac_cv_exeext" = no && ac_cv_exeext= 3942 3943else 3944 ac_file='' 3945fi 3946if test -z "$ac_file"; then : 3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3948$as_echo "no" >&6; } 3949$as_echo "$as_me: failed program was:" >&5 3950sed 's/^/| /' conftest.$ac_ext >&5 3951 3952{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3953$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3954as_fn_error 77 "C compiler cannot create executables 3955See \`config.log' for more details" "$LINENO" 5; } 3956else 3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3958$as_echo "yes" >&6; } 3959fi 3960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3961$as_echo_n "checking for C compiler default output file name... " >&6; } 3962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3963$as_echo "$ac_file" >&6; } 3964ac_exeext=$ac_cv_exeext 3965 3966rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3967ac_clean_files=$ac_clean_files_save 3968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3969$as_echo_n "checking for suffix of executables... " >&6; } 3970if { { ac_try="$ac_link" 3971case "(($ac_try" in 3972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3973 *) ac_try_echo=$ac_try;; 3974esac 3975eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3976$as_echo "$ac_try_echo"; } >&5 3977 (eval "$ac_link") 2>&5 3978 ac_status=$? 3979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3980 test $ac_status = 0; }; then : 3981 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3982# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3983# work properly (i.e., refer to `conftest.exe'), while it won't with 3984# `rm'. 3985for ac_file in conftest.exe conftest conftest.*; do 3986 test -f "$ac_file" || continue 3987 case $ac_file in 3988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3989 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3990 break;; 3991 * ) break;; 3992 esac 3993done 3994else 3995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3996$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3997as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3998See \`config.log' for more details" "$LINENO" 5; } 3999fi 4000rm -f conftest conftest$ac_cv_exeext 4001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4002$as_echo "$ac_cv_exeext" >&6; } 4003 4004rm -f conftest.$ac_ext 4005EXEEXT=$ac_cv_exeext 4006ac_exeext=$EXEEXT 4007cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4008/* end confdefs.h. */ 4009#include <stdio.h> 4010int 4011main () 4012{ 4013FILE *f = fopen ("conftest.out", "w"); 4014 return ferror (f) || fclose (f) != 0; 4015 4016 ; 4017 return 0; 4018} 4019_ACEOF 4020ac_clean_files="$ac_clean_files conftest.out" 4021# Check that the compiler produces executables we can run. If not, either 4022# the compiler is broken, or we cross compile. 4023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4024$as_echo_n "checking whether we are cross compiling... " >&6; } 4025if test "$cross_compiling" != yes; then 4026 { { ac_try="$ac_link" 4027case "(($ac_try" in 4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4029 *) ac_try_echo=$ac_try;; 4030esac 4031eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4032$as_echo "$ac_try_echo"; } >&5 4033 (eval "$ac_link") 2>&5 4034 ac_status=$? 4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4036 test $ac_status = 0; } 4037 if { ac_try='./conftest$ac_cv_exeext' 4038 { { case "(($ac_try" in 4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4040 *) ac_try_echo=$ac_try;; 4041esac 4042eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4043$as_echo "$ac_try_echo"; } >&5 4044 (eval "$ac_try") 2>&5 4045 ac_status=$? 4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4047 test $ac_status = 0; }; }; then 4048 cross_compiling=no 4049 else 4050 if test "$cross_compiling" = maybe; then 4051 cross_compiling=yes 4052 else 4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4054$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4055as_fn_error $? "cannot run C compiled programs. 4056If you meant to cross compile, use \`--host'. 4057See \`config.log' for more details" "$LINENO" 5; } 4058 fi 4059 fi 4060fi 4061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4062$as_echo "$cross_compiling" >&6; } 4063 4064rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4065ac_clean_files=$ac_clean_files_save 4066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4067$as_echo_n "checking for suffix of object files... " >&6; } 4068if ${ac_cv_objext+:} false; then : 4069 $as_echo_n "(cached) " >&6 4070else 4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4072/* end confdefs.h. */ 4073 4074int 4075main () 4076{ 4077 4078 ; 4079 return 0; 4080} 4081_ACEOF 4082rm -f conftest.o conftest.obj 4083if { { ac_try="$ac_compile" 4084case "(($ac_try" in 4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4086 *) ac_try_echo=$ac_try;; 4087esac 4088eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4089$as_echo "$ac_try_echo"; } >&5 4090 (eval "$ac_compile") 2>&5 4091 ac_status=$? 4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4093 test $ac_status = 0; }; then : 4094 for ac_file in conftest.o conftest.obj conftest.*; do 4095 test -f "$ac_file" || continue; 4096 case $ac_file in 4097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4098 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4099 break;; 4100 esac 4101done 4102else 4103 $as_echo "$as_me: failed program was:" >&5 4104sed 's/^/| /' conftest.$ac_ext >&5 4105 4106{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4107$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4108as_fn_error $? "cannot compute suffix of object files: cannot compile 4109See \`config.log' for more details" "$LINENO" 5; } 4110fi 4111rm -f conftest.$ac_cv_objext conftest.$ac_ext 4112fi 4113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4114$as_echo "$ac_cv_objext" >&6; } 4115OBJEXT=$ac_cv_objext 4116ac_objext=$OBJEXT 4117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4118$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4119if ${ac_cv_c_compiler_gnu+:} false; then : 4120 $as_echo_n "(cached) " >&6 4121else 4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4123/* end confdefs.h. */ 4124 4125int 4126main () 4127{ 4128#ifndef __GNUC__ 4129 choke me 4130#endif 4131 4132 ; 4133 return 0; 4134} 4135_ACEOF 4136if ac_fn_c_try_compile "$LINENO"; then : 4137 ac_compiler_gnu=yes 4138else 4139 ac_compiler_gnu=no 4140fi 4141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4142ac_cv_c_compiler_gnu=$ac_compiler_gnu 4143 4144fi 4145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4146$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4147if test $ac_compiler_gnu = yes; then 4148 GCC=yes 4149else 4150 GCC= 4151fi 4152ac_test_CFLAGS=${CFLAGS+set} 4153ac_save_CFLAGS=$CFLAGS 4154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4155$as_echo_n "checking whether $CC accepts -g... " >&6; } 4156if ${ac_cv_prog_cc_g+:} false; then : 4157 $as_echo_n "(cached) " >&6 4158else 4159 ac_save_c_werror_flag=$ac_c_werror_flag 4160 ac_c_werror_flag=yes 4161 ac_cv_prog_cc_g=no 4162 CFLAGS="-g" 4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4164/* end confdefs.h. */ 4165 4166int 4167main () 4168{ 4169 4170 ; 4171 return 0; 4172} 4173_ACEOF 4174if ac_fn_c_try_compile "$LINENO"; then : 4175 ac_cv_prog_cc_g=yes 4176else 4177 CFLAGS="" 4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4179/* end confdefs.h. */ 4180 4181int 4182main () 4183{ 4184 4185 ; 4186 return 0; 4187} 4188_ACEOF 4189if ac_fn_c_try_compile "$LINENO"; then : 4190 4191else 4192 ac_c_werror_flag=$ac_save_c_werror_flag 4193 CFLAGS="-g" 4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4195/* end confdefs.h. */ 4196 4197int 4198main () 4199{ 4200 4201 ; 4202 return 0; 4203} 4204_ACEOF 4205if ac_fn_c_try_compile "$LINENO"; then : 4206 ac_cv_prog_cc_g=yes 4207fi 4208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4209fi 4210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4211fi 4212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4213 ac_c_werror_flag=$ac_save_c_werror_flag 4214fi 4215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4216$as_echo "$ac_cv_prog_cc_g" >&6; } 4217if test "$ac_test_CFLAGS" = set; then 4218 CFLAGS=$ac_save_CFLAGS 4219elif test $ac_cv_prog_cc_g = yes; then 4220 if test "$GCC" = yes; then 4221 CFLAGS="-g -O2" 4222 else 4223 CFLAGS="-g" 4224 fi 4225else 4226 if test "$GCC" = yes; then 4227 CFLAGS="-O2" 4228 else 4229 CFLAGS= 4230 fi 4231fi 4232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4233$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4234if ${ac_cv_prog_cc_c89+:} false; then : 4235 $as_echo_n "(cached) " >&6 4236else 4237 ac_cv_prog_cc_c89=no 4238ac_save_CC=$CC 4239cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4240/* end confdefs.h. */ 4241#include <stdarg.h> 4242#include <stdio.h> 4243struct stat; 4244/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4245struct buf { int x; }; 4246FILE * (*rcsopen) (struct buf *, struct stat *, int); 4247static char *e (p, i) 4248 char **p; 4249 int i; 4250{ 4251 return p[i]; 4252} 4253static char *f (char * (*g) (char **, int), char **p, ...) 4254{ 4255 char *s; 4256 va_list v; 4257 va_start (v,p); 4258 s = g (p, va_arg (v,int)); 4259 va_end (v); 4260 return s; 4261} 4262 4263/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4264 function prototypes and stuff, but not '\xHH' hex character constants. 4265 These don't provoke an error unfortunately, instead are silently treated 4266 as 'x'. The following induces an error, until -std is added to get 4267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4268 array size at least. It's necessary to write '\x00'==0 to get something 4269 that's true only with -std. */ 4270int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4271 4272/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4273 inside strings and character constants. */ 4274#define FOO(x) 'x' 4275int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4276 4277int test (int i, double x); 4278struct s1 {int (*f) (int a);}; 4279struct s2 {int (*f) (double a);}; 4280int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4281int argc; 4282char **argv; 4283int 4284main () 4285{ 4286return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4287 ; 4288 return 0; 4289} 4290_ACEOF 4291for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4292 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4293do 4294 CC="$ac_save_CC $ac_arg" 4295 if ac_fn_c_try_compile "$LINENO"; then : 4296 ac_cv_prog_cc_c89=$ac_arg 4297fi 4298rm -f core conftest.err conftest.$ac_objext 4299 test "x$ac_cv_prog_cc_c89" != "xno" && break 4300done 4301rm -f conftest.$ac_ext 4302CC=$ac_save_CC 4303 4304fi 4305# AC_CACHE_VAL 4306case "x$ac_cv_prog_cc_c89" in 4307 x) 4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4309$as_echo "none needed" >&6; } ;; 4310 xno) 4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4312$as_echo "unsupported" >&6; } ;; 4313 *) 4314 CC="$CC $ac_cv_prog_cc_c89" 4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4316$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4317esac 4318if test "x$ac_cv_prog_cc_c89" != xno; then : 4319 4320fi 4321 4322ac_ext=c 4323ac_cpp='$CPP $CPPFLAGS' 4324ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4325ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4326ac_compiler_gnu=$ac_cv_c_compiler_gnu 4327 4328ac_ext=c 4329ac_cpp='$CPP $CPPFLAGS' 4330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4332ac_compiler_gnu=$ac_cv_c_compiler_gnu 4333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4334$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4335if ${am_cv_prog_cc_c_o+:} false; then : 4336 $as_echo_n "(cached) " >&6 4337else 4338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4339/* end confdefs.h. */ 4340 4341int 4342main () 4343{ 4344 4345 ; 4346 return 0; 4347} 4348_ACEOF 4349 # Make sure it works both with $CC and with simple cc. 4350 # Following AC_PROG_CC_C_O, we do the test twice because some 4351 # compilers refuse to overwrite an existing .o file with -o, 4352 # though they will create one. 4353 am_cv_prog_cc_c_o=yes 4354 for am_i in 1 2; do 4355 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4356 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4357 ac_status=$? 4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4359 (exit $ac_status); } \ 4360 && test -f conftest2.$ac_objext; then 4361 : OK 4362 else 4363 am_cv_prog_cc_c_o=no 4364 break 4365 fi 4366 done 4367 rm -f core conftest* 4368 unset am_i 4369fi 4370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4371$as_echo "$am_cv_prog_cc_c_o" >&6; } 4372if test "$am_cv_prog_cc_c_o" != yes; then 4373 # Losing compiler, so override with the script. 4374 # FIXME: It is wrong to rewrite CC. 4375 # But if we don't then we get into trouble of one sort or another. 4376 # A longer-term fix would be to have automake use am__CC in this case, 4377 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4378 CC="$am_aux_dir/compile $CC" 4379fi 4380ac_ext=c 4381ac_cpp='$CPP $CPPFLAGS' 4382ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4383ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4384ac_compiler_gnu=$ac_cv_c_compiler_gnu 4385 4386 4387depcc="$CC" am_compiler_list= 4388 4389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4390$as_echo_n "checking dependency style of $depcc... " >&6; } 4391if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4392 $as_echo_n "(cached) " >&6 4393else 4394 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4395 # We make a subdir and do the tests there. Otherwise we can end up 4396 # making bogus files that we don't know about and never remove. For 4397 # instance it was reported that on HP-UX the gcc test will end up 4398 # making a dummy file named 'D' -- because '-MD' means "put the output 4399 # in D". 4400 rm -rf conftest.dir 4401 mkdir conftest.dir 4402 # Copy depcomp to subdir because otherwise we won't find it if we're 4403 # using a relative directory. 4404 cp "$am_depcomp" conftest.dir 4405 cd conftest.dir 4406 # We will build objects and dependencies in a subdirectory because 4407 # it helps to detect inapplicable dependency modes. For instance 4408 # both Tru64's cc and ICC support -MD to output dependencies as a 4409 # side effect of compilation, but ICC will put the dependencies in 4410 # the current directory while Tru64 will put them in the object 4411 # directory. 4412 mkdir sub 4413 4414 am_cv_CC_dependencies_compiler_type=none 4415 if test "$am_compiler_list" = ""; then 4416 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4417 fi 4418 am__universal=false 4419 case " $depcc " in #( 4420 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4421 esac 4422 4423 for depmode in $am_compiler_list; do 4424 # Setup a source with many dependencies, because some compilers 4425 # like to wrap large dependency lists on column 80 (with \), and 4426 # we should not choose a depcomp mode which is confused by this. 4427 # 4428 # We need to recreate these files for each test, as the compiler may 4429 # overwrite some of them when testing with obscure command lines. 4430 # This happens at least with the AIX C compiler. 4431 : > sub/conftest.c 4432 for i in 1 2 3 4 5 6; do 4433 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4434 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4435 # Solaris 10 /bin/sh. 4436 echo '/* dummy */' > sub/conftst$i.h 4437 done 4438 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4439 4440 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4441 # mode. It turns out that the SunPro C++ compiler does not properly 4442 # handle '-M -o', and we need to detect this. Also, some Intel 4443 # versions had trouble with output in subdirs. 4444 am__obj=sub/conftest.${OBJEXT-o} 4445 am__minus_obj="-o $am__obj" 4446 case $depmode in 4447 gcc) 4448 # This depmode causes a compiler race in universal mode. 4449 test "$am__universal" = false || continue 4450 ;; 4451 nosideeffect) 4452 # After this tag, mechanisms are not by side-effect, so they'll 4453 # only be used when explicitly requested. 4454 if test "x$enable_dependency_tracking" = xyes; then 4455 continue 4456 else 4457 break 4458 fi 4459 ;; 4460 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4461 # This compiler won't grok '-c -o', but also, the minuso test has 4462 # not run yet. These depmodes are late enough in the game, and 4463 # so weak that their functioning should not be impacted. 4464 am__obj=conftest.${OBJEXT-o} 4465 am__minus_obj= 4466 ;; 4467 none) break ;; 4468 esac 4469 if depmode=$depmode \ 4470 source=sub/conftest.c object=$am__obj \ 4471 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4472 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4473 >/dev/null 2>conftest.err && 4474 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4475 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4476 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4477 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4478 # icc doesn't choke on unknown options, it will just issue warnings 4479 # or remarks (even with -Werror). So we grep stderr for any message 4480 # that says an option was ignored or not supported. 4481 # When given -MP, icc 7.0 and 7.1 complain thusly: 4482 # icc: Command line warning: ignoring option '-M'; no argument required 4483 # The diagnosis changed in icc 8.0: 4484 # icc: Command line remark: option '-MP' not supported 4485 if (grep 'ignoring option' conftest.err || 4486 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4487 am_cv_CC_dependencies_compiler_type=$depmode 4488 break 4489 fi 4490 fi 4491 done 4492 4493 cd .. 4494 rm -rf conftest.dir 4495else 4496 am_cv_CC_dependencies_compiler_type=none 4497fi 4498 4499fi 4500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4501$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4502CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4503 4504 if 4505 test "x$enable_dependency_tracking" != xno \ 4506 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4507 am__fastdepCC_TRUE= 4508 am__fastdepCC_FALSE='#' 4509else 4510 am__fastdepCC_TRUE='#' 4511 am__fastdepCC_FALSE= 4512fi 4513 4514 4515 4516ac_ext=c 4517ac_cpp='$CPP $CPPFLAGS' 4518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4520ac_compiler_gnu=$ac_cv_c_compiler_gnu 4521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4522$as_echo_n "checking how to run the C preprocessor... " >&6; } 4523# On Suns, sometimes $CPP names a directory. 4524if test -n "$CPP" && test -d "$CPP"; then 4525 CPP= 4526fi 4527if test -z "$CPP"; then 4528 if ${ac_cv_prog_CPP+:} false; then : 4529 $as_echo_n "(cached) " >&6 4530else 4531 # Double quotes because CPP needs to be expanded 4532 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4533 do 4534 ac_preproc_ok=false 4535for ac_c_preproc_warn_flag in '' yes 4536do 4537 # Use a header file that comes with gcc, so configuring glibc 4538 # with a fresh cross-compiler works. 4539 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4540 # <limits.h> exists even on freestanding compilers. 4541 # On the NeXT, cc -E runs the code through the compiler's parser, 4542 # not just through cpp. "Syntax error" is here to catch this case. 4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4544/* end confdefs.h. */ 4545#ifdef __STDC__ 4546# include <limits.h> 4547#else 4548# include <assert.h> 4549#endif 4550 Syntax error 4551_ACEOF 4552if ac_fn_c_try_cpp "$LINENO"; then : 4553 4554else 4555 # Broken: fails on valid input. 4556continue 4557fi 4558rm -f conftest.err conftest.i conftest.$ac_ext 4559 4560 # OK, works on sane cases. Now check whether nonexistent headers 4561 # can be detected and how. 4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4563/* end confdefs.h. */ 4564#include <ac_nonexistent.h> 4565_ACEOF 4566if ac_fn_c_try_cpp "$LINENO"; then : 4567 # Broken: success on invalid input. 4568continue 4569else 4570 # Passes both tests. 4571ac_preproc_ok=: 4572break 4573fi 4574rm -f conftest.err conftest.i conftest.$ac_ext 4575 4576done 4577# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4578rm -f conftest.i conftest.err conftest.$ac_ext 4579if $ac_preproc_ok; then : 4580 break 4581fi 4582 4583 done 4584 ac_cv_prog_CPP=$CPP 4585 4586fi 4587 CPP=$ac_cv_prog_CPP 4588else 4589 ac_cv_prog_CPP=$CPP 4590fi 4591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4592$as_echo "$CPP" >&6; } 4593ac_preproc_ok=false 4594for ac_c_preproc_warn_flag in '' yes 4595do 4596 # Use a header file that comes with gcc, so configuring glibc 4597 # with a fresh cross-compiler works. 4598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4599 # <limits.h> exists even on freestanding compilers. 4600 # On the NeXT, cc -E runs the code through the compiler's parser, 4601 # not just through cpp. "Syntax error" is here to catch this case. 4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4603/* end confdefs.h. */ 4604#ifdef __STDC__ 4605# include <limits.h> 4606#else 4607# include <assert.h> 4608#endif 4609 Syntax error 4610_ACEOF 4611if ac_fn_c_try_cpp "$LINENO"; then : 4612 4613else 4614 # Broken: fails on valid input. 4615continue 4616fi 4617rm -f conftest.err conftest.i conftest.$ac_ext 4618 4619 # OK, works on sane cases. Now check whether nonexistent headers 4620 # can be detected and how. 4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4622/* end confdefs.h. */ 4623#include <ac_nonexistent.h> 4624_ACEOF 4625if ac_fn_c_try_cpp "$LINENO"; then : 4626 # Broken: success on invalid input. 4627continue 4628else 4629 # Passes both tests. 4630ac_preproc_ok=: 4631break 4632fi 4633rm -f conftest.err conftest.i conftest.$ac_ext 4634 4635done 4636# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4637rm -f conftest.i conftest.err conftest.$ac_ext 4638if $ac_preproc_ok; then : 4639 4640else 4641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4642$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4643as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4644See \`config.log' for more details" "$LINENO" 5; } 4645fi 4646 4647ac_ext=c 4648ac_cpp='$CPP $CPPFLAGS' 4649ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4650ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4651ac_compiler_gnu=$ac_cv_c_compiler_gnu 4652 4653 4654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4655$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4656if ${ac_cv_path_GREP+:} false; then : 4657 $as_echo_n "(cached) " >&6 4658else 4659 if test -z "$GREP"; then 4660 ac_path_GREP_found=false 4661 # Loop through the user's path and test for each of PROGNAME-LIST 4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4663for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4664do 4665 IFS=$as_save_IFS 4666 test -z "$as_dir" && as_dir=. 4667 for ac_prog in grep ggrep; do 4668 for ac_exec_ext in '' $ac_executable_extensions; do 4669 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4670 as_fn_executable_p "$ac_path_GREP" || continue 4671# Check for GNU ac_path_GREP and select it if it is found. 4672 # Check for GNU $ac_path_GREP 4673case `"$ac_path_GREP" --version 2>&1` in 4674*GNU*) 4675 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4676*) 4677 ac_count=0 4678 $as_echo_n 0123456789 >"conftest.in" 4679 while : 4680 do 4681 cat "conftest.in" "conftest.in" >"conftest.tmp" 4682 mv "conftest.tmp" "conftest.in" 4683 cp "conftest.in" "conftest.nl" 4684 $as_echo 'GREP' >> "conftest.nl" 4685 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4686 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4687 as_fn_arith $ac_count + 1 && ac_count=$as_val 4688 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4689 # Best one so far, save it but keep looking for a better one 4690 ac_cv_path_GREP="$ac_path_GREP" 4691 ac_path_GREP_max=$ac_count 4692 fi 4693 # 10*(2^10) chars as input seems more than enough 4694 test $ac_count -gt 10 && break 4695 done 4696 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4697esac 4698 4699 $ac_path_GREP_found && break 3 4700 done 4701 done 4702 done 4703IFS=$as_save_IFS 4704 if test -z "$ac_cv_path_GREP"; then 4705 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4706 fi 4707else 4708 ac_cv_path_GREP=$GREP 4709fi 4710 4711fi 4712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4713$as_echo "$ac_cv_path_GREP" >&6; } 4714 GREP="$ac_cv_path_GREP" 4715 4716 4717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4718$as_echo_n "checking for egrep... " >&6; } 4719if ${ac_cv_path_EGREP+:} false; then : 4720 $as_echo_n "(cached) " >&6 4721else 4722 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4723 then ac_cv_path_EGREP="$GREP -E" 4724 else 4725 if test -z "$EGREP"; then 4726 ac_path_EGREP_found=false 4727 # Loop through the user's path and test for each of PROGNAME-LIST 4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4729for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4730do 4731 IFS=$as_save_IFS 4732 test -z "$as_dir" && as_dir=. 4733 for ac_prog in egrep; do 4734 for ac_exec_ext in '' $ac_executable_extensions; do 4735 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4736 as_fn_executable_p "$ac_path_EGREP" || continue 4737# Check for GNU ac_path_EGREP and select it if it is found. 4738 # Check for GNU $ac_path_EGREP 4739case `"$ac_path_EGREP" --version 2>&1` in 4740*GNU*) 4741 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4742*) 4743 ac_count=0 4744 $as_echo_n 0123456789 >"conftest.in" 4745 while : 4746 do 4747 cat "conftest.in" "conftest.in" >"conftest.tmp" 4748 mv "conftest.tmp" "conftest.in" 4749 cp "conftest.in" "conftest.nl" 4750 $as_echo 'EGREP' >> "conftest.nl" 4751 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4752 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4753 as_fn_arith $ac_count + 1 && ac_count=$as_val 4754 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4755 # Best one so far, save it but keep looking for a better one 4756 ac_cv_path_EGREP="$ac_path_EGREP" 4757 ac_path_EGREP_max=$ac_count 4758 fi 4759 # 10*(2^10) chars as input seems more than enough 4760 test $ac_count -gt 10 && break 4761 done 4762 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4763esac 4764 4765 $ac_path_EGREP_found && break 3 4766 done 4767 done 4768 done 4769IFS=$as_save_IFS 4770 if test -z "$ac_cv_path_EGREP"; then 4771 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4772 fi 4773else 4774 ac_cv_path_EGREP=$EGREP 4775fi 4776 4777 fi 4778fi 4779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4780$as_echo "$ac_cv_path_EGREP" >&6; } 4781 EGREP="$ac_cv_path_EGREP" 4782 4783 4784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4785$as_echo_n "checking for ANSI C header files... " >&6; } 4786if ${ac_cv_header_stdc+:} false; then : 4787 $as_echo_n "(cached) " >&6 4788else 4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4790/* end confdefs.h. */ 4791#include <stdlib.h> 4792#include <stdarg.h> 4793#include <string.h> 4794#include <float.h> 4795 4796int 4797main () 4798{ 4799 4800 ; 4801 return 0; 4802} 4803_ACEOF 4804if ac_fn_c_try_compile "$LINENO"; then : 4805 ac_cv_header_stdc=yes 4806else 4807 ac_cv_header_stdc=no 4808fi 4809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4810 4811if test $ac_cv_header_stdc = yes; then 4812 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4814/* end confdefs.h. */ 4815#include <string.h> 4816 4817_ACEOF 4818if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4819 $EGREP "memchr" >/dev/null 2>&1; then : 4820 4821else 4822 ac_cv_header_stdc=no 4823fi 4824rm -f conftest* 4825 4826fi 4827 4828if test $ac_cv_header_stdc = yes; then 4829 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4831/* end confdefs.h. */ 4832#include <stdlib.h> 4833 4834_ACEOF 4835if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4836 $EGREP "free" >/dev/null 2>&1; then : 4837 4838else 4839 ac_cv_header_stdc=no 4840fi 4841rm -f conftest* 4842 4843fi 4844 4845if test $ac_cv_header_stdc = yes; then 4846 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4847 if test "$cross_compiling" = yes; then : 4848 : 4849else 4850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4851/* end confdefs.h. */ 4852#include <ctype.h> 4853#include <stdlib.h> 4854#if ((' ' & 0x0FF) == 0x020) 4855# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4856# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4857#else 4858# define ISLOWER(c) \ 4859 (('a' <= (c) && (c) <= 'i') \ 4860 || ('j' <= (c) && (c) <= 'r') \ 4861 || ('s' <= (c) && (c) <= 'z')) 4862# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4863#endif 4864 4865#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4866int 4867main () 4868{ 4869 int i; 4870 for (i = 0; i < 256; i++) 4871 if (XOR (islower (i), ISLOWER (i)) 4872 || toupper (i) != TOUPPER (i)) 4873 return 2; 4874 return 0; 4875} 4876_ACEOF 4877if ac_fn_c_try_run "$LINENO"; then : 4878 4879else 4880 ac_cv_header_stdc=no 4881fi 4882rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4883 conftest.$ac_objext conftest.beam conftest.$ac_ext 4884fi 4885 4886fi 4887fi 4888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4889$as_echo "$ac_cv_header_stdc" >&6; } 4890if test $ac_cv_header_stdc = yes; then 4891 4892$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4893 4894fi 4895 4896# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4897for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4898 inttypes.h stdint.h unistd.h 4899do : 4900 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4901ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4902" 4903if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4904 cat >>confdefs.h <<_ACEOF 4905#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4906_ACEOF 4907 4908fi 4909 4910done 4911 4912 4913 4914 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4915if test "x$ac_cv_header_minix_config_h" = xyes; then : 4916 MINIX=yes 4917else 4918 MINIX= 4919fi 4920 4921 4922 if test "$MINIX" = yes; then 4923 4924$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4925 4926 4927$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4928 4929 4930$as_echo "#define _MINIX 1" >>confdefs.h 4931 4932 fi 4933 4934 4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4936$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4937if ${ac_cv_safe_to_define___extensions__+:} false; then : 4938 $as_echo_n "(cached) " >&6 4939else 4940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4941/* end confdefs.h. */ 4942 4943# define __EXTENSIONS__ 1 4944 $ac_includes_default 4945int 4946main () 4947{ 4948 4949 ; 4950 return 0; 4951} 4952_ACEOF 4953if ac_fn_c_try_compile "$LINENO"; then : 4954 ac_cv_safe_to_define___extensions__=yes 4955else 4956 ac_cv_safe_to_define___extensions__=no 4957fi 4958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4959fi 4960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4961$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4962 test $ac_cv_safe_to_define___extensions__ = yes && 4963 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4964 4965 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4966 4967 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4968 4969 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4970 4971 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4972 4973 4974 4975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 4976$as_echo_n "checking for library containing strerror... " >&6; } 4977if ${ac_cv_search_strerror+:} false; then : 4978 $as_echo_n "(cached) " >&6 4979else 4980 ac_func_search_save_LIBS=$LIBS 4981cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4982/* end confdefs.h. */ 4983 4984/* Override any GCC internal prototype to avoid an error. 4985 Use char because int might match the return type of a GCC 4986 builtin and then its argument prototype would still apply. */ 4987#ifdef __cplusplus 4988extern "C" 4989#endif 4990char strerror (); 4991int 4992main () 4993{ 4994return strerror (); 4995 ; 4996 return 0; 4997} 4998_ACEOF 4999for ac_lib in '' cposix; do 5000 if test -z "$ac_lib"; then 5001 ac_res="none required" 5002 else 5003 ac_res=-l$ac_lib 5004 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5005 fi 5006 if ac_fn_c_try_link "$LINENO"; then : 5007 ac_cv_search_strerror=$ac_res 5008fi 5009rm -f core conftest.err conftest.$ac_objext \ 5010 conftest$ac_exeext 5011 if ${ac_cv_search_strerror+:} false; then : 5012 break 5013fi 5014done 5015if ${ac_cv_search_strerror+:} false; then : 5016 5017else 5018 ac_cv_search_strerror=no 5019fi 5020rm conftest.$ac_ext 5021LIBS=$ac_func_search_save_LIBS 5022fi 5023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 5024$as_echo "$ac_cv_search_strerror" >&6; } 5025ac_res=$ac_cv_search_strerror 5026if test "$ac_res" != no; then : 5027 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5028 5029fi 5030 5031 5032 5033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for some Win32 platform" >&5 5034$as_echo_n "checking if building for some Win32 platform... " >&6; } 5035case "$host" in 5036*-*-mingw*|*-*-cygwin*) 5037 ac_bm_platform_win32=yes 5038 ;; 5039*) 5040 ac_bm_platform_win32=no 5041 ;; 5042esac 5043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_bm_platform_win32" >&5 5044$as_echo "$ac_bm_platform_win32" >&6; } 5045 if test x"$ac_bm_platform_win32" = x"yes"; then 5046 PLATFORM_WIN32_TRUE= 5047 PLATFORM_WIN32_FALSE='#' 5048else 5049 PLATFORM_WIN32_TRUE='#' 5050 PLATFORM_WIN32_FALSE= 5051fi 5052 5053 5054# By default we simply use the C compiler to build assembly code. 5055 5056test "${CCAS+set}" = set || CCAS=$CC 5057test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS 5058 5059 5060 5061depcc="$CCAS" am_compiler_list= 5062 5063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5064$as_echo_n "checking dependency style of $depcc... " >&6; } 5065if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : 5066 $as_echo_n "(cached) " >&6 5067else 5068 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5069 # We make a subdir and do the tests there. Otherwise we can end up 5070 # making bogus files that we don't know about and never remove. For 5071 # instance it was reported that on HP-UX the gcc test will end up 5072 # making a dummy file named 'D' -- because '-MD' means "put the output 5073 # in D". 5074 rm -rf conftest.dir 5075 mkdir conftest.dir 5076 # Copy depcomp to subdir because otherwise we won't find it if we're 5077 # using a relative directory. 5078 cp "$am_depcomp" conftest.dir 5079 cd conftest.dir 5080 # We will build objects and dependencies in a subdirectory because 5081 # it helps to detect inapplicable dependency modes. For instance 5082 # both Tru64's cc and ICC support -MD to output dependencies as a 5083 # side effect of compilation, but ICC will put the dependencies in 5084 # the current directory while Tru64 will put them in the object 5085 # directory. 5086 mkdir sub 5087 5088 am_cv_CCAS_dependencies_compiler_type=none 5089 if test "$am_compiler_list" = ""; then 5090 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5091 fi 5092 am__universal=false 5093 5094 5095 for depmode in $am_compiler_list; do 5096 # Setup a source with many dependencies, because some compilers 5097 # like to wrap large dependency lists on column 80 (with \), and 5098 # we should not choose a depcomp mode which is confused by this. 5099 # 5100 # We need to recreate these files for each test, as the compiler may 5101 # overwrite some of them when testing with obscure command lines. 5102 # This happens at least with the AIX C compiler. 5103 : > sub/conftest.c 5104 for i in 1 2 3 4 5 6; do 5105 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5106 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5107 # Solaris 10 /bin/sh. 5108 echo '/* dummy */' > sub/conftst$i.h 5109 done 5110 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5111 5112 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5113 # mode. It turns out that the SunPro C++ compiler does not properly 5114 # handle '-M -o', and we need to detect this. Also, some Intel 5115 # versions had trouble with output in subdirs. 5116 am__obj=sub/conftest.${OBJEXT-o} 5117 am__minus_obj="-o $am__obj" 5118 case $depmode in 5119 gcc) 5120 # This depmode causes a compiler race in universal mode. 5121 test "$am__universal" = false || continue 5122 ;; 5123 nosideeffect) 5124 # After this tag, mechanisms are not by side-effect, so they'll 5125 # only be used when explicitly requested. 5126 if test "x$enable_dependency_tracking" = xyes; then 5127 continue 5128 else 5129 break 5130 fi 5131 ;; 5132 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5133 # This compiler won't grok '-c -o', but also, the minuso test has 5134 # not run yet. These depmodes are late enough in the game, and 5135 # so weak that their functioning should not be impacted. 5136 am__obj=conftest.${OBJEXT-o} 5137 am__minus_obj= 5138 ;; 5139 none) break ;; 5140 esac 5141 if depmode=$depmode \ 5142 source=sub/conftest.c object=$am__obj \ 5143 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5144 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5145 >/dev/null 2>conftest.err && 5146 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5147 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5148 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5149 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5150 # icc doesn't choke on unknown options, it will just issue warnings 5151 # or remarks (even with -Werror). So we grep stderr for any message 5152 # that says an option was ignored or not supported. 5153 # When given -MP, icc 7.0 and 7.1 complain thusly: 5154 # icc: Command line warning: ignoring option '-M'; no argument required 5155 # The diagnosis changed in icc 8.0: 5156 # icc: Command line remark: option '-MP' not supported 5157 if (grep 'ignoring option' conftest.err || 5158 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5159 am_cv_CCAS_dependencies_compiler_type=$depmode 5160 break 5161 fi 5162 fi 5163 done 5164 5165 cd .. 5166 rm -rf conftest.dir 5167else 5168 am_cv_CCAS_dependencies_compiler_type=none 5169fi 5170 5171fi 5172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 5173$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } 5174CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type 5175 5176 if 5177 test "x$enable_dependency_tracking" != xno \ 5178 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then 5179 am__fastdepCCAS_TRUE= 5180 am__fastdepCCAS_FALSE='#' 5181else 5182 am__fastdepCCAS_TRUE='#' 5183 am__fastdepCCAS_FALSE= 5184fi 5185 5186 5187ac_ext=c 5188ac_cpp='$CPP $CPPFLAGS' 5189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5191ac_compiler_gnu=$ac_cv_c_compiler_gnu 5192if test -n "$ac_tool_prefix"; then 5193 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5194set dummy ${ac_tool_prefix}gcc; ac_word=$2 5195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5196$as_echo_n "checking for $ac_word... " >&6; } 5197if ${ac_cv_prog_CC+:} false; then : 5198 $as_echo_n "(cached) " >&6 5199else 5200 if test -n "$CC"; then 5201 ac_cv_prog_CC="$CC" # Let the user override the test. 5202else 5203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5204for as_dir in $PATH 5205do 5206 IFS=$as_save_IFS 5207 test -z "$as_dir" && as_dir=. 5208 for ac_exec_ext in '' $ac_executable_extensions; do 5209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5210 ac_cv_prog_CC="${ac_tool_prefix}gcc" 5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5212 break 2 5213 fi 5214done 5215 done 5216IFS=$as_save_IFS 5217 5218fi 5219fi 5220CC=$ac_cv_prog_CC 5221if test -n "$CC"; then 5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5223$as_echo "$CC" >&6; } 5224else 5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5226$as_echo "no" >&6; } 5227fi 5228 5229 5230fi 5231if test -z "$ac_cv_prog_CC"; then 5232 ac_ct_CC=$CC 5233 # Extract the first word of "gcc", so it can be a program name with args. 5234set dummy gcc; ac_word=$2 5235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5236$as_echo_n "checking for $ac_word... " >&6; } 5237if ${ac_cv_prog_ac_ct_CC+:} false; then : 5238 $as_echo_n "(cached) " >&6 5239else 5240 if test -n "$ac_ct_CC"; then 5241 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5242else 5243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5244for as_dir in $PATH 5245do 5246 IFS=$as_save_IFS 5247 test -z "$as_dir" && as_dir=. 5248 for ac_exec_ext in '' $ac_executable_extensions; do 5249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5250 ac_cv_prog_ac_ct_CC="gcc" 5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5252 break 2 5253 fi 5254done 5255 done 5256IFS=$as_save_IFS 5257 5258fi 5259fi 5260ac_ct_CC=$ac_cv_prog_ac_ct_CC 5261if test -n "$ac_ct_CC"; then 5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5263$as_echo "$ac_ct_CC" >&6; } 5264else 5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5266$as_echo "no" >&6; } 5267fi 5268 5269 if test "x$ac_ct_CC" = x; then 5270 CC="" 5271 else 5272 case $cross_compiling:$ac_tool_warned in 5273yes:) 5274{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5275$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5276ac_tool_warned=yes ;; 5277esac 5278 CC=$ac_ct_CC 5279 fi 5280else 5281 CC="$ac_cv_prog_CC" 5282fi 5283 5284if test -z "$CC"; then 5285 if test -n "$ac_tool_prefix"; then 5286 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5287set dummy ${ac_tool_prefix}cc; ac_word=$2 5288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5289$as_echo_n "checking for $ac_word... " >&6; } 5290if ${ac_cv_prog_CC+:} false; then : 5291 $as_echo_n "(cached) " >&6 5292else 5293 if test -n "$CC"; then 5294 ac_cv_prog_CC="$CC" # Let the user override the test. 5295else 5296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5297for as_dir in $PATH 5298do 5299 IFS=$as_save_IFS 5300 test -z "$as_dir" && as_dir=. 5301 for ac_exec_ext in '' $ac_executable_extensions; do 5302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5303 ac_cv_prog_CC="${ac_tool_prefix}cc" 5304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5305 break 2 5306 fi 5307done 5308 done 5309IFS=$as_save_IFS 5310 5311fi 5312fi 5313CC=$ac_cv_prog_CC 5314if test -n "$CC"; then 5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5316$as_echo "$CC" >&6; } 5317else 5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5319$as_echo "no" >&6; } 5320fi 5321 5322 5323 fi 5324fi 5325if test -z "$CC"; then 5326 # Extract the first word of "cc", so it can be a program name with args. 5327set dummy cc; ac_word=$2 5328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5329$as_echo_n "checking for $ac_word... " >&6; } 5330if ${ac_cv_prog_CC+:} false; then : 5331 $as_echo_n "(cached) " >&6 5332else 5333 if test -n "$CC"; then 5334 ac_cv_prog_CC="$CC" # Let the user override the test. 5335else 5336 ac_prog_rejected=no 5337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5338for as_dir in $PATH 5339do 5340 IFS=$as_save_IFS 5341 test -z "$as_dir" && as_dir=. 5342 for ac_exec_ext in '' $ac_executable_extensions; do 5343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5344 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5345 ac_prog_rejected=yes 5346 continue 5347 fi 5348 ac_cv_prog_CC="cc" 5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5350 break 2 5351 fi 5352done 5353 done 5354IFS=$as_save_IFS 5355 5356if test $ac_prog_rejected = yes; then 5357 # We found a bogon in the path, so make sure we never use it. 5358 set dummy $ac_cv_prog_CC 5359 shift 5360 if test $# != 0; then 5361 # We chose a different compiler from the bogus one. 5362 # However, it has the same basename, so the bogon will be chosen 5363 # first if we set CC to just the basename; use the full file name. 5364 shift 5365 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 5366 fi 5367fi 5368fi 5369fi 5370CC=$ac_cv_prog_CC 5371if test -n "$CC"; then 5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5373$as_echo "$CC" >&6; } 5374else 5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5376$as_echo "no" >&6; } 5377fi 5378 5379 5380fi 5381if test -z "$CC"; then 5382 if test -n "$ac_tool_prefix"; then 5383 for ac_prog in cl.exe 5384 do 5385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5386set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5388$as_echo_n "checking for $ac_word... " >&6; } 5389if ${ac_cv_prog_CC+:} false; then : 5390 $as_echo_n "(cached) " >&6 5391else 5392 if test -n "$CC"; then 5393 ac_cv_prog_CC="$CC" # Let the user override the test. 5394else 5395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5396for as_dir in $PATH 5397do 5398 IFS=$as_save_IFS 5399 test -z "$as_dir" && as_dir=. 5400 for ac_exec_ext in '' $ac_executable_extensions; do 5401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5402 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5404 break 2 5405 fi 5406done 5407 done 5408IFS=$as_save_IFS 5409 5410fi 5411fi 5412CC=$ac_cv_prog_CC 5413if test -n "$CC"; then 5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5415$as_echo "$CC" >&6; } 5416else 5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5418$as_echo "no" >&6; } 5419fi 5420 5421 5422 test -n "$CC" && break 5423 done 5424fi 5425if test -z "$CC"; then 5426 ac_ct_CC=$CC 5427 for ac_prog in cl.exe 5428do 5429 # Extract the first word of "$ac_prog", so it can be a program name with args. 5430set dummy $ac_prog; ac_word=$2 5431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5432$as_echo_n "checking for $ac_word... " >&6; } 5433if ${ac_cv_prog_ac_ct_CC+:} false; then : 5434 $as_echo_n "(cached) " >&6 5435else 5436 if test -n "$ac_ct_CC"; then 5437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5438else 5439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5440for as_dir in $PATH 5441do 5442 IFS=$as_save_IFS 5443 test -z "$as_dir" && as_dir=. 5444 for ac_exec_ext in '' $ac_executable_extensions; do 5445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5446 ac_cv_prog_ac_ct_CC="$ac_prog" 5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5448 break 2 5449 fi 5450done 5451 done 5452IFS=$as_save_IFS 5453 5454fi 5455fi 5456ac_ct_CC=$ac_cv_prog_ac_ct_CC 5457if test -n "$ac_ct_CC"; then 5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5459$as_echo "$ac_ct_CC" >&6; } 5460else 5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5462$as_echo "no" >&6; } 5463fi 5464 5465 5466 test -n "$ac_ct_CC" && break 5467done 5468 5469 if test "x$ac_ct_CC" = x; then 5470 CC="" 5471 else 5472 case $cross_compiling:$ac_tool_warned in 5473yes:) 5474{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5475$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5476ac_tool_warned=yes ;; 5477esac 5478 CC=$ac_ct_CC 5479 fi 5480fi 5481 5482fi 5483 5484 5485test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5486$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5487as_fn_error $? "no acceptable C compiler found in \$PATH 5488See \`config.log' for more details" "$LINENO" 5; } 5489 5490# Provide some information about the compiler. 5491$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5492set X $ac_compile 5493ac_compiler=$2 5494for ac_option in --version -v -V -qversion; do 5495 { { ac_try="$ac_compiler $ac_option >&5" 5496case "(($ac_try" in 5497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5498 *) ac_try_echo=$ac_try;; 5499esac 5500eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5501$as_echo "$ac_try_echo"; } >&5 5502 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5503 ac_status=$? 5504 if test -s conftest.err; then 5505 sed '10a\ 5506... rest of stderr output deleted ... 5507 10q' conftest.err >conftest.er1 5508 cat conftest.er1 >&5 5509 fi 5510 rm -f conftest.er1 conftest.err 5511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5512 test $ac_status = 0; } 5513done 5514 5515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5516$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5517if ${ac_cv_c_compiler_gnu+:} false; then : 5518 $as_echo_n "(cached) " >&6 5519else 5520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5521/* end confdefs.h. */ 5522 5523int 5524main () 5525{ 5526#ifndef __GNUC__ 5527 choke me 5528#endif 5529 5530 ; 5531 return 0; 5532} 5533_ACEOF 5534if ac_fn_c_try_compile "$LINENO"; then : 5535 ac_compiler_gnu=yes 5536else 5537 ac_compiler_gnu=no 5538fi 5539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5540ac_cv_c_compiler_gnu=$ac_compiler_gnu 5541 5542fi 5543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5544$as_echo "$ac_cv_c_compiler_gnu" >&6; } 5545if test $ac_compiler_gnu = yes; then 5546 GCC=yes 5547else 5548 GCC= 5549fi 5550ac_test_CFLAGS=${CFLAGS+set} 5551ac_save_CFLAGS=$CFLAGS 5552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5553$as_echo_n "checking whether $CC accepts -g... " >&6; } 5554if ${ac_cv_prog_cc_g+:} false; then : 5555 $as_echo_n "(cached) " >&6 5556else 5557 ac_save_c_werror_flag=$ac_c_werror_flag 5558 ac_c_werror_flag=yes 5559 ac_cv_prog_cc_g=no 5560 CFLAGS="-g" 5561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5562/* end confdefs.h. */ 5563 5564int 5565main () 5566{ 5567 5568 ; 5569 return 0; 5570} 5571_ACEOF 5572if ac_fn_c_try_compile "$LINENO"; then : 5573 ac_cv_prog_cc_g=yes 5574else 5575 CFLAGS="" 5576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5577/* end confdefs.h. */ 5578 5579int 5580main () 5581{ 5582 5583 ; 5584 return 0; 5585} 5586_ACEOF 5587if ac_fn_c_try_compile "$LINENO"; then : 5588 5589else 5590 ac_c_werror_flag=$ac_save_c_werror_flag 5591 CFLAGS="-g" 5592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5593/* end confdefs.h. */ 5594 5595int 5596main () 5597{ 5598 5599 ; 5600 return 0; 5601} 5602_ACEOF 5603if ac_fn_c_try_compile "$LINENO"; then : 5604 ac_cv_prog_cc_g=yes 5605fi 5606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5607fi 5608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5609fi 5610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5611 ac_c_werror_flag=$ac_save_c_werror_flag 5612fi 5613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5614$as_echo "$ac_cv_prog_cc_g" >&6; } 5615if test "$ac_test_CFLAGS" = set; then 5616 CFLAGS=$ac_save_CFLAGS 5617elif test $ac_cv_prog_cc_g = yes; then 5618 if test "$GCC" = yes; then 5619 CFLAGS="-g -O2" 5620 else 5621 CFLAGS="-g" 5622 fi 5623else 5624 if test "$GCC" = yes; then 5625 CFLAGS="-O2" 5626 else 5627 CFLAGS= 5628 fi 5629fi 5630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5631$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5632if ${ac_cv_prog_cc_c89+:} false; then : 5633 $as_echo_n "(cached) " >&6 5634else 5635 ac_cv_prog_cc_c89=no 5636ac_save_CC=$CC 5637cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5638/* end confdefs.h. */ 5639#include <stdarg.h> 5640#include <stdio.h> 5641struct stat; 5642/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5643struct buf { int x; }; 5644FILE * (*rcsopen) (struct buf *, struct stat *, int); 5645static char *e (p, i) 5646 char **p; 5647 int i; 5648{ 5649 return p[i]; 5650} 5651static char *f (char * (*g) (char **, int), char **p, ...) 5652{ 5653 char *s; 5654 va_list v; 5655 va_start (v,p); 5656 s = g (p, va_arg (v,int)); 5657 va_end (v); 5658 return s; 5659} 5660 5661/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5662 function prototypes and stuff, but not '\xHH' hex character constants. 5663 These don't provoke an error unfortunately, instead are silently treated 5664 as 'x'. The following induces an error, until -std is added to get 5665 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5666 array size at least. It's necessary to write '\x00'==0 to get something 5667 that's true only with -std. */ 5668int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5669 5670/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5671 inside strings and character constants. */ 5672#define FOO(x) 'x' 5673int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5674 5675int test (int i, double x); 5676struct s1 {int (*f) (int a);}; 5677struct s2 {int (*f) (double a);}; 5678int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5679int argc; 5680char **argv; 5681int 5682main () 5683{ 5684return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5685 ; 5686 return 0; 5687} 5688_ACEOF 5689for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5690 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5691do 5692 CC="$ac_save_CC $ac_arg" 5693 if ac_fn_c_try_compile "$LINENO"; then : 5694 ac_cv_prog_cc_c89=$ac_arg 5695fi 5696rm -f core conftest.err conftest.$ac_objext 5697 test "x$ac_cv_prog_cc_c89" != "xno" && break 5698done 5699rm -f conftest.$ac_ext 5700CC=$ac_save_CC 5701 5702fi 5703# AC_CACHE_VAL 5704case "x$ac_cv_prog_cc_c89" in 5705 x) 5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5707$as_echo "none needed" >&6; } ;; 5708 xno) 5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5710$as_echo "unsupported" >&6; } ;; 5711 *) 5712 CC="$CC $ac_cv_prog_cc_c89" 5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5714$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5715esac 5716if test "x$ac_cv_prog_cc_c89" != xno; then : 5717 5718fi 5719 5720ac_ext=c 5721ac_cpp='$CPP $CPPFLAGS' 5722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5724ac_compiler_gnu=$ac_cv_c_compiler_gnu 5725 5726ac_ext=c 5727ac_cpp='$CPP $CPPFLAGS' 5728ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5729ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5730ac_compiler_gnu=$ac_cv_c_compiler_gnu 5731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5732$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5733if ${am_cv_prog_cc_c_o+:} false; then : 5734 $as_echo_n "(cached) " >&6 5735else 5736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5737/* end confdefs.h. */ 5738 5739int 5740main () 5741{ 5742 5743 ; 5744 return 0; 5745} 5746_ACEOF 5747 # Make sure it works both with $CC and with simple cc. 5748 # Following AC_PROG_CC_C_O, we do the test twice because some 5749 # compilers refuse to overwrite an existing .o file with -o, 5750 # though they will create one. 5751 am_cv_prog_cc_c_o=yes 5752 for am_i in 1 2; do 5753 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5754 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5755 ac_status=$? 5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5757 (exit $ac_status); } \ 5758 && test -f conftest2.$ac_objext; then 5759 : OK 5760 else 5761 am_cv_prog_cc_c_o=no 5762 break 5763 fi 5764 done 5765 rm -f core conftest* 5766 unset am_i 5767fi 5768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5769$as_echo "$am_cv_prog_cc_c_o" >&6; } 5770if test "$am_cv_prog_cc_c_o" != yes; then 5771 # Losing compiler, so override with the script. 5772 # FIXME: It is wrong to rewrite CC. 5773 # But if we don't then we get into trouble of one sort or another. 5774 # A longer-term fix would be to have automake use am__CC in this case, 5775 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5776 CC="$am_aux_dir/compile $CC" 5777fi 5778ac_ext=c 5779ac_cpp='$CPP $CPPFLAGS' 5780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5782ac_compiler_gnu=$ac_cv_c_compiler_gnu 5783 5784 5785depcc="$CC" am_compiler_list= 5786 5787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5788$as_echo_n "checking dependency style of $depcc... " >&6; } 5789if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5790 $as_echo_n "(cached) " >&6 5791else 5792 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5793 # We make a subdir and do the tests there. Otherwise we can end up 5794 # making bogus files that we don't know about and never remove. For 5795 # instance it was reported that on HP-UX the gcc test will end up 5796 # making a dummy file named 'D' -- because '-MD' means "put the output 5797 # in D". 5798 rm -rf conftest.dir 5799 mkdir conftest.dir 5800 # Copy depcomp to subdir because otherwise we won't find it if we're 5801 # using a relative directory. 5802 cp "$am_depcomp" conftest.dir 5803 cd conftest.dir 5804 # We will build objects and dependencies in a subdirectory because 5805 # it helps to detect inapplicable dependency modes. For instance 5806 # both Tru64's cc and ICC support -MD to output dependencies as a 5807 # side effect of compilation, but ICC will put the dependencies in 5808 # the current directory while Tru64 will put them in the object 5809 # directory. 5810 mkdir sub 5811 5812 am_cv_CC_dependencies_compiler_type=none 5813 if test "$am_compiler_list" = ""; then 5814 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5815 fi 5816 am__universal=false 5817 case " $depcc " in #( 5818 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5819 esac 5820 5821 for depmode in $am_compiler_list; do 5822 # Setup a source with many dependencies, because some compilers 5823 # like to wrap large dependency lists on column 80 (with \), and 5824 # we should not choose a depcomp mode which is confused by this. 5825 # 5826 # We need to recreate these files for each test, as the compiler may 5827 # overwrite some of them when testing with obscure command lines. 5828 # This happens at least with the AIX C compiler. 5829 : > sub/conftest.c 5830 for i in 1 2 3 4 5 6; do 5831 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5832 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5833 # Solaris 10 /bin/sh. 5834 echo '/* dummy */' > sub/conftst$i.h 5835 done 5836 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5837 5838 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5839 # mode. It turns out that the SunPro C++ compiler does not properly 5840 # handle '-M -o', and we need to detect this. Also, some Intel 5841 # versions had trouble with output in subdirs. 5842 am__obj=sub/conftest.${OBJEXT-o} 5843 am__minus_obj="-o $am__obj" 5844 case $depmode in 5845 gcc) 5846 # This depmode causes a compiler race in universal mode. 5847 test "$am__universal" = false || continue 5848 ;; 5849 nosideeffect) 5850 # After this tag, mechanisms are not by side-effect, so they'll 5851 # only be used when explicitly requested. 5852 if test "x$enable_dependency_tracking" = xyes; then 5853 continue 5854 else 5855 break 5856 fi 5857 ;; 5858 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5859 # This compiler won't grok '-c -o', but also, the minuso test has 5860 # not run yet. These depmodes are late enough in the game, and 5861 # so weak that their functioning should not be impacted. 5862 am__obj=conftest.${OBJEXT-o} 5863 am__minus_obj= 5864 ;; 5865 none) break ;; 5866 esac 5867 if depmode=$depmode \ 5868 source=sub/conftest.c object=$am__obj \ 5869 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5870 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5871 >/dev/null 2>conftest.err && 5872 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5873 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5874 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5875 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5876 # icc doesn't choke on unknown options, it will just issue warnings 5877 # or remarks (even with -Werror). So we grep stderr for any message 5878 # that says an option was ignored or not supported. 5879 # When given -MP, icc 7.0 and 7.1 complain thusly: 5880 # icc: Command line warning: ignoring option '-M'; no argument required 5881 # The diagnosis changed in icc 8.0: 5882 # icc: Command line remark: option '-MP' not supported 5883 if (grep 'ignoring option' conftest.err || 5884 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5885 am_cv_CC_dependencies_compiler_type=$depmode 5886 break 5887 fi 5888 fi 5889 done 5890 5891 cd .. 5892 rm -rf conftest.dir 5893else 5894 am_cv_CC_dependencies_compiler_type=none 5895fi 5896 5897fi 5898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5899$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5900CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5901 5902 if 5903 test "x$enable_dependency_tracking" != xno \ 5904 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5905 am__fastdepCC_TRUE= 5906 am__fastdepCC_FALSE='#' 5907else 5908 am__fastdepCC_TRUE='#' 5909 am__fastdepCC_FALSE= 5910fi 5911 5912 5913 5914 5915 5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5917$as_echo_n "checking whether NLS is requested... " >&6; } 5918 # Check whether --enable-nls was given. 5919if test "${enable_nls+set}" = set; then : 5920 enableval=$enable_nls; USE_NLS=$enableval 5921else 5922 USE_NLS=yes 5923fi 5924 5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5926$as_echo "$USE_NLS" >&6; } 5927 5928 5929 5930 5931case "$am__api_version" in 5932 1.01234) 5933 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 5934 ;; 5935 *) 5936 ;; 5937esac 5938 5939INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5940INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 5941INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5942if test -n "0.35.0"; then 5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5 5944$as_echo_n "checking for intltool >= 0.35.0... " >&6; } 5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 5946$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 5947 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 5948 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5 5949fi 5950 5951# Extract the first word of "intltool-update", so it can be a program name with args. 5952set dummy intltool-update; ac_word=$2 5953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5954$as_echo_n "checking for $ac_word... " >&6; } 5955if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 5956 $as_echo_n "(cached) " >&6 5957else 5958 case $INTLTOOL_UPDATE in 5959 [\\/]* | ?:[\\/]*) 5960 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 5961 ;; 5962 *) 5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5964for as_dir in $PATH 5965do 5966 IFS=$as_save_IFS 5967 test -z "$as_dir" && as_dir=. 5968 for ac_exec_ext in '' $ac_executable_extensions; do 5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5970 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5972 break 2 5973 fi 5974done 5975 done 5976IFS=$as_save_IFS 5977 5978 ;; 5979esac 5980fi 5981INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 5982if test -n "$INTLTOOL_UPDATE"; then 5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 5984$as_echo "$INTLTOOL_UPDATE" >&6; } 5985else 5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5987$as_echo "no" >&6; } 5988fi 5989 5990 5991# Extract the first word of "intltool-merge", so it can be a program name with args. 5992set dummy intltool-merge; ac_word=$2 5993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5994$as_echo_n "checking for $ac_word... " >&6; } 5995if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 5996 $as_echo_n "(cached) " >&6 5997else 5998 case $INTLTOOL_MERGE in 5999 [\\/]* | ?:[\\/]*) 6000 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 6001 ;; 6002 *) 6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6004for as_dir in $PATH 6005do 6006 IFS=$as_save_IFS 6007 test -z "$as_dir" && as_dir=. 6008 for ac_exec_ext in '' $ac_executable_extensions; do 6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6010 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6012 break 2 6013 fi 6014done 6015 done 6016IFS=$as_save_IFS 6017 6018 ;; 6019esac 6020fi 6021INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 6022if test -n "$INTLTOOL_MERGE"; then 6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 6024$as_echo "$INTLTOOL_MERGE" >&6; } 6025else 6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6027$as_echo "no" >&6; } 6028fi 6029 6030 6031# Extract the first word of "intltool-extract", so it can be a program name with args. 6032set dummy intltool-extract; ac_word=$2 6033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6034$as_echo_n "checking for $ac_word... " >&6; } 6035if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 6036 $as_echo_n "(cached) " >&6 6037else 6038 case $INTLTOOL_EXTRACT in 6039 [\\/]* | ?:[\\/]*) 6040 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 6041 ;; 6042 *) 6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6044for as_dir in $PATH 6045do 6046 IFS=$as_save_IFS 6047 test -z "$as_dir" && as_dir=. 6048 for ac_exec_ext in '' $ac_executable_extensions; do 6049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6050 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6052 break 2 6053 fi 6054done 6055 done 6056IFS=$as_save_IFS 6057 6058 ;; 6059esac 6060fi 6061INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 6062if test -n "$INTLTOOL_EXTRACT"; then 6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 6064$as_echo "$INTLTOOL_EXTRACT" >&6; } 6065else 6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6067$as_echo "no" >&6; } 6068fi 6069 6070 6071if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 6072 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 6073fi 6074 6075if test -z "$AM_DEFAULT_VERBOSITY"; then 6076 AM_DEFAULT_VERBOSITY=1 6077fi 6078 6079 6080INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 6081INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 6082INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 6083 6084 6085 6086 6087INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 6088intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 6089intltool__v_merge_options_0='-q' 6090 6091 6092 6093 6094 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6095INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6096 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6097 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6098 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' 6099 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6100 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6101 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6102INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6103 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6104 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6105if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 6106 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' 6107else 6108 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' 6109fi 6110 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6111 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6112 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6113 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6114 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6115 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6116 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214# Check the gettext tools to make sure they are GNU 6215# Extract the first word of "xgettext", so it can be a program name with args. 6216set dummy xgettext; ac_word=$2 6217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6218$as_echo_n "checking for $ac_word... " >&6; } 6219if ${ac_cv_path_XGETTEXT+:} false; then : 6220 $as_echo_n "(cached) " >&6 6221else 6222 case $XGETTEXT in 6223 [\\/]* | ?:[\\/]*) 6224 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 6225 ;; 6226 *) 6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6228for as_dir in $PATH 6229do 6230 IFS=$as_save_IFS 6231 test -z "$as_dir" && as_dir=. 6232 for ac_exec_ext in '' $ac_executable_extensions; do 6233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6234 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 6235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6236 break 2 6237 fi 6238done 6239 done 6240IFS=$as_save_IFS 6241 6242 ;; 6243esac 6244fi 6245XGETTEXT=$ac_cv_path_XGETTEXT 6246if test -n "$XGETTEXT"; then 6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 6248$as_echo "$XGETTEXT" >&6; } 6249else 6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6251$as_echo "no" >&6; } 6252fi 6253 6254 6255# Extract the first word of "msgmerge", so it can be a program name with args. 6256set dummy msgmerge; ac_word=$2 6257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6258$as_echo_n "checking for $ac_word... " >&6; } 6259if ${ac_cv_path_MSGMERGE+:} false; then : 6260 $as_echo_n "(cached) " >&6 6261else 6262 case $MSGMERGE in 6263 [\\/]* | ?:[\\/]*) 6264 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 6265 ;; 6266 *) 6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6268for as_dir in $PATH 6269do 6270 IFS=$as_save_IFS 6271 test -z "$as_dir" && as_dir=. 6272 for ac_exec_ext in '' $ac_executable_extensions; do 6273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6274 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 6275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6276 break 2 6277 fi 6278done 6279 done 6280IFS=$as_save_IFS 6281 6282 ;; 6283esac 6284fi 6285MSGMERGE=$ac_cv_path_MSGMERGE 6286if test -n "$MSGMERGE"; then 6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 6288$as_echo "$MSGMERGE" >&6; } 6289else 6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6291$as_echo "no" >&6; } 6292fi 6293 6294 6295# Extract the first word of "msgfmt", so it can be a program name with args. 6296set dummy msgfmt; ac_word=$2 6297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6298$as_echo_n "checking for $ac_word... " >&6; } 6299if ${ac_cv_path_MSGFMT+:} false; then : 6300 $as_echo_n "(cached) " >&6 6301else 6302 case $MSGFMT in 6303 [\\/]* | ?:[\\/]*) 6304 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 6305 ;; 6306 *) 6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6308for as_dir in $PATH 6309do 6310 IFS=$as_save_IFS 6311 test -z "$as_dir" && as_dir=. 6312 for ac_exec_ext in '' $ac_executable_extensions; do 6313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6314 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6316 break 2 6317 fi 6318done 6319 done 6320IFS=$as_save_IFS 6321 6322 ;; 6323esac 6324fi 6325MSGFMT=$ac_cv_path_MSGFMT 6326if test -n "$MSGFMT"; then 6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 6328$as_echo "$MSGFMT" >&6; } 6329else 6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6331$as_echo "no" >&6; } 6332fi 6333 6334 6335# Extract the first word of "gmsgfmt", so it can be a program name with args. 6336set dummy gmsgfmt; ac_word=$2 6337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6338$as_echo_n "checking for $ac_word... " >&6; } 6339if ${ac_cv_path_GMSGFMT+:} false; then : 6340 $as_echo_n "(cached) " >&6 6341else 6342 case $GMSGFMT in 6343 [\\/]* | ?:[\\/]*) 6344 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 6345 ;; 6346 *) 6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6348for as_dir in $PATH 6349do 6350 IFS=$as_save_IFS 6351 test -z "$as_dir" && as_dir=. 6352 for ac_exec_ext in '' $ac_executable_extensions; do 6353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6354 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 6355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6356 break 2 6357 fi 6358done 6359 done 6360IFS=$as_save_IFS 6361 6362 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 6363 ;; 6364esac 6365fi 6366GMSGFMT=$ac_cv_path_GMSGFMT 6367if test -n "$GMSGFMT"; then 6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 6369$as_echo "$GMSGFMT" >&6; } 6370else 6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6372$as_echo "no" >&6; } 6373fi 6374 6375 6376if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 6377 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 6378fi 6379xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 6380mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 6381mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 6382if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 6383 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 6384fi 6385 6386# Extract the first word of "perl", so it can be a program name with args. 6387set dummy perl; ac_word=$2 6388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6389$as_echo_n "checking for $ac_word... " >&6; } 6390if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 6391 $as_echo_n "(cached) " >&6 6392else 6393 case $INTLTOOL_PERL in 6394 [\\/]* | ?:[\\/]*) 6395 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 6396 ;; 6397 *) 6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6399for as_dir in $PATH 6400do 6401 IFS=$as_save_IFS 6402 test -z "$as_dir" && as_dir=. 6403 for ac_exec_ext in '' $ac_executable_extensions; do 6404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6405 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 6406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6407 break 2 6408 fi 6409done 6410 done 6411IFS=$as_save_IFS 6412 6413 ;; 6414esac 6415fi 6416INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 6417if test -n "$INTLTOOL_PERL"; then 6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 6419$as_echo "$INTLTOOL_PERL" >&6; } 6420else 6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6422$as_echo "no" >&6; } 6423fi 6424 6425 6426if test -z "$INTLTOOL_PERL"; then 6427 as_fn_error $? "perl not found" "$LINENO" 5 6428fi 6429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 6430$as_echo_n "checking for perl >= 5.8.1... " >&6; } 6431$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 6432if test $? -ne 0; then 6433 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 6434else 6435 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 6437$as_echo "$IT_PERL_VERSION" >&6; } 6438fi 6439if test "xno-xml" != "xno-xml"; then 6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 6441$as_echo_n "checking for XML::Parser... " >&6; } 6442 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6444$as_echo "ok" >&6; } 6445 else 6446 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 6447 fi 6448fi 6449 6450# Substitute ALL_LINGUAS so we can use it in po/Makefile 6451 6452 6453 6454 6455 6456 6457 6458case `pwd` in 6459 *\ * | *\ *) 6460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 6461$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 6462esac 6463 6464 6465 6466macro_version='2.4.6' 6467macro_revision='2.4.6' 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481ltmain=$ac_aux_dir/ltmain.sh 6482 6483# Backslashify metacharacters that are still active within 6484# double-quoted strings. 6485sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6486 6487# Same as above, but do not quote variable references. 6488double_quote_subst='s/\(["`\\]\)/\\\1/g' 6489 6490# Sed substitution to delay expansion of an escaped shell variable in a 6491# double_quote_subst'ed string. 6492delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6493 6494# Sed substitution to delay expansion of an escaped single quote. 6495delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 6496 6497# Sed substitution to avoid accidental globbing in evaled expressions 6498no_glob_subst='s/\*/\\\*/g' 6499 6500ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6501ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 6502ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 6503 6504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 6505$as_echo_n "checking how to print strings... " >&6; } 6506# Test print first, because it will be a builtin if present. 6507if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 6508 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 6509 ECHO='print -r --' 6510elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 6511 ECHO='printf %s\n' 6512else 6513 # Use this function as a fallback that always works. 6514 func_fallback_echo () 6515 { 6516 eval 'cat <<_LTECHO_EOF 6517$1 6518_LTECHO_EOF' 6519 } 6520 ECHO='func_fallback_echo' 6521fi 6522 6523# func_echo_all arg... 6524# Invoke $ECHO with all args, space-separated. 6525func_echo_all () 6526{ 6527 $ECHO "" 6528} 6529 6530case $ECHO in 6531 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6532$as_echo "printf" >&6; } ;; 6533 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6534$as_echo "print -r" >&6; } ;; 6535 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6536$as_echo "cat" >&6; } ;; 6537esac 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6553$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6554if ${ac_cv_path_SED+:} false; then : 6555 $as_echo_n "(cached) " >&6 6556else 6557 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6558 for ac_i in 1 2 3 4 5 6 7; do 6559 ac_script="$ac_script$as_nl$ac_script" 6560 done 6561 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6562 { ac_script=; unset ac_script;} 6563 if test -z "$SED"; then 6564 ac_path_SED_found=false 6565 # Loop through the user's path and test for each of PROGNAME-LIST 6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6567for as_dir in $PATH 6568do 6569 IFS=$as_save_IFS 6570 test -z "$as_dir" && as_dir=. 6571 for ac_prog in sed gsed; do 6572 for ac_exec_ext in '' $ac_executable_extensions; do 6573 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6574 as_fn_executable_p "$ac_path_SED" || continue 6575# Check for GNU ac_path_SED and select it if it is found. 6576 # Check for GNU $ac_path_SED 6577case `"$ac_path_SED" --version 2>&1` in 6578*GNU*) 6579 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6580*) 6581 ac_count=0 6582 $as_echo_n 0123456789 >"conftest.in" 6583 while : 6584 do 6585 cat "conftest.in" "conftest.in" >"conftest.tmp" 6586 mv "conftest.tmp" "conftest.in" 6587 cp "conftest.in" "conftest.nl" 6588 $as_echo '' >> "conftest.nl" 6589 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6590 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6591 as_fn_arith $ac_count + 1 && ac_count=$as_val 6592 if test $ac_count -gt ${ac_path_SED_max-0}; then 6593 # Best one so far, save it but keep looking for a better one 6594 ac_cv_path_SED="$ac_path_SED" 6595 ac_path_SED_max=$ac_count 6596 fi 6597 # 10*(2^10) chars as input seems more than enough 6598 test $ac_count -gt 10 && break 6599 done 6600 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6601esac 6602 6603 $ac_path_SED_found && break 3 6604 done 6605 done 6606 done 6607IFS=$as_save_IFS 6608 if test -z "$ac_cv_path_SED"; then 6609 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6610 fi 6611else 6612 ac_cv_path_SED=$SED 6613fi 6614 6615fi 6616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6617$as_echo "$ac_cv_path_SED" >&6; } 6618 SED="$ac_cv_path_SED" 6619 rm -f conftest.sed 6620 6621test -z "$SED" && SED=sed 6622Xsed="$SED -e 1s/^X//" 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6635$as_echo_n "checking for fgrep... " >&6; } 6636if ${ac_cv_path_FGREP+:} false; then : 6637 $as_echo_n "(cached) " >&6 6638else 6639 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6640 then ac_cv_path_FGREP="$GREP -F" 6641 else 6642 if test -z "$FGREP"; then 6643 ac_path_FGREP_found=false 6644 # Loop through the user's path and test for each of PROGNAME-LIST 6645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6646for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6647do 6648 IFS=$as_save_IFS 6649 test -z "$as_dir" && as_dir=. 6650 for ac_prog in fgrep; do 6651 for ac_exec_ext in '' $ac_executable_extensions; do 6652 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6653 as_fn_executable_p "$ac_path_FGREP" || continue 6654# Check for GNU ac_path_FGREP and select it if it is found. 6655 # Check for GNU $ac_path_FGREP 6656case `"$ac_path_FGREP" --version 2>&1` in 6657*GNU*) 6658 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6659*) 6660 ac_count=0 6661 $as_echo_n 0123456789 >"conftest.in" 6662 while : 6663 do 6664 cat "conftest.in" "conftest.in" >"conftest.tmp" 6665 mv "conftest.tmp" "conftest.in" 6666 cp "conftest.in" "conftest.nl" 6667 $as_echo 'FGREP' >> "conftest.nl" 6668 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6669 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6670 as_fn_arith $ac_count + 1 && ac_count=$as_val 6671 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6672 # Best one so far, save it but keep looking for a better one 6673 ac_cv_path_FGREP="$ac_path_FGREP" 6674 ac_path_FGREP_max=$ac_count 6675 fi 6676 # 10*(2^10) chars as input seems more than enough 6677 test $ac_count -gt 10 && break 6678 done 6679 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6680esac 6681 6682 $ac_path_FGREP_found && break 3 6683 done 6684 done 6685 done 6686IFS=$as_save_IFS 6687 if test -z "$ac_cv_path_FGREP"; then 6688 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6689 fi 6690else 6691 ac_cv_path_FGREP=$FGREP 6692fi 6693 6694 fi 6695fi 6696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6697$as_echo "$ac_cv_path_FGREP" >&6; } 6698 FGREP="$ac_cv_path_FGREP" 6699 6700 6701test -z "$GREP" && GREP=grep 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721# Check whether --with-gnu-ld was given. 6722if test "${with_gnu_ld+set}" = set; then : 6723 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 6724else 6725 with_gnu_ld=no 6726fi 6727 6728ac_prog=ld 6729if test yes = "$GCC"; then 6730 # Check if gcc -print-prog-name=ld gives a path. 6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6732$as_echo_n "checking for ld used by $CC... " >&6; } 6733 case $host in 6734 *-*-mingw*) 6735 # gcc leaves a trailing carriage return, which upsets mingw 6736 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6737 *) 6738 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6739 esac 6740 case $ac_prog in 6741 # Accept absolute paths. 6742 [\\/]* | ?:[\\/]*) 6743 re_direlt='/[^/][^/]*/\.\./' 6744 # Canonicalize the pathname of ld 6745 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6746 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6747 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6748 done 6749 test -z "$LD" && LD=$ac_prog 6750 ;; 6751 "") 6752 # If it fails, then pretend we aren't using GCC. 6753 ac_prog=ld 6754 ;; 6755 *) 6756 # If it is relative, then search for the first ld in PATH. 6757 with_gnu_ld=unknown 6758 ;; 6759 esac 6760elif test yes = "$with_gnu_ld"; then 6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6762$as_echo_n "checking for GNU ld... " >&6; } 6763else 6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6765$as_echo_n "checking for non-GNU ld... " >&6; } 6766fi 6767if ${lt_cv_path_LD+:} false; then : 6768 $as_echo_n "(cached) " >&6 6769else 6770 if test -z "$LD"; then 6771 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6772 for ac_dir in $PATH; do 6773 IFS=$lt_save_ifs 6774 test -z "$ac_dir" && ac_dir=. 6775 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6776 lt_cv_path_LD=$ac_dir/$ac_prog 6777 # Check to see if the program is GNU ld. I'd rather use --version, 6778 # but apparently some variants of GNU ld only accept -v. 6779 # Break only if it was the GNU/non-GNU ld that we prefer. 6780 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6781 *GNU* | *'with BFD'*) 6782 test no != "$with_gnu_ld" && break 6783 ;; 6784 *) 6785 test yes != "$with_gnu_ld" && break 6786 ;; 6787 esac 6788 fi 6789 done 6790 IFS=$lt_save_ifs 6791else 6792 lt_cv_path_LD=$LD # Let the user override the test with a path. 6793fi 6794fi 6795 6796LD=$lt_cv_path_LD 6797if test -n "$LD"; then 6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6799$as_echo "$LD" >&6; } 6800else 6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6802$as_echo "no" >&6; } 6803fi 6804test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6806$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6807if ${lt_cv_prog_gnu_ld+:} false; then : 6808 $as_echo_n "(cached) " >&6 6809else 6810 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6811case `$LD -v 2>&1 </dev/null` in 6812*GNU* | *'with BFD'*) 6813 lt_cv_prog_gnu_ld=yes 6814 ;; 6815*) 6816 lt_cv_prog_gnu_ld=no 6817 ;; 6818esac 6819fi 6820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6821$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6822with_gnu_ld=$lt_cv_prog_gnu_ld 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6833$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6834if ${lt_cv_path_NM+:} false; then : 6835 $as_echo_n "(cached) " >&6 6836else 6837 if test -n "$NM"; then 6838 # Let the user override the test. 6839 lt_cv_path_NM=$NM 6840else 6841 lt_nm_to_check=${ac_tool_prefix}nm 6842 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6843 lt_nm_to_check="$lt_nm_to_check nm" 6844 fi 6845 for lt_tmp_nm in $lt_nm_to_check; do 6846 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6847 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6848 IFS=$lt_save_ifs 6849 test -z "$ac_dir" && ac_dir=. 6850 tmp_nm=$ac_dir/$lt_tmp_nm 6851 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 6852 # Check to see if the nm accepts a BSD-compat flag. 6853 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 6854 # nm: unknown option "B" ignored 6855 # Tru64's nm complains that /dev/null is an invalid object file 6856 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 6857 case $build_os in 6858 mingw*) lt_bad_file=conftest.nm/nofile ;; 6859 *) lt_bad_file=/dev/null ;; 6860 esac 6861 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 6862 *$lt_bad_file* | *'Invalid file or object type'*) 6863 lt_cv_path_NM="$tmp_nm -B" 6864 break 2 6865 ;; 6866 *) 6867 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6868 */dev/null*) 6869 lt_cv_path_NM="$tmp_nm -p" 6870 break 2 6871 ;; 6872 *) 6873 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6874 continue # so that we can try to find one that supports BSD flags 6875 ;; 6876 esac 6877 ;; 6878 esac 6879 fi 6880 done 6881 IFS=$lt_save_ifs 6882 done 6883 : ${lt_cv_path_NM=no} 6884fi 6885fi 6886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6887$as_echo "$lt_cv_path_NM" >&6; } 6888if test no != "$lt_cv_path_NM"; then 6889 NM=$lt_cv_path_NM 6890else 6891 # Didn't find any BSD compatible name lister, look for dumpbin. 6892 if test -n "$DUMPBIN"; then : 6893 # Let the user override the test. 6894 else 6895 if test -n "$ac_tool_prefix"; then 6896 for ac_prog in dumpbin "link -dump" 6897 do 6898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6899set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6901$as_echo_n "checking for $ac_word... " >&6; } 6902if ${ac_cv_prog_DUMPBIN+:} false; then : 6903 $as_echo_n "(cached) " >&6 6904else 6905 if test -n "$DUMPBIN"; then 6906 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6907else 6908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6909for as_dir in $PATH 6910do 6911 IFS=$as_save_IFS 6912 test -z "$as_dir" && as_dir=. 6913 for ac_exec_ext in '' $ac_executable_extensions; do 6914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6915 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6917 break 2 6918 fi 6919done 6920 done 6921IFS=$as_save_IFS 6922 6923fi 6924fi 6925DUMPBIN=$ac_cv_prog_DUMPBIN 6926if test -n "$DUMPBIN"; then 6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6928$as_echo "$DUMPBIN" >&6; } 6929else 6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6931$as_echo "no" >&6; } 6932fi 6933 6934 6935 test -n "$DUMPBIN" && break 6936 done 6937fi 6938if test -z "$DUMPBIN"; then 6939 ac_ct_DUMPBIN=$DUMPBIN 6940 for ac_prog in dumpbin "link -dump" 6941do 6942 # Extract the first word of "$ac_prog", so it can be a program name with args. 6943set dummy $ac_prog; ac_word=$2 6944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6945$as_echo_n "checking for $ac_word... " >&6; } 6946if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6947 $as_echo_n "(cached) " >&6 6948else 6949 if test -n "$ac_ct_DUMPBIN"; then 6950 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6951else 6952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6953for as_dir in $PATH 6954do 6955 IFS=$as_save_IFS 6956 test -z "$as_dir" && as_dir=. 6957 for ac_exec_ext in '' $ac_executable_extensions; do 6958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6959 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6961 break 2 6962 fi 6963done 6964 done 6965IFS=$as_save_IFS 6966 6967fi 6968fi 6969ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6970if test -n "$ac_ct_DUMPBIN"; then 6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6972$as_echo "$ac_ct_DUMPBIN" >&6; } 6973else 6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6975$as_echo "no" >&6; } 6976fi 6977 6978 6979 test -n "$ac_ct_DUMPBIN" && break 6980done 6981 6982 if test "x$ac_ct_DUMPBIN" = x; then 6983 DUMPBIN=":" 6984 else 6985 case $cross_compiling:$ac_tool_warned in 6986yes:) 6987{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6988$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6989ac_tool_warned=yes ;; 6990esac 6991 DUMPBIN=$ac_ct_DUMPBIN 6992 fi 6993fi 6994 6995 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 6996 *COFF*) 6997 DUMPBIN="$DUMPBIN -symbols -headers" 6998 ;; 6999 *) 7000 DUMPBIN=: 7001 ;; 7002 esac 7003 fi 7004 7005 if test : != "$DUMPBIN"; then 7006 NM=$DUMPBIN 7007 fi 7008fi 7009test -z "$NM" && NM=nm 7010 7011 7012 7013 7014 7015 7016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 7017$as_echo_n "checking the name lister ($NM) interface... " >&6; } 7018if ${lt_cv_nm_interface+:} false; then : 7019 $as_echo_n "(cached) " >&6 7020else 7021 lt_cv_nm_interface="BSD nm" 7022 echo "int some_variable = 0;" > conftest.$ac_ext 7023 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 7024 (eval "$ac_compile" 2>conftest.err) 7025 cat conftest.err >&5 7026 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 7027 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 7028 cat conftest.err >&5 7029 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 7030 cat conftest.out >&5 7031 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 7032 lt_cv_nm_interface="MS dumpbin" 7033 fi 7034 rm -f conftest* 7035fi 7036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 7037$as_echo "$lt_cv_nm_interface" >&6; } 7038 7039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 7040$as_echo_n "checking whether ln -s works... " >&6; } 7041LN_S=$as_ln_s 7042if test "$LN_S" = "ln -s"; then 7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7044$as_echo "yes" >&6; } 7045else 7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 7047$as_echo "no, using $LN_S" >&6; } 7048fi 7049 7050# find the maximum length of command line arguments 7051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 7052$as_echo_n "checking the maximum length of command line arguments... " >&6; } 7053if ${lt_cv_sys_max_cmd_len+:} false; then : 7054 $as_echo_n "(cached) " >&6 7055else 7056 i=0 7057 teststring=ABCD 7058 7059 case $build_os in 7060 msdosdjgpp*) 7061 # On DJGPP, this test can blow up pretty badly due to problems in libc 7062 # (any single argument exceeding 2000 bytes causes a buffer overrun 7063 # during glob expansion). Even if it were fixed, the result of this 7064 # check would be larger than it should be. 7065 lt_cv_sys_max_cmd_len=12288; # 12K is about right 7066 ;; 7067 7068 gnu*) 7069 # Under GNU Hurd, this test is not required because there is 7070 # no limit to the length of command line arguments. 7071 # Libtool will interpret -1 as no limit whatsoever 7072 lt_cv_sys_max_cmd_len=-1; 7073 ;; 7074 7075 cygwin* | mingw* | cegcc*) 7076 # On Win9x/ME, this test blows up -- it succeeds, but takes 7077 # about 5 minutes as the teststring grows exponentially. 7078 # Worse, since 9x/ME are not pre-emptively multitasking, 7079 # you end up with a "frozen" computer, even though with patience 7080 # the test eventually succeeds (with a max line length of 256k). 7081 # Instead, let's just punt: use the minimum linelength reported by 7082 # all of the supported platforms: 8192 (on NT/2K/XP). 7083 lt_cv_sys_max_cmd_len=8192; 7084 ;; 7085 7086 mint*) 7087 # On MiNT this can take a long time and run out of memory. 7088 lt_cv_sys_max_cmd_len=8192; 7089 ;; 7090 7091 amigaos*) 7092 # On AmigaOS with pdksh, this test takes hours, literally. 7093 # So we just punt and use a minimum line length of 8192. 7094 lt_cv_sys_max_cmd_len=8192; 7095 ;; 7096 7097 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 7098 # This has been around since 386BSD, at least. Likely further. 7099 if test -x /sbin/sysctl; then 7100 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 7101 elif test -x /usr/sbin/sysctl; then 7102 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 7103 else 7104 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 7105 fi 7106 # And add a safety zone 7107 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7108 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7109 ;; 7110 7111 interix*) 7112 # We know the value 262144 and hardcode it with a safety zone (like BSD) 7113 lt_cv_sys_max_cmd_len=196608 7114 ;; 7115 7116 os2*) 7117 # The test takes a long time on OS/2. 7118 lt_cv_sys_max_cmd_len=8192 7119 ;; 7120 7121 osf*) 7122 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 7123 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 7124 # nice to cause kernel panics so lets avoid the loop below. 7125 # First set a reasonable default. 7126 lt_cv_sys_max_cmd_len=16384 7127 # 7128 if test -x /sbin/sysconfig; then 7129 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 7130 *1*) lt_cv_sys_max_cmd_len=-1 ;; 7131 esac 7132 fi 7133 ;; 7134 sco3.2v5*) 7135 lt_cv_sys_max_cmd_len=102400 7136 ;; 7137 sysv5* | sco5v6* | sysv4.2uw2*) 7138 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 7139 if test -n "$kargmax"; then 7140 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 7141 else 7142 lt_cv_sys_max_cmd_len=32768 7143 fi 7144 ;; 7145 *) 7146 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 7147 if test -n "$lt_cv_sys_max_cmd_len" && \ 7148 test undefined != "$lt_cv_sys_max_cmd_len"; then 7149 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7150 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7151 else 7152 # Make teststring a little bigger before we do anything with it. 7153 # a 1K string should be a reasonable start. 7154 for i in 1 2 3 4 5 6 7 8; do 7155 teststring=$teststring$teststring 7156 done 7157 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 7158 # If test is not a shell built-in, we'll probably end up computing a 7159 # maximum length that is only half of the actual maximum length, but 7160 # we can't tell. 7161 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 7162 = "X$teststring$teststring"; } >/dev/null 2>&1 && 7163 test 17 != "$i" # 1/2 MB should be enough 7164 do 7165 i=`expr $i + 1` 7166 teststring=$teststring$teststring 7167 done 7168 # Only check the string length outside the loop. 7169 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 7170 teststring= 7171 # Add a significant safety factor because C++ compilers can tack on 7172 # massive amounts of additional arguments before passing them to the 7173 # linker. It appears as though 1/2 is a usable value. 7174 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 7175 fi 7176 ;; 7177 esac 7178 7179fi 7180 7181if test -n "$lt_cv_sys_max_cmd_len"; then 7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 7183$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 7184else 7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 7186$as_echo "none" >&6; } 7187fi 7188max_cmd_len=$lt_cv_sys_max_cmd_len 7189 7190 7191 7192 7193 7194 7195: ${CP="cp -f"} 7196: ${MV="mv -f"} 7197: ${RM="rm -f"} 7198 7199if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7200 lt_unset=unset 7201else 7202 lt_unset=false 7203fi 7204 7205 7206 7207 7208 7209# test EBCDIC or ASCII 7210case `echo X|tr X '\101'` in 7211 A) # ASCII based system 7212 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 7213 lt_SP2NL='tr \040 \012' 7214 lt_NL2SP='tr \015\012 \040\040' 7215 ;; 7216 *) # EBCDIC based system 7217 lt_SP2NL='tr \100 \n' 7218 lt_NL2SP='tr \r\n \100\100' 7219 ;; 7220esac 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 7231$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 7232if ${lt_cv_to_host_file_cmd+:} false; then : 7233 $as_echo_n "(cached) " >&6 7234else 7235 case $host in 7236 *-*-mingw* ) 7237 case $build in 7238 *-*-mingw* ) # actually msys 7239 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 7240 ;; 7241 *-*-cygwin* ) 7242 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 7243 ;; 7244 * ) # otherwise, assume *nix 7245 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 7246 ;; 7247 esac 7248 ;; 7249 *-*-cygwin* ) 7250 case $build in 7251 *-*-mingw* ) # actually msys 7252 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 7253 ;; 7254 *-*-cygwin* ) 7255 lt_cv_to_host_file_cmd=func_convert_file_noop 7256 ;; 7257 * ) # otherwise, assume *nix 7258 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 7259 ;; 7260 esac 7261 ;; 7262 * ) # unhandled hosts (and "normal" native builds) 7263 lt_cv_to_host_file_cmd=func_convert_file_noop 7264 ;; 7265esac 7266 7267fi 7268 7269to_host_file_cmd=$lt_cv_to_host_file_cmd 7270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 7271$as_echo "$lt_cv_to_host_file_cmd" >&6; } 7272 7273 7274 7275 7276 7277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 7278$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 7279if ${lt_cv_to_tool_file_cmd+:} false; then : 7280 $as_echo_n "(cached) " >&6 7281else 7282 #assume ordinary cross tools, or native build. 7283lt_cv_to_tool_file_cmd=func_convert_file_noop 7284case $host in 7285 *-*-mingw* ) 7286 case $build in 7287 *-*-mingw* ) # actually msys 7288 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 7289 ;; 7290 esac 7291 ;; 7292esac 7293 7294fi 7295 7296to_tool_file_cmd=$lt_cv_to_tool_file_cmd 7297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 7298$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 7299 7300 7301 7302 7303 7304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 7305$as_echo_n "checking for $LD option to reload object files... " >&6; } 7306if ${lt_cv_ld_reload_flag+:} false; then : 7307 $as_echo_n "(cached) " >&6 7308else 7309 lt_cv_ld_reload_flag='-r' 7310fi 7311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 7312$as_echo "$lt_cv_ld_reload_flag" >&6; } 7313reload_flag=$lt_cv_ld_reload_flag 7314case $reload_flag in 7315"" | " "*) ;; 7316*) reload_flag=" $reload_flag" ;; 7317esac 7318reload_cmds='$LD$reload_flag -o $output$reload_objs' 7319case $host_os in 7320 cygwin* | mingw* | pw32* | cegcc*) 7321 if test yes != "$GCC"; then 7322 reload_cmds=false 7323 fi 7324 ;; 7325 darwin*) 7326 if test yes = "$GCC"; then 7327 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 7328 else 7329 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7330 fi 7331 ;; 7332esac 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342if test -n "$ac_tool_prefix"; then 7343 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 7344set dummy ${ac_tool_prefix}objdump; ac_word=$2 7345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7346$as_echo_n "checking for $ac_word... " >&6; } 7347if ${ac_cv_prog_OBJDUMP+:} false; then : 7348 $as_echo_n "(cached) " >&6 7349else 7350 if test -n "$OBJDUMP"; then 7351 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 7352else 7353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7354for as_dir in $PATH 7355do 7356 IFS=$as_save_IFS 7357 test -z "$as_dir" && as_dir=. 7358 for ac_exec_ext in '' $ac_executable_extensions; do 7359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7360 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 7361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7362 break 2 7363 fi 7364done 7365 done 7366IFS=$as_save_IFS 7367 7368fi 7369fi 7370OBJDUMP=$ac_cv_prog_OBJDUMP 7371if test -n "$OBJDUMP"; then 7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 7373$as_echo "$OBJDUMP" >&6; } 7374else 7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7376$as_echo "no" >&6; } 7377fi 7378 7379 7380fi 7381if test -z "$ac_cv_prog_OBJDUMP"; then 7382 ac_ct_OBJDUMP=$OBJDUMP 7383 # Extract the first word of "objdump", so it can be a program name with args. 7384set dummy objdump; ac_word=$2 7385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7386$as_echo_n "checking for $ac_word... " >&6; } 7387if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 7388 $as_echo_n "(cached) " >&6 7389else 7390 if test -n "$ac_ct_OBJDUMP"; then 7391 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 7392else 7393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7394for as_dir in $PATH 7395do 7396 IFS=$as_save_IFS 7397 test -z "$as_dir" && as_dir=. 7398 for ac_exec_ext in '' $ac_executable_extensions; do 7399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7400 ac_cv_prog_ac_ct_OBJDUMP="objdump" 7401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7402 break 2 7403 fi 7404done 7405 done 7406IFS=$as_save_IFS 7407 7408fi 7409fi 7410ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 7411if test -n "$ac_ct_OBJDUMP"; then 7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 7413$as_echo "$ac_ct_OBJDUMP" >&6; } 7414else 7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7416$as_echo "no" >&6; } 7417fi 7418 7419 if test "x$ac_ct_OBJDUMP" = x; then 7420 OBJDUMP="false" 7421 else 7422 case $cross_compiling:$ac_tool_warned in 7423yes:) 7424{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7425$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7426ac_tool_warned=yes ;; 7427esac 7428 OBJDUMP=$ac_ct_OBJDUMP 7429 fi 7430else 7431 OBJDUMP="$ac_cv_prog_OBJDUMP" 7432fi 7433 7434test -z "$OBJDUMP" && OBJDUMP=objdump 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 7445$as_echo_n "checking how to recognize dependent libraries... " >&6; } 7446if ${lt_cv_deplibs_check_method+:} false; then : 7447 $as_echo_n "(cached) " >&6 7448else 7449 lt_cv_file_magic_cmd='$MAGIC_CMD' 7450lt_cv_file_magic_test_file= 7451lt_cv_deplibs_check_method='unknown' 7452# Need to set the preceding variable on all platforms that support 7453# interlibrary dependencies. 7454# 'none' -- dependencies not supported. 7455# 'unknown' -- same as none, but documents that we really don't know. 7456# 'pass_all' -- all dependencies passed with no checks. 7457# 'test_compile' -- check by making test program. 7458# 'file_magic [[regex]]' -- check by looking for files in library path 7459# that responds to the $file_magic_cmd with a given extended regex. 7460# If you have 'file' or equivalent on your system and you're not sure 7461# whether 'pass_all' will *always* work, you probably want this one. 7462 7463case $host_os in 7464aix[4-9]*) 7465 lt_cv_deplibs_check_method=pass_all 7466 ;; 7467 7468beos*) 7469 lt_cv_deplibs_check_method=pass_all 7470 ;; 7471 7472bsdi[45]*) 7473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 7474 lt_cv_file_magic_cmd='/usr/bin/file -L' 7475 lt_cv_file_magic_test_file=/shlib/libc.so 7476 ;; 7477 7478cygwin*) 7479 # func_win32_libid is a shell function defined in ltmain.sh 7480 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7481 lt_cv_file_magic_cmd='func_win32_libid' 7482 ;; 7483 7484mingw* | pw32*) 7485 # Base MSYS/MinGW do not provide the 'file' command needed by 7486 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7487 # unless we find 'file', for example because we are cross-compiling. 7488 if ( file / ) >/dev/null 2>&1; then 7489 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7490 lt_cv_file_magic_cmd='func_win32_libid' 7491 else 7492 # Keep this pattern in sync with the one in func_win32_libid. 7493 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7494 lt_cv_file_magic_cmd='$OBJDUMP -f' 7495 fi 7496 ;; 7497 7498cegcc*) 7499 # use the weaker test based on 'objdump'. See mingw*. 7500 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7501 lt_cv_file_magic_cmd='$OBJDUMP -f' 7502 ;; 7503 7504darwin* | rhapsody*) 7505 lt_cv_deplibs_check_method=pass_all 7506 ;; 7507 7508freebsd* | dragonfly*) 7509 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7510 case $host_cpu in 7511 i*86 ) 7512 # Not sure whether the presence of OpenBSD here was a mistake. 7513 # Let's accept both of them until this is cleared up. 7514 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7515 lt_cv_file_magic_cmd=/usr/bin/file 7516 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7517 ;; 7518 esac 7519 else 7520 lt_cv_deplibs_check_method=pass_all 7521 fi 7522 ;; 7523 7524haiku*) 7525 lt_cv_deplibs_check_method=pass_all 7526 ;; 7527 7528hpux10.20* | hpux11*) 7529 lt_cv_file_magic_cmd=/usr/bin/file 7530 case $host_cpu in 7531 ia64*) 7532 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7533 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7534 ;; 7535 hppa*64*) 7536 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]' 7537 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7538 ;; 7539 *) 7540 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7541 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7542 ;; 7543 esac 7544 ;; 7545 7546interix[3-9]*) 7547 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7548 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7549 ;; 7550 7551irix5* | irix6* | nonstopux*) 7552 case $LD in 7553 *-32|*"-32 ") libmagic=32-bit;; 7554 *-n32|*"-n32 ") libmagic=N32;; 7555 *-64|*"-64 ") libmagic=64-bit;; 7556 *) libmagic=never-match;; 7557 esac 7558 lt_cv_deplibs_check_method=pass_all 7559 ;; 7560 7561# This must be glibc/ELF. 7562linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7563 lt_cv_deplibs_check_method=pass_all 7564 ;; 7565 7566netbsd* | netbsdelf*-gnu) 7567 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7568 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7569 else 7570 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7571 fi 7572 ;; 7573 7574newos6*) 7575 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7576 lt_cv_file_magic_cmd=/usr/bin/file 7577 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7578 ;; 7579 7580*nto* | *qnx*) 7581 lt_cv_deplibs_check_method=pass_all 7582 ;; 7583 7584openbsd* | bitrig*) 7585 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7586 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7587 else 7588 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7589 fi 7590 ;; 7591 7592osf3* | osf4* | osf5*) 7593 lt_cv_deplibs_check_method=pass_all 7594 ;; 7595 7596rdos*) 7597 lt_cv_deplibs_check_method=pass_all 7598 ;; 7599 7600solaris*) 7601 lt_cv_deplibs_check_method=pass_all 7602 ;; 7603 7604sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7605 lt_cv_deplibs_check_method=pass_all 7606 ;; 7607 7608sysv4 | sysv4.3*) 7609 case $host_vendor in 7610 motorola) 7611 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]' 7612 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7613 ;; 7614 ncr) 7615 lt_cv_deplibs_check_method=pass_all 7616 ;; 7617 sequent) 7618 lt_cv_file_magic_cmd='/bin/file' 7619 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7620 ;; 7621 sni) 7622 lt_cv_file_magic_cmd='/bin/file' 7623 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7624 lt_cv_file_magic_test_file=/lib/libc.so 7625 ;; 7626 siemens) 7627 lt_cv_deplibs_check_method=pass_all 7628 ;; 7629 pc) 7630 lt_cv_deplibs_check_method=pass_all 7631 ;; 7632 esac 7633 ;; 7634 7635tpf*) 7636 lt_cv_deplibs_check_method=pass_all 7637 ;; 7638os2*) 7639 lt_cv_deplibs_check_method=pass_all 7640 ;; 7641esac 7642 7643fi 7644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7645$as_echo "$lt_cv_deplibs_check_method" >&6; } 7646 7647file_magic_glob= 7648want_nocaseglob=no 7649if test "$build" = "$host"; then 7650 case $host_os in 7651 mingw* | pw32*) 7652 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7653 want_nocaseglob=yes 7654 else 7655 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7656 fi 7657 ;; 7658 esac 7659fi 7660 7661file_magic_cmd=$lt_cv_file_magic_cmd 7662deplibs_check_method=$lt_cv_deplibs_check_method 7663test -z "$deplibs_check_method" && deplibs_check_method=unknown 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686if test -n "$ac_tool_prefix"; then 7687 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7688set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7690$as_echo_n "checking for $ac_word... " >&6; } 7691if ${ac_cv_prog_DLLTOOL+:} false; then : 7692 $as_echo_n "(cached) " >&6 7693else 7694 if test -n "$DLLTOOL"; then 7695 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7696else 7697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7698for as_dir in $PATH 7699do 7700 IFS=$as_save_IFS 7701 test -z "$as_dir" && as_dir=. 7702 for ac_exec_ext in '' $ac_executable_extensions; do 7703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7704 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7706 break 2 7707 fi 7708done 7709 done 7710IFS=$as_save_IFS 7711 7712fi 7713fi 7714DLLTOOL=$ac_cv_prog_DLLTOOL 7715if test -n "$DLLTOOL"; then 7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7717$as_echo "$DLLTOOL" >&6; } 7718else 7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7720$as_echo "no" >&6; } 7721fi 7722 7723 7724fi 7725if test -z "$ac_cv_prog_DLLTOOL"; then 7726 ac_ct_DLLTOOL=$DLLTOOL 7727 # Extract the first word of "dlltool", so it can be a program name with args. 7728set dummy dlltool; ac_word=$2 7729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7730$as_echo_n "checking for $ac_word... " >&6; } 7731if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7732 $as_echo_n "(cached) " >&6 7733else 7734 if test -n "$ac_ct_DLLTOOL"; then 7735 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7736else 7737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7738for as_dir in $PATH 7739do 7740 IFS=$as_save_IFS 7741 test -z "$as_dir" && as_dir=. 7742 for ac_exec_ext in '' $ac_executable_extensions; do 7743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7744 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7746 break 2 7747 fi 7748done 7749 done 7750IFS=$as_save_IFS 7751 7752fi 7753fi 7754ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7755if test -n "$ac_ct_DLLTOOL"; then 7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7757$as_echo "$ac_ct_DLLTOOL" >&6; } 7758else 7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7760$as_echo "no" >&6; } 7761fi 7762 7763 if test "x$ac_ct_DLLTOOL" = x; then 7764 DLLTOOL="false" 7765 else 7766 case $cross_compiling:$ac_tool_warned in 7767yes:) 7768{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7769$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7770ac_tool_warned=yes ;; 7771esac 7772 DLLTOOL=$ac_ct_DLLTOOL 7773 fi 7774else 7775 DLLTOOL="$ac_cv_prog_DLLTOOL" 7776fi 7777 7778test -z "$DLLTOOL" && DLLTOOL=dlltool 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7790$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7791if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7792 $as_echo_n "(cached) " >&6 7793else 7794 lt_cv_sharedlib_from_linklib_cmd='unknown' 7795 7796case $host_os in 7797cygwin* | mingw* | pw32* | cegcc*) 7798 # two different shell functions defined in ltmain.sh; 7799 # decide which one to use based on capabilities of $DLLTOOL 7800 case `$DLLTOOL --help 2>&1` in 7801 *--identify-strict*) 7802 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7803 ;; 7804 *) 7805 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7806 ;; 7807 esac 7808 ;; 7809*) 7810 # fallback: assume linklib IS sharedlib 7811 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7812 ;; 7813esac 7814 7815fi 7816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7817$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7818sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7819test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7820 7821 7822 7823 7824 7825 7826 7827if test -n "$ac_tool_prefix"; then 7828 for ac_prog in ar 7829 do 7830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7831set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7833$as_echo_n "checking for $ac_word... " >&6; } 7834if ${ac_cv_prog_AR+:} false; then : 7835 $as_echo_n "(cached) " >&6 7836else 7837 if test -n "$AR"; then 7838 ac_cv_prog_AR="$AR" # Let the user override the test. 7839else 7840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7841for as_dir in $PATH 7842do 7843 IFS=$as_save_IFS 7844 test -z "$as_dir" && as_dir=. 7845 for ac_exec_ext in '' $ac_executable_extensions; do 7846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7847 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7849 break 2 7850 fi 7851done 7852 done 7853IFS=$as_save_IFS 7854 7855fi 7856fi 7857AR=$ac_cv_prog_AR 7858if test -n "$AR"; then 7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7860$as_echo "$AR" >&6; } 7861else 7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7863$as_echo "no" >&6; } 7864fi 7865 7866 7867 test -n "$AR" && break 7868 done 7869fi 7870if test -z "$AR"; then 7871 ac_ct_AR=$AR 7872 for ac_prog in ar 7873do 7874 # Extract the first word of "$ac_prog", so it can be a program name with args. 7875set dummy $ac_prog; ac_word=$2 7876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7877$as_echo_n "checking for $ac_word... " >&6; } 7878if ${ac_cv_prog_ac_ct_AR+:} false; then : 7879 $as_echo_n "(cached) " >&6 7880else 7881 if test -n "$ac_ct_AR"; then 7882 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7883else 7884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7885for as_dir in $PATH 7886do 7887 IFS=$as_save_IFS 7888 test -z "$as_dir" && as_dir=. 7889 for ac_exec_ext in '' $ac_executable_extensions; do 7890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7891 ac_cv_prog_ac_ct_AR="$ac_prog" 7892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7893 break 2 7894 fi 7895done 7896 done 7897IFS=$as_save_IFS 7898 7899fi 7900fi 7901ac_ct_AR=$ac_cv_prog_ac_ct_AR 7902if test -n "$ac_ct_AR"; then 7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7904$as_echo "$ac_ct_AR" >&6; } 7905else 7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7907$as_echo "no" >&6; } 7908fi 7909 7910 7911 test -n "$ac_ct_AR" && break 7912done 7913 7914 if test "x$ac_ct_AR" = x; then 7915 AR="false" 7916 else 7917 case $cross_compiling:$ac_tool_warned in 7918yes:) 7919{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7920$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7921ac_tool_warned=yes ;; 7922esac 7923 AR=$ac_ct_AR 7924 fi 7925fi 7926 7927: ${AR=ar} 7928: ${AR_FLAGS=cr} 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7941$as_echo_n "checking for archiver @FILE support... " >&6; } 7942if ${lt_cv_ar_at_file+:} false; then : 7943 $as_echo_n "(cached) " >&6 7944else 7945 lt_cv_ar_at_file=no 7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7947/* end confdefs.h. */ 7948 7949int 7950main () 7951{ 7952 7953 ; 7954 return 0; 7955} 7956_ACEOF 7957if ac_fn_c_try_compile "$LINENO"; then : 7958 echo conftest.$ac_objext > conftest.lst 7959 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7961 (eval $lt_ar_try) 2>&5 7962 ac_status=$? 7963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7964 test $ac_status = 0; } 7965 if test 0 -eq "$ac_status"; then 7966 # Ensure the archiver fails upon bogus file names. 7967 rm -f conftest.$ac_objext libconftest.a 7968 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7969 (eval $lt_ar_try) 2>&5 7970 ac_status=$? 7971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7972 test $ac_status = 0; } 7973 if test 0 -ne "$ac_status"; then 7974 lt_cv_ar_at_file=@ 7975 fi 7976 fi 7977 rm -f conftest.* libconftest.a 7978 7979fi 7980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7981 7982fi 7983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7984$as_echo "$lt_cv_ar_at_file" >&6; } 7985 7986if test no = "$lt_cv_ar_at_file"; then 7987 archiver_list_spec= 7988else 7989 archiver_list_spec=$lt_cv_ar_at_file 7990fi 7991 7992 7993 7994 7995 7996 7997 7998if test -n "$ac_tool_prefix"; then 7999 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 8000set dummy ${ac_tool_prefix}strip; ac_word=$2 8001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8002$as_echo_n "checking for $ac_word... " >&6; } 8003if ${ac_cv_prog_STRIP+:} false; then : 8004 $as_echo_n "(cached) " >&6 8005else 8006 if test -n "$STRIP"; then 8007 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 8008else 8009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8010for as_dir in $PATH 8011do 8012 IFS=$as_save_IFS 8013 test -z "$as_dir" && as_dir=. 8014 for ac_exec_ext in '' $ac_executable_extensions; do 8015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8016 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 8017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8018 break 2 8019 fi 8020done 8021 done 8022IFS=$as_save_IFS 8023 8024fi 8025fi 8026STRIP=$ac_cv_prog_STRIP 8027if test -n "$STRIP"; then 8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 8029$as_echo "$STRIP" >&6; } 8030else 8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8032$as_echo "no" >&6; } 8033fi 8034 8035 8036fi 8037if test -z "$ac_cv_prog_STRIP"; then 8038 ac_ct_STRIP=$STRIP 8039 # Extract the first word of "strip", so it can be a program name with args. 8040set dummy strip; ac_word=$2 8041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8042$as_echo_n "checking for $ac_word... " >&6; } 8043if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 8044 $as_echo_n "(cached) " >&6 8045else 8046 if test -n "$ac_ct_STRIP"; then 8047 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 8048else 8049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8050for as_dir in $PATH 8051do 8052 IFS=$as_save_IFS 8053 test -z "$as_dir" && as_dir=. 8054 for ac_exec_ext in '' $ac_executable_extensions; do 8055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8056 ac_cv_prog_ac_ct_STRIP="strip" 8057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8058 break 2 8059 fi 8060done 8061 done 8062IFS=$as_save_IFS 8063 8064fi 8065fi 8066ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 8067if test -n "$ac_ct_STRIP"; then 8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 8069$as_echo "$ac_ct_STRIP" >&6; } 8070else 8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8072$as_echo "no" >&6; } 8073fi 8074 8075 if test "x$ac_ct_STRIP" = x; then 8076 STRIP=":" 8077 else 8078 case $cross_compiling:$ac_tool_warned in 8079yes:) 8080{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8081$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8082ac_tool_warned=yes ;; 8083esac 8084 STRIP=$ac_ct_STRIP 8085 fi 8086else 8087 STRIP="$ac_cv_prog_STRIP" 8088fi 8089 8090test -z "$STRIP" && STRIP=: 8091 8092 8093 8094 8095 8096 8097if test -n "$ac_tool_prefix"; then 8098 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 8099set dummy ${ac_tool_prefix}ranlib; ac_word=$2 8100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8101$as_echo_n "checking for $ac_word... " >&6; } 8102if ${ac_cv_prog_RANLIB+:} false; then : 8103 $as_echo_n "(cached) " >&6 8104else 8105 if test -n "$RANLIB"; then 8106 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 8107else 8108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8109for as_dir in $PATH 8110do 8111 IFS=$as_save_IFS 8112 test -z "$as_dir" && as_dir=. 8113 for ac_exec_ext in '' $ac_executable_extensions; do 8114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8115 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 8116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8117 break 2 8118 fi 8119done 8120 done 8121IFS=$as_save_IFS 8122 8123fi 8124fi 8125RANLIB=$ac_cv_prog_RANLIB 8126if test -n "$RANLIB"; then 8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 8128$as_echo "$RANLIB" >&6; } 8129else 8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8131$as_echo "no" >&6; } 8132fi 8133 8134 8135fi 8136if test -z "$ac_cv_prog_RANLIB"; then 8137 ac_ct_RANLIB=$RANLIB 8138 # Extract the first word of "ranlib", so it can be a program name with args. 8139set dummy ranlib; ac_word=$2 8140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8141$as_echo_n "checking for $ac_word... " >&6; } 8142if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 8143 $as_echo_n "(cached) " >&6 8144else 8145 if test -n "$ac_ct_RANLIB"; then 8146 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 8147else 8148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8149for as_dir in $PATH 8150do 8151 IFS=$as_save_IFS 8152 test -z "$as_dir" && as_dir=. 8153 for ac_exec_ext in '' $ac_executable_extensions; do 8154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8155 ac_cv_prog_ac_ct_RANLIB="ranlib" 8156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8157 break 2 8158 fi 8159done 8160 done 8161IFS=$as_save_IFS 8162 8163fi 8164fi 8165ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 8166if test -n "$ac_ct_RANLIB"; then 8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 8168$as_echo "$ac_ct_RANLIB" >&6; } 8169else 8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8171$as_echo "no" >&6; } 8172fi 8173 8174 if test "x$ac_ct_RANLIB" = x; then 8175 RANLIB=":" 8176 else 8177 case $cross_compiling:$ac_tool_warned in 8178yes:) 8179{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8180$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8181ac_tool_warned=yes ;; 8182esac 8183 RANLIB=$ac_ct_RANLIB 8184 fi 8185else 8186 RANLIB="$ac_cv_prog_RANLIB" 8187fi 8188 8189test -z "$RANLIB" && RANLIB=: 8190 8191 8192 8193 8194 8195 8196# Determine commands to create old-style static archives. 8197old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 8198old_postinstall_cmds='chmod 644 $oldlib' 8199old_postuninstall_cmds= 8200 8201if test -n "$RANLIB"; then 8202 case $host_os in 8203 bitrig* | openbsd*) 8204 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 8205 ;; 8206 *) 8207 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 8208 ;; 8209 esac 8210 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 8211fi 8212 8213case $host_os in 8214 darwin*) 8215 lock_old_archive_extraction=yes ;; 8216 *) 8217 lock_old_archive_extraction=no ;; 8218esac 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258# If no C compiler was specified, use CC. 8259LTCC=${LTCC-"$CC"} 8260 8261# If no C compiler flags were specified, use CFLAGS. 8262LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8263 8264# Allow CC to be a program name with arguments. 8265compiler=$CC 8266 8267 8268# Check for command to grab the raw symbol name followed by C symbol from nm. 8269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 8270$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 8271if ${lt_cv_sys_global_symbol_pipe+:} false; then : 8272 $as_echo_n "(cached) " >&6 8273else 8274 8275# These are sane defaults that work on at least a few old systems. 8276# [They come from Ultrix. What could be older than Ultrix?!! ;)] 8277 8278# Character class describing NM global symbol codes. 8279symcode='[BCDEGRST]' 8280 8281# Regexp to match symbols that can be accessed directly from C. 8282sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 8283 8284# Define system-specific variables. 8285case $host_os in 8286aix*) 8287 symcode='[BCDT]' 8288 ;; 8289cygwin* | mingw* | pw32* | cegcc*) 8290 symcode='[ABCDGISTW]' 8291 ;; 8292hpux*) 8293 if test ia64 = "$host_cpu"; then 8294 symcode='[ABCDEGRST]' 8295 fi 8296 ;; 8297irix* | nonstopux*) 8298 symcode='[BCDEGRST]' 8299 ;; 8300osf*) 8301 symcode='[BCDEGQRST]' 8302 ;; 8303solaris*) 8304 symcode='[BDRT]' 8305 ;; 8306sco3.2v5*) 8307 symcode='[DT]' 8308 ;; 8309sysv4.2uw2*) 8310 symcode='[DT]' 8311 ;; 8312sysv5* | sco5v6* | unixware* | OpenUNIX*) 8313 symcode='[ABDT]' 8314 ;; 8315sysv4) 8316 symcode='[DFNSTU]' 8317 ;; 8318esac 8319 8320# If we're using GNU nm, then use its standard symbol codes. 8321case `$NM -V 2>&1` in 8322*GNU* | *'with BFD'*) 8323 symcode='[ABCDGIRSTW]' ;; 8324esac 8325 8326if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8327 # Gets list of data symbols to import. 8328 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 8329 # Adjust the below global symbol transforms to fixup imported variables. 8330 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 8331 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 8332 lt_c_name_lib_hook="\ 8333 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 8334 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 8335else 8336 # Disable hooks by default. 8337 lt_cv_sys_global_symbol_to_import= 8338 lt_cdecl_hook= 8339 lt_c_name_hook= 8340 lt_c_name_lib_hook= 8341fi 8342 8343# Transform an extracted symbol line into a proper C declaration. 8344# Some systems (esp. on ia64) link data and code symbols differently, 8345# so use this general approach. 8346lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 8347$lt_cdecl_hook\ 8348" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 8349" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 8350 8351# Transform an extracted symbol line into symbol name and symbol address 8352lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 8353$lt_c_name_hook\ 8354" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 8355" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 8356 8357# Transform an extracted symbol line into symbol name with lib prefix and 8358# symbol address. 8359lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 8360$lt_c_name_lib_hook\ 8361" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 8362" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 8363" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 8364 8365# Handle CRLF in mingw tool chain 8366opt_cr= 8367case $build_os in 8368mingw*) 8369 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 8370 ;; 8371esac 8372 8373# Try without a prefix underscore, then with it. 8374for ac_symprfx in "" "_"; do 8375 8376 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 8377 symxfrm="\\1 $ac_symprfx\\2 \\2" 8378 8379 # Write the raw and C identifiers. 8380 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8381 # Fake it for dumpbin and say T for any non-static function, 8382 # D for any global variable and I for any imported variable. 8383 # Also find C++ and __fastcall symbols from MSVC++, 8384 # which start with @ or ?. 8385 lt_cv_sys_global_symbol_pipe="$AWK '"\ 8386" {last_section=section; section=\$ 3};"\ 8387" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 8388" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 8389" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 8390" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 8391" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 8392" \$ 0!~/External *\|/{next};"\ 8393" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 8394" {if(hide[section]) next};"\ 8395" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 8396" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 8397" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 8398" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 8399" ' prfx=^$ac_symprfx" 8400 else 8401 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 8402 fi 8403 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 8404 8405 # Check to see that the pipe works correctly. 8406 pipe_works=no 8407 8408 rm -f conftest* 8409 cat > conftest.$ac_ext <<_LT_EOF 8410#ifdef __cplusplus 8411extern "C" { 8412#endif 8413char nm_test_var; 8414void nm_test_func(void); 8415void nm_test_func(void){} 8416#ifdef __cplusplus 8417} 8418#endif 8419int main(){nm_test_var='a';nm_test_func();return(0);} 8420_LT_EOF 8421 8422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8423 (eval $ac_compile) 2>&5 8424 ac_status=$? 8425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8426 test $ac_status = 0; }; then 8427 # Now try to grab the symbols. 8428 nlist=conftest.nm 8429 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 8430 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 8431 # Try sorting and uniquifying the output. 8432 if sort "$nlist" | uniq > "$nlist"T; then 8433 mv -f "$nlist"T "$nlist" 8434 else 8435 rm -f "$nlist"T 8436 fi 8437 8438 # Make sure that we snagged all the symbols we need. 8439 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 8440 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 8441 cat <<_LT_EOF > conftest.$ac_ext 8442/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 8443#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 8444/* DATA imports from DLLs on WIN32 can't be const, because runtime 8445 relocations are performed -- see ld's documentation on pseudo-relocs. */ 8446# define LT_DLSYM_CONST 8447#elif defined __osf__ 8448/* This system does not cope well with relocations in const data. */ 8449# define LT_DLSYM_CONST 8450#else 8451# define LT_DLSYM_CONST const 8452#endif 8453 8454#ifdef __cplusplus 8455extern "C" { 8456#endif 8457 8458_LT_EOF 8459 # Now generate the symbol file. 8460 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 8461 8462 cat <<_LT_EOF >> conftest.$ac_ext 8463 8464/* The mapping between symbol names and symbols. */ 8465LT_DLSYM_CONST struct { 8466 const char *name; 8467 void *address; 8468} 8469lt__PROGRAM__LTX_preloaded_symbols[] = 8470{ 8471 { "@PROGRAM@", (void *) 0 }, 8472_LT_EOF 8473 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 8474 cat <<\_LT_EOF >> conftest.$ac_ext 8475 {0, (void *) 0} 8476}; 8477 8478/* This works around a problem in FreeBSD linker */ 8479#ifdef FREEBSD_WORKAROUND 8480static const void *lt_preloaded_setup() { 8481 return lt__PROGRAM__LTX_preloaded_symbols; 8482} 8483#endif 8484 8485#ifdef __cplusplus 8486} 8487#endif 8488_LT_EOF 8489 # Now try linking the two files. 8490 mv conftest.$ac_objext conftstm.$ac_objext 8491 lt_globsym_save_LIBS=$LIBS 8492 lt_globsym_save_CFLAGS=$CFLAGS 8493 LIBS=conftstm.$ac_objext 8494 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8495 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8496 (eval $ac_link) 2>&5 8497 ac_status=$? 8498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8499 test $ac_status = 0; } && test -s conftest$ac_exeext; then 8500 pipe_works=yes 8501 fi 8502 LIBS=$lt_globsym_save_LIBS 8503 CFLAGS=$lt_globsym_save_CFLAGS 8504 else 8505 echo "cannot find nm_test_func in $nlist" >&5 8506 fi 8507 else 8508 echo "cannot find nm_test_var in $nlist" >&5 8509 fi 8510 else 8511 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8512 fi 8513 else 8514 echo "$progname: failed program was:" >&5 8515 cat conftest.$ac_ext >&5 8516 fi 8517 rm -rf conftest* conftst* 8518 8519 # Do not use the global_symbol_pipe unless it works. 8520 if test yes = "$pipe_works"; then 8521 break 8522 else 8523 lt_cv_sys_global_symbol_pipe= 8524 fi 8525done 8526 8527fi 8528 8529if test -z "$lt_cv_sys_global_symbol_pipe"; then 8530 lt_cv_sys_global_symbol_to_cdecl= 8531fi 8532if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8534$as_echo "failed" >&6; } 8535else 8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8537$as_echo "ok" >&6; } 8538fi 8539 8540# Response file support. 8541if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8542 nm_file_list_spec='@' 8543elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8544 nm_file_list_spec='@' 8545fi 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8584$as_echo_n "checking for sysroot... " >&6; } 8585 8586# Check whether --with-sysroot was given. 8587if test "${with_sysroot+set}" = set; then : 8588 withval=$with_sysroot; 8589else 8590 with_sysroot=no 8591fi 8592 8593 8594lt_sysroot= 8595case $with_sysroot in #( 8596 yes) 8597 if test yes = "$GCC"; then 8598 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8599 fi 8600 ;; #( 8601 /*) 8602 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8603 ;; #( 8604 no|'') 8605 ;; #( 8606 *) 8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8608$as_echo "$with_sysroot" >&6; } 8609 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8610 ;; 8611esac 8612 8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8614$as_echo "${lt_sysroot:-no}" >&6; } 8615 8616 8617 8618 8619 8620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8621$as_echo_n "checking for a working dd... " >&6; } 8622if ${ac_cv_path_lt_DD+:} false; then : 8623 $as_echo_n "(cached) " >&6 8624else 8625 printf 0123456789abcdef0123456789abcdef >conftest.i 8626cat conftest.i conftest.i >conftest2.i 8627: ${lt_DD:=$DD} 8628if test -z "$lt_DD"; then 8629 ac_path_lt_DD_found=false 8630 # Loop through the user's path and test for each of PROGNAME-LIST 8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8632for as_dir in $PATH 8633do 8634 IFS=$as_save_IFS 8635 test -z "$as_dir" && as_dir=. 8636 for ac_prog in dd; do 8637 for ac_exec_ext in '' $ac_executable_extensions; do 8638 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8639 as_fn_executable_p "$ac_path_lt_DD" || continue 8640if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8641 cmp -s conftest.i conftest.out \ 8642 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8643fi 8644 $ac_path_lt_DD_found && break 3 8645 done 8646 done 8647 done 8648IFS=$as_save_IFS 8649 if test -z "$ac_cv_path_lt_DD"; then 8650 : 8651 fi 8652else 8653 ac_cv_path_lt_DD=$lt_DD 8654fi 8655 8656rm -f conftest.i conftest2.i conftest.out 8657fi 8658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8659$as_echo "$ac_cv_path_lt_DD" >&6; } 8660 8661 8662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8663$as_echo_n "checking how to truncate binary pipes... " >&6; } 8664if ${lt_cv_truncate_bin+:} false; then : 8665 $as_echo_n "(cached) " >&6 8666else 8667 printf 0123456789abcdef0123456789abcdef >conftest.i 8668cat conftest.i conftest.i >conftest2.i 8669lt_cv_truncate_bin= 8670if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8671 cmp -s conftest.i conftest.out \ 8672 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8673fi 8674rm -f conftest.i conftest2.i conftest.out 8675test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8676fi 8677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8678$as_echo "$lt_cv_truncate_bin" >&6; } 8679 8680 8681 8682 8683 8684 8685 8686# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8687func_cc_basename () 8688{ 8689 for cc_temp in $*""; do 8690 case $cc_temp in 8691 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8692 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8693 \-*) ;; 8694 *) break;; 8695 esac 8696 done 8697 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8698} 8699 8700# Check whether --enable-libtool-lock was given. 8701if test "${enable_libtool_lock+set}" = set; then : 8702 enableval=$enable_libtool_lock; 8703fi 8704 8705test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8706 8707# Some flags need to be propagated to the compiler or linker for good 8708# libtool support. 8709case $host in 8710ia64-*-hpux*) 8711 # Find out what ABI is being produced by ac_compile, and set mode 8712 # options accordingly. 8713 echo 'int i;' > conftest.$ac_ext 8714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8715 (eval $ac_compile) 2>&5 8716 ac_status=$? 8717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8718 test $ac_status = 0; }; then 8719 case `/usr/bin/file conftest.$ac_objext` in 8720 *ELF-32*) 8721 HPUX_IA64_MODE=32 8722 ;; 8723 *ELF-64*) 8724 HPUX_IA64_MODE=64 8725 ;; 8726 esac 8727 fi 8728 rm -rf conftest* 8729 ;; 8730*-*-irix6*) 8731 # Find out what ABI is being produced by ac_compile, and set linker 8732 # options accordingly. 8733 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8734 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8735 (eval $ac_compile) 2>&5 8736 ac_status=$? 8737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8738 test $ac_status = 0; }; then 8739 if test yes = "$lt_cv_prog_gnu_ld"; then 8740 case `/usr/bin/file conftest.$ac_objext` in 8741 *32-bit*) 8742 LD="${LD-ld} -melf32bsmip" 8743 ;; 8744 *N32*) 8745 LD="${LD-ld} -melf32bmipn32" 8746 ;; 8747 *64-bit*) 8748 LD="${LD-ld} -melf64bmip" 8749 ;; 8750 esac 8751 else 8752 case `/usr/bin/file conftest.$ac_objext` in 8753 *32-bit*) 8754 LD="${LD-ld} -32" 8755 ;; 8756 *N32*) 8757 LD="${LD-ld} -n32" 8758 ;; 8759 *64-bit*) 8760 LD="${LD-ld} -64" 8761 ;; 8762 esac 8763 fi 8764 fi 8765 rm -rf conftest* 8766 ;; 8767 8768mips64*-*linux*) 8769 # Find out what ABI is being produced by ac_compile, and set linker 8770 # options accordingly. 8771 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8773 (eval $ac_compile) 2>&5 8774 ac_status=$? 8775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8776 test $ac_status = 0; }; then 8777 emul=elf 8778 case `/usr/bin/file conftest.$ac_objext` in 8779 *32-bit*) 8780 emul="${emul}32" 8781 ;; 8782 *64-bit*) 8783 emul="${emul}64" 8784 ;; 8785 esac 8786 case `/usr/bin/file conftest.$ac_objext` in 8787 *MSB*) 8788 emul="${emul}btsmip" 8789 ;; 8790 *LSB*) 8791 emul="${emul}ltsmip" 8792 ;; 8793 esac 8794 case `/usr/bin/file conftest.$ac_objext` in 8795 *N32*) 8796 emul="${emul}n32" 8797 ;; 8798 esac 8799 LD="${LD-ld} -m $emul" 8800 fi 8801 rm -rf conftest* 8802 ;; 8803 8804x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8805s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8806 # Find out what ABI is being produced by ac_compile, and set linker 8807 # options accordingly. Note that the listed cases only cover the 8808 # situations where additional linker options are needed (such as when 8809 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8810 # vice versa); the common cases where no linker options are needed do 8811 # not appear in the list. 8812 echo 'int i;' > conftest.$ac_ext 8813 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8814 (eval $ac_compile) 2>&5 8815 ac_status=$? 8816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8817 test $ac_status = 0; }; then 8818 case `/usr/bin/file conftest.o` in 8819 *32-bit*) 8820 case $host in 8821 x86_64-*kfreebsd*-gnu) 8822 LD="${LD-ld} -m elf_i386_fbsd" 8823 ;; 8824 x86_64-*linux*) 8825 case `/usr/bin/file conftest.o` in 8826 *x86-64*) 8827 LD="${LD-ld} -m elf32_x86_64" 8828 ;; 8829 *) 8830 LD="${LD-ld} -m elf_i386" 8831 ;; 8832 esac 8833 ;; 8834 powerpc64le-*linux*) 8835 LD="${LD-ld} -m elf32lppclinux" 8836 ;; 8837 powerpc64-*linux*) 8838 LD="${LD-ld} -m elf32ppclinux" 8839 ;; 8840 s390x-*linux*) 8841 LD="${LD-ld} -m elf_s390" 8842 ;; 8843 sparc64-*linux*) 8844 LD="${LD-ld} -m elf32_sparc" 8845 ;; 8846 esac 8847 ;; 8848 *64-bit*) 8849 case $host in 8850 x86_64-*kfreebsd*-gnu) 8851 LD="${LD-ld} -m elf_x86_64_fbsd" 8852 ;; 8853 x86_64-*linux*) 8854 LD="${LD-ld} -m elf_x86_64" 8855 ;; 8856 powerpcle-*linux*) 8857 LD="${LD-ld} -m elf64lppc" 8858 ;; 8859 powerpc-*linux*) 8860 LD="${LD-ld} -m elf64ppc" 8861 ;; 8862 s390*-*linux*|s390*-*tpf*) 8863 LD="${LD-ld} -m elf64_s390" 8864 ;; 8865 sparc*-*linux*) 8866 LD="${LD-ld} -m elf64_sparc" 8867 ;; 8868 esac 8869 ;; 8870 esac 8871 fi 8872 rm -rf conftest* 8873 ;; 8874 8875*-*-sco3.2v5*) 8876 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8877 SAVE_CFLAGS=$CFLAGS 8878 CFLAGS="$CFLAGS -belf" 8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8880$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8881if ${lt_cv_cc_needs_belf+:} false; then : 8882 $as_echo_n "(cached) " >&6 8883else 8884 ac_ext=c 8885ac_cpp='$CPP $CPPFLAGS' 8886ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8887ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8888ac_compiler_gnu=$ac_cv_c_compiler_gnu 8889 8890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8891/* end confdefs.h. */ 8892 8893int 8894main () 8895{ 8896 8897 ; 8898 return 0; 8899} 8900_ACEOF 8901if ac_fn_c_try_link "$LINENO"; then : 8902 lt_cv_cc_needs_belf=yes 8903else 8904 lt_cv_cc_needs_belf=no 8905fi 8906rm -f core conftest.err conftest.$ac_objext \ 8907 conftest$ac_exeext conftest.$ac_ext 8908 ac_ext=c 8909ac_cpp='$CPP $CPPFLAGS' 8910ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8911ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8912ac_compiler_gnu=$ac_cv_c_compiler_gnu 8913 8914fi 8915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8916$as_echo "$lt_cv_cc_needs_belf" >&6; } 8917 if test yes != "$lt_cv_cc_needs_belf"; then 8918 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8919 CFLAGS=$SAVE_CFLAGS 8920 fi 8921 ;; 8922*-*solaris*) 8923 # Find out what ABI is being produced by ac_compile, and set linker 8924 # options accordingly. 8925 echo 'int i;' > conftest.$ac_ext 8926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8927 (eval $ac_compile) 2>&5 8928 ac_status=$? 8929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8930 test $ac_status = 0; }; then 8931 case `/usr/bin/file conftest.o` in 8932 *64-bit*) 8933 case $lt_cv_prog_gnu_ld in 8934 yes*) 8935 case $host in 8936 i?86-*-solaris*|x86_64-*-solaris*) 8937 LD="${LD-ld} -m elf_x86_64" 8938 ;; 8939 sparc*-*-solaris*) 8940 LD="${LD-ld} -m elf64_sparc" 8941 ;; 8942 esac 8943 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8944 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8945 LD=${LD-ld}_sol2 8946 fi 8947 ;; 8948 *) 8949 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8950 LD="${LD-ld} -64" 8951 fi 8952 ;; 8953 esac 8954 ;; 8955 esac 8956 fi 8957 rm -rf conftest* 8958 ;; 8959esac 8960 8961need_locks=$enable_libtool_lock 8962 8963if test -n "$ac_tool_prefix"; then 8964 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8965set dummy ${ac_tool_prefix}mt; ac_word=$2 8966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8967$as_echo_n "checking for $ac_word... " >&6; } 8968if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8969 $as_echo_n "(cached) " >&6 8970else 8971 if test -n "$MANIFEST_TOOL"; then 8972 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8973else 8974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8975for as_dir in $PATH 8976do 8977 IFS=$as_save_IFS 8978 test -z "$as_dir" && as_dir=. 8979 for ac_exec_ext in '' $ac_executable_extensions; do 8980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8981 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8983 break 2 8984 fi 8985done 8986 done 8987IFS=$as_save_IFS 8988 8989fi 8990fi 8991MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8992if test -n "$MANIFEST_TOOL"; then 8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8994$as_echo "$MANIFEST_TOOL" >&6; } 8995else 8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8997$as_echo "no" >&6; } 8998fi 8999 9000 9001fi 9002if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 9003 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 9004 # Extract the first word of "mt", so it can be a program name with args. 9005set dummy mt; ac_word=$2 9006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9007$as_echo_n "checking for $ac_word... " >&6; } 9008if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 9009 $as_echo_n "(cached) " >&6 9010else 9011 if test -n "$ac_ct_MANIFEST_TOOL"; then 9012 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 9013else 9014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9015for as_dir in $PATH 9016do 9017 IFS=$as_save_IFS 9018 test -z "$as_dir" && as_dir=. 9019 for ac_exec_ext in '' $ac_executable_extensions; do 9020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9021 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 9022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9023 break 2 9024 fi 9025done 9026 done 9027IFS=$as_save_IFS 9028 9029fi 9030fi 9031ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 9032if test -n "$ac_ct_MANIFEST_TOOL"; then 9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 9034$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 9035else 9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9037$as_echo "no" >&6; } 9038fi 9039 9040 if test "x$ac_ct_MANIFEST_TOOL" = x; then 9041 MANIFEST_TOOL=":" 9042 else 9043 case $cross_compiling:$ac_tool_warned in 9044yes:) 9045{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9046$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9047ac_tool_warned=yes ;; 9048esac 9049 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 9050 fi 9051else 9052 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 9053fi 9054 9055test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 9056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 9057$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 9058if ${lt_cv_path_mainfest_tool+:} false; then : 9059 $as_echo_n "(cached) " >&6 9060else 9061 lt_cv_path_mainfest_tool=no 9062 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 9063 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 9064 cat conftest.err >&5 9065 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 9066 lt_cv_path_mainfest_tool=yes 9067 fi 9068 rm -f conftest* 9069fi 9070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 9071$as_echo "$lt_cv_path_mainfest_tool" >&6; } 9072if test yes != "$lt_cv_path_mainfest_tool"; then 9073 MANIFEST_TOOL=: 9074fi 9075 9076 9077 9078 9079 9080 9081 case $host_os in 9082 rhapsody* | darwin*) 9083 if test -n "$ac_tool_prefix"; then 9084 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 9085set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 9086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9087$as_echo_n "checking for $ac_word... " >&6; } 9088if ${ac_cv_prog_DSYMUTIL+:} false; then : 9089 $as_echo_n "(cached) " >&6 9090else 9091 if test -n "$DSYMUTIL"; then 9092 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 9093else 9094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9095for as_dir in $PATH 9096do 9097 IFS=$as_save_IFS 9098 test -z "$as_dir" && as_dir=. 9099 for ac_exec_ext in '' $ac_executable_extensions; do 9100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9101 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 9102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9103 break 2 9104 fi 9105done 9106 done 9107IFS=$as_save_IFS 9108 9109fi 9110fi 9111DSYMUTIL=$ac_cv_prog_DSYMUTIL 9112if test -n "$DSYMUTIL"; then 9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 9114$as_echo "$DSYMUTIL" >&6; } 9115else 9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9117$as_echo "no" >&6; } 9118fi 9119 9120 9121fi 9122if test -z "$ac_cv_prog_DSYMUTIL"; then 9123 ac_ct_DSYMUTIL=$DSYMUTIL 9124 # Extract the first word of "dsymutil", so it can be a program name with args. 9125set dummy dsymutil; ac_word=$2 9126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9127$as_echo_n "checking for $ac_word... " >&6; } 9128if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 9129 $as_echo_n "(cached) " >&6 9130else 9131 if test -n "$ac_ct_DSYMUTIL"; then 9132 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 9133else 9134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9135for as_dir in $PATH 9136do 9137 IFS=$as_save_IFS 9138 test -z "$as_dir" && as_dir=. 9139 for ac_exec_ext in '' $ac_executable_extensions; do 9140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9141 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 9142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9143 break 2 9144 fi 9145done 9146 done 9147IFS=$as_save_IFS 9148 9149fi 9150fi 9151ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 9152if test -n "$ac_ct_DSYMUTIL"; then 9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 9154$as_echo "$ac_ct_DSYMUTIL" >&6; } 9155else 9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9157$as_echo "no" >&6; } 9158fi 9159 9160 if test "x$ac_ct_DSYMUTIL" = x; then 9161 DSYMUTIL=":" 9162 else 9163 case $cross_compiling:$ac_tool_warned in 9164yes:) 9165{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9166$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9167ac_tool_warned=yes ;; 9168esac 9169 DSYMUTIL=$ac_ct_DSYMUTIL 9170 fi 9171else 9172 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 9173fi 9174 9175 if test -n "$ac_tool_prefix"; then 9176 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 9177set dummy ${ac_tool_prefix}nmedit; ac_word=$2 9178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9179$as_echo_n "checking for $ac_word... " >&6; } 9180if ${ac_cv_prog_NMEDIT+:} false; then : 9181 $as_echo_n "(cached) " >&6 9182else 9183 if test -n "$NMEDIT"; then 9184 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 9185else 9186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9187for as_dir in $PATH 9188do 9189 IFS=$as_save_IFS 9190 test -z "$as_dir" && as_dir=. 9191 for ac_exec_ext in '' $ac_executable_extensions; do 9192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9193 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 9194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9195 break 2 9196 fi 9197done 9198 done 9199IFS=$as_save_IFS 9200 9201fi 9202fi 9203NMEDIT=$ac_cv_prog_NMEDIT 9204if test -n "$NMEDIT"; then 9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 9206$as_echo "$NMEDIT" >&6; } 9207else 9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9209$as_echo "no" >&6; } 9210fi 9211 9212 9213fi 9214if test -z "$ac_cv_prog_NMEDIT"; then 9215 ac_ct_NMEDIT=$NMEDIT 9216 # Extract the first word of "nmedit", so it can be a program name with args. 9217set dummy nmedit; ac_word=$2 9218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9219$as_echo_n "checking for $ac_word... " >&6; } 9220if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 9221 $as_echo_n "(cached) " >&6 9222else 9223 if test -n "$ac_ct_NMEDIT"; then 9224 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 9225else 9226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9227for as_dir in $PATH 9228do 9229 IFS=$as_save_IFS 9230 test -z "$as_dir" && as_dir=. 9231 for ac_exec_ext in '' $ac_executable_extensions; do 9232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9233 ac_cv_prog_ac_ct_NMEDIT="nmedit" 9234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9235 break 2 9236 fi 9237done 9238 done 9239IFS=$as_save_IFS 9240 9241fi 9242fi 9243ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 9244if test -n "$ac_ct_NMEDIT"; then 9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 9246$as_echo "$ac_ct_NMEDIT" >&6; } 9247else 9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9249$as_echo "no" >&6; } 9250fi 9251 9252 if test "x$ac_ct_NMEDIT" = x; then 9253 NMEDIT=":" 9254 else 9255 case $cross_compiling:$ac_tool_warned in 9256yes:) 9257{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9258$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9259ac_tool_warned=yes ;; 9260esac 9261 NMEDIT=$ac_ct_NMEDIT 9262 fi 9263else 9264 NMEDIT="$ac_cv_prog_NMEDIT" 9265fi 9266 9267 if test -n "$ac_tool_prefix"; then 9268 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 9269set dummy ${ac_tool_prefix}lipo; ac_word=$2 9270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9271$as_echo_n "checking for $ac_word... " >&6; } 9272if ${ac_cv_prog_LIPO+:} false; then : 9273 $as_echo_n "(cached) " >&6 9274else 9275 if test -n "$LIPO"; then 9276 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 9277else 9278as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9279for as_dir in $PATH 9280do 9281 IFS=$as_save_IFS 9282 test -z "$as_dir" && as_dir=. 9283 for ac_exec_ext in '' $ac_executable_extensions; do 9284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9285 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 9286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9287 break 2 9288 fi 9289done 9290 done 9291IFS=$as_save_IFS 9292 9293fi 9294fi 9295LIPO=$ac_cv_prog_LIPO 9296if test -n "$LIPO"; then 9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 9298$as_echo "$LIPO" >&6; } 9299else 9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9301$as_echo "no" >&6; } 9302fi 9303 9304 9305fi 9306if test -z "$ac_cv_prog_LIPO"; then 9307 ac_ct_LIPO=$LIPO 9308 # Extract the first word of "lipo", so it can be a program name with args. 9309set dummy lipo; ac_word=$2 9310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9311$as_echo_n "checking for $ac_word... " >&6; } 9312if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 9313 $as_echo_n "(cached) " >&6 9314else 9315 if test -n "$ac_ct_LIPO"; then 9316 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 9317else 9318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9319for as_dir in $PATH 9320do 9321 IFS=$as_save_IFS 9322 test -z "$as_dir" && as_dir=. 9323 for ac_exec_ext in '' $ac_executable_extensions; do 9324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9325 ac_cv_prog_ac_ct_LIPO="lipo" 9326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9327 break 2 9328 fi 9329done 9330 done 9331IFS=$as_save_IFS 9332 9333fi 9334fi 9335ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 9336if test -n "$ac_ct_LIPO"; then 9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 9338$as_echo "$ac_ct_LIPO" >&6; } 9339else 9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9341$as_echo "no" >&6; } 9342fi 9343 9344 if test "x$ac_ct_LIPO" = x; then 9345 LIPO=":" 9346 else 9347 case $cross_compiling:$ac_tool_warned in 9348yes:) 9349{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9350$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9351ac_tool_warned=yes ;; 9352esac 9353 LIPO=$ac_ct_LIPO 9354 fi 9355else 9356 LIPO="$ac_cv_prog_LIPO" 9357fi 9358 9359 if test -n "$ac_tool_prefix"; then 9360 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 9361set dummy ${ac_tool_prefix}otool; ac_word=$2 9362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9363$as_echo_n "checking for $ac_word... " >&6; } 9364if ${ac_cv_prog_OTOOL+:} false; then : 9365 $as_echo_n "(cached) " >&6 9366else 9367 if test -n "$OTOOL"; then 9368 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 9369else 9370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9371for as_dir in $PATH 9372do 9373 IFS=$as_save_IFS 9374 test -z "$as_dir" && as_dir=. 9375 for ac_exec_ext in '' $ac_executable_extensions; do 9376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9377 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 9378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9379 break 2 9380 fi 9381done 9382 done 9383IFS=$as_save_IFS 9384 9385fi 9386fi 9387OTOOL=$ac_cv_prog_OTOOL 9388if test -n "$OTOOL"; then 9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 9390$as_echo "$OTOOL" >&6; } 9391else 9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9393$as_echo "no" >&6; } 9394fi 9395 9396 9397fi 9398if test -z "$ac_cv_prog_OTOOL"; then 9399 ac_ct_OTOOL=$OTOOL 9400 # Extract the first word of "otool", so it can be a program name with args. 9401set dummy otool; ac_word=$2 9402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9403$as_echo_n "checking for $ac_word... " >&6; } 9404if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 9405 $as_echo_n "(cached) " >&6 9406else 9407 if test -n "$ac_ct_OTOOL"; then 9408 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 9409else 9410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9411for as_dir in $PATH 9412do 9413 IFS=$as_save_IFS 9414 test -z "$as_dir" && as_dir=. 9415 for ac_exec_ext in '' $ac_executable_extensions; do 9416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9417 ac_cv_prog_ac_ct_OTOOL="otool" 9418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9419 break 2 9420 fi 9421done 9422 done 9423IFS=$as_save_IFS 9424 9425fi 9426fi 9427ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 9428if test -n "$ac_ct_OTOOL"; then 9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 9430$as_echo "$ac_ct_OTOOL" >&6; } 9431else 9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9433$as_echo "no" >&6; } 9434fi 9435 9436 if test "x$ac_ct_OTOOL" = x; then 9437 OTOOL=":" 9438 else 9439 case $cross_compiling:$ac_tool_warned in 9440yes:) 9441{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9442$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9443ac_tool_warned=yes ;; 9444esac 9445 OTOOL=$ac_ct_OTOOL 9446 fi 9447else 9448 OTOOL="$ac_cv_prog_OTOOL" 9449fi 9450 9451 if test -n "$ac_tool_prefix"; then 9452 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 9453set dummy ${ac_tool_prefix}otool64; ac_word=$2 9454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9455$as_echo_n "checking for $ac_word... " >&6; } 9456if ${ac_cv_prog_OTOOL64+:} false; then : 9457 $as_echo_n "(cached) " >&6 9458else 9459 if test -n "$OTOOL64"; then 9460 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 9461else 9462as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9463for as_dir in $PATH 9464do 9465 IFS=$as_save_IFS 9466 test -z "$as_dir" && as_dir=. 9467 for ac_exec_ext in '' $ac_executable_extensions; do 9468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9469 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 9470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9471 break 2 9472 fi 9473done 9474 done 9475IFS=$as_save_IFS 9476 9477fi 9478fi 9479OTOOL64=$ac_cv_prog_OTOOL64 9480if test -n "$OTOOL64"; then 9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 9482$as_echo "$OTOOL64" >&6; } 9483else 9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9485$as_echo "no" >&6; } 9486fi 9487 9488 9489fi 9490if test -z "$ac_cv_prog_OTOOL64"; then 9491 ac_ct_OTOOL64=$OTOOL64 9492 # Extract the first word of "otool64", so it can be a program name with args. 9493set dummy otool64; ac_word=$2 9494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9495$as_echo_n "checking for $ac_word... " >&6; } 9496if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 9497 $as_echo_n "(cached) " >&6 9498else 9499 if test -n "$ac_ct_OTOOL64"; then 9500 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9501else 9502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9503for as_dir in $PATH 9504do 9505 IFS=$as_save_IFS 9506 test -z "$as_dir" && as_dir=. 9507 for ac_exec_ext in '' $ac_executable_extensions; do 9508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9509 ac_cv_prog_ac_ct_OTOOL64="otool64" 9510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9511 break 2 9512 fi 9513done 9514 done 9515IFS=$as_save_IFS 9516 9517fi 9518fi 9519ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9520if test -n "$ac_ct_OTOOL64"; then 9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9522$as_echo "$ac_ct_OTOOL64" >&6; } 9523else 9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9525$as_echo "no" >&6; } 9526fi 9527 9528 if test "x$ac_ct_OTOOL64" = x; then 9529 OTOOL64=":" 9530 else 9531 case $cross_compiling:$ac_tool_warned in 9532yes:) 9533{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9534$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9535ac_tool_warned=yes ;; 9536esac 9537 OTOOL64=$ac_ct_OTOOL64 9538 fi 9539else 9540 OTOOL64="$ac_cv_prog_OTOOL64" 9541fi 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9570$as_echo_n "checking for -single_module linker flag... " >&6; } 9571if ${lt_cv_apple_cc_single_mod+:} false; then : 9572 $as_echo_n "(cached) " >&6 9573else 9574 lt_cv_apple_cc_single_mod=no 9575 if test -z "$LT_MULTI_MODULE"; then 9576 # By default we will add the -single_module flag. You can override 9577 # by either setting the environment variable LT_MULTI_MODULE 9578 # non-empty at configure time, or by adding -multi_module to the 9579 # link flags. 9580 rm -rf libconftest.dylib* 9581 echo "int foo(void){return 1;}" > conftest.c 9582 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9583-dynamiclib -Wl,-single_module conftest.c" >&5 9584 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9585 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9586 _lt_result=$? 9587 # If there is a non-empty error log, and "single_module" 9588 # appears in it, assume the flag caused a linker warning 9589 if test -s conftest.err && $GREP single_module conftest.err; then 9590 cat conftest.err >&5 9591 # Otherwise, if the output was created with a 0 exit code from 9592 # the compiler, it worked. 9593 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9594 lt_cv_apple_cc_single_mod=yes 9595 else 9596 cat conftest.err >&5 9597 fi 9598 rm -rf libconftest.dylib* 9599 rm -f conftest.* 9600 fi 9601fi 9602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9603$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9604 9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9606$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9607if ${lt_cv_ld_exported_symbols_list+:} false; then : 9608 $as_echo_n "(cached) " >&6 9609else 9610 lt_cv_ld_exported_symbols_list=no 9611 save_LDFLAGS=$LDFLAGS 9612 echo "_main" > conftest.sym 9613 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9615/* end confdefs.h. */ 9616 9617int 9618main () 9619{ 9620 9621 ; 9622 return 0; 9623} 9624_ACEOF 9625if ac_fn_c_try_link "$LINENO"; then : 9626 lt_cv_ld_exported_symbols_list=yes 9627else 9628 lt_cv_ld_exported_symbols_list=no 9629fi 9630rm -f core conftest.err conftest.$ac_objext \ 9631 conftest$ac_exeext conftest.$ac_ext 9632 LDFLAGS=$save_LDFLAGS 9633 9634fi 9635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9636$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9637 9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9639$as_echo_n "checking for -force_load linker flag... " >&6; } 9640if ${lt_cv_ld_force_load+:} false; then : 9641 $as_echo_n "(cached) " >&6 9642else 9643 lt_cv_ld_force_load=no 9644 cat > conftest.c << _LT_EOF 9645int forced_loaded() { return 2;} 9646_LT_EOF 9647 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9648 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9649 echo "$AR cr libconftest.a conftest.o" >&5 9650 $AR cr libconftest.a conftest.o 2>&5 9651 echo "$RANLIB libconftest.a" >&5 9652 $RANLIB libconftest.a 2>&5 9653 cat > conftest.c << _LT_EOF 9654int main() { return 0;} 9655_LT_EOF 9656 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9657 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9658 _lt_result=$? 9659 if test -s conftest.err && $GREP force_load conftest.err; then 9660 cat conftest.err >&5 9661 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9662 lt_cv_ld_force_load=yes 9663 else 9664 cat conftest.err >&5 9665 fi 9666 rm -f conftest.err libconftest.a conftest conftest.c 9667 rm -rf conftest.dSYM 9668 9669fi 9670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9671$as_echo "$lt_cv_ld_force_load" >&6; } 9672 case $host_os in 9673 rhapsody* | darwin1.[012]) 9674 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9675 darwin1.*) 9676 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9677 darwin*) # darwin 5.x on 9678 # if running on 10.5 or later, the deployment target defaults 9679 # to the OS version, if on x86, and 10.4, the deployment 9680 # target defaults to 10.4. Don't you love it? 9681 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9682 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9683 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9684 10.[012][,.]*) 9685 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9686 10.*) 9687 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9688 esac 9689 ;; 9690 esac 9691 if test yes = "$lt_cv_apple_cc_single_mod"; then 9692 _lt_dar_single_mod='$single_module' 9693 fi 9694 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9695 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9696 else 9697 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9698 fi 9699 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9700 _lt_dsymutil='~$DSYMUTIL $lib || :' 9701 else 9702 _lt_dsymutil= 9703 fi 9704 ;; 9705 esac 9706 9707# func_munge_path_list VARIABLE PATH 9708# ----------------------------------- 9709# VARIABLE is name of variable containing _space_ separated list of 9710# directories to be munged by the contents of PATH, which is string 9711# having a format: 9712# "DIR[:DIR]:" 9713# string "DIR[ DIR]" will be prepended to VARIABLE 9714# ":DIR[:DIR]" 9715# string "DIR[ DIR]" will be appended to VARIABLE 9716# "DIRP[:DIRP]::[DIRA:]DIRA" 9717# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9718# "DIRA[ DIRA]" will be appended to VARIABLE 9719# "DIR[:DIR]" 9720# VARIABLE will be replaced by "DIR[ DIR]" 9721func_munge_path_list () 9722{ 9723 case x$2 in 9724 x) 9725 ;; 9726 *:) 9727 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9728 ;; 9729 x:*) 9730 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9731 ;; 9732 *::*) 9733 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9734 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9735 ;; 9736 *) 9737 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9738 ;; 9739 esac 9740} 9741 9742for ac_header in dlfcn.h 9743do : 9744 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9745" 9746if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9747 cat >>confdefs.h <<_ACEOF 9748#define HAVE_DLFCN_H 1 9749_ACEOF 9750 9751fi 9752 9753done 9754 9755 9756 9757 9758 9759# Set options 9760# Check whether --enable-static was given. 9761if test "${enable_static+set}" = set; then : 9762 enableval=$enable_static; p=${PACKAGE-default} 9763 case $enableval in 9764 yes) enable_static=yes ;; 9765 no) enable_static=no ;; 9766 *) 9767 enable_static=no 9768 # Look at the argument we got. We use all the common list separators. 9769 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9770 for pkg in $enableval; do 9771 IFS=$lt_save_ifs 9772 if test "X$pkg" = "X$p"; then 9773 enable_static=yes 9774 fi 9775 done 9776 IFS=$lt_save_ifs 9777 ;; 9778 esac 9779else 9780 enable_static=no 9781fi 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 enable_dlopen=no 9793 9794 9795 enable_win32_dll=no 9796 9797 9798 # Check whether --enable-shared was given. 9799if test "${enable_shared+set}" = set; then : 9800 enableval=$enable_shared; p=${PACKAGE-default} 9801 case $enableval in 9802 yes) enable_shared=yes ;; 9803 no) enable_shared=no ;; 9804 *) 9805 enable_shared=no 9806 # Look at the argument we got. We use all the common list separators. 9807 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9808 for pkg in $enableval; do 9809 IFS=$lt_save_ifs 9810 if test "X$pkg" = "X$p"; then 9811 enable_shared=yes 9812 fi 9813 done 9814 IFS=$lt_save_ifs 9815 ;; 9816 esac 9817else 9818 enable_shared=yes 9819fi 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831# Check whether --with-pic was given. 9832if test "${with_pic+set}" = set; then : 9833 withval=$with_pic; lt_p=${PACKAGE-default} 9834 case $withval in 9835 yes|no) pic_mode=$withval ;; 9836 *) 9837 pic_mode=default 9838 # Look at the argument we got. We use all the common list separators. 9839 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9840 for lt_pkg in $withval; do 9841 IFS=$lt_save_ifs 9842 if test "X$lt_pkg" = "X$lt_p"; then 9843 pic_mode=yes 9844 fi 9845 done 9846 IFS=$lt_save_ifs 9847 ;; 9848 esac 9849else 9850 pic_mode=default 9851fi 9852 9853 9854 9855 9856 9857 9858 9859 9860 # Check whether --enable-fast-install was given. 9861if test "${enable_fast_install+set}" = set; then : 9862 enableval=$enable_fast_install; p=${PACKAGE-default} 9863 case $enableval in 9864 yes) enable_fast_install=yes ;; 9865 no) enable_fast_install=no ;; 9866 *) 9867 enable_fast_install=no 9868 # Look at the argument we got. We use all the common list separators. 9869 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9870 for pkg in $enableval; do 9871 IFS=$lt_save_ifs 9872 if test "X$pkg" = "X$p"; then 9873 enable_fast_install=yes 9874 fi 9875 done 9876 IFS=$lt_save_ifs 9877 ;; 9878 esac 9879else 9880 enable_fast_install=yes 9881fi 9882 9883 9884 9885 9886 9887 9888 9889 9890 shared_archive_member_spec= 9891case $host,$enable_shared in 9892power*-*-aix[5-9]*,yes) 9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9894$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9895 9896# Check whether --with-aix-soname was given. 9897if test "${with_aix_soname+set}" = set; then : 9898 withval=$with_aix_soname; case $withval in 9899 aix|svr4|both) 9900 ;; 9901 *) 9902 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9903 ;; 9904 esac 9905 lt_cv_with_aix_soname=$with_aix_soname 9906else 9907 if ${lt_cv_with_aix_soname+:} false; then : 9908 $as_echo_n "(cached) " >&6 9909else 9910 lt_cv_with_aix_soname=aix 9911fi 9912 9913 with_aix_soname=$lt_cv_with_aix_soname 9914fi 9915 9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9917$as_echo "$with_aix_soname" >&6; } 9918 if test aix != "$with_aix_soname"; then 9919 # For the AIX way of multilib, we name the shared archive member 9920 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9921 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9922 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9923 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9924 if test 64 = "${OBJECT_MODE-32}"; then 9925 shared_archive_member_spec=shr_64 9926 else 9927 shared_archive_member_spec=shr 9928 fi 9929 fi 9930 ;; 9931*) 9932 with_aix_soname=aix 9933 ;; 9934esac 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945# This can be used to rebuild libtool when needed 9946LIBTOOL_DEPS=$ltmain 9947 9948# Always use our own libtool. 9949LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980test -z "$LN_S" && LN_S="ln -s" 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995if test -n "${ZSH_VERSION+set}"; then 9996 setopt NO_GLOB_SUBST 9997fi 9998 9999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 10000$as_echo_n "checking for objdir... " >&6; } 10001if ${lt_cv_objdir+:} false; then : 10002 $as_echo_n "(cached) " >&6 10003else 10004 rm -f .libs 2>/dev/null 10005mkdir .libs 2>/dev/null 10006if test -d .libs; then 10007 lt_cv_objdir=.libs 10008else 10009 # MS-DOS does not allow filenames that begin with a dot. 10010 lt_cv_objdir=_libs 10011fi 10012rmdir .libs 2>/dev/null 10013fi 10014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 10015$as_echo "$lt_cv_objdir" >&6; } 10016objdir=$lt_cv_objdir 10017 10018 10019 10020 10021 10022cat >>confdefs.h <<_ACEOF 10023#define LT_OBJDIR "$lt_cv_objdir/" 10024_ACEOF 10025 10026 10027 10028 10029case $host_os in 10030aix3*) 10031 # AIX sometimes has problems with the GCC collect2 program. For some 10032 # reason, if we set the COLLECT_NAMES environment variable, the problems 10033 # vanish in a puff of smoke. 10034 if test set != "${COLLECT_NAMES+set}"; then 10035 COLLECT_NAMES= 10036 export COLLECT_NAMES 10037 fi 10038 ;; 10039esac 10040 10041# Global variables: 10042ofile=libtool 10043can_build_shared=yes 10044 10045# All known linkers require a '.a' archive for static linking (except MSVC, 10046# which needs '.lib'). 10047libext=a 10048 10049with_gnu_ld=$lt_cv_prog_gnu_ld 10050 10051old_CC=$CC 10052old_CFLAGS=$CFLAGS 10053 10054# Set sane defaults for various variables 10055test -z "$CC" && CC=cc 10056test -z "$LTCC" && LTCC=$CC 10057test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 10058test -z "$LD" && LD=ld 10059test -z "$ac_objext" && ac_objext=o 10060 10061func_cc_basename $compiler 10062cc_basename=$func_cc_basename_result 10063 10064 10065# Only perform the check for file, if the check method requires it 10066test -z "$MAGIC_CMD" && MAGIC_CMD=file 10067case $deplibs_check_method in 10068file_magic*) 10069 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 10071$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 10072if ${lt_cv_path_MAGIC_CMD+:} false; then : 10073 $as_echo_n "(cached) " >&6 10074else 10075 case $MAGIC_CMD in 10076[\\/*] | ?:[\\/]*) 10077 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 10078 ;; 10079*) 10080 lt_save_MAGIC_CMD=$MAGIC_CMD 10081 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 10082 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 10083 for ac_dir in $ac_dummy; do 10084 IFS=$lt_save_ifs 10085 test -z "$ac_dir" && ac_dir=. 10086 if test -f "$ac_dir/${ac_tool_prefix}file"; then 10087 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 10088 if test -n "$file_magic_test_file"; then 10089 case $deplibs_check_method in 10090 "file_magic "*) 10091 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 10092 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 10093 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 10094 $EGREP "$file_magic_regex" > /dev/null; then 10095 : 10096 else 10097 cat <<_LT_EOF 1>&2 10098 10099*** Warning: the command libtool uses to detect shared libraries, 10100*** $file_magic_cmd, produces output that libtool cannot recognize. 10101*** The result is that libtool may fail to recognize shared libraries 10102*** as such. This will affect the creation of libtool libraries that 10103*** depend on shared libraries, but programs linked with such libtool 10104*** libraries will work regardless of this problem. Nevertheless, you 10105*** may want to report the problem to your system manager and/or to 10106*** bug-libtool@gnu.org 10107 10108_LT_EOF 10109 fi ;; 10110 esac 10111 fi 10112 break 10113 fi 10114 done 10115 IFS=$lt_save_ifs 10116 MAGIC_CMD=$lt_save_MAGIC_CMD 10117 ;; 10118esac 10119fi 10120 10121MAGIC_CMD=$lt_cv_path_MAGIC_CMD 10122if test -n "$MAGIC_CMD"; then 10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 10124$as_echo "$MAGIC_CMD" >&6; } 10125else 10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10127$as_echo "no" >&6; } 10128fi 10129 10130 10131 10132 10133 10134if test -z "$lt_cv_path_MAGIC_CMD"; then 10135 if test -n "$ac_tool_prefix"; then 10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 10137$as_echo_n "checking for file... " >&6; } 10138if ${lt_cv_path_MAGIC_CMD+:} false; then : 10139 $as_echo_n "(cached) " >&6 10140else 10141 case $MAGIC_CMD in 10142[\\/*] | ?:[\\/]*) 10143 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 10144 ;; 10145*) 10146 lt_save_MAGIC_CMD=$MAGIC_CMD 10147 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 10148 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 10149 for ac_dir in $ac_dummy; do 10150 IFS=$lt_save_ifs 10151 test -z "$ac_dir" && ac_dir=. 10152 if test -f "$ac_dir/file"; then 10153 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 10154 if test -n "$file_magic_test_file"; then 10155 case $deplibs_check_method in 10156 "file_magic "*) 10157 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 10158 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 10159 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 10160 $EGREP "$file_magic_regex" > /dev/null; then 10161 : 10162 else 10163 cat <<_LT_EOF 1>&2 10164 10165*** Warning: the command libtool uses to detect shared libraries, 10166*** $file_magic_cmd, produces output that libtool cannot recognize. 10167*** The result is that libtool may fail to recognize shared libraries 10168*** as such. This will affect the creation of libtool libraries that 10169*** depend on shared libraries, but programs linked with such libtool 10170*** libraries will work regardless of this problem. Nevertheless, you 10171*** may want to report the problem to your system manager and/or to 10172*** bug-libtool@gnu.org 10173 10174_LT_EOF 10175 fi ;; 10176 esac 10177 fi 10178 break 10179 fi 10180 done 10181 IFS=$lt_save_ifs 10182 MAGIC_CMD=$lt_save_MAGIC_CMD 10183 ;; 10184esac 10185fi 10186 10187MAGIC_CMD=$lt_cv_path_MAGIC_CMD 10188if test -n "$MAGIC_CMD"; then 10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 10190$as_echo "$MAGIC_CMD" >&6; } 10191else 10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10193$as_echo "no" >&6; } 10194fi 10195 10196 10197 else 10198 MAGIC_CMD=: 10199 fi 10200fi 10201 10202 fi 10203 ;; 10204esac 10205 10206# Use C for the default configuration in the libtool script 10207 10208lt_save_CC=$CC 10209ac_ext=c 10210ac_cpp='$CPP $CPPFLAGS' 10211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10213ac_compiler_gnu=$ac_cv_c_compiler_gnu 10214 10215 10216# Source file extension for C test sources. 10217ac_ext=c 10218 10219# Object file extension for compiled C test sources. 10220objext=o 10221objext=$objext 10222 10223# Code to be used in simple compile tests 10224lt_simple_compile_test_code="int some_variable = 0;" 10225 10226# Code to be used in simple link tests 10227lt_simple_link_test_code='int main(){return(0);}' 10228 10229 10230 10231 10232 10233 10234 10235# If no C compiler was specified, use CC. 10236LTCC=${LTCC-"$CC"} 10237 10238# If no C compiler flags were specified, use CFLAGS. 10239LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 10240 10241# Allow CC to be a program name with arguments. 10242compiler=$CC 10243 10244# Save the default compiler, since it gets overwritten when the other 10245# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 10246compiler_DEFAULT=$CC 10247 10248# save warnings/boilerplate of simple test code 10249ac_outfile=conftest.$ac_objext 10250echo "$lt_simple_compile_test_code" >conftest.$ac_ext 10251eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 10252_lt_compiler_boilerplate=`cat conftest.err` 10253$RM conftest* 10254 10255ac_outfile=conftest.$ac_objext 10256echo "$lt_simple_link_test_code" >conftest.$ac_ext 10257eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 10258_lt_linker_boilerplate=`cat conftest.err` 10259$RM -r conftest* 10260 10261 10262if test -n "$compiler"; then 10263 10264lt_prog_compiler_no_builtin_flag= 10265 10266if test yes = "$GCC"; then 10267 case $cc_basename in 10268 nvcc*) 10269 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 10270 *) 10271 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 10272 esac 10273 10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 10275$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 10276if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 10277 $as_echo_n "(cached) " >&6 10278else 10279 lt_cv_prog_compiler_rtti_exceptions=no 10280 ac_outfile=conftest.$ac_objext 10281 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10282 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 10283 # Insert the option either (1) after the last *FLAGS variable, or 10284 # (2) before a word containing "conftest.", or (3) at the end. 10285 # Note that $ac_compile itself does not contain backslashes and begins 10286 # with a dollar sign (not a hyphen), so the echo should work correctly. 10287 # The option is referenced via a variable to avoid confusing sed. 10288 lt_compile=`echo "$ac_compile" | $SED \ 10289 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10290 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10291 -e 's:$: $lt_compiler_flag:'` 10292 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10293 (eval "$lt_compile" 2>conftest.err) 10294 ac_status=$? 10295 cat conftest.err >&5 10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10297 if (exit $ac_status) && test -s "$ac_outfile"; then 10298 # The compiler can only warn and ignore the option if not recognized 10299 # So say no if there are warnings other than the usual output. 10300 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10301 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10302 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10303 lt_cv_prog_compiler_rtti_exceptions=yes 10304 fi 10305 fi 10306 $RM conftest* 10307 10308fi 10309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 10310$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 10311 10312if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 10313 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 10314else 10315 : 10316fi 10317 10318fi 10319 10320 10321 10322 10323 10324 10325 lt_prog_compiler_wl= 10326lt_prog_compiler_pic= 10327lt_prog_compiler_static= 10328 10329 10330 if test yes = "$GCC"; then 10331 lt_prog_compiler_wl='-Wl,' 10332 lt_prog_compiler_static='-static' 10333 10334 case $host_os in 10335 aix*) 10336 # All AIX code is PIC. 10337 if test ia64 = "$host_cpu"; then 10338 # AIX 5 now supports IA64 processor 10339 lt_prog_compiler_static='-Bstatic' 10340 fi 10341 lt_prog_compiler_pic='-fPIC' 10342 ;; 10343 10344 amigaos*) 10345 case $host_cpu in 10346 powerpc) 10347 # see comment about AmigaOS4 .so support 10348 lt_prog_compiler_pic='-fPIC' 10349 ;; 10350 m68k) 10351 # FIXME: we need at least 68020 code to build shared libraries, but 10352 # adding the '-m68020' flag to GCC prevents building anything better, 10353 # like '-m68040'. 10354 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 10355 ;; 10356 esac 10357 ;; 10358 10359 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 10360 # PIC is the default for these OSes. 10361 ;; 10362 10363 mingw* | cygwin* | pw32* | os2* | cegcc*) 10364 # This hack is so that the source file can tell whether it is being 10365 # built for inclusion in a dll (and should export symbols for example). 10366 # Although the cygwin gcc ignores -fPIC, still need this for old-style 10367 # (--disable-auto-import) libraries 10368 lt_prog_compiler_pic='-DDLL_EXPORT' 10369 case $host_os in 10370 os2*) 10371 lt_prog_compiler_static='$wl-static' 10372 ;; 10373 esac 10374 ;; 10375 10376 darwin* | rhapsody*) 10377 # PIC is the default on this platform 10378 # Common symbols not allowed in MH_DYLIB files 10379 lt_prog_compiler_pic='-fno-common' 10380 ;; 10381 10382 haiku*) 10383 # PIC is the default for Haiku. 10384 # The "-static" flag exists, but is broken. 10385 lt_prog_compiler_static= 10386 ;; 10387 10388 hpux*) 10389 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10390 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10391 # sets the default TLS model and affects inlining. 10392 case $host_cpu in 10393 hppa*64*) 10394 # +Z the default 10395 ;; 10396 *) 10397 lt_prog_compiler_pic='-fPIC' 10398 ;; 10399 esac 10400 ;; 10401 10402 interix[3-9]*) 10403 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10404 # Instead, we relocate shared libraries at runtime. 10405 ;; 10406 10407 msdosdjgpp*) 10408 # Just because we use GCC doesn't mean we suddenly get shared libraries 10409 # on systems that don't support them. 10410 lt_prog_compiler_can_build_shared=no 10411 enable_shared=no 10412 ;; 10413 10414 *nto* | *qnx*) 10415 # QNX uses GNU C++, but need to define -shared option too, otherwise 10416 # it will coredump. 10417 lt_prog_compiler_pic='-fPIC -shared' 10418 ;; 10419 10420 sysv4*MP*) 10421 if test -d /usr/nec; then 10422 lt_prog_compiler_pic=-Kconform_pic 10423 fi 10424 ;; 10425 10426 *) 10427 lt_prog_compiler_pic='-fPIC' 10428 ;; 10429 esac 10430 10431 case $cc_basename in 10432 nvcc*) # Cuda Compiler Driver 2.2 10433 lt_prog_compiler_wl='-Xlinker ' 10434 if test -n "$lt_prog_compiler_pic"; then 10435 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10436 fi 10437 ;; 10438 esac 10439 else 10440 # PORTME Check for flag to pass linker flags through the system compiler. 10441 case $host_os in 10442 aix*) 10443 lt_prog_compiler_wl='-Wl,' 10444 if test ia64 = "$host_cpu"; then 10445 # AIX 5 now supports IA64 processor 10446 lt_prog_compiler_static='-Bstatic' 10447 else 10448 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10449 fi 10450 ;; 10451 10452 darwin* | rhapsody*) 10453 # PIC is the default on this platform 10454 # Common symbols not allowed in MH_DYLIB files 10455 lt_prog_compiler_pic='-fno-common' 10456 case $cc_basename in 10457 nagfor*) 10458 # NAG Fortran compiler 10459 lt_prog_compiler_wl='-Wl,-Wl,,' 10460 lt_prog_compiler_pic='-PIC' 10461 lt_prog_compiler_static='-Bstatic' 10462 ;; 10463 esac 10464 ;; 10465 10466 mingw* | cygwin* | pw32* | os2* | cegcc*) 10467 # This hack is so that the source file can tell whether it is being 10468 # built for inclusion in a dll (and should export symbols for example). 10469 lt_prog_compiler_pic='-DDLL_EXPORT' 10470 case $host_os in 10471 os2*) 10472 lt_prog_compiler_static='$wl-static' 10473 ;; 10474 esac 10475 ;; 10476 10477 hpux9* | hpux10* | hpux11*) 10478 lt_prog_compiler_wl='-Wl,' 10479 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10480 # not for PA HP-UX. 10481 case $host_cpu in 10482 hppa*64*|ia64*) 10483 # +Z the default 10484 ;; 10485 *) 10486 lt_prog_compiler_pic='+Z' 10487 ;; 10488 esac 10489 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10490 lt_prog_compiler_static='$wl-a ${wl}archive' 10491 ;; 10492 10493 irix5* | irix6* | nonstopux*) 10494 lt_prog_compiler_wl='-Wl,' 10495 # PIC (with -KPIC) is the default. 10496 lt_prog_compiler_static='-non_shared' 10497 ;; 10498 10499 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10500 case $cc_basename in 10501 # old Intel for x86_64, which still supported -KPIC. 10502 ecc*) 10503 lt_prog_compiler_wl='-Wl,' 10504 lt_prog_compiler_pic='-KPIC' 10505 lt_prog_compiler_static='-static' 10506 ;; 10507 # flang / f18. f95 an alias for gfortran or flang on Debian 10508 flang* | f18* | f95*) 10509 lt_prog_compiler_wl='-Wl,' 10510 lt_prog_compiler_pic='-fPIC' 10511 lt_prog_compiler_static='-static' 10512 ;; 10513 # icc used to be incompatible with GCC. 10514 # ICC 10 doesn't accept -KPIC any more. 10515 icc* | ifort*) 10516 lt_prog_compiler_wl='-Wl,' 10517 lt_prog_compiler_pic='-fPIC' 10518 lt_prog_compiler_static='-static' 10519 ;; 10520 # Lahey Fortran 8.1. 10521 lf95*) 10522 lt_prog_compiler_wl='-Wl,' 10523 lt_prog_compiler_pic='--shared' 10524 lt_prog_compiler_static='--static' 10525 ;; 10526 nagfor*) 10527 # NAG Fortran compiler 10528 lt_prog_compiler_wl='-Wl,-Wl,,' 10529 lt_prog_compiler_pic='-PIC' 10530 lt_prog_compiler_static='-Bstatic' 10531 ;; 10532 tcc*) 10533 # Fabrice Bellard et al's Tiny C Compiler 10534 lt_prog_compiler_wl='-Wl,' 10535 lt_prog_compiler_pic='-fPIC' 10536 lt_prog_compiler_static='-static' 10537 ;; 10538 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10539 # Portland Group compilers (*not* the Pentium gcc compiler, 10540 # which looks to be a dead project) 10541 lt_prog_compiler_wl='-Wl,' 10542 lt_prog_compiler_pic='-fpic' 10543 lt_prog_compiler_static='-Bstatic' 10544 ;; 10545 ccc*) 10546 lt_prog_compiler_wl='-Wl,' 10547 # All Alpha code is PIC. 10548 lt_prog_compiler_static='-non_shared' 10549 ;; 10550 xl* | bgxl* | bgf* | mpixl*) 10551 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10552 lt_prog_compiler_wl='-Wl,' 10553 lt_prog_compiler_pic='-qpic' 10554 lt_prog_compiler_static='-qstaticlink' 10555 ;; 10556 *) 10557 case `$CC -V 2>&1 | sed 5q` in 10558 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10559 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10560 lt_prog_compiler_pic='-KPIC' 10561 lt_prog_compiler_static='-Bstatic' 10562 lt_prog_compiler_wl='' 10563 ;; 10564 *Sun\ F* | *Sun*Fortran*) 10565 lt_prog_compiler_pic='-KPIC' 10566 lt_prog_compiler_static='-Bstatic' 10567 lt_prog_compiler_wl='-Qoption ld ' 10568 ;; 10569 *Sun\ C*) 10570 # Sun C 5.9 10571 lt_prog_compiler_pic='-KPIC' 10572 lt_prog_compiler_static='-Bstatic' 10573 lt_prog_compiler_wl='-Wl,' 10574 ;; 10575 *Intel*\ [CF]*Compiler*) 10576 lt_prog_compiler_wl='-Wl,' 10577 lt_prog_compiler_pic='-fPIC' 10578 lt_prog_compiler_static='-static' 10579 ;; 10580 *Portland\ Group*) 10581 lt_prog_compiler_wl='-Wl,' 10582 lt_prog_compiler_pic='-fpic' 10583 lt_prog_compiler_static='-Bstatic' 10584 ;; 10585 esac 10586 ;; 10587 esac 10588 ;; 10589 10590 newsos6) 10591 lt_prog_compiler_pic='-KPIC' 10592 lt_prog_compiler_static='-Bstatic' 10593 ;; 10594 10595 *nto* | *qnx*) 10596 # QNX uses GNU C++, but need to define -shared option too, otherwise 10597 # it will coredump. 10598 lt_prog_compiler_pic='-fPIC -shared' 10599 ;; 10600 10601 osf3* | osf4* | osf5*) 10602 lt_prog_compiler_wl='-Wl,' 10603 # All OSF/1 code is PIC. 10604 lt_prog_compiler_static='-non_shared' 10605 ;; 10606 10607 rdos*) 10608 lt_prog_compiler_static='-non_shared' 10609 ;; 10610 10611 solaris*) 10612 lt_prog_compiler_pic='-KPIC' 10613 lt_prog_compiler_static='-Bstatic' 10614 case $cc_basename in 10615 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10616 lt_prog_compiler_wl='-Qoption ld ';; 10617 *) 10618 lt_prog_compiler_wl='-Wl,';; 10619 esac 10620 ;; 10621 10622 sunos4*) 10623 lt_prog_compiler_wl='-Qoption ld ' 10624 lt_prog_compiler_pic='-PIC' 10625 lt_prog_compiler_static='-Bstatic' 10626 ;; 10627 10628 sysv4 | sysv4.2uw2* | sysv4.3*) 10629 lt_prog_compiler_wl='-Wl,' 10630 lt_prog_compiler_pic='-KPIC' 10631 lt_prog_compiler_static='-Bstatic' 10632 ;; 10633 10634 sysv4*MP*) 10635 if test -d /usr/nec; then 10636 lt_prog_compiler_pic='-Kconform_pic' 10637 lt_prog_compiler_static='-Bstatic' 10638 fi 10639 ;; 10640 10641 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10642 lt_prog_compiler_wl='-Wl,' 10643 lt_prog_compiler_pic='-KPIC' 10644 lt_prog_compiler_static='-Bstatic' 10645 ;; 10646 10647 unicos*) 10648 lt_prog_compiler_wl='-Wl,' 10649 lt_prog_compiler_can_build_shared=no 10650 ;; 10651 10652 uts4*) 10653 lt_prog_compiler_pic='-pic' 10654 lt_prog_compiler_static='-Bstatic' 10655 ;; 10656 10657 *) 10658 lt_prog_compiler_can_build_shared=no 10659 ;; 10660 esac 10661 fi 10662 10663case $host_os in 10664 # For platforms that do not support PIC, -DPIC is meaningless: 10665 *djgpp*) 10666 lt_prog_compiler_pic= 10667 ;; 10668 *) 10669 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10670 ;; 10671esac 10672 10673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10674$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10675if ${lt_cv_prog_compiler_pic+:} false; then : 10676 $as_echo_n "(cached) " >&6 10677else 10678 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10679fi 10680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10681$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10682lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10683 10684# 10685# Check to make sure the PIC flag actually works. 10686# 10687if test -n "$lt_prog_compiler_pic"; then 10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10689$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10690if ${lt_cv_prog_compiler_pic_works+:} false; then : 10691 $as_echo_n "(cached) " >&6 10692else 10693 lt_cv_prog_compiler_pic_works=no 10694 ac_outfile=conftest.$ac_objext 10695 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10696 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10697 # Insert the option either (1) after the last *FLAGS variable, or 10698 # (2) before a word containing "conftest.", or (3) at the end. 10699 # Note that $ac_compile itself does not contain backslashes and begins 10700 # with a dollar sign (not a hyphen), so the echo should work correctly. 10701 # The option is referenced via a variable to avoid confusing sed. 10702 lt_compile=`echo "$ac_compile" | $SED \ 10703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10705 -e 's:$: $lt_compiler_flag:'` 10706 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10707 (eval "$lt_compile" 2>conftest.err) 10708 ac_status=$? 10709 cat conftest.err >&5 10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10711 if (exit $ac_status) && test -s "$ac_outfile"; then 10712 # The compiler can only warn and ignore the option if not recognized 10713 # So say no if there are warnings other than the usual output. 10714 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10715 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10716 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10717 lt_cv_prog_compiler_pic_works=yes 10718 fi 10719 fi 10720 $RM conftest* 10721 10722fi 10723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10724$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10725 10726if test yes = "$lt_cv_prog_compiler_pic_works"; then 10727 case $lt_prog_compiler_pic in 10728 "" | " "*) ;; 10729 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10730 esac 10731else 10732 lt_prog_compiler_pic= 10733 lt_prog_compiler_can_build_shared=no 10734fi 10735 10736fi 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748# 10749# Check to make sure the static flag actually works. 10750# 10751wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10753$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10754if ${lt_cv_prog_compiler_static_works+:} false; then : 10755 $as_echo_n "(cached) " >&6 10756else 10757 lt_cv_prog_compiler_static_works=no 10758 save_LDFLAGS=$LDFLAGS 10759 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10760 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10761 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10762 # The linker can only warn and ignore the option if not recognized 10763 # So say no if there are warnings 10764 if test -s conftest.err; then 10765 # Append any errors to the config.log. 10766 cat conftest.err 1>&5 10767 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10768 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10769 if diff conftest.exp conftest.er2 >/dev/null; then 10770 lt_cv_prog_compiler_static_works=yes 10771 fi 10772 else 10773 lt_cv_prog_compiler_static_works=yes 10774 fi 10775 fi 10776 $RM -r conftest* 10777 LDFLAGS=$save_LDFLAGS 10778 10779fi 10780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10781$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10782 10783if test yes = "$lt_cv_prog_compiler_static_works"; then 10784 : 10785else 10786 lt_prog_compiler_static= 10787fi 10788 10789 10790 10791 10792 10793 10794 10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10796$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10797if ${lt_cv_prog_compiler_c_o+:} false; then : 10798 $as_echo_n "(cached) " >&6 10799else 10800 lt_cv_prog_compiler_c_o=no 10801 $RM -r conftest 2>/dev/null 10802 mkdir conftest 10803 cd conftest 10804 mkdir out 10805 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10806 10807 lt_compiler_flag="-o out/conftest2.$ac_objext" 10808 # Insert the option either (1) after the last *FLAGS variable, or 10809 # (2) before a word containing "conftest.", or (3) at the end. 10810 # Note that $ac_compile itself does not contain backslashes and begins 10811 # with a dollar sign (not a hyphen), so the echo should work correctly. 10812 lt_compile=`echo "$ac_compile" | $SED \ 10813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10815 -e 's:$: $lt_compiler_flag:'` 10816 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10817 (eval "$lt_compile" 2>out/conftest.err) 10818 ac_status=$? 10819 cat out/conftest.err >&5 10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10821 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10822 then 10823 # The compiler can only warn and ignore the option if not recognized 10824 # So say no if there are warnings 10825 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10826 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10827 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10828 lt_cv_prog_compiler_c_o=yes 10829 fi 10830 fi 10831 chmod u+w . 2>&5 10832 $RM conftest* 10833 # SGI C++ compiler will create directory out/ii_files/ for 10834 # template instantiation 10835 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10836 $RM out/* && rmdir out 10837 cd .. 10838 $RM -r conftest 10839 $RM conftest* 10840 10841fi 10842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10843$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10844 10845 10846 10847 10848 10849 10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10851$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10852if ${lt_cv_prog_compiler_c_o+:} false; then : 10853 $as_echo_n "(cached) " >&6 10854else 10855 lt_cv_prog_compiler_c_o=no 10856 $RM -r conftest 2>/dev/null 10857 mkdir conftest 10858 cd conftest 10859 mkdir out 10860 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10861 10862 lt_compiler_flag="-o out/conftest2.$ac_objext" 10863 # Insert the option either (1) after the last *FLAGS variable, or 10864 # (2) before a word containing "conftest.", or (3) at the end. 10865 # Note that $ac_compile itself does not contain backslashes and begins 10866 # with a dollar sign (not a hyphen), so the echo should work correctly. 10867 lt_compile=`echo "$ac_compile" | $SED \ 10868 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10869 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10870 -e 's:$: $lt_compiler_flag:'` 10871 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10872 (eval "$lt_compile" 2>out/conftest.err) 10873 ac_status=$? 10874 cat out/conftest.err >&5 10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10876 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10877 then 10878 # The compiler can only warn and ignore the option if not recognized 10879 # So say no if there are warnings 10880 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10881 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10882 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10883 lt_cv_prog_compiler_c_o=yes 10884 fi 10885 fi 10886 chmod u+w . 2>&5 10887 $RM conftest* 10888 # SGI C++ compiler will create directory out/ii_files/ for 10889 # template instantiation 10890 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10891 $RM out/* && rmdir out 10892 cd .. 10893 $RM -r conftest 10894 $RM conftest* 10895 10896fi 10897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10898$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10899 10900 10901 10902 10903hard_links=nottested 10904if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10905 # do not overwrite the value of need_locks provided by the user 10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10907$as_echo_n "checking if we can lock with hard links... " >&6; } 10908 hard_links=yes 10909 $RM conftest* 10910 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10911 touch conftest.a 10912 ln conftest.a conftest.b 2>&5 || hard_links=no 10913 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10915$as_echo "$hard_links" >&6; } 10916 if test no = "$hard_links"; then 10917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10918$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10919 need_locks=warn 10920 fi 10921else 10922 need_locks=no 10923fi 10924 10925 10926 10927 10928 10929 10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10931$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10932 10933 runpath_var= 10934 allow_undefined_flag= 10935 always_export_symbols=no 10936 archive_cmds= 10937 archive_expsym_cmds= 10938 compiler_needs_object=no 10939 enable_shared_with_static_runtimes=no 10940 export_dynamic_flag_spec= 10941 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10942 hardcode_automatic=no 10943 hardcode_direct=no 10944 hardcode_direct_absolute=no 10945 hardcode_libdir_flag_spec= 10946 hardcode_libdir_separator= 10947 hardcode_minus_L=no 10948 hardcode_shlibpath_var=unsupported 10949 inherit_rpath=no 10950 link_all_deplibs=unknown 10951 module_cmds= 10952 module_expsym_cmds= 10953 old_archive_from_new_cmds= 10954 old_archive_from_expsyms_cmds= 10955 thread_safe_flag_spec= 10956 whole_archive_flag_spec= 10957 # include_expsyms should be a list of space-separated symbols to be *always* 10958 # included in the symbol list 10959 include_expsyms= 10960 # exclude_expsyms can be an extended regexp of symbols to exclude 10961 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10962 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10963 # as well as any symbol that contains 'd'. 10964 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10965 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10966 # platforms (ab)use it in PIC code, but their linkers get confused if 10967 # the symbol is explicitly referenced. Since portable code cannot 10968 # rely on this symbol name, it's probably fine to never include it in 10969 # preloaded symbol tables. 10970 # Exclude shared library initialization/finalization symbols. 10971 extract_expsyms_cmds= 10972 10973 case $host_os in 10974 cygwin* | mingw* | pw32* | cegcc*) 10975 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10976 # When not using gcc, we currently assume that we are using 10977 # Microsoft Visual C++. 10978 if test yes != "$GCC"; then 10979 with_gnu_ld=no 10980 fi 10981 ;; 10982 interix*) 10983 # we just hope/assume this is gcc and not c89 (= MSVC++) 10984 with_gnu_ld=yes 10985 ;; 10986 openbsd* | bitrig*) 10987 with_gnu_ld=no 10988 ;; 10989 linux* | k*bsd*-gnu | gnu*) 10990 link_all_deplibs=no 10991 ;; 10992 esac 10993 10994 ld_shlibs=yes 10995 10996 # On some targets, GNU ld is compatible enough with the native linker 10997 # that we're better off using the native interface for both. 10998 lt_use_gnu_ld_interface=no 10999 if test yes = "$with_gnu_ld"; then 11000 case $host_os in 11001 aix*) 11002 # The AIX port of GNU ld has always aspired to compatibility 11003 # with the native linker. However, as the warning in the GNU ld 11004 # block says, versions before 2.19.5* couldn't really create working 11005 # shared libraries, regardless of the interface used. 11006 case `$LD -v 2>&1` in 11007 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 11008 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 11009 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 11010 *) 11011 lt_use_gnu_ld_interface=yes 11012 ;; 11013 esac 11014 ;; 11015 *) 11016 lt_use_gnu_ld_interface=yes 11017 ;; 11018 esac 11019 fi 11020 11021 if test yes = "$lt_use_gnu_ld_interface"; then 11022 # If archive_cmds runs LD, not CC, wlarc should be empty 11023 wlarc='$wl' 11024 11025 # Set some defaults for GNU ld with shared library support. These 11026 # are reset later if shared libraries are not supported. Putting them 11027 # here allows them to be overridden if necessary. 11028 runpath_var=LD_RUN_PATH 11029 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11030 export_dynamic_flag_spec='$wl--export-dynamic' 11031 # ancient GNU ld didn't support --whole-archive et. al. 11032 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 11033 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 11034 else 11035 whole_archive_flag_spec= 11036 fi 11037 supports_anon_versioning=no 11038 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 11039 *GNU\ gold*) supports_anon_versioning=yes ;; 11040 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 11041 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 11042 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 11043 *\ 2.11.*) ;; # other 2.11 versions 11044 *) supports_anon_versioning=yes ;; 11045 esac 11046 11047 # See if GNU ld supports shared libraries. 11048 case $host_os in 11049 aix[3-9]*) 11050 # On AIX/PPC, the GNU linker is very broken 11051 if test ia64 != "$host_cpu"; then 11052 ld_shlibs=no 11053 cat <<_LT_EOF 1>&2 11054 11055*** Warning: the GNU linker, at least up to release 2.19, is reported 11056*** to be unable to reliably create shared libraries on AIX. 11057*** Therefore, libtool is disabling shared libraries support. If you 11058*** really care for shared libraries, you may want to install binutils 11059*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 11060*** You will then need to restart the configuration process. 11061 11062_LT_EOF 11063 fi 11064 ;; 11065 11066 amigaos*) 11067 case $host_cpu in 11068 powerpc) 11069 # see comment about AmigaOS4 .so support 11070 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11071 archive_expsym_cmds='' 11072 ;; 11073 m68k) 11074 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)' 11075 hardcode_libdir_flag_spec='-L$libdir' 11076 hardcode_minus_L=yes 11077 ;; 11078 esac 11079 ;; 11080 11081 beos*) 11082 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11083 allow_undefined_flag=unsupported 11084 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 11085 # support --undefined. This deserves some investigation. FIXME 11086 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11087 else 11088 ld_shlibs=no 11089 fi 11090 ;; 11091 11092 cygwin* | mingw* | pw32* | cegcc*) 11093 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 11094 # as there is no search path for DLLs. 11095 hardcode_libdir_flag_spec='-L$libdir' 11096 export_dynamic_flag_spec='$wl--export-all-symbols' 11097 allow_undefined_flag=unsupported 11098 always_export_symbols=no 11099 enable_shared_with_static_runtimes=yes 11100 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' 11101 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 11102 11103 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 11104 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 11105 # If the export-symbols file already is a .def file, use it as 11106 # is; otherwise, prepend EXPORTS... 11107 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11108 cp $export_symbols $output_objdir/$soname.def; 11109 else 11110 echo EXPORTS > $output_objdir/$soname.def; 11111 cat $export_symbols >> $output_objdir/$soname.def; 11112 fi~ 11113 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 11114 else 11115 ld_shlibs=no 11116 fi 11117 ;; 11118 11119 haiku*) 11120 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11121 link_all_deplibs=yes 11122 ;; 11123 11124 os2*) 11125 hardcode_libdir_flag_spec='-L$libdir' 11126 hardcode_minus_L=yes 11127 allow_undefined_flag=unsupported 11128 shrext_cmds=.dll 11129 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11130 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11131 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11132 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11133 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11134 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11135 emximp -o $lib $output_objdir/$libname.def' 11136 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11137 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11138 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11139 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11140 prefix_cmds="$SED"~ 11141 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11142 prefix_cmds="$prefix_cmds -e 1d"; 11143 fi~ 11144 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11145 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11146 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11147 emximp -o $lib $output_objdir/$libname.def' 11148 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11149 enable_shared_with_static_runtimes=yes 11150 ;; 11151 11152 interix[3-9]*) 11153 hardcode_direct=no 11154 hardcode_shlibpath_var=no 11155 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11156 export_dynamic_flag_spec='$wl-E' 11157 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 11158 # Instead, shared libraries are loaded at an image base (0x10000000 by 11159 # default) and relocated if they conflict, which is a slow very memory 11160 # consuming and fragmenting process. To avoid this, we pick a random, 11161 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 11162 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 11163 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 11164 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' 11165 ;; 11166 11167 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 11168 tmp_diet=no 11169 if test linux-dietlibc = "$host_os"; then 11170 case $cc_basename in 11171 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 11172 esac 11173 fi 11174 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 11175 && test no = "$tmp_diet" 11176 then 11177 tmp_addflag=' $pic_flag' 11178 tmp_sharedflag='-shared' 11179 case $cc_basename,$host_cpu in 11180 pgcc*) # Portland Group C compiler 11181 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' 11182 tmp_addflag=' $pic_flag' 11183 ;; 11184 pgf77* | pgf90* | pgf95* | pgfortran*) 11185 # Portland Group f77 and f90 compilers 11186 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' 11187 tmp_addflag=' $pic_flag -Mnomain' ;; 11188 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 11189 tmp_addflag=' -i_dynamic' ;; 11190 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 11191 tmp_addflag=' -i_dynamic -nofor_main' ;; 11192 ifc* | ifort*) # Intel Fortran compiler 11193 tmp_addflag=' -nofor_main' ;; 11194 lf95*) # Lahey Fortran 8.1 11195 whole_archive_flag_spec= 11196 tmp_sharedflag='--shared' ;; 11197 nagfor*) # NAGFOR 5.3 11198 tmp_sharedflag='-Wl,-shared' ;; 11199 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 11200 tmp_sharedflag='-qmkshrobj' 11201 tmp_addflag= ;; 11202 nvcc*) # Cuda Compiler Driver 2.2 11203 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' 11204 compiler_needs_object=yes 11205 ;; 11206 esac 11207 case `$CC -V 2>&1 | sed 5q` in 11208 *Sun\ C*) # Sun C 5.9 11209 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' 11210 compiler_needs_object=yes 11211 tmp_sharedflag='-G' ;; 11212 *Sun\ F*) # Sun Fortran 8.3 11213 tmp_sharedflag='-G' ;; 11214 esac 11215 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11216 11217 if test yes = "$supports_anon_versioning"; then 11218 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 11219 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 11220 echo "local: *; };" >> $output_objdir/$libname.ver~ 11221 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 11222 fi 11223 11224 case $cc_basename in 11225 tcc*) 11226 export_dynamic_flag_spec='-rdynamic' 11227 ;; 11228 xlf* | bgf* | bgxlf* | mpixlf*) 11229 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 11230 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 11231 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11232 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 11233 if test yes = "$supports_anon_versioning"; then 11234 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 11235 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 11236 echo "local: *; };" >> $output_objdir/$libname.ver~ 11237 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 11238 fi 11239 ;; 11240 esac 11241 else 11242 ld_shlibs=no 11243 fi 11244 ;; 11245 11246 netbsd* | netbsdelf*-gnu) 11247 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11248 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 11249 wlarc= 11250 else 11251 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11252 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 11253 fi 11254 ;; 11255 11256 solaris*) 11257 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 11258 ld_shlibs=no 11259 cat <<_LT_EOF 1>&2 11260 11261*** Warning: The releases 2.8.* of the GNU linker cannot reliably 11262*** create shared libraries on Solaris systems. Therefore, libtool 11263*** is disabling shared libraries support. We urge you to upgrade GNU 11264*** binutils to release 2.9.1 or newer. Another option is to modify 11265*** your PATH or compiler configuration so that the native linker is 11266*** used, and then restart. 11267 11268_LT_EOF 11269 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11270 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11271 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 11272 else 11273 ld_shlibs=no 11274 fi 11275 ;; 11276 11277 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 11278 case `$LD -v 2>&1` in 11279 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 11280 ld_shlibs=no 11281 cat <<_LT_EOF 1>&2 11282 11283*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 11284*** reliably create shared libraries on SCO systems. Therefore, libtool 11285*** is disabling shared libraries support. We urge you to upgrade GNU 11286*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 11287*** your PATH or compiler configuration so that the native linker is 11288*** used, and then restart. 11289 11290_LT_EOF 11291 ;; 11292 *) 11293 # For security reasons, it is highly recommended that you always 11294 # use absolute paths for naming shared libraries, and exclude the 11295 # DT_RUNPATH tag from executables and libraries. But doing so 11296 # requires that you compile everything twice, which is a pain. 11297 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11298 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11299 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11300 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 11301 else 11302 ld_shlibs=no 11303 fi 11304 ;; 11305 esac 11306 ;; 11307 11308 sunos4*) 11309 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11310 wlarc= 11311 hardcode_direct=yes 11312 hardcode_shlibpath_var=no 11313 ;; 11314 11315 *) 11316 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11317 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11318 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 11319 else 11320 ld_shlibs=no 11321 fi 11322 ;; 11323 esac 11324 11325 if test no = "$ld_shlibs"; then 11326 runpath_var= 11327 hardcode_libdir_flag_spec= 11328 export_dynamic_flag_spec= 11329 whole_archive_flag_spec= 11330 fi 11331 else 11332 # PORTME fill in a description of your system's linker (not GNU ld) 11333 case $host_os in 11334 aix3*) 11335 allow_undefined_flag=unsupported 11336 always_export_symbols=yes 11337 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' 11338 # Note: this linker hardcodes the directories in LIBPATH if there 11339 # are no directories specified by -L. 11340 hardcode_minus_L=yes 11341 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 11342 # Neither direct hardcoding nor static linking is supported with a 11343 # broken collect2. 11344 hardcode_direct=unsupported 11345 fi 11346 ;; 11347 11348 aix[4-9]*) 11349 if test ia64 = "$host_cpu"; then 11350 # On IA64, the linker does run time linking by default, so we don't 11351 # have to do anything special. 11352 aix_use_runtimelinking=no 11353 exp_sym_flag='-Bexport' 11354 no_entry_flag= 11355 else 11356 # If we're using GNU nm, then we don't want the "-C" option. 11357 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 11358 # Without the "-l" option, or with the "-B" option, AIX nm treats 11359 # weak defined symbols like other global defined symbols, whereas 11360 # GNU nm marks them as "W". 11361 # While the 'weak' keyword is ignored in the Export File, we need 11362 # it in the Import File for the 'aix-soname' feature, so we have 11363 # to replace the "-B" option with "-P" for AIX nm. 11364 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 11365 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' 11366 else 11367 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' 11368 fi 11369 aix_use_runtimelinking=no 11370 11371 # Test if we are trying to use run time linking or normal 11372 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11373 # have runtime linking enabled, and use it for executables. 11374 # For shared libraries, we enable/disable runtime linking 11375 # depending on the kind of the shared library created - 11376 # when "with_aix_soname,aix_use_runtimelinking" is: 11377 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 11378 # "aix,yes" lib.so shared, rtl:yes, for executables 11379 # lib.a static archive 11380 # "both,no" lib.so.V(shr.o) shared, rtl:yes 11381 # lib.a(lib.so.V) shared, rtl:no, for executables 11382 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 11383 # lib.a(lib.so.V) shared, rtl:no 11384 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 11385 # lib.a static archive 11386 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11387 for ld_flag in $LDFLAGS; do 11388 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 11389 aix_use_runtimelinking=yes 11390 break 11391 fi 11392 done 11393 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 11394 # With aix-soname=svr4, we create the lib.so.V shared archives only, 11395 # so we don't have lib.a shared libs to link our executables. 11396 # We have to force runtime linking in this case. 11397 aix_use_runtimelinking=yes 11398 LDFLAGS="$LDFLAGS -Wl,-brtl" 11399 fi 11400 ;; 11401 esac 11402 11403 exp_sym_flag='-bexport' 11404 no_entry_flag='-bnoentry' 11405 fi 11406 11407 # When large executables or shared objects are built, AIX ld can 11408 # have problems creating the table of contents. If linking a library 11409 # or program results in "error TOC overflow" add -mminimal-toc to 11410 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11411 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11412 11413 archive_cmds='' 11414 hardcode_direct=yes 11415 hardcode_direct_absolute=yes 11416 hardcode_libdir_separator=':' 11417 link_all_deplibs=yes 11418 file_list_spec='$wl-f,' 11419 case $with_aix_soname,$aix_use_runtimelinking in 11420 aix,*) ;; # traditional, no import file 11421 svr4,* | *,yes) # use import file 11422 # The Import File defines what to hardcode. 11423 hardcode_direct=no 11424 hardcode_direct_absolute=no 11425 ;; 11426 esac 11427 11428 if test yes = "$GCC"; then 11429 case $host_os in aix4.[012]|aix4.[012].*) 11430 # We only want to do this on AIX 4.2 and lower, the check 11431 # below for broken collect2 doesn't work under 4.3+ 11432 collect2name=`$CC -print-prog-name=collect2` 11433 if test -f "$collect2name" && 11434 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11435 then 11436 # We have reworked collect2 11437 : 11438 else 11439 # We have old collect2 11440 hardcode_direct=unsupported 11441 # It fails to find uninstalled libraries when the uninstalled 11442 # path is not listed in the libpath. Setting hardcode_minus_L 11443 # to unsupported forces relinking 11444 hardcode_minus_L=yes 11445 hardcode_libdir_flag_spec='-L$libdir' 11446 hardcode_libdir_separator= 11447 fi 11448 ;; 11449 esac 11450 shared_flag='-shared' 11451 if test yes = "$aix_use_runtimelinking"; then 11452 shared_flag="$shared_flag "'$wl-G' 11453 fi 11454 # Need to ensure runtime linking is disabled for the traditional 11455 # shared library, or the linker may eventually find shared libraries 11456 # /with/ Import File - we do not want to mix them. 11457 shared_flag_aix='-shared' 11458 shared_flag_svr4='-shared $wl-G' 11459 else 11460 # not using gcc 11461 if test ia64 = "$host_cpu"; then 11462 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11463 # chokes on -Wl,-G. The following line is correct: 11464 shared_flag='-G' 11465 else 11466 if test yes = "$aix_use_runtimelinking"; then 11467 shared_flag='$wl-G' 11468 else 11469 shared_flag='$wl-bM:SRE' 11470 fi 11471 shared_flag_aix='$wl-bM:SRE' 11472 shared_flag_svr4='$wl-G' 11473 fi 11474 fi 11475 11476 export_dynamic_flag_spec='$wl-bexpall' 11477 # It seems that -bexpall does not export symbols beginning with 11478 # underscore (_), so it is better to generate a list of symbols to export. 11479 always_export_symbols=yes 11480 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11481 # Warning - without using the other runtime loading flags (-brtl), 11482 # -berok will link without error, but may produce a broken library. 11483 allow_undefined_flag='-berok' 11484 # Determine the default libpath from the value encoded in an 11485 # empty executable. 11486 if test set = "${lt_cv_aix_libpath+set}"; then 11487 aix_libpath=$lt_cv_aix_libpath 11488else 11489 if ${lt_cv_aix_libpath_+:} false; then : 11490 $as_echo_n "(cached) " >&6 11491else 11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11493/* end confdefs.h. */ 11494 11495int 11496main () 11497{ 11498 11499 ; 11500 return 0; 11501} 11502_ACEOF 11503if ac_fn_c_try_link "$LINENO"; then : 11504 11505 lt_aix_libpath_sed=' 11506 /Import File Strings/,/^$/ { 11507 /^0/ { 11508 s/^0 *\([^ ]*\) *$/\1/ 11509 p 11510 } 11511 }' 11512 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11513 # Check for a 64-bit object if we didn't find anything. 11514 if test -z "$lt_cv_aix_libpath_"; then 11515 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11516 fi 11517fi 11518rm -f core conftest.err conftest.$ac_objext \ 11519 conftest$ac_exeext conftest.$ac_ext 11520 if test -z "$lt_cv_aix_libpath_"; then 11521 lt_cv_aix_libpath_=/usr/lib:/lib 11522 fi 11523 11524fi 11525 11526 aix_libpath=$lt_cv_aix_libpath_ 11527fi 11528 11529 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11530 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 11531 else 11532 if test ia64 = "$host_cpu"; then 11533 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11534 allow_undefined_flag="-z nodefs" 11535 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" 11536 else 11537 # Determine the default libpath from the value encoded in an 11538 # empty executable. 11539 if test set = "${lt_cv_aix_libpath+set}"; then 11540 aix_libpath=$lt_cv_aix_libpath 11541else 11542 if ${lt_cv_aix_libpath_+:} false; then : 11543 $as_echo_n "(cached) " >&6 11544else 11545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11546/* end confdefs.h. */ 11547 11548int 11549main () 11550{ 11551 11552 ; 11553 return 0; 11554} 11555_ACEOF 11556if ac_fn_c_try_link "$LINENO"; then : 11557 11558 lt_aix_libpath_sed=' 11559 /Import File Strings/,/^$/ { 11560 /^0/ { 11561 s/^0 *\([^ ]*\) *$/\1/ 11562 p 11563 } 11564 }' 11565 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11566 # Check for a 64-bit object if we didn't find anything. 11567 if test -z "$lt_cv_aix_libpath_"; then 11568 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11569 fi 11570fi 11571rm -f core conftest.err conftest.$ac_objext \ 11572 conftest$ac_exeext conftest.$ac_ext 11573 if test -z "$lt_cv_aix_libpath_"; then 11574 lt_cv_aix_libpath_=/usr/lib:/lib 11575 fi 11576 11577fi 11578 11579 aix_libpath=$lt_cv_aix_libpath_ 11580fi 11581 11582 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11583 # Warning - without using the other run time loading flags, 11584 # -berok will link without error, but may produce a broken library. 11585 no_undefined_flag=' $wl-bernotok' 11586 allow_undefined_flag=' $wl-berok' 11587 if test yes = "$with_gnu_ld"; then 11588 # We only use this code for GNU lds that support --whole-archive. 11589 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11590 else 11591 # Exported symbols can be pulled into shared objects from archives 11592 whole_archive_flag_spec='$convenience' 11593 fi 11594 archive_cmds_need_lc=yes 11595 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11596 # -brtl affects multiple linker settings, -berok does not and is overridden later 11597 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11598 if test svr4 != "$with_aix_soname"; then 11599 # This is similar to how AIX traditionally builds its shared libraries. 11600 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' 11601 fi 11602 if test aix != "$with_aix_soname"; then 11603 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' 11604 else 11605 # used by -dlpreopen to get the symbols 11606 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11607 fi 11608 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11609 fi 11610 fi 11611 ;; 11612 11613 amigaos*) 11614 case $host_cpu in 11615 powerpc) 11616 # see comment about AmigaOS4 .so support 11617 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11618 archive_expsym_cmds='' 11619 ;; 11620 m68k) 11621 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)' 11622 hardcode_libdir_flag_spec='-L$libdir' 11623 hardcode_minus_L=yes 11624 ;; 11625 esac 11626 ;; 11627 11628 bsdi[45]*) 11629 export_dynamic_flag_spec=-rdynamic 11630 ;; 11631 11632 cygwin* | mingw* | pw32* | cegcc*) 11633 # When not using gcc, we currently assume that we are using 11634 # Microsoft Visual C++. 11635 # hardcode_libdir_flag_spec is actually meaningless, as there is 11636 # no search path for DLLs. 11637 case $cc_basename in 11638 cl*) 11639 # Native MSVC 11640 hardcode_libdir_flag_spec=' ' 11641 allow_undefined_flag=unsupported 11642 always_export_symbols=yes 11643 file_list_spec='@' 11644 # Tell ltmain to make .lib files, not .a files. 11645 libext=lib 11646 # Tell ltmain to make .dll files, not .so files. 11647 shrext_cmds=.dll 11648 # FIXME: Setting linknames here is a bad hack. 11649 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11650 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11651 cp "$export_symbols" "$output_objdir/$soname.def"; 11652 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11653 else 11654 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11655 fi~ 11656 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11657 linknames=' 11658 # The linker will not automatically build a static lib if we build a DLL. 11659 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11660 enable_shared_with_static_runtimes=yes 11661 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11662 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11663 # Don't use ranlib 11664 old_postinstall_cmds='chmod 644 $oldlib' 11665 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11666 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11667 case $lt_outputfile in 11668 *.exe|*.EXE) ;; 11669 *) 11670 lt_outputfile=$lt_outputfile.exe 11671 lt_tool_outputfile=$lt_tool_outputfile.exe 11672 ;; 11673 esac~ 11674 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11675 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11676 $RM "$lt_outputfile.manifest"; 11677 fi' 11678 ;; 11679 *) 11680 # Assume MSVC wrapper 11681 hardcode_libdir_flag_spec=' ' 11682 allow_undefined_flag=unsupported 11683 # Tell ltmain to make .lib files, not .a files. 11684 libext=lib 11685 # Tell ltmain to make .dll files, not .so files. 11686 shrext_cmds=.dll 11687 # FIXME: Setting linknames here is a bad hack. 11688 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11689 # The linker will automatically build a .lib file if we build a DLL. 11690 old_archive_from_new_cmds='true' 11691 # FIXME: Should let the user specify the lib program. 11692 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11693 enable_shared_with_static_runtimes=yes 11694 ;; 11695 esac 11696 ;; 11697 11698 darwin* | rhapsody*) 11699 11700 11701 archive_cmds_need_lc=no 11702 hardcode_direct=no 11703 hardcode_automatic=yes 11704 hardcode_shlibpath_var=unsupported 11705 if test yes = "$lt_cv_ld_force_load"; then 11706 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\"`' 11707 11708 else 11709 whole_archive_flag_spec='' 11710 fi 11711 link_all_deplibs=yes 11712 allow_undefined_flag=$_lt_dar_allow_undefined 11713 case $cc_basename in 11714 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11715 *) _lt_dar_can_shared=$GCC ;; 11716 esac 11717 if test yes = "$_lt_dar_can_shared"; then 11718 output_verbose_link_cmd=func_echo_all 11719 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11720 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11721 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" 11722 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" 11723 11724 else 11725 ld_shlibs=no 11726 fi 11727 11728 ;; 11729 11730 dgux*) 11731 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11732 hardcode_libdir_flag_spec='-L$libdir' 11733 hardcode_shlibpath_var=no 11734 ;; 11735 11736 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11737 # support. Future versions do this automatically, but an explicit c++rt0.o 11738 # does not break anything, and helps significantly (at the cost of a little 11739 # extra space). 11740 freebsd2.2*) 11741 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11742 hardcode_libdir_flag_spec='-R$libdir' 11743 hardcode_direct=yes 11744 hardcode_shlibpath_var=no 11745 ;; 11746 11747 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11748 freebsd2.*) 11749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11750 hardcode_direct=yes 11751 hardcode_minus_L=yes 11752 hardcode_shlibpath_var=no 11753 ;; 11754 11755 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11756 freebsd* | dragonfly*) 11757 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11758 hardcode_libdir_flag_spec='-R$libdir' 11759 hardcode_direct=yes 11760 hardcode_shlibpath_var=no 11761 ;; 11762 11763 hpux9*) 11764 if test yes = "$GCC"; then 11765 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' 11766 else 11767 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' 11768 fi 11769 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11770 hardcode_libdir_separator=: 11771 hardcode_direct=yes 11772 11773 # hardcode_minus_L: Not really in the search PATH, 11774 # but as the default location of the library. 11775 hardcode_minus_L=yes 11776 export_dynamic_flag_spec='$wl-E' 11777 ;; 11778 11779 hpux10*) 11780 if test yes,no = "$GCC,$with_gnu_ld"; then 11781 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11782 else 11783 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11784 fi 11785 if test no = "$with_gnu_ld"; then 11786 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11787 hardcode_libdir_separator=: 11788 hardcode_direct=yes 11789 hardcode_direct_absolute=yes 11790 export_dynamic_flag_spec='$wl-E' 11791 # hardcode_minus_L: Not really in the search PATH, 11792 # but as the default location of the library. 11793 hardcode_minus_L=yes 11794 fi 11795 ;; 11796 11797 hpux11*) 11798 if test yes,no = "$GCC,$with_gnu_ld"; then 11799 case $host_cpu in 11800 hppa*64*) 11801 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11802 ;; 11803 ia64*) 11804 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11805 ;; 11806 *) 11807 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11808 ;; 11809 esac 11810 else 11811 case $host_cpu in 11812 hppa*64*) 11813 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11814 ;; 11815 ia64*) 11816 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11817 ;; 11818 *) 11819 11820 # Older versions of the 11.00 compiler do not understand -b yet 11821 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11823$as_echo_n "checking if $CC understands -b... " >&6; } 11824if ${lt_cv_prog_compiler__b+:} false; then : 11825 $as_echo_n "(cached) " >&6 11826else 11827 lt_cv_prog_compiler__b=no 11828 save_LDFLAGS=$LDFLAGS 11829 LDFLAGS="$LDFLAGS -b" 11830 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11831 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11832 # The linker can only warn and ignore the option if not recognized 11833 # So say no if there are warnings 11834 if test -s conftest.err; then 11835 # Append any errors to the config.log. 11836 cat conftest.err 1>&5 11837 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11838 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11839 if diff conftest.exp conftest.er2 >/dev/null; then 11840 lt_cv_prog_compiler__b=yes 11841 fi 11842 else 11843 lt_cv_prog_compiler__b=yes 11844 fi 11845 fi 11846 $RM -r conftest* 11847 LDFLAGS=$save_LDFLAGS 11848 11849fi 11850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11851$as_echo "$lt_cv_prog_compiler__b" >&6; } 11852 11853if test yes = "$lt_cv_prog_compiler__b"; then 11854 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11855else 11856 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11857fi 11858 11859 ;; 11860 esac 11861 fi 11862 if test no = "$with_gnu_ld"; then 11863 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11864 hardcode_libdir_separator=: 11865 11866 case $host_cpu in 11867 hppa*64*|ia64*) 11868 hardcode_direct=no 11869 hardcode_shlibpath_var=no 11870 ;; 11871 *) 11872 hardcode_direct=yes 11873 hardcode_direct_absolute=yes 11874 export_dynamic_flag_spec='$wl-E' 11875 11876 # hardcode_minus_L: Not really in the search PATH, 11877 # but as the default location of the library. 11878 hardcode_minus_L=yes 11879 ;; 11880 esac 11881 fi 11882 ;; 11883 11884 irix5* | irix6* | nonstopux*) 11885 if test yes = "$GCC"; then 11886 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' 11887 # Try to use the -exported_symbol ld option, if it does not 11888 # work, assume that -exports_file does not work either and 11889 # implicitly export all symbols. 11890 # This should be the same for all languages, so no per-tag cache variable. 11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11892$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11893if ${lt_cv_irix_exported_symbol+:} false; then : 11894 $as_echo_n "(cached) " >&6 11895else 11896 save_LDFLAGS=$LDFLAGS 11897 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11899/* end confdefs.h. */ 11900int foo (void) { return 0; } 11901_ACEOF 11902if ac_fn_c_try_link "$LINENO"; then : 11903 lt_cv_irix_exported_symbol=yes 11904else 11905 lt_cv_irix_exported_symbol=no 11906fi 11907rm -f core conftest.err conftest.$ac_objext \ 11908 conftest$ac_exeext conftest.$ac_ext 11909 LDFLAGS=$save_LDFLAGS 11910fi 11911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11912$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11913 if test yes = "$lt_cv_irix_exported_symbol"; then 11914 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' 11915 fi 11916 link_all_deplibs=no 11917 else 11918 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' 11919 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' 11920 fi 11921 archive_cmds_need_lc='no' 11922 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11923 hardcode_libdir_separator=: 11924 inherit_rpath=yes 11925 link_all_deplibs=yes 11926 ;; 11927 11928 linux*) 11929 case $cc_basename in 11930 tcc*) 11931 # Fabrice Bellard et al's Tiny C Compiler 11932 ld_shlibs=yes 11933 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11934 ;; 11935 esac 11936 ;; 11937 11938 netbsd* | netbsdelf*-gnu) 11939 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11940 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11941 else 11942 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11943 fi 11944 hardcode_libdir_flag_spec='-R$libdir' 11945 hardcode_direct=yes 11946 hardcode_shlibpath_var=no 11947 ;; 11948 11949 newsos6) 11950 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11951 hardcode_direct=yes 11952 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11953 hardcode_libdir_separator=: 11954 hardcode_shlibpath_var=no 11955 ;; 11956 11957 *nto* | *qnx*) 11958 ;; 11959 11960 openbsd* | bitrig*) 11961 if test -f /usr/libexec/ld.so; then 11962 hardcode_direct=yes 11963 hardcode_shlibpath_var=no 11964 hardcode_direct_absolute=yes 11965 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11966 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11967 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11968 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11969 export_dynamic_flag_spec='$wl-E' 11970 else 11971 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11972 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11973 fi 11974 else 11975 ld_shlibs=no 11976 fi 11977 ;; 11978 11979 os2*) 11980 hardcode_libdir_flag_spec='-L$libdir' 11981 hardcode_minus_L=yes 11982 allow_undefined_flag=unsupported 11983 shrext_cmds=.dll 11984 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11985 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11986 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11987 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11988 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11989 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11990 emximp -o $lib $output_objdir/$libname.def' 11991 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11992 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11993 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11994 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11995 prefix_cmds="$SED"~ 11996 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11997 prefix_cmds="$prefix_cmds -e 1d"; 11998 fi~ 11999 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 12000 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 12001 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 12002 emximp -o $lib $output_objdir/$libname.def' 12003 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 12004 enable_shared_with_static_runtimes=yes 12005 ;; 12006 12007 osf3*) 12008 if test yes = "$GCC"; then 12009 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 12010 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' 12011 else 12012 allow_undefined_flag=' -expect_unresolved \*' 12013 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' 12014 fi 12015 archive_cmds_need_lc='no' 12016 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12017 hardcode_libdir_separator=: 12018 ;; 12019 12020 osf4* | osf5*) # as osf3* with the addition of -msym flag 12021 if test yes = "$GCC"; then 12022 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 12023 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' 12024 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 12025 else 12026 allow_undefined_flag=' -expect_unresolved \*' 12027 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' 12028 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~ 12029 $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' 12030 12031 # Both c and cxx compiler support -rpath directly 12032 hardcode_libdir_flag_spec='-rpath $libdir' 12033 fi 12034 archive_cmds_need_lc='no' 12035 hardcode_libdir_separator=: 12036 ;; 12037 12038 solaris*) 12039 no_undefined_flag=' -z defs' 12040 if test yes = "$GCC"; then 12041 wlarc='$wl' 12042 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 12043 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12044 $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' 12045 else 12046 case `$CC -V 2>&1` in 12047 *"Compilers 5.0"*) 12048 wlarc='' 12049 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 12050 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12051 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 12052 ;; 12053 *) 12054 wlarc='$wl' 12055 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 12056 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 12057 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 12058 ;; 12059 esac 12060 fi 12061 hardcode_libdir_flag_spec='-R$libdir' 12062 hardcode_shlibpath_var=no 12063 case $host_os in 12064 solaris2.[0-5] | solaris2.[0-5].*) ;; 12065 *) 12066 # The compiler driver will combine and reorder linker options, 12067 # but understands '-z linker_flag'. GCC discards it without '$wl', 12068 # but is careful enough not to reorder. 12069 # Supported since Solaris 2.6 (maybe 2.5.1?) 12070 if test yes = "$GCC"; then 12071 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 12072 else 12073 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 12074 fi 12075 ;; 12076 esac 12077 link_all_deplibs=yes 12078 ;; 12079 12080 sunos4*) 12081 if test sequent = "$host_vendor"; then 12082 # Use $CC to link under sequent, because it throws in some extra .o 12083 # files that make .init and .fini sections work. 12084 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 12085 else 12086 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 12087 fi 12088 hardcode_libdir_flag_spec='-L$libdir' 12089 hardcode_direct=yes 12090 hardcode_minus_L=yes 12091 hardcode_shlibpath_var=no 12092 ;; 12093 12094 sysv4) 12095 case $host_vendor in 12096 sni) 12097 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12098 hardcode_direct=yes # is this really true??? 12099 ;; 12100 siemens) 12101 ## LD is ld it makes a PLAMLIB 12102 ## CC just makes a GrossModule. 12103 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 12104 reload_cmds='$CC -r -o $output$reload_objs' 12105 hardcode_direct=no 12106 ;; 12107 motorola) 12108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12109 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 12110 ;; 12111 esac 12112 runpath_var='LD_RUN_PATH' 12113 hardcode_shlibpath_var=no 12114 ;; 12115 12116 sysv4.3*) 12117 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12118 hardcode_shlibpath_var=no 12119 export_dynamic_flag_spec='-Bexport' 12120 ;; 12121 12122 sysv4*MP*) 12123 if test -d /usr/nec; then 12124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12125 hardcode_shlibpath_var=no 12126 runpath_var=LD_RUN_PATH 12127 hardcode_runpath_var=yes 12128 ld_shlibs=yes 12129 fi 12130 ;; 12131 12132 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 12133 no_undefined_flag='$wl-z,text' 12134 archive_cmds_need_lc=no 12135 hardcode_shlibpath_var=no 12136 runpath_var='LD_RUN_PATH' 12137 12138 if test yes = "$GCC"; then 12139 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12140 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12141 else 12142 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12143 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12144 fi 12145 ;; 12146 12147 sysv5* | sco3.2v5* | sco5v6*) 12148 # Note: We CANNOT use -z defs as we might desire, because we do not 12149 # link with -lc, and that would cause any symbols used from libc to 12150 # always be unresolved, which means just about no library would 12151 # ever link correctly. If we're not using GNU ld we use -z text 12152 # though, which does catch some bad symbols but isn't as heavy-handed 12153 # as -z defs. 12154 no_undefined_flag='$wl-z,text' 12155 allow_undefined_flag='$wl-z,nodefs' 12156 archive_cmds_need_lc=no 12157 hardcode_shlibpath_var=no 12158 hardcode_libdir_flag_spec='$wl-R,$libdir' 12159 hardcode_libdir_separator=':' 12160 link_all_deplibs=yes 12161 export_dynamic_flag_spec='$wl-Bexport' 12162 runpath_var='LD_RUN_PATH' 12163 12164 if test yes = "$GCC"; then 12165 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12166 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12167 else 12168 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12169 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12170 fi 12171 ;; 12172 12173 uts4*) 12174 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12175 hardcode_libdir_flag_spec='-L$libdir' 12176 hardcode_shlibpath_var=no 12177 ;; 12178 12179 *) 12180 ld_shlibs=no 12181 ;; 12182 esac 12183 12184 if test sni = "$host_vendor"; then 12185 case $host in 12186 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 12187 export_dynamic_flag_spec='$wl-Blargedynsym' 12188 ;; 12189 esac 12190 fi 12191 fi 12192 12193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 12194$as_echo "$ld_shlibs" >&6; } 12195test no = "$ld_shlibs" && can_build_shared=no 12196 12197with_gnu_ld=$with_gnu_ld 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213# 12214# Do we need to explicitly link libc? 12215# 12216case "x$archive_cmds_need_lc" in 12217x|xyes) 12218 # Assume -lc should be added 12219 archive_cmds_need_lc=yes 12220 12221 if test yes,yes = "$GCC,$enable_shared"; then 12222 case $archive_cmds in 12223 *'~'*) 12224 # FIXME: we may have to deal with multi-command sequences. 12225 ;; 12226 '$CC '*) 12227 # Test whether the compiler implicitly links with -lc since on some 12228 # systems, -lgcc has to come before -lc. If gcc already passes -lc 12229 # to ld, don't add -lc before -lgcc. 12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 12231$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 12232if ${lt_cv_archive_cmds_need_lc+:} false; then : 12233 $as_echo_n "(cached) " >&6 12234else 12235 $RM conftest* 12236 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 12237 12238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 12239 (eval $ac_compile) 2>&5 12240 ac_status=$? 12241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12242 test $ac_status = 0; } 2>conftest.err; then 12243 soname=conftest 12244 lib=conftest 12245 libobjs=conftest.$ac_objext 12246 deplibs= 12247 wl=$lt_prog_compiler_wl 12248 pic_flag=$lt_prog_compiler_pic 12249 compiler_flags=-v 12250 linker_flags=-v 12251 verstring= 12252 output_objdir=. 12253 libname=conftest 12254 lt_save_allow_undefined_flag=$allow_undefined_flag 12255 allow_undefined_flag= 12256 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 12257 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 12258 ac_status=$? 12259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12260 test $ac_status = 0; } 12261 then 12262 lt_cv_archive_cmds_need_lc=no 12263 else 12264 lt_cv_archive_cmds_need_lc=yes 12265 fi 12266 allow_undefined_flag=$lt_save_allow_undefined_flag 12267 else 12268 cat conftest.err 1>&5 12269 fi 12270 $RM conftest* 12271 12272fi 12273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 12274$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 12275 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 12276 ;; 12277 esac 12278 fi 12279 ;; 12280esac 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12434$as_echo_n "checking dynamic linker characteristics... " >&6; } 12435 12436if test yes = "$GCC"; then 12437 case $host_os in 12438 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12439 *) lt_awk_arg='/^libraries:/' ;; 12440 esac 12441 case $host_os in 12442 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12443 *) lt_sed_strip_eq='s|=/|/|g' ;; 12444 esac 12445 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12446 case $lt_search_path_spec in 12447 *\;*) 12448 # if the path contains ";" then we assume it to be the separator 12449 # otherwise default to the standard path separator (i.e. ":") - it is 12450 # assumed that no part of a normal pathname contains ";" but that should 12451 # okay in the real world where ";" in dirpaths is itself problematic. 12452 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12453 ;; 12454 *) 12455 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12456 ;; 12457 esac 12458 # Ok, now we have the path, separated by spaces, we can step through it 12459 # and add multilib dir if necessary... 12460 lt_tmp_lt_search_path_spec= 12461 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12462 # ...but if some path component already ends with the multilib dir we assume 12463 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12464 case "$lt_multi_os_dir; $lt_search_path_spec " in 12465 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12466 lt_multi_os_dir= 12467 ;; 12468 esac 12469 for lt_sys_path in $lt_search_path_spec; do 12470 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12471 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12472 elif test -n "$lt_multi_os_dir"; then 12473 test -d "$lt_sys_path" && \ 12474 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12475 fi 12476 done 12477 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12478BEGIN {RS = " "; FS = "/|\n";} { 12479 lt_foo = ""; 12480 lt_count = 0; 12481 for (lt_i = NF; lt_i > 0; lt_i--) { 12482 if ($lt_i != "" && $lt_i != ".") { 12483 if ($lt_i == "..") { 12484 lt_count++; 12485 } else { 12486 if (lt_count == 0) { 12487 lt_foo = "/" $lt_i lt_foo; 12488 } else { 12489 lt_count--; 12490 } 12491 } 12492 } 12493 } 12494 if (lt_foo != "") { lt_freq[lt_foo]++; } 12495 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12496}'` 12497 # AWK program above erroneously prepends '/' to C:/dos/paths 12498 # for these hosts. 12499 case $host_os in 12500 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12501 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12502 esac 12503 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12504else 12505 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12506fi 12507library_names_spec= 12508libname_spec='lib$name' 12509soname_spec= 12510shrext_cmds=.so 12511postinstall_cmds= 12512postuninstall_cmds= 12513finish_cmds= 12514finish_eval= 12515shlibpath_var= 12516shlibpath_overrides_runpath=unknown 12517version_type=none 12518dynamic_linker="$host_os ld.so" 12519sys_lib_dlsearch_path_spec="/lib /usr/lib" 12520need_lib_prefix=unknown 12521hardcode_into_libs=no 12522 12523# when you set need_version to no, make sure it does not cause -set_version 12524# flags to be left without arguments 12525need_version=unknown 12526 12527 12528 12529case $host_os in 12530aix3*) 12531 version_type=linux # correct to gnu/linux during the next big refactor 12532 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12533 shlibpath_var=LIBPATH 12534 12535 # AIX 3 has no versioning support, so we append a major version to the name. 12536 soname_spec='$libname$release$shared_ext$major' 12537 ;; 12538 12539aix[4-9]*) 12540 version_type=linux # correct to gnu/linux during the next big refactor 12541 need_lib_prefix=no 12542 need_version=no 12543 hardcode_into_libs=yes 12544 if test ia64 = "$host_cpu"; then 12545 # AIX 5 supports IA64 12546 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12547 shlibpath_var=LD_LIBRARY_PATH 12548 else 12549 # With GCC up to 2.95.x, collect2 would create an import file 12550 # for dependence libraries. The import file would start with 12551 # the line '#! .'. This would cause the generated library to 12552 # depend on '.', always an invalid library. This was fixed in 12553 # development snapshots of GCC prior to 3.0. 12554 case $host_os in 12555 aix4 | aix4.[01] | aix4.[01].*) 12556 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12557 echo ' yes ' 12558 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12559 : 12560 else 12561 can_build_shared=no 12562 fi 12563 ;; 12564 esac 12565 # Using Import Files as archive members, it is possible to support 12566 # filename-based versioning of shared library archives on AIX. While 12567 # this would work for both with and without runtime linking, it will 12568 # prevent static linking of such archives. So we do filename-based 12569 # shared library versioning with .so extension only, which is used 12570 # when both runtime linking and shared linking is enabled. 12571 # Unfortunately, runtime linking may impact performance, so we do 12572 # not want this to be the default eventually. Also, we use the 12573 # versioned .so libs for executables only if there is the -brtl 12574 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12575 # To allow for filename-based versioning support, we need to create 12576 # libNAME.so.V as an archive file, containing: 12577 # *) an Import File, referring to the versioned filename of the 12578 # archive as well as the shared archive member, telling the 12579 # bitwidth (32 or 64) of that shared object, and providing the 12580 # list of exported symbols of that shared object, eventually 12581 # decorated with the 'weak' keyword 12582 # *) the shared object with the F_LOADONLY flag set, to really avoid 12583 # it being seen by the linker. 12584 # At run time we better use the real file rather than another symlink, 12585 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12586 12587 case $with_aix_soname,$aix_use_runtimelinking in 12588 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12589 # soname into executable. Probably we can add versioning support to 12590 # collect2, so additional links can be useful in future. 12591 aix,yes) # traditional libtool 12592 dynamic_linker='AIX unversionable lib.so' 12593 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12594 # instead of lib<name>.a to let people know that these are not 12595 # typical AIX shared libraries. 12596 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12597 ;; 12598 aix,no) # traditional AIX only 12599 dynamic_linker='AIX lib.a(lib.so.V)' 12600 # We preserve .a as extension for shared libraries through AIX4.2 12601 # and later when we are not doing run time linking. 12602 library_names_spec='$libname$release.a $libname.a' 12603 soname_spec='$libname$release$shared_ext$major' 12604 ;; 12605 svr4,*) # full svr4 only 12606 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12607 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12608 # We do not specify a path in Import Files, so LIBPATH fires. 12609 shlibpath_overrides_runpath=yes 12610 ;; 12611 *,yes) # both, prefer svr4 12612 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12613 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12614 # unpreferred sharedlib libNAME.a needs extra handling 12615 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"' 12616 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"' 12617 # We do not specify a path in Import Files, so LIBPATH fires. 12618 shlibpath_overrides_runpath=yes 12619 ;; 12620 *,no) # both, prefer aix 12621 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12622 library_names_spec='$libname$release.a $libname.a' 12623 soname_spec='$libname$release$shared_ext$major' 12624 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12625 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)' 12626 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"' 12627 ;; 12628 esac 12629 shlibpath_var=LIBPATH 12630 fi 12631 ;; 12632 12633amigaos*) 12634 case $host_cpu in 12635 powerpc) 12636 # Since July 2007 AmigaOS4 officially supports .so libraries. 12637 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12638 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12639 ;; 12640 m68k) 12641 library_names_spec='$libname.ixlibrary $libname.a' 12642 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12643 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' 12644 ;; 12645 esac 12646 ;; 12647 12648beos*) 12649 library_names_spec='$libname$shared_ext' 12650 dynamic_linker="$host_os ld.so" 12651 shlibpath_var=LIBRARY_PATH 12652 ;; 12653 12654bsdi[45]*) 12655 version_type=linux # correct to gnu/linux during the next big refactor 12656 need_version=no 12657 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12658 soname_spec='$libname$release$shared_ext$major' 12659 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12660 shlibpath_var=LD_LIBRARY_PATH 12661 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12662 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12663 # the default ld.so.conf also contains /usr/contrib/lib and 12664 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12665 # libtool to hard-code these into programs 12666 ;; 12667 12668cygwin* | mingw* | pw32* | cegcc*) 12669 version_type=windows 12670 shrext_cmds=.dll 12671 need_version=no 12672 need_lib_prefix=no 12673 12674 case $GCC,$cc_basename in 12675 yes,*) 12676 # gcc 12677 library_names_spec='$libname.dll.a' 12678 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12679 postinstall_cmds='base_file=`basename \$file`~ 12680 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12681 dldir=$destdir/`dirname \$dlpath`~ 12682 test -d \$dldir || mkdir -p \$dldir~ 12683 $install_prog $dir/$dlname \$dldir/$dlname~ 12684 chmod a+x \$dldir/$dlname~ 12685 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12686 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12687 fi' 12688 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12689 dlpath=$dir/\$dldll~ 12690 $RM \$dlpath' 12691 shlibpath_overrides_runpath=yes 12692 12693 case $host_os in 12694 cygwin*) 12695 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12696 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12697 12698 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12699 ;; 12700 mingw* | cegcc*) 12701 # MinGW DLLs use traditional 'lib' prefix 12702 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12703 ;; 12704 pw32*) 12705 # pw32 DLLs use 'pw' prefix rather than 'lib' 12706 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12707 ;; 12708 esac 12709 dynamic_linker='Win32 ld.exe' 12710 ;; 12711 12712 *,cl*) 12713 # Native MSVC 12714 libname_spec='$name' 12715 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12716 library_names_spec='$libname.dll.lib' 12717 12718 case $build_os in 12719 mingw*) 12720 sys_lib_search_path_spec= 12721 lt_save_ifs=$IFS 12722 IFS=';' 12723 for lt_path in $LIB 12724 do 12725 IFS=$lt_save_ifs 12726 # Let DOS variable expansion print the short 8.3 style file name. 12727 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12728 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12729 done 12730 IFS=$lt_save_ifs 12731 # Convert to MSYS style. 12732 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12733 ;; 12734 cygwin*) 12735 # Convert to unix form, then to dos form, then back to unix form 12736 # but this time dos style (no spaces!) so that the unix form looks 12737 # like /cygdrive/c/PROGRA~1:/cygdr... 12738 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12739 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12740 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12741 ;; 12742 *) 12743 sys_lib_search_path_spec=$LIB 12744 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12745 # It is most probably a Windows format PATH. 12746 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12747 else 12748 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12749 fi 12750 # FIXME: find the short name or the path components, as spaces are 12751 # common. (e.g. "Program Files" -> "PROGRA~1") 12752 ;; 12753 esac 12754 12755 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12756 postinstall_cmds='base_file=`basename \$file`~ 12757 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12758 dldir=$destdir/`dirname \$dlpath`~ 12759 test -d \$dldir || mkdir -p \$dldir~ 12760 $install_prog $dir/$dlname \$dldir/$dlname' 12761 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12762 dlpath=$dir/\$dldll~ 12763 $RM \$dlpath' 12764 shlibpath_overrides_runpath=yes 12765 dynamic_linker='Win32 link.exe' 12766 ;; 12767 12768 *) 12769 # Assume MSVC wrapper 12770 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12771 dynamic_linker='Win32 ld.exe' 12772 ;; 12773 esac 12774 # FIXME: first we should search . and the directory the executable is in 12775 shlibpath_var=PATH 12776 ;; 12777 12778darwin* | rhapsody*) 12779 dynamic_linker="$host_os dyld" 12780 version_type=darwin 12781 need_lib_prefix=no 12782 need_version=no 12783 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12784 soname_spec='$libname$release$major$shared_ext' 12785 shlibpath_overrides_runpath=yes 12786 shlibpath_var=DYLD_LIBRARY_PATH 12787 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12788 12789 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12790 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12791 ;; 12792 12793dgux*) 12794 version_type=linux # correct to gnu/linux during the next big refactor 12795 need_lib_prefix=no 12796 need_version=no 12797 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12798 soname_spec='$libname$release$shared_ext$major' 12799 shlibpath_var=LD_LIBRARY_PATH 12800 ;; 12801 12802freebsd* | dragonfly*) 12803 # DragonFly does not have aout. When/if they implement a new 12804 # versioning mechanism, adjust this. 12805 if test -x /usr/bin/objformat; then 12806 objformat=`/usr/bin/objformat` 12807 else 12808 case $host_os in 12809 freebsd[23].*) objformat=aout ;; 12810 *) objformat=elf ;; 12811 esac 12812 fi 12813 version_type=freebsd-$objformat 12814 case $version_type in 12815 freebsd-elf*) 12816 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12817 soname_spec='$libname$release$shared_ext$major' 12818 need_version=no 12819 need_lib_prefix=no 12820 ;; 12821 freebsd-*) 12822 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12823 need_version=yes 12824 ;; 12825 esac 12826 shlibpath_var=LD_LIBRARY_PATH 12827 case $host_os in 12828 freebsd2.*) 12829 shlibpath_overrides_runpath=yes 12830 ;; 12831 freebsd3.[01]* | freebsdelf3.[01]*) 12832 shlibpath_overrides_runpath=yes 12833 hardcode_into_libs=yes 12834 ;; 12835 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12836 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12837 shlibpath_overrides_runpath=no 12838 hardcode_into_libs=yes 12839 ;; 12840 *) # from 4.6 on, and DragonFly 12841 shlibpath_overrides_runpath=yes 12842 hardcode_into_libs=yes 12843 ;; 12844 esac 12845 ;; 12846 12847haiku*) 12848 version_type=linux # correct to gnu/linux during the next big refactor 12849 need_lib_prefix=no 12850 need_version=no 12851 dynamic_linker="$host_os runtime_loader" 12852 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12853 soname_spec='$libname$release$shared_ext$major' 12854 shlibpath_var=LIBRARY_PATH 12855 shlibpath_overrides_runpath=no 12856 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12857 hardcode_into_libs=yes 12858 ;; 12859 12860hpux9* | hpux10* | hpux11*) 12861 # Give a soname corresponding to the major version so that dld.sl refuses to 12862 # link against other versions. 12863 version_type=sunos 12864 need_lib_prefix=no 12865 need_version=no 12866 case $host_cpu in 12867 ia64*) 12868 shrext_cmds='.so' 12869 hardcode_into_libs=yes 12870 dynamic_linker="$host_os dld.so" 12871 shlibpath_var=LD_LIBRARY_PATH 12872 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12873 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12874 soname_spec='$libname$release$shared_ext$major' 12875 if test 32 = "$HPUX_IA64_MODE"; then 12876 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12877 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12878 else 12879 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12880 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12881 fi 12882 ;; 12883 hppa*64*) 12884 shrext_cmds='.sl' 12885 hardcode_into_libs=yes 12886 dynamic_linker="$host_os dld.sl" 12887 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12888 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12889 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12890 soname_spec='$libname$release$shared_ext$major' 12891 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12892 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12893 ;; 12894 *) 12895 shrext_cmds='.sl' 12896 dynamic_linker="$host_os dld.sl" 12897 shlibpath_var=SHLIB_PATH 12898 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12899 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12900 soname_spec='$libname$release$shared_ext$major' 12901 ;; 12902 esac 12903 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12904 postinstall_cmds='chmod 555 $lib' 12905 # or fails outright, so override atomically: 12906 install_override_mode=555 12907 ;; 12908 12909interix[3-9]*) 12910 version_type=linux # correct to gnu/linux during the next big refactor 12911 need_lib_prefix=no 12912 need_version=no 12913 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12914 soname_spec='$libname$release$shared_ext$major' 12915 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12916 shlibpath_var=LD_LIBRARY_PATH 12917 shlibpath_overrides_runpath=no 12918 hardcode_into_libs=yes 12919 ;; 12920 12921irix5* | irix6* | nonstopux*) 12922 case $host_os in 12923 nonstopux*) version_type=nonstopux ;; 12924 *) 12925 if test yes = "$lt_cv_prog_gnu_ld"; then 12926 version_type=linux # correct to gnu/linux during the next big refactor 12927 else 12928 version_type=irix 12929 fi ;; 12930 esac 12931 need_lib_prefix=no 12932 need_version=no 12933 soname_spec='$libname$release$shared_ext$major' 12934 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12935 case $host_os in 12936 irix5* | nonstopux*) 12937 libsuff= shlibsuff= 12938 ;; 12939 *) 12940 case $LD in # libtool.m4 will add one of these switches to LD 12941 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12942 libsuff= shlibsuff= libmagic=32-bit;; 12943 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12944 libsuff=32 shlibsuff=N32 libmagic=N32;; 12945 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12946 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12947 *) libsuff= shlibsuff= libmagic=never-match;; 12948 esac 12949 ;; 12950 esac 12951 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12952 shlibpath_overrides_runpath=no 12953 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12954 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12955 hardcode_into_libs=yes 12956 ;; 12957 12958# No shared lib support for Linux oldld, aout, or coff. 12959linux*oldld* | linux*aout* | linux*coff*) 12960 dynamic_linker=no 12961 ;; 12962 12963linux*android*) 12964 version_type=none # Android doesn't support versioned libraries. 12965 need_lib_prefix=no 12966 need_version=no 12967 library_names_spec='$libname$release$shared_ext' 12968 soname_spec='$libname$release$shared_ext' 12969 finish_cmds= 12970 shlibpath_var=LD_LIBRARY_PATH 12971 shlibpath_overrides_runpath=yes 12972 12973 # This implies no fast_install, which is unacceptable. 12974 # Some rework will be needed to allow for fast_install 12975 # before this can be enabled. 12976 hardcode_into_libs=yes 12977 12978 dynamic_linker='Android linker' 12979 # Don't embed -rpath directories since the linker doesn't support them. 12980 hardcode_libdir_flag_spec='-L$libdir' 12981 ;; 12982 12983# This must be glibc/ELF. 12984linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12985 version_type=linux # correct to gnu/linux during the next big refactor 12986 need_lib_prefix=no 12987 need_version=no 12988 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12989 soname_spec='$libname$release$shared_ext$major' 12990 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12991 shlibpath_var=LD_LIBRARY_PATH 12992 shlibpath_overrides_runpath=no 12993 12994 # Some binutils ld are patched to set DT_RUNPATH 12995 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12996 $as_echo_n "(cached) " >&6 12997else 12998 lt_cv_shlibpath_overrides_runpath=no 12999 save_LDFLAGS=$LDFLAGS 13000 save_libdir=$libdir 13001 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 13002 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 13003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13004/* end confdefs.h. */ 13005 13006int 13007main () 13008{ 13009 13010 ; 13011 return 0; 13012} 13013_ACEOF 13014if ac_fn_c_try_link "$LINENO"; then : 13015 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 13016 lt_cv_shlibpath_overrides_runpath=yes 13017fi 13018fi 13019rm -f core conftest.err conftest.$ac_objext \ 13020 conftest$ac_exeext conftest.$ac_ext 13021 LDFLAGS=$save_LDFLAGS 13022 libdir=$save_libdir 13023 13024fi 13025 13026 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 13027 13028 # This implies no fast_install, which is unacceptable. 13029 # Some rework will be needed to allow for fast_install 13030 # before this can be enabled. 13031 hardcode_into_libs=yes 13032 13033 # Ideally, we could use ldconfig to report *all* directores which are 13034 # searched for libraries, however this is still not possible. Aside from not 13035 # being certain /sbin/ldconfig is available, command 13036 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 13037 # even though it is searched at run-time. Try to do the best guess by 13038 # appending ld.so.conf contents (and includes) to the search path. 13039 if test -f /etc/ld.so.conf; then 13040 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' ' '` 13041 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 13042 fi 13043 13044 # We used to test for /lib/ld.so.1 and disable shared libraries on 13045 # powerpc, because MkLinux only supported shared libraries with the 13046 # GNU dynamic linker. Since this was broken with cross compilers, 13047 # most powerpc-linux boxes support dynamic linking these days and 13048 # people can always --disable-shared, the test was removed, and we 13049 # assume the GNU/Linux dynamic linker is in use. 13050 dynamic_linker='GNU/Linux ld.so' 13051 ;; 13052 13053netbsdelf*-gnu) 13054 version_type=linux 13055 need_lib_prefix=no 13056 need_version=no 13057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 13058 soname_spec='${libname}${release}${shared_ext}$major' 13059 shlibpath_var=LD_LIBRARY_PATH 13060 shlibpath_overrides_runpath=no 13061 hardcode_into_libs=yes 13062 dynamic_linker='NetBSD ld.elf_so' 13063 ;; 13064 13065netbsd*) 13066 version_type=sunos 13067 need_lib_prefix=no 13068 need_version=no 13069 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13070 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 13071 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13072 dynamic_linker='NetBSD (a.out) ld.so' 13073 else 13074 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13075 soname_spec='$libname$release$shared_ext$major' 13076 dynamic_linker='NetBSD ld.elf_so' 13077 fi 13078 shlibpath_var=LD_LIBRARY_PATH 13079 shlibpath_overrides_runpath=yes 13080 hardcode_into_libs=yes 13081 ;; 13082 13083newsos6) 13084 version_type=linux # correct to gnu/linux during the next big refactor 13085 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13086 shlibpath_var=LD_LIBRARY_PATH 13087 shlibpath_overrides_runpath=yes 13088 ;; 13089 13090*nto* | *qnx*) 13091 version_type=qnx 13092 need_lib_prefix=no 13093 need_version=no 13094 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13095 soname_spec='$libname$release$shared_ext$major' 13096 shlibpath_var=LD_LIBRARY_PATH 13097 shlibpath_overrides_runpath=no 13098 hardcode_into_libs=yes 13099 dynamic_linker='ldqnx.so' 13100 ;; 13101 13102openbsd* | bitrig*) 13103 version_type=sunos 13104 sys_lib_dlsearch_path_spec=/usr/lib 13105 need_lib_prefix=no 13106 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 13107 need_version=no 13108 else 13109 need_version=yes 13110 fi 13111 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 13112 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13113 shlibpath_var=LD_LIBRARY_PATH 13114 shlibpath_overrides_runpath=yes 13115 ;; 13116 13117os2*) 13118 libname_spec='$name' 13119 version_type=windows 13120 shrext_cmds=.dll 13121 need_version=no 13122 need_lib_prefix=no 13123 # OS/2 can only load a DLL with a base name of 8 characters or less. 13124 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 13125 v=$($ECHO $release$versuffix | tr -d .-); 13126 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 13127 $ECHO $n$v`$shared_ext' 13128 library_names_spec='${libname}_dll.$libext' 13129 dynamic_linker='OS/2 ld.exe' 13130 shlibpath_var=BEGINLIBPATH 13131 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 13132 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 13133 postinstall_cmds='base_file=`basename \$file`~ 13134 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 13135 dldir=$destdir/`dirname \$dlpath`~ 13136 test -d \$dldir || mkdir -p \$dldir~ 13137 $install_prog $dir/$dlname \$dldir/$dlname~ 13138 chmod a+x \$dldir/$dlname~ 13139 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 13140 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 13141 fi' 13142 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 13143 dlpath=$dir/\$dldll~ 13144 $RM \$dlpath' 13145 ;; 13146 13147osf3* | osf4* | osf5*) 13148 version_type=osf 13149 need_lib_prefix=no 13150 need_version=no 13151 soname_spec='$libname$release$shared_ext$major' 13152 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13153 shlibpath_var=LD_LIBRARY_PATH 13154 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 13155 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 13156 ;; 13157 13158rdos*) 13159 dynamic_linker=no 13160 ;; 13161 13162solaris*) 13163 version_type=linux # correct to gnu/linux during the next big refactor 13164 need_lib_prefix=no 13165 need_version=no 13166 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13167 soname_spec='$libname$release$shared_ext$major' 13168 shlibpath_var=LD_LIBRARY_PATH 13169 shlibpath_overrides_runpath=yes 13170 hardcode_into_libs=yes 13171 # ldd complains unless libraries are executable 13172 postinstall_cmds='chmod +x $lib' 13173 ;; 13174 13175sunos4*) 13176 version_type=sunos 13177 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 13178 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 13179 shlibpath_var=LD_LIBRARY_PATH 13180 shlibpath_overrides_runpath=yes 13181 if test yes = "$with_gnu_ld"; then 13182 need_lib_prefix=no 13183 fi 13184 need_version=yes 13185 ;; 13186 13187sysv4 | sysv4.3*) 13188 version_type=linux # correct to gnu/linux during the next big refactor 13189 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13190 soname_spec='$libname$release$shared_ext$major' 13191 shlibpath_var=LD_LIBRARY_PATH 13192 case $host_vendor in 13193 sni) 13194 shlibpath_overrides_runpath=no 13195 need_lib_prefix=no 13196 runpath_var=LD_RUN_PATH 13197 ;; 13198 siemens) 13199 need_lib_prefix=no 13200 ;; 13201 motorola) 13202 need_lib_prefix=no 13203 need_version=no 13204 shlibpath_overrides_runpath=no 13205 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 13206 ;; 13207 esac 13208 ;; 13209 13210sysv4*MP*) 13211 if test -d /usr/nec; then 13212 version_type=linux # correct to gnu/linux during the next big refactor 13213 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 13214 soname_spec='$libname$shared_ext.$major' 13215 shlibpath_var=LD_LIBRARY_PATH 13216 fi 13217 ;; 13218 13219sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 13220 version_type=sco 13221 need_lib_prefix=no 13222 need_version=no 13223 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 13224 soname_spec='$libname$release$shared_ext$major' 13225 shlibpath_var=LD_LIBRARY_PATH 13226 shlibpath_overrides_runpath=yes 13227 hardcode_into_libs=yes 13228 if test yes = "$with_gnu_ld"; then 13229 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 13230 else 13231 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 13232 case $host_os in 13233 sco3.2v5*) 13234 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 13235 ;; 13236 esac 13237 fi 13238 sys_lib_dlsearch_path_spec='/usr/lib' 13239 ;; 13240 13241tpf*) 13242 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 13243 version_type=linux # correct to gnu/linux during the next big refactor 13244 need_lib_prefix=no 13245 need_version=no 13246 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13247 shlibpath_var=LD_LIBRARY_PATH 13248 shlibpath_overrides_runpath=no 13249 hardcode_into_libs=yes 13250 ;; 13251 13252uts4*) 13253 version_type=linux # correct to gnu/linux during the next big refactor 13254 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13255 soname_spec='$libname$release$shared_ext$major' 13256 shlibpath_var=LD_LIBRARY_PATH 13257 ;; 13258 13259*) 13260 dynamic_linker=no 13261 ;; 13262esac 13263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 13264$as_echo "$dynamic_linker" >&6; } 13265test no = "$dynamic_linker" && can_build_shared=no 13266 13267variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 13268if test yes = "$GCC"; then 13269 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 13270fi 13271 13272if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 13273 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 13274fi 13275 13276if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 13277 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 13278fi 13279 13280# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 13281configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 13282 13283# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 13284func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 13285 13286# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 13287configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 13386$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 13387hardcode_action= 13388if test -n "$hardcode_libdir_flag_spec" || 13389 test -n "$runpath_var" || 13390 test yes = "$hardcode_automatic"; then 13391 13392 # We can hardcode non-existent directories. 13393 if test no != "$hardcode_direct" && 13394 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13395 # have to relink, otherwise we might link with an installed library 13396 # when we should be linking with a yet-to-be-installed one 13397 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 13398 test no != "$hardcode_minus_L"; then 13399 # Linking always hardcodes the temporary library directory. 13400 hardcode_action=relink 13401 else 13402 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13403 hardcode_action=immediate 13404 fi 13405else 13406 # We cannot hardcode anything, or else we can only hardcode existing 13407 # directories. 13408 hardcode_action=unsupported 13409fi 13410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13411$as_echo "$hardcode_action" >&6; } 13412 13413if test relink = "$hardcode_action" || 13414 test yes = "$inherit_rpath"; then 13415 # Fast installation is not supported 13416 enable_fast_install=no 13417elif test yes = "$shlibpath_overrides_runpath" || 13418 test no = "$enable_shared"; then 13419 # Fast installation is not necessary 13420 enable_fast_install=needless 13421fi 13422 13423 13424 13425 13426 13427 13428 if test yes != "$enable_dlopen"; then 13429 enable_dlopen=unknown 13430 enable_dlopen_self=unknown 13431 enable_dlopen_self_static=unknown 13432else 13433 lt_cv_dlopen=no 13434 lt_cv_dlopen_libs= 13435 13436 case $host_os in 13437 beos*) 13438 lt_cv_dlopen=load_add_on 13439 lt_cv_dlopen_libs= 13440 lt_cv_dlopen_self=yes 13441 ;; 13442 13443 mingw* | pw32* | cegcc*) 13444 lt_cv_dlopen=LoadLibrary 13445 lt_cv_dlopen_libs= 13446 ;; 13447 13448 cygwin*) 13449 lt_cv_dlopen=dlopen 13450 lt_cv_dlopen_libs= 13451 ;; 13452 13453 darwin*) 13454 # if libdl is installed we need to link against it 13455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13456$as_echo_n "checking for dlopen in -ldl... " >&6; } 13457if ${ac_cv_lib_dl_dlopen+:} false; then : 13458 $as_echo_n "(cached) " >&6 13459else 13460 ac_check_lib_save_LIBS=$LIBS 13461LIBS="-ldl $LIBS" 13462cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13463/* end confdefs.h. */ 13464 13465/* Override any GCC internal prototype to avoid an error. 13466 Use char because int might match the return type of a GCC 13467 builtin and then its argument prototype would still apply. */ 13468#ifdef __cplusplus 13469extern "C" 13470#endif 13471char dlopen (); 13472int 13473main () 13474{ 13475return dlopen (); 13476 ; 13477 return 0; 13478} 13479_ACEOF 13480if ac_fn_c_try_link "$LINENO"; then : 13481 ac_cv_lib_dl_dlopen=yes 13482else 13483 ac_cv_lib_dl_dlopen=no 13484fi 13485rm -f core conftest.err conftest.$ac_objext \ 13486 conftest$ac_exeext conftest.$ac_ext 13487LIBS=$ac_check_lib_save_LIBS 13488fi 13489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13490$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13491if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13492 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13493else 13494 13495 lt_cv_dlopen=dyld 13496 lt_cv_dlopen_libs= 13497 lt_cv_dlopen_self=yes 13498 13499fi 13500 13501 ;; 13502 13503 tpf*) 13504 # Don't try to run any link tests for TPF. We know it's impossible 13505 # because TPF is a cross-compiler, and we know how we open DSOs. 13506 lt_cv_dlopen=dlopen 13507 lt_cv_dlopen_libs= 13508 lt_cv_dlopen_self=no 13509 ;; 13510 13511 *) 13512 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13513if test "x$ac_cv_func_shl_load" = xyes; then : 13514 lt_cv_dlopen=shl_load 13515else 13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13517$as_echo_n "checking for shl_load in -ldld... " >&6; } 13518if ${ac_cv_lib_dld_shl_load+:} false; then : 13519 $as_echo_n "(cached) " >&6 13520else 13521 ac_check_lib_save_LIBS=$LIBS 13522LIBS="-ldld $LIBS" 13523cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13524/* end confdefs.h. */ 13525 13526/* Override any GCC internal prototype to avoid an error. 13527 Use char because int might match the return type of a GCC 13528 builtin and then its argument prototype would still apply. */ 13529#ifdef __cplusplus 13530extern "C" 13531#endif 13532char shl_load (); 13533int 13534main () 13535{ 13536return shl_load (); 13537 ; 13538 return 0; 13539} 13540_ACEOF 13541if ac_fn_c_try_link "$LINENO"; then : 13542 ac_cv_lib_dld_shl_load=yes 13543else 13544 ac_cv_lib_dld_shl_load=no 13545fi 13546rm -f core conftest.err conftest.$ac_objext \ 13547 conftest$ac_exeext conftest.$ac_ext 13548LIBS=$ac_check_lib_save_LIBS 13549fi 13550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13551$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13552if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13553 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13554else 13555 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13556if test "x$ac_cv_func_dlopen" = xyes; then : 13557 lt_cv_dlopen=dlopen 13558else 13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13560$as_echo_n "checking for dlopen in -ldl... " >&6; } 13561if ${ac_cv_lib_dl_dlopen+:} false; then : 13562 $as_echo_n "(cached) " >&6 13563else 13564 ac_check_lib_save_LIBS=$LIBS 13565LIBS="-ldl $LIBS" 13566cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13567/* end confdefs.h. */ 13568 13569/* Override any GCC internal prototype to avoid an error. 13570 Use char because int might match the return type of a GCC 13571 builtin and then its argument prototype would still apply. */ 13572#ifdef __cplusplus 13573extern "C" 13574#endif 13575char dlopen (); 13576int 13577main () 13578{ 13579return dlopen (); 13580 ; 13581 return 0; 13582} 13583_ACEOF 13584if ac_fn_c_try_link "$LINENO"; then : 13585 ac_cv_lib_dl_dlopen=yes 13586else 13587 ac_cv_lib_dl_dlopen=no 13588fi 13589rm -f core conftest.err conftest.$ac_objext \ 13590 conftest$ac_exeext conftest.$ac_ext 13591LIBS=$ac_check_lib_save_LIBS 13592fi 13593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13594$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13595if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13596 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13597else 13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13599$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13600if ${ac_cv_lib_svld_dlopen+:} false; then : 13601 $as_echo_n "(cached) " >&6 13602else 13603 ac_check_lib_save_LIBS=$LIBS 13604LIBS="-lsvld $LIBS" 13605cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13606/* end confdefs.h. */ 13607 13608/* Override any GCC internal prototype to avoid an error. 13609 Use char because int might match the return type of a GCC 13610 builtin and then its argument prototype would still apply. */ 13611#ifdef __cplusplus 13612extern "C" 13613#endif 13614char dlopen (); 13615int 13616main () 13617{ 13618return dlopen (); 13619 ; 13620 return 0; 13621} 13622_ACEOF 13623if ac_fn_c_try_link "$LINENO"; then : 13624 ac_cv_lib_svld_dlopen=yes 13625else 13626 ac_cv_lib_svld_dlopen=no 13627fi 13628rm -f core conftest.err conftest.$ac_objext \ 13629 conftest$ac_exeext conftest.$ac_ext 13630LIBS=$ac_check_lib_save_LIBS 13631fi 13632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13633$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13634if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13635 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13636else 13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13638$as_echo_n "checking for dld_link in -ldld... " >&6; } 13639if ${ac_cv_lib_dld_dld_link+:} false; then : 13640 $as_echo_n "(cached) " >&6 13641else 13642 ac_check_lib_save_LIBS=$LIBS 13643LIBS="-ldld $LIBS" 13644cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13645/* end confdefs.h. */ 13646 13647/* Override any GCC internal prototype to avoid an error. 13648 Use char because int might match the return type of a GCC 13649 builtin and then its argument prototype would still apply. */ 13650#ifdef __cplusplus 13651extern "C" 13652#endif 13653char dld_link (); 13654int 13655main () 13656{ 13657return dld_link (); 13658 ; 13659 return 0; 13660} 13661_ACEOF 13662if ac_fn_c_try_link "$LINENO"; then : 13663 ac_cv_lib_dld_dld_link=yes 13664else 13665 ac_cv_lib_dld_dld_link=no 13666fi 13667rm -f core conftest.err conftest.$ac_objext \ 13668 conftest$ac_exeext conftest.$ac_ext 13669LIBS=$ac_check_lib_save_LIBS 13670fi 13671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13672$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13673if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13674 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13675fi 13676 13677 13678fi 13679 13680 13681fi 13682 13683 13684fi 13685 13686 13687fi 13688 13689 13690fi 13691 13692 ;; 13693 esac 13694 13695 if test no = "$lt_cv_dlopen"; then 13696 enable_dlopen=no 13697 else 13698 enable_dlopen=yes 13699 fi 13700 13701 case $lt_cv_dlopen in 13702 dlopen) 13703 save_CPPFLAGS=$CPPFLAGS 13704 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13705 13706 save_LDFLAGS=$LDFLAGS 13707 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13708 13709 save_LIBS=$LIBS 13710 LIBS="$lt_cv_dlopen_libs $LIBS" 13711 13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13713$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13714if ${lt_cv_dlopen_self+:} false; then : 13715 $as_echo_n "(cached) " >&6 13716else 13717 if test yes = "$cross_compiling"; then : 13718 lt_cv_dlopen_self=cross 13719else 13720 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13721 lt_status=$lt_dlunknown 13722 cat > conftest.$ac_ext <<_LT_EOF 13723#line $LINENO "configure" 13724#include "confdefs.h" 13725 13726#if HAVE_DLFCN_H 13727#include <dlfcn.h> 13728#endif 13729 13730#include <stdio.h> 13731 13732#ifdef RTLD_GLOBAL 13733# define LT_DLGLOBAL RTLD_GLOBAL 13734#else 13735# ifdef DL_GLOBAL 13736# define LT_DLGLOBAL DL_GLOBAL 13737# else 13738# define LT_DLGLOBAL 0 13739# endif 13740#endif 13741 13742/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13743 find out it does not work in some platform. */ 13744#ifndef LT_DLLAZY_OR_NOW 13745# ifdef RTLD_LAZY 13746# define LT_DLLAZY_OR_NOW RTLD_LAZY 13747# else 13748# ifdef DL_LAZY 13749# define LT_DLLAZY_OR_NOW DL_LAZY 13750# else 13751# ifdef RTLD_NOW 13752# define LT_DLLAZY_OR_NOW RTLD_NOW 13753# else 13754# ifdef DL_NOW 13755# define LT_DLLAZY_OR_NOW DL_NOW 13756# else 13757# define LT_DLLAZY_OR_NOW 0 13758# endif 13759# endif 13760# endif 13761# endif 13762#endif 13763 13764/* When -fvisibility=hidden is used, assume the code has been annotated 13765 correspondingly for the symbols needed. */ 13766#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13767int fnord () __attribute__((visibility("default"))); 13768#endif 13769 13770int fnord () { return 42; } 13771int main () 13772{ 13773 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13774 int status = $lt_dlunknown; 13775 13776 if (self) 13777 { 13778 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13779 else 13780 { 13781 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13782 else puts (dlerror ()); 13783 } 13784 /* dlclose (self); */ 13785 } 13786 else 13787 puts (dlerror ()); 13788 13789 return status; 13790} 13791_LT_EOF 13792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13793 (eval $ac_link) 2>&5 13794 ac_status=$? 13795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13796 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13797 (./conftest; exit; ) >&5 2>/dev/null 13798 lt_status=$? 13799 case x$lt_status in 13800 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13801 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13802 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13803 esac 13804 else : 13805 # compilation failed 13806 lt_cv_dlopen_self=no 13807 fi 13808fi 13809rm -fr conftest* 13810 13811 13812fi 13813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13814$as_echo "$lt_cv_dlopen_self" >&6; } 13815 13816 if test yes = "$lt_cv_dlopen_self"; then 13817 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13819$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13820if ${lt_cv_dlopen_self_static+:} false; then : 13821 $as_echo_n "(cached) " >&6 13822else 13823 if test yes = "$cross_compiling"; then : 13824 lt_cv_dlopen_self_static=cross 13825else 13826 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13827 lt_status=$lt_dlunknown 13828 cat > conftest.$ac_ext <<_LT_EOF 13829#line $LINENO "configure" 13830#include "confdefs.h" 13831 13832#if HAVE_DLFCN_H 13833#include <dlfcn.h> 13834#endif 13835 13836#include <stdio.h> 13837 13838#ifdef RTLD_GLOBAL 13839# define LT_DLGLOBAL RTLD_GLOBAL 13840#else 13841# ifdef DL_GLOBAL 13842# define LT_DLGLOBAL DL_GLOBAL 13843# else 13844# define LT_DLGLOBAL 0 13845# endif 13846#endif 13847 13848/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13849 find out it does not work in some platform. */ 13850#ifndef LT_DLLAZY_OR_NOW 13851# ifdef RTLD_LAZY 13852# define LT_DLLAZY_OR_NOW RTLD_LAZY 13853# else 13854# ifdef DL_LAZY 13855# define LT_DLLAZY_OR_NOW DL_LAZY 13856# else 13857# ifdef RTLD_NOW 13858# define LT_DLLAZY_OR_NOW RTLD_NOW 13859# else 13860# ifdef DL_NOW 13861# define LT_DLLAZY_OR_NOW DL_NOW 13862# else 13863# define LT_DLLAZY_OR_NOW 0 13864# endif 13865# endif 13866# endif 13867# endif 13868#endif 13869 13870/* When -fvisibility=hidden is used, assume the code has been annotated 13871 correspondingly for the symbols needed. */ 13872#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13873int fnord () __attribute__((visibility("default"))); 13874#endif 13875 13876int fnord () { return 42; } 13877int main () 13878{ 13879 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13880 int status = $lt_dlunknown; 13881 13882 if (self) 13883 { 13884 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13885 else 13886 { 13887 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13888 else puts (dlerror ()); 13889 } 13890 /* dlclose (self); */ 13891 } 13892 else 13893 puts (dlerror ()); 13894 13895 return status; 13896} 13897_LT_EOF 13898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13899 (eval $ac_link) 2>&5 13900 ac_status=$? 13901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13902 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13903 (./conftest; exit; ) >&5 2>/dev/null 13904 lt_status=$? 13905 case x$lt_status in 13906 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13907 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13908 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13909 esac 13910 else : 13911 # compilation failed 13912 lt_cv_dlopen_self_static=no 13913 fi 13914fi 13915rm -fr conftest* 13916 13917 13918fi 13919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13920$as_echo "$lt_cv_dlopen_self_static" >&6; } 13921 fi 13922 13923 CPPFLAGS=$save_CPPFLAGS 13924 LDFLAGS=$save_LDFLAGS 13925 LIBS=$save_LIBS 13926 ;; 13927 esac 13928 13929 case $lt_cv_dlopen_self in 13930 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13931 *) enable_dlopen_self=unknown ;; 13932 esac 13933 13934 case $lt_cv_dlopen_self_static in 13935 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13936 *) enable_dlopen_self_static=unknown ;; 13937 esac 13938fi 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956striplib= 13957old_striplib= 13958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13959$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13960if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13961 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13962 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13964$as_echo "yes" >&6; } 13965else 13966# FIXME - insert some real tests, host_os isn't really good enough 13967 case $host_os in 13968 darwin*) 13969 if test -n "$STRIP"; then 13970 striplib="$STRIP -x" 13971 old_striplib="$STRIP -S" 13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13973$as_echo "yes" >&6; } 13974 else 13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13976$as_echo "no" >&6; } 13977 fi 13978 ;; 13979 *) 13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13981$as_echo "no" >&6; } 13982 ;; 13983 esac 13984fi 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 # Report what library types will actually be built 13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13999$as_echo_n "checking if libtool supports shared libraries... " >&6; } 14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 14001$as_echo "$can_build_shared" >&6; } 14002 14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 14004$as_echo_n "checking whether to build shared libraries... " >&6; } 14005 test no = "$can_build_shared" && enable_shared=no 14006 14007 # On AIX, shared libraries and static libraries use the same namespace, and 14008 # are all built from PIC. 14009 case $host_os in 14010 aix3*) 14011 test yes = "$enable_shared" && enable_static=no 14012 if test -n "$RANLIB"; then 14013 archive_cmds="$archive_cmds~\$RANLIB \$lib" 14014 postinstall_cmds='$RANLIB $lib' 14015 fi 14016 ;; 14017 14018 aix[4-9]*) 14019 if test ia64 != "$host_cpu"; then 14020 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 14021 yes,aix,yes) ;; # shared object as lib.so file only 14022 yes,svr4,*) ;; # shared object as lib.so archive member only 14023 yes,*) enable_static=no ;; # shared object in lib.a archive as well 14024 esac 14025 fi 14026 ;; 14027 esac 14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 14029$as_echo "$enable_shared" >&6; } 14030 14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 14032$as_echo_n "checking whether to build static libraries... " >&6; } 14033 # Make sure either enable_shared or enable_static is yes. 14034 test yes = "$enable_shared" || enable_static=yes 14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 14036$as_echo "$enable_static" >&6; } 14037 14038 14039 14040 14041fi 14042ac_ext=c 14043ac_cpp='$CPP $CPPFLAGS' 14044ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14045ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14046ac_compiler_gnu=$ac_cv_c_compiler_gnu 14047 14048CC=$lt_save_CC 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 ac_config_commands="$ac_config_commands libtool" 14065 14066 14067 14068 14069# Only expand once: 14070 14071 14072 14073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 14074$as_echo_n "checking for ANSI C header files... " >&6; } 14075if ${ac_cv_header_stdc+:} false; then : 14076 $as_echo_n "(cached) " >&6 14077else 14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14079/* end confdefs.h. */ 14080#include <stdlib.h> 14081#include <stdarg.h> 14082#include <string.h> 14083#include <float.h> 14084 14085int 14086main () 14087{ 14088 14089 ; 14090 return 0; 14091} 14092_ACEOF 14093if ac_fn_c_try_compile "$LINENO"; then : 14094 ac_cv_header_stdc=yes 14095else 14096 ac_cv_header_stdc=no 14097fi 14098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14099 14100if test $ac_cv_header_stdc = yes; then 14101 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 14102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14103/* end confdefs.h. */ 14104#include <string.h> 14105 14106_ACEOF 14107if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14108 $EGREP "memchr" >/dev/null 2>&1; then : 14109 14110else 14111 ac_cv_header_stdc=no 14112fi 14113rm -f conftest* 14114 14115fi 14116 14117if test $ac_cv_header_stdc = yes; then 14118 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 14119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14120/* end confdefs.h. */ 14121#include <stdlib.h> 14122 14123_ACEOF 14124if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14125 $EGREP "free" >/dev/null 2>&1; then : 14126 14127else 14128 ac_cv_header_stdc=no 14129fi 14130rm -f conftest* 14131 14132fi 14133 14134if test $ac_cv_header_stdc = yes; then 14135 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 14136 if test "$cross_compiling" = yes; then : 14137 : 14138else 14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14140/* end confdefs.h. */ 14141#include <ctype.h> 14142#include <stdlib.h> 14143#if ((' ' & 0x0FF) == 0x020) 14144# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 14145# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 14146#else 14147# define ISLOWER(c) \ 14148 (('a' <= (c) && (c) <= 'i') \ 14149 || ('j' <= (c) && (c) <= 'r') \ 14150 || ('s' <= (c) && (c) <= 'z')) 14151# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 14152#endif 14153 14154#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 14155int 14156main () 14157{ 14158 int i; 14159 for (i = 0; i < 256; i++) 14160 if (XOR (islower (i), ISLOWER (i)) 14161 || toupper (i) != TOUPPER (i)) 14162 return 2; 14163 return 0; 14164} 14165_ACEOF 14166if ac_fn_c_try_run "$LINENO"; then : 14167 14168else 14169 ac_cv_header_stdc=no 14170fi 14171rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14172 conftest.$ac_objext conftest.beam conftest.$ac_ext 14173fi 14174 14175fi 14176fi 14177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 14178$as_echo "$ac_cv_header_stdc" >&6; } 14179if test $ac_cv_header_stdc = yes; then 14180 14181$as_echo "#define STDC_HEADERS 1" >>confdefs.h 14182 14183fi 14184 14185for ac_header in fcntl.h linux/sched.h memory.h sched.h setjmp.h stdio.h \ 14186 stdlib.h string.h syscall.h sys/mman.h sys/types.h \ 14187 sys/stat.h unistd.h sys/select.h pwd.h 14188do : 14189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14190ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 14191if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 14192 cat >>confdefs.h <<_ACEOF 14193#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14194_ACEOF 14195 14196fi 14197 14198done 14199 14200 14201 14202 14203 14204 for ac_header in $ac_header_list 14205do : 14206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14207ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 14208" 14209if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 14210 cat >>confdefs.h <<_ACEOF 14211#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14212_ACEOF 14213 14214fi 14215 14216done 14217 14218 14219 14220 14221 14222 14223 14224 14225for ac_func in getpagesize 14226do : 14227 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 14228if test "x$ac_cv_func_getpagesize" = xyes; then : 14229 cat >>confdefs.h <<_ACEOF 14230#define HAVE_GETPAGESIZE 1 14231_ACEOF 14232 14233fi 14234done 14235 14236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 14237$as_echo_n "checking for working mmap... " >&6; } 14238if ${ac_cv_func_mmap_fixed_mapped+:} false; then : 14239 $as_echo_n "(cached) " >&6 14240else 14241 if test "$cross_compiling" = yes; then : 14242 ac_cv_func_mmap_fixed_mapped=no 14243else 14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14245/* end confdefs.h. */ 14246$ac_includes_default 14247/* malloc might have been renamed as rpl_malloc. */ 14248#undef malloc 14249 14250/* Thanks to Mike Haertel and Jim Avera for this test. 14251 Here is a matrix of mmap possibilities: 14252 mmap private not fixed 14253 mmap private fixed at somewhere currently unmapped 14254 mmap private fixed at somewhere already mapped 14255 mmap shared not fixed 14256 mmap shared fixed at somewhere currently unmapped 14257 mmap shared fixed at somewhere already mapped 14258 For private mappings, we should verify that changes cannot be read() 14259 back from the file, nor mmap's back from the file at a different 14260 address. (There have been systems where private was not correctly 14261 implemented like the infamous i386 svr4.0, and systems where the 14262 VM page cache was not coherent with the file system buffer cache 14263 like early versions of FreeBSD and possibly contemporary NetBSD.) 14264 For shared mappings, we should conversely verify that changes get 14265 propagated back to all the places they're supposed to be. 14266 14267 Grep wants private fixed already mapped. 14268 The main things grep needs to know about mmap are: 14269 * does it exist and is it safe to write into the mmap'd area 14270 * how to use it (BSD variants) */ 14271 14272#include <fcntl.h> 14273#include <sys/mman.h> 14274 14275#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H 14276char *malloc (); 14277#endif 14278 14279/* This mess was copied from the GNU getpagesize.h. */ 14280#ifndef HAVE_GETPAGESIZE 14281# ifdef _SC_PAGESIZE 14282# define getpagesize() sysconf(_SC_PAGESIZE) 14283# else /* no _SC_PAGESIZE */ 14284# ifdef HAVE_SYS_PARAM_H 14285# include <sys/param.h> 14286# ifdef EXEC_PAGESIZE 14287# define getpagesize() EXEC_PAGESIZE 14288# else /* no EXEC_PAGESIZE */ 14289# ifdef NBPG 14290# define getpagesize() NBPG * CLSIZE 14291# ifndef CLSIZE 14292# define CLSIZE 1 14293# endif /* no CLSIZE */ 14294# else /* no NBPG */ 14295# ifdef NBPC 14296# define getpagesize() NBPC 14297# else /* no NBPC */ 14298# ifdef PAGESIZE 14299# define getpagesize() PAGESIZE 14300# endif /* PAGESIZE */ 14301# endif /* no NBPC */ 14302# endif /* no NBPG */ 14303# endif /* no EXEC_PAGESIZE */ 14304# else /* no HAVE_SYS_PARAM_H */ 14305# define getpagesize() 8192 /* punt totally */ 14306# endif /* no HAVE_SYS_PARAM_H */ 14307# endif /* no _SC_PAGESIZE */ 14308 14309#endif /* no HAVE_GETPAGESIZE */ 14310 14311int 14312main () 14313{ 14314 char *data, *data2, *data3; 14315 const char *cdata2; 14316 int i, pagesize; 14317 int fd, fd2; 14318 14319 pagesize = getpagesize (); 14320 14321 /* First, make a file with some known garbage in it. */ 14322 data = (char *) malloc (pagesize); 14323 if (!data) 14324 return 1; 14325 for (i = 0; i < pagesize; ++i) 14326 *(data + i) = rand (); 14327 umask (0); 14328 fd = creat ("conftest.mmap", 0600); 14329 if (fd < 0) 14330 return 2; 14331 if (write (fd, data, pagesize) != pagesize) 14332 return 3; 14333 close (fd); 14334 14335 /* Next, check that the tail of a page is zero-filled. File must have 14336 non-zero length, otherwise we risk SIGBUS for entire page. */ 14337 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); 14338 if (fd2 < 0) 14339 return 4; 14340 cdata2 = ""; 14341 if (write (fd2, cdata2, 1) != 1) 14342 return 5; 14343 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); 14344 if (data2 == MAP_FAILED) 14345 return 6; 14346 for (i = 0; i < pagesize; ++i) 14347 if (*(data2 + i)) 14348 return 7; 14349 close (fd2); 14350 if (munmap (data2, pagesize)) 14351 return 8; 14352 14353 /* Next, try to mmap the file at a fixed address which already has 14354 something else allocated at it. If we can, also make sure that 14355 we see the same garbage. */ 14356 fd = open ("conftest.mmap", O_RDWR); 14357 if (fd < 0) 14358 return 9; 14359 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 14360 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 14361 return 10; 14362 for (i = 0; i < pagesize; ++i) 14363 if (*(data + i) != *(data2 + i)) 14364 return 11; 14365 14366 /* Finally, make sure that changes to the mapped area do not 14367 percolate back to the file as seen by read(). (This is a bug on 14368 some variants of i386 svr4.0.) */ 14369 for (i = 0; i < pagesize; ++i) 14370 *(data2 + i) = *(data2 + i) + 1; 14371 data3 = (char *) malloc (pagesize); 14372 if (!data3) 14373 return 12; 14374 if (read (fd, data3, pagesize) != pagesize) 14375 return 13; 14376 for (i = 0; i < pagesize; ++i) 14377 if (*(data + i) != *(data3 + i)) 14378 return 14; 14379 close (fd); 14380 free (data); 14381 free (data3); 14382 return 0; 14383} 14384_ACEOF 14385if ac_fn_c_try_run "$LINENO"; then : 14386 ac_cv_func_mmap_fixed_mapped=yes 14387else 14388 ac_cv_func_mmap_fixed_mapped=no 14389fi 14390rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14391 conftest.$ac_objext conftest.beam conftest.$ac_ext 14392fi 14393 14394fi 14395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 14396$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } 14397if test $ac_cv_func_mmap_fixed_mapped = yes; then 14398 14399$as_echo "#define HAVE_MMAP 1" >>confdefs.h 14400 14401fi 14402rm -f conftest.mmap conftest.txt 14403 14404for ac_func in sched_getparam sched_setscheduler getpwnam 14405do : 14406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14407ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14408if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 14409 cat >>confdefs.h <<_ACEOF 14410#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14411_ACEOF 14412 14413fi 14414done 14415 14416 14417linguas=`ls po/*.po | sed s/.po//g | sed sApo/AA | xargs` 14418 14419 GETTEXT_PACKAGE=tumbler 14420 14421cat >>confdefs.h <<_ACEOF 14422#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 14423_ACEOF 14424 14425 14426 14427 ALL_LINGUAS="$linguas" 14428 14429 for ac_header in locale.h 14430do : 14431 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 14432if test "x$ac_cv_header_locale_h" = xyes; then : 14433 cat >>confdefs.h <<_ACEOF 14434#define HAVE_LOCALE_H 1 14435_ACEOF 14436 14437fi 14438 14439done 14440 14441 if test $ac_cv_header_locale_h = yes; then 14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 14443$as_echo_n "checking for LC_MESSAGES... " >&6; } 14444if ${am_cv_val_LC_MESSAGES+:} false; then : 14445 $as_echo_n "(cached) " >&6 14446else 14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14448/* end confdefs.h. */ 14449#include <locale.h> 14450int 14451main () 14452{ 14453return LC_MESSAGES 14454 ; 14455 return 0; 14456} 14457_ACEOF 14458if ac_fn_c_try_link "$LINENO"; then : 14459 am_cv_val_LC_MESSAGES=yes 14460else 14461 am_cv_val_LC_MESSAGES=no 14462fi 14463rm -f core conftest.err conftest.$ac_objext \ 14464 conftest$ac_exeext conftest.$ac_ext 14465fi 14466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 14467$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 14468 if test $am_cv_val_LC_MESSAGES = yes; then 14469 14470$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 14471 14472 fi 14473 fi 14474 USE_NLS=yes 14475 14476 14477 gt_cv_have_gettext=no 14478 14479 CATOBJEXT=NONE 14480 XGETTEXT=: 14481 INTLLIBS= 14482 14483 14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 14485$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 14486if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 14487 $as_echo_n "(cached) " >&6 14488else 14489 gt_save_LIBS="$LIBS" 14490 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14492/* end confdefs.h. */ 14493#include <CoreFoundation/CFPreferences.h> 14494int 14495main () 14496{ 14497CFPreferencesCopyAppValue(NULL, NULL) 14498 ; 14499 return 0; 14500} 14501_ACEOF 14502if ac_fn_c_try_link "$LINENO"; then : 14503 gt_cv_func_CFPreferencesCopyAppValue=yes 14504else 14505 gt_cv_func_CFPreferencesCopyAppValue=no 14506fi 14507rm -f core conftest.err conftest.$ac_objext \ 14508 conftest$ac_exeext conftest.$ac_ext 14509 LIBS="$gt_save_LIBS" 14510fi 14511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 14512$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 14513 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 14514 14515$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 14516 14517 fi 14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 14519$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 14520if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 14521 $as_echo_n "(cached) " >&6 14522else 14523 gt_save_LIBS="$LIBS" 14524 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 14525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14526/* end confdefs.h. */ 14527#include <CoreFoundation/CFLocale.h> 14528int 14529main () 14530{ 14531CFLocaleCopyCurrent(); 14532 ; 14533 return 0; 14534} 14535_ACEOF 14536if ac_fn_c_try_link "$LINENO"; then : 14537 gt_cv_func_CFLocaleCopyCurrent=yes 14538else 14539 gt_cv_func_CFLocaleCopyCurrent=no 14540fi 14541rm -f core conftest.err conftest.$ac_objext \ 14542 conftest$ac_exeext conftest.$ac_ext 14543 LIBS="$gt_save_LIBS" 14544fi 14545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 14546$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 14547 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 14548 14549$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 14550 14551 fi 14552 INTL_MACOSX_LIBS= 14553 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 14554 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 14555 fi 14556 14557 14558 14559 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 14560if test "x$ac_cv_header_libintl_h" = xyes; then : 14561 gt_cv_func_dgettext_libintl="no" 14562 libintl_extra_libs="" 14563 14564 # 14565 # First check in libc 14566 # 14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 14568$as_echo_n "checking for ngettext in libc... " >&6; } 14569if ${gt_cv_func_ngettext_libc+:} false; then : 14570 $as_echo_n "(cached) " >&6 14571else 14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14573/* end confdefs.h. */ 14574 14575#include <libintl.h> 14576 14577int 14578main () 14579{ 14580return !ngettext ("","", 1) 14581 ; 14582 return 0; 14583} 14584_ACEOF 14585if ac_fn_c_try_link "$LINENO"; then : 14586 gt_cv_func_ngettext_libc=yes 14587else 14588 gt_cv_func_ngettext_libc=no 14589fi 14590rm -f core conftest.err conftest.$ac_objext \ 14591 conftest$ac_exeext conftest.$ac_ext 14592 14593fi 14594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 14595$as_echo "$gt_cv_func_ngettext_libc" >&6; } 14596 14597 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 14599$as_echo_n "checking for dgettext in libc... " >&6; } 14600if ${gt_cv_func_dgettext_libc+:} false; then : 14601 $as_echo_n "(cached) " >&6 14602else 14603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14604/* end confdefs.h. */ 14605 14606#include <libintl.h> 14607 14608int 14609main () 14610{ 14611return !dgettext ("","") 14612 ; 14613 return 0; 14614} 14615_ACEOF 14616if ac_fn_c_try_link "$LINENO"; then : 14617 gt_cv_func_dgettext_libc=yes 14618else 14619 gt_cv_func_dgettext_libc=no 14620fi 14621rm -f core conftest.err conftest.$ac_objext \ 14622 conftest$ac_exeext conftest.$ac_ext 14623 14624fi 14625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 14626$as_echo "$gt_cv_func_dgettext_libc" >&6; } 14627 fi 14628 14629 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 14630 for ac_func in bind_textdomain_codeset 14631do : 14632 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14633if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14634 cat >>confdefs.h <<_ACEOF 14635#define HAVE_BIND_TEXTDOMAIN_CODESET 1 14636_ACEOF 14637 14638fi 14639done 14640 14641 fi 14642 14643 # 14644 # If we don't have everything we want, check in libintl 14645 # 14646 if test "$gt_cv_func_dgettext_libc" != "yes" \ 14647 || test "$gt_cv_func_ngettext_libc" != "yes" \ 14648 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 14649 14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 14651$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 14652if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 14653 $as_echo_n "(cached) " >&6 14654else 14655 ac_check_lib_save_LIBS=$LIBS 14656LIBS="-lintl $LIBS" 14657cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14658/* end confdefs.h. */ 14659 14660/* Override any GCC internal prototype to avoid an error. 14661 Use char because int might match the return type of a GCC 14662 builtin and then its argument prototype would still apply. */ 14663#ifdef __cplusplus 14664extern "C" 14665#endif 14666char bindtextdomain (); 14667int 14668main () 14669{ 14670return bindtextdomain (); 14671 ; 14672 return 0; 14673} 14674_ACEOF 14675if ac_fn_c_try_link "$LINENO"; then : 14676 ac_cv_lib_intl_bindtextdomain=yes 14677else 14678 ac_cv_lib_intl_bindtextdomain=no 14679fi 14680rm -f core conftest.err conftest.$ac_objext \ 14681 conftest$ac_exeext conftest.$ac_ext 14682LIBS=$ac_check_lib_save_LIBS 14683fi 14684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 14685$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 14686if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 14688$as_echo_n "checking for ngettext in -lintl... " >&6; } 14689if ${ac_cv_lib_intl_ngettext+:} false; then : 14690 $as_echo_n "(cached) " >&6 14691else 14692 ac_check_lib_save_LIBS=$LIBS 14693LIBS="-lintl $LIBS" 14694cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14695/* end confdefs.h. */ 14696 14697/* Override any GCC internal prototype to avoid an error. 14698 Use char because int might match the return type of a GCC 14699 builtin and then its argument prototype would still apply. */ 14700#ifdef __cplusplus 14701extern "C" 14702#endif 14703char ngettext (); 14704int 14705main () 14706{ 14707return ngettext (); 14708 ; 14709 return 0; 14710} 14711_ACEOF 14712if ac_fn_c_try_link "$LINENO"; then : 14713 ac_cv_lib_intl_ngettext=yes 14714else 14715 ac_cv_lib_intl_ngettext=no 14716fi 14717rm -f core conftest.err conftest.$ac_objext \ 14718 conftest$ac_exeext conftest.$ac_ext 14719LIBS=$ac_check_lib_save_LIBS 14720fi 14721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 14722$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 14723if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 14725$as_echo_n "checking for dgettext in -lintl... " >&6; } 14726if ${ac_cv_lib_intl_dgettext+:} false; then : 14727 $as_echo_n "(cached) " >&6 14728else 14729 ac_check_lib_save_LIBS=$LIBS 14730LIBS="-lintl $LIBS" 14731cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14732/* end confdefs.h. */ 14733 14734/* Override any GCC internal prototype to avoid an error. 14735 Use char because int might match the return type of a GCC 14736 builtin and then its argument prototype would still apply. */ 14737#ifdef __cplusplus 14738extern "C" 14739#endif 14740char dgettext (); 14741int 14742main () 14743{ 14744return dgettext (); 14745 ; 14746 return 0; 14747} 14748_ACEOF 14749if ac_fn_c_try_link "$LINENO"; then : 14750 ac_cv_lib_intl_dgettext=yes 14751else 14752 ac_cv_lib_intl_dgettext=no 14753fi 14754rm -f core conftest.err conftest.$ac_objext \ 14755 conftest$ac_exeext conftest.$ac_ext 14756LIBS=$ac_check_lib_save_LIBS 14757fi 14758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 14759$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 14760if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 14761 gt_cv_func_dgettext_libintl=yes 14762fi 14763 14764fi 14765 14766fi 14767 14768 14769 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 14771$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 14773$as_echo "" >&6; } 14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 14775$as_echo_n "checking for ngettext in -lintl... " >&6; } 14776if ${ac_cv_lib_intl_ngettext+:} false; then : 14777 $as_echo_n "(cached) " >&6 14778else 14779 ac_check_lib_save_LIBS=$LIBS 14780LIBS="-lintl -liconv $LIBS" 14781cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14782/* end confdefs.h. */ 14783 14784/* Override any GCC internal prototype to avoid an error. 14785 Use char because int might match the return type of a GCC 14786 builtin and then its argument prototype would still apply. */ 14787#ifdef __cplusplus 14788extern "C" 14789#endif 14790char ngettext (); 14791int 14792main () 14793{ 14794return ngettext (); 14795 ; 14796 return 0; 14797} 14798_ACEOF 14799if ac_fn_c_try_link "$LINENO"; then : 14800 ac_cv_lib_intl_ngettext=yes 14801else 14802 ac_cv_lib_intl_ngettext=no 14803fi 14804rm -f core conftest.err conftest.$ac_objext \ 14805 conftest$ac_exeext conftest.$ac_ext 14806LIBS=$ac_check_lib_save_LIBS 14807fi 14808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 14809$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 14810if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 14812$as_echo_n "checking for dcgettext in -lintl... " >&6; } 14813if ${ac_cv_lib_intl_dcgettext+:} false; then : 14814 $as_echo_n "(cached) " >&6 14815else 14816 ac_check_lib_save_LIBS=$LIBS 14817LIBS="-lintl -liconv $LIBS" 14818cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14819/* end confdefs.h. */ 14820 14821/* Override any GCC internal prototype to avoid an error. 14822 Use char because int might match the return type of a GCC 14823 builtin and then its argument prototype would still apply. */ 14824#ifdef __cplusplus 14825extern "C" 14826#endif 14827char dcgettext (); 14828int 14829main () 14830{ 14831return dcgettext (); 14832 ; 14833 return 0; 14834} 14835_ACEOF 14836if ac_fn_c_try_link "$LINENO"; then : 14837 ac_cv_lib_intl_dcgettext=yes 14838else 14839 ac_cv_lib_intl_dcgettext=no 14840fi 14841rm -f core conftest.err conftest.$ac_objext \ 14842 conftest$ac_exeext conftest.$ac_ext 14843LIBS=$ac_check_lib_save_LIBS 14844fi 14845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 14846$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 14847if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 14848 gt_cv_func_dgettext_libintl=yes 14849 libintl_extra_libs=-liconv 14850else 14851 : 14852fi 14853 14854else 14855 : 14856fi 14857 14858 fi 14859 14860 # 14861 # If we found libintl, then check in it for bind_textdomain_codeset(); 14862 # we'll prefer libc if neither have bind_textdomain_codeset(), 14863 # and both have dgettext and ngettext 14864 # 14865 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 14866 glib_save_LIBS="$LIBS" 14867 LIBS="$LIBS -lintl $libintl_extra_libs" 14868 unset ac_cv_func_bind_textdomain_codeset 14869 for ac_func in bind_textdomain_codeset 14870do : 14871 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14872if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14873 cat >>confdefs.h <<_ACEOF 14874#define HAVE_BIND_TEXTDOMAIN_CODESET 1 14875_ACEOF 14876 14877fi 14878done 14879 14880 LIBS="$glib_save_LIBS" 14881 14882 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 14883 gt_cv_func_dgettext_libc=no 14884 else 14885 if test "$gt_cv_func_dgettext_libc" = "yes" \ 14886 && test "$gt_cv_func_ngettext_libc" = "yes"; then 14887 gt_cv_func_dgettext_libintl=no 14888 fi 14889 fi 14890 fi 14891 fi 14892 14893 if test "$gt_cv_func_dgettext_libc" = "yes" \ 14894 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 14895 gt_cv_have_gettext=yes 14896 fi 14897 14898 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 14899 INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" 14900 fi 14901 14902 if test "$gt_cv_have_gettext" = "yes"; then 14903 14904$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 14905 14906 # Extract the first word of "msgfmt", so it can be a program name with args. 14907set dummy msgfmt; ac_word=$2 14908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14909$as_echo_n "checking for $ac_word... " >&6; } 14910if ${ac_cv_path_MSGFMT+:} false; then : 14911 $as_echo_n "(cached) " >&6 14912else 14913 case "$MSGFMT" in 14914 /*) 14915 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 14916 ;; 14917 *) 14918 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14919 for ac_dir in $PATH; do 14920 test -z "$ac_dir" && ac_dir=. 14921 if test -f $ac_dir/$ac_word; then 14922 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 14923 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 14924 break 14925 fi 14926 fi 14927 done 14928 IFS="$ac_save_ifs" 14929 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 14930 ;; 14931esac 14932fi 14933MSGFMT="$ac_cv_path_MSGFMT" 14934if test "$MSGFMT" != "no"; then 14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 14936$as_echo "$MSGFMT" >&6; } 14937else 14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14939$as_echo "no" >&6; } 14940fi 14941 if test "$MSGFMT" != "no"; then 14942 glib_save_LIBS="$LIBS" 14943 LIBS="$LIBS $INTLLIBS" 14944 for ac_func in dcgettext 14945do : 14946 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 14947if test "x$ac_cv_func_dcgettext" = xyes; then : 14948 cat >>confdefs.h <<_ACEOF 14949#define HAVE_DCGETTEXT 1 14950_ACEOF 14951 14952fi 14953done 14954 14955 MSGFMT_OPTS= 14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 14957$as_echo_n "checking if msgfmt accepts -c... " >&6; } 14958 cat >conftest.foo <<_ACEOF 14959 14960msgid "" 14961msgstr "" 14962"Content-Type: text/plain; charset=UTF-8\n" 14963"Project-Id-Version: test 1.0\n" 14964"PO-Revision-Date: 2007-02-15 12:01+0100\n" 14965"Last-Translator: test <foo@bar.xx>\n" 14966"Language-Team: C <LL@li.org>\n" 14967"MIME-Version: 1.0\n" 14968"Content-Transfer-Encoding: 8bit\n" 14969 14970_ACEOF 14971if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 14972 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 14973 ac_status=$? 14974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14975 test $ac_status = 0; }; then 14976 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14977$as_echo "yes" >&6; } 14978else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14979$as_echo "no" >&6; } 14980echo "$as_me: failed input was:" >&5 14981sed 's/^/| /' conftest.foo >&5 14982fi 14983 14984 # Extract the first word of "gmsgfmt", so it can be a program name with args. 14985set dummy gmsgfmt; ac_word=$2 14986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14987$as_echo_n "checking for $ac_word... " >&6; } 14988if ${ac_cv_path_GMSGFMT+:} false; then : 14989 $as_echo_n "(cached) " >&6 14990else 14991 case $GMSGFMT in 14992 [\\/]* | ?:[\\/]*) 14993 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 14994 ;; 14995 *) 14996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14997for as_dir in $PATH 14998do 14999 IFS=$as_save_IFS 15000 test -z "$as_dir" && as_dir=. 15001 for ac_exec_ext in '' $ac_executable_extensions; do 15002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15003 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 15004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15005 break 2 15006 fi 15007done 15008 done 15009IFS=$as_save_IFS 15010 15011 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 15012 ;; 15013esac 15014fi 15015GMSGFMT=$ac_cv_path_GMSGFMT 15016if test -n "$GMSGFMT"; then 15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 15018$as_echo "$GMSGFMT" >&6; } 15019else 15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15021$as_echo "no" >&6; } 15022fi 15023 15024 15025 # Extract the first word of "xgettext", so it can be a program name with args. 15026set dummy xgettext; ac_word=$2 15027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15028$as_echo_n "checking for $ac_word... " >&6; } 15029if ${ac_cv_path_XGETTEXT+:} false; then : 15030 $as_echo_n "(cached) " >&6 15031else 15032 case "$XGETTEXT" in 15033 /*) 15034 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 15035 ;; 15036 *) 15037 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 15038 for ac_dir in $PATH; do 15039 test -z "$ac_dir" && ac_dir=. 15040 if test -f $ac_dir/$ac_word; then 15041 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 15042 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 15043 break 15044 fi 15045 fi 15046 done 15047 IFS="$ac_save_ifs" 15048 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 15049 ;; 15050esac 15051fi 15052XGETTEXT="$ac_cv_path_XGETTEXT" 15053if test "$XGETTEXT" != ":"; then 15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 15055$as_echo "$XGETTEXT" >&6; } 15056else 15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15058$as_echo "no" >&6; } 15059fi 15060 15061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15062/* end confdefs.h. */ 15063 15064int 15065main () 15066{ 15067extern int _nl_msg_cat_cntr; 15068 return _nl_msg_cat_cntr 15069 ; 15070 return 0; 15071} 15072_ACEOF 15073if ac_fn_c_try_link "$LINENO"; then : 15074 CATOBJEXT=.gmo 15075 DATADIRNAME=share 15076else 15077 case $host in 15078 *-*-solaris*) 15079 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 15080if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 15081 CATOBJEXT=.gmo 15082 DATADIRNAME=share 15083else 15084 CATOBJEXT=.mo 15085 DATADIRNAME=lib 15086fi 15087 15088 ;; 15089 *-*-openbsd*) 15090 CATOBJEXT=.mo 15091 DATADIRNAME=share 15092 ;; 15093 *) 15094 CATOBJEXT=.mo 15095 DATADIRNAME=lib 15096 ;; 15097 esac 15098fi 15099rm -f core conftest.err conftest.$ac_objext \ 15100 conftest$ac_exeext conftest.$ac_ext 15101 LIBS="$glib_save_LIBS" 15102 INSTOBJEXT=.mo 15103 else 15104 gt_cv_have_gettext=no 15105 fi 15106 fi 15107 15108fi 15109 15110 15111 15112 if test "$gt_cv_have_gettext" = "yes" ; then 15113 15114$as_echo "#define ENABLE_NLS 1" >>confdefs.h 15115 15116 fi 15117 15118 if test "$XGETTEXT" != ":"; then 15119 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 15120 : ; 15121 else 15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 15123$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 15124 XGETTEXT=":" 15125 fi 15126 fi 15127 15128 # We need to process the po/ directory. 15129 POSUB=po 15130 15131 ac_config_commands="$ac_config_commands default-1" 15132 15133 15134 for lang in $ALL_LINGUAS; do 15135 GMOFILES="$GMOFILES $lang.gmo" 15136 POFILES="$POFILES $lang.po" 15137 done 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 if test "$gt_cv_have_gettext" = "yes"; then 15152 if test "x$ALL_LINGUAS" = "x"; then 15153 LINGUAS= 15154 else 15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 15156$as_echo_n "checking for catalogs to be installed... " >&6; } 15157 NEW_LINGUAS= 15158 for presentlang in $ALL_LINGUAS; do 15159 useit=no 15160 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 15161 desiredlanguages="$LINGUAS" 15162 else 15163 desiredlanguages="$ALL_LINGUAS" 15164 fi 15165 for desiredlang in $desiredlanguages; do 15166 # Use the presentlang catalog if desiredlang is 15167 # a. equal to presentlang, or 15168 # b. a variant of presentlang (because in this case, 15169 # presentlang can be used as a fallback for messages 15170 # which are not translated in the desiredlang catalog). 15171 case "$desiredlang" in 15172 "$presentlang"*) useit=yes;; 15173 esac 15174 done 15175 if test $useit = yes; then 15176 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 15177 fi 15178 done 15179 LINGUAS=$NEW_LINGUAS 15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 15181$as_echo "$LINGUAS" >&6; } 15182 fi 15183 15184 if test -n "$LINGUAS"; then 15185 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 15186 fi 15187 fi 15188 15189 MKINSTALLDIRS= 15190 if test -n "$ac_aux_dir"; then 15191 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 15192 fi 15193 if test -z "$MKINSTALLDIRS"; then 15194 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 15195 fi 15196 15197 15198 test -d po || mkdir po 15199 if test "x$srcdir" != "x."; then 15200 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 15201 posrcprefix="$srcdir/" 15202 else 15203 posrcprefix="../$srcdir/" 15204 fi 15205 else 15206 posrcprefix="../" 15207 fi 15208 rm -f po/POTFILES 15209 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 15210 < $srcdir/po/POTFILES.in > po/POTFILES 15211 15212 15213 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 15214if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 15215 15216fi 15217 15218 15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5 15220$as_echo_n "checking for locales directory... " >&6; } 15221 15222# Check whether --with-locales-dir was given. 15223if test "${with_locales_dir+set}" = set; then : 15224 withval=$with_locales_dir; localedir=$withval 15225else 15226 15227 if test x"$CATOBJEXT" = x".mo"; then 15228 localedir=$libdir/locale 15229 else 15230 localedir=$datarootdir/locale 15231 fi 15232 15233fi 15234 15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5 15236$as_echo "$localedir" >&6; } 15237 15238 15239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5 15240$as_echo_n "checking for additional xgettext flags... " >&6; } 15241 if test x"$XGETTEXT_ARGS" = x""; then 15242 XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8"; 15243 else 15244 XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8"; 15245 fi 15246 15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5 15248$as_echo "$XGETTEXT_ARGS" >&6; } 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15259 if test -n "$ac_tool_prefix"; then 15260 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15261set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15263$as_echo_n "checking for $ac_word... " >&6; } 15264if ${ac_cv_path_PKG_CONFIG+:} false; then : 15265 $as_echo_n "(cached) " >&6 15266else 15267 case $PKG_CONFIG in 15268 [\\/]* | ?:[\\/]*) 15269 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15270 ;; 15271 *) 15272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15273for as_dir in $PATH 15274do 15275 IFS=$as_save_IFS 15276 test -z "$as_dir" && as_dir=. 15277 for ac_exec_ext in '' $ac_executable_extensions; do 15278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15279 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15281 break 2 15282 fi 15283done 15284 done 15285IFS=$as_save_IFS 15286 15287 ;; 15288esac 15289fi 15290PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15291if test -n "$PKG_CONFIG"; then 15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15293$as_echo "$PKG_CONFIG" >&6; } 15294else 15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15296$as_echo "no" >&6; } 15297fi 15298 15299 15300fi 15301if test -z "$ac_cv_path_PKG_CONFIG"; then 15302 ac_pt_PKG_CONFIG=$PKG_CONFIG 15303 # Extract the first word of "pkg-config", so it can be a program name with args. 15304set dummy pkg-config; ac_word=$2 15305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15306$as_echo_n "checking for $ac_word... " >&6; } 15307if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15308 $as_echo_n "(cached) " >&6 15309else 15310 case $ac_pt_PKG_CONFIG in 15311 [\\/]* | ?:[\\/]*) 15312 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15313 ;; 15314 *) 15315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15316for as_dir in $PATH 15317do 15318 IFS=$as_save_IFS 15319 test -z "$as_dir" && as_dir=. 15320 for ac_exec_ext in '' $ac_executable_extensions; do 15321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15322 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15324 break 2 15325 fi 15326done 15327 done 15328IFS=$as_save_IFS 15329 15330 ;; 15331esac 15332fi 15333ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15334if test -n "$ac_pt_PKG_CONFIG"; then 15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15336$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15337else 15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15339$as_echo "no" >&6; } 15340fi 15341 15342 if test "x$ac_pt_PKG_CONFIG" = x; then 15343 PKG_CONFIG="" 15344 else 15345 case $cross_compiling:$ac_tool_warned in 15346yes:) 15347{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15348$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15349ac_tool_warned=yes ;; 15350esac 15351 PKG_CONFIG=$ac_pt_PKG_CONFIG 15352 fi 15353else 15354 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15355fi 15356 15357fi 15358if test -n "$PKG_CONFIG"; then 15359 _pkg_min_version=0.9.0 15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15361$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15362 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15364$as_echo "yes" >&6; } 15365 else 15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15367$as_echo "no" >&6; } 15368 PKG_CONFIG="" 15369 fi 15370fi 15371 15372 15373 15374 gtk_doc_requires="gtk-doc >= 1.9" 15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5 15376$as_echo_n "checking for gtk-doc... " >&6; } 15377 if test -n "$PKG_CONFIG" && \ 15378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5 15379 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5 15380 ac_status=$? 15381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15382 test $ac_status = 0; }; then 15383 have_gtk_doc=yes 15384else 15385 have_gtk_doc=no 15386fi 15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5 15388$as_echo "$have_gtk_doc" >&6; } 15389 15390 if test "$have_gtk_doc" = "no"; then 15391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 15392 You will not be able to create source packages with 'make dist' 15393 because $gtk_doc_requires is not found." >&5 15394$as_echo "$as_me: WARNING: 15395 You will not be able to create source packages with 'make dist' 15396 because $gtk_doc_requires is not found." >&2;} 15397 fi 15398 15399 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 15400set dummy gtkdoc-check; ac_word=$2 15401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15402$as_echo_n "checking for $ac_word... " >&6; } 15403if ${ac_cv_prog_GTKDOC_CHECK+:} false; then : 15404 $as_echo_n "(cached) " >&6 15405else 15406 if test -n "$GTKDOC_CHECK"; then 15407 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test. 15408else 15409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15410for as_dir in $PATH 15411do 15412 IFS=$as_save_IFS 15413 test -z "$as_dir" && as_dir=. 15414 for ac_exec_ext in '' $ac_executable_extensions; do 15415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15416 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test" 15417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15418 break 2 15419 fi 15420done 15421 done 15422IFS=$as_save_IFS 15423 15424fi 15425fi 15426GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK 15427if test -n "$GTKDOC_CHECK"; then 15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 15429$as_echo "$GTKDOC_CHECK" >&6; } 15430else 15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15432$as_echo "no" >&6; } 15433fi 15434 15435 15436 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 15437set dummy gtkdoc-check; ac_word=$2 15438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15439$as_echo_n "checking for $ac_word... " >&6; } 15440if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then : 15441 $as_echo_n "(cached) " >&6 15442else 15443 case $GTKDOC_CHECK_PATH in 15444 [\\/]* | ?:[\\/]*) 15445 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path. 15446 ;; 15447 *) 15448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15449for as_dir in $PATH 15450do 15451 IFS=$as_save_IFS 15452 test -z "$as_dir" && as_dir=. 15453 for ac_exec_ext in '' $ac_executable_extensions; do 15454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15455 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext" 15456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15457 break 2 15458 fi 15459done 15460 done 15461IFS=$as_save_IFS 15462 15463 ;; 15464esac 15465fi 15466GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH 15467if test -n "$GTKDOC_CHECK_PATH"; then 15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5 15469$as_echo "$GTKDOC_CHECK_PATH" >&6; } 15470else 15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15472$as_echo "no" >&6; } 15473fi 15474 15475 15476 for ac_prog in gtkdoc-rebase 15477do 15478 # Extract the first word of "$ac_prog", so it can be a program name with args. 15479set dummy $ac_prog; ac_word=$2 15480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15481$as_echo_n "checking for $ac_word... " >&6; } 15482if ${ac_cv_path_GTKDOC_REBASE+:} false; then : 15483 $as_echo_n "(cached) " >&6 15484else 15485 case $GTKDOC_REBASE in 15486 [\\/]* | ?:[\\/]*) 15487 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. 15488 ;; 15489 *) 15490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15491for as_dir in $PATH 15492do 15493 IFS=$as_save_IFS 15494 test -z "$as_dir" && as_dir=. 15495 for ac_exec_ext in '' $ac_executable_extensions; do 15496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15497 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" 15498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15499 break 2 15500 fi 15501done 15502 done 15503IFS=$as_save_IFS 15504 15505 ;; 15506esac 15507fi 15508GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE 15509if test -n "$GTKDOC_REBASE"; then 15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 15511$as_echo "$GTKDOC_REBASE" >&6; } 15512else 15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15514$as_echo "no" >&6; } 15515fi 15516 15517 15518 test -n "$GTKDOC_REBASE" && break 15519done 15520test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" 15521 15522 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. 15523set dummy gtkdoc-mkpdf; ac_word=$2 15524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15525$as_echo_n "checking for $ac_word... " >&6; } 15526if ${ac_cv_path_GTKDOC_MKPDF+:} false; then : 15527 $as_echo_n "(cached) " >&6 15528else 15529 case $GTKDOC_MKPDF in 15530 [\\/]* | ?:[\\/]*) 15531 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. 15532 ;; 15533 *) 15534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15535for as_dir in $PATH 15536do 15537 IFS=$as_save_IFS 15538 test -z "$as_dir" && as_dir=. 15539 for ac_exec_ext in '' $ac_executable_extensions; do 15540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15541 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" 15542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15543 break 2 15544 fi 15545done 15546 done 15547IFS=$as_save_IFS 15548 15549 ;; 15550esac 15551fi 15552GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF 15553if test -n "$GTKDOC_MKPDF"; then 15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 15555$as_echo "$GTKDOC_MKPDF" >&6; } 15556else 15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15558$as_echo "no" >&6; } 15559fi 15560 15561 15562 15563 15564# Check whether --with-html-dir was given. 15565if test "${with_html_dir+set}" = set; then : 15566 withval=$with_html_dir; 15567else 15568 with_html_dir='${datadir}/gtk-doc/html' 15569fi 15570 15571 HTML_DIR="$with_html_dir" 15572 15573 15574 # Check whether --enable-gtk-doc was given. 15575if test "${enable_gtk_doc+set}" = set; then : 15576 enableval=$enable_gtk_doc; 15577else 15578 enable_gtk_doc=no 15579fi 15580 15581 15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 15583$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 15584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 15585$as_echo "$enable_gtk_doc" >&6; } 15586 15587 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then 15588 as_fn_error $? " 15589 You must have $gtk_doc_requires installed to build documentation for 15590 $PACKAGE_NAME. Please install gtk-doc or disable building the 15591 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5 15592 fi 15593 15594 if test "x$PACKAGE_NAME" != "xglib"; then 15595 15596pkg_failed=no 15597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5 15598$as_echo_n "checking for GTKDOC_DEPS... " >&6; } 15599 15600if test -n "$GTKDOC_DEPS_CFLAGS"; then 15601 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" 15602 elif test -n "$PKG_CONFIG"; then 15603 if test -n "$PKG_CONFIG" && \ 15604 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 15605 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 15606 ac_status=$? 15607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15608 test $ac_status = 0; }; then 15609 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 15610 test "x$?" != "x0" && pkg_failed=yes 15611else 15612 pkg_failed=yes 15613fi 15614 else 15615 pkg_failed=untried 15616fi 15617if test -n "$GTKDOC_DEPS_LIBS"; then 15618 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" 15619 elif test -n "$PKG_CONFIG"; then 15620 if test -n "$PKG_CONFIG" && \ 15621 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 15622 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 15623 ac_status=$? 15624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15625 test $ac_status = 0; }; then 15626 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 15627 test "x$?" != "x0" && pkg_failed=yes 15628else 15629 pkg_failed=yes 15630fi 15631 else 15632 pkg_failed=untried 15633fi 15634 15635 15636 15637if test $pkg_failed = yes; then 15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15639$as_echo "no" >&6; } 15640 15641if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15642 _pkg_short_errors_supported=yes 15643else 15644 _pkg_short_errors_supported=no 15645fi 15646 if test $_pkg_short_errors_supported = yes; then 15647 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` 15648 else 15649 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` 15650 fi 15651 # Put the nasty error message in config.log where it belongs 15652 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 15653 15654 : 15655elif test $pkg_failed = untried; then 15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15657$as_echo "no" >&6; } 15658 : 15659else 15660 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS 15661 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS 15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15663$as_echo "yes" >&6; } 15664 15665fi 15666 fi 15667 15668 # Check whether --enable-gtk-doc-html was given. 15669if test "${enable_gtk_doc_html+set}" = set; then : 15670 enableval=$enable_gtk_doc_html; 15671else 15672 enable_gtk_doc_html=yes 15673fi 15674 15675 # Check whether --enable-gtk-doc-pdf was given. 15676if test "${enable_gtk_doc_pdf+set}" = set; then : 15677 enableval=$enable_gtk_doc_pdf; 15678else 15679 enable_gtk_doc_pdf=no 15680fi 15681 15682 15683 if test -z "$GTKDOC_MKPDF"; then 15684 enable_gtk_doc_pdf=no 15685 fi 15686 15687 if test -z "$AM_DEFAULT_VERBOSITY"; then 15688 AM_DEFAULT_VERBOSITY=1 15689 fi 15690 15691 15692 if test x$have_gtk_doc = xyes; then 15693 HAVE_GTK_DOC_TRUE= 15694 HAVE_GTK_DOC_FALSE='#' 15695else 15696 HAVE_GTK_DOC_TRUE='#' 15697 HAVE_GTK_DOC_FALSE= 15698fi 15699 15700 if test x$enable_gtk_doc = xyes; then 15701 ENABLE_GTK_DOC_TRUE= 15702 ENABLE_GTK_DOC_FALSE='#' 15703else 15704 ENABLE_GTK_DOC_TRUE='#' 15705 ENABLE_GTK_DOC_FALSE= 15706fi 15707 15708 if test x$enable_gtk_doc_html = xyes; then 15709 GTK_DOC_BUILD_HTML_TRUE= 15710 GTK_DOC_BUILD_HTML_FALSE='#' 15711else 15712 GTK_DOC_BUILD_HTML_TRUE='#' 15713 GTK_DOC_BUILD_HTML_FALSE= 15714fi 15715 15716 if test x$enable_gtk_doc_pdf = xyes; then 15717 GTK_DOC_BUILD_PDF_TRUE= 15718 GTK_DOC_BUILD_PDF_FALSE='#' 15719else 15720 GTK_DOC_BUILD_PDF_TRUE='#' 15721 GTK_DOC_BUILD_PDF_FALSE= 15722fi 15723 15724 if test -n "$LIBTOOL"; then 15725 GTK_DOC_USE_LIBTOOL_TRUE= 15726 GTK_DOC_USE_LIBTOOL_FALSE='#' 15727else 15728 GTK_DOC_USE_LIBTOOL_TRUE='#' 15729 GTK_DOC_USE_LIBTOOL_FALSE= 15730fi 15731 15732 if test -n "$GTKDOC_REBASE"; then 15733 GTK_DOC_USE_REBASE_TRUE= 15734 GTK_DOC_USE_REBASE_FALSE='#' 15735else 15736 GTK_DOC_USE_REBASE_TRUE='#' 15737 GTK_DOC_USE_REBASE_FALSE= 15738fi 15739 15740 15741 15742 15743# Extract the first word of "gdbus-codegen", so it can be a program name with args. 15744set dummy gdbus-codegen; ac_word=$2 15745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15746$as_echo_n "checking for $ac_word... " >&6; } 15747if ${ac_cv_path_GDBUS_CODEGEN+:} false; then : 15748 $as_echo_n "(cached) " >&6 15749else 15750 case $GDBUS_CODEGEN in 15751 [\\/]* | ?:[\\/]*) 15752 ac_cv_path_GDBUS_CODEGEN="$GDBUS_CODEGEN" # Let the user override the test with a path. 15753 ;; 15754 *) 15755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15756for as_dir in $PATH 15757do 15758 IFS=$as_save_IFS 15759 test -z "$as_dir" && as_dir=. 15760 for ac_exec_ext in '' $ac_executable_extensions; do 15761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15762 ac_cv_path_GDBUS_CODEGEN="$as_dir/$ac_word$ac_exec_ext" 15763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15764 break 2 15765 fi 15766done 15767 done 15768IFS=$as_save_IFS 15769 15770 test -z "$ac_cv_path_GDBUS_CODEGEN" && ac_cv_path_GDBUS_CODEGEN="no" 15771 ;; 15772esac 15773fi 15774GDBUS_CODEGEN=$ac_cv_path_GDBUS_CODEGEN 15775if test -n "$GDBUS_CODEGEN"; then 15776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDBUS_CODEGEN" >&5 15777$as_echo "$GDBUS_CODEGEN" >&6; } 15778else 15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15780$as_echo "no" >&6; } 15781fi 15782 15783 15784if test x"$GDBUS_CODEGEN" = x"no"; then 15785 as_fn_error $? "could not find gdbus-codegen in \$PATH. You can run 15786 ./configure GDBUS_CODEGEN=/path/to/gdbus-codegen to define 15787 a custom location for it." "$LINENO" 5 15788fi 15789 15790 15791pkg_failed=no 15792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 15793$as_echo_n "checking for GLIB... " >&6; } 15794 15795if test -n "$GLIB_CFLAGS"; then 15796 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 15797 elif test -n "$PKG_CONFIG"; then 15798 if test -n "$PKG_CONFIG" && \ 15799 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.50.0\""; } >&5 15800 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.50.0") 2>&5 15801 ac_status=$? 15802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15803 test $ac_status = 0; }; then 15804 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.50.0" 2>/dev/null` 15805 test "x$?" != "x0" && pkg_failed=yes 15806else 15807 pkg_failed=yes 15808fi 15809 else 15810 pkg_failed=untried 15811fi 15812if test -n "$GLIB_LIBS"; then 15813 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 15814 elif test -n "$PKG_CONFIG"; then 15815 if test -n "$PKG_CONFIG" && \ 15816 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.50.0\""; } >&5 15817 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.50.0") 2>&5 15818 ac_status=$? 15819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15820 test $ac_status = 0; }; then 15821 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.50.0" 2>/dev/null` 15822 test "x$?" != "x0" && pkg_failed=yes 15823else 15824 pkg_failed=yes 15825fi 15826 else 15827 pkg_failed=untried 15828fi 15829 15830 15831 15832if test $pkg_failed = yes; then 15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15834$as_echo "no" >&6; } 15835 15836if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15837 _pkg_short_errors_supported=yes 15838else 15839 _pkg_short_errors_supported=no 15840fi 15841 if test $_pkg_short_errors_supported = yes; then 15842 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.50.0" 2>&1` 15843 else 15844 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.50.0" 2>&1` 15845 fi 15846 # Put the nasty error message in config.log where it belongs 15847 echo "$GLIB_PKG_ERRORS" >&5 15848 15849 as_fn_error $? "Package requirements (glib-2.0 >= 2.50.0) were not met: 15850 15851$GLIB_PKG_ERRORS 15852 15853Consider adjusting the PKG_CONFIG_PATH environment variable if you 15854installed software in a non-standard prefix. 15855 15856Alternatively, you may set the environment variables GLIB_CFLAGS 15857and GLIB_LIBS to avoid the need to call pkg-config. 15858See the pkg-config man page for more details." "$LINENO" 5 15859elif test $pkg_failed = untried; then 15860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15861$as_echo "no" >&6; } 15862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15863$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15864as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15865is in your PATH or set the PKG_CONFIG environment variable to the full 15866path to pkg-config. 15867 15868Alternatively, you may set the environment variables GLIB_CFLAGS 15869and GLIB_LIBS to avoid the need to call pkg-config. 15870See the pkg-config man page for more details. 15871 15872To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15873See \`config.log' for more details" "$LINENO" 5; } 15874else 15875 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 15876 GLIB_LIBS=$pkg_cv_GLIB_LIBS 15877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15878$as_echo "yes" >&6; } 15879 15880fi 15881 15882pkg_failed=no 15883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5 15884$as_echo_n "checking for GIO... " >&6; } 15885 15886if test -n "$GIO_CFLAGS"; then 15887 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" 15888 elif test -n "$PKG_CONFIG"; then 15889 if test -n "$PKG_CONFIG" && \ 15890 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.50.0\""; } >&5 15891 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.50.0") 2>&5 15892 ac_status=$? 15893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15894 test $ac_status = 0; }; then 15895 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.50.0" 2>/dev/null` 15896 test "x$?" != "x0" && pkg_failed=yes 15897else 15898 pkg_failed=yes 15899fi 15900 else 15901 pkg_failed=untried 15902fi 15903if test -n "$GIO_LIBS"; then 15904 pkg_cv_GIO_LIBS="$GIO_LIBS" 15905 elif test -n "$PKG_CONFIG"; then 15906 if test -n "$PKG_CONFIG" && \ 15907 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.50.0\""; } >&5 15908 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.50.0") 2>&5 15909 ac_status=$? 15910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15911 test $ac_status = 0; }; then 15912 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.50.0" 2>/dev/null` 15913 test "x$?" != "x0" && pkg_failed=yes 15914else 15915 pkg_failed=yes 15916fi 15917 else 15918 pkg_failed=untried 15919fi 15920 15921 15922 15923if test $pkg_failed = yes; then 15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15925$as_echo "no" >&6; } 15926 15927if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15928 _pkg_short_errors_supported=yes 15929else 15930 _pkg_short_errors_supported=no 15931fi 15932 if test $_pkg_short_errors_supported = yes; then 15933 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.50.0" 2>&1` 15934 else 15935 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.50.0" 2>&1` 15936 fi 15937 # Put the nasty error message in config.log where it belongs 15938 echo "$GIO_PKG_ERRORS" >&5 15939 15940 as_fn_error $? "Package requirements (gio-2.0 >= 2.50.0) were not met: 15941 15942$GIO_PKG_ERRORS 15943 15944Consider adjusting the PKG_CONFIG_PATH environment variable if you 15945installed software in a non-standard prefix. 15946 15947Alternatively, you may set the environment variables GIO_CFLAGS 15948and GIO_LIBS to avoid the need to call pkg-config. 15949See the pkg-config man page for more details." "$LINENO" 5 15950elif test $pkg_failed = untried; then 15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15952$as_echo "no" >&6; } 15953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15954$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15955as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15956is in your PATH or set the PKG_CONFIG environment variable to the full 15957path to pkg-config. 15958 15959Alternatively, you may set the environment variables GIO_CFLAGS 15960and GIO_LIBS to avoid the need to call pkg-config. 15961See the pkg-config man page for more details. 15962 15963To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15964See \`config.log' for more details" "$LINENO" 5; } 15965else 15966 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS 15967 GIO_LIBS=$pkg_cv_GIO_LIBS 15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15969$as_echo "yes" >&6; } 15970 15971fi 15972 15973pkg_failed=no 15974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO_UNIX" >&5 15975$as_echo_n "checking for GIO_UNIX... " >&6; } 15976 15977if test -n "$GIO_UNIX_CFLAGS"; then 15978 pkg_cv_GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS" 15979 elif test -n "$PKG_CONFIG"; then 15980 if test -n "$PKG_CONFIG" && \ 15981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0 >= 2.50.0\""; } >&5 15982 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= 2.50.0") 2>&5 15983 ac_status=$? 15984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15985 test $ac_status = 0; }; then 15986 pkg_cv_GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0 >= 2.50.0" 2>/dev/null` 15987 test "x$?" != "x0" && pkg_failed=yes 15988else 15989 pkg_failed=yes 15990fi 15991 else 15992 pkg_failed=untried 15993fi 15994if test -n "$GIO_UNIX_LIBS"; then 15995 pkg_cv_GIO_UNIX_LIBS="$GIO_UNIX_LIBS" 15996 elif test -n "$PKG_CONFIG"; then 15997 if test -n "$PKG_CONFIG" && \ 15998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0 >= 2.50.0\""; } >&5 15999 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= 2.50.0") 2>&5 16000 ac_status=$? 16001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16002 test $ac_status = 0; }; then 16003 pkg_cv_GIO_UNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0 >= 2.50.0" 2>/dev/null` 16004 test "x$?" != "x0" && pkg_failed=yes 16005else 16006 pkg_failed=yes 16007fi 16008 else 16009 pkg_failed=untried 16010fi 16011 16012 16013 16014if test $pkg_failed = yes; then 16015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16016$as_echo "no" >&6; } 16017 16018if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16019 _pkg_short_errors_supported=yes 16020else 16021 _pkg_short_errors_supported=no 16022fi 16023 if test $_pkg_short_errors_supported = yes; then 16024 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-unix-2.0 >= 2.50.0" 2>&1` 16025 else 16026 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-unix-2.0 >= 2.50.0" 2>&1` 16027 fi 16028 # Put the nasty error message in config.log where it belongs 16029 echo "$GIO_UNIX_PKG_ERRORS" >&5 16030 16031 as_fn_error $? "Package requirements (gio-unix-2.0 >= 2.50.0) were not met: 16032 16033$GIO_UNIX_PKG_ERRORS 16034 16035Consider adjusting the PKG_CONFIG_PATH environment variable if you 16036installed software in a non-standard prefix. 16037 16038Alternatively, you may set the environment variables GIO_UNIX_CFLAGS 16039and GIO_UNIX_LIBS to avoid the need to call pkg-config. 16040See the pkg-config man page for more details." "$LINENO" 5 16041elif test $pkg_failed = untried; then 16042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16043$as_echo "no" >&6; } 16044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16045$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16046as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16047is in your PATH or set the PKG_CONFIG environment variable to the full 16048path to pkg-config. 16049 16050Alternatively, you may set the environment variables GIO_UNIX_CFLAGS 16051and GIO_UNIX_LIBS to avoid the need to call pkg-config. 16052See the pkg-config man page for more details. 16053 16054To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16055See \`config.log' for more details" "$LINENO" 5; } 16056else 16057 GIO_UNIX_CFLAGS=$pkg_cv_GIO_UNIX_CFLAGS 16058 GIO_UNIX_LIBS=$pkg_cv_GIO_UNIX_LIBS 16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16060$as_echo "yes" >&6; } 16061 16062fi 16063 16064pkg_failed=no 16065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5 16066$as_echo_n "checking for GMODULE... " >&6; } 16067 16068if test -n "$GMODULE_CFLAGS"; then 16069 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS" 16070 elif test -n "$PKG_CONFIG"; then 16071 if test -n "$PKG_CONFIG" && \ 16072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.50.0\""; } >&5 16073 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.50.0") 2>&5 16074 ac_status=$? 16075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16076 test $ac_status = 0; }; then 16077 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 >= 2.50.0" 2>/dev/null` 16078 test "x$?" != "x0" && pkg_failed=yes 16079else 16080 pkg_failed=yes 16081fi 16082 else 16083 pkg_failed=untried 16084fi 16085if test -n "$GMODULE_LIBS"; then 16086 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS" 16087 elif test -n "$PKG_CONFIG"; then 16088 if test -n "$PKG_CONFIG" && \ 16089 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.50.0\""; } >&5 16090 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.50.0") 2>&5 16091 ac_status=$? 16092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16093 test $ac_status = 0; }; then 16094 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 >= 2.50.0" 2>/dev/null` 16095 test "x$?" != "x0" && pkg_failed=yes 16096else 16097 pkg_failed=yes 16098fi 16099 else 16100 pkg_failed=untried 16101fi 16102 16103 16104 16105if test $pkg_failed = yes; then 16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16107$as_echo "no" >&6; } 16108 16109if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16110 _pkg_short_errors_supported=yes 16111else 16112 _pkg_short_errors_supported=no 16113fi 16114 if test $_pkg_short_errors_supported = yes; then 16115 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0 >= 2.50.0" 2>&1` 16116 else 16117 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0 >= 2.50.0" 2>&1` 16118 fi 16119 # Put the nasty error message in config.log where it belongs 16120 echo "$GMODULE_PKG_ERRORS" >&5 16121 16122 as_fn_error $? "Package requirements (gmodule-2.0 >= 2.50.0) were not met: 16123 16124$GMODULE_PKG_ERRORS 16125 16126Consider adjusting the PKG_CONFIG_PATH environment variable if you 16127installed software in a non-standard prefix. 16128 16129Alternatively, you may set the environment variables GMODULE_CFLAGS 16130and GMODULE_LIBS to avoid the need to call pkg-config. 16131See the pkg-config man page for more details." "$LINENO" 5 16132elif test $pkg_failed = untried; then 16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16134$as_echo "no" >&6; } 16135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16136$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16137as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16138is in your PATH or set the PKG_CONFIG environment variable to the full 16139path to pkg-config. 16140 16141Alternatively, you may set the environment variables GMODULE_CFLAGS 16142and GMODULE_LIBS to avoid the need to call pkg-config. 16143See the pkg-config man page for more details. 16144 16145To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16146See \`config.log' for more details" "$LINENO" 5; } 16147else 16148 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS 16149 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS 16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16151$as_echo "yes" >&6; } 16152 16153fi 16154 16155pkg_failed=no 16156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5 16157$as_echo_n "checking for GTHREAD... " >&6; } 16158 16159if test -n "$GTHREAD_CFLAGS"; then 16160 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS" 16161 elif test -n "$PKG_CONFIG"; then 16162 if test -n "$PKG_CONFIG" && \ 16163 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.5ß.0\""; } >&5 16164 ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.5ß.0") 2>&5 16165 ac_status=$? 16166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16167 test $ac_status = 0; }; then 16168 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 >= 2.5ß.0" 2>/dev/null` 16169 test "x$?" != "x0" && pkg_failed=yes 16170else 16171 pkg_failed=yes 16172fi 16173 else 16174 pkg_failed=untried 16175fi 16176if test -n "$GTHREAD_LIBS"; then 16177 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS" 16178 elif test -n "$PKG_CONFIG"; then 16179 if test -n "$PKG_CONFIG" && \ 16180 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.5ß.0\""; } >&5 16181 ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.5ß.0") 2>&5 16182 ac_status=$? 16183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16184 test $ac_status = 0; }; then 16185 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0 >= 2.5ß.0" 2>/dev/null` 16186 test "x$?" != "x0" && pkg_failed=yes 16187else 16188 pkg_failed=yes 16189fi 16190 else 16191 pkg_failed=untried 16192fi 16193 16194 16195 16196if test $pkg_failed = yes; then 16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16198$as_echo "no" >&6; } 16199 16200if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16201 _pkg_short_errors_supported=yes 16202else 16203 _pkg_short_errors_supported=no 16204fi 16205 if test $_pkg_short_errors_supported = yes; then 16206 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0 >= 2.5ß.0" 2>&1` 16207 else 16208 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0 >= 2.5ß.0" 2>&1` 16209 fi 16210 # Put the nasty error message in config.log where it belongs 16211 echo "$GTHREAD_PKG_ERRORS" >&5 16212 16213 as_fn_error $? "Package requirements (gthread-2.0 >= 2.5ß.0) were not met: 16214 16215$GTHREAD_PKG_ERRORS 16216 16217Consider adjusting the PKG_CONFIG_PATH environment variable if you 16218installed software in a non-standard prefix. 16219 16220Alternatively, you may set the environment variables GTHREAD_CFLAGS 16221and GTHREAD_LIBS to avoid the need to call pkg-config. 16222See the pkg-config man page for more details." "$LINENO" 5 16223elif test $pkg_failed = untried; then 16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16225$as_echo "no" >&6; } 16226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16227$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16228as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16229is in your PATH or set the PKG_CONFIG environment variable to the full 16230path to pkg-config. 16231 16232Alternatively, you may set the environment variables GTHREAD_CFLAGS 16233and GTHREAD_LIBS to avoid the need to call pkg-config. 16234See the pkg-config man page for more details. 16235 16236To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16237See \`config.log' for more details" "$LINENO" 5; } 16238else 16239 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS 16240 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS 16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16242$as_echo "yes" >&6; } 16243 16244fi 16245 16246 16247# Check whether --enable-cover-thumbnailer was given. 16248if test "${enable_cover_thumbnailer+set}" = set; then : 16249 enableval=$enable_cover_thumbnailer; ac_tumbler_cover_thumbnailer=$enableval 16250else 16251 ac_tumbler_cover_thumbnailer=yes 16252fi 16253 16254if test x"$ac_tumbler_cover_thumbnailer" = x"yes"; then 16255 16256pkg_failed=no 16257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 16258$as_echo_n "checking for GDK_PIXBUF... " >&6; } 16259 16260if test -n "$GDK_PIXBUF_CFLAGS"; then 16261 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 16262 elif test -n "$PKG_CONFIG"; then 16263 if test -n "$PKG_CONFIG" && \ 16264 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 16265 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 16266 ac_status=$? 16267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16268 test $ac_status = 0; }; then 16269 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 16270 test "x$?" != "x0" && pkg_failed=yes 16271else 16272 pkg_failed=yes 16273fi 16274 else 16275 pkg_failed=untried 16276fi 16277if test -n "$GDK_PIXBUF_LIBS"; then 16278 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 16279 elif test -n "$PKG_CONFIG"; then 16280 if test -n "$PKG_CONFIG" && \ 16281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 16282 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 16283 ac_status=$? 16284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16285 test $ac_status = 0; }; then 16286 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 16287 test "x$?" != "x0" && pkg_failed=yes 16288else 16289 pkg_failed=yes 16290fi 16291 else 16292 pkg_failed=untried 16293fi 16294 16295 16296 16297if test $pkg_failed = yes; then 16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16299$as_echo "no" >&6; } 16300 16301if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16302 _pkg_short_errors_supported=yes 16303else 16304 _pkg_short_errors_supported=no 16305fi 16306 if test $_pkg_short_errors_supported = yes; then 16307 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 16308 else 16309 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 16310 fi 16311 # Put the nasty error message in config.log where it belongs 16312 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 16313 16314 ac_tumbler_cover_thumbnailer=no 16315elif test $pkg_failed = untried; then 16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16317$as_echo "no" >&6; } 16318 ac_tumbler_cover_thumbnailer=no 16319else 16320 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 16321 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16323$as_echo "yes" >&6; } 16324 16325 16326pkg_failed=no 16327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5 16328$as_echo_n "checking for CURL... " >&6; } 16329 16330if test -n "$CURL_CFLAGS"; then 16331 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" 16332 elif test -n "$PKG_CONFIG"; then 16333 if test -n "$PKG_CONFIG" && \ 16334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 16335 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 16336 ac_status=$? 16337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16338 test $ac_status = 0; }; then 16339 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null` 16340 test "x$?" != "x0" && pkg_failed=yes 16341else 16342 pkg_failed=yes 16343fi 16344 else 16345 pkg_failed=untried 16346fi 16347if test -n "$CURL_LIBS"; then 16348 pkg_cv_CURL_LIBS="$CURL_LIBS" 16349 elif test -n "$PKG_CONFIG"; then 16350 if test -n "$PKG_CONFIG" && \ 16351 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 16352 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 16353 ac_status=$? 16354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16355 test $ac_status = 0; }; then 16356 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null` 16357 test "x$?" != "x0" && pkg_failed=yes 16358else 16359 pkg_failed=yes 16360fi 16361 else 16362 pkg_failed=untried 16363fi 16364 16365 16366 16367if test $pkg_failed = yes; then 16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16369$as_echo "no" >&6; } 16370 16371if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16372 _pkg_short_errors_supported=yes 16373else 16374 _pkg_short_errors_supported=no 16375fi 16376 if test $_pkg_short_errors_supported = yes; then 16377 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1` 16378 else 16379 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1` 16380 fi 16381 # Put the nasty error message in config.log where it belongs 16382 echo "$CURL_PKG_ERRORS" >&5 16383 16384 ac_tumbler_cover_thumbnailer=no 16385elif test $pkg_failed = untried; then 16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16387$as_echo "no" >&6; } 16388 ac_tumbler_cover_thumbnailer=no 16389else 16390 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS 16391 CURL_LIBS=$pkg_cv_CURL_LIBS 16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16393$as_echo "yes" >&6; } 16394 16395fi 16396 16397fi 16398fi 16399 16400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the Cover thumbnailer plugin" >&5 16401$as_echo_n "checking whether to build the Cover thumbnailer plugin... " >&6; } 16402 if test x"$ac_tumbler_cover_thumbnailer" = x"yes"; then 16403 TUMBLER_COVER_THUMBNAILER_TRUE= 16404 TUMBLER_COVER_THUMBNAILER_FALSE='#' 16405else 16406 TUMBLER_COVER_THUMBNAILER_TRUE='#' 16407 TUMBLER_COVER_THUMBNAILER_FALSE= 16408fi 16409 16410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_cover_thumbnailer" >&5 16411$as_echo "$ac_tumbler_cover_thumbnailer" >&6; } 16412 16413 16414# Check whether --enable-font-thumbnailer was given. 16415if test "${enable_font_thumbnailer+set}" = set; then : 16416 enableval=$enable_font_thumbnailer; ac_tumbler_font_thumbnailer=$enableval 16417else 16418 ac_tumbler_font_thumbnailer=yes 16419fi 16420 16421if test x"$ac_tumbler_font_thumbnailer" = x"yes"; then 16422 16423pkg_failed=no 16424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 16425$as_echo_n "checking for GDK_PIXBUF... " >&6; } 16426 16427if test -n "$GDK_PIXBUF_CFLAGS"; then 16428 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 16429 elif test -n "$PKG_CONFIG"; then 16430 if test -n "$PKG_CONFIG" && \ 16431 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 16432 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 16433 ac_status=$? 16434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16435 test $ac_status = 0; }; then 16436 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 16437 test "x$?" != "x0" && pkg_failed=yes 16438else 16439 pkg_failed=yes 16440fi 16441 else 16442 pkg_failed=untried 16443fi 16444if test -n "$GDK_PIXBUF_LIBS"; then 16445 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 16446 elif test -n "$PKG_CONFIG"; then 16447 if test -n "$PKG_CONFIG" && \ 16448 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 16449 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 16450 ac_status=$? 16451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16452 test $ac_status = 0; }; then 16453 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 16454 test "x$?" != "x0" && pkg_failed=yes 16455else 16456 pkg_failed=yes 16457fi 16458 else 16459 pkg_failed=untried 16460fi 16461 16462 16463 16464if test $pkg_failed = yes; then 16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16466$as_echo "no" >&6; } 16467 16468if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16469 _pkg_short_errors_supported=yes 16470else 16471 _pkg_short_errors_supported=no 16472fi 16473 if test $_pkg_short_errors_supported = yes; then 16474 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 16475 else 16476 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 16477 fi 16478 # Put the nasty error message in config.log where it belongs 16479 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 16480 16481 ac_tumbler_font_thumbnailer=no 16482elif test $pkg_failed = untried; then 16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16484$as_echo "no" >&6; } 16485 ac_tumbler_font_thumbnailer=no 16486else 16487 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 16488 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16490$as_echo "yes" >&6; } 16491 16492 16493pkg_failed=no 16494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5 16495$as_echo_n "checking for FREETYPE... " >&6; } 16496 16497if test -n "$FREETYPE_CFLAGS"; then 16498 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS" 16499 elif test -n "$PKG_CONFIG"; then 16500 if test -n "$PKG_CONFIG" && \ 16501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5 16502 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 16503 ac_status=$? 16504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16505 test $ac_status = 0; }; then 16506 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null` 16507 test "x$?" != "x0" && pkg_failed=yes 16508else 16509 pkg_failed=yes 16510fi 16511 else 16512 pkg_failed=untried 16513fi 16514if test -n "$FREETYPE_LIBS"; then 16515 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS" 16516 elif test -n "$PKG_CONFIG"; then 16517 if test -n "$PKG_CONFIG" && \ 16518 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5 16519 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 16520 ac_status=$? 16521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16522 test $ac_status = 0; }; then 16523 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null` 16524 test "x$?" != "x0" && pkg_failed=yes 16525else 16526 pkg_failed=yes 16527fi 16528 else 16529 pkg_failed=untried 16530fi 16531 16532 16533 16534if test $pkg_failed = yes; then 16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16536$as_echo "no" >&6; } 16537 16538if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16539 _pkg_short_errors_supported=yes 16540else 16541 _pkg_short_errors_supported=no 16542fi 16543 if test $_pkg_short_errors_supported = yes; then 16544 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1` 16545 else 16546 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1` 16547 fi 16548 # Put the nasty error message in config.log where it belongs 16549 echo "$FREETYPE_PKG_ERRORS" >&5 16550 16551 ac_tumbler_font_thumbnailer=no 16552elif test $pkg_failed = untried; then 16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16554$as_echo "no" >&6; } 16555 ac_tumbler_font_thumbnailer=no 16556else 16557 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS 16558 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS 16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16560$as_echo "yes" >&6; } 16561 16562fi 16563 16564fi 16565fi 16566 16567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the FreeType thumbnailer plugin" >&5 16568$as_echo_n "checking whether to build the FreeType thumbnailer plugin... " >&6; } 16569 if test x"$ac_tumbler_font_thumbnailer" = x"yes"; then 16570 TUMBLER_FONT_THUMBNAILER_TRUE= 16571 TUMBLER_FONT_THUMBNAILER_FALSE='#' 16572else 16573 TUMBLER_FONT_THUMBNAILER_TRUE='#' 16574 TUMBLER_FONT_THUMBNAILER_FALSE= 16575fi 16576 16577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_font_thumbnailer" >&5 16578$as_echo "$ac_tumbler_font_thumbnailer" >&6; } 16579 16580 16581# Check whether --enable-jpeg-thumbnailer was given. 16582if test "${enable_jpeg_thumbnailer+set}" = set; then : 16583 enableval=$enable_jpeg_thumbnailer; ac_tumbler_jpeg_thumbnailer=$enableval 16584else 16585 ac_tumbler_jpeg_thumbnailer=yes 16586fi 16587 16588if test x"$ac_tumbler_jpeg_thumbnailer" = x"yes"; then 16589 16590pkg_failed=no 16591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 16592$as_echo_n "checking for GDK_PIXBUF... " >&6; } 16593 16594if test -n "$GDK_PIXBUF_CFLAGS"; then 16595 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 16596 elif test -n "$PKG_CONFIG"; then 16597 if test -n "$PKG_CONFIG" && \ 16598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 16599 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 16600 ac_status=$? 16601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16602 test $ac_status = 0; }; then 16603 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 16604 test "x$?" != "x0" && pkg_failed=yes 16605else 16606 pkg_failed=yes 16607fi 16608 else 16609 pkg_failed=untried 16610fi 16611if test -n "$GDK_PIXBUF_LIBS"; then 16612 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 16613 elif test -n "$PKG_CONFIG"; then 16614 if test -n "$PKG_CONFIG" && \ 16615 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 16616 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 16617 ac_status=$? 16618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16619 test $ac_status = 0; }; then 16620 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 16621 test "x$?" != "x0" && pkg_failed=yes 16622else 16623 pkg_failed=yes 16624fi 16625 else 16626 pkg_failed=untried 16627fi 16628 16629 16630 16631if test $pkg_failed = yes; then 16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16633$as_echo "no" >&6; } 16634 16635if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16636 _pkg_short_errors_supported=yes 16637else 16638 _pkg_short_errors_supported=no 16639fi 16640 if test $_pkg_short_errors_supported = yes; then 16641 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 16642 else 16643 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 16644 fi 16645 # Put the nasty error message in config.log where it belongs 16646 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 16647 16648 ac_tumbler_jpeg_thumbnailer=no 16649elif test $pkg_failed = untried; then 16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16651$as_echo "no" >&6; } 16652 ac_tumbler_jpeg_thumbnailer=no 16653else 16654 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 16655 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16657$as_echo "yes" >&6; } 16658 16659 LIBJPEG_LIBS="" 16660 LIBJPEG_CFLAGS="" 16661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in -ljpeg" >&5 16662$as_echo_n "checking for jpeg_start_decompress in -ljpeg... " >&6; } 16663if ${ac_cv_lib_jpeg_jpeg_start_decompress+:} false; then : 16664 $as_echo_n "(cached) " >&6 16665else 16666 ac_check_lib_save_LIBS=$LIBS 16667LIBS="-ljpeg $LIBS" 16668cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16669/* end confdefs.h. */ 16670 16671/* Override any GCC internal prototype to avoid an error. 16672 Use char because int might match the return type of a GCC 16673 builtin and then its argument prototype would still apply. */ 16674#ifdef __cplusplus 16675extern "C" 16676#endif 16677char jpeg_start_decompress (); 16678int 16679main () 16680{ 16681return jpeg_start_decompress (); 16682 ; 16683 return 0; 16684} 16685_ACEOF 16686if ac_fn_c_try_link "$LINENO"; then : 16687 ac_cv_lib_jpeg_jpeg_start_decompress=yes 16688else 16689 ac_cv_lib_jpeg_jpeg_start_decompress=no 16690fi 16691rm -f core conftest.err conftest.$ac_objext \ 16692 conftest$ac_exeext conftest.$ac_ext 16693LIBS=$ac_check_lib_save_LIBS 16694fi 16695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5 16696$as_echo "$ac_cv_lib_jpeg_jpeg_start_decompress" >&6; } 16697if test "x$ac_cv_lib_jpeg_jpeg_start_decompress" = xyes; then : 16698 16699 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default" 16700if test "x$ac_cv_header_jpeglib_h" = xyes; then : 16701 16702 LIBJPEG_LIBS="-ljpeg -lm" 16703 16704else 16705 16706 ac_tumbler_jpeg_thumbnailer=no 16707 16708fi 16709 16710 16711 16712else 16713 16714 ac_tumbler_jpeg_thumbnailer=no 16715 16716fi 16717 16718 16719 16720 16721fi 16722fi 16723 16724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the JPEG thumbnailer plugin with EXIF support" >&5 16725$as_echo_n "checking whether to build the JPEG thumbnailer plugin with EXIF support... " >&6; } 16726 if test x"$ac_tumbler_jpeg_thumbnailer" = x"yes"; then 16727 TUMBLER_JPEG_THUMBNAILER_TRUE= 16728 TUMBLER_JPEG_THUMBNAILER_FALSE='#' 16729else 16730 TUMBLER_JPEG_THUMBNAILER_TRUE='#' 16731 TUMBLER_JPEG_THUMBNAILER_FALSE= 16732fi 16733 16734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_jpeg_thumbnailer" >&5 16735$as_echo "$ac_tumbler_jpeg_thumbnailer" >&6; } 16736 16737 16738# Check whether --enable-pixbuf-thumbnailer was given. 16739if test "${enable_pixbuf_thumbnailer+set}" = set; then : 16740 enableval=$enable_pixbuf_thumbnailer; ac_tumbler_pixbuf_thumbnailer=$enableval 16741else 16742 ac_tumbler_pixbuf_thumbnailer=yes 16743fi 16744 16745if test x"$ac_tumbler_pixbuf_thumbnailer" = x"yes"; then 16746 16747pkg_failed=no 16748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 16749$as_echo_n "checking for GDK_PIXBUF... " >&6; } 16750 16751if test -n "$GDK_PIXBUF_CFLAGS"; then 16752 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 16753 elif test -n "$PKG_CONFIG"; then 16754 if test -n "$PKG_CONFIG" && \ 16755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 16756 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 16757 ac_status=$? 16758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16759 test $ac_status = 0; }; then 16760 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 16761 test "x$?" != "x0" && pkg_failed=yes 16762else 16763 pkg_failed=yes 16764fi 16765 else 16766 pkg_failed=untried 16767fi 16768if test -n "$GDK_PIXBUF_LIBS"; then 16769 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 16770 elif test -n "$PKG_CONFIG"; then 16771 if test -n "$PKG_CONFIG" && \ 16772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 16773 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 16774 ac_status=$? 16775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16776 test $ac_status = 0; }; then 16777 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 16778 test "x$?" != "x0" && pkg_failed=yes 16779else 16780 pkg_failed=yes 16781fi 16782 else 16783 pkg_failed=untried 16784fi 16785 16786 16787 16788if test $pkg_failed = yes; then 16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16790$as_echo "no" >&6; } 16791 16792if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16793 _pkg_short_errors_supported=yes 16794else 16795 _pkg_short_errors_supported=no 16796fi 16797 if test $_pkg_short_errors_supported = yes; then 16798 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 16799 else 16800 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 16801 fi 16802 # Put the nasty error message in config.log where it belongs 16803 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 16804 16805 ac_tumbler_pixbuf_thumbnailer=no 16806elif test $pkg_failed = untried; then 16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16808$as_echo "no" >&6; } 16809 ac_tumbler_pixbuf_thumbnailer=no 16810else 16811 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 16812 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16814$as_echo "yes" >&6; } 16815 16816fi 16817fi 16818 16819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the GdkPixbuf thumbnailer plugin" >&5 16820$as_echo_n "checking whether to build the GdkPixbuf thumbnailer plugin... " >&6; } 16821 if test x"$ac_tumbler_pixbuf_thumbnailer" = x"yes"; then 16822 TUMBLER_PIXBUF_THUMBNAILER_TRUE= 16823 TUMBLER_PIXBUF_THUMBNAILER_FALSE='#' 16824else 16825 TUMBLER_PIXBUF_THUMBNAILER_TRUE='#' 16826 TUMBLER_PIXBUF_THUMBNAILER_FALSE= 16827fi 16828 16829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_pixbuf_thumbnailer" >&5 16830$as_echo "$ac_tumbler_pixbuf_thumbnailer" >&6; } 16831 16832 16833# Check whether --enable-ffmpeg-thumbnailer was given. 16834if test "${enable_ffmpeg_thumbnailer+set}" = set; then : 16835 enableval=$enable_ffmpeg_thumbnailer; ac_tumbler_ffmpeg_thumbnailer=$enableval 16836else 16837 ac_tumbler_ffmpeg_thumbnailer=yes 16838fi 16839 16840if test x"$ac_tumbler_ffmpeg_thumbnailer" = x"yes"; then 16841 16842pkg_failed=no 16843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 16844$as_echo_n "checking for GDK_PIXBUF... " >&6; } 16845 16846if test -n "$GDK_PIXBUF_CFLAGS"; then 16847 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 16848 elif test -n "$PKG_CONFIG"; then 16849 if test -n "$PKG_CONFIG" && \ 16850 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 16851 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 16852 ac_status=$? 16853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16854 test $ac_status = 0; }; then 16855 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 16856 test "x$?" != "x0" && pkg_failed=yes 16857else 16858 pkg_failed=yes 16859fi 16860 else 16861 pkg_failed=untried 16862fi 16863if test -n "$GDK_PIXBUF_LIBS"; then 16864 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 16865 elif test -n "$PKG_CONFIG"; then 16866 if test -n "$PKG_CONFIG" && \ 16867 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 16868 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 16869 ac_status=$? 16870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16871 test $ac_status = 0; }; then 16872 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 16873 test "x$?" != "x0" && pkg_failed=yes 16874else 16875 pkg_failed=yes 16876fi 16877 else 16878 pkg_failed=untried 16879fi 16880 16881 16882 16883if test $pkg_failed = yes; then 16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16885$as_echo "no" >&6; } 16886 16887if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16888 _pkg_short_errors_supported=yes 16889else 16890 _pkg_short_errors_supported=no 16891fi 16892 if test $_pkg_short_errors_supported = yes; then 16893 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 16894 else 16895 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 16896 fi 16897 # Put the nasty error message in config.log where it belongs 16898 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 16899 16900 ac_tumbler_ffmpeg_thumbnailer=no 16901elif test $pkg_failed = untried; then 16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16903$as_echo "no" >&6; } 16904 ac_tumbler_ffmpeg_thumbnailer=no 16905else 16906 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 16907 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16909$as_echo "yes" >&6; } 16910 16911 16912pkg_failed=no 16913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFMPEGTHUMBNAILER" >&5 16914$as_echo_n "checking for FFMPEGTHUMBNAILER... " >&6; } 16915 16916if test -n "$FFMPEGTHUMBNAILER_CFLAGS"; then 16917 pkg_cv_FFMPEGTHUMBNAILER_CFLAGS="$FFMPEGTHUMBNAILER_CFLAGS" 16918 elif test -n "$PKG_CONFIG"; then 16919 if test -n "$PKG_CONFIG" && \ 16920 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.0.0\""; } >&5 16921 ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.0.0") 2>&5 16922 ac_status=$? 16923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16924 test $ac_status = 0; }; then 16925 pkg_cv_FFMPEGTHUMBNAILER_CFLAGS=`$PKG_CONFIG --cflags "libffmpegthumbnailer >= 2.0.0" 2>/dev/null` 16926 test "x$?" != "x0" && pkg_failed=yes 16927else 16928 pkg_failed=yes 16929fi 16930 else 16931 pkg_failed=untried 16932fi 16933if test -n "$FFMPEGTHUMBNAILER_LIBS"; then 16934 pkg_cv_FFMPEGTHUMBNAILER_LIBS="$FFMPEGTHUMBNAILER_LIBS" 16935 elif test -n "$PKG_CONFIG"; then 16936 if test -n "$PKG_CONFIG" && \ 16937 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.0.0\""; } >&5 16938 ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.0.0") 2>&5 16939 ac_status=$? 16940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16941 test $ac_status = 0; }; then 16942 pkg_cv_FFMPEGTHUMBNAILER_LIBS=`$PKG_CONFIG --libs "libffmpegthumbnailer >= 2.0.0" 2>/dev/null` 16943 test "x$?" != "x0" && pkg_failed=yes 16944else 16945 pkg_failed=yes 16946fi 16947 else 16948 pkg_failed=untried 16949fi 16950 16951 16952 16953if test $pkg_failed = yes; then 16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16955$as_echo "no" >&6; } 16956 16957if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16958 _pkg_short_errors_supported=yes 16959else 16960 _pkg_short_errors_supported=no 16961fi 16962 if test $_pkg_short_errors_supported = yes; then 16963 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffmpegthumbnailer >= 2.0.0" 2>&1` 16964 else 16965 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffmpegthumbnailer >= 2.0.0" 2>&1` 16966 fi 16967 # Put the nasty error message in config.log where it belongs 16968 echo "$FFMPEGTHUMBNAILER_PKG_ERRORS" >&5 16969 16970 ac_tumbler_ffmpeg_thumbnailer=no 16971elif test $pkg_failed = untried; then 16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16973$as_echo "no" >&6; } 16974 ac_tumbler_ffmpeg_thumbnailer=no 16975else 16976 FFMPEGTHUMBNAILER_CFLAGS=$pkg_cv_FFMPEGTHUMBNAILER_CFLAGS 16977 FFMPEGTHUMBNAILER_LIBS=$pkg_cv_FFMPEGTHUMBNAILER_LIBS 16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16979$as_echo "yes" >&6; } 16980 16981fi 16982 16983fi 16984fi 16985 16986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ffmpeg video thumbnailer plugin" >&5 16987$as_echo_n "checking whether to build the ffmpeg video thumbnailer plugin... " >&6; } 16988 if test x"$ac_tumbler_ffmpeg_thumbnailer" = x"yes"; then 16989 TUMBLER_FFMPEG_THUMBNAILER_TRUE= 16990 TUMBLER_FFMPEG_THUMBNAILER_FALSE='#' 16991else 16992 TUMBLER_FFMPEG_THUMBNAILER_TRUE='#' 16993 TUMBLER_FFMPEG_THUMBNAILER_FALSE= 16994fi 16995 16996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_ffmpeg_thumbnailer" >&5 16997$as_echo "$ac_tumbler_ffmpeg_thumbnailer" >&6; } 16998 16999 17000# Check whether --enable-gstreamer-thumbnailer was given. 17001if test "${enable_gstreamer_thumbnailer+set}" = set; then : 17002 enableval=$enable_gstreamer_thumbnailer; ac_tumbler_gstreamer_thumbnailer=$enableval 17003else 17004 ac_tumbler_gstreamer_thumbnailer=yes 17005fi 17006 17007if test x"$ac_tumbler_gstreamer_thumbnailer" = x"yes"; then 17008 17009pkg_failed=no 17010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 17011$as_echo_n "checking for GDK_PIXBUF... " >&6; } 17012 17013if test -n "$GDK_PIXBUF_CFLAGS"; then 17014 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 17015 elif test -n "$PKG_CONFIG"; then 17016 if test -n "$PKG_CONFIG" && \ 17017 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 17018 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 17019 ac_status=$? 17020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17021 test $ac_status = 0; }; then 17022 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 17023 test "x$?" != "x0" && pkg_failed=yes 17024else 17025 pkg_failed=yes 17026fi 17027 else 17028 pkg_failed=untried 17029fi 17030if test -n "$GDK_PIXBUF_LIBS"; then 17031 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 17032 elif test -n "$PKG_CONFIG"; then 17033 if test -n "$PKG_CONFIG" && \ 17034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 17035 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 17036 ac_status=$? 17037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17038 test $ac_status = 0; }; then 17039 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 17040 test "x$?" != "x0" && pkg_failed=yes 17041else 17042 pkg_failed=yes 17043fi 17044 else 17045 pkg_failed=untried 17046fi 17047 17048 17049 17050if test $pkg_failed = yes; then 17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17052$as_echo "no" >&6; } 17053 17054if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17055 _pkg_short_errors_supported=yes 17056else 17057 _pkg_short_errors_supported=no 17058fi 17059 if test $_pkg_short_errors_supported = yes; then 17060 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 17061 else 17062 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 17063 fi 17064 # Put the nasty error message in config.log where it belongs 17065 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 17066 17067 ac_tumbler_gstreamer_thumbnailer=no 17068elif test $pkg_failed = untried; then 17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17070$as_echo "no" >&6; } 17071 ac_tumbler_gstreamer_thumbnailer=no 17072else 17073 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 17074 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17076$as_echo "yes" >&6; } 17077 17078 17079pkg_failed=no 17080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5 17081$as_echo_n "checking for GSTREAMER... " >&6; } 17082 17083if test -n "$GSTREAMER_CFLAGS"; then 17084 pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS" 17085 elif test -n "$PKG_CONFIG"; then 17086 if test -n "$PKG_CONFIG" && \ 17087 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0\""; } >&5 17088 ($PKG_CONFIG --exists --print-errors "gstreamer-1.0") 2>&5 17089 ac_status=$? 17090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17091 test $ac_status = 0; }; then 17092 pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-1.0" 2>/dev/null` 17093 test "x$?" != "x0" && pkg_failed=yes 17094else 17095 pkg_failed=yes 17096fi 17097 else 17098 pkg_failed=untried 17099fi 17100if test -n "$GSTREAMER_LIBS"; then 17101 pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS" 17102 elif test -n "$PKG_CONFIG"; then 17103 if test -n "$PKG_CONFIG" && \ 17104 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0\""; } >&5 17105 ($PKG_CONFIG --exists --print-errors "gstreamer-1.0") 2>&5 17106 ac_status=$? 17107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17108 test $ac_status = 0; }; then 17109 pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-1.0" 2>/dev/null` 17110 test "x$?" != "x0" && pkg_failed=yes 17111else 17112 pkg_failed=yes 17113fi 17114 else 17115 pkg_failed=untried 17116fi 17117 17118 17119 17120if test $pkg_failed = yes; then 17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17122$as_echo "no" >&6; } 17123 17124if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17125 _pkg_short_errors_supported=yes 17126else 17127 _pkg_short_errors_supported=no 17128fi 17129 if test $_pkg_short_errors_supported = yes; then 17130 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-1.0" 2>&1` 17131 else 17132 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-1.0" 2>&1` 17133 fi 17134 # Put the nasty error message in config.log where it belongs 17135 echo "$GSTREAMER_PKG_ERRORS" >&5 17136 17137 ac_tumbler_gstreamer_thumbnailer=no 17138elif test $pkg_failed = untried; then 17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17140$as_echo "no" >&6; } 17141 ac_tumbler_gstreamer_thumbnailer=no 17142else 17143 GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS 17144 GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS 17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17146$as_echo "yes" >&6; } 17147 17148 17149pkg_failed=no 17150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_TAG" >&5 17151$as_echo_n "checking for GSTREAMER_TAG... " >&6; } 17152 17153if test -n "$GSTREAMER_TAG_CFLAGS"; then 17154 pkg_cv_GSTREAMER_TAG_CFLAGS="$GSTREAMER_TAG_CFLAGS" 17155 elif test -n "$PKG_CONFIG"; then 17156 if test -n "$PKG_CONFIG" && \ 17157 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-tag-1.0\""; } >&5 17158 ($PKG_CONFIG --exists --print-errors "gstreamer-tag-1.0") 2>&5 17159 ac_status=$? 17160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17161 test $ac_status = 0; }; then 17162 pkg_cv_GSTREAMER_TAG_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-tag-1.0" 2>/dev/null` 17163 test "x$?" != "x0" && pkg_failed=yes 17164else 17165 pkg_failed=yes 17166fi 17167 else 17168 pkg_failed=untried 17169fi 17170if test -n "$GSTREAMER_TAG_LIBS"; then 17171 pkg_cv_GSTREAMER_TAG_LIBS="$GSTREAMER_TAG_LIBS" 17172 elif test -n "$PKG_CONFIG"; then 17173 if test -n "$PKG_CONFIG" && \ 17174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-tag-1.0\""; } >&5 17175 ($PKG_CONFIG --exists --print-errors "gstreamer-tag-1.0") 2>&5 17176 ac_status=$? 17177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17178 test $ac_status = 0; }; then 17179 pkg_cv_GSTREAMER_TAG_LIBS=`$PKG_CONFIG --libs "gstreamer-tag-1.0" 2>/dev/null` 17180 test "x$?" != "x0" && pkg_failed=yes 17181else 17182 pkg_failed=yes 17183fi 17184 else 17185 pkg_failed=untried 17186fi 17187 17188 17189 17190if test $pkg_failed = yes; then 17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17192$as_echo "no" >&6; } 17193 17194if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17195 _pkg_short_errors_supported=yes 17196else 17197 _pkg_short_errors_supported=no 17198fi 17199 if test $_pkg_short_errors_supported = yes; then 17200 GSTREAMER_TAG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-tag-1.0" 2>&1` 17201 else 17202 GSTREAMER_TAG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-tag-1.0" 2>&1` 17203 fi 17204 # Put the nasty error message in config.log where it belongs 17205 echo "$GSTREAMER_TAG_PKG_ERRORS" >&5 17206 17207 ac_tumbler_gstreamer_thumbnailer=no 17208elif test $pkg_failed = untried; then 17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17210$as_echo "no" >&6; } 17211 ac_tumbler_gstreamer_thumbnailer=no 17212else 17213 GSTREAMER_TAG_CFLAGS=$pkg_cv_GSTREAMER_TAG_CFLAGS 17214 GSTREAMER_TAG_LIBS=$pkg_cv_GSTREAMER_TAG_LIBS 17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17216$as_echo "yes" >&6; } 17217 17218fi 17219 17220fi 17221 17222fi 17223fi 17224 17225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the gstreamer video thumbnailer plugin" >&5 17226$as_echo_n "checking whether to build the gstreamer video thumbnailer plugin... " >&6; } 17227 if test x"$ac_tumbler_gstreamer_thumbnailer" = x"yes"; then 17228 TUMBLER_GSTREAMER_THUMBNAILER_TRUE= 17229 TUMBLER_GSTREAMER_THUMBNAILER_FALSE='#' 17230else 17231 TUMBLER_GSTREAMER_THUMBNAILER_TRUE='#' 17232 TUMBLER_GSTREAMER_THUMBNAILER_FALSE= 17233fi 17234 17235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_gstreamer_thumbnailer" >&5 17236$as_echo "$ac_tumbler_gstreamer_thumbnailer" >&6; } 17237 17238 17239# Check whether --enable-odf-thumbnailer was given. 17240if test "${enable_odf_thumbnailer+set}" = set; then : 17241 enableval=$enable_odf_thumbnailer; ac_tumbler_odf_thumbnailer=$enableval 17242else 17243 ac_tumbler_odf_thumbnailer=yes 17244fi 17245 17246if test x"$ac_tumbler_odf_thumbnailer" = x"yes"; then 17247 17248pkg_failed=no 17249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 17250$as_echo_n "checking for GDK_PIXBUF... " >&6; } 17251 17252if test -n "$GDK_PIXBUF_CFLAGS"; then 17253 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 17254 elif test -n "$PKG_CONFIG"; then 17255 if test -n "$PKG_CONFIG" && \ 17256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 17257 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 17258 ac_status=$? 17259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17260 test $ac_status = 0; }; then 17261 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 17262 test "x$?" != "x0" && pkg_failed=yes 17263else 17264 pkg_failed=yes 17265fi 17266 else 17267 pkg_failed=untried 17268fi 17269if test -n "$GDK_PIXBUF_LIBS"; then 17270 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 17271 elif test -n "$PKG_CONFIG"; then 17272 if test -n "$PKG_CONFIG" && \ 17273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 17274 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 17275 ac_status=$? 17276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17277 test $ac_status = 0; }; then 17278 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 17279 test "x$?" != "x0" && pkg_failed=yes 17280else 17281 pkg_failed=yes 17282fi 17283 else 17284 pkg_failed=untried 17285fi 17286 17287 17288 17289if test $pkg_failed = yes; then 17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17291$as_echo "no" >&6; } 17292 17293if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17294 _pkg_short_errors_supported=yes 17295else 17296 _pkg_short_errors_supported=no 17297fi 17298 if test $_pkg_short_errors_supported = yes; then 17299 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 17300 else 17301 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 17302 fi 17303 # Put the nasty error message in config.log where it belongs 17304 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 17305 17306 ac_tumbler_odf_thumbnailer=no 17307elif test $pkg_failed = untried; then 17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17309$as_echo "no" >&6; } 17310 ac_tumbler_odf_thumbnailer=no 17311else 17312 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 17313 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17315$as_echo "yes" >&6; } 17316 17317 17318pkg_failed=no 17319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSF" >&5 17320$as_echo_n "checking for GSF... " >&6; } 17321 17322if test -n "$GSF_CFLAGS"; then 17323 pkg_cv_GSF_CFLAGS="$GSF_CFLAGS" 17324 elif test -n "$PKG_CONFIG"; then 17325 if test -n "$PKG_CONFIG" && \ 17326 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgsf-1 >= 1.14.9\""; } >&5 17327 ($PKG_CONFIG --exists --print-errors "libgsf-1 >= 1.14.9") 2>&5 17328 ac_status=$? 17329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17330 test $ac_status = 0; }; then 17331 pkg_cv_GSF_CFLAGS=`$PKG_CONFIG --cflags "libgsf-1 >= 1.14.9" 2>/dev/null` 17332 test "x$?" != "x0" && pkg_failed=yes 17333else 17334 pkg_failed=yes 17335fi 17336 else 17337 pkg_failed=untried 17338fi 17339if test -n "$GSF_LIBS"; then 17340 pkg_cv_GSF_LIBS="$GSF_LIBS" 17341 elif test -n "$PKG_CONFIG"; then 17342 if test -n "$PKG_CONFIG" && \ 17343 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgsf-1 >= 1.14.9\""; } >&5 17344 ($PKG_CONFIG --exists --print-errors "libgsf-1 >= 1.14.9") 2>&5 17345 ac_status=$? 17346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17347 test $ac_status = 0; }; then 17348 pkg_cv_GSF_LIBS=`$PKG_CONFIG --libs "libgsf-1 >= 1.14.9" 2>/dev/null` 17349 test "x$?" != "x0" && pkg_failed=yes 17350else 17351 pkg_failed=yes 17352fi 17353 else 17354 pkg_failed=untried 17355fi 17356 17357 17358 17359if test $pkg_failed = yes; then 17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17361$as_echo "no" >&6; } 17362 17363if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17364 _pkg_short_errors_supported=yes 17365else 17366 _pkg_short_errors_supported=no 17367fi 17368 if test $_pkg_short_errors_supported = yes; then 17369 GSF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgsf-1 >= 1.14.9" 2>&1` 17370 else 17371 GSF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgsf-1 >= 1.14.9" 2>&1` 17372 fi 17373 # Put the nasty error message in config.log where it belongs 17374 echo "$GSF_PKG_ERRORS" >&5 17375 17376 ac_tumbler_odf_thumbnailer=no 17377elif test $pkg_failed = untried; then 17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17379$as_echo "no" >&6; } 17380 ac_tumbler_odf_thumbnailer=no 17381else 17382 GSF_CFLAGS=$pkg_cv_GSF_CFLAGS 17383 GSF_LIBS=$pkg_cv_GSF_LIBS 17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17385$as_echo "yes" >&6; } 17386 17387fi 17388 17389fi 17390fi 17391 17392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the office thumbnailer plugin" >&5 17393$as_echo_n "checking whether to build the office thumbnailer plugin... " >&6; } 17394 if test x"$ac_tumbler_odf_thumbnailer" = x"yes"; then 17395 TUMBLER_ODF_THUMBNAILER_TRUE= 17396 TUMBLER_ODF_THUMBNAILER_FALSE='#' 17397else 17398 TUMBLER_ODF_THUMBNAILER_TRUE='#' 17399 TUMBLER_ODF_THUMBNAILER_FALSE= 17400fi 17401 17402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_odf_thumbnailer" >&5 17403$as_echo "$ac_tumbler_odf_thumbnailer" >&6; } 17404 17405 17406# Check whether --enable-poppler-thumbnailer was given. 17407if test "${enable_poppler_thumbnailer+set}" = set; then : 17408 enableval=$enable_poppler_thumbnailer; ac_tumbler_poppler_thumbnailer=$enableval 17409else 17410 ac_tumbler_poppler_thumbnailer=yes 17411fi 17412 17413if test x"$ac_tumbler_poppler_thumbnailer" = x"yes"; then 17414 17415pkg_failed=no 17416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 17417$as_echo_n "checking for GDK_PIXBUF... " >&6; } 17418 17419if test -n "$GDK_PIXBUF_CFLAGS"; then 17420 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 17421 elif test -n "$PKG_CONFIG"; then 17422 if test -n "$PKG_CONFIG" && \ 17423 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 17424 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 17425 ac_status=$? 17426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17427 test $ac_status = 0; }; then 17428 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 17429 test "x$?" != "x0" && pkg_failed=yes 17430else 17431 pkg_failed=yes 17432fi 17433 else 17434 pkg_failed=untried 17435fi 17436if test -n "$GDK_PIXBUF_LIBS"; then 17437 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 17438 elif test -n "$PKG_CONFIG"; then 17439 if test -n "$PKG_CONFIG" && \ 17440 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 17441 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 17442 ac_status=$? 17443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17444 test $ac_status = 0; }; then 17445 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 17446 test "x$?" != "x0" && pkg_failed=yes 17447else 17448 pkg_failed=yes 17449fi 17450 else 17451 pkg_failed=untried 17452fi 17453 17454 17455 17456if test $pkg_failed = yes; then 17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17458$as_echo "no" >&6; } 17459 17460if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17461 _pkg_short_errors_supported=yes 17462else 17463 _pkg_short_errors_supported=no 17464fi 17465 if test $_pkg_short_errors_supported = yes; then 17466 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 17467 else 17468 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 17469 fi 17470 # Put the nasty error message in config.log where it belongs 17471 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 17472 17473 ac_tumbler_poppler_thumbnailer=no 17474elif test $pkg_failed = untried; then 17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17476$as_echo "no" >&6; } 17477 ac_tumbler_poppler_thumbnailer=no 17478else 17479 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 17480 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17482$as_echo "yes" >&6; } 17483 17484 17485pkg_failed=no 17486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER_GLIB" >&5 17487$as_echo_n "checking for POPPLER_GLIB... " >&6; } 17488 17489if test -n "$POPPLER_GLIB_CFLAGS"; then 17490 pkg_cv_POPPLER_GLIB_CFLAGS="$POPPLER_GLIB_CFLAGS" 17491 elif test -n "$PKG_CONFIG"; then 17492 if test -n "$PKG_CONFIG" && \ 17493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.12.0\""; } >&5 17494 ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.12.0") 2>&5 17495 ac_status=$? 17496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17497 test $ac_status = 0; }; then 17498 pkg_cv_POPPLER_GLIB_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.12.0" 2>/dev/null` 17499 test "x$?" != "x0" && pkg_failed=yes 17500else 17501 pkg_failed=yes 17502fi 17503 else 17504 pkg_failed=untried 17505fi 17506if test -n "$POPPLER_GLIB_LIBS"; then 17507 pkg_cv_POPPLER_GLIB_LIBS="$POPPLER_GLIB_LIBS" 17508 elif test -n "$PKG_CONFIG"; then 17509 if test -n "$PKG_CONFIG" && \ 17510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.12.0\""; } >&5 17511 ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.12.0") 2>&5 17512 ac_status=$? 17513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17514 test $ac_status = 0; }; then 17515 pkg_cv_POPPLER_GLIB_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.12.0" 2>/dev/null` 17516 test "x$?" != "x0" && pkg_failed=yes 17517else 17518 pkg_failed=yes 17519fi 17520 else 17521 pkg_failed=untried 17522fi 17523 17524 17525 17526if test $pkg_failed = yes; then 17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17528$as_echo "no" >&6; } 17529 17530if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17531 _pkg_short_errors_supported=yes 17532else 17533 _pkg_short_errors_supported=no 17534fi 17535 if test $_pkg_short_errors_supported = yes; then 17536 POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "poppler-glib >= 0.12.0" 2>&1` 17537 else 17538 POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "poppler-glib >= 0.12.0" 2>&1` 17539 fi 17540 # Put the nasty error message in config.log where it belongs 17541 echo "$POPPLER_GLIB_PKG_ERRORS" >&5 17542 17543 ac_tumbler_poppler_thumbnailer=no 17544elif test $pkg_failed = untried; then 17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17546$as_echo "no" >&6; } 17547 ac_tumbler_poppler_thumbnailer=no 17548else 17549 POPPLER_GLIB_CFLAGS=$pkg_cv_POPPLER_GLIB_CFLAGS 17550 POPPLER_GLIB_LIBS=$pkg_cv_POPPLER_GLIB_LIBS 17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17552$as_echo "yes" >&6; } 17553 17554fi 17555 17556fi 17557fi 17558 17559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the poppler PDF/PS thumbnailer plugin" >&5 17560$as_echo_n "checking whether to build the poppler PDF/PS thumbnailer plugin... " >&6; } 17561 if test x"$ac_tumbler_poppler_thumbnailer" = x"yes"; then 17562 TUMBLER_POPPLER_THUMBNAILER_TRUE= 17563 TUMBLER_POPPLER_THUMBNAILER_FALSE='#' 17564else 17565 TUMBLER_POPPLER_THUMBNAILER_TRUE='#' 17566 TUMBLER_POPPLER_THUMBNAILER_FALSE= 17567fi 17568 17569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_poppler_thumbnailer" >&5 17570$as_echo "$ac_tumbler_poppler_thumbnailer" >&6; } 17571 17572 17573# Check whether --enable-raw-thumbnailer was given. 17574if test "${enable_raw_thumbnailer+set}" = set; then : 17575 enableval=$enable_raw_thumbnailer; ac_tumbler_raw_thumbnailer=$enableval 17576else 17577 ac_tumbler_raw_thumbnailer=yes 17578fi 17579 17580if test x"$ac_tumbler_raw_thumbnailer" = x"yes"; then 17581 17582pkg_failed=no 17583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 17584$as_echo_n "checking for GDK_PIXBUF... " >&6; } 17585 17586if test -n "$GDK_PIXBUF_CFLAGS"; then 17587 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 17588 elif test -n "$PKG_CONFIG"; then 17589 if test -n "$PKG_CONFIG" && \ 17590 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 17591 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 17592 ac_status=$? 17593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17594 test $ac_status = 0; }; then 17595 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 17596 test "x$?" != "x0" && pkg_failed=yes 17597else 17598 pkg_failed=yes 17599fi 17600 else 17601 pkg_failed=untried 17602fi 17603if test -n "$GDK_PIXBUF_LIBS"; then 17604 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 17605 elif test -n "$PKG_CONFIG"; then 17606 if test -n "$PKG_CONFIG" && \ 17607 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 17608 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 17609 ac_status=$? 17610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17611 test $ac_status = 0; }; then 17612 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 17613 test "x$?" != "x0" && pkg_failed=yes 17614else 17615 pkg_failed=yes 17616fi 17617 else 17618 pkg_failed=untried 17619fi 17620 17621 17622 17623if test $pkg_failed = yes; then 17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17625$as_echo "no" >&6; } 17626 17627if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17628 _pkg_short_errors_supported=yes 17629else 17630 _pkg_short_errors_supported=no 17631fi 17632 if test $_pkg_short_errors_supported = yes; then 17633 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 17634 else 17635 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 17636 fi 17637 # Put the nasty error message in config.log where it belongs 17638 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 17639 17640 ac_tumbler_raw_thumbnailer=no 17641elif test $pkg_failed = untried; then 17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17643$as_echo "no" >&6; } 17644 ac_tumbler_raw_thumbnailer=no 17645else 17646 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 17647 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17649$as_echo "yes" >&6; } 17650 17651 17652pkg_failed=no 17653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOPENRAW_GNOME" >&5 17654$as_echo_n "checking for LIBOPENRAW_GNOME... " >&6; } 17655 17656if test -n "$LIBOPENRAW_GNOME_CFLAGS"; then 17657 pkg_cv_LIBOPENRAW_GNOME_CFLAGS="$LIBOPENRAW_GNOME_CFLAGS" 17658 elif test -n "$PKG_CONFIG"; then 17659 if test -n "$PKG_CONFIG" && \ 17660 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenraw-gnome-0.1 >= 0.0.4\""; } >&5 17661 ($PKG_CONFIG --exists --print-errors "libopenraw-gnome-0.1 >= 0.0.4") 2>&5 17662 ac_status=$? 17663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17664 test $ac_status = 0; }; then 17665 pkg_cv_LIBOPENRAW_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libopenraw-gnome-0.1 >= 0.0.4" 2>/dev/null` 17666 test "x$?" != "x0" && pkg_failed=yes 17667else 17668 pkg_failed=yes 17669fi 17670 else 17671 pkg_failed=untried 17672fi 17673if test -n "$LIBOPENRAW_GNOME_LIBS"; then 17674 pkg_cv_LIBOPENRAW_GNOME_LIBS="$LIBOPENRAW_GNOME_LIBS" 17675 elif test -n "$PKG_CONFIG"; then 17676 if test -n "$PKG_CONFIG" && \ 17677 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenraw-gnome-0.1 >= 0.0.4\""; } >&5 17678 ($PKG_CONFIG --exists --print-errors "libopenraw-gnome-0.1 >= 0.0.4") 2>&5 17679 ac_status=$? 17680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17681 test $ac_status = 0; }; then 17682 pkg_cv_LIBOPENRAW_GNOME_LIBS=`$PKG_CONFIG --libs "libopenraw-gnome-0.1 >= 0.0.4" 2>/dev/null` 17683 test "x$?" != "x0" && pkg_failed=yes 17684else 17685 pkg_failed=yes 17686fi 17687 else 17688 pkg_failed=untried 17689fi 17690 17691 17692 17693if test $pkg_failed = yes; then 17694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17695$as_echo "no" >&6; } 17696 17697if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17698 _pkg_short_errors_supported=yes 17699else 17700 _pkg_short_errors_supported=no 17701fi 17702 if test $_pkg_short_errors_supported = yes; then 17703 LIBOPENRAW_GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libopenraw-gnome-0.1 >= 0.0.4" 2>&1` 17704 else 17705 LIBOPENRAW_GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libopenraw-gnome-0.1 >= 0.0.4" 2>&1` 17706 fi 17707 # Put the nasty error message in config.log where it belongs 17708 echo "$LIBOPENRAW_GNOME_PKG_ERRORS" >&5 17709 17710 17711 17712pkg_failed=no 17713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOPENRAW_GNOME" >&5 17714$as_echo_n "checking for LIBOPENRAW_GNOME... " >&6; } 17715 17716if test -n "$LIBOPENRAW_GNOME_CFLAGS"; then 17717 pkg_cv_LIBOPENRAW_GNOME_CFLAGS="$LIBOPENRAW_GNOME_CFLAGS" 17718 elif test -n "$PKG_CONFIG"; then 17719 if test -n "$PKG_CONFIG" && \ 17720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenraw-gnome-1.0 >= 0.0.4\""; } >&5 17721 ($PKG_CONFIG --exists --print-errors "libopenraw-gnome-1.0 >= 0.0.4") 2>&5 17722 ac_status=$? 17723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17724 test $ac_status = 0; }; then 17725 pkg_cv_LIBOPENRAW_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libopenraw-gnome-1.0 >= 0.0.4" 2>/dev/null` 17726 test "x$?" != "x0" && pkg_failed=yes 17727else 17728 pkg_failed=yes 17729fi 17730 else 17731 pkg_failed=untried 17732fi 17733if test -n "$LIBOPENRAW_GNOME_LIBS"; then 17734 pkg_cv_LIBOPENRAW_GNOME_LIBS="$LIBOPENRAW_GNOME_LIBS" 17735 elif test -n "$PKG_CONFIG"; then 17736 if test -n "$PKG_CONFIG" && \ 17737 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenraw-gnome-1.0 >= 0.0.4\""; } >&5 17738 ($PKG_CONFIG --exists --print-errors "libopenraw-gnome-1.0 >= 0.0.4") 2>&5 17739 ac_status=$? 17740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17741 test $ac_status = 0; }; then 17742 pkg_cv_LIBOPENRAW_GNOME_LIBS=`$PKG_CONFIG --libs "libopenraw-gnome-1.0 >= 0.0.4" 2>/dev/null` 17743 test "x$?" != "x0" && pkg_failed=yes 17744else 17745 pkg_failed=yes 17746fi 17747 else 17748 pkg_failed=untried 17749fi 17750 17751 17752 17753if test $pkg_failed = yes; then 17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17755$as_echo "no" >&6; } 17756 17757if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17758 _pkg_short_errors_supported=yes 17759else 17760 _pkg_short_errors_supported=no 17761fi 17762 if test $_pkg_short_errors_supported = yes; then 17763 LIBOPENRAW_GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libopenraw-gnome-1.0 >= 0.0.4" 2>&1` 17764 else 17765 LIBOPENRAW_GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libopenraw-gnome-1.0 >= 0.0.4" 2>&1` 17766 fi 17767 # Put the nasty error message in config.log where it belongs 17768 echo "$LIBOPENRAW_GNOME_PKG_ERRORS" >&5 17769 17770 ac_tumbler_raw_thumbnailer=no 17771elif test $pkg_failed = untried; then 17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17773$as_echo "no" >&6; } 17774 ac_tumbler_raw_thumbnailer=no 17775else 17776 LIBOPENRAW_GNOME_CFLAGS=$pkg_cv_LIBOPENRAW_GNOME_CFLAGS 17777 LIBOPENRAW_GNOME_LIBS=$pkg_cv_LIBOPENRAW_GNOME_LIBS 17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17779$as_echo "yes" >&6; } 17780 17781fi 17782 17783elif test $pkg_failed = untried; then 17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17785$as_echo "no" >&6; } 17786 17787 17788pkg_failed=no 17789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOPENRAW_GNOME" >&5 17790$as_echo_n "checking for LIBOPENRAW_GNOME... " >&6; } 17791 17792if test -n "$LIBOPENRAW_GNOME_CFLAGS"; then 17793 pkg_cv_LIBOPENRAW_GNOME_CFLAGS="$LIBOPENRAW_GNOME_CFLAGS" 17794 elif test -n "$PKG_CONFIG"; then 17795 if test -n "$PKG_CONFIG" && \ 17796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenraw-gnome-1.0 >= 0.0.4\""; } >&5 17797 ($PKG_CONFIG --exists --print-errors "libopenraw-gnome-1.0 >= 0.0.4") 2>&5 17798 ac_status=$? 17799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17800 test $ac_status = 0; }; then 17801 pkg_cv_LIBOPENRAW_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libopenraw-gnome-1.0 >= 0.0.4" 2>/dev/null` 17802 test "x$?" != "x0" && pkg_failed=yes 17803else 17804 pkg_failed=yes 17805fi 17806 else 17807 pkg_failed=untried 17808fi 17809if test -n "$LIBOPENRAW_GNOME_LIBS"; then 17810 pkg_cv_LIBOPENRAW_GNOME_LIBS="$LIBOPENRAW_GNOME_LIBS" 17811 elif test -n "$PKG_CONFIG"; then 17812 if test -n "$PKG_CONFIG" && \ 17813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenraw-gnome-1.0 >= 0.0.4\""; } >&5 17814 ($PKG_CONFIG --exists --print-errors "libopenraw-gnome-1.0 >= 0.0.4") 2>&5 17815 ac_status=$? 17816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17817 test $ac_status = 0; }; then 17818 pkg_cv_LIBOPENRAW_GNOME_LIBS=`$PKG_CONFIG --libs "libopenraw-gnome-1.0 >= 0.0.4" 2>/dev/null` 17819 test "x$?" != "x0" && pkg_failed=yes 17820else 17821 pkg_failed=yes 17822fi 17823 else 17824 pkg_failed=untried 17825fi 17826 17827 17828 17829if test $pkg_failed = yes; then 17830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17831$as_echo "no" >&6; } 17832 17833if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17834 _pkg_short_errors_supported=yes 17835else 17836 _pkg_short_errors_supported=no 17837fi 17838 if test $_pkg_short_errors_supported = yes; then 17839 LIBOPENRAW_GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libopenraw-gnome-1.0 >= 0.0.4" 2>&1` 17840 else 17841 LIBOPENRAW_GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libopenraw-gnome-1.0 >= 0.0.4" 2>&1` 17842 fi 17843 # Put the nasty error message in config.log where it belongs 17844 echo "$LIBOPENRAW_GNOME_PKG_ERRORS" >&5 17845 17846 ac_tumbler_raw_thumbnailer=no 17847elif test $pkg_failed = untried; then 17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17849$as_echo "no" >&6; } 17850 ac_tumbler_raw_thumbnailer=no 17851else 17852 LIBOPENRAW_GNOME_CFLAGS=$pkg_cv_LIBOPENRAW_GNOME_CFLAGS 17853 LIBOPENRAW_GNOME_LIBS=$pkg_cv_LIBOPENRAW_GNOME_LIBS 17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17855$as_echo "yes" >&6; } 17856 17857fi 17858 17859else 17860 LIBOPENRAW_GNOME_CFLAGS=$pkg_cv_LIBOPENRAW_GNOME_CFLAGS 17861 LIBOPENRAW_GNOME_LIBS=$pkg_cv_LIBOPENRAW_GNOME_LIBS 17862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17863$as_echo "yes" >&6; } 17864 17865fi 17866 17867fi 17868fi 17869 17870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the RAW image thumbnailer plugin" >&5 17871$as_echo_n "checking whether to build the RAW image thumbnailer plugin... " >&6; } 17872 if test x"$ac_tumbler_raw_thumbnailer" = x"yes"; then 17873 TUMBLER_RAW_THUMBNAILER_TRUE= 17874 TUMBLER_RAW_THUMBNAILER_FALSE='#' 17875else 17876 TUMBLER_RAW_THUMBNAILER_TRUE='#' 17877 TUMBLER_RAW_THUMBNAILER_FALSE= 17878fi 17879 17880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_raw_thumbnailer" >&5 17881$as_echo "$ac_tumbler_raw_thumbnailer" >&6; } 17882 17883 17884# Check whether --enable-xdg-cache was given. 17885if test "${enable_xdg_cache+set}" = set; then : 17886 enableval=$enable_xdg_cache; ac_tumbler_xdg_cache=$enableval 17887else 17888 ac_tumbler_xdg_cache=yes 17889fi 17890 17891if test x"$ac_tumbler_xdg_cache" = x"yes"; then 17892 17893pkg_failed=no 17894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 17895$as_echo_n "checking for GDK_PIXBUF... " >&6; } 17896 17897if test -n "$GDK_PIXBUF_CFLAGS"; then 17898 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 17899 elif test -n "$PKG_CONFIG"; then 17900 if test -n "$PKG_CONFIG" && \ 17901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 17902 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 17903 ac_status=$? 17904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17905 test $ac_status = 0; }; then 17906 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 17907 test "x$?" != "x0" && pkg_failed=yes 17908else 17909 pkg_failed=yes 17910fi 17911 else 17912 pkg_failed=untried 17913fi 17914if test -n "$GDK_PIXBUF_LIBS"; then 17915 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 17916 elif test -n "$PKG_CONFIG"; then 17917 if test -n "$PKG_CONFIG" && \ 17918 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 17919 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 17920 ac_status=$? 17921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17922 test $ac_status = 0; }; then 17923 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 17924 test "x$?" != "x0" && pkg_failed=yes 17925else 17926 pkg_failed=yes 17927fi 17928 else 17929 pkg_failed=untried 17930fi 17931 17932 17933 17934if test $pkg_failed = yes; then 17935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17936$as_echo "no" >&6; } 17937 17938if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17939 _pkg_short_errors_supported=yes 17940else 17941 _pkg_short_errors_supported=no 17942fi 17943 if test $_pkg_short_errors_supported = yes; then 17944 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 17945 else 17946 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 17947 fi 17948 # Put the nasty error message in config.log where it belongs 17949 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 17950 17951 ac_tumbler_xdg_cache=no 17952elif test $pkg_failed = untried; then 17953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17954$as_echo "no" >&6; } 17955 ac_tumbler_xdg_cache=no 17956else 17957 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 17958 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17960$as_echo "yes" >&6; } 17961 17962 17963pkg_failed=no 17964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5 17965$as_echo_n "checking for PNG... " >&6; } 17966 17967if test -n "$PNG_CFLAGS"; then 17968 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS" 17969 elif test -n "$PKG_CONFIG"; then 17970 if test -n "$PKG_CONFIG" && \ 17971 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.0\""; } >&5 17972 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.0") 2>&5 17973 ac_status=$? 17974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17975 test $ac_status = 0; }; then 17976 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2.0" 2>/dev/null` 17977 test "x$?" != "x0" && pkg_failed=yes 17978else 17979 pkg_failed=yes 17980fi 17981 else 17982 pkg_failed=untried 17983fi 17984if test -n "$PNG_LIBS"; then 17985 pkg_cv_PNG_LIBS="$PNG_LIBS" 17986 elif test -n "$PKG_CONFIG"; then 17987 if test -n "$PKG_CONFIG" && \ 17988 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.0\""; } >&5 17989 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.0") 2>&5 17990 ac_status=$? 17991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17992 test $ac_status = 0; }; then 17993 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2.0" 2>/dev/null` 17994 test "x$?" != "x0" && pkg_failed=yes 17995else 17996 pkg_failed=yes 17997fi 17998 else 17999 pkg_failed=untried 18000fi 18001 18002 18003 18004if test $pkg_failed = yes; then 18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18006$as_echo "no" >&6; } 18007 18008if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18009 _pkg_short_errors_supported=yes 18010else 18011 _pkg_short_errors_supported=no 18012fi 18013 if test $_pkg_short_errors_supported = yes; then 18014 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng >= 1.2.0" 2>&1` 18015 else 18016 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng >= 1.2.0" 2>&1` 18017 fi 18018 # Put the nasty error message in config.log where it belongs 18019 echo "$PNG_PKG_ERRORS" >&5 18020 18021 18022 18023pkg_failed=no 18024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5 18025$as_echo_n "checking for PNG... " >&6; } 18026 18027if test -n "$PNG_CFLAGS"; then 18028 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS" 18029 elif test -n "$PKG_CONFIG"; then 18030 if test -n "$PKG_CONFIG" && \ 18031 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.0\""; } >&5 18032 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.0") 2>&5 18033 ac_status=$? 18034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18035 test $ac_status = 0; }; then 18036 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng12 >= 1.2.0" 2>/dev/null` 18037 test "x$?" != "x0" && pkg_failed=yes 18038else 18039 pkg_failed=yes 18040fi 18041 else 18042 pkg_failed=untried 18043fi 18044if test -n "$PNG_LIBS"; then 18045 pkg_cv_PNG_LIBS="$PNG_LIBS" 18046 elif test -n "$PKG_CONFIG"; then 18047 if test -n "$PKG_CONFIG" && \ 18048 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.0\""; } >&5 18049 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.0") 2>&5 18050 ac_status=$? 18051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18052 test $ac_status = 0; }; then 18053 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng12 >= 1.2.0" 2>/dev/null` 18054 test "x$?" != "x0" && pkg_failed=yes 18055else 18056 pkg_failed=yes 18057fi 18058 else 18059 pkg_failed=untried 18060fi 18061 18062 18063 18064if test $pkg_failed = yes; then 18065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18066$as_echo "no" >&6; } 18067 18068if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18069 _pkg_short_errors_supported=yes 18070else 18071 _pkg_short_errors_supported=no 18072fi 18073 if test $_pkg_short_errors_supported = yes; then 18074 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng12 >= 1.2.0" 2>&1` 18075 else 18076 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng12 >= 1.2.0" 2>&1` 18077 fi 18078 # Put the nasty error message in config.log where it belongs 18079 echo "$PNG_PKG_ERRORS" >&5 18080 18081 18082 have_libpng=no 18083 ac_tumbler_xdg_cache=no 18084 18085elif test $pkg_failed = untried; then 18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18087$as_echo "no" >&6; } 18088 18089 have_libpng=no 18090 ac_tumbler_xdg_cache=no 18091 18092else 18093 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS 18094 PNG_LIBS=$pkg_cv_PNG_LIBS 18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18096$as_echo "yes" >&6; } 18097 have_libpng=yes 18098fi 18099 18100elif test $pkg_failed = untried; then 18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18102$as_echo "no" >&6; } 18103 18104 18105pkg_failed=no 18106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5 18107$as_echo_n "checking for PNG... " >&6; } 18108 18109if test -n "$PNG_CFLAGS"; then 18110 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS" 18111 elif test -n "$PKG_CONFIG"; then 18112 if test -n "$PKG_CONFIG" && \ 18113 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.0\""; } >&5 18114 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.0") 2>&5 18115 ac_status=$? 18116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18117 test $ac_status = 0; }; then 18118 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng12 >= 1.2.0" 2>/dev/null` 18119 test "x$?" != "x0" && pkg_failed=yes 18120else 18121 pkg_failed=yes 18122fi 18123 else 18124 pkg_failed=untried 18125fi 18126if test -n "$PNG_LIBS"; then 18127 pkg_cv_PNG_LIBS="$PNG_LIBS" 18128 elif test -n "$PKG_CONFIG"; then 18129 if test -n "$PKG_CONFIG" && \ 18130 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.0\""; } >&5 18131 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.0") 2>&5 18132 ac_status=$? 18133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18134 test $ac_status = 0; }; then 18135 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng12 >= 1.2.0" 2>/dev/null` 18136 test "x$?" != "x0" && pkg_failed=yes 18137else 18138 pkg_failed=yes 18139fi 18140 else 18141 pkg_failed=untried 18142fi 18143 18144 18145 18146if test $pkg_failed = yes; then 18147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18148$as_echo "no" >&6; } 18149 18150if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18151 _pkg_short_errors_supported=yes 18152else 18153 _pkg_short_errors_supported=no 18154fi 18155 if test $_pkg_short_errors_supported = yes; then 18156 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng12 >= 1.2.0" 2>&1` 18157 else 18158 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng12 >= 1.2.0" 2>&1` 18159 fi 18160 # Put the nasty error message in config.log where it belongs 18161 echo "$PNG_PKG_ERRORS" >&5 18162 18163 18164 have_libpng=no 18165 ac_tumbler_xdg_cache=no 18166 18167elif test $pkg_failed = untried; then 18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18169$as_echo "no" >&6; } 18170 18171 have_libpng=no 18172 ac_tumbler_xdg_cache=no 18173 18174else 18175 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS 18176 PNG_LIBS=$pkg_cv_PNG_LIBS 18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18178$as_echo "yes" >&6; } 18179 have_libpng=yes 18180fi 18181 18182else 18183 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS 18184 PNG_LIBS=$pkg_cv_PNG_LIBS 18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18186$as_echo "yes" >&6; } 18187 have_libpng=yes 18188fi 18189 18190fi 18191fi 18192 18193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the freedesktop.org cache plugin" >&5 18194$as_echo_n "checking whether to build the freedesktop.org cache plugin... " >&6; } 18195 if test x"$ac_tumbler_xdg_cache" = x"yes"; then 18196 TUMBLER_XDG_CACHE_TRUE= 18197 TUMBLER_XDG_CACHE_FALSE='#' 18198else 18199 TUMBLER_XDG_CACHE_TRUE='#' 18200 TUMBLER_XDG_CACHE_FALSE= 18201fi 18202 18203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_xdg_cache" >&5 18204$as_echo "$ac_tumbler_xdg_cache" >&6; } 18205 18206 18207# Check whether --enable-desktop-thumbnailer was given. 18208if test "${enable_desktop_thumbnailer+set}" = set; then : 18209 enableval=$enable_desktop_thumbnailer; ac_tumbler_desktop_thumbnailer=$enableval 18210else 18211 ac_tumbler_desktop_thumbnailer=yes 18212fi 18213 18214if test x"$ac_tumbler_desktop_thumbnailer" = x"yes"; then 18215 18216pkg_failed=no 18217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 18218$as_echo_n "checking for GDK_PIXBUF... " >&6; } 18219 18220if test -n "$GDK_PIXBUF_CFLAGS"; then 18221 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 18222 elif test -n "$PKG_CONFIG"; then 18223 if test -n "$PKG_CONFIG" && \ 18224 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 18225 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 18226 ac_status=$? 18227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18228 test $ac_status = 0; }; then 18229 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 18230 test "x$?" != "x0" && pkg_failed=yes 18231else 18232 pkg_failed=yes 18233fi 18234 else 18235 pkg_failed=untried 18236fi 18237if test -n "$GDK_PIXBUF_LIBS"; then 18238 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 18239 elif test -n "$PKG_CONFIG"; then 18240 if test -n "$PKG_CONFIG" && \ 18241 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 18242 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 18243 ac_status=$? 18244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18245 test $ac_status = 0; }; then 18246 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 18247 test "x$?" != "x0" && pkg_failed=yes 18248else 18249 pkg_failed=yes 18250fi 18251 else 18252 pkg_failed=untried 18253fi 18254 18255 18256 18257if test $pkg_failed = yes; then 18258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18259$as_echo "no" >&6; } 18260 18261if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18262 _pkg_short_errors_supported=yes 18263else 18264 _pkg_short_errors_supported=no 18265fi 18266 if test $_pkg_short_errors_supported = yes; then 18267 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 18268 else 18269 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 18270 fi 18271 # Put the nasty error message in config.log where it belongs 18272 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 18273 18274 ac_tumbler_desktop_thumbnailer=no 18275elif test $pkg_failed = untried; then 18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18277$as_echo "no" >&6; } 18278 ac_tumbler_desktop_thumbnailer=no 18279else 18280 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 18281 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18283$as_echo "yes" >&6; } 18284 18285fi 18286fi 18287 18288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the plugin support for loading thumbnailers *.thumbnailer files" >&5 18289$as_echo_n "checking whether to build the plugin support for loading thumbnailers *.thumbnailer files... " >&6; } 18290 if test x"$ac_tumbler_desktop_thumbnailer" = x"yes"; then 18291 TUMBLER_DESKTOP_THUMBNAILER_TRUE= 18292 TUMBLER_DESKTOP_THUMBNAILER_FALSE='#' 18293else 18294 TUMBLER_DESKTOP_THUMBNAILER_TRUE='#' 18295 TUMBLER_DESKTOP_THUMBNAILER_FALSE= 18296fi 18297 18298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_desktop_thumbnailer" >&5 18299$as_echo "$ac_tumbler_desktop_thumbnailer" >&6; } 18300 18301 18302# Check whether --enable-gepub-thumbnailer was given. 18303if test "${enable_gepub_thumbnailer+set}" = set; then : 18304 enableval=$enable_gepub_thumbnailer; ac_tumbler_gepub_thumbnailer=$enableval 18305else 18306 ac_tumbler_gepub_thumbnailer=yes 18307fi 18308 18309if test x"$ac_tumbler_gepub_thumbnailer" = x"yes"; then 18310 18311pkg_failed=no 18312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5 18313$as_echo_n "checking for GDK_PIXBUF... " >&6; } 18314 18315if test -n "$GDK_PIXBUF_CFLAGS"; then 18316 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS" 18317 elif test -n "$PKG_CONFIG"; then 18318 if test -n "$PKG_CONFIG" && \ 18319 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 18320 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 18321 ac_status=$? 18322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18323 test $ac_status = 0; }; then 18324 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 18325 test "x$?" != "x0" && pkg_failed=yes 18326else 18327 pkg_failed=yes 18328fi 18329 else 18330 pkg_failed=untried 18331fi 18332if test -n "$GDK_PIXBUF_LIBS"; then 18333 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS" 18334 elif test -n "$PKG_CONFIG"; then 18335 if test -n "$PKG_CONFIG" && \ 18336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.14\""; } >&5 18337 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.14") 2>&5 18338 ac_status=$? 18339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18340 test $ac_status = 0; }; then 18341 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.14" 2>/dev/null` 18342 test "x$?" != "x0" && pkg_failed=yes 18343else 18344 pkg_failed=yes 18345fi 18346 else 18347 pkg_failed=untried 18348fi 18349 18350 18351 18352if test $pkg_failed = yes; then 18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18354$as_echo "no" >&6; } 18355 18356if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18357 _pkg_short_errors_supported=yes 18358else 18359 _pkg_short_errors_supported=no 18360fi 18361 if test $_pkg_short_errors_supported = yes; then 18362 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 18363 else 18364 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.14" 2>&1` 18365 fi 18366 # Put the nasty error message in config.log where it belongs 18367 echo "$GDK_PIXBUF_PKG_ERRORS" >&5 18368 18369 ac_tumbler_gepub_thumbnailer=no 18370elif test $pkg_failed = untried; then 18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18372$as_echo "no" >&6; } 18373 ac_tumbler_gepub_thumbnailer=no 18374else 18375 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS 18376 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS 18377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18378$as_echo "yes" >&6; } 18379 18380 18381pkg_failed=no 18382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEPUB" >&5 18383$as_echo_n "checking for GEPUB... " >&6; } 18384 18385if test -n "$GEPUB_CFLAGS"; then 18386 pkg_cv_GEPUB_CFLAGS="$GEPUB_CFLAGS" 18387 elif test -n "$PKG_CONFIG"; then 18388 if test -n "$PKG_CONFIG" && \ 18389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgepub-0.6 >= 0.6.0\""; } >&5 18390 ($PKG_CONFIG --exists --print-errors "libgepub-0.6 >= 0.6.0") 2>&5 18391 ac_status=$? 18392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18393 test $ac_status = 0; }; then 18394 pkg_cv_GEPUB_CFLAGS=`$PKG_CONFIG --cflags "libgepub-0.6 >= 0.6.0" 2>/dev/null` 18395 test "x$?" != "x0" && pkg_failed=yes 18396else 18397 pkg_failed=yes 18398fi 18399 else 18400 pkg_failed=untried 18401fi 18402if test -n "$GEPUB_LIBS"; then 18403 pkg_cv_GEPUB_LIBS="$GEPUB_LIBS" 18404 elif test -n "$PKG_CONFIG"; then 18405 if test -n "$PKG_CONFIG" && \ 18406 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgepub-0.6 >= 0.6.0\""; } >&5 18407 ($PKG_CONFIG --exists --print-errors "libgepub-0.6 >= 0.6.0") 2>&5 18408 ac_status=$? 18409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18410 test $ac_status = 0; }; then 18411 pkg_cv_GEPUB_LIBS=`$PKG_CONFIG --libs "libgepub-0.6 >= 0.6.0" 2>/dev/null` 18412 test "x$?" != "x0" && pkg_failed=yes 18413else 18414 pkg_failed=yes 18415fi 18416 else 18417 pkg_failed=untried 18418fi 18419 18420 18421 18422if test $pkg_failed = yes; then 18423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18424$as_echo "no" >&6; } 18425 18426if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18427 _pkg_short_errors_supported=yes 18428else 18429 _pkg_short_errors_supported=no 18430fi 18431 if test $_pkg_short_errors_supported = yes; then 18432 GEPUB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgepub-0.6 >= 0.6.0" 2>&1` 18433 else 18434 GEPUB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgepub-0.6 >= 0.6.0" 2>&1` 18435 fi 18436 # Put the nasty error message in config.log where it belongs 18437 echo "$GEPUB_PKG_ERRORS" >&5 18438 18439 ac_tumbler_gepub_thumbnailer=no 18440elif test $pkg_failed = untried; then 18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18442$as_echo "no" >&6; } 18443 ac_tumbler_gepub_thumbnailer=no 18444else 18445 GEPUB_CFLAGS=$pkg_cv_GEPUB_CFLAGS 18446 GEPUB_LIBS=$pkg_cv_GEPUB_LIBS 18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18448$as_echo "yes" >&6; } 18449 18450fi 18451 18452fi 18453fi 18454 18455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the libgepub thumbnailer plugin" >&5 18456$as_echo_n "checking whether to build the libgepub thumbnailer plugin... " >&6; } 18457 if test x"$ac_tumbler_gepub_thumbnailer" = x"yes"; then 18458 TUMBLER_GEPUB_THUMBNAILER_TRUE= 18459 TUMBLER_GEPUB_THUMBNAILER_FALSE='#' 18460else 18461 TUMBLER_GEPUB_THUMBNAILER_TRUE='#' 18462 TUMBLER_GEPUB_THUMBNAILER_FALSE= 18463fi 18464 18465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_tumbler_gepub_thumbnailer" >&5 18466$as_echo "$ac_tumbler_gepub_thumbnailer" >&6; } 18467 18468 18469 18470 # Check whether --enable-debug was given. 18471if test "${enable_debug+set}" = set; then : 18472 enableval=$enable_debug; enable_debug=$enableval 18473else 18474 enable_debug=minimum 18475fi 18476 18477 18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5 18479$as_echo_n "checking whether to build with debugging support... " >&6; } 18480 if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then 18481 18482$as_echo "#define DEBUG 1" >>confdefs.h 18483 18484 18485 xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \ 18486 -Wall -Wextra \ 18487 -Wno-missing-field-initializers \ 18488 -Wno-unused-parameter -Wold-style-definition \ 18489 -Wdeclaration-after-statement \ 18490 -Wmissing-declarations \ 18491 -Wmissing-noreturn -Wpointer-arith \ 18492 -Wcast-align -Wformat -Wformat-security -Wformat-y2k \ 18493 -Winit-self -Wmissing-include-dirs -Wundef \ 18494 -Wnested-externs" 18495 CPPFLAGS="$CPPFLAGS" 18496 18497 if test x`uname` = x"Linux"; then 18498 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector" 18499 fi 18500 18501 if test x`uname` != x"OpenBSD"; then 18502 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls" 18503 fi 18504 18505 if test x"$enable_debug" = x"full"; then 18506 18507$as_echo "#define DEBUG_TRACE 1" >>confdefs.h 18508 18509 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror" 18510 CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG" 18511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5 18512$as_echo "full" >&6; } 18513 else 18514 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow" 18515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18516$as_echo "yes" >&6; } 18517 fi 18518 18519 18520 for flag in $xdt_cv_additional_CFLAGS; do 18521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5 18522$as_echo_n "checking if $CC supports $flag... " >&6; } 18523 saved_CFLAGS="$CFLAGS" 18524 CFLAGS="$CFLAGS $flag" 18525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18526/* end confdefs.h. */ 18527 18528_ACEOF 18529if ac_fn_c_try_compile "$LINENO"; then : 18530 flag_supported=yes 18531else 18532 flag_supported=no 18533fi 18534rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18535 CFLAGS="$saved_CFLAGS" 18536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5 18537$as_echo "$flag_supported" >&6; } 18538 18539 if test "x$flag_supported" = "xyes"; then 18540 supported_CFLAGS="$supported_CFLAGS $flag" 18541 fi 18542 done 18543 18544 18545 18546 supported_CXXFLAGS="$supported_CFLAGS" 18547 18548 18549 CFLAGS="$CFLAGS $supported_CFLAGS" 18550 CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS" 18551 else 18552 CPPFLAGS="$CPPFLAGS -DNDEBUG" 18553 18554 if test x"$enable_debug" = x"no"; then 18555 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT" 18556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18557$as_echo "no" >&6; } 18558 else 18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5 18560$as_echo "minimum" >&6; } 18561 fi 18562 fi 18563 18564 18565 18566 # Check whether --enable-linker-opts was given. 18567if test "${enable_linker_opts+set}" = set; then : 18568 enableval=$enable_linker_opts; enable_linker_opts=$enableval 18569else 18570 enable_linker_opts=yes 18571fi 18572 18573 18574 if test "x$enable_linker_opts" != "xno"; then 18575 if test x`uname` != x"OpenBSD"; then 18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --as-needed" >&5 18577$as_echo_n "checking whether $LD accepts --as-needed... " >&6; } 18578 case `$LD --as-needed -v 2>&1 </dev/null` in 18579 *GNU* | *'with BFD'*) 18580 LDFLAGS="$LDFLAGS -Wl,--as-needed" 18581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18582$as_echo "yes" >&6; } 18583 ;; 18584 *) 18585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18586$as_echo "no" >&6; } 18587 ;; 18588 esac 18589 fi 18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -O1" >&5 18591$as_echo_n "checking whether $LD accepts -O1... " >&6; } 18592 case `$LD -O1 -v 2>&1 </dev/null` in 18593 *GNU* | *'with BFD'*) 18594 LDFLAGS="$LDFLAGS -Wl,-O1" 18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18596$as_echo "yes" >&6; } 18597 ;; 18598 *) 18599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18600$as_echo "no" >&6; } 18601 ;; 18602 esac 18603 fi 18604 18605 18606 18607 for flag in -Wno-sign-compare; do 18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5 18609$as_echo_n "checking if $CC supports $flag... " >&6; } 18610 saved_CFLAGS="$CFLAGS" 18611 CFLAGS="$CFLAGS $flag" 18612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18613/* end confdefs.h. */ 18614 18615_ACEOF 18616if ac_fn_c_try_compile "$LINENO"; then : 18617 flag_supported=yes 18618else 18619 flag_supported=no 18620fi 18621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18622 CFLAGS="$saved_CFLAGS" 18623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5 18624$as_echo "$flag_supported" >&6; } 18625 18626 if test "x$flag_supported" = "xyes"; then 18627 GTK_DOC_EXTRA_CFLAGS="$GTK_DOC_EXTRA_CFLAGS $flag" 18628 fi 18629 done 18630 18631 18632 18633ac_config_files="$ac_config_files Makefile docs/Makefile docs/reference/Makefile docs/reference/tumbler/Makefile docs/reference/tumbler/version.xml icons/Makefile icons/32x32/Makefile plugins/Makefile plugins/cover-thumbnailer/Makefile plugins/font-thumbnailer/Makefile plugins/gst-thumbnailer/Makefile plugins/jpeg-thumbnailer/Makefile plugins/pixbuf-thumbnailer/Makefile plugins/ffmpeg-thumbnailer/Makefile plugins/odf-thumbnailer/Makefile plugins/poppler-thumbnailer/Makefile plugins/raw-thumbnailer/Makefile plugins/xdg-cache/Makefile plugins/desktop-thumbnailer/Makefile plugins/gepub-thumbnailer/Makefile po/Makefile.in tumbler/Makefile tumbler/tumbler-1.pc tumbler/tumbler-config.h tumblerd/Makefile" 18634 18635cat >confcache <<\_ACEOF 18636# This file is a shell script that caches the results of configure 18637# tests run on this system so they can be shared between configure 18638# scripts and configure runs, see configure's option --config-cache. 18639# It is not useful on other systems. If it contains results you don't 18640# want to keep, you may remove or edit it. 18641# 18642# config.status only pays attention to the cache file if you give it 18643# the --recheck option to rerun configure. 18644# 18645# `ac_cv_env_foo' variables (set or unset) will be overridden when 18646# loading this file, other *unset* `ac_cv_foo' will be assigned the 18647# following values. 18648 18649_ACEOF 18650 18651# The following way of writing the cache mishandles newlines in values, 18652# but we know of no workaround that is simple, portable, and efficient. 18653# So, we kill variables containing newlines. 18654# Ultrix sh set writes to stderr and can't be redirected directly, 18655# and sets the high bit in the cache file unless we assign to the vars. 18656( 18657 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 18658 eval ac_val=\$$ac_var 18659 case $ac_val in #( 18660 *${as_nl}*) 18661 case $ac_var in #( 18662 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18663$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18664 esac 18665 case $ac_var in #( 18666 _ | IFS | as_nl) ;; #( 18667 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 18668 *) { eval $ac_var=; unset $ac_var;} ;; 18669 esac ;; 18670 esac 18671 done 18672 18673 (set) 2>&1 | 18674 case $as_nl`(ac_space=' '; set) 2>&1` in #( 18675 *${as_nl}ac_space=\ *) 18676 # `set' does not quote correctly, so add quotes: double-quote 18677 # substitution turns \\\\ into \\, and sed turns \\ into \. 18678 sed -n \ 18679 "s/'/'\\\\''/g; 18680 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 18681 ;; #( 18682 *) 18683 # `set' quotes correctly as required by POSIX, so do not add quotes. 18684 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 18685 ;; 18686 esac | 18687 sort 18688) | 18689 sed ' 18690 /^ac_cv_env_/b end 18691 t clear 18692 :clear 18693 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 18694 t end 18695 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 18696 :end' >>confcache 18697if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 18698 if test -w "$cache_file"; then 18699 if test "x$cache_file" != "x/dev/null"; then 18700 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 18701$as_echo "$as_me: updating cache $cache_file" >&6;} 18702 if test ! -f "$cache_file" || test -h "$cache_file"; then 18703 cat confcache >"$cache_file" 18704 else 18705 case $cache_file in #( 18706 */* | ?:*) 18707 mv -f confcache "$cache_file"$$ && 18708 mv -f "$cache_file"$$ "$cache_file" ;; #( 18709 *) 18710 mv -f confcache "$cache_file" ;; 18711 esac 18712 fi 18713 fi 18714 else 18715 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 18716$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 18717 fi 18718fi 18719rm -f confcache 18720 18721test "x$prefix" = xNONE && prefix=$ac_default_prefix 18722# Let make expand exec_prefix. 18723test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 18724 18725DEFS=-DHAVE_CONFIG_H 18726 18727ac_libobjs= 18728ac_ltlibobjs= 18729U= 18730for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 18731 # 1. Remove the extension, and $U if already installed. 18732 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 18733 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 18734 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 18735 # will be set to the directory where LIBOBJS objects are built. 18736 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 18737 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 18738done 18739LIBOBJS=$ac_libobjs 18740 18741LTLIBOBJS=$ac_ltlibobjs 18742 18743 18744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 18745$as_echo_n "checking that generated files are newer than configure... " >&6; } 18746 if test -n "$am_sleep_pid"; then 18747 # Hide warnings about reused PIDs. 18748 wait $am_sleep_pid 2>/dev/null 18749 fi 18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 18751$as_echo "done" >&6; } 18752 if test -n "$EXEEXT"; then 18753 am__EXEEXT_TRUE= 18754 am__EXEEXT_FALSE='#' 18755else 18756 am__EXEEXT_TRUE='#' 18757 am__EXEEXT_FALSE= 18758fi 18759 18760if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 18761 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 18762Usually this means the macro was only invoked conditionally." "$LINENO" 5 18763fi 18764if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 18765 as_fn_error $? "conditional \"AMDEP\" was never defined. 18766Usually this means the macro was only invoked conditionally." "$LINENO" 5 18767fi 18768if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 18769 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 18770Usually this means the macro was only invoked conditionally." "$LINENO" 5 18771fi 18772if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then 18773 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined. 18774Usually this means the macro was only invoked conditionally." "$LINENO" 5 18775fi 18776if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then 18777 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. 18778Usually this means the macro was only invoked conditionally." "$LINENO" 5 18779fi 18780if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 18781 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 18782Usually this means the macro was only invoked conditionally." "$LINENO" 5 18783fi 18784 18785 ac_config_commands="$ac_config_commands po/stamp-it" 18786 18787 18788if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then 18789 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined. 18790Usually this means the macro was only invoked conditionally." "$LINENO" 5 18791fi 18792if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then 18793 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. 18794Usually this means the macro was only invoked conditionally." "$LINENO" 5 18795fi 18796if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then 18797 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. 18798Usually this means the macro was only invoked conditionally." "$LINENO" 5 18799fi 18800if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then 18801 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. 18802Usually this means the macro was only invoked conditionally." "$LINENO" 5 18803fi 18804if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then 18805 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 18806Usually this means the macro was only invoked conditionally." "$LINENO" 5 18807fi 18808if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then 18809 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. 18810Usually this means the macro was only invoked conditionally." "$LINENO" 5 18811fi 18812if test -z "${TUMBLER_COVER_THUMBNAILER_TRUE}" && test -z "${TUMBLER_COVER_THUMBNAILER_FALSE}"; then 18813 as_fn_error $? "conditional \"TUMBLER_COVER_THUMBNAILER\" was never defined. 18814Usually this means the macro was only invoked conditionally." "$LINENO" 5 18815fi 18816if test -z "${TUMBLER_FONT_THUMBNAILER_TRUE}" && test -z "${TUMBLER_FONT_THUMBNAILER_FALSE}"; then 18817 as_fn_error $? "conditional \"TUMBLER_FONT_THUMBNAILER\" was never defined. 18818Usually this means the macro was only invoked conditionally." "$LINENO" 5 18819fi 18820if test -z "${TUMBLER_JPEG_THUMBNAILER_TRUE}" && test -z "${TUMBLER_JPEG_THUMBNAILER_FALSE}"; then 18821 as_fn_error $? "conditional \"TUMBLER_JPEG_THUMBNAILER\" was never defined. 18822Usually this means the macro was only invoked conditionally." "$LINENO" 5 18823fi 18824if test -z "${TUMBLER_PIXBUF_THUMBNAILER_TRUE}" && test -z "${TUMBLER_PIXBUF_THUMBNAILER_FALSE}"; then 18825 as_fn_error $? "conditional \"TUMBLER_PIXBUF_THUMBNAILER\" was never defined. 18826Usually this means the macro was only invoked conditionally." "$LINENO" 5 18827fi 18828if test -z "${TUMBLER_FFMPEG_THUMBNAILER_TRUE}" && test -z "${TUMBLER_FFMPEG_THUMBNAILER_FALSE}"; then 18829 as_fn_error $? "conditional \"TUMBLER_FFMPEG_THUMBNAILER\" was never defined. 18830Usually this means the macro was only invoked conditionally." "$LINENO" 5 18831fi 18832if test -z "${TUMBLER_GSTREAMER_THUMBNAILER_TRUE}" && test -z "${TUMBLER_GSTREAMER_THUMBNAILER_FALSE}"; then 18833 as_fn_error $? "conditional \"TUMBLER_GSTREAMER_THUMBNAILER\" was never defined. 18834Usually this means the macro was only invoked conditionally." "$LINENO" 5 18835fi 18836if test -z "${TUMBLER_ODF_THUMBNAILER_TRUE}" && test -z "${TUMBLER_ODF_THUMBNAILER_FALSE}"; then 18837 as_fn_error $? "conditional \"TUMBLER_ODF_THUMBNAILER\" was never defined. 18838Usually this means the macro was only invoked conditionally." "$LINENO" 5 18839fi 18840if test -z "${TUMBLER_POPPLER_THUMBNAILER_TRUE}" && test -z "${TUMBLER_POPPLER_THUMBNAILER_FALSE}"; then 18841 as_fn_error $? "conditional \"TUMBLER_POPPLER_THUMBNAILER\" was never defined. 18842Usually this means the macro was only invoked conditionally." "$LINENO" 5 18843fi 18844if test -z "${TUMBLER_RAW_THUMBNAILER_TRUE}" && test -z "${TUMBLER_RAW_THUMBNAILER_FALSE}"; then 18845 as_fn_error $? "conditional \"TUMBLER_RAW_THUMBNAILER\" was never defined. 18846Usually this means the macro was only invoked conditionally." "$LINENO" 5 18847fi 18848if test -z "${TUMBLER_XDG_CACHE_TRUE}" && test -z "${TUMBLER_XDG_CACHE_FALSE}"; then 18849 as_fn_error $? "conditional \"TUMBLER_XDG_CACHE\" was never defined. 18850Usually this means the macro was only invoked conditionally." "$LINENO" 5 18851fi 18852if test -z "${TUMBLER_DESKTOP_THUMBNAILER_TRUE}" && test -z "${TUMBLER_DESKTOP_THUMBNAILER_FALSE}"; then 18853 as_fn_error $? "conditional \"TUMBLER_DESKTOP_THUMBNAILER\" was never defined. 18854Usually this means the macro was only invoked conditionally." "$LINENO" 5 18855fi 18856if test -z "${TUMBLER_GEPUB_THUMBNAILER_TRUE}" && test -z "${TUMBLER_GEPUB_THUMBNAILER_FALSE}"; then 18857 as_fn_error $? "conditional \"TUMBLER_GEPUB_THUMBNAILER\" was never defined. 18858Usually this means the macro was only invoked conditionally." "$LINENO" 5 18859fi 18860 18861: "${CONFIG_STATUS=./config.status}" 18862ac_write_fail=0 18863ac_clean_files_save=$ac_clean_files 18864ac_clean_files="$ac_clean_files $CONFIG_STATUS" 18865{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 18866$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 18867as_write_fail=0 18868cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 18869#! $SHELL 18870# Generated by $as_me. 18871# Run this file to recreate the current configuration. 18872# Compiler output produced by configure, useful for debugging 18873# configure, is in config.log if it exists. 18874 18875debug=false 18876ac_cs_recheck=false 18877ac_cs_silent=false 18878 18879SHELL=\${CONFIG_SHELL-$SHELL} 18880export SHELL 18881_ASEOF 18882cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 18883## -------------------- ## 18884## M4sh Initialization. ## 18885## -------------------- ## 18886 18887# Be more Bourne compatible 18888DUALCASE=1; export DUALCASE # for MKS sh 18889if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18890 emulate sh 18891 NULLCMD=: 18892 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 18893 # is contrary to our usage. Disable this feature. 18894 alias -g '${1+"$@"}'='"$@"' 18895 setopt NO_GLOB_SUBST 18896else 18897 case `(set -o) 2>/dev/null` in #( 18898 *posix*) : 18899 set -o posix ;; #( 18900 *) : 18901 ;; 18902esac 18903fi 18904 18905 18906as_nl=' 18907' 18908export as_nl 18909# Printing a long string crashes Solaris 7 /usr/bin/printf. 18910as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 18911as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 18912as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 18913# Prefer a ksh shell builtin over an external printf program on Solaris, 18914# but without wasting forks for bash or zsh. 18915if test -z "$BASH_VERSION$ZSH_VERSION" \ 18916 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 18917 as_echo='print -r --' 18918 as_echo_n='print -rn --' 18919elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 18920 as_echo='printf %s\n' 18921 as_echo_n='printf %s' 18922else 18923 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 18924 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 18925 as_echo_n='/usr/ucb/echo -n' 18926 else 18927 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 18928 as_echo_n_body='eval 18929 arg=$1; 18930 case $arg in #( 18931 *"$as_nl"*) 18932 expr "X$arg" : "X\\(.*\\)$as_nl"; 18933 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 18934 esac; 18935 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 18936 ' 18937 export as_echo_n_body 18938 as_echo_n='sh -c $as_echo_n_body as_echo' 18939 fi 18940 export as_echo_body 18941 as_echo='sh -c $as_echo_body as_echo' 18942fi 18943 18944# The user is always right. 18945if test "${PATH_SEPARATOR+set}" != set; then 18946 PATH_SEPARATOR=: 18947 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 18948 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 18949 PATH_SEPARATOR=';' 18950 } 18951fi 18952 18953 18954# IFS 18955# We need space, tab and new line, in precisely that order. Quoting is 18956# there to prevent editors from complaining about space-tab. 18957# (If _AS_PATH_WALK were called with IFS unset, it would disable word 18958# splitting by setting IFS to empty value.) 18959IFS=" "" $as_nl" 18960 18961# Find who we are. Look in the path if we contain no directory separator. 18962as_myself= 18963case $0 in #(( 18964 *[\\/]* ) as_myself=$0 ;; 18965 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18966for as_dir in $PATH 18967do 18968 IFS=$as_save_IFS 18969 test -z "$as_dir" && as_dir=. 18970 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 18971 done 18972IFS=$as_save_IFS 18973 18974 ;; 18975esac 18976# We did not find ourselves, most probably we were run as `sh COMMAND' 18977# in which case we are not to be found in the path. 18978if test "x$as_myself" = x; then 18979 as_myself=$0 18980fi 18981if test ! -f "$as_myself"; then 18982 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 18983 exit 1 18984fi 18985 18986# Unset variables that we do not need and which cause bugs (e.g. in 18987# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 18988# suppresses any "Segmentation fault" message there. '((' could 18989# trigger a bug in pdksh 5.2.14. 18990for as_var in BASH_ENV ENV MAIL MAILPATH 18991do eval test x\${$as_var+set} = xset \ 18992 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 18993done 18994PS1='$ ' 18995PS2='> ' 18996PS4='+ ' 18997 18998# NLS nuisances. 18999LC_ALL=C 19000export LC_ALL 19001LANGUAGE=C 19002export LANGUAGE 19003 19004# CDPATH. 19005(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 19006 19007 19008# as_fn_error STATUS ERROR [LINENO LOG_FD] 19009# ---------------------------------------- 19010# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 19011# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 19012# script with STATUS, using 1 if that was 0. 19013as_fn_error () 19014{ 19015 as_status=$1; test $as_status -eq 0 && as_status=1 19016 if test "$4"; then 19017 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 19018 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 19019 fi 19020 $as_echo "$as_me: error: $2" >&2 19021 as_fn_exit $as_status 19022} # as_fn_error 19023 19024 19025# as_fn_set_status STATUS 19026# ----------------------- 19027# Set $? to STATUS, without forking. 19028as_fn_set_status () 19029{ 19030 return $1 19031} # as_fn_set_status 19032 19033# as_fn_exit STATUS 19034# ----------------- 19035# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 19036as_fn_exit () 19037{ 19038 set +e 19039 as_fn_set_status $1 19040 exit $1 19041} # as_fn_exit 19042 19043# as_fn_unset VAR 19044# --------------- 19045# Portably unset VAR. 19046as_fn_unset () 19047{ 19048 { eval $1=; unset $1;} 19049} 19050as_unset=as_fn_unset 19051# as_fn_append VAR VALUE 19052# ---------------------- 19053# Append the text in VALUE to the end of the definition contained in VAR. Take 19054# advantage of any shell optimizations that allow amortized linear growth over 19055# repeated appends, instead of the typical quadratic growth present in naive 19056# implementations. 19057if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 19058 eval 'as_fn_append () 19059 { 19060 eval $1+=\$2 19061 }' 19062else 19063 as_fn_append () 19064 { 19065 eval $1=\$$1\$2 19066 } 19067fi # as_fn_append 19068 19069# as_fn_arith ARG... 19070# ------------------ 19071# Perform arithmetic evaluation on the ARGs, and store the result in the 19072# global $as_val. Take advantage of shells that can avoid forks. The arguments 19073# must be portable across $(()) and expr. 19074if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 19075 eval 'as_fn_arith () 19076 { 19077 as_val=$(( $* )) 19078 }' 19079else 19080 as_fn_arith () 19081 { 19082 as_val=`expr "$@" || test $? -eq 1` 19083 } 19084fi # as_fn_arith 19085 19086 19087if expr a : '\(a\)' >/dev/null 2>&1 && 19088 test "X`expr 00001 : '.*\(...\)'`" = X001; then 19089 as_expr=expr 19090else 19091 as_expr=false 19092fi 19093 19094if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 19095 as_basename=basename 19096else 19097 as_basename=false 19098fi 19099 19100if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 19101 as_dirname=dirname 19102else 19103 as_dirname=false 19104fi 19105 19106as_me=`$as_basename -- "$0" || 19107$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 19108 X"$0" : 'X\(//\)$' \| \ 19109 X"$0" : 'X\(/\)' \| . 2>/dev/null || 19110$as_echo X/"$0" | 19111 sed '/^.*\/\([^/][^/]*\)\/*$/{ 19112 s//\1/ 19113 q 19114 } 19115 /^X\/\(\/\/\)$/{ 19116 s//\1/ 19117 q 19118 } 19119 /^X\/\(\/\).*/{ 19120 s//\1/ 19121 q 19122 } 19123 s/.*/./; q'` 19124 19125# Avoid depending upon Character Ranges. 19126as_cr_letters='abcdefghijklmnopqrstuvwxyz' 19127as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 19128as_cr_Letters=$as_cr_letters$as_cr_LETTERS 19129as_cr_digits='0123456789' 19130as_cr_alnum=$as_cr_Letters$as_cr_digits 19131 19132ECHO_C= ECHO_N= ECHO_T= 19133case `echo -n x` in #((((( 19134-n*) 19135 case `echo 'xy\c'` in 19136 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 19137 xy) ECHO_C='\c';; 19138 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 19139 ECHO_T=' ';; 19140 esac;; 19141*) 19142 ECHO_N='-n';; 19143esac 19144 19145rm -f conf$$ conf$$.exe conf$$.file 19146if test -d conf$$.dir; then 19147 rm -f conf$$.dir/conf$$.file 19148else 19149 rm -f conf$$.dir 19150 mkdir conf$$.dir 2>/dev/null 19151fi 19152if (echo >conf$$.file) 2>/dev/null; then 19153 if ln -s conf$$.file conf$$ 2>/dev/null; then 19154 as_ln_s='ln -s' 19155 # ... but there are two gotchas: 19156 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 19157 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 19158 # In both cases, we have to default to `cp -pR'. 19159 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 19160 as_ln_s='cp -pR' 19161 elif ln conf$$.file conf$$ 2>/dev/null; then 19162 as_ln_s=ln 19163 else 19164 as_ln_s='cp -pR' 19165 fi 19166else 19167 as_ln_s='cp -pR' 19168fi 19169rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 19170rmdir conf$$.dir 2>/dev/null 19171 19172 19173# as_fn_mkdir_p 19174# ------------- 19175# Create "$as_dir" as a directory, including parents if necessary. 19176as_fn_mkdir_p () 19177{ 19178 19179 case $as_dir in #( 19180 -*) as_dir=./$as_dir;; 19181 esac 19182 test -d "$as_dir" || eval $as_mkdir_p || { 19183 as_dirs= 19184 while :; do 19185 case $as_dir in #( 19186 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 19187 *) as_qdir=$as_dir;; 19188 esac 19189 as_dirs="'$as_qdir' $as_dirs" 19190 as_dir=`$as_dirname -- "$as_dir" || 19191$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19192 X"$as_dir" : 'X\(//\)[^/]' \| \ 19193 X"$as_dir" : 'X\(//\)$' \| \ 19194 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 19195$as_echo X"$as_dir" | 19196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19197 s//\1/ 19198 q 19199 } 19200 /^X\(\/\/\)[^/].*/{ 19201 s//\1/ 19202 q 19203 } 19204 /^X\(\/\/\)$/{ 19205 s//\1/ 19206 q 19207 } 19208 /^X\(\/\).*/{ 19209 s//\1/ 19210 q 19211 } 19212 s/.*/./; q'` 19213 test -d "$as_dir" && break 19214 done 19215 test -z "$as_dirs" || eval "mkdir $as_dirs" 19216 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 19217 19218 19219} # as_fn_mkdir_p 19220if mkdir -p . 2>/dev/null; then 19221 as_mkdir_p='mkdir -p "$as_dir"' 19222else 19223 test -d ./-p && rmdir ./-p 19224 as_mkdir_p=false 19225fi 19226 19227 19228# as_fn_executable_p FILE 19229# ----------------------- 19230# Test if FILE is an executable regular file. 19231as_fn_executable_p () 19232{ 19233 test -f "$1" && test -x "$1" 19234} # as_fn_executable_p 19235as_test_x='test -x' 19236as_executable_p=as_fn_executable_p 19237 19238# Sed expression to map a string onto a valid CPP name. 19239as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 19240 19241# Sed expression to map a string onto a valid variable name. 19242as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 19243 19244 19245exec 6>&1 19246## ----------------------------------- ## 19247## Main body of $CONFIG_STATUS script. ## 19248## ----------------------------------- ## 19249_ASEOF 19250test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 19251 19252cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19253# Save the log message, to keep $0 and so on meaningful, and to 19254# report actual input values of CONFIG_FILES etc. instead of their 19255# values after options handling. 19256ac_log=" 19257This file was extended by tumbler $as_me 4.16.0, which was 19258generated by GNU Autoconf 2.69. Invocation command line was 19259 19260 CONFIG_FILES = $CONFIG_FILES 19261 CONFIG_HEADERS = $CONFIG_HEADERS 19262 CONFIG_LINKS = $CONFIG_LINKS 19263 CONFIG_COMMANDS = $CONFIG_COMMANDS 19264 $ $0 $@ 19265 19266on `(hostname || uname -n) 2>/dev/null | sed 1q` 19267" 19268 19269_ACEOF 19270 19271case $ac_config_files in *" 19272"*) set x $ac_config_files; shift; ac_config_files=$*;; 19273esac 19274 19275case $ac_config_headers in *" 19276"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 19277esac 19278 19279 19280cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19281# Files that config.status was made for. 19282config_files="$ac_config_files" 19283config_headers="$ac_config_headers" 19284config_commands="$ac_config_commands" 19285 19286_ACEOF 19287 19288cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19289ac_cs_usage="\ 19290\`$as_me' instantiates files and other configuration actions 19291from templates according to the current configuration. Unless the files 19292and actions are specified as TAGs, all are instantiated by default. 19293 19294Usage: $0 [OPTION]... [TAG]... 19295 19296 -h, --help print this help, then exit 19297 -V, --version print version number and configuration settings, then exit 19298 --config print configuration, then exit 19299 -q, --quiet, --silent 19300 do not print progress messages 19301 -d, --debug don't remove temporary files 19302 --recheck update $as_me by reconfiguring in the same conditions 19303 --file=FILE[:TEMPLATE] 19304 instantiate the configuration file FILE 19305 --header=FILE[:TEMPLATE] 19306 instantiate the configuration header FILE 19307 19308Configuration files: 19309$config_files 19310 19311Configuration headers: 19312$config_headers 19313 19314Configuration commands: 19315$config_commands 19316 19317Report bugs to <https://gitlab.xfce.org/xfce/tumbler>." 19318 19319_ACEOF 19320cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19321ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 19322ac_cs_version="\\ 19323tumbler config.status 4.16.0 19324configured by $0, generated by GNU Autoconf 2.69, 19325 with options \\"\$ac_cs_config\\" 19326 19327Copyright (C) 2012 Free Software Foundation, Inc. 19328This config.status script is free software; the Free Software Foundation 19329gives unlimited permission to copy, distribute and modify it." 19330 19331ac_pwd='$ac_pwd' 19332srcdir='$srcdir' 19333INSTALL='$INSTALL' 19334MKDIR_P='$MKDIR_P' 19335AWK='$AWK' 19336test -n "\$AWK" || AWK=awk 19337_ACEOF 19338 19339cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19340# The default lists apply if the user does not specify any file. 19341ac_need_defaults=: 19342while test $# != 0 19343do 19344 case $1 in 19345 --*=?*) 19346 ac_option=`expr "X$1" : 'X\([^=]*\)='` 19347 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 19348 ac_shift=: 19349 ;; 19350 --*=) 19351 ac_option=`expr "X$1" : 'X\([^=]*\)='` 19352 ac_optarg= 19353 ac_shift=: 19354 ;; 19355 *) 19356 ac_option=$1 19357 ac_optarg=$2 19358 ac_shift=shift 19359 ;; 19360 esac 19361 19362 case $ac_option in 19363 # Handling of the options. 19364 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 19365 ac_cs_recheck=: ;; 19366 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 19367 $as_echo "$ac_cs_version"; exit ;; 19368 --config | --confi | --conf | --con | --co | --c ) 19369 $as_echo "$ac_cs_config"; exit ;; 19370 --debug | --debu | --deb | --de | --d | -d ) 19371 debug=: ;; 19372 --file | --fil | --fi | --f ) 19373 $ac_shift 19374 case $ac_optarg in 19375 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19376 '') as_fn_error $? "missing file argument" ;; 19377 esac 19378 as_fn_append CONFIG_FILES " '$ac_optarg'" 19379 ac_need_defaults=false;; 19380 --header | --heade | --head | --hea ) 19381 $ac_shift 19382 case $ac_optarg in 19383 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19384 esac 19385 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 19386 ac_need_defaults=false;; 19387 --he | --h) 19388 # Conflict between --help and --header 19389 as_fn_error $? "ambiguous option: \`$1' 19390Try \`$0 --help' for more information.";; 19391 --help | --hel | -h ) 19392 $as_echo "$ac_cs_usage"; exit ;; 19393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 19394 | -silent | --silent | --silen | --sile | --sil | --si | --s) 19395 ac_cs_silent=: ;; 19396 19397 # This is an error. 19398 -*) as_fn_error $? "unrecognized option: \`$1' 19399Try \`$0 --help' for more information." ;; 19400 19401 *) as_fn_append ac_config_targets " $1" 19402 ac_need_defaults=false ;; 19403 19404 esac 19405 shift 19406done 19407 19408ac_configure_extra_args= 19409 19410if $ac_cs_silent; then 19411 exec 6>/dev/null 19412 ac_configure_extra_args="$ac_configure_extra_args --silent" 19413fi 19414 19415_ACEOF 19416cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19417if \$ac_cs_recheck; then 19418 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 19419 shift 19420 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 19421 CONFIG_SHELL='$SHELL' 19422 export CONFIG_SHELL 19423 exec "\$@" 19424fi 19425 19426_ACEOF 19427cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19428exec 5>>config.log 19429{ 19430 echo 19431 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 19432## Running $as_me. ## 19433_ASBOX 19434 $as_echo "$ac_log" 19435} >&5 19436 19437_ACEOF 19438cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19439# 19440# INIT-COMMANDS 19441# 19442AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 19443 19444 19445# The HP-UX ksh and POSIX shell print the target directory to stdout 19446# if CDPATH is set. 19447(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 19448 19449sed_quote_subst='$sed_quote_subst' 19450double_quote_subst='$double_quote_subst' 19451delay_variable_subst='$delay_variable_subst' 19452macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 19453macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 19454enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 19455enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 19456pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 19457enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 19458shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 19459SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 19460ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 19461PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 19462host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 19463host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 19464host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 19465build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 19466build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 19467build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 19468SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 19469Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 19470GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 19471EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 19472FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 19473LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 19474NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 19475LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 19476max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 19477ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 19478exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 19479lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 19480lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 19481lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 19482lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 19483lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 19484reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 19485reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 19486OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 19487deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 19488file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 19489file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 19490want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 19491DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 19492sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 19493AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 19494AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 19495archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 19496STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 19497RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 19498old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 19499old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 19500old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 19501lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 19502CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 19503CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 19504compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 19505GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 19506lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 19507lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 19508lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 19509lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 19510lt_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"`' 19511lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 19512nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 19513lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 19514lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 19515objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 19516MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 19517lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 19518lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 19519lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 19520lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 19521lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 19522need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 19523MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 19524DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 19525NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 19526LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 19527OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 19528OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 19529libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 19530shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 19531extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 19532archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 19533enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 19534export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 19535whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 19536compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 19537old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 19538old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 19539archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 19540archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 19541module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 19542module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 19543with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 19544allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 19545no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 19546hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 19547hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 19548hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 19549hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 19550hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 19551hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 19552hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 19553inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 19554link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 19555always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 19556export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 19557exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 19558include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 19559prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 19560postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 19561file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 19562variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 19563need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 19564need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 19565version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 19566runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 19567shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 19568shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 19569libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 19570library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 19571soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 19572install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 19573postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 19574postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 19575finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 19576finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 19577hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 19578sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 19579configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 19580configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 19581hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 19582enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 19583enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 19584enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 19585old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 19586striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 19587 19588LTCC='$LTCC' 19589LTCFLAGS='$LTCFLAGS' 19590compiler='$compiler_DEFAULT' 19591 19592# A function that is used when there is no print builtin or printf. 19593func_fallback_echo () 19594{ 19595 eval 'cat <<_LTECHO_EOF 19596\$1 19597_LTECHO_EOF' 19598} 19599 19600# Quote evaled strings. 19601for var in SHELL \ 19602ECHO \ 19603PATH_SEPARATOR \ 19604SED \ 19605GREP \ 19606EGREP \ 19607FGREP \ 19608LD \ 19609NM \ 19610LN_S \ 19611lt_SP2NL \ 19612lt_NL2SP \ 19613reload_flag \ 19614OBJDUMP \ 19615deplibs_check_method \ 19616file_magic_cmd \ 19617file_magic_glob \ 19618want_nocaseglob \ 19619DLLTOOL \ 19620sharedlib_from_linklib_cmd \ 19621AR \ 19622AR_FLAGS \ 19623archiver_list_spec \ 19624STRIP \ 19625RANLIB \ 19626CC \ 19627CFLAGS \ 19628compiler \ 19629lt_cv_sys_global_symbol_pipe \ 19630lt_cv_sys_global_symbol_to_cdecl \ 19631lt_cv_sys_global_symbol_to_import \ 19632lt_cv_sys_global_symbol_to_c_name_address \ 19633lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 19634lt_cv_nm_interface \ 19635nm_file_list_spec \ 19636lt_cv_truncate_bin \ 19637lt_prog_compiler_no_builtin_flag \ 19638lt_prog_compiler_pic \ 19639lt_prog_compiler_wl \ 19640lt_prog_compiler_static \ 19641lt_cv_prog_compiler_c_o \ 19642need_locks \ 19643MANIFEST_TOOL \ 19644DSYMUTIL \ 19645NMEDIT \ 19646LIPO \ 19647OTOOL \ 19648OTOOL64 \ 19649shrext_cmds \ 19650export_dynamic_flag_spec \ 19651whole_archive_flag_spec \ 19652compiler_needs_object \ 19653with_gnu_ld \ 19654allow_undefined_flag \ 19655no_undefined_flag \ 19656hardcode_libdir_flag_spec \ 19657hardcode_libdir_separator \ 19658exclude_expsyms \ 19659include_expsyms \ 19660file_list_spec \ 19661variables_saved_for_relink \ 19662libname_spec \ 19663library_names_spec \ 19664soname_spec \ 19665install_override_mode \ 19666finish_eval \ 19667old_striplib \ 19668striplib; do 19669 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19670 *[\\\\\\\`\\"\\\$]*) 19671 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 19672 ;; 19673 *) 19674 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19675 ;; 19676 esac 19677done 19678 19679# Double-quote double-evaled strings. 19680for var in reload_cmds \ 19681old_postinstall_cmds \ 19682old_postuninstall_cmds \ 19683old_archive_cmds \ 19684extract_expsyms_cmds \ 19685old_archive_from_new_cmds \ 19686old_archive_from_expsyms_cmds \ 19687archive_cmds \ 19688archive_expsym_cmds \ 19689module_cmds \ 19690module_expsym_cmds \ 19691export_symbols_cmds \ 19692prelink_cmds \ 19693postlink_cmds \ 19694postinstall_cmds \ 19695postuninstall_cmds \ 19696finish_cmds \ 19697sys_lib_search_path_spec \ 19698configure_time_dlsearch_path \ 19699configure_time_lt_sys_library_path; do 19700 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19701 *[\\\\\\\`\\"\\\$]*) 19702 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 19703 ;; 19704 *) 19705 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19706 ;; 19707 esac 19708done 19709 19710ac_aux_dir='$ac_aux_dir' 19711 19712# See if we are running on zsh, and set the options that allow our 19713# commands through without removal of \ escapes INIT. 19714if test -n "\${ZSH_VERSION+set}"; then 19715 setopt NO_GLOB_SUBST 19716fi 19717 19718 19719 PACKAGE='$PACKAGE' 19720 VERSION='$VERSION' 19721 RM='$RM' 19722 ofile='$ofile' 19723 19724 19725 19726 19727 19728_ACEOF 19729 19730cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19731 19732# Handling of arguments. 19733for ac_config_target in $ac_config_targets 19734do 19735 case $ac_config_target in 19736 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 19737 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 19738 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 19739 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 19740 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 19741 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 19742 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;; 19743 "docs/reference/tumbler/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/tumbler/Makefile" ;; 19744 "docs/reference/tumbler/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/tumbler/version.xml" ;; 19745 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;; 19746 "icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/32x32/Makefile" ;; 19747 "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;; 19748 "plugins/cover-thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/cover-thumbnailer/Makefile" ;; 19749 "plugins/font-thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/font-thumbnailer/Makefile" ;; 19750 "plugins/gst-thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/gst-thumbnailer/Makefile" ;; 19751 "plugins/jpeg-thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/jpeg-thumbnailer/Makefile" ;; 19752 "plugins/pixbuf-thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pixbuf-thumbnailer/Makefile" ;; 19753 "plugins/ffmpeg-thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ffmpeg-thumbnailer/Makefile" ;; 19754 "plugins/odf-thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/odf-thumbnailer/Makefile" ;; 19755 "plugins/poppler-thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/poppler-thumbnailer/Makefile" ;; 19756 "plugins/raw-thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/raw-thumbnailer/Makefile" ;; 19757 "plugins/xdg-cache/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/xdg-cache/Makefile" ;; 19758 "plugins/desktop-thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/desktop-thumbnailer/Makefile" ;; 19759 "plugins/gepub-thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/gepub-thumbnailer/Makefile" ;; 19760 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 19761 "tumbler/Makefile") CONFIG_FILES="$CONFIG_FILES tumbler/Makefile" ;; 19762 "tumbler/tumbler-1.pc") CONFIG_FILES="$CONFIG_FILES tumbler/tumbler-1.pc" ;; 19763 "tumbler/tumbler-config.h") CONFIG_FILES="$CONFIG_FILES tumbler/tumbler-config.h" ;; 19764 "tumblerd/Makefile") CONFIG_FILES="$CONFIG_FILES tumblerd/Makefile" ;; 19765 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 19766 19767 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 19768 esac 19769done 19770 19771 19772# If the user did not use the arguments to specify the items to instantiate, 19773# then the envvar interface is used. Set only those that are not. 19774# We use the long form for the default assignment because of an extremely 19775# bizarre bug on SunOS 4.1.3. 19776if $ac_need_defaults; then 19777 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 19778 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 19779 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 19780fi 19781 19782# Have a temporary directory for convenience. Make it in the build tree 19783# simply because there is no reason against having it here, and in addition, 19784# creating and moving files from /tmp can sometimes cause problems. 19785# Hook for its removal unless debugging. 19786# Note that there is a small window in which the directory will not be cleaned: 19787# after its creation but before its name has been assigned to `$tmp'. 19788$debug || 19789{ 19790 tmp= ac_tmp= 19791 trap 'exit_status=$? 19792 : "${ac_tmp:=$tmp}" 19793 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 19794' 0 19795 trap 'as_fn_exit 1' 1 2 13 15 19796} 19797# Create a (secure) tmp directory for tmp files. 19798 19799{ 19800 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 19801 test -d "$tmp" 19802} || 19803{ 19804 tmp=./conf$$-$RANDOM 19805 (umask 077 && mkdir "$tmp") 19806} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 19807ac_tmp=$tmp 19808 19809# Set up the scripts for CONFIG_FILES section. 19810# No need to generate them if there are no CONFIG_FILES. 19811# This happens for instance with `./config.status config.h'. 19812if test -n "$CONFIG_FILES"; then 19813 19814 19815ac_cr=`echo X | tr X '\015'` 19816# On cygwin, bash can eat \r inside `` if the user requested igncr. 19817# But we know of no other shell where ac_cr would be empty at this 19818# point, so we can use a bashism as a fallback. 19819if test "x$ac_cr" = x; then 19820 eval ac_cr=\$\'\\r\' 19821fi 19822ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 19823if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 19824 ac_cs_awk_cr='\\r' 19825else 19826 ac_cs_awk_cr=$ac_cr 19827fi 19828 19829echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 19830_ACEOF 19831 19832 19833{ 19834 echo "cat >conf$$subs.awk <<_ACEOF" && 19835 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 19836 echo "_ACEOF" 19837} >conf$$subs.sh || 19838 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19839ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 19840ac_delim='%!_!# ' 19841for ac_last_try in false false false false false :; do 19842 . ./conf$$subs.sh || 19843 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19844 19845 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 19846 if test $ac_delim_n = $ac_delim_num; then 19847 break 19848 elif $ac_last_try; then 19849 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19850 else 19851 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19852 fi 19853done 19854rm -f conf$$subs.sh 19855 19856cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19857cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 19858_ACEOF 19859sed -n ' 19860h 19861s/^/S["/; s/!.*/"]=/ 19862p 19863g 19864s/^[^!]*!// 19865:repl 19866t repl 19867s/'"$ac_delim"'$// 19868t delim 19869:nl 19870h 19871s/\(.\{148\}\)..*/\1/ 19872t more1 19873s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 19874p 19875n 19876b repl 19877:more1 19878s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 19879p 19880g 19881s/.\{148\}// 19882t nl 19883:delim 19884h 19885s/\(.\{148\}\)..*/\1/ 19886t more2 19887s/["\\]/\\&/g; s/^/"/; s/$/"/ 19888p 19889b 19890:more2 19891s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 19892p 19893g 19894s/.\{148\}// 19895t delim 19896' <conf$$subs.awk | sed ' 19897/^[^""]/{ 19898 N 19899 s/\n// 19900} 19901' >>$CONFIG_STATUS || ac_write_fail=1 19902rm -f conf$$subs.awk 19903cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19904_ACAWK 19905cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 19906 for (key in S) S_is_set[key] = 1 19907 FS = "" 19908 19909} 19910{ 19911 line = $ 0 19912 nfields = split(line, field, "@") 19913 substed = 0 19914 len = length(field[1]) 19915 for (i = 2; i < nfields; i++) { 19916 key = field[i] 19917 keylen = length(key) 19918 if (S_is_set[key]) { 19919 value = S[key] 19920 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 19921 len += length(value) + length(field[++i]) 19922 substed = 1 19923 } else 19924 len += 1 + keylen 19925 } 19926 19927 print line 19928} 19929 19930_ACAWK 19931_ACEOF 19932cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19933if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 19934 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 19935else 19936 cat 19937fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 19938 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 19939_ACEOF 19940 19941# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 19942# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 19943# trailing colons and then remove the whole line if VPATH becomes empty 19944# (actually we leave an empty line to preserve line numbers). 19945if test "x$srcdir" = x.; then 19946 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 19947h 19948s/// 19949s/^/:/ 19950s/[ ]*$/:/ 19951s/:\$(srcdir):/:/g 19952s/:\${srcdir}:/:/g 19953s/:@srcdir@:/:/g 19954s/^:*// 19955s/:*$// 19956x 19957s/\(=[ ]*\).*/\1/ 19958G 19959s/\n// 19960s/^[^=]*=[ ]*$// 19961}' 19962fi 19963 19964cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19965fi # test -n "$CONFIG_FILES" 19966 19967# Set up the scripts for CONFIG_HEADERS section. 19968# No need to generate them if there are no CONFIG_HEADERS. 19969# This happens for instance with `./config.status Makefile'. 19970if test -n "$CONFIG_HEADERS"; then 19971cat >"$ac_tmp/defines.awk" <<\_ACAWK || 19972BEGIN { 19973_ACEOF 19974 19975# Transform confdefs.h into an awk script `defines.awk', embedded as 19976# here-document in config.status, that substitutes the proper values into 19977# config.h.in to produce config.h. 19978 19979# Create a delimiter string that does not exist in confdefs.h, to ease 19980# handling of long lines. 19981ac_delim='%!_!# ' 19982for ac_last_try in false false :; do 19983 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 19984 if test -z "$ac_tt"; then 19985 break 19986 elif $ac_last_try; then 19987 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 19988 else 19989 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19990 fi 19991done 19992 19993# For the awk script, D is an array of macro values keyed by name, 19994# likewise P contains macro parameters if any. Preserve backslash 19995# newline sequences. 19996 19997ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 19998sed -n ' 19999s/.\{148\}/&'"$ac_delim"'/g 20000t rset 20001:rset 20002s/^[ ]*#[ ]*define[ ][ ]*/ / 20003t def 20004d 20005:def 20006s/\\$// 20007t bsnl 20008s/["\\]/\\&/g 20009s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 20010D["\1"]=" \3"/p 20011s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 20012d 20013:bsnl 20014s/["\\]/\\&/g 20015s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 20016D["\1"]=" \3\\\\\\n"\\/p 20017t cont 20018s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 20019t cont 20020d 20021:cont 20022n 20023s/.\{148\}/&'"$ac_delim"'/g 20024t clear 20025:clear 20026s/\\$// 20027t bsnlc 20028s/["\\]/\\&/g; s/^/"/; s/$/"/p 20029d 20030:bsnlc 20031s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 20032b cont 20033' <confdefs.h | sed ' 20034s/'"$ac_delim"'/"\\\ 20035"/g' >>$CONFIG_STATUS || ac_write_fail=1 20036 20037cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20038 for (key in D) D_is_set[key] = 1 20039 FS = "" 20040} 20041/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 20042 line = \$ 0 20043 split(line, arg, " ") 20044 if (arg[1] == "#") { 20045 defundef = arg[2] 20046 mac1 = arg[3] 20047 } else { 20048 defundef = substr(arg[1], 2) 20049 mac1 = arg[2] 20050 } 20051 split(mac1, mac2, "(") #) 20052 macro = mac2[1] 20053 prefix = substr(line, 1, index(line, defundef) - 1) 20054 if (D_is_set[macro]) { 20055 # Preserve the white space surrounding the "#". 20056 print prefix "define", macro P[macro] D[macro] 20057 next 20058 } else { 20059 # Replace #undef with comments. This is necessary, for example, 20060 # in the case of _POSIX_SOURCE, which is predefined and required 20061 # on some systems where configure will not decide to define it. 20062 if (defundef == "undef") { 20063 print "/*", prefix defundef, macro, "*/" 20064 next 20065 } 20066 } 20067} 20068{ print } 20069_ACAWK 20070_ACEOF 20071cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20072 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 20073fi # test -n "$CONFIG_HEADERS" 20074 20075 20076eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 20077shift 20078for ac_tag 20079do 20080 case $ac_tag in 20081 :[FHLC]) ac_mode=$ac_tag; continue;; 20082 esac 20083 case $ac_mode$ac_tag in 20084 :[FHL]*:*);; 20085 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 20086 :[FH]-) ac_tag=-:-;; 20087 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 20088 esac 20089 ac_save_IFS=$IFS 20090 IFS=: 20091 set x $ac_tag 20092 IFS=$ac_save_IFS 20093 shift 20094 ac_file=$1 20095 shift 20096 20097 case $ac_mode in 20098 :L) ac_source=$1;; 20099 :[FH]) 20100 ac_file_inputs= 20101 for ac_f 20102 do 20103 case $ac_f in 20104 -) ac_f="$ac_tmp/stdin";; 20105 *) # Look for the file first in the build tree, then in the source tree 20106 # (if the path is not absolute). The absolute path cannot be DOS-style, 20107 # because $ac_f cannot contain `:'. 20108 test -f "$ac_f" || 20109 case $ac_f in 20110 [\\/$]*) false;; 20111 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 20112 esac || 20113 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 20114 esac 20115 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 20116 as_fn_append ac_file_inputs " '$ac_f'" 20117 done 20118 20119 # Let's still pretend it is `configure' which instantiates (i.e., don't 20120 # use $as_me), people would be surprised to read: 20121 # /* config.h. Generated by config.status. */ 20122 configure_input='Generated from '` 20123 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 20124 `' by configure.' 20125 if test x"$ac_file" != x-; then 20126 configure_input="$ac_file. $configure_input" 20127 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 20128$as_echo "$as_me: creating $ac_file" >&6;} 20129 fi 20130 # Neutralize special characters interpreted by sed in replacement strings. 20131 case $configure_input in #( 20132 *\&* | *\|* | *\\* ) 20133 ac_sed_conf_input=`$as_echo "$configure_input" | 20134 sed 's/[\\\\&|]/\\\\&/g'`;; #( 20135 *) ac_sed_conf_input=$configure_input;; 20136 esac 20137 20138 case $ac_tag in 20139 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 20140 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 20141 esac 20142 ;; 20143 esac 20144 20145 ac_dir=`$as_dirname -- "$ac_file" || 20146$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20147 X"$ac_file" : 'X\(//\)[^/]' \| \ 20148 X"$ac_file" : 'X\(//\)$' \| \ 20149 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 20150$as_echo X"$ac_file" | 20151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20152 s//\1/ 20153 q 20154 } 20155 /^X\(\/\/\)[^/].*/{ 20156 s//\1/ 20157 q 20158 } 20159 /^X\(\/\/\)$/{ 20160 s//\1/ 20161 q 20162 } 20163 /^X\(\/\).*/{ 20164 s//\1/ 20165 q 20166 } 20167 s/.*/./; q'` 20168 as_dir="$ac_dir"; as_fn_mkdir_p 20169 ac_builddir=. 20170 20171case "$ac_dir" in 20172.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 20173*) 20174 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 20175 # A ".." for each directory in $ac_dir_suffix. 20176 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 20177 case $ac_top_builddir_sub in 20178 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 20179 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 20180 esac ;; 20181esac 20182ac_abs_top_builddir=$ac_pwd 20183ac_abs_builddir=$ac_pwd$ac_dir_suffix 20184# for backward compatibility: 20185ac_top_builddir=$ac_top_build_prefix 20186 20187case $srcdir in 20188 .) # We are building in place. 20189 ac_srcdir=. 20190 ac_top_srcdir=$ac_top_builddir_sub 20191 ac_abs_top_srcdir=$ac_pwd ;; 20192 [\\/]* | ?:[\\/]* ) # Absolute name. 20193 ac_srcdir=$srcdir$ac_dir_suffix; 20194 ac_top_srcdir=$srcdir 20195 ac_abs_top_srcdir=$srcdir ;; 20196 *) # Relative name. 20197 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 20198 ac_top_srcdir=$ac_top_build_prefix$srcdir 20199 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 20200esac 20201ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 20202 20203 20204 case $ac_mode in 20205 :F) 20206 # 20207 # CONFIG_FILE 20208 # 20209 20210 case $INSTALL in 20211 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 20212 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 20213 esac 20214 ac_MKDIR_P=$MKDIR_P 20215 case $MKDIR_P in 20216 [\\/$]* | ?:[\\/]* ) ;; 20217 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 20218 esac 20219_ACEOF 20220 20221cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20222# If the template does not know about datarootdir, expand it. 20223# FIXME: This hack should be removed a few years after 2.60. 20224ac_datarootdir_hack=; ac_datarootdir_seen= 20225ac_sed_dataroot=' 20226/datarootdir/ { 20227 p 20228 q 20229} 20230/@datadir@/p 20231/@docdir@/p 20232/@infodir@/p 20233/@localedir@/p 20234/@mandir@/p' 20235case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 20236*datarootdir*) ac_datarootdir_seen=yes;; 20237*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 20238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 20239$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 20240_ACEOF 20241cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20242 ac_datarootdir_hack=' 20243 s&@datadir@&$datadir&g 20244 s&@docdir@&$docdir&g 20245 s&@infodir@&$infodir&g 20246 s&@localedir@&$localedir&g 20247 s&@mandir@&$mandir&g 20248 s&\\\${datarootdir}&$datarootdir&g' ;; 20249esac 20250_ACEOF 20251 20252# Neutralize VPATH when `$srcdir' = `.'. 20253# Shell code in configure.ac might set extrasub. 20254# FIXME: do we really want to maintain this feature? 20255cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20256ac_sed_extra="$ac_vpsub 20257$extrasub 20258_ACEOF 20259cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20260:t 20261/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 20262s|@configure_input@|$ac_sed_conf_input|;t t 20263s&@top_builddir@&$ac_top_builddir_sub&;t t 20264s&@top_build_prefix@&$ac_top_build_prefix&;t t 20265s&@srcdir@&$ac_srcdir&;t t 20266s&@abs_srcdir@&$ac_abs_srcdir&;t t 20267s&@top_srcdir@&$ac_top_srcdir&;t t 20268s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 20269s&@builddir@&$ac_builddir&;t t 20270s&@abs_builddir@&$ac_abs_builddir&;t t 20271s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 20272s&@INSTALL@&$ac_INSTALL&;t t 20273s&@MKDIR_P@&$ac_MKDIR_P&;t t 20274$ac_datarootdir_hack 20275" 20276eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 20277 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20278 20279test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 20280 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 20281 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 20282 "$ac_tmp/out"`; test -z "$ac_out"; } && 20283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20284which seems to be undefined. Please make sure it is defined" >&5 20285$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20286which seems to be undefined. Please make sure it is defined" >&2;} 20287 20288 rm -f "$ac_tmp/stdin" 20289 case $ac_file in 20290 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 20291 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 20292 esac \ 20293 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20294 ;; 20295 :H) 20296 # 20297 # CONFIG_HEADER 20298 # 20299 if test x"$ac_file" != x-; then 20300 { 20301 $as_echo "/* $configure_input */" \ 20302 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 20303 } >"$ac_tmp/config.h" \ 20304 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20305 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 20306 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 20307$as_echo "$as_me: $ac_file is unchanged" >&6;} 20308 else 20309 rm -f "$ac_file" 20310 mv "$ac_tmp/config.h" "$ac_file" \ 20311 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20312 fi 20313 else 20314 $as_echo "/* $configure_input */" \ 20315 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 20316 || as_fn_error $? "could not create -" "$LINENO" 5 20317 fi 20318# Compute "$ac_file"'s index in $config_headers. 20319_am_arg="$ac_file" 20320_am_stamp_count=1 20321for _am_header in $config_headers :; do 20322 case $_am_header in 20323 $_am_arg | $_am_arg:* ) 20324 break ;; 20325 * ) 20326 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 20327 esac 20328done 20329echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 20330$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20331 X"$_am_arg" : 'X\(//\)[^/]' \| \ 20332 X"$_am_arg" : 'X\(//\)$' \| \ 20333 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 20334$as_echo X"$_am_arg" | 20335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20336 s//\1/ 20337 q 20338 } 20339 /^X\(\/\/\)[^/].*/{ 20340 s//\1/ 20341 q 20342 } 20343 /^X\(\/\/\)$/{ 20344 s//\1/ 20345 q 20346 } 20347 /^X\(\/\).*/{ 20348 s//\1/ 20349 q 20350 } 20351 s/.*/./; q'`/stamp-h$_am_stamp_count 20352 ;; 20353 20354 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 20355$as_echo "$as_me: executing $ac_file commands" >&6;} 20356 ;; 20357 esac 20358 20359 20360 case $ac_file$ac_mode in 20361 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 20362 # Older Autoconf quotes --file arguments for eval, but not when files 20363 # are listed without --file. Let's play safe and only enable the eval 20364 # if we detect the quoting. 20365 # TODO: see whether this extra hack can be removed once we start 20366 # requiring Autoconf 2.70 or later. 20367 case $CONFIG_FILES in #( 20368 *\'*) : 20369 eval set x "$CONFIG_FILES" ;; #( 20370 *) : 20371 set x $CONFIG_FILES ;; #( 20372 *) : 20373 ;; 20374esac 20375 shift 20376 # Used to flag and report bootstrapping failures. 20377 am_rc=0 20378 for am_mf 20379 do 20380 # Strip MF so we end up with the name of the file. 20381 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 20382 # Check whether this is an Automake generated Makefile which includes 20383 # dependency-tracking related rules and includes. 20384 # Grep'ing the whole file directly is not great: AIX grep has a line 20385 # limit of 2048, but all sed's we know have understand at least 4000. 20386 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 20387 || continue 20388 am_dirpart=`$as_dirname -- "$am_mf" || 20389$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20390 X"$am_mf" : 'X\(//\)[^/]' \| \ 20391 X"$am_mf" : 'X\(//\)$' \| \ 20392 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 20393$as_echo X"$am_mf" | 20394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20395 s//\1/ 20396 q 20397 } 20398 /^X\(\/\/\)[^/].*/{ 20399 s//\1/ 20400 q 20401 } 20402 /^X\(\/\/\)$/{ 20403 s//\1/ 20404 q 20405 } 20406 /^X\(\/\).*/{ 20407 s//\1/ 20408 q 20409 } 20410 s/.*/./; q'` 20411 am_filepart=`$as_basename -- "$am_mf" || 20412$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 20413 X"$am_mf" : 'X\(//\)$' \| \ 20414 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 20415$as_echo X/"$am_mf" | 20416 sed '/^.*\/\([^/][^/]*\)\/*$/{ 20417 s//\1/ 20418 q 20419 } 20420 /^X\/\(\/\/\)$/{ 20421 s//\1/ 20422 q 20423 } 20424 /^X\/\(\/\).*/{ 20425 s//\1/ 20426 q 20427 } 20428 s/.*/./; q'` 20429 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 20430 && sed -e '/# am--include-marker/d' "$am_filepart" \ 20431 | $MAKE -f - am--depfiles" >&5 20432 (cd "$am_dirpart" \ 20433 && sed -e '/# am--include-marker/d' "$am_filepart" \ 20434 | $MAKE -f - am--depfiles) >&5 2>&5 20435 ac_status=$? 20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20437 (exit $ac_status); } || am_rc=$? 20438 done 20439 if test $am_rc -ne 0; then 20440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20441$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20442as_fn_error $? "Something went wrong bootstrapping makefile fragments 20443 for automatic dependency tracking. Try re-running configure with the 20444 '--disable-dependency-tracking' option to at least be able to build 20445 the package (albeit without support for automatic dependency tracking). 20446See \`config.log' for more details" "$LINENO" 5; } 20447 fi 20448 { am_dirpart=; unset am_dirpart;} 20449 { am_filepart=; unset am_filepart;} 20450 { am_mf=; unset am_mf;} 20451 { am_rc=; unset am_rc;} 20452 rm -f conftest-deps.mk 20453} 20454 ;; 20455 "libtool":C) 20456 20457 # See if we are running on zsh, and set the options that allow our 20458 # commands through without removal of \ escapes. 20459 if test -n "${ZSH_VERSION+set}"; then 20460 setopt NO_GLOB_SUBST 20461 fi 20462 20463 cfgfile=${ofile}T 20464 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 20465 $RM "$cfgfile" 20466 20467 cat <<_LT_EOF >> "$cfgfile" 20468#! $SHELL 20469# Generated automatically by $as_me ($PACKAGE) $VERSION 20470# NOTE: Changes made to this file will be lost: look at ltmain.sh. 20471 20472# Provide generalized library-building support services. 20473# Written by Gordon Matzigkeit, 1996 20474 20475# Copyright (C) 2014 Free Software Foundation, Inc. 20476# This is free software; see the source for copying conditions. There is NO 20477# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 20478 20479# GNU Libtool is free software; you can redistribute it and/or modify 20480# it under the terms of the GNU General Public License as published by 20481# the Free Software Foundation; either version 2 of of the License, or 20482# (at your option) any later version. 20483# 20484# As a special exception to the GNU General Public License, if you 20485# distribute this file as part of a program or library that is built 20486# using GNU Libtool, you may include this file under the same 20487# distribution terms that you use for the rest of that program. 20488# 20489# GNU Libtool is distributed in the hope that it will be useful, but 20490# WITHOUT ANY WARRANTY; without even the implied warranty of 20491# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20492# GNU General Public License for more details. 20493# 20494# You should have received a copy of the GNU General Public License 20495# along with this program. If not, see <http://www.gnu.org/licenses/>. 20496 20497 20498# The names of the tagged configurations supported by this script. 20499available_tags='' 20500 20501# Configured defaults for sys_lib_dlsearch_path munging. 20502: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 20503 20504# ### BEGIN LIBTOOL CONFIG 20505 20506# Which release of libtool.m4 was used? 20507macro_version=$macro_version 20508macro_revision=$macro_revision 20509 20510# Whether or not to build static libraries. 20511build_old_libs=$enable_static 20512 20513# Whether or not to build shared libraries. 20514build_libtool_libs=$enable_shared 20515 20516# What type of objects to build. 20517pic_mode=$pic_mode 20518 20519# Whether or not to optimize for fast installation. 20520fast_install=$enable_fast_install 20521 20522# Shared archive member basename,for filename based shared library versioning on AIX. 20523shared_archive_member_spec=$shared_archive_member_spec 20524 20525# Shell to use when invoking shell scripts. 20526SHELL=$lt_SHELL 20527 20528# An echo program that protects backslashes. 20529ECHO=$lt_ECHO 20530 20531# The PATH separator for the build system. 20532PATH_SEPARATOR=$lt_PATH_SEPARATOR 20533 20534# The host system. 20535host_alias=$host_alias 20536host=$host 20537host_os=$host_os 20538 20539# The build system. 20540build_alias=$build_alias 20541build=$build 20542build_os=$build_os 20543 20544# A sed program that does not truncate output. 20545SED=$lt_SED 20546 20547# Sed that helps us avoid accidentally triggering echo(1) options like -n. 20548Xsed="\$SED -e 1s/^X//" 20549 20550# A grep program that handles long lines. 20551GREP=$lt_GREP 20552 20553# An ERE matcher. 20554EGREP=$lt_EGREP 20555 20556# A literal string matcher. 20557FGREP=$lt_FGREP 20558 20559# A BSD- or MS-compatible name lister. 20560NM=$lt_NM 20561 20562# Whether we need soft or hard links. 20563LN_S=$lt_LN_S 20564 20565# What is the maximum length of a command? 20566max_cmd_len=$max_cmd_len 20567 20568# Object file suffix (normally "o"). 20569objext=$ac_objext 20570 20571# Executable file suffix (normally ""). 20572exeext=$exeext 20573 20574# whether the shell understands "unset". 20575lt_unset=$lt_unset 20576 20577# turn spaces into newlines. 20578SP2NL=$lt_lt_SP2NL 20579 20580# turn newlines into spaces. 20581NL2SP=$lt_lt_NL2SP 20582 20583# convert \$build file names to \$host format. 20584to_host_file_cmd=$lt_cv_to_host_file_cmd 20585 20586# convert \$build files to toolchain format. 20587to_tool_file_cmd=$lt_cv_to_tool_file_cmd 20588 20589# An object symbol dumper. 20590OBJDUMP=$lt_OBJDUMP 20591 20592# Method to check whether dependent libraries are shared objects. 20593deplibs_check_method=$lt_deplibs_check_method 20594 20595# Command to use when deplibs_check_method = "file_magic". 20596file_magic_cmd=$lt_file_magic_cmd 20597 20598# How to find potential files when deplibs_check_method = "file_magic". 20599file_magic_glob=$lt_file_magic_glob 20600 20601# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 20602want_nocaseglob=$lt_want_nocaseglob 20603 20604# DLL creation program. 20605DLLTOOL=$lt_DLLTOOL 20606 20607# Command to associate shared and link libraries. 20608sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 20609 20610# The archiver. 20611AR=$lt_AR 20612 20613# Flags to create an archive. 20614AR_FLAGS=$lt_AR_FLAGS 20615 20616# How to feed a file listing to the archiver. 20617archiver_list_spec=$lt_archiver_list_spec 20618 20619# A symbol stripping program. 20620STRIP=$lt_STRIP 20621 20622# Commands used to install an old-style archive. 20623RANLIB=$lt_RANLIB 20624old_postinstall_cmds=$lt_old_postinstall_cmds 20625old_postuninstall_cmds=$lt_old_postuninstall_cmds 20626 20627# Whether to use a lock for old archive extraction. 20628lock_old_archive_extraction=$lock_old_archive_extraction 20629 20630# A C compiler. 20631LTCC=$lt_CC 20632 20633# LTCC compiler flags. 20634LTCFLAGS=$lt_CFLAGS 20635 20636# Take the output of nm and produce a listing of raw symbols and C names. 20637global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 20638 20639# Transform the output of nm in a proper C declaration. 20640global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 20641 20642# Transform the output of nm into a list of symbols to manually relocate. 20643global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 20644 20645# Transform the output of nm in a C name address pair. 20646global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 20647 20648# Transform the output of nm in a C name address pair when lib prefix is needed. 20649global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 20650 20651# The name lister interface. 20652nm_interface=$lt_lt_cv_nm_interface 20653 20654# Specify filename containing input files for \$NM. 20655nm_file_list_spec=$lt_nm_file_list_spec 20656 20657# The root where to search for dependent libraries,and where our libraries should be installed. 20658lt_sysroot=$lt_sysroot 20659 20660# Command to truncate a binary pipe. 20661lt_truncate_bin=$lt_lt_cv_truncate_bin 20662 20663# The name of the directory that contains temporary libtool files. 20664objdir=$objdir 20665 20666# Used to examine libraries when file_magic_cmd begins with "file". 20667MAGIC_CMD=$MAGIC_CMD 20668 20669# Must we lock files when doing compilation? 20670need_locks=$lt_need_locks 20671 20672# Manifest tool. 20673MANIFEST_TOOL=$lt_MANIFEST_TOOL 20674 20675# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 20676DSYMUTIL=$lt_DSYMUTIL 20677 20678# Tool to change global to local symbols on Mac OS X. 20679NMEDIT=$lt_NMEDIT 20680 20681# Tool to manipulate fat objects and archives on Mac OS X. 20682LIPO=$lt_LIPO 20683 20684# ldd/readelf like tool for Mach-O binaries on Mac OS X. 20685OTOOL=$lt_OTOOL 20686 20687# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 20688OTOOL64=$lt_OTOOL64 20689 20690# Old archive suffix (normally "a"). 20691libext=$libext 20692 20693# Shared library suffix (normally ".so"). 20694shrext_cmds=$lt_shrext_cmds 20695 20696# The commands to extract the exported symbol list from a shared archive. 20697extract_expsyms_cmds=$lt_extract_expsyms_cmds 20698 20699# Variables whose values should be saved in libtool wrapper scripts and 20700# restored at link time. 20701variables_saved_for_relink=$lt_variables_saved_for_relink 20702 20703# Do we need the "lib" prefix for modules? 20704need_lib_prefix=$need_lib_prefix 20705 20706# Do we need a version for libraries? 20707need_version=$need_version 20708 20709# Library versioning type. 20710version_type=$version_type 20711 20712# Shared library runtime path variable. 20713runpath_var=$runpath_var 20714 20715# Shared library path variable. 20716shlibpath_var=$shlibpath_var 20717 20718# Is shlibpath searched before the hard-coded library search path? 20719shlibpath_overrides_runpath=$shlibpath_overrides_runpath 20720 20721# Format of library name prefix. 20722libname_spec=$lt_libname_spec 20723 20724# List of archive names. First name is the real one, the rest are links. 20725# The last name is the one that the linker finds with -lNAME 20726library_names_spec=$lt_library_names_spec 20727 20728# The coded name of the library, if different from the real name. 20729soname_spec=$lt_soname_spec 20730 20731# Permission mode override for installation of shared libraries. 20732install_override_mode=$lt_install_override_mode 20733 20734# Command to use after installation of a shared archive. 20735postinstall_cmds=$lt_postinstall_cmds 20736 20737# Command to use after uninstallation of a shared archive. 20738postuninstall_cmds=$lt_postuninstall_cmds 20739 20740# Commands used to finish a libtool library installation in a directory. 20741finish_cmds=$lt_finish_cmds 20742 20743# As "finish_cmds", except a single script fragment to be evaled but 20744# not shown. 20745finish_eval=$lt_finish_eval 20746 20747# Whether we should hardcode library paths into libraries. 20748hardcode_into_libs=$hardcode_into_libs 20749 20750# Compile-time system search path for libraries. 20751sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 20752 20753# Detected run-time system search path for libraries. 20754sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 20755 20756# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 20757configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 20758 20759# Whether dlopen is supported. 20760dlopen_support=$enable_dlopen 20761 20762# Whether dlopen of programs is supported. 20763dlopen_self=$enable_dlopen_self 20764 20765# Whether dlopen of statically linked programs is supported. 20766dlopen_self_static=$enable_dlopen_self_static 20767 20768# Commands to strip libraries. 20769old_striplib=$lt_old_striplib 20770striplib=$lt_striplib 20771 20772 20773# The linker used to build libraries. 20774LD=$lt_LD 20775 20776# How to create reloadable object files. 20777reload_flag=$lt_reload_flag 20778reload_cmds=$lt_reload_cmds 20779 20780# Commands used to build an old-style archive. 20781old_archive_cmds=$lt_old_archive_cmds 20782 20783# A language specific compiler. 20784CC=$lt_compiler 20785 20786# Is the compiler the GNU compiler? 20787with_gcc=$GCC 20788 20789# Compiler flag to turn off builtin functions. 20790no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 20791 20792# Additional compiler flags for building library objects. 20793pic_flag=$lt_lt_prog_compiler_pic 20794 20795# How to pass a linker flag through the compiler. 20796wl=$lt_lt_prog_compiler_wl 20797 20798# Compiler flag to prevent dynamic linking. 20799link_static_flag=$lt_lt_prog_compiler_static 20800 20801# Does compiler simultaneously support -c and -o options? 20802compiler_c_o=$lt_lt_cv_prog_compiler_c_o 20803 20804# Whether or not to add -lc for building shared libraries. 20805build_libtool_need_lc=$archive_cmds_need_lc 20806 20807# Whether or not to disallow shared libs when runtime libs are static. 20808allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 20809 20810# Compiler flag to allow reflexive dlopens. 20811export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 20812 20813# Compiler flag to generate shared objects directly from archives. 20814whole_archive_flag_spec=$lt_whole_archive_flag_spec 20815 20816# Whether the compiler copes with passing no objects directly. 20817compiler_needs_object=$lt_compiler_needs_object 20818 20819# Create an old-style archive from a shared archive. 20820old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 20821 20822# Create a temporary old-style archive to link instead of a shared archive. 20823old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 20824 20825# Commands used to build a shared archive. 20826archive_cmds=$lt_archive_cmds 20827archive_expsym_cmds=$lt_archive_expsym_cmds 20828 20829# Commands used to build a loadable module if different from building 20830# a shared archive. 20831module_cmds=$lt_module_cmds 20832module_expsym_cmds=$lt_module_expsym_cmds 20833 20834# Whether we are building with GNU ld or not. 20835with_gnu_ld=$lt_with_gnu_ld 20836 20837# Flag that allows shared libraries with undefined symbols to be built. 20838allow_undefined_flag=$lt_allow_undefined_flag 20839 20840# Flag that enforces no undefined symbols. 20841no_undefined_flag=$lt_no_undefined_flag 20842 20843# Flag to hardcode \$libdir into a binary during linking. 20844# This must work even if \$libdir does not exist 20845hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 20846 20847# Whether we need a single "-rpath" flag with a separated argument. 20848hardcode_libdir_separator=$lt_hardcode_libdir_separator 20849 20850# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20851# DIR into the resulting binary. 20852hardcode_direct=$hardcode_direct 20853 20854# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20855# DIR into the resulting binary and the resulting library dependency is 20856# "absolute",i.e impossible to change by setting \$shlibpath_var if the 20857# library is relocated. 20858hardcode_direct_absolute=$hardcode_direct_absolute 20859 20860# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20861# into the resulting binary. 20862hardcode_minus_L=$hardcode_minus_L 20863 20864# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 20865# into the resulting binary. 20866hardcode_shlibpath_var=$hardcode_shlibpath_var 20867 20868# Set to "yes" if building a shared library automatically hardcodes DIR 20869# into the library and all subsequent libraries and executables linked 20870# against it. 20871hardcode_automatic=$hardcode_automatic 20872 20873# Set to yes if linker adds runtime paths of dependent libraries 20874# to runtime path list. 20875inherit_rpath=$inherit_rpath 20876 20877# Whether libtool must link a program against all its dependency libraries. 20878link_all_deplibs=$link_all_deplibs 20879 20880# Set to "yes" if exported symbols are required. 20881always_export_symbols=$always_export_symbols 20882 20883# The commands to list exported symbols. 20884export_symbols_cmds=$lt_export_symbols_cmds 20885 20886# Symbols that should not be listed in the preloaded symbols. 20887exclude_expsyms=$lt_exclude_expsyms 20888 20889# Symbols that must always be exported. 20890include_expsyms=$lt_include_expsyms 20891 20892# Commands necessary for linking programs (against libraries) with templates. 20893prelink_cmds=$lt_prelink_cmds 20894 20895# Commands necessary for finishing linking programs. 20896postlink_cmds=$lt_postlink_cmds 20897 20898# Specify filename containing input files. 20899file_list_spec=$lt_file_list_spec 20900 20901# How to hardcode a shared library path into an executable. 20902hardcode_action=$hardcode_action 20903 20904# ### END LIBTOOL CONFIG 20905 20906_LT_EOF 20907 20908 cat <<'_LT_EOF' >> "$cfgfile" 20909 20910# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 20911 20912# func_munge_path_list VARIABLE PATH 20913# ----------------------------------- 20914# VARIABLE is name of variable containing _space_ separated list of 20915# directories to be munged by the contents of PATH, which is string 20916# having a format: 20917# "DIR[:DIR]:" 20918# string "DIR[ DIR]" will be prepended to VARIABLE 20919# ":DIR[:DIR]" 20920# string "DIR[ DIR]" will be appended to VARIABLE 20921# "DIRP[:DIRP]::[DIRA:]DIRA" 20922# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 20923# "DIRA[ DIRA]" will be appended to VARIABLE 20924# "DIR[:DIR]" 20925# VARIABLE will be replaced by "DIR[ DIR]" 20926func_munge_path_list () 20927{ 20928 case x$2 in 20929 x) 20930 ;; 20931 *:) 20932 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 20933 ;; 20934 x:*) 20935 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 20936 ;; 20937 *::*) 20938 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 20939 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 20940 ;; 20941 *) 20942 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 20943 ;; 20944 esac 20945} 20946 20947 20948# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 20949func_cc_basename () 20950{ 20951 for cc_temp in $*""; do 20952 case $cc_temp in 20953 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 20954 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 20955 \-*) ;; 20956 *) break;; 20957 esac 20958 done 20959 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 20960} 20961 20962 20963# ### END FUNCTIONS SHARED WITH CONFIGURE 20964 20965_LT_EOF 20966 20967 case $host_os in 20968 aix3*) 20969 cat <<\_LT_EOF >> "$cfgfile" 20970# AIX sometimes has problems with the GCC collect2 program. For some 20971# reason, if we set the COLLECT_NAMES environment variable, the problems 20972# vanish in a puff of smoke. 20973if test set != "${COLLECT_NAMES+set}"; then 20974 COLLECT_NAMES= 20975 export COLLECT_NAMES 20976fi 20977_LT_EOF 20978 ;; 20979 esac 20980 20981 20982ltmain=$ac_aux_dir/ltmain.sh 20983 20984 20985 # We use sed instead of cat because bash on DJGPP gets confused if 20986 # if finds mixed CR/LF and LF-only lines. Since sed operates in 20987 # text mode, it properly converts lines to CR/LF. This bash problem 20988 # is reportedly fixed, but why not run on old versions too? 20989 sed '$q' "$ltmain" >> "$cfgfile" \ 20990 || (rm -f "$cfgfile"; exit 1) 20991 20992 mv -f "$cfgfile" "$ofile" || 20993 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 20994 chmod +x "$ofile" 20995 20996 ;; 20997 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 20998 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 20999 esac ;; 21000 "po/stamp-it":C) 21001 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 21002 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 21003 fi 21004 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 21005 >"po/stamp-it.tmp" 21006 sed '/^#/d 21007 s/^[[].*] *// 21008 /^[ ]*$/d 21009 '"s|^| $ac_top_srcdir/|" \ 21010 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 21011 21012 sed '/^POTFILES =/,/[^\\]$/ { 21013 /^POTFILES =/!d 21014 r po/POTFILES 21015 } 21016 ' "po/Makefile.in" >"po/Makefile" 21017 rm -f "po/Makefile.tmp" 21018 mv "po/stamp-it.tmp" "po/stamp-it" 21019 ;; 21020 21021 esac 21022done # for ac_tag 21023 21024 21025as_fn_exit 0 21026_ACEOF 21027ac_clean_files=$ac_clean_files_save 21028 21029test $ac_write_fail = 0 || 21030 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 21031 21032 21033# configure is writing to config.log, and then calls config.status. 21034# config.status does its own redirection, appending to config.log. 21035# Unfortunately, on DOS this fails, as config.log is still kept open 21036# by configure, so config.status won't be able to write to it; its 21037# output is simply discarded. So we exec the FD to /dev/null, 21038# effectively closing config.log, so it can be properly (re)opened and 21039# appended to by config.status. When coming back to configure, we 21040# need to make the FD available again. 21041if test "$no_create" != yes; then 21042 ac_cs_success=: 21043 ac_config_status_args= 21044 test "$silent" = yes && 21045 ac_config_status_args="$ac_config_status_args --quiet" 21046 exec 5>/dev/null 21047 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 21048 exec 5>>config.log 21049 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 21050 # would make configure fail if this is the last instruction. 21051 $ac_cs_success || as_fn_exit 1 21052fi 21053if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 21054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 21055$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 21056fi 21057 21058 21059echo 21060echo "Build Configuration:" 21061echo 21062echo " * Debug: $enable_debug" 21063echo 21064echo "Plugins:" 21065echo 21066if test x"$ac_tumbler_pixbuf_thumbnailer" = x"yes"; then 21067echo " * GdkPixbuf thumbnailer plugin: yes" 21068else 21069echo " * GdkPixbuf thumbnailer plugin: no" 21070fi 21071if test x"$ac_tumbler_cover_thumbnailer" = x"yes"; then 21072echo " * Cover thumbnailer plugin: yes" 21073else 21074echo " * Cover thumbnailer plugin: no" 21075fi 21076if test x"$ac_tumbler_font_thumbnailer" = x"yes"; then 21077echo " * FreeType font thumbnailer plugin: yes" 21078else 21079echo " * FreeType font thumbnailer plugin: no" 21080fi 21081if test x"$ac_tumbler_jpeg_thumbnailer" = x"yes"; then 21082echo " * JPEG thumbnailer plugin with EXIF support: yes" 21083else 21084echo " * JPEG thumbnailer plugin with EXIF support: no" 21085fi 21086if test x"$ac_tumbler_ffmpeg_thumbnailer" = x"yes"; then 21087echo " * Video thumbnailer plugin using ffmpegthumbnailer: yes" 21088else 21089echo " * Video thumbnailer plugin using ffmpegthumbnailer: no" 21090fi 21091if test x"$ac_tumbler_gstreamer_thumbnailer" = x"yes"; then 21092echo " * Video thumbnailer plugin using GStreamer: yes" 21093else 21094echo " * Video thumbnailer plugin using GStreamer: no" 21095fi 21096if test x"$ac_tumbler_odf_thumbnailer" = x"yes"; then 21097echo " * ODF thumbnailer plugin using libgsf: yes" 21098else 21099echo " * ODF thumbnailer plugin using libgsf: no" 21100fi 21101if test x"$ac_tumbler_poppler_thumbnailer" = x"yes"; then 21102echo " * PDF/PS thumbnailer plugin using poppler: yes" 21103else 21104echo " * PDF/PS thumbnailer plugin using poppler: no" 21105fi 21106if test x"$ac_tumbler_raw_thumbnailer" = x"yes"; then 21107echo " * RAW thumbnailer plugin using libopenraw: yes" 21108else 21109echo " * RAW thumbnailer plugin using libopenraw: no" 21110fi 21111if test x"$ac_tumbler_xdg_cache" = x"yes"; then 21112echo " * Freedesktop.org cache plugin: yes" 21113else 21114echo " * Freedesktop.org cache plugin: no" 21115fi 21116if test x"$ac_tumbler_desktop_thumbnailer" = x"yes"; then 21117echo " * Loading thumbnailers from .thumbnailer files: yes" 21118else 21119echo " * Loading thumbnailers from .thumbnailer files: no" 21120fi 21121if test x"$ac_tumbler_gepub_thumbnailer" = x"yes"; then 21122echo " * EPUB thumbnailer using libgepub: yes" 21123else 21124echo " * EPUB thumbnailer using libgepub: no" 21125fi 21126echo 21127