1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for brasero 3.12.3. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='brasero' 589PACKAGE_TARNAME='brasero' 590PACKAGE_VERSION='3.12.3' 591PACKAGE_STRING='brasero 3.12.3' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595ac_unique_file="src/main.c" 596# Factoring default headers for most tests. 597ac_includes_default="\ 598#include <stdio.h> 599#ifdef HAVE_SYS_TYPES_H 600# include <sys/types.h> 601#endif 602#ifdef HAVE_SYS_STAT_H 603# include <sys/stat.h> 604#endif 605#ifdef STDC_HEADERS 606# include <stdlib.h> 607# include <stddef.h> 608#else 609# ifdef HAVE_STDLIB_H 610# include <stdlib.h> 611# endif 612#endif 613#ifdef HAVE_STRING_H 614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 615# include <memory.h> 616# endif 617# include <string.h> 618#endif 619#ifdef HAVE_STRINGS_H 620# include <strings.h> 621#endif 622#ifdef HAVE_INTTYPES_H 623# include <inttypes.h> 624#endif 625#ifdef HAVE_STDINT_H 626# include <stdint.h> 627#endif 628#ifdef HAVE_UNISTD_H 629# include <unistd.h> 630#endif" 631 632ac_subst_vars='am__EXEEXT_FALSE 633am__EXEEXT_TRUE 634LTLIBOBJS 635LIBOBJS 636ALL_LINGUAS 637INTLTOOL_PERL 638MSGMERGE 639INTLTOOL_POLICY_RULE 640INTLTOOL_SERVICE_RULE 641INTLTOOL_THEME_RULE 642INTLTOOL_SCHEMAS_RULE 643INTLTOOL_CAVES_RULE 644INTLTOOL_XML_NOMERGE_RULE 645INTLTOOL_XML_RULE 646INTLTOOL_KBD_RULE 647INTLTOOL_XAM_RULE 648INTLTOOL_UI_RULE 649INTLTOOL_SOUNDLIST_RULE 650INTLTOOL_SHEET_RULE 651INTLTOOL_SERVER_RULE 652INTLTOOL_PONG_RULE 653INTLTOOL_OAF_RULE 654INTLTOOL_PROP_RULE 655INTLTOOL_KEYS_RULE 656INTLTOOL_DIRECTORY_RULE 657INTLTOOL_DESKTOP_RULE 658intltool__v_merge_options_0 659intltool__v_merge_options_ 660INTLTOOL_V_MERGE_OPTIONS 661INTLTOOL__v_MERGE_0 662INTLTOOL__v_MERGE_ 663INTLTOOL_V_MERGE 664INTLTOOL_EXTRACT 665INTLTOOL_MERGE 666INTLTOOL_UPDATE 667GETTEXT_PACKAGE 668UPDATE_CACHES_FALSE 669UPDATE_CACHES_TRUE 670HAVE_INTROSPECTION_FALSE 671HAVE_INTROSPECTION_TRUE 672INTROSPECTION_MAKEFILE 673INTROSPECTION_LIBS 674INTROSPECTION_CFLAGS 675INTROSPECTION_TYPELIBDIR 676INTROSPECTION_GIRDIR 677INTROSPECTION_GENERATE 678INTROSPECTION_COMPILER 679INTROSPECTION_SCANNER 680_GI_EXP_LIBDIR 681_GI_EXP_DATADIR 682BUILD_INOTIFY_FALSE 683BUILD_INOTIFY_TRUE 684BUILD_PREVIEW_FALSE 685BUILD_PREVIEW_TRUE 686BRASERO_GSTREAMER_BASE_LIBS 687BRASERO_GSTREAMER_BASE_CFLAGS 688BUILD_PLAYLIST_FALSE 689BUILD_PLAYLIST_TRUE 690BRASERO_PL_PARSER_LIBS 691BRASERO_PL_PARSER_CFLAGS 692BUILD_TRACKER_FALSE 693BUILD_TRACKER_TRUE 694BUILD_SEARCH_FALSE 695BUILD_SEARCH_TRUE 696BRASERO_SEARCH_LIBS 697BRASERO_SEARCH_CFLAGS 698BUILD_GROWISOFS_FALSE 699BUILD_GROWISOFS_TRUE 700BUILD_CDRKIT_FALSE 701BUILD_CDRKIT_TRUE 702BUILD_CDRDAO_FALSE 703BUILD_CDRDAO_TRUE 704BUILD_CDRTOOLS_FALSE 705BUILD_CDRTOOLS_TRUE 706BUILD_LIBBURNIA_FALSE 707BUILD_LIBBURNIA_TRUE 708BRASERO_LIBBURNIA_LIBS 709BRASERO_LIBBURNIA_CFLAGS 710LIBBURNIA_LIBS 711LIBBURNIA_CFLAGS 712BRASERO_PLUGIN_DIRECTORY 713BUILD_NAUTILUS_FALSE 714BUILD_NAUTILUS_TRUE 715MKINSTALLDIRS 716POSUB 717POFILES 718PO_IN_DATADIR_FALSE 719PO_IN_DATADIR_TRUE 720INTLLIBS 721INSTOBJEXT 722GMOFILES 723DATADIRNAME 724CATOBJEXT 725CATALOGS 726XGETTEXT 727GMSGFMT 728MSGFMT_OPTS 729MSGFMT 730INTL_MACOSX_LIBS 731USE_NLS 732NAUTILUSDIR 733NAUTILUS_EXTENSION_LIBS 734NAUTILUS_EXTENSION_CFLAGS 735BRASERO_CANBERRA_LIBS 736BRASERO_CANBERRA_CFLAGS 737BRASERO_LIBNOTIFY_LIBS 738BRASERO_LIBNOTIFY_CFLAGS 739BRASERO_GTK_LIBS 740BRASERO_GTK_CFLAGS 741LIBM 742BRASERO_SM_LIBS 743BRASERO_SM_CFLAGS 744BRASERO_GMODULE_EXPORT_LIBS 745BRASERO_GMODULE_EXPORT_CFLAGS 746BRASERO_GMODULE_LIBS 747BRASERO_GMODULE_CFLAGS 748BRASERO_GLIB_LIBS 749BRASERO_GLIB_CFLAGS 750BRASERO_GTHREAD_LIBS 751BRASERO_GTHREAD_CFLAGS 752BRASERO_LIBXML_LIBS 753BRASERO_LIBXML_CFLAGS 754BRASERO_GIO_LIBS 755BRASERO_GIO_CFLAGS 756BRASERO_GSTREAMER_LIBS 757BRASERO_GSTREAMER_CFLAGS 758HAVE_SCSIIO_H_FALSE 759HAVE_SCSIIO_H_TRUE 760HAVE_USCSI_H_FALSE 761HAVE_USCSI_H_TRUE 762HAVE_SG_IO_HDR_T_FALSE 763HAVE_SG_IO_HDR_T_TRUE 764HAVE_CAM_LIB_H_FALSE 765HAVE_CAM_LIB_H_TRUE 766BRASERO_SCSI_LIBS 767DISABLE_DEPRECATED 768WARN_CXXFLAGS 769WARN_CFLAGS 770GTK_DOC_USE_REBASE_FALSE 771GTK_DOC_USE_REBASE_TRUE 772GTK_DOC_USE_LIBTOOL_FALSE 773GTK_DOC_USE_LIBTOOL_TRUE 774GTK_DOC_BUILD_PDF_FALSE 775GTK_DOC_BUILD_PDF_TRUE 776GTK_DOC_BUILD_HTML_FALSE 777GTK_DOC_BUILD_HTML_TRUE 778ENABLE_GTK_DOC_FALSE 779ENABLE_GTK_DOC_TRUE 780HAVE_GTK_DOC_FALSE 781HAVE_GTK_DOC_TRUE 782GTKDOC_DEPS_LIBS 783GTKDOC_DEPS_CFLAGS 784HTML_DIR 785GTKDOC_MKPDF 786GTKDOC_REBASE 787GTKDOC_CHECK_PATH 788GTKDOC_CHECK 789YELP_HELP_RULES 790XMLLINT 791ITSTOOL 792HELP_DIR 793YELP_LC_DIST 794YELP_LC_MEDIA_LINKS 795GSETTINGS_RULES 796GLIB_COMPILE_SCHEMAS 797gsettingsschemadir 798PKG_CONFIG_LIBDIR 799PKG_CONFIG_PATH 800PKG_CONFIG 801GSETTINGS_DISABLE_SCHEMAS_COMPILE 802MAINT 803MAINTAINER_MODE_FALSE 804MAINTAINER_MODE_TRUE 805CPP 806LT_SYS_LIBRARY_PATH 807OTOOL64 808OTOOL 809LIPO 810NMEDIT 811DSYMUTIL 812MANIFEST_TOOL 813RANLIB 814ac_ct_AR 815AR 816DLLTOOL 817OBJDUMP 818LN_S 819NM 820ac_ct_DUMPBIN 821DUMPBIN 822LD 823FGREP 824EGREP 825GREP 826SED 827am__fastdepCC_FALSE 828am__fastdepCC_TRUE 829CCDEPMODE 830am__nodep 831AMDEPBACKSLASH 832AMDEP_FALSE 833AMDEP_TRUE 834am__include 835DEPDIR 836OBJEXT 837EXEEXT 838ac_ct_CC 839CPPFLAGS 840LDFLAGS 841CFLAGS 842CC 843host_os 844host_vendor 845host_cpu 846host 847build_os 848build_vendor 849build_cpu 850build 851LIBTOOL 852AM_BACKSLASH 853AM_DEFAULT_VERBOSITY 854AM_DEFAULT_V 855AM_V 856am__untar 857am__tar 858AMTAR 859am__leading_dot 860SET_MAKE 861AWK 862mkdir_p 863MKDIR_P 864INSTALL_STRIP_PROGRAM 865STRIP 866install_sh 867MAKEINFO 868AUTOHEADER 869AUTOMAKE 870AUTOCONF 871ACLOCAL 872VERSION 873PACKAGE 874CYGPATH_W 875am__isrc 876INSTALL_DATA 877INSTALL_SCRIPT 878INSTALL_PROGRAM 879TYPELIB_MIN_VERSION 880LIBBRASERO_LT_VERSION 881LT_AGE 882LT_REVISION 883LT_CURRENT 884BRASERO_VERSION 885BRASERO_SUB 886BRASERO_MINOR_VERSION 887BRASERO_MAJOR_VERSION 888target_alias 889host_alias 890build_alias 891LIBS 892ECHO_T 893ECHO_N 894ECHO_C 895DEFS 896mandir 897localedir 898libdir 899psdir 900pdfdir 901dvidir 902htmldir 903infodir 904docdir 905oldincludedir 906includedir 907runstatedir 908localstatedir 909sharedstatedir 910sysconfdir 911datadir 912datarootdir 913libexecdir 914sbindir 915bindir 916program_transform_name 917prefix 918exec_prefix 919PACKAGE_URL 920PACKAGE_BUGREPORT 921PACKAGE_STRING 922PACKAGE_VERSION 923PACKAGE_TARNAME 924PACKAGE_NAME 925PATH_SEPARATOR 926SHELL 927am__quote' 928ac_subst_files='' 929ac_user_opts=' 930enable_option_checking 931enable_silent_rules 932enable_static 933enable_shared 934with_pic 935enable_fast_install 936with_aix_soname 937enable_dependency_tracking 938with_gnu_ld 939with_sysroot 940enable_libtool_lock 941enable_maintainer_mode 942enable_schemas_compile 943with_help_dir 944with_html_dir 945enable_gtk_doc 946enable_gtk_doc_html 947enable_gtk_doc_pdf 948enable_compile_warnings 949enable_iso_c 950enable_cxx_warnings 951enable_iso_cxx 952enable_largefile 953enable_nautilus 954with_nautilusdir 955enable_libburnia 956enable_cdrtools 957enable_cdrdao 958enable_cdrkit 959enable_growisofs 960enable_search 961enable_playlist 962enable_preview 963enable_inotify 964enable_introspection 965enable_caches 966enable_nls 967' 968 ac_precious_vars='build_alias 969host_alias 970target_alias 971CC 972CFLAGS 973LDFLAGS 974LIBS 975CPPFLAGS 976LT_SYS_LIBRARY_PATH 977CPP 978PKG_CONFIG 979PKG_CONFIG_PATH 980PKG_CONFIG_LIBDIR 981GLIB_COMPILE_SCHEMAS 982ITSTOOL 983XMLLINT 984GTKDOC_DEPS_CFLAGS 985GTKDOC_DEPS_LIBS 986BRASERO_GSTREAMER_CFLAGS 987BRASERO_GSTREAMER_LIBS 988BRASERO_GIO_CFLAGS 989BRASERO_GIO_LIBS 990BRASERO_LIBXML_CFLAGS 991BRASERO_LIBXML_LIBS 992BRASERO_GTHREAD_CFLAGS 993BRASERO_GTHREAD_LIBS 994BRASERO_GLIB_CFLAGS 995BRASERO_GLIB_LIBS 996BRASERO_GMODULE_CFLAGS 997BRASERO_GMODULE_LIBS 998BRASERO_GMODULE_EXPORT_CFLAGS 999BRASERO_GMODULE_EXPORT_LIBS 1000BRASERO_SM_CFLAGS 1001BRASERO_SM_LIBS 1002BRASERO_GTK_CFLAGS 1003BRASERO_GTK_LIBS 1004BRASERO_LIBNOTIFY_CFLAGS 1005BRASERO_LIBNOTIFY_LIBS 1006BRASERO_CANBERRA_CFLAGS 1007BRASERO_CANBERRA_LIBS 1008NAUTILUS_EXTENSION_CFLAGS 1009NAUTILUS_EXTENSION_LIBS 1010LIBBURNIA_CFLAGS 1011LIBBURNIA_LIBS 1012BRASERO_SEARCH_CFLAGS 1013BRASERO_SEARCH_LIBS 1014BRASERO_PL_PARSER_CFLAGS 1015BRASERO_PL_PARSER_LIBS 1016BRASERO_GSTREAMER_BASE_CFLAGS 1017BRASERO_GSTREAMER_BASE_LIBS' 1018 1019 1020# Initialize some variables set by options. 1021ac_init_help= 1022ac_init_version=false 1023ac_unrecognized_opts= 1024ac_unrecognized_sep= 1025# The variables have the same names as the options, with 1026# dashes changed to underlines. 1027cache_file=/dev/null 1028exec_prefix=NONE 1029no_create= 1030no_recursion= 1031prefix=NONE 1032program_prefix=NONE 1033program_suffix=NONE 1034program_transform_name=s,x,x, 1035silent= 1036site= 1037srcdir= 1038verbose= 1039x_includes=NONE 1040x_libraries=NONE 1041 1042# Installation directory options. 1043# These are left unexpanded so users can "make install exec_prefix=/foo" 1044# and all the variables that are supposed to be based on exec_prefix 1045# by default will actually change. 1046# Use braces instead of parens because sh, perl, etc. also accept them. 1047# (The list follows the same order as the GNU Coding Standards.) 1048bindir='${exec_prefix}/bin' 1049sbindir='${exec_prefix}/sbin' 1050libexecdir='${exec_prefix}/libexec' 1051datarootdir='${prefix}/share' 1052datadir='${datarootdir}' 1053sysconfdir='${prefix}/etc' 1054sharedstatedir='${prefix}/com' 1055localstatedir='${prefix}/var' 1056runstatedir='${localstatedir}/run' 1057includedir='${prefix}/include' 1058oldincludedir='/usr/include' 1059docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1060infodir='${datarootdir}/info' 1061htmldir='${docdir}' 1062dvidir='${docdir}' 1063pdfdir='${docdir}' 1064psdir='${docdir}' 1065libdir='${exec_prefix}/lib' 1066localedir='${datarootdir}/locale' 1067mandir='${datarootdir}/man' 1068 1069ac_prev= 1070ac_dashdash= 1071for ac_option 1072do 1073 # If the previous option needs an argument, assign it. 1074 if test -n "$ac_prev"; then 1075 eval $ac_prev=\$ac_option 1076 ac_prev= 1077 continue 1078 fi 1079 1080 case $ac_option in 1081 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1082 *=) ac_optarg= ;; 1083 *) ac_optarg=yes ;; 1084 esac 1085 1086 # Accept the important Cygnus configure options, so we can diagnose typos. 1087 1088 case $ac_dashdash$ac_option in 1089 --) 1090 ac_dashdash=yes ;; 1091 1092 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1093 ac_prev=bindir ;; 1094 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1095 bindir=$ac_optarg ;; 1096 1097 -build | --build | --buil | --bui | --bu) 1098 ac_prev=build_alias ;; 1099 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1100 build_alias=$ac_optarg ;; 1101 1102 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1103 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1104 ac_prev=cache_file ;; 1105 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1106 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1107 cache_file=$ac_optarg ;; 1108 1109 --config-cache | -C) 1110 cache_file=config.cache ;; 1111 1112 -datadir | --datadir | --datadi | --datad) 1113 ac_prev=datadir ;; 1114 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1115 datadir=$ac_optarg ;; 1116 1117 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1118 | --dataroo | --dataro | --datar) 1119 ac_prev=datarootdir ;; 1120 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1121 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1122 datarootdir=$ac_optarg ;; 1123 1124 -disable-* | --disable-*) 1125 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1126 # Reject names that are not valid shell variable names. 1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1128 as_fn_error $? "invalid feature name: $ac_useropt" 1129 ac_useropt_orig=$ac_useropt 1130 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1131 case $ac_user_opts in 1132 *" 1133"enable_$ac_useropt" 1134"*) ;; 1135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1136 ac_unrecognized_sep=', ';; 1137 esac 1138 eval enable_$ac_useropt=no ;; 1139 1140 -docdir | --docdir | --docdi | --doc | --do) 1141 ac_prev=docdir ;; 1142 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1143 docdir=$ac_optarg ;; 1144 1145 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1146 ac_prev=dvidir ;; 1147 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1148 dvidir=$ac_optarg ;; 1149 1150 -enable-* | --enable-*) 1151 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1152 # Reject names that are not valid shell variable names. 1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1154 as_fn_error $? "invalid feature name: $ac_useropt" 1155 ac_useropt_orig=$ac_useropt 1156 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1157 case $ac_user_opts in 1158 *" 1159"enable_$ac_useropt" 1160"*) ;; 1161 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1162 ac_unrecognized_sep=', ';; 1163 esac 1164 eval enable_$ac_useropt=\$ac_optarg ;; 1165 1166 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1167 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1168 | --exec | --exe | --ex) 1169 ac_prev=exec_prefix ;; 1170 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1171 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1172 | --exec=* | --exe=* | --ex=*) 1173 exec_prefix=$ac_optarg ;; 1174 1175 -gas | --gas | --ga | --g) 1176 # Obsolete; use --with-gas. 1177 with_gas=yes ;; 1178 1179 -help | --help | --hel | --he | -h) 1180 ac_init_help=long ;; 1181 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1182 ac_init_help=recursive ;; 1183 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1184 ac_init_help=short ;; 1185 1186 -host | --host | --hos | --ho) 1187 ac_prev=host_alias ;; 1188 -host=* | --host=* | --hos=* | --ho=*) 1189 host_alias=$ac_optarg ;; 1190 1191 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1192 ac_prev=htmldir ;; 1193 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1194 | --ht=*) 1195 htmldir=$ac_optarg ;; 1196 1197 -includedir | --includedir | --includedi | --included | --include \ 1198 | --includ | --inclu | --incl | --inc) 1199 ac_prev=includedir ;; 1200 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1201 | --includ=* | --inclu=* | --incl=* | --inc=*) 1202 includedir=$ac_optarg ;; 1203 1204 -infodir | --infodir | --infodi | --infod | --info | --inf) 1205 ac_prev=infodir ;; 1206 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1207 infodir=$ac_optarg ;; 1208 1209 -libdir | --libdir | --libdi | --libd) 1210 ac_prev=libdir ;; 1211 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1212 libdir=$ac_optarg ;; 1213 1214 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1215 | --libexe | --libex | --libe) 1216 ac_prev=libexecdir ;; 1217 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1218 | --libexe=* | --libex=* | --libe=*) 1219 libexecdir=$ac_optarg ;; 1220 1221 -localedir | --localedir | --localedi | --localed | --locale) 1222 ac_prev=localedir ;; 1223 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1224 localedir=$ac_optarg ;; 1225 1226 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1227 | --localstate | --localstat | --localsta | --localst | --locals) 1228 ac_prev=localstatedir ;; 1229 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1230 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1231 localstatedir=$ac_optarg ;; 1232 1233 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1234 ac_prev=mandir ;; 1235 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1236 mandir=$ac_optarg ;; 1237 1238 -nfp | --nfp | --nf) 1239 # Obsolete; use --without-fp. 1240 with_fp=no ;; 1241 1242 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1243 | --no-cr | --no-c | -n) 1244 no_create=yes ;; 1245 1246 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1247 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1248 no_recursion=yes ;; 1249 1250 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1251 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1252 | --oldin | --oldi | --old | --ol | --o) 1253 ac_prev=oldincludedir ;; 1254 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1255 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1256 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1257 oldincludedir=$ac_optarg ;; 1258 1259 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1260 ac_prev=prefix ;; 1261 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1262 prefix=$ac_optarg ;; 1263 1264 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1265 | --program-pre | --program-pr | --program-p) 1266 ac_prev=program_prefix ;; 1267 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1268 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1269 program_prefix=$ac_optarg ;; 1270 1271 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1272 | --program-suf | --program-su | --program-s) 1273 ac_prev=program_suffix ;; 1274 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1275 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1276 program_suffix=$ac_optarg ;; 1277 1278 -program-transform-name | --program-transform-name \ 1279 | --program-transform-nam | --program-transform-na \ 1280 | --program-transform-n | --program-transform- \ 1281 | --program-transform | --program-transfor \ 1282 | --program-transfo | --program-transf \ 1283 | --program-trans | --program-tran \ 1284 | --progr-tra | --program-tr | --program-t) 1285 ac_prev=program_transform_name ;; 1286 -program-transform-name=* | --program-transform-name=* \ 1287 | --program-transform-nam=* | --program-transform-na=* \ 1288 | --program-transform-n=* | --program-transform-=* \ 1289 | --program-transform=* | --program-transfor=* \ 1290 | --program-transfo=* | --program-transf=* \ 1291 | --program-trans=* | --program-tran=* \ 1292 | --progr-tra=* | --program-tr=* | --program-t=*) 1293 program_transform_name=$ac_optarg ;; 1294 1295 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1296 ac_prev=pdfdir ;; 1297 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1298 pdfdir=$ac_optarg ;; 1299 1300 -psdir | --psdir | --psdi | --psd | --ps) 1301 ac_prev=psdir ;; 1302 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1303 psdir=$ac_optarg ;; 1304 1305 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1306 | -silent | --silent | --silen | --sile | --sil) 1307 silent=yes ;; 1308 1309 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1310 | --runstate | --runstat | --runsta | --runst | --runs \ 1311 | --run | --ru | --r) 1312 ac_prev=runstatedir ;; 1313 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1314 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1315 | --run=* | --ru=* | --r=*) 1316 runstatedir=$ac_optarg ;; 1317 1318 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1319 ac_prev=sbindir ;; 1320 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1321 | --sbi=* | --sb=*) 1322 sbindir=$ac_optarg ;; 1323 1324 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1325 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1326 | --sharedst | --shareds | --shared | --share | --shar \ 1327 | --sha | --sh) 1328 ac_prev=sharedstatedir ;; 1329 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1330 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1331 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1332 | --sha=* | --sh=*) 1333 sharedstatedir=$ac_optarg ;; 1334 1335 -site | --site | --sit) 1336 ac_prev=site ;; 1337 -site=* | --site=* | --sit=*) 1338 site=$ac_optarg ;; 1339 1340 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1341 ac_prev=srcdir ;; 1342 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1343 srcdir=$ac_optarg ;; 1344 1345 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1346 | --syscon | --sysco | --sysc | --sys | --sy) 1347 ac_prev=sysconfdir ;; 1348 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1349 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1350 sysconfdir=$ac_optarg ;; 1351 1352 -target | --target | --targe | --targ | --tar | --ta | --t) 1353 ac_prev=target_alias ;; 1354 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1355 target_alias=$ac_optarg ;; 1356 1357 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1358 verbose=yes ;; 1359 1360 -version | --version | --versio | --versi | --vers | -V) 1361 ac_init_version=: ;; 1362 1363 -with-* | --with-*) 1364 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1365 # Reject names that are not valid shell variable names. 1366 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1367 as_fn_error $? "invalid package name: $ac_useropt" 1368 ac_useropt_orig=$ac_useropt 1369 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1370 case $ac_user_opts in 1371 *" 1372"with_$ac_useropt" 1373"*) ;; 1374 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1375 ac_unrecognized_sep=', ';; 1376 esac 1377 eval with_$ac_useropt=\$ac_optarg ;; 1378 1379 -without-* | --without-*) 1380 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1381 # Reject names that are not valid shell variable names. 1382 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1383 as_fn_error $? "invalid package name: $ac_useropt" 1384 ac_useropt_orig=$ac_useropt 1385 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1386 case $ac_user_opts in 1387 *" 1388"with_$ac_useropt" 1389"*) ;; 1390 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1391 ac_unrecognized_sep=', ';; 1392 esac 1393 eval with_$ac_useropt=no ;; 1394 1395 --x) 1396 # Obsolete; use --with-x. 1397 with_x=yes ;; 1398 1399 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1400 | --x-incl | --x-inc | --x-in | --x-i) 1401 ac_prev=x_includes ;; 1402 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1403 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1404 x_includes=$ac_optarg ;; 1405 1406 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1407 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1408 ac_prev=x_libraries ;; 1409 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1410 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1411 x_libraries=$ac_optarg ;; 1412 1413 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1414Try \`$0 --help' for more information" 1415 ;; 1416 1417 *=*) 1418 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1419 # Reject names that are not valid shell variable names. 1420 case $ac_envvar in #( 1421 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1422 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1423 esac 1424 eval $ac_envvar=\$ac_optarg 1425 export $ac_envvar ;; 1426 1427 *) 1428 # FIXME: should be removed in autoconf 3.0. 1429 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1430 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1431 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1432 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1433 ;; 1434 1435 esac 1436done 1437 1438if test -n "$ac_prev"; then 1439 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1440 as_fn_error $? "missing argument to $ac_option" 1441fi 1442 1443if test -n "$ac_unrecognized_opts"; then 1444 case $enable_option_checking in 1445 no) ;; 1446 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1447 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1448 esac 1449fi 1450 1451# Check all directory arguments for consistency. 1452for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1453 datadir sysconfdir sharedstatedir localstatedir includedir \ 1454 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1455 libdir localedir mandir runstatedir 1456do 1457 eval ac_val=\$$ac_var 1458 # Remove trailing slashes. 1459 case $ac_val in 1460 */ ) 1461 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1462 eval $ac_var=\$ac_val;; 1463 esac 1464 # Be sure to have absolute directory names. 1465 case $ac_val in 1466 [\\/$]* | ?:[\\/]* ) continue;; 1467 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1468 esac 1469 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1470done 1471 1472# There might be people who depend on the old broken behavior: `$host' 1473# used to hold the argument of --host etc. 1474# FIXME: To remove some day. 1475build=$build_alias 1476host=$host_alias 1477target=$target_alias 1478 1479# FIXME: To remove some day. 1480if test "x$host_alias" != x; then 1481 if test "x$build_alias" = x; then 1482 cross_compiling=maybe 1483 elif test "x$build_alias" != "x$host_alias"; then 1484 cross_compiling=yes 1485 fi 1486fi 1487 1488ac_tool_prefix= 1489test -n "$host_alias" && ac_tool_prefix=$host_alias- 1490 1491test "$silent" = yes && exec 6>/dev/null 1492 1493 1494ac_pwd=`pwd` && test -n "$ac_pwd" && 1495ac_ls_di=`ls -di .` && 1496ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1497 as_fn_error $? "working directory cannot be determined" 1498test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1499 as_fn_error $? "pwd does not report name of working directory" 1500 1501 1502# Find the source files, if location was not specified. 1503if test -z "$srcdir"; then 1504 ac_srcdir_defaulted=yes 1505 # Try the directory containing this script, then the parent directory. 1506 ac_confdir=`$as_dirname -- "$as_myself" || 1507$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1508 X"$as_myself" : 'X\(//\)[^/]' \| \ 1509 X"$as_myself" : 'X\(//\)$' \| \ 1510 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1511$as_echo X"$as_myself" | 1512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1513 s//\1/ 1514 q 1515 } 1516 /^X\(\/\/\)[^/].*/{ 1517 s//\1/ 1518 q 1519 } 1520 /^X\(\/\/\)$/{ 1521 s//\1/ 1522 q 1523 } 1524 /^X\(\/\).*/{ 1525 s//\1/ 1526 q 1527 } 1528 s/.*/./; q'` 1529 srcdir=$ac_confdir 1530 if test ! -r "$srcdir/$ac_unique_file"; then 1531 srcdir=.. 1532 fi 1533else 1534 ac_srcdir_defaulted=no 1535fi 1536if test ! -r "$srcdir/$ac_unique_file"; then 1537 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1538 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1539fi 1540ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1541ac_abs_confdir=`( 1542 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1543 pwd)` 1544# When building in place, set srcdir=. 1545if test "$ac_abs_confdir" = "$ac_pwd"; then 1546 srcdir=. 1547fi 1548# Remove unnecessary trailing slashes from srcdir. 1549# Double slashes in file names in object file debugging info 1550# mess up M-x gdb in Emacs. 1551case $srcdir in 1552*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1553esac 1554for ac_var in $ac_precious_vars; do 1555 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1556 eval ac_env_${ac_var}_value=\$${ac_var} 1557 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1558 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1559done 1560 1561# 1562# Report the --help message. 1563# 1564if test "$ac_init_help" = "long"; then 1565 # Omit some internal or obsolete options to make the list less imposing. 1566 # This message is too long to be a string in the A/UX 3.1 sh. 1567 cat <<_ACEOF 1568\`configure' configures brasero 3.12.3 to adapt to many kinds of systems. 1569 1570Usage: $0 [OPTION]... [VAR=VALUE]... 1571 1572To assign environment variables (e.g., CC, CFLAGS...), specify them as 1573VAR=VALUE. See below for descriptions of some of the useful variables. 1574 1575Defaults for the options are specified in brackets. 1576 1577Configuration: 1578 -h, --help display this help and exit 1579 --help=short display options specific to this package 1580 --help=recursive display the short help of all the included packages 1581 -V, --version display version information and exit 1582 -q, --quiet, --silent do not print \`checking ...' messages 1583 --cache-file=FILE cache test results in FILE [disabled] 1584 -C, --config-cache alias for \`--cache-file=config.cache' 1585 -n, --no-create do not create output files 1586 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1587 1588Installation directories: 1589 --prefix=PREFIX install architecture-independent files in PREFIX 1590 [$ac_default_prefix] 1591 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1592 [PREFIX] 1593 1594By default, \`make install' will install all the files in 1595\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1596an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1597for instance \`--prefix=\$HOME'. 1598 1599For better control, use the options below. 1600 1601Fine tuning of the installation directories: 1602 --bindir=DIR user executables [EPREFIX/bin] 1603 --sbindir=DIR system admin executables [EPREFIX/sbin] 1604 --libexecdir=DIR program executables [EPREFIX/libexec] 1605 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1606 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1607 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1608 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1609 --libdir=DIR object code libraries [EPREFIX/lib] 1610 --includedir=DIR C header files [PREFIX/include] 1611 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1612 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1613 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1614 --infodir=DIR info documentation [DATAROOTDIR/info] 1615 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1616 --mandir=DIR man documentation [DATAROOTDIR/man] 1617 --docdir=DIR documentation root [DATAROOTDIR/doc/brasero] 1618 --htmldir=DIR html documentation [DOCDIR] 1619 --dvidir=DIR dvi documentation [DOCDIR] 1620 --pdfdir=DIR pdf documentation [DOCDIR] 1621 --psdir=DIR ps documentation [DOCDIR] 1622_ACEOF 1623 1624 cat <<\_ACEOF 1625 1626Program names: 1627 --program-prefix=PREFIX prepend PREFIX to installed program names 1628 --program-suffix=SUFFIX append SUFFIX to installed program names 1629 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1630 1631System types: 1632 --build=BUILD configure for building on BUILD [guessed] 1633 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1634_ACEOF 1635fi 1636 1637if test -n "$ac_init_help"; then 1638 case $ac_init_help in 1639 short | recursive ) echo "Configuration of brasero 3.12.3:";; 1640 esac 1641 cat <<\_ACEOF 1642 1643Optional Features: 1644 --disable-option-checking ignore unrecognized --enable/--with options 1645 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1646 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1647 --enable-silent-rules less verbose build output (undo: "make V=1") 1648 --disable-silent-rules verbose build output (undo: "make V=0") 1649 --enable-static[=PKGS] build static libraries [default=no] 1650 --enable-shared[=PKGS] build shared libraries [default=yes] 1651 --enable-fast-install[=PKGS] 1652 optimize for fast installation [default=yes] 1653 --enable-dependency-tracking 1654 do not reject slow dependency extractors 1655 --disable-dependency-tracking 1656 speeds up one-time build 1657 --disable-libtool-lock avoid locking (might break parallel builds) 1658 --disable-maintainer-mode 1659 disable make rules and dependencies not useful (and 1660 sometimes confusing) to the casual installer 1661 --disable-schemas-compile 1662 Disable regeneration of gschemas.compiled on install 1663 --enable-gtk-doc use gtk-doc to build documentation [[default=no]] 1664 --enable-gtk-doc-html build documentation in html format [[default=yes]] 1665 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] 1666 --enable-compile-warnings=[no/minimum/yes/maximum/error] 1667 Turn on compiler warnings 1668 --enable-iso-c Try to warn if code is not ISO C 1669 --enable-cxx-warnings=[no/minimum/yes] 1670 Turn on compiler warnings. 1671 1672 --enable-iso-cxx Try to warn if code is not ISO C++ 1673 --disable-largefile omit support for large files 1674 --enable-nautilus Build Nautilus extension [[default=yes]] 1675 --enable-libburnia Build libburnia plugins [[default=yes]] 1676 --enable-cdrtools Build cdrtools plugins [[default=yes]] 1677 --enable-cdrdao Build cdrdao plugins [[default=yes]] 1678 --enable-cdrkit Build cdrkit plugins [[default=yes]] 1679 --enable-growisofs Build growisofs plugins [[default=yes]] 1680 --enable-search Build search pane (if a search backend is available) 1681 [[default=auto]] 1682 --enable-playlist Build playlist pane (if totem-pl-parser is 1683 available)[[default=yes]] 1684 --enable-preview Build preview pane [[default=yes]] 1685 --enable-inotify use inotify [[default=yes]] 1686 --enable-introspection=[no/auto/yes] 1687 Enable introspection for this build 1688 --enable-caches Run update-* to update mime, desktop and icon caches 1689 when installing [[default=yes]] 1690 --disable-nls do not use Native Language Support 1691 1692Optional Packages: 1693 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1694 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1695 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1696 both] 1697 --with-aix-soname=aix|svr4|both 1698 shared library versioning (aka "SONAME") variant to 1699 provide on AIX, [default=aix]. 1700 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1701 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1702 compiler's sysroot if not specified). 1703 --with-help-dir=DIR path where help files are installed 1704 --with-html-dir=PATH path to installed docs 1705 --with-nautilusdir=DIR Installation path for Nautilus extension [auto] 1706 1707Some influential environment variables: 1708 CC C compiler command 1709 CFLAGS C compiler flags 1710 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1711 nonstandard directory <lib dir> 1712 LIBS libraries to pass to the linker, e.g. -l<library> 1713 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1714 you have headers in a nonstandard directory <include dir> 1715 LT_SYS_LIBRARY_PATH 1716 User-defined run-time library search path. 1717 CPP C preprocessor 1718 PKG_CONFIG path to pkg-config utility 1719 PKG_CONFIG_PATH 1720 directories to add to pkg-config's search path 1721 PKG_CONFIG_LIBDIR 1722 path overriding pkg-config's built-in search path 1723 GLIB_COMPILE_SCHEMAS 1724 value of glib_compile_schemas for gio-2.0, overriding pkg-config 1725 ITSTOOL Path to the `itstool` command 1726 XMLLINT Path to the `xmllint` command 1727 GTKDOC_DEPS_CFLAGS 1728 C compiler flags for GTKDOC_DEPS, overriding pkg-config 1729 GTKDOC_DEPS_LIBS 1730 linker flags for GTKDOC_DEPS, overriding pkg-config 1731 BRASERO_GSTREAMER_CFLAGS 1732 C compiler flags for BRASERO_GSTREAMER, overriding pkg-config 1733 BRASERO_GSTREAMER_LIBS 1734 linker flags for BRASERO_GSTREAMER, overriding pkg-config 1735 BRASERO_GIO_CFLAGS 1736 C compiler flags for BRASERO_GIO, overriding pkg-config 1737 BRASERO_GIO_LIBS 1738 linker flags for BRASERO_GIO, overriding pkg-config 1739 BRASERO_LIBXML_CFLAGS 1740 C compiler flags for BRASERO_LIBXML, overriding pkg-config 1741 BRASERO_LIBXML_LIBS 1742 linker flags for BRASERO_LIBXML, overriding pkg-config 1743 BRASERO_GTHREAD_CFLAGS 1744 C compiler flags for BRASERO_GTHREAD, overriding pkg-config 1745 BRASERO_GTHREAD_LIBS 1746 linker flags for BRASERO_GTHREAD, overriding pkg-config 1747 BRASERO_GLIB_CFLAGS 1748 C compiler flags for BRASERO_GLIB, overriding pkg-config 1749 BRASERO_GLIB_LIBS 1750 linker flags for BRASERO_GLIB, overriding pkg-config 1751 BRASERO_GMODULE_CFLAGS 1752 C compiler flags for BRASERO_GMODULE, overriding pkg-config 1753 BRASERO_GMODULE_LIBS 1754 linker flags for BRASERO_GMODULE, overriding pkg-config 1755 BRASERO_GMODULE_EXPORT_CFLAGS 1756 C compiler flags for BRASERO_GMODULE_EXPORT, overriding 1757 pkg-config 1758 BRASERO_GMODULE_EXPORT_LIBS 1759 linker flags for BRASERO_GMODULE_EXPORT, overriding pkg-config 1760 BRASERO_SM_CFLAGS 1761 C compiler flags for BRASERO_SM, overriding pkg-config 1762 BRASERO_SM_LIBS 1763 linker flags for BRASERO_SM, overriding pkg-config 1764 BRASERO_GTK_CFLAGS 1765 C compiler flags for BRASERO_GTK, overriding pkg-config 1766 BRASERO_GTK_LIBS 1767 linker flags for BRASERO_GTK, overriding pkg-config 1768 BRASERO_LIBNOTIFY_CFLAGS 1769 C compiler flags for BRASERO_LIBNOTIFY, overriding pkg-config 1770 BRASERO_LIBNOTIFY_LIBS 1771 linker flags for BRASERO_LIBNOTIFY, overriding pkg-config 1772 BRASERO_CANBERRA_CFLAGS 1773 C compiler flags for BRASERO_CANBERRA, overriding pkg-config 1774 BRASERO_CANBERRA_LIBS 1775 linker flags for BRASERO_CANBERRA, overriding pkg-config 1776 NAUTILUS_EXTENSION_CFLAGS 1777 C compiler flags for NAUTILUS_EXTENSION, overriding pkg-config 1778 NAUTILUS_EXTENSION_LIBS 1779 linker flags for NAUTILUS_EXTENSION, overriding pkg-config 1780 LIBBURNIA_CFLAGS 1781 C compiler flags for LIBBURNIA, overriding pkg-config 1782 LIBBURNIA_LIBS 1783 linker flags for LIBBURNIA, overriding pkg-config 1784 BRASERO_SEARCH_CFLAGS 1785 C compiler flags for BRASERO_SEARCH, overriding pkg-config 1786 BRASERO_SEARCH_LIBS 1787 linker flags for BRASERO_SEARCH, overriding pkg-config 1788 BRASERO_PL_PARSER_CFLAGS 1789 C compiler flags for BRASERO_PL_PARSER, overriding pkg-config 1790 BRASERO_PL_PARSER_LIBS 1791 linker flags for BRASERO_PL_PARSER, overriding pkg-config 1792 BRASERO_GSTREAMER_BASE_CFLAGS 1793 C compiler flags for BRASERO_GSTREAMER_BASE, overriding 1794 pkg-config 1795 BRASERO_GSTREAMER_BASE_LIBS 1796 linker flags for BRASERO_GSTREAMER_BASE, overriding pkg-config 1797 1798Use these variables to override the choices made by `configure' or to help 1799it to find libraries and programs with nonstandard names/locations. 1800 1801Report bugs to the package provider. 1802_ACEOF 1803ac_status=$? 1804fi 1805 1806if test "$ac_init_help" = "recursive"; then 1807 # If there are subdirs, report their specific --help. 1808 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1809 test -d "$ac_dir" || 1810 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1811 continue 1812 ac_builddir=. 1813 1814case "$ac_dir" in 1815.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1816*) 1817 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1818 # A ".." for each directory in $ac_dir_suffix. 1819 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1820 case $ac_top_builddir_sub in 1821 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1822 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1823 esac ;; 1824esac 1825ac_abs_top_builddir=$ac_pwd 1826ac_abs_builddir=$ac_pwd$ac_dir_suffix 1827# for backward compatibility: 1828ac_top_builddir=$ac_top_build_prefix 1829 1830case $srcdir in 1831 .) # We are building in place. 1832 ac_srcdir=. 1833 ac_top_srcdir=$ac_top_builddir_sub 1834 ac_abs_top_srcdir=$ac_pwd ;; 1835 [\\/]* | ?:[\\/]* ) # Absolute name. 1836 ac_srcdir=$srcdir$ac_dir_suffix; 1837 ac_top_srcdir=$srcdir 1838 ac_abs_top_srcdir=$srcdir ;; 1839 *) # Relative name. 1840 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1841 ac_top_srcdir=$ac_top_build_prefix$srcdir 1842 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1843esac 1844ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1845 1846 cd "$ac_dir" || { ac_status=$?; continue; } 1847 # Check for guested configure. 1848 if test -f "$ac_srcdir/configure.gnu"; then 1849 echo && 1850 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1851 elif test -f "$ac_srcdir/configure"; then 1852 echo && 1853 $SHELL "$ac_srcdir/configure" --help=recursive 1854 else 1855 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1856 fi || ac_status=$? 1857 cd "$ac_pwd" || { ac_status=$?; break; } 1858 done 1859fi 1860 1861test -n "$ac_init_help" && exit $ac_status 1862if $ac_init_version; then 1863 cat <<\_ACEOF 1864brasero configure 3.12.3 1865generated by GNU Autoconf 2.69 1866 1867Copyright (C) 2012 Free Software Foundation, Inc. 1868This configure script is free software; the Free Software Foundation 1869gives unlimited permission to copy, distribute and modify it. 1870_ACEOF 1871 exit 1872fi 1873 1874## ------------------------ ## 1875## Autoconf initialization. ## 1876## ------------------------ ## 1877 1878# ac_fn_c_try_compile LINENO 1879# -------------------------- 1880# Try to compile conftest.$ac_ext, and return whether this succeeded. 1881ac_fn_c_try_compile () 1882{ 1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1884 rm -f conftest.$ac_objext 1885 if { { ac_try="$ac_compile" 1886case "(($ac_try" in 1887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1888 *) ac_try_echo=$ac_try;; 1889esac 1890eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1891$as_echo "$ac_try_echo"; } >&5 1892 (eval "$ac_compile") 2>conftest.err 1893 ac_status=$? 1894 if test -s conftest.err; then 1895 grep -v '^ *+' conftest.err >conftest.er1 1896 cat conftest.er1 >&5 1897 mv -f conftest.er1 conftest.err 1898 fi 1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1900 test $ac_status = 0; } && { 1901 test -z "$ac_c_werror_flag" || 1902 test ! -s conftest.err 1903 } && test -s conftest.$ac_objext; then : 1904 ac_retval=0 1905else 1906 $as_echo "$as_me: failed program was:" >&5 1907sed 's/^/| /' conftest.$ac_ext >&5 1908 1909 ac_retval=1 1910fi 1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1912 as_fn_set_status $ac_retval 1913 1914} # ac_fn_c_try_compile 1915 1916# ac_fn_c_try_link LINENO 1917# ----------------------- 1918# Try to link conftest.$ac_ext, and return whether this succeeded. 1919ac_fn_c_try_link () 1920{ 1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1922 rm -f conftest.$ac_objext conftest$ac_exeext 1923 if { { ac_try="$ac_link" 1924case "(($ac_try" in 1925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1926 *) ac_try_echo=$ac_try;; 1927esac 1928eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1929$as_echo "$ac_try_echo"; } >&5 1930 (eval "$ac_link") 2>conftest.err 1931 ac_status=$? 1932 if test -s conftest.err; then 1933 grep -v '^ *+' conftest.err >conftest.er1 1934 cat conftest.er1 >&5 1935 mv -f conftest.er1 conftest.err 1936 fi 1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1938 test $ac_status = 0; } && { 1939 test -z "$ac_c_werror_flag" || 1940 test ! -s conftest.err 1941 } && test -s conftest$ac_exeext && { 1942 test "$cross_compiling" = yes || 1943 test -x conftest$ac_exeext 1944 }; then : 1945 ac_retval=0 1946else 1947 $as_echo "$as_me: failed program was:" >&5 1948sed 's/^/| /' conftest.$ac_ext >&5 1949 1950 ac_retval=1 1951fi 1952 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1953 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1954 # interfere with the next link command; also delete a directory that is 1955 # left behind by Apple's compiler. We do this before executing the actions. 1956 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1958 as_fn_set_status $ac_retval 1959 1960} # ac_fn_c_try_link 1961 1962# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1963# ------------------------------------------------------- 1964# Tests whether HEADER exists and can be compiled using the include files in 1965# INCLUDES, setting the cache variable VAR accordingly. 1966ac_fn_c_check_header_compile () 1967{ 1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1970$as_echo_n "checking for $2... " >&6; } 1971if eval \${$3+:} false; then : 1972 $as_echo_n "(cached) " >&6 1973else 1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1975/* end confdefs.h. */ 1976$4 1977#include <$2> 1978_ACEOF 1979if ac_fn_c_try_compile "$LINENO"; then : 1980 eval "$3=yes" 1981else 1982 eval "$3=no" 1983fi 1984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1985fi 1986eval ac_res=\$$3 1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1988$as_echo "$ac_res" >&6; } 1989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1990 1991} # ac_fn_c_check_header_compile 1992 1993# ac_fn_c_try_cpp LINENO 1994# ---------------------- 1995# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1996ac_fn_c_try_cpp () 1997{ 1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1999 if { { ac_try="$ac_cpp conftest.$ac_ext" 2000case "(($ac_try" in 2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2002 *) ac_try_echo=$ac_try;; 2003esac 2004eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2005$as_echo "$ac_try_echo"; } >&5 2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2007 ac_status=$? 2008 if test -s conftest.err; then 2009 grep -v '^ *+' conftest.err >conftest.er1 2010 cat conftest.er1 >&5 2011 mv -f conftest.er1 conftest.err 2012 fi 2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2014 test $ac_status = 0; } > conftest.i && { 2015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2016 test ! -s conftest.err 2017 }; then : 2018 ac_retval=0 2019else 2020 $as_echo "$as_me: failed program was:" >&5 2021sed 's/^/| /' conftest.$ac_ext >&5 2022 2023 ac_retval=1 2024fi 2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2026 as_fn_set_status $ac_retval 2027 2028} # ac_fn_c_try_cpp 2029 2030# ac_fn_c_try_run LINENO 2031# ---------------------- 2032# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2033# that executables *can* be run. 2034ac_fn_c_try_run () 2035{ 2036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2037 if { { ac_try="$ac_link" 2038case "(($ac_try" in 2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2040 *) ac_try_echo=$ac_try;; 2041esac 2042eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2043$as_echo "$ac_try_echo"; } >&5 2044 (eval "$ac_link") 2>&5 2045 ac_status=$? 2046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2047 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2048 { { case "(($ac_try" in 2049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2050 *) ac_try_echo=$ac_try;; 2051esac 2052eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2053$as_echo "$ac_try_echo"; } >&5 2054 (eval "$ac_try") 2>&5 2055 ac_status=$? 2056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2057 test $ac_status = 0; }; }; then : 2058 ac_retval=0 2059else 2060 $as_echo "$as_me: program exited with status $ac_status" >&5 2061 $as_echo "$as_me: failed program was:" >&5 2062sed 's/^/| /' conftest.$ac_ext >&5 2063 2064 ac_retval=$ac_status 2065fi 2066 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2068 as_fn_set_status $ac_retval 2069 2070} # ac_fn_c_try_run 2071 2072# ac_fn_c_check_func LINENO FUNC VAR 2073# ---------------------------------- 2074# Tests whether FUNC exists, setting the cache variable VAR accordingly 2075ac_fn_c_check_func () 2076{ 2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2079$as_echo_n "checking for $2... " >&6; } 2080if eval \${$3+:} false; then : 2081 $as_echo_n "(cached) " >&6 2082else 2083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2084/* end confdefs.h. */ 2085/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2086 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2087#define $2 innocuous_$2 2088 2089/* System header to define __stub macros and hopefully few prototypes, 2090 which can conflict with char $2 (); below. 2091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2092 <limits.h> exists even on freestanding compilers. */ 2093 2094#ifdef __STDC__ 2095# include <limits.h> 2096#else 2097# include <assert.h> 2098#endif 2099 2100#undef $2 2101 2102/* Override any GCC internal prototype to avoid an error. 2103 Use char because int might match the return type of a GCC 2104 builtin and then its argument prototype would still apply. */ 2105#ifdef __cplusplus 2106extern "C" 2107#endif 2108char $2 (); 2109/* The GNU C library defines this for functions which it implements 2110 to always fail with ENOSYS. Some functions are actually named 2111 something starting with __ and the normal name is an alias. */ 2112#if defined __stub_$2 || defined __stub___$2 2113choke me 2114#endif 2115 2116int 2117main () 2118{ 2119return $2 (); 2120 ; 2121 return 0; 2122} 2123_ACEOF 2124if ac_fn_c_try_link "$LINENO"; then : 2125 eval "$3=yes" 2126else 2127 eval "$3=no" 2128fi 2129rm -f core conftest.err conftest.$ac_objext \ 2130 conftest$ac_exeext conftest.$ac_ext 2131fi 2132eval ac_res=\$$3 2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2134$as_echo "$ac_res" >&6; } 2135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2136 2137} # ac_fn_c_check_func 2138 2139# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2140# ------------------------------------------------------- 2141# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2142# the include files in INCLUDES and setting the cache variable VAR 2143# accordingly. 2144ac_fn_c_check_header_mongrel () 2145{ 2146 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2147 if eval \${$3+:} false; then : 2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2149$as_echo_n "checking for $2... " >&6; } 2150if eval \${$3+:} false; then : 2151 $as_echo_n "(cached) " >&6 2152fi 2153eval ac_res=\$$3 2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2155$as_echo "$ac_res" >&6; } 2156else 2157 # Is the header compilable? 2158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2159$as_echo_n "checking $2 usability... " >&6; } 2160cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2161/* end confdefs.h. */ 2162$4 2163#include <$2> 2164_ACEOF 2165if ac_fn_c_try_compile "$LINENO"; then : 2166 ac_header_compiler=yes 2167else 2168 ac_header_compiler=no 2169fi 2170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2172$as_echo "$ac_header_compiler" >&6; } 2173 2174# Is the header present? 2175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2176$as_echo_n "checking $2 presence... " >&6; } 2177cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2178/* end confdefs.h. */ 2179#include <$2> 2180_ACEOF 2181if ac_fn_c_try_cpp "$LINENO"; then : 2182 ac_header_preproc=yes 2183else 2184 ac_header_preproc=no 2185fi 2186rm -f conftest.err conftest.i conftest.$ac_ext 2187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2188$as_echo "$ac_header_preproc" >&6; } 2189 2190# So? What about this header? 2191case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2192 yes:no: ) 2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2194$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2196$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2197 ;; 2198 no:yes:* ) 2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2200$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2202$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2204$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2206$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2208$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2209 ;; 2210esac 2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2212$as_echo_n "checking for $2... " >&6; } 2213if eval \${$3+:} false; then : 2214 $as_echo_n "(cached) " >&6 2215else 2216 eval "$3=\$ac_header_compiler" 2217fi 2218eval ac_res=\$$3 2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2220$as_echo "$ac_res" >&6; } 2221fi 2222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2223 2224} # ac_fn_c_check_header_mongrel 2225 2226# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2227# ------------------------------------------- 2228# Tests whether TYPE exists after having included INCLUDES, setting cache 2229# variable VAR accordingly. 2230ac_fn_c_check_type () 2231{ 2232 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2234$as_echo_n "checking for $2... " >&6; } 2235if eval \${$3+:} false; then : 2236 $as_echo_n "(cached) " >&6 2237else 2238 eval "$3=no" 2239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2240/* end confdefs.h. */ 2241$4 2242int 2243main () 2244{ 2245if (sizeof ($2)) 2246 return 0; 2247 ; 2248 return 0; 2249} 2250_ACEOF 2251if ac_fn_c_try_compile "$LINENO"; then : 2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2253/* end confdefs.h. */ 2254$4 2255int 2256main () 2257{ 2258if (sizeof (($2))) 2259 return 0; 2260 ; 2261 return 0; 2262} 2263_ACEOF 2264if ac_fn_c_try_compile "$LINENO"; then : 2265 2266else 2267 eval "$3=yes" 2268fi 2269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2270fi 2271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2272fi 2273eval ac_res=\$$3 2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2275$as_echo "$ac_res" >&6; } 2276 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2277 2278} # ac_fn_c_check_type 2279cat >config.log <<_ACEOF 2280This file contains any messages produced by compilers while 2281running configure, to aid debugging if configure makes a mistake. 2282 2283It was created by brasero $as_me 3.12.3, which was 2284generated by GNU Autoconf 2.69. Invocation command line was 2285 2286 $ $0 $@ 2287 2288_ACEOF 2289exec 5>>config.log 2290{ 2291cat <<_ASUNAME 2292## --------- ## 2293## Platform. ## 2294## --------- ## 2295 2296hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2297uname -m = `(uname -m) 2>/dev/null || echo unknown` 2298uname -r = `(uname -r) 2>/dev/null || echo unknown` 2299uname -s = `(uname -s) 2>/dev/null || echo unknown` 2300uname -v = `(uname -v) 2>/dev/null || echo unknown` 2301 2302/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2303/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2304 2305/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2306/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2307/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2308/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2309/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2310/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2311/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2312 2313_ASUNAME 2314 2315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2316for as_dir in $PATH 2317do 2318 IFS=$as_save_IFS 2319 test -z "$as_dir" && as_dir=. 2320 $as_echo "PATH: $as_dir" 2321 done 2322IFS=$as_save_IFS 2323 2324} >&5 2325 2326cat >&5 <<_ACEOF 2327 2328 2329## ----------- ## 2330## Core tests. ## 2331## ----------- ## 2332 2333_ACEOF 2334 2335 2336# Keep a trace of the command line. 2337# Strip out --no-create and --no-recursion so they do not pile up. 2338# Strip out --silent because we don't want to record it for future runs. 2339# Also quote any args containing shell meta-characters. 2340# Make two passes to allow for proper duplicate-argument suppression. 2341ac_configure_args= 2342ac_configure_args0= 2343ac_configure_args1= 2344ac_must_keep_next=false 2345for ac_pass in 1 2 2346do 2347 for ac_arg 2348 do 2349 case $ac_arg in 2350 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2352 | -silent | --silent | --silen | --sile | --sil) 2353 continue ;; 2354 *\'*) 2355 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2356 esac 2357 case $ac_pass in 2358 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2359 2) 2360 as_fn_append ac_configure_args1 " '$ac_arg'" 2361 if test $ac_must_keep_next = true; then 2362 ac_must_keep_next=false # Got value, back to normal. 2363 else 2364 case $ac_arg in 2365 *=* | --config-cache | -C | -disable-* | --disable-* \ 2366 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2367 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2368 | -with-* | --with-* | -without-* | --without-* | --x) 2369 case "$ac_configure_args0 " in 2370 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2371 esac 2372 ;; 2373 -* ) ac_must_keep_next=true ;; 2374 esac 2375 fi 2376 as_fn_append ac_configure_args " '$ac_arg'" 2377 ;; 2378 esac 2379 done 2380done 2381{ ac_configure_args0=; unset ac_configure_args0;} 2382{ ac_configure_args1=; unset ac_configure_args1;} 2383 2384# When interrupted or exit'd, cleanup temporary files, and complete 2385# config.log. We remove comments because anyway the quotes in there 2386# would cause problems or look ugly. 2387# WARNING: Use '\'' to represent an apostrophe within the trap. 2388# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2389trap 'exit_status=$? 2390 # Save into config.log some information that might help in debugging. 2391 { 2392 echo 2393 2394 $as_echo "## ---------------- ## 2395## Cache variables. ## 2396## ---------------- ##" 2397 echo 2398 # The following way of writing the cache mishandles newlines in values, 2399( 2400 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2401 eval ac_val=\$$ac_var 2402 case $ac_val in #( 2403 *${as_nl}*) 2404 case $ac_var in #( 2405 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2406$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2407 esac 2408 case $ac_var in #( 2409 _ | IFS | as_nl) ;; #( 2410 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2411 *) { eval $ac_var=; unset $ac_var;} ;; 2412 esac ;; 2413 esac 2414 done 2415 (set) 2>&1 | 2416 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2417 *${as_nl}ac_space=\ *) 2418 sed -n \ 2419 "s/'\''/'\''\\\\'\'''\''/g; 2420 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2421 ;; #( 2422 *) 2423 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2424 ;; 2425 esac | 2426 sort 2427) 2428 echo 2429 2430 $as_echo "## ----------------- ## 2431## Output variables. ## 2432## ----------------- ##" 2433 echo 2434 for ac_var in $ac_subst_vars 2435 do 2436 eval ac_val=\$$ac_var 2437 case $ac_val in 2438 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2439 esac 2440 $as_echo "$ac_var='\''$ac_val'\''" 2441 done | sort 2442 echo 2443 2444 if test -n "$ac_subst_files"; then 2445 $as_echo "## ------------------- ## 2446## File substitutions. ## 2447## ------------------- ##" 2448 echo 2449 for ac_var in $ac_subst_files 2450 do 2451 eval ac_val=\$$ac_var 2452 case $ac_val in 2453 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2454 esac 2455 $as_echo "$ac_var='\''$ac_val'\''" 2456 done | sort 2457 echo 2458 fi 2459 2460 if test -s confdefs.h; then 2461 $as_echo "## ----------- ## 2462## confdefs.h. ## 2463## ----------- ##" 2464 echo 2465 cat confdefs.h 2466 echo 2467 fi 2468 test "$ac_signal" != 0 && 2469 $as_echo "$as_me: caught signal $ac_signal" 2470 $as_echo "$as_me: exit $exit_status" 2471 } >&5 2472 rm -f core *.core core.conftest.* && 2473 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2474 exit $exit_status 2475' 0 2476for ac_signal in 1 2 13 15; do 2477 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2478done 2479ac_signal=0 2480 2481# confdefs.h avoids OS command line length limits that DEFS can exceed. 2482rm -f -r conftest* confdefs.h 2483 2484$as_echo "/* confdefs.h */" > confdefs.h 2485 2486# Predefined preprocessor variables. 2487 2488cat >>confdefs.h <<_ACEOF 2489#define PACKAGE_NAME "$PACKAGE_NAME" 2490_ACEOF 2491 2492cat >>confdefs.h <<_ACEOF 2493#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2494_ACEOF 2495 2496cat >>confdefs.h <<_ACEOF 2497#define PACKAGE_VERSION "$PACKAGE_VERSION" 2498_ACEOF 2499 2500cat >>confdefs.h <<_ACEOF 2501#define PACKAGE_STRING "$PACKAGE_STRING" 2502_ACEOF 2503 2504cat >>confdefs.h <<_ACEOF 2505#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2506_ACEOF 2507 2508cat >>confdefs.h <<_ACEOF 2509#define PACKAGE_URL "$PACKAGE_URL" 2510_ACEOF 2511 2512 2513# Let the site file select an alternate cache file if it wants to. 2514# Prefer an explicitly selected file to automatically selected ones. 2515ac_site_file1=NONE 2516ac_site_file2=NONE 2517if test -n "$CONFIG_SITE"; then 2518 # We do not want a PATH search for config.site. 2519 case $CONFIG_SITE in #(( 2520 -*) ac_site_file1=./$CONFIG_SITE;; 2521 */*) ac_site_file1=$CONFIG_SITE;; 2522 *) ac_site_file1=./$CONFIG_SITE;; 2523 esac 2524elif test "x$prefix" != xNONE; then 2525 ac_site_file1=$prefix/share/config.site 2526 ac_site_file2=$prefix/etc/config.site 2527else 2528 ac_site_file1=$ac_default_prefix/share/config.site 2529 ac_site_file2=$ac_default_prefix/etc/config.site 2530fi 2531for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2532do 2533 test "x$ac_site_file" = xNONE && continue 2534 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2535 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2536$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2537 sed 's/^/| /' "$ac_site_file" >&5 2538 . "$ac_site_file" \ 2539 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2540$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2541as_fn_error $? "failed to load site script $ac_site_file 2542See \`config.log' for more details" "$LINENO" 5; } 2543 fi 2544done 2545 2546if test -r "$cache_file"; then 2547 # Some versions of bash will fail to source /dev/null (special files 2548 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2549 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2550 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2551$as_echo "$as_me: loading cache $cache_file" >&6;} 2552 case $cache_file in 2553 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2554 *) . "./$cache_file";; 2555 esac 2556 fi 2557else 2558 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2559$as_echo "$as_me: creating cache $cache_file" >&6;} 2560 >$cache_file 2561fi 2562 2563# Check that the precious variables saved in the cache have kept the same 2564# value. 2565ac_cache_corrupted=false 2566for ac_var in $ac_precious_vars; do 2567 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2568 eval ac_new_set=\$ac_env_${ac_var}_set 2569 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2570 eval ac_new_val=\$ac_env_${ac_var}_value 2571 case $ac_old_set,$ac_new_set in 2572 set,) 2573 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2574$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2575 ac_cache_corrupted=: ;; 2576 ,set) 2577 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2578$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2579 ac_cache_corrupted=: ;; 2580 ,);; 2581 *) 2582 if test "x$ac_old_val" != "x$ac_new_val"; then 2583 # differences in whitespace do not lead to failure. 2584 ac_old_val_w=`echo x $ac_old_val` 2585 ac_new_val_w=`echo x $ac_new_val` 2586 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2588$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2589 ac_cache_corrupted=: 2590 else 2591 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2592$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2593 eval $ac_var=\$ac_old_val 2594 fi 2595 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2596$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2597 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2598$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2599 fi;; 2600 esac 2601 # Pass precious variables to config.status. 2602 if test "$ac_new_set" = set; then 2603 case $ac_new_val in 2604 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2605 *) ac_arg=$ac_var=$ac_new_val ;; 2606 esac 2607 case " $ac_configure_args " in 2608 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2609 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2610 esac 2611 fi 2612done 2613if $ac_cache_corrupted; then 2614 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2615$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2617$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2618 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2619fi 2620## -------------------- ## 2621## Main body of script. ## 2622## -------------------- ## 2623 2624ac_ext=c 2625ac_cpp='$CPP $CPPFLAGS' 2626ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2627ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2628ac_compiler_gnu=$ac_cv_c_compiler_gnu 2629 2630 2631 2632 2633BRASERO_MAJOR_VERSION=3 2634BRASERO_MINOR_VERSION=12 2635BRASERO_SUB=3 2636BRASERO_VERSION=$BRASERO_MAJOR_VERSION.$BRASERO_MINOR_VERSION.$BRASERO_SUB 2637 2638 2639 2640 2641 2642 2643 2644LT_CURRENT=3 2645LT_REVISION=7 2646LT_AGE=2 2647 2648 2649 2650 2651 2652LIBBRASERO_LT_VERSION=$LT_CURRENT:$LT_REVISION:$LT_AGE 2653 2654 2655TYPELIB_MIN_VERSION=$((LT_CURRENT-LT_AGE)) 2656 2657 2658 2659cat >>confdefs.h <<_ACEOF 2660#define BRASERO_MAJOR_VERSION $BRASERO_MAJOR_VERSION 2661_ACEOF 2662 2663 2664cat >>confdefs.h <<_ACEOF 2665#define BRASERO_MINOR_VERSION $BRASERO_MINOR_VERSION 2666_ACEOF 2667 2668 2669cat >>confdefs.h <<_ACEOF 2670#define BRASERO_SUB $BRASERO_SUB 2671_ACEOF 2672 2673 2674cat >>confdefs.h <<_ACEOF 2675#define BRASERO_VERSION $BRASERO_VERSION 2676_ACEOF 2677 2678 2679 2680am__api_version='1.16' 2681 2682ac_aux_dir= 2683for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2684 if test -f "$ac_dir/install-sh"; then 2685 ac_aux_dir=$ac_dir 2686 ac_install_sh="$ac_aux_dir/install-sh -c" 2687 break 2688 elif test -f "$ac_dir/install.sh"; then 2689 ac_aux_dir=$ac_dir 2690 ac_install_sh="$ac_aux_dir/install.sh -c" 2691 break 2692 elif test -f "$ac_dir/shtool"; then 2693 ac_aux_dir=$ac_dir 2694 ac_install_sh="$ac_aux_dir/shtool install -c" 2695 break 2696 fi 2697done 2698if test -z "$ac_aux_dir"; then 2699 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2700fi 2701 2702# These three variables are undocumented and unsupported, 2703# and are intended to be withdrawn in a future Autoconf release. 2704# They can cause serious problems if a builder's source tree is in a directory 2705# whose full name contains unusual characters. 2706ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2707ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2708ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2709 2710 2711# Find a good install program. We prefer a C program (faster), 2712# so one script is as good as another. But avoid the broken or 2713# incompatible versions: 2714# SysV /etc/install, /usr/sbin/install 2715# SunOS /usr/etc/install 2716# IRIX /sbin/install 2717# AIX /bin/install 2718# AmigaOS /C/install, which installs bootblocks on floppy discs 2719# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2720# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2721# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2722# OS/2's system install, which has a completely different semantic 2723# ./install, which can be erroneously created by make from ./install.sh. 2724# Reject install programs that cannot install multiple files. 2725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2726$as_echo_n "checking for a BSD-compatible install... " >&6; } 2727if test -z "$INSTALL"; then 2728if ${ac_cv_path_install+:} false; then : 2729 $as_echo_n "(cached) " >&6 2730else 2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2732for as_dir in $PATH 2733do 2734 IFS=$as_save_IFS 2735 test -z "$as_dir" && as_dir=. 2736 # Account for people who put trailing slashes in PATH elements. 2737case $as_dir/ in #(( 2738 ./ | .// | /[cC]/* | \ 2739 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2740 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2741 /usr/ucb/* ) ;; 2742 *) 2743 # OSF1 and SCO ODT 3.0 have their own names for install. 2744 # Don't use installbsd from OSF since it installs stuff as root 2745 # by default. 2746 for ac_prog in ginstall scoinst install; do 2747 for ac_exec_ext in '' $ac_executable_extensions; do 2748 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2749 if test $ac_prog = install && 2750 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2751 # AIX install. It has an incompatible calling convention. 2752 : 2753 elif test $ac_prog = install && 2754 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2755 # program-specific install script used by HP pwplus--don't use. 2756 : 2757 else 2758 rm -rf conftest.one conftest.two conftest.dir 2759 echo one > conftest.one 2760 echo two > conftest.two 2761 mkdir conftest.dir 2762 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2763 test -s conftest.one && test -s conftest.two && 2764 test -s conftest.dir/conftest.one && 2765 test -s conftest.dir/conftest.two 2766 then 2767 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2768 break 3 2769 fi 2770 fi 2771 fi 2772 done 2773 done 2774 ;; 2775esac 2776 2777 done 2778IFS=$as_save_IFS 2779 2780rm -rf conftest.one conftest.two conftest.dir 2781 2782fi 2783 if test "${ac_cv_path_install+set}" = set; then 2784 INSTALL=$ac_cv_path_install 2785 else 2786 # As a last resort, use the slow shell script. Don't cache a 2787 # value for INSTALL within a source directory, because that will 2788 # break other packages using the cache if that directory is 2789 # removed, or if the value is a relative name. 2790 INSTALL=$ac_install_sh 2791 fi 2792fi 2793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2794$as_echo "$INSTALL" >&6; } 2795 2796# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2797# It thinks the first close brace ends the variable substitution. 2798test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2799 2800test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2801 2802test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2803 2804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2805$as_echo_n "checking whether build environment is sane... " >&6; } 2806# Reject unsafe characters in $srcdir or the absolute working directory 2807# name. Accept space and tab only in the latter. 2808am_lf=' 2809' 2810case `pwd` in 2811 *[\\\"\#\$\&\'\`$am_lf]*) 2812 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2813esac 2814case $srcdir in 2815 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2816 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2817esac 2818 2819# Do 'set' in a subshell so we don't clobber the current shell's 2820# arguments. Must try -L first in case configure is actually a 2821# symlink; some systems play weird games with the mod time of symlinks 2822# (eg FreeBSD returns the mod time of the symlink's containing 2823# directory). 2824if ( 2825 am_has_slept=no 2826 for am_try in 1 2; do 2827 echo "timestamp, slept: $am_has_slept" > conftest.file 2828 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2829 if test "$*" = "X"; then 2830 # -L didn't work. 2831 set X `ls -t "$srcdir/configure" conftest.file` 2832 fi 2833 if test "$*" != "X $srcdir/configure conftest.file" \ 2834 && test "$*" != "X conftest.file $srcdir/configure"; then 2835 2836 # If neither matched, then we have a broken ls. This can happen 2837 # if, for instance, CONFIG_SHELL is bash and it inherits a 2838 # broken ls alias from the environment. This has actually 2839 # happened. Such a system could not be considered "sane". 2840 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2841 alias in your environment" "$LINENO" 5 2842 fi 2843 if test "$2" = conftest.file || test $am_try -eq 2; then 2844 break 2845 fi 2846 # Just in case. 2847 sleep 1 2848 am_has_slept=yes 2849 done 2850 test "$2" = conftest.file 2851 ) 2852then 2853 # Ok. 2854 : 2855else 2856 as_fn_error $? "newly created file is older than distributed files! 2857Check your system clock" "$LINENO" 5 2858fi 2859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2860$as_echo "yes" >&6; } 2861# If we didn't sleep, we still need to ensure time stamps of config.status and 2862# generated files are strictly newer. 2863am_sleep_pid= 2864if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2865 ( sleep 1 ) & 2866 am_sleep_pid=$! 2867fi 2868 2869rm -f conftest.file 2870 2871test "$program_prefix" != NONE && 2872 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2873# Use a double $ so make ignores it. 2874test "$program_suffix" != NONE && 2875 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2876# Double any \ or $. 2877# By default was `s,x,x', remove it if useless. 2878ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2879program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2880 2881# Expand $ac_aux_dir to an absolute path. 2882am_aux_dir=`cd "$ac_aux_dir" && pwd` 2883 2884if test x"${MISSING+set}" != xset; then 2885 case $am_aux_dir in 2886 *\ * | *\ *) 2887 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2888 *) 2889 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2890 esac 2891fi 2892# Use eval to expand $SHELL 2893if eval "$MISSING --is-lightweight"; then 2894 am_missing_run="$MISSING " 2895else 2896 am_missing_run= 2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2898$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2899fi 2900 2901if test x"${install_sh+set}" != xset; then 2902 case $am_aux_dir in 2903 *\ * | *\ *) 2904 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2905 *) 2906 install_sh="\${SHELL} $am_aux_dir/install-sh" 2907 esac 2908fi 2909 2910# Installed binaries are usually stripped using 'strip' when the user 2911# run "make install-strip". However 'strip' might not be the right 2912# tool to use in cross-compilation environments, therefore Automake 2913# will honor the 'STRIP' environment variable to overrule this program. 2914if test "$cross_compiling" != no; then 2915 if test -n "$ac_tool_prefix"; then 2916 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2917set dummy ${ac_tool_prefix}strip; ac_word=$2 2918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2919$as_echo_n "checking for $ac_word... " >&6; } 2920if ${ac_cv_prog_STRIP+:} false; then : 2921 $as_echo_n "(cached) " >&6 2922else 2923 if test -n "$STRIP"; then 2924 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2925else 2926as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2927for as_dir in $PATH 2928do 2929 IFS=$as_save_IFS 2930 test -z "$as_dir" && as_dir=. 2931 for ac_exec_ext in '' $ac_executable_extensions; do 2932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2933 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2935 break 2 2936 fi 2937done 2938 done 2939IFS=$as_save_IFS 2940 2941fi 2942fi 2943STRIP=$ac_cv_prog_STRIP 2944if test -n "$STRIP"; then 2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2946$as_echo "$STRIP" >&6; } 2947else 2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2949$as_echo "no" >&6; } 2950fi 2951 2952 2953fi 2954if test -z "$ac_cv_prog_STRIP"; then 2955 ac_ct_STRIP=$STRIP 2956 # Extract the first word of "strip", so it can be a program name with args. 2957set dummy strip; ac_word=$2 2958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2959$as_echo_n "checking for $ac_word... " >&6; } 2960if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2961 $as_echo_n "(cached) " >&6 2962else 2963 if test -n "$ac_ct_STRIP"; then 2964 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2965else 2966as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2967for as_dir in $PATH 2968do 2969 IFS=$as_save_IFS 2970 test -z "$as_dir" && as_dir=. 2971 for ac_exec_ext in '' $ac_executable_extensions; do 2972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2973 ac_cv_prog_ac_ct_STRIP="strip" 2974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2975 break 2 2976 fi 2977done 2978 done 2979IFS=$as_save_IFS 2980 2981fi 2982fi 2983ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2984if test -n "$ac_ct_STRIP"; then 2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2986$as_echo "$ac_ct_STRIP" >&6; } 2987else 2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2989$as_echo "no" >&6; } 2990fi 2991 2992 if test "x$ac_ct_STRIP" = x; then 2993 STRIP=":" 2994 else 2995 case $cross_compiling:$ac_tool_warned in 2996yes:) 2997{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2998$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2999ac_tool_warned=yes ;; 3000esac 3001 STRIP=$ac_ct_STRIP 3002 fi 3003else 3004 STRIP="$ac_cv_prog_STRIP" 3005fi 3006 3007fi 3008INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3009 3010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3011$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3012if test -z "$MKDIR_P"; then 3013 if ${ac_cv_path_mkdir+:} false; then : 3014 $as_echo_n "(cached) " >&6 3015else 3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3017for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3018do 3019 IFS=$as_save_IFS 3020 test -z "$as_dir" && as_dir=. 3021 for ac_prog in mkdir gmkdir; do 3022 for ac_exec_ext in '' $ac_executable_extensions; do 3023 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3024 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3025 'mkdir (GNU coreutils) '* | \ 3026 'mkdir (coreutils) '* | \ 3027 'mkdir (fileutils) '4.1*) 3028 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3029 break 3;; 3030 esac 3031 done 3032 done 3033 done 3034IFS=$as_save_IFS 3035 3036fi 3037 3038 test -d ./--version && rmdir ./--version 3039 if test "${ac_cv_path_mkdir+set}" = set; then 3040 MKDIR_P="$ac_cv_path_mkdir -p" 3041 else 3042 # As a last resort, use the slow shell script. Don't cache a 3043 # value for MKDIR_P within a source directory, because that will 3044 # break other packages using the cache if that directory is 3045 # removed, or if the value is a relative name. 3046 MKDIR_P="$ac_install_sh -d" 3047 fi 3048fi 3049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3050$as_echo "$MKDIR_P" >&6; } 3051 3052for ac_prog in gawk mawk nawk awk 3053do 3054 # Extract the first word of "$ac_prog", so it can be a program name with args. 3055set dummy $ac_prog; ac_word=$2 3056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3057$as_echo_n "checking for $ac_word... " >&6; } 3058if ${ac_cv_prog_AWK+:} false; then : 3059 $as_echo_n "(cached) " >&6 3060else 3061 if test -n "$AWK"; then 3062 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3063else 3064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3065for as_dir in $PATH 3066do 3067 IFS=$as_save_IFS 3068 test -z "$as_dir" && as_dir=. 3069 for ac_exec_ext in '' $ac_executable_extensions; do 3070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3071 ac_cv_prog_AWK="$ac_prog" 3072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3073 break 2 3074 fi 3075done 3076 done 3077IFS=$as_save_IFS 3078 3079fi 3080fi 3081AWK=$ac_cv_prog_AWK 3082if test -n "$AWK"; then 3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3084$as_echo "$AWK" >&6; } 3085else 3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3087$as_echo "no" >&6; } 3088fi 3089 3090 3091 test -n "$AWK" && break 3092done 3093 3094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3095$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3096set x ${MAKE-make} 3097ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3098if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3099 $as_echo_n "(cached) " >&6 3100else 3101 cat >conftest.make <<\_ACEOF 3102SHELL = /bin/sh 3103all: 3104 @echo '@@@%%%=$(MAKE)=@@@%%%' 3105_ACEOF 3106# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3107case `${MAKE-make} -f conftest.make 2>/dev/null` in 3108 *@@@%%%=?*=@@@%%%*) 3109 eval ac_cv_prog_make_${ac_make}_set=yes;; 3110 *) 3111 eval ac_cv_prog_make_${ac_make}_set=no;; 3112esac 3113rm -f conftest.make 3114fi 3115if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3117$as_echo "yes" >&6; } 3118 SET_MAKE= 3119else 3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3121$as_echo "no" >&6; } 3122 SET_MAKE="MAKE=${MAKE-make}" 3123fi 3124 3125rm -rf .tst 2>/dev/null 3126mkdir .tst 2>/dev/null 3127if test -d .tst; then 3128 am__leading_dot=. 3129else 3130 am__leading_dot=_ 3131fi 3132rmdir .tst 2>/dev/null 3133 3134# Check whether --enable-silent-rules was given. 3135if test "${enable_silent_rules+set}" = set; then : 3136 enableval=$enable_silent_rules; 3137fi 3138 3139case $enable_silent_rules in # ((( 3140 yes) AM_DEFAULT_VERBOSITY=0;; 3141 no) AM_DEFAULT_VERBOSITY=1;; 3142 *) AM_DEFAULT_VERBOSITY=1;; 3143esac 3144am_make=${MAKE-make} 3145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3146$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3147if ${am_cv_make_support_nested_variables+:} false; then : 3148 $as_echo_n "(cached) " >&6 3149else 3150 if $as_echo 'TRUE=$(BAR$(V)) 3151BAR0=false 3152BAR1=true 3153V=1 3154am__doit: 3155 @$(TRUE) 3156.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3157 am_cv_make_support_nested_variables=yes 3158else 3159 am_cv_make_support_nested_variables=no 3160fi 3161fi 3162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3163$as_echo "$am_cv_make_support_nested_variables" >&6; } 3164if test $am_cv_make_support_nested_variables = yes; then 3165 AM_V='$(V)' 3166 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3167else 3168 AM_V=$AM_DEFAULT_VERBOSITY 3169 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3170fi 3171AM_BACKSLASH='\' 3172 3173if test "`cd $srcdir && pwd`" != "`pwd`"; then 3174 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3175 # is not polluted with repeated "-I." 3176 am__isrc=' -I$(srcdir)' 3177 # test to see if srcdir already configured 3178 if test -f $srcdir/config.status; then 3179 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3180 fi 3181fi 3182 3183# test whether we have cygpath 3184if test -z "$CYGPATH_W"; then 3185 if (cygpath --version) >/dev/null 2>/dev/null; then 3186 CYGPATH_W='cygpath -w' 3187 else 3188 CYGPATH_W=echo 3189 fi 3190fi 3191 3192 3193# Define the identity of the package. 3194 PACKAGE='brasero' 3195 VERSION='3.12.3' 3196 3197 3198cat >>confdefs.h <<_ACEOF 3199#define PACKAGE "$PACKAGE" 3200_ACEOF 3201 3202 3203cat >>confdefs.h <<_ACEOF 3204#define VERSION "$VERSION" 3205_ACEOF 3206 3207# Some tools Automake needs. 3208 3209ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3210 3211 3212AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3213 3214 3215AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3216 3217 3218AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3219 3220 3221MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3222 3223# For better backward compatibility. To be removed once Automake 1.9.x 3224# dies out for good. For more background, see: 3225# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3226# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3227mkdir_p='$(MKDIR_P)' 3228 3229# We need awk for the "check" target (and possibly the TAP driver). The 3230# system "awk" is bad on some platforms. 3231# Always define AMTAR for backward compatibility. Yes, it's still used 3232# in the wild :-( We should find a proper way to deprecate it ... 3233AMTAR='$${TAR-tar}' 3234 3235 3236# We'll loop over all known methods to create a tar archive until one works. 3237_am_tools='gnutar pax cpio none' 3238 3239am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3240 3241 3242 3243 3244 3245 3246# POSIX will say in a future version that running "rm -f" with no argument 3247# is OK; and we want to be able to make that assumption in our Makefile 3248# recipes. So use an aggressive probe to check that the usage we want is 3249# actually supported "in the wild" to an acceptable degree. 3250# See automake bug#10828. 3251# To make any issue more visible, cause the running configure to be aborted 3252# by default if the 'rm' program in use doesn't match our expectations; the 3253# user can still override this though. 3254if rm -f && rm -fr && rm -rf; then : OK; else 3255 cat >&2 <<'END' 3256Oops! 3257 3258Your 'rm' program seems unable to run without file operands specified 3259on the command line, even when the '-f' option is present. This is contrary 3260to the behaviour of most rm programs out there, and not conforming with 3261the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3262 3263Please tell bug-automake@gnu.org about your system, including the value 3264of your $PATH and any error possibly output before this message. This 3265can help us improve future automake versions. 3266 3267END 3268 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3269 echo 'Configuration will proceed anyway, since you have set the' >&2 3270 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3271 echo >&2 3272 else 3273 cat >&2 <<'END' 3274Aborting the configuration process, to ensure you take notice of the issue. 3275 3276You can download and install GNU coreutils to get an 'rm' implementation 3277that behaves properly: <https://www.gnu.org/software/coreutils/>. 3278 3279If you want to complete the configuration process using your problematic 3280'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3281to "yes", and re-run configure. 3282 3283END 3284 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3285 fi 3286fi 3287 3288 3289# Check whether --enable-silent-rules was given. 3290if test "${enable_silent_rules+set}" = set; then : 3291 enableval=$enable_silent_rules; 3292fi 3293 3294case $enable_silent_rules in # ((( 3295 yes) AM_DEFAULT_VERBOSITY=0;; 3296 no) AM_DEFAULT_VERBOSITY=1;; 3297 *) AM_DEFAULT_VERBOSITY=0;; 3298esac 3299am_make=${MAKE-make} 3300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3301$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3302if ${am_cv_make_support_nested_variables+:} false; then : 3303 $as_echo_n "(cached) " >&6 3304else 3305 if $as_echo 'TRUE=$(BAR$(V)) 3306BAR0=false 3307BAR1=true 3308V=1 3309am__doit: 3310 @$(TRUE) 3311.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3312 am_cv_make_support_nested_variables=yes 3313else 3314 am_cv_make_support_nested_variables=no 3315fi 3316fi 3317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3318$as_echo "$am_cv_make_support_nested_variables" >&6; } 3319if test $am_cv_make_support_nested_variables = yes; then 3320 AM_V='$(V)' 3321 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3322else 3323 AM_V=$AM_DEFAULT_VERBOSITY 3324 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3325fi 3326AM_BACKSLASH='\' 3327 3328 3329ac_config_headers="$ac_config_headers config.h" 3330 3331 3332# Check whether --enable-static was given. 3333if test "${enable_static+set}" = set; then : 3334 enableval=$enable_static; p=${PACKAGE-default} 3335 case $enableval in 3336 yes) enable_static=yes ;; 3337 no) enable_static=no ;; 3338 *) 3339 enable_static=no 3340 # Look at the argument we got. We use all the common list separators. 3341 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 3342 for pkg in $enableval; do 3343 IFS=$lt_save_ifs 3344 if test "X$pkg" = "X$p"; then 3345 enable_static=yes 3346 fi 3347 done 3348 IFS=$lt_save_ifs 3349 ;; 3350 esac 3351else 3352 enable_static=no 3353fi 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363case `pwd` in 3364 *\ * | *\ *) 3365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3366$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3367esac 3368 3369 3370 3371macro_version='2.4.6' 3372macro_revision='2.4.6' 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386ltmain=$ac_aux_dir/ltmain.sh 3387 3388# Make sure we can run config.sub. 3389$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3390 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3391 3392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3393$as_echo_n "checking build system type... " >&6; } 3394if ${ac_cv_build+:} false; then : 3395 $as_echo_n "(cached) " >&6 3396else 3397 ac_build_alias=$build_alias 3398test "x$ac_build_alias" = x && 3399 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3400test "x$ac_build_alias" = x && 3401 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3402ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3403 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3404 3405fi 3406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3407$as_echo "$ac_cv_build" >&6; } 3408case $ac_cv_build in 3409*-*-*) ;; 3410*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3411esac 3412build=$ac_cv_build 3413ac_save_IFS=$IFS; IFS='-' 3414set x $ac_cv_build 3415shift 3416build_cpu=$1 3417build_vendor=$2 3418shift; shift 3419# Remember, the first character of IFS is used to create $*, 3420# except with old shells: 3421build_os=$* 3422IFS=$ac_save_IFS 3423case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3424 3425 3426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3427$as_echo_n "checking host system type... " >&6; } 3428if ${ac_cv_host+:} false; then : 3429 $as_echo_n "(cached) " >&6 3430else 3431 if test "x$host_alias" = x; then 3432 ac_cv_host=$ac_cv_build 3433else 3434 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3435 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3436fi 3437 3438fi 3439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3440$as_echo "$ac_cv_host" >&6; } 3441case $ac_cv_host in 3442*-*-*) ;; 3443*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3444esac 3445host=$ac_cv_host 3446ac_save_IFS=$IFS; IFS='-' 3447set x $ac_cv_host 3448shift 3449host_cpu=$1 3450host_vendor=$2 3451shift; shift 3452# Remember, the first character of IFS is used to create $*, 3453# except with old shells: 3454host_os=$* 3455IFS=$ac_save_IFS 3456case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3457 3458 3459# Backslashify metacharacters that are still active within 3460# double-quoted strings. 3461sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3462 3463# Same as above, but do not quote variable references. 3464double_quote_subst='s/\(["`\\]\)/\\\1/g' 3465 3466# Sed substitution to delay expansion of an escaped shell variable in a 3467# double_quote_subst'ed string. 3468delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3469 3470# Sed substitution to delay expansion of an escaped single quote. 3471delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3472 3473# Sed substitution to avoid accidental globbing in evaled expressions 3474no_glob_subst='s/\*/\\\*/g' 3475 3476ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3477ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3478ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3479 3480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3481$as_echo_n "checking how to print strings... " >&6; } 3482# Test print first, because it will be a builtin if present. 3483if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3484 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3485 ECHO='print -r --' 3486elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3487 ECHO='printf %s\n' 3488else 3489 # Use this function as a fallback that always works. 3490 func_fallback_echo () 3491 { 3492 eval 'cat <<_LTECHO_EOF 3493$1 3494_LTECHO_EOF' 3495 } 3496 ECHO='func_fallback_echo' 3497fi 3498 3499# func_echo_all arg... 3500# Invoke $ECHO with all args, space-separated. 3501func_echo_all () 3502{ 3503 $ECHO "" 3504} 3505 3506case $ECHO in 3507 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3508$as_echo "printf" >&6; } ;; 3509 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3510$as_echo "print -r" >&6; } ;; 3511 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3512$as_echo "cat" >&6; } ;; 3513esac 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528DEPDIR="${am__leading_dot}deps" 3529 3530ac_config_commands="$ac_config_commands depfiles" 3531 3532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3533$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3534cat > confinc.mk << 'END' 3535am__doit: 3536 @echo this is the am__doit target >confinc.out 3537.PHONY: am__doit 3538END 3539am__include="#" 3540am__quote= 3541# BSD make does it like this. 3542echo '.include "confinc.mk" # ignored' > confmf.BSD 3543# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3544echo 'include confinc.mk # ignored' > confmf.GNU 3545_am_result=no 3546for s in GNU BSD; do 3547 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3548 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3549 ac_status=$? 3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3551 (exit $ac_status); } 3552 case $?:`cat confinc.out 2>/dev/null` in #( 3553 '0:this is the am__doit target') : 3554 case $s in #( 3555 BSD) : 3556 am__include='.include' am__quote='"' ;; #( 3557 *) : 3558 am__include='include' am__quote='' ;; 3559esac ;; #( 3560 *) : 3561 ;; 3562esac 3563 if test "$am__include" != "#"; then 3564 _am_result="yes ($s style)" 3565 break 3566 fi 3567done 3568rm -f confinc.* confmf.* 3569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3570$as_echo "${_am_result}" >&6; } 3571 3572# Check whether --enable-dependency-tracking was given. 3573if test "${enable_dependency_tracking+set}" = set; then : 3574 enableval=$enable_dependency_tracking; 3575fi 3576 3577if test "x$enable_dependency_tracking" != xno; then 3578 am_depcomp="$ac_aux_dir/depcomp" 3579 AMDEPBACKSLASH='\' 3580 am__nodep='_no' 3581fi 3582 if test "x$enable_dependency_tracking" != xno; then 3583 AMDEP_TRUE= 3584 AMDEP_FALSE='#' 3585else 3586 AMDEP_TRUE='#' 3587 AMDEP_FALSE= 3588fi 3589 3590 3591ac_ext=c 3592ac_cpp='$CPP $CPPFLAGS' 3593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3595ac_compiler_gnu=$ac_cv_c_compiler_gnu 3596if test -n "$ac_tool_prefix"; then 3597 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3598set dummy ${ac_tool_prefix}gcc; ac_word=$2 3599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3600$as_echo_n "checking for $ac_word... " >&6; } 3601if ${ac_cv_prog_CC+:} false; then : 3602 $as_echo_n "(cached) " >&6 3603else 3604 if test -n "$CC"; then 3605 ac_cv_prog_CC="$CC" # Let the user override the test. 3606else 3607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3608for as_dir in $PATH 3609do 3610 IFS=$as_save_IFS 3611 test -z "$as_dir" && as_dir=. 3612 for ac_exec_ext in '' $ac_executable_extensions; do 3613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3614 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3616 break 2 3617 fi 3618done 3619 done 3620IFS=$as_save_IFS 3621 3622fi 3623fi 3624CC=$ac_cv_prog_CC 3625if test -n "$CC"; then 3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3627$as_echo "$CC" >&6; } 3628else 3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3630$as_echo "no" >&6; } 3631fi 3632 3633 3634fi 3635if test -z "$ac_cv_prog_CC"; then 3636 ac_ct_CC=$CC 3637 # Extract the first word of "gcc", so it can be a program name with args. 3638set dummy gcc; ac_word=$2 3639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3640$as_echo_n "checking for $ac_word... " >&6; } 3641if ${ac_cv_prog_ac_ct_CC+:} false; then : 3642 $as_echo_n "(cached) " >&6 3643else 3644 if test -n "$ac_ct_CC"; then 3645 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3646else 3647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3648for as_dir in $PATH 3649do 3650 IFS=$as_save_IFS 3651 test -z "$as_dir" && as_dir=. 3652 for ac_exec_ext in '' $ac_executable_extensions; do 3653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3654 ac_cv_prog_ac_ct_CC="gcc" 3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3656 break 2 3657 fi 3658done 3659 done 3660IFS=$as_save_IFS 3661 3662fi 3663fi 3664ac_ct_CC=$ac_cv_prog_ac_ct_CC 3665if test -n "$ac_ct_CC"; then 3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3667$as_echo "$ac_ct_CC" >&6; } 3668else 3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3670$as_echo "no" >&6; } 3671fi 3672 3673 if test "x$ac_ct_CC" = x; then 3674 CC="" 3675 else 3676 case $cross_compiling:$ac_tool_warned in 3677yes:) 3678{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3679$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3680ac_tool_warned=yes ;; 3681esac 3682 CC=$ac_ct_CC 3683 fi 3684else 3685 CC="$ac_cv_prog_CC" 3686fi 3687 3688if test -z "$CC"; then 3689 if test -n "$ac_tool_prefix"; then 3690 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3691set dummy ${ac_tool_prefix}cc; ac_word=$2 3692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3693$as_echo_n "checking for $ac_word... " >&6; } 3694if ${ac_cv_prog_CC+:} false; then : 3695 $as_echo_n "(cached) " >&6 3696else 3697 if test -n "$CC"; then 3698 ac_cv_prog_CC="$CC" # Let the user override the test. 3699else 3700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3701for as_dir in $PATH 3702do 3703 IFS=$as_save_IFS 3704 test -z "$as_dir" && as_dir=. 3705 for ac_exec_ext in '' $ac_executable_extensions; do 3706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3707 ac_cv_prog_CC="${ac_tool_prefix}cc" 3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3709 break 2 3710 fi 3711done 3712 done 3713IFS=$as_save_IFS 3714 3715fi 3716fi 3717CC=$ac_cv_prog_CC 3718if test -n "$CC"; then 3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3720$as_echo "$CC" >&6; } 3721else 3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3723$as_echo "no" >&6; } 3724fi 3725 3726 3727 fi 3728fi 3729if test -z "$CC"; then 3730 # Extract the first word of "cc", so it can be a program name with args. 3731set dummy cc; ac_word=$2 3732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3733$as_echo_n "checking for $ac_word... " >&6; } 3734if ${ac_cv_prog_CC+:} false; then : 3735 $as_echo_n "(cached) " >&6 3736else 3737 if test -n "$CC"; then 3738 ac_cv_prog_CC="$CC" # Let the user override the test. 3739else 3740 ac_prog_rejected=no 3741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3742for as_dir in $PATH 3743do 3744 IFS=$as_save_IFS 3745 test -z "$as_dir" && as_dir=. 3746 for ac_exec_ext in '' $ac_executable_extensions; do 3747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3748 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3749 ac_prog_rejected=yes 3750 continue 3751 fi 3752 ac_cv_prog_CC="cc" 3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3754 break 2 3755 fi 3756done 3757 done 3758IFS=$as_save_IFS 3759 3760if test $ac_prog_rejected = yes; then 3761 # We found a bogon in the path, so make sure we never use it. 3762 set dummy $ac_cv_prog_CC 3763 shift 3764 if test $# != 0; then 3765 # We chose a different compiler from the bogus one. 3766 # However, it has the same basename, so the bogon will be chosen 3767 # first if we set CC to just the basename; use the full file name. 3768 shift 3769 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3770 fi 3771fi 3772fi 3773fi 3774CC=$ac_cv_prog_CC 3775if test -n "$CC"; then 3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3777$as_echo "$CC" >&6; } 3778else 3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3780$as_echo "no" >&6; } 3781fi 3782 3783 3784fi 3785if test -z "$CC"; then 3786 if test -n "$ac_tool_prefix"; then 3787 for ac_prog in cl.exe 3788 do 3789 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3790set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3792$as_echo_n "checking for $ac_word... " >&6; } 3793if ${ac_cv_prog_CC+:} false; then : 3794 $as_echo_n "(cached) " >&6 3795else 3796 if test -n "$CC"; then 3797 ac_cv_prog_CC="$CC" # Let the user override the test. 3798else 3799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3800for as_dir in $PATH 3801do 3802 IFS=$as_save_IFS 3803 test -z "$as_dir" && as_dir=. 3804 for ac_exec_ext in '' $ac_executable_extensions; do 3805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3806 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3808 break 2 3809 fi 3810done 3811 done 3812IFS=$as_save_IFS 3813 3814fi 3815fi 3816CC=$ac_cv_prog_CC 3817if test -n "$CC"; then 3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3819$as_echo "$CC" >&6; } 3820else 3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3822$as_echo "no" >&6; } 3823fi 3824 3825 3826 test -n "$CC" && break 3827 done 3828fi 3829if test -z "$CC"; then 3830 ac_ct_CC=$CC 3831 for ac_prog in cl.exe 3832do 3833 # Extract the first word of "$ac_prog", so it can be a program name with args. 3834set dummy $ac_prog; ac_word=$2 3835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3836$as_echo_n "checking for $ac_word... " >&6; } 3837if ${ac_cv_prog_ac_ct_CC+:} false; then : 3838 $as_echo_n "(cached) " >&6 3839else 3840 if test -n "$ac_ct_CC"; then 3841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3842else 3843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3844for as_dir in $PATH 3845do 3846 IFS=$as_save_IFS 3847 test -z "$as_dir" && as_dir=. 3848 for ac_exec_ext in '' $ac_executable_extensions; do 3849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3850 ac_cv_prog_ac_ct_CC="$ac_prog" 3851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3852 break 2 3853 fi 3854done 3855 done 3856IFS=$as_save_IFS 3857 3858fi 3859fi 3860ac_ct_CC=$ac_cv_prog_ac_ct_CC 3861if test -n "$ac_ct_CC"; then 3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3863$as_echo "$ac_ct_CC" >&6; } 3864else 3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3866$as_echo "no" >&6; } 3867fi 3868 3869 3870 test -n "$ac_ct_CC" && break 3871done 3872 3873 if test "x$ac_ct_CC" = x; then 3874 CC="" 3875 else 3876 case $cross_compiling:$ac_tool_warned in 3877yes:) 3878{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3879$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3880ac_tool_warned=yes ;; 3881esac 3882 CC=$ac_ct_CC 3883 fi 3884fi 3885 3886fi 3887 3888 3889test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3890$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3891as_fn_error $? "no acceptable C compiler found in \$PATH 3892See \`config.log' for more details" "$LINENO" 5; } 3893 3894# Provide some information about the compiler. 3895$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3896set X $ac_compile 3897ac_compiler=$2 3898for ac_option in --version -v -V -qversion; do 3899 { { ac_try="$ac_compiler $ac_option >&5" 3900case "(($ac_try" in 3901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3902 *) ac_try_echo=$ac_try;; 3903esac 3904eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3905$as_echo "$ac_try_echo"; } >&5 3906 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3907 ac_status=$? 3908 if test -s conftest.err; then 3909 sed '10a\ 3910... rest of stderr output deleted ... 3911 10q' conftest.err >conftest.er1 3912 cat conftest.er1 >&5 3913 fi 3914 rm -f conftest.er1 conftest.err 3915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3916 test $ac_status = 0; } 3917done 3918 3919cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3920/* end confdefs.h. */ 3921 3922int 3923main () 3924{ 3925 3926 ; 3927 return 0; 3928} 3929_ACEOF 3930ac_clean_files_save=$ac_clean_files 3931ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3932# Try to create an executable without -o first, disregard a.out. 3933# It will help us diagnose broken compilers, and finding out an intuition 3934# of exeext. 3935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3936$as_echo_n "checking whether the C compiler works... " >&6; } 3937ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3938 3939# The possible output files: 3940ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3941 3942ac_rmfiles= 3943for ac_file in $ac_files 3944do 3945 case $ac_file in 3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3947 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3948 esac 3949done 3950rm -f $ac_rmfiles 3951 3952if { { ac_try="$ac_link_default" 3953case "(($ac_try" in 3954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3955 *) ac_try_echo=$ac_try;; 3956esac 3957eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3958$as_echo "$ac_try_echo"; } >&5 3959 (eval "$ac_link_default") 2>&5 3960 ac_status=$? 3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3962 test $ac_status = 0; }; then : 3963 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3964# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3965# in a Makefile. We should not override ac_cv_exeext if it was cached, 3966# so that the user can short-circuit this test for compilers unknown to 3967# Autoconf. 3968for ac_file in $ac_files '' 3969do 3970 test -f "$ac_file" || continue 3971 case $ac_file in 3972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3973 ;; 3974 [ab].out ) 3975 # We found the default executable, but exeext='' is most 3976 # certainly right. 3977 break;; 3978 *.* ) 3979 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3980 then :; else 3981 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3982 fi 3983 # We set ac_cv_exeext here because the later test for it is not 3984 # safe: cross compilers may not add the suffix if given an `-o' 3985 # argument, so we may need to know it at that point already. 3986 # Even if this section looks crufty: it has the advantage of 3987 # actually working. 3988 break;; 3989 * ) 3990 break;; 3991 esac 3992done 3993test "$ac_cv_exeext" = no && ac_cv_exeext= 3994 3995else 3996 ac_file='' 3997fi 3998if test -z "$ac_file"; then : 3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4000$as_echo "no" >&6; } 4001$as_echo "$as_me: failed program was:" >&5 4002sed 's/^/| /' conftest.$ac_ext >&5 4003 4004{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4005$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4006as_fn_error 77 "C compiler cannot create executables 4007See \`config.log' for more details" "$LINENO" 5; } 4008else 4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4010$as_echo "yes" >&6; } 4011fi 4012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4013$as_echo_n "checking for C compiler default output file name... " >&6; } 4014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4015$as_echo "$ac_file" >&6; } 4016ac_exeext=$ac_cv_exeext 4017 4018rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4019ac_clean_files=$ac_clean_files_save 4020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4021$as_echo_n "checking for suffix of executables... " >&6; } 4022if { { ac_try="$ac_link" 4023case "(($ac_try" in 4024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4025 *) ac_try_echo=$ac_try;; 4026esac 4027eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4028$as_echo "$ac_try_echo"; } >&5 4029 (eval "$ac_link") 2>&5 4030 ac_status=$? 4031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4032 test $ac_status = 0; }; then : 4033 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4034# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4035# work properly (i.e., refer to `conftest.exe'), while it won't with 4036# `rm'. 4037for ac_file in conftest.exe conftest conftest.*; do 4038 test -f "$ac_file" || continue 4039 case $ac_file in 4040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4041 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4042 break;; 4043 * ) break;; 4044 esac 4045done 4046else 4047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4048$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4049as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4050See \`config.log' for more details" "$LINENO" 5; } 4051fi 4052rm -f conftest conftest$ac_cv_exeext 4053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4054$as_echo "$ac_cv_exeext" >&6; } 4055 4056rm -f conftest.$ac_ext 4057EXEEXT=$ac_cv_exeext 4058ac_exeext=$EXEEXT 4059cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4060/* end confdefs.h. */ 4061#include <stdio.h> 4062int 4063main () 4064{ 4065FILE *f = fopen ("conftest.out", "w"); 4066 return ferror (f) || fclose (f) != 0; 4067 4068 ; 4069 return 0; 4070} 4071_ACEOF 4072ac_clean_files="$ac_clean_files conftest.out" 4073# Check that the compiler produces executables we can run. If not, either 4074# the compiler is broken, or we cross compile. 4075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4076$as_echo_n "checking whether we are cross compiling... " >&6; } 4077if test "$cross_compiling" != yes; then 4078 { { ac_try="$ac_link" 4079case "(($ac_try" in 4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4081 *) ac_try_echo=$ac_try;; 4082esac 4083eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4084$as_echo "$ac_try_echo"; } >&5 4085 (eval "$ac_link") 2>&5 4086 ac_status=$? 4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4088 test $ac_status = 0; } 4089 if { ac_try='./conftest$ac_cv_exeext' 4090 { { case "(($ac_try" in 4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4092 *) ac_try_echo=$ac_try;; 4093esac 4094eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4095$as_echo "$ac_try_echo"; } >&5 4096 (eval "$ac_try") 2>&5 4097 ac_status=$? 4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4099 test $ac_status = 0; }; }; then 4100 cross_compiling=no 4101 else 4102 if test "$cross_compiling" = maybe; then 4103 cross_compiling=yes 4104 else 4105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4106$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4107as_fn_error $? "cannot run C compiled programs. 4108If you meant to cross compile, use \`--host'. 4109See \`config.log' for more details" "$LINENO" 5; } 4110 fi 4111 fi 4112fi 4113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4114$as_echo "$cross_compiling" >&6; } 4115 4116rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4117ac_clean_files=$ac_clean_files_save 4118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4119$as_echo_n "checking for suffix of object files... " >&6; } 4120if ${ac_cv_objext+:} false; then : 4121 $as_echo_n "(cached) " >&6 4122else 4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4124/* end confdefs.h. */ 4125 4126int 4127main () 4128{ 4129 4130 ; 4131 return 0; 4132} 4133_ACEOF 4134rm -f conftest.o conftest.obj 4135if { { ac_try="$ac_compile" 4136case "(($ac_try" in 4137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4138 *) ac_try_echo=$ac_try;; 4139esac 4140eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4141$as_echo "$ac_try_echo"; } >&5 4142 (eval "$ac_compile") 2>&5 4143 ac_status=$? 4144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4145 test $ac_status = 0; }; then : 4146 for ac_file in conftest.o conftest.obj conftest.*; do 4147 test -f "$ac_file" || continue; 4148 case $ac_file in 4149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4150 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4151 break;; 4152 esac 4153done 4154else 4155 $as_echo "$as_me: failed program was:" >&5 4156sed 's/^/| /' conftest.$ac_ext >&5 4157 4158{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4159$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4160as_fn_error $? "cannot compute suffix of object files: cannot compile 4161See \`config.log' for more details" "$LINENO" 5; } 4162fi 4163rm -f conftest.$ac_cv_objext conftest.$ac_ext 4164fi 4165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4166$as_echo "$ac_cv_objext" >&6; } 4167OBJEXT=$ac_cv_objext 4168ac_objext=$OBJEXT 4169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4170$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4171if ${ac_cv_c_compiler_gnu+:} false; then : 4172 $as_echo_n "(cached) " >&6 4173else 4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4175/* end confdefs.h. */ 4176 4177int 4178main () 4179{ 4180#ifndef __GNUC__ 4181 choke me 4182#endif 4183 4184 ; 4185 return 0; 4186} 4187_ACEOF 4188if ac_fn_c_try_compile "$LINENO"; then : 4189 ac_compiler_gnu=yes 4190else 4191 ac_compiler_gnu=no 4192fi 4193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4194ac_cv_c_compiler_gnu=$ac_compiler_gnu 4195 4196fi 4197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4198$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4199if test $ac_compiler_gnu = yes; then 4200 GCC=yes 4201else 4202 GCC= 4203fi 4204ac_test_CFLAGS=${CFLAGS+set} 4205ac_save_CFLAGS=$CFLAGS 4206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4207$as_echo_n "checking whether $CC accepts -g... " >&6; } 4208if ${ac_cv_prog_cc_g+:} false; then : 4209 $as_echo_n "(cached) " >&6 4210else 4211 ac_save_c_werror_flag=$ac_c_werror_flag 4212 ac_c_werror_flag=yes 4213 ac_cv_prog_cc_g=no 4214 CFLAGS="-g" 4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4216/* end confdefs.h. */ 4217 4218int 4219main () 4220{ 4221 4222 ; 4223 return 0; 4224} 4225_ACEOF 4226if ac_fn_c_try_compile "$LINENO"; then : 4227 ac_cv_prog_cc_g=yes 4228else 4229 CFLAGS="" 4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4231/* end confdefs.h. */ 4232 4233int 4234main () 4235{ 4236 4237 ; 4238 return 0; 4239} 4240_ACEOF 4241if ac_fn_c_try_compile "$LINENO"; then : 4242 4243else 4244 ac_c_werror_flag=$ac_save_c_werror_flag 4245 CFLAGS="-g" 4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4247/* end confdefs.h. */ 4248 4249int 4250main () 4251{ 4252 4253 ; 4254 return 0; 4255} 4256_ACEOF 4257if ac_fn_c_try_compile "$LINENO"; then : 4258 ac_cv_prog_cc_g=yes 4259fi 4260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4261fi 4262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4263fi 4264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4265 ac_c_werror_flag=$ac_save_c_werror_flag 4266fi 4267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4268$as_echo "$ac_cv_prog_cc_g" >&6; } 4269if test "$ac_test_CFLAGS" = set; then 4270 CFLAGS=$ac_save_CFLAGS 4271elif test $ac_cv_prog_cc_g = yes; then 4272 if test "$GCC" = yes; then 4273 CFLAGS="-g -O2" 4274 else 4275 CFLAGS="-g" 4276 fi 4277else 4278 if test "$GCC" = yes; then 4279 CFLAGS="-O2" 4280 else 4281 CFLAGS= 4282 fi 4283fi 4284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4285$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4286if ${ac_cv_prog_cc_c89+:} false; then : 4287 $as_echo_n "(cached) " >&6 4288else 4289 ac_cv_prog_cc_c89=no 4290ac_save_CC=$CC 4291cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4292/* end confdefs.h. */ 4293#include <stdarg.h> 4294#include <stdio.h> 4295struct stat; 4296/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4297struct buf { int x; }; 4298FILE * (*rcsopen) (struct buf *, struct stat *, int); 4299static char *e (p, i) 4300 char **p; 4301 int i; 4302{ 4303 return p[i]; 4304} 4305static char *f (char * (*g) (char **, int), char **p, ...) 4306{ 4307 char *s; 4308 va_list v; 4309 va_start (v,p); 4310 s = g (p, va_arg (v,int)); 4311 va_end (v); 4312 return s; 4313} 4314 4315/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4316 function prototypes and stuff, but not '\xHH' hex character constants. 4317 These don't provoke an error unfortunately, instead are silently treated 4318 as 'x'. The following induces an error, until -std is added to get 4319 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4320 array size at least. It's necessary to write '\x00'==0 to get something 4321 that's true only with -std. */ 4322int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4323 4324/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4325 inside strings and character constants. */ 4326#define FOO(x) 'x' 4327int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4328 4329int test (int i, double x); 4330struct s1 {int (*f) (int a);}; 4331struct s2 {int (*f) (double a);}; 4332int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4333int argc; 4334char **argv; 4335int 4336main () 4337{ 4338return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4339 ; 4340 return 0; 4341} 4342_ACEOF 4343for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4344 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4345do 4346 CC="$ac_save_CC $ac_arg" 4347 if ac_fn_c_try_compile "$LINENO"; then : 4348 ac_cv_prog_cc_c89=$ac_arg 4349fi 4350rm -f core conftest.err conftest.$ac_objext 4351 test "x$ac_cv_prog_cc_c89" != "xno" && break 4352done 4353rm -f conftest.$ac_ext 4354CC=$ac_save_CC 4355 4356fi 4357# AC_CACHE_VAL 4358case "x$ac_cv_prog_cc_c89" in 4359 x) 4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4361$as_echo "none needed" >&6; } ;; 4362 xno) 4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4364$as_echo "unsupported" >&6; } ;; 4365 *) 4366 CC="$CC $ac_cv_prog_cc_c89" 4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4368$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4369esac 4370if test "x$ac_cv_prog_cc_c89" != xno; then : 4371 4372fi 4373 4374ac_ext=c 4375ac_cpp='$CPP $CPPFLAGS' 4376ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4377ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4378ac_compiler_gnu=$ac_cv_c_compiler_gnu 4379 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{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4386$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4387if ${am_cv_prog_cc_c_o+:} false; then : 4388 $as_echo_n "(cached) " >&6 4389else 4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4391/* end confdefs.h. */ 4392 4393int 4394main () 4395{ 4396 4397 ; 4398 return 0; 4399} 4400_ACEOF 4401 # Make sure it works both with $CC and with simple cc. 4402 # Following AC_PROG_CC_C_O, we do the test twice because some 4403 # compilers refuse to overwrite an existing .o file with -o, 4404 # though they will create one. 4405 am_cv_prog_cc_c_o=yes 4406 for am_i in 1 2; do 4407 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4408 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4409 ac_status=$? 4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4411 (exit $ac_status); } \ 4412 && test -f conftest2.$ac_objext; then 4413 : OK 4414 else 4415 am_cv_prog_cc_c_o=no 4416 break 4417 fi 4418 done 4419 rm -f core conftest* 4420 unset am_i 4421fi 4422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4423$as_echo "$am_cv_prog_cc_c_o" >&6; } 4424if test "$am_cv_prog_cc_c_o" != yes; then 4425 # Losing compiler, so override with the script. 4426 # FIXME: It is wrong to rewrite CC. 4427 # But if we don't then we get into trouble of one sort or another. 4428 # A longer-term fix would be to have automake use am__CC in this case, 4429 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4430 CC="$am_aux_dir/compile $CC" 4431fi 4432ac_ext=c 4433ac_cpp='$CPP $CPPFLAGS' 4434ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4435ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4436ac_compiler_gnu=$ac_cv_c_compiler_gnu 4437 4438 4439depcc="$CC" am_compiler_list= 4440 4441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4442$as_echo_n "checking dependency style of $depcc... " >&6; } 4443if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4444 $as_echo_n "(cached) " >&6 4445else 4446 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4447 # We make a subdir and do the tests there. Otherwise we can end up 4448 # making bogus files that we don't know about and never remove. For 4449 # instance it was reported that on HP-UX the gcc test will end up 4450 # making a dummy file named 'D' -- because '-MD' means "put the output 4451 # in D". 4452 rm -rf conftest.dir 4453 mkdir conftest.dir 4454 # Copy depcomp to subdir because otherwise we won't find it if we're 4455 # using a relative directory. 4456 cp "$am_depcomp" conftest.dir 4457 cd conftest.dir 4458 # We will build objects and dependencies in a subdirectory because 4459 # it helps to detect inapplicable dependency modes. For instance 4460 # both Tru64's cc and ICC support -MD to output dependencies as a 4461 # side effect of compilation, but ICC will put the dependencies in 4462 # the current directory while Tru64 will put them in the object 4463 # directory. 4464 mkdir sub 4465 4466 am_cv_CC_dependencies_compiler_type=none 4467 if test "$am_compiler_list" = ""; then 4468 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4469 fi 4470 am__universal=false 4471 case " $depcc " in #( 4472 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4473 esac 4474 4475 for depmode in $am_compiler_list; do 4476 # Setup a source with many dependencies, because some compilers 4477 # like to wrap large dependency lists on column 80 (with \), and 4478 # we should not choose a depcomp mode which is confused by this. 4479 # 4480 # We need to recreate these files for each test, as the compiler may 4481 # overwrite some of them when testing with obscure command lines. 4482 # This happens at least with the AIX C compiler. 4483 : > sub/conftest.c 4484 for i in 1 2 3 4 5 6; do 4485 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4486 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4487 # Solaris 10 /bin/sh. 4488 echo '/* dummy */' > sub/conftst$i.h 4489 done 4490 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4491 4492 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4493 # mode. It turns out that the SunPro C++ compiler does not properly 4494 # handle '-M -o', and we need to detect this. Also, some Intel 4495 # versions had trouble with output in subdirs. 4496 am__obj=sub/conftest.${OBJEXT-o} 4497 am__minus_obj="-o $am__obj" 4498 case $depmode in 4499 gcc) 4500 # This depmode causes a compiler race in universal mode. 4501 test "$am__universal" = false || continue 4502 ;; 4503 nosideeffect) 4504 # After this tag, mechanisms are not by side-effect, so they'll 4505 # only be used when explicitly requested. 4506 if test "x$enable_dependency_tracking" = xyes; then 4507 continue 4508 else 4509 break 4510 fi 4511 ;; 4512 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4513 # This compiler won't grok '-c -o', but also, the minuso test has 4514 # not run yet. These depmodes are late enough in the game, and 4515 # so weak that their functioning should not be impacted. 4516 am__obj=conftest.${OBJEXT-o} 4517 am__minus_obj= 4518 ;; 4519 none) break ;; 4520 esac 4521 if depmode=$depmode \ 4522 source=sub/conftest.c object=$am__obj \ 4523 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4524 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4525 >/dev/null 2>conftest.err && 4526 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4527 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4528 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4529 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4530 # icc doesn't choke on unknown options, it will just issue warnings 4531 # or remarks (even with -Werror). So we grep stderr for any message 4532 # that says an option was ignored or not supported. 4533 # When given -MP, icc 7.0 and 7.1 complain thusly: 4534 # icc: Command line warning: ignoring option '-M'; no argument required 4535 # The diagnosis changed in icc 8.0: 4536 # icc: Command line remark: option '-MP' not supported 4537 if (grep 'ignoring option' conftest.err || 4538 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4539 am_cv_CC_dependencies_compiler_type=$depmode 4540 break 4541 fi 4542 fi 4543 done 4544 4545 cd .. 4546 rm -rf conftest.dir 4547else 4548 am_cv_CC_dependencies_compiler_type=none 4549fi 4550 4551fi 4552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4553$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4554CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4555 4556 if 4557 test "x$enable_dependency_tracking" != xno \ 4558 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4559 am__fastdepCC_TRUE= 4560 am__fastdepCC_FALSE='#' 4561else 4562 am__fastdepCC_TRUE='#' 4563 am__fastdepCC_FALSE= 4564fi 4565 4566 4567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4568$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4569if ${ac_cv_path_SED+:} false; then : 4570 $as_echo_n "(cached) " >&6 4571else 4572 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4573 for ac_i in 1 2 3 4 5 6 7; do 4574 ac_script="$ac_script$as_nl$ac_script" 4575 done 4576 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4577 { ac_script=; unset ac_script;} 4578 if test -z "$SED"; then 4579 ac_path_SED_found=false 4580 # Loop through the user's path and test for each of PROGNAME-LIST 4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4582for as_dir in $PATH 4583do 4584 IFS=$as_save_IFS 4585 test -z "$as_dir" && as_dir=. 4586 for ac_prog in sed gsed; do 4587 for ac_exec_ext in '' $ac_executable_extensions; do 4588 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4589 as_fn_executable_p "$ac_path_SED" || continue 4590# Check for GNU ac_path_SED and select it if it is found. 4591 # Check for GNU $ac_path_SED 4592case `"$ac_path_SED" --version 2>&1` in 4593*GNU*) 4594 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4595*) 4596 ac_count=0 4597 $as_echo_n 0123456789 >"conftest.in" 4598 while : 4599 do 4600 cat "conftest.in" "conftest.in" >"conftest.tmp" 4601 mv "conftest.tmp" "conftest.in" 4602 cp "conftest.in" "conftest.nl" 4603 $as_echo '' >> "conftest.nl" 4604 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4605 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4606 as_fn_arith $ac_count + 1 && ac_count=$as_val 4607 if test $ac_count -gt ${ac_path_SED_max-0}; then 4608 # Best one so far, save it but keep looking for a better one 4609 ac_cv_path_SED="$ac_path_SED" 4610 ac_path_SED_max=$ac_count 4611 fi 4612 # 10*(2^10) chars as input seems more than enough 4613 test $ac_count -gt 10 && break 4614 done 4615 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4616esac 4617 4618 $ac_path_SED_found && break 3 4619 done 4620 done 4621 done 4622IFS=$as_save_IFS 4623 if test -z "$ac_cv_path_SED"; then 4624 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4625 fi 4626else 4627 ac_cv_path_SED=$SED 4628fi 4629 4630fi 4631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4632$as_echo "$ac_cv_path_SED" >&6; } 4633 SED="$ac_cv_path_SED" 4634 rm -f conftest.sed 4635 4636test -z "$SED" && SED=sed 4637Xsed="$SED -e 1s/^X//" 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4650$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4651if ${ac_cv_path_GREP+:} false; then : 4652 $as_echo_n "(cached) " >&6 4653else 4654 if test -z "$GREP"; then 4655 ac_path_GREP_found=false 4656 # Loop through the user's path and test for each of PROGNAME-LIST 4657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4658for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4659do 4660 IFS=$as_save_IFS 4661 test -z "$as_dir" && as_dir=. 4662 for ac_prog in grep ggrep; do 4663 for ac_exec_ext in '' $ac_executable_extensions; do 4664 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4665 as_fn_executable_p "$ac_path_GREP" || continue 4666# Check for GNU ac_path_GREP and select it if it is found. 4667 # Check for GNU $ac_path_GREP 4668case `"$ac_path_GREP" --version 2>&1` in 4669*GNU*) 4670 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4671*) 4672 ac_count=0 4673 $as_echo_n 0123456789 >"conftest.in" 4674 while : 4675 do 4676 cat "conftest.in" "conftest.in" >"conftest.tmp" 4677 mv "conftest.tmp" "conftest.in" 4678 cp "conftest.in" "conftest.nl" 4679 $as_echo 'GREP' >> "conftest.nl" 4680 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4681 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4682 as_fn_arith $ac_count + 1 && ac_count=$as_val 4683 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4684 # Best one so far, save it but keep looking for a better one 4685 ac_cv_path_GREP="$ac_path_GREP" 4686 ac_path_GREP_max=$ac_count 4687 fi 4688 # 10*(2^10) chars as input seems more than enough 4689 test $ac_count -gt 10 && break 4690 done 4691 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4692esac 4693 4694 $ac_path_GREP_found && break 3 4695 done 4696 done 4697 done 4698IFS=$as_save_IFS 4699 if test -z "$ac_cv_path_GREP"; then 4700 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4701 fi 4702else 4703 ac_cv_path_GREP=$GREP 4704fi 4705 4706fi 4707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4708$as_echo "$ac_cv_path_GREP" >&6; } 4709 GREP="$ac_cv_path_GREP" 4710 4711 4712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4713$as_echo_n "checking for egrep... " >&6; } 4714if ${ac_cv_path_EGREP+:} false; then : 4715 $as_echo_n "(cached) " >&6 4716else 4717 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4718 then ac_cv_path_EGREP="$GREP -E" 4719 else 4720 if test -z "$EGREP"; then 4721 ac_path_EGREP_found=false 4722 # Loop through the user's path and test for each of PROGNAME-LIST 4723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4724for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4725do 4726 IFS=$as_save_IFS 4727 test -z "$as_dir" && as_dir=. 4728 for ac_prog in egrep; do 4729 for ac_exec_ext in '' $ac_executable_extensions; do 4730 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4731 as_fn_executable_p "$ac_path_EGREP" || continue 4732# Check for GNU ac_path_EGREP and select it if it is found. 4733 # Check for GNU $ac_path_EGREP 4734case `"$ac_path_EGREP" --version 2>&1` in 4735*GNU*) 4736 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4737*) 4738 ac_count=0 4739 $as_echo_n 0123456789 >"conftest.in" 4740 while : 4741 do 4742 cat "conftest.in" "conftest.in" >"conftest.tmp" 4743 mv "conftest.tmp" "conftest.in" 4744 cp "conftest.in" "conftest.nl" 4745 $as_echo 'EGREP' >> "conftest.nl" 4746 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4747 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4748 as_fn_arith $ac_count + 1 && ac_count=$as_val 4749 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4750 # Best one so far, save it but keep looking for a better one 4751 ac_cv_path_EGREP="$ac_path_EGREP" 4752 ac_path_EGREP_max=$ac_count 4753 fi 4754 # 10*(2^10) chars as input seems more than enough 4755 test $ac_count -gt 10 && break 4756 done 4757 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4758esac 4759 4760 $ac_path_EGREP_found && break 3 4761 done 4762 done 4763 done 4764IFS=$as_save_IFS 4765 if test -z "$ac_cv_path_EGREP"; then 4766 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4767 fi 4768else 4769 ac_cv_path_EGREP=$EGREP 4770fi 4771 4772 fi 4773fi 4774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4775$as_echo "$ac_cv_path_EGREP" >&6; } 4776 EGREP="$ac_cv_path_EGREP" 4777 4778 4779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4780$as_echo_n "checking for fgrep... " >&6; } 4781if ${ac_cv_path_FGREP+:} false; then : 4782 $as_echo_n "(cached) " >&6 4783else 4784 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4785 then ac_cv_path_FGREP="$GREP -F" 4786 else 4787 if test -z "$FGREP"; then 4788 ac_path_FGREP_found=false 4789 # Loop through the user's path and test for each of PROGNAME-LIST 4790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4791for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4792do 4793 IFS=$as_save_IFS 4794 test -z "$as_dir" && as_dir=. 4795 for ac_prog in fgrep; do 4796 for ac_exec_ext in '' $ac_executable_extensions; do 4797 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4798 as_fn_executable_p "$ac_path_FGREP" || continue 4799# Check for GNU ac_path_FGREP and select it if it is found. 4800 # Check for GNU $ac_path_FGREP 4801case `"$ac_path_FGREP" --version 2>&1` in 4802*GNU*) 4803 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4804*) 4805 ac_count=0 4806 $as_echo_n 0123456789 >"conftest.in" 4807 while : 4808 do 4809 cat "conftest.in" "conftest.in" >"conftest.tmp" 4810 mv "conftest.tmp" "conftest.in" 4811 cp "conftest.in" "conftest.nl" 4812 $as_echo 'FGREP' >> "conftest.nl" 4813 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4814 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4815 as_fn_arith $ac_count + 1 && ac_count=$as_val 4816 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4817 # Best one so far, save it but keep looking for a better one 4818 ac_cv_path_FGREP="$ac_path_FGREP" 4819 ac_path_FGREP_max=$ac_count 4820 fi 4821 # 10*(2^10) chars as input seems more than enough 4822 test $ac_count -gt 10 && break 4823 done 4824 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4825esac 4826 4827 $ac_path_FGREP_found && break 3 4828 done 4829 done 4830 done 4831IFS=$as_save_IFS 4832 if test -z "$ac_cv_path_FGREP"; then 4833 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4834 fi 4835else 4836 ac_cv_path_FGREP=$FGREP 4837fi 4838 4839 fi 4840fi 4841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4842$as_echo "$ac_cv_path_FGREP" >&6; } 4843 FGREP="$ac_cv_path_FGREP" 4844 4845 4846test -z "$GREP" && GREP=grep 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866# Check whether --with-gnu-ld was given. 4867if test "${with_gnu_ld+set}" = set; then : 4868 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4869else 4870 with_gnu_ld=no 4871fi 4872 4873ac_prog=ld 4874if test yes = "$GCC"; then 4875 # Check if gcc -print-prog-name=ld gives a path. 4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4877$as_echo_n "checking for ld used by $CC... " >&6; } 4878 case $host in 4879 *-*-mingw*) 4880 # gcc leaves a trailing carriage return, which upsets mingw 4881 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4882 *) 4883 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4884 esac 4885 case $ac_prog in 4886 # Accept absolute paths. 4887 [\\/]* | ?:[\\/]*) 4888 re_direlt='/[^/][^/]*/\.\./' 4889 # Canonicalize the pathname of ld 4890 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4891 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4892 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4893 done 4894 test -z "$LD" && LD=$ac_prog 4895 ;; 4896 "") 4897 # If it fails, then pretend we aren't using GCC. 4898 ac_prog=ld 4899 ;; 4900 *) 4901 # If it is relative, then search for the first ld in PATH. 4902 with_gnu_ld=unknown 4903 ;; 4904 esac 4905elif test yes = "$with_gnu_ld"; then 4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4907$as_echo_n "checking for GNU ld... " >&6; } 4908else 4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4910$as_echo_n "checking for non-GNU ld... " >&6; } 4911fi 4912if ${lt_cv_path_LD+:} false; then : 4913 $as_echo_n "(cached) " >&6 4914else 4915 if test -z "$LD"; then 4916 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4917 for ac_dir in $PATH; do 4918 IFS=$lt_save_ifs 4919 test -z "$ac_dir" && ac_dir=. 4920 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4921 lt_cv_path_LD=$ac_dir/$ac_prog 4922 # Check to see if the program is GNU ld. I'd rather use --version, 4923 # but apparently some variants of GNU ld only accept -v. 4924 # Break only if it was the GNU/non-GNU ld that we prefer. 4925 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4926 *GNU* | *'with BFD'*) 4927 test no != "$with_gnu_ld" && break 4928 ;; 4929 *) 4930 test yes != "$with_gnu_ld" && break 4931 ;; 4932 esac 4933 fi 4934 done 4935 IFS=$lt_save_ifs 4936else 4937 lt_cv_path_LD=$LD # Let the user override the test with a path. 4938fi 4939fi 4940 4941LD=$lt_cv_path_LD 4942if test -n "$LD"; then 4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4944$as_echo "$LD" >&6; } 4945else 4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4947$as_echo "no" >&6; } 4948fi 4949test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4951$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4952if ${lt_cv_prog_gnu_ld+:} false; then : 4953 $as_echo_n "(cached) " >&6 4954else 4955 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4956case `$LD -v 2>&1 </dev/null` in 4957*GNU* | *'with BFD'*) 4958 lt_cv_prog_gnu_ld=yes 4959 ;; 4960*) 4961 lt_cv_prog_gnu_ld=no 4962 ;; 4963esac 4964fi 4965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4966$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4967with_gnu_ld=$lt_cv_prog_gnu_ld 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4978$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4979if ${lt_cv_path_NM+:} false; then : 4980 $as_echo_n "(cached) " >&6 4981else 4982 if test -n "$NM"; then 4983 # Let the user override the test. 4984 lt_cv_path_NM=$NM 4985else 4986 lt_nm_to_check=${ac_tool_prefix}nm 4987 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4988 lt_nm_to_check="$lt_nm_to_check nm" 4989 fi 4990 for lt_tmp_nm in $lt_nm_to_check; do 4991 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4992 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4993 IFS=$lt_save_ifs 4994 test -z "$ac_dir" && ac_dir=. 4995 tmp_nm=$ac_dir/$lt_tmp_nm 4996 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4997 # Check to see if the nm accepts a BSD-compat flag. 4998 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4999 # nm: unknown option "B" ignored 5000 # Tru64's nm complains that /dev/null is an invalid object file 5001 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5002 case $build_os in 5003 mingw*) lt_bad_file=conftest.nm/nofile ;; 5004 *) lt_bad_file=/dev/null ;; 5005 esac 5006 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5007 *$lt_bad_file* | *'Invalid file or object type'*) 5008 lt_cv_path_NM="$tmp_nm -B" 5009 break 2 5010 ;; 5011 *) 5012 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5013 */dev/null*) 5014 lt_cv_path_NM="$tmp_nm -p" 5015 break 2 5016 ;; 5017 *) 5018 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5019 continue # so that we can try to find one that supports BSD flags 5020 ;; 5021 esac 5022 ;; 5023 esac 5024 fi 5025 done 5026 IFS=$lt_save_ifs 5027 done 5028 : ${lt_cv_path_NM=no} 5029fi 5030fi 5031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5032$as_echo "$lt_cv_path_NM" >&6; } 5033if test no != "$lt_cv_path_NM"; then 5034 NM=$lt_cv_path_NM 5035else 5036 # Didn't find any BSD compatible name lister, look for dumpbin. 5037 if test -n "$DUMPBIN"; then : 5038 # Let the user override the test. 5039 else 5040 if test -n "$ac_tool_prefix"; then 5041 for ac_prog in dumpbin "link -dump" 5042 do 5043 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5044set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5046$as_echo_n "checking for $ac_word... " >&6; } 5047if ${ac_cv_prog_DUMPBIN+:} false; then : 5048 $as_echo_n "(cached) " >&6 5049else 5050 if test -n "$DUMPBIN"; then 5051 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5052else 5053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5054for as_dir in $PATH 5055do 5056 IFS=$as_save_IFS 5057 test -z "$as_dir" && as_dir=. 5058 for ac_exec_ext in '' $ac_executable_extensions; do 5059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5060 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5062 break 2 5063 fi 5064done 5065 done 5066IFS=$as_save_IFS 5067 5068fi 5069fi 5070DUMPBIN=$ac_cv_prog_DUMPBIN 5071if test -n "$DUMPBIN"; then 5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5073$as_echo "$DUMPBIN" >&6; } 5074else 5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5076$as_echo "no" >&6; } 5077fi 5078 5079 5080 test -n "$DUMPBIN" && break 5081 done 5082fi 5083if test -z "$DUMPBIN"; then 5084 ac_ct_DUMPBIN=$DUMPBIN 5085 for ac_prog in dumpbin "link -dump" 5086do 5087 # Extract the first word of "$ac_prog", so it can be a program name with args. 5088set dummy $ac_prog; ac_word=$2 5089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5090$as_echo_n "checking for $ac_word... " >&6; } 5091if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5092 $as_echo_n "(cached) " >&6 5093else 5094 if test -n "$ac_ct_DUMPBIN"; then 5095 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5096else 5097as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5098for as_dir in $PATH 5099do 5100 IFS=$as_save_IFS 5101 test -z "$as_dir" && as_dir=. 5102 for ac_exec_ext in '' $ac_executable_extensions; do 5103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5104 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5106 break 2 5107 fi 5108done 5109 done 5110IFS=$as_save_IFS 5111 5112fi 5113fi 5114ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5115if test -n "$ac_ct_DUMPBIN"; then 5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5117$as_echo "$ac_ct_DUMPBIN" >&6; } 5118else 5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5120$as_echo "no" >&6; } 5121fi 5122 5123 5124 test -n "$ac_ct_DUMPBIN" && break 5125done 5126 5127 if test "x$ac_ct_DUMPBIN" = x; then 5128 DUMPBIN=":" 5129 else 5130 case $cross_compiling:$ac_tool_warned in 5131yes:) 5132{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5133$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5134ac_tool_warned=yes ;; 5135esac 5136 DUMPBIN=$ac_ct_DUMPBIN 5137 fi 5138fi 5139 5140 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5141 *COFF*) 5142 DUMPBIN="$DUMPBIN -symbols -headers" 5143 ;; 5144 *) 5145 DUMPBIN=: 5146 ;; 5147 esac 5148 fi 5149 5150 if test : != "$DUMPBIN"; then 5151 NM=$DUMPBIN 5152 fi 5153fi 5154test -z "$NM" && NM=nm 5155 5156 5157 5158 5159 5160 5161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5162$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5163if ${lt_cv_nm_interface+:} false; then : 5164 $as_echo_n "(cached) " >&6 5165else 5166 lt_cv_nm_interface="BSD nm" 5167 echo "int some_variable = 0;" > conftest.$ac_ext 5168 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5169 (eval "$ac_compile" 2>conftest.err) 5170 cat conftest.err >&5 5171 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5172 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5173 cat conftest.err >&5 5174 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5175 cat conftest.out >&5 5176 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5177 lt_cv_nm_interface="MS dumpbin" 5178 fi 5179 rm -f conftest* 5180fi 5181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5182$as_echo "$lt_cv_nm_interface" >&6; } 5183 5184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5185$as_echo_n "checking whether ln -s works... " >&6; } 5186LN_S=$as_ln_s 5187if test "$LN_S" = "ln -s"; then 5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5189$as_echo "yes" >&6; } 5190else 5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5192$as_echo "no, using $LN_S" >&6; } 5193fi 5194 5195# find the maximum length of command line arguments 5196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5197$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5198if ${lt_cv_sys_max_cmd_len+:} false; then : 5199 $as_echo_n "(cached) " >&6 5200else 5201 i=0 5202 teststring=ABCD 5203 5204 case $build_os in 5205 msdosdjgpp*) 5206 # On DJGPP, this test can blow up pretty badly due to problems in libc 5207 # (any single argument exceeding 2000 bytes causes a buffer overrun 5208 # during glob expansion). Even if it were fixed, the result of this 5209 # check would be larger than it should be. 5210 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5211 ;; 5212 5213 gnu*) 5214 # Under GNU Hurd, this test is not required because there is 5215 # no limit to the length of command line arguments. 5216 # Libtool will interpret -1 as no limit whatsoever 5217 lt_cv_sys_max_cmd_len=-1; 5218 ;; 5219 5220 cygwin* | mingw* | cegcc*) 5221 # On Win9x/ME, this test blows up -- it succeeds, but takes 5222 # about 5 minutes as the teststring grows exponentially. 5223 # Worse, since 9x/ME are not pre-emptively multitasking, 5224 # you end up with a "frozen" computer, even though with patience 5225 # the test eventually succeeds (with a max line length of 256k). 5226 # Instead, let's just punt: use the minimum linelength reported by 5227 # all of the supported platforms: 8192 (on NT/2K/XP). 5228 lt_cv_sys_max_cmd_len=8192; 5229 ;; 5230 5231 mint*) 5232 # On MiNT this can take a long time and run out of memory. 5233 lt_cv_sys_max_cmd_len=8192; 5234 ;; 5235 5236 amigaos*) 5237 # On AmigaOS with pdksh, this test takes hours, literally. 5238 # So we just punt and use a minimum line length of 8192. 5239 lt_cv_sys_max_cmd_len=8192; 5240 ;; 5241 5242 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5243 # This has been around since 386BSD, at least. Likely further. 5244 if test -x /sbin/sysctl; then 5245 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5246 elif test -x /usr/sbin/sysctl; then 5247 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5248 else 5249 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5250 fi 5251 # And add a safety zone 5252 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5253 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5254 ;; 5255 5256 interix*) 5257 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5258 lt_cv_sys_max_cmd_len=196608 5259 ;; 5260 5261 os2*) 5262 # The test takes a long time on OS/2. 5263 lt_cv_sys_max_cmd_len=8192 5264 ;; 5265 5266 osf*) 5267 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5268 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5269 # nice to cause kernel panics so lets avoid the loop below. 5270 # First set a reasonable default. 5271 lt_cv_sys_max_cmd_len=16384 5272 # 5273 if test -x /sbin/sysconfig; then 5274 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5275 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5276 esac 5277 fi 5278 ;; 5279 sco3.2v5*) 5280 lt_cv_sys_max_cmd_len=102400 5281 ;; 5282 sysv5* | sco5v6* | sysv4.2uw2*) 5283 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5284 if test -n "$kargmax"; then 5285 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5286 else 5287 lt_cv_sys_max_cmd_len=32768 5288 fi 5289 ;; 5290 *) 5291 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5292 if test -n "$lt_cv_sys_max_cmd_len" && \ 5293 test undefined != "$lt_cv_sys_max_cmd_len"; then 5294 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5295 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5296 else 5297 # Make teststring a little bigger before we do anything with it. 5298 # a 1K string should be a reasonable start. 5299 for i in 1 2 3 4 5 6 7 8; do 5300 teststring=$teststring$teststring 5301 done 5302 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5303 # If test is not a shell built-in, we'll probably end up computing a 5304 # maximum length that is only half of the actual maximum length, but 5305 # we can't tell. 5306 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5307 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5308 test 17 != "$i" # 1/2 MB should be enough 5309 do 5310 i=`expr $i + 1` 5311 teststring=$teststring$teststring 5312 done 5313 # Only check the string length outside the loop. 5314 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5315 teststring= 5316 # Add a significant safety factor because C++ compilers can tack on 5317 # massive amounts of additional arguments before passing them to the 5318 # linker. It appears as though 1/2 is a usable value. 5319 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5320 fi 5321 ;; 5322 esac 5323 5324fi 5325 5326if test -n "$lt_cv_sys_max_cmd_len"; then 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5328$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5329else 5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5331$as_echo "none" >&6; } 5332fi 5333max_cmd_len=$lt_cv_sys_max_cmd_len 5334 5335 5336 5337 5338 5339 5340: ${CP="cp -f"} 5341: ${MV="mv -f"} 5342: ${RM="rm -f"} 5343 5344if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5345 lt_unset=unset 5346else 5347 lt_unset=false 5348fi 5349 5350 5351 5352 5353 5354# test EBCDIC or ASCII 5355case `echo X|tr X '\101'` in 5356 A) # ASCII based system 5357 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5358 lt_SP2NL='tr \040 \012' 5359 lt_NL2SP='tr \015\012 \040\040' 5360 ;; 5361 *) # EBCDIC based system 5362 lt_SP2NL='tr \100 \n' 5363 lt_NL2SP='tr \r\n \100\100' 5364 ;; 5365esac 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5376$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5377if ${lt_cv_to_host_file_cmd+:} false; then : 5378 $as_echo_n "(cached) " >&6 5379else 5380 case $host in 5381 *-*-mingw* ) 5382 case $build in 5383 *-*-mingw* ) # actually msys 5384 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5385 ;; 5386 *-*-cygwin* ) 5387 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5388 ;; 5389 * ) # otherwise, assume *nix 5390 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5391 ;; 5392 esac 5393 ;; 5394 *-*-cygwin* ) 5395 case $build in 5396 *-*-mingw* ) # actually msys 5397 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5398 ;; 5399 *-*-cygwin* ) 5400 lt_cv_to_host_file_cmd=func_convert_file_noop 5401 ;; 5402 * ) # otherwise, assume *nix 5403 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5404 ;; 5405 esac 5406 ;; 5407 * ) # unhandled hosts (and "normal" native builds) 5408 lt_cv_to_host_file_cmd=func_convert_file_noop 5409 ;; 5410esac 5411 5412fi 5413 5414to_host_file_cmd=$lt_cv_to_host_file_cmd 5415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5416$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5417 5418 5419 5420 5421 5422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5423$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5424if ${lt_cv_to_tool_file_cmd+:} false; then : 5425 $as_echo_n "(cached) " >&6 5426else 5427 #assume ordinary cross tools, or native build. 5428lt_cv_to_tool_file_cmd=func_convert_file_noop 5429case $host in 5430 *-*-mingw* ) 5431 case $build in 5432 *-*-mingw* ) # actually msys 5433 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5434 ;; 5435 esac 5436 ;; 5437esac 5438 5439fi 5440 5441to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5443$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5444 5445 5446 5447 5448 5449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5450$as_echo_n "checking for $LD option to reload object files... " >&6; } 5451if ${lt_cv_ld_reload_flag+:} false; then : 5452 $as_echo_n "(cached) " >&6 5453else 5454 lt_cv_ld_reload_flag='-r' 5455fi 5456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5457$as_echo "$lt_cv_ld_reload_flag" >&6; } 5458reload_flag=$lt_cv_ld_reload_flag 5459case $reload_flag in 5460"" | " "*) ;; 5461*) reload_flag=" $reload_flag" ;; 5462esac 5463reload_cmds='$LD$reload_flag -o $output$reload_objs' 5464case $host_os in 5465 cygwin* | mingw* | pw32* | cegcc*) 5466 if test yes != "$GCC"; then 5467 reload_cmds=false 5468 fi 5469 ;; 5470 darwin*) 5471 if test yes = "$GCC"; then 5472 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5473 else 5474 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5475 fi 5476 ;; 5477esac 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487if test -n "$ac_tool_prefix"; then 5488 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5489set dummy ${ac_tool_prefix}objdump; ac_word=$2 5490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5491$as_echo_n "checking for $ac_word... " >&6; } 5492if ${ac_cv_prog_OBJDUMP+:} false; then : 5493 $as_echo_n "(cached) " >&6 5494else 5495 if test -n "$OBJDUMP"; then 5496 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5497else 5498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5499for as_dir in $PATH 5500do 5501 IFS=$as_save_IFS 5502 test -z "$as_dir" && as_dir=. 5503 for ac_exec_ext in '' $ac_executable_extensions; do 5504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5505 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5507 break 2 5508 fi 5509done 5510 done 5511IFS=$as_save_IFS 5512 5513fi 5514fi 5515OBJDUMP=$ac_cv_prog_OBJDUMP 5516if test -n "$OBJDUMP"; then 5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5518$as_echo "$OBJDUMP" >&6; } 5519else 5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5521$as_echo "no" >&6; } 5522fi 5523 5524 5525fi 5526if test -z "$ac_cv_prog_OBJDUMP"; then 5527 ac_ct_OBJDUMP=$OBJDUMP 5528 # Extract the first word of "objdump", so it can be a program name with args. 5529set dummy objdump; ac_word=$2 5530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5531$as_echo_n "checking for $ac_word... " >&6; } 5532if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5533 $as_echo_n "(cached) " >&6 5534else 5535 if test -n "$ac_ct_OBJDUMP"; then 5536 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5537else 5538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5539for as_dir in $PATH 5540do 5541 IFS=$as_save_IFS 5542 test -z "$as_dir" && as_dir=. 5543 for ac_exec_ext in '' $ac_executable_extensions; do 5544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5545 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5547 break 2 5548 fi 5549done 5550 done 5551IFS=$as_save_IFS 5552 5553fi 5554fi 5555ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5556if test -n "$ac_ct_OBJDUMP"; then 5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5558$as_echo "$ac_ct_OBJDUMP" >&6; } 5559else 5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5561$as_echo "no" >&6; } 5562fi 5563 5564 if test "x$ac_ct_OBJDUMP" = x; then 5565 OBJDUMP="false" 5566 else 5567 case $cross_compiling:$ac_tool_warned in 5568yes:) 5569{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5570$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5571ac_tool_warned=yes ;; 5572esac 5573 OBJDUMP=$ac_ct_OBJDUMP 5574 fi 5575else 5576 OBJDUMP="$ac_cv_prog_OBJDUMP" 5577fi 5578 5579test -z "$OBJDUMP" && OBJDUMP=objdump 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5590$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5591if ${lt_cv_deplibs_check_method+:} false; then : 5592 $as_echo_n "(cached) " >&6 5593else 5594 lt_cv_file_magic_cmd='$MAGIC_CMD' 5595lt_cv_file_magic_test_file= 5596lt_cv_deplibs_check_method='unknown' 5597# Need to set the preceding variable on all platforms that support 5598# interlibrary dependencies. 5599# 'none' -- dependencies not supported. 5600# 'unknown' -- same as none, but documents that we really don't know. 5601# 'pass_all' -- all dependencies passed with no checks. 5602# 'test_compile' -- check by making test program. 5603# 'file_magic [[regex]]' -- check by looking for files in library path 5604# that responds to the $file_magic_cmd with a given extended regex. 5605# If you have 'file' or equivalent on your system and you're not sure 5606# whether 'pass_all' will *always* work, you probably want this one. 5607 5608case $host_os in 5609aix[4-9]*) 5610 lt_cv_deplibs_check_method=pass_all 5611 ;; 5612 5613beos*) 5614 lt_cv_deplibs_check_method=pass_all 5615 ;; 5616 5617bsdi[45]*) 5618 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5619 lt_cv_file_magic_cmd='/usr/bin/file -L' 5620 lt_cv_file_magic_test_file=/shlib/libc.so 5621 ;; 5622 5623cygwin*) 5624 # func_win32_libid is a shell function defined in ltmain.sh 5625 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5626 lt_cv_file_magic_cmd='func_win32_libid' 5627 ;; 5628 5629mingw* | pw32*) 5630 # Base MSYS/MinGW do not provide the 'file' command needed by 5631 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5632 # unless we find 'file', for example because we are cross-compiling. 5633 if ( file / ) >/dev/null 2>&1; then 5634 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5635 lt_cv_file_magic_cmd='func_win32_libid' 5636 else 5637 # Keep this pattern in sync with the one in func_win32_libid. 5638 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5639 lt_cv_file_magic_cmd='$OBJDUMP -f' 5640 fi 5641 ;; 5642 5643cegcc*) 5644 # use the weaker test based on 'objdump'. See mingw*. 5645 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5646 lt_cv_file_magic_cmd='$OBJDUMP -f' 5647 ;; 5648 5649darwin* | rhapsody*) 5650 lt_cv_deplibs_check_method=pass_all 5651 ;; 5652 5653freebsd* | dragonfly*) 5654 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5655 case $host_cpu in 5656 i*86 ) 5657 # Not sure whether the presence of OpenBSD here was a mistake. 5658 # Let's accept both of them until this is cleared up. 5659 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5660 lt_cv_file_magic_cmd=/usr/bin/file 5661 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5662 ;; 5663 esac 5664 else 5665 lt_cv_deplibs_check_method=pass_all 5666 fi 5667 ;; 5668 5669haiku*) 5670 lt_cv_deplibs_check_method=pass_all 5671 ;; 5672 5673hpux10.20* | hpux11*) 5674 lt_cv_file_magic_cmd=/usr/bin/file 5675 case $host_cpu in 5676 ia64*) 5677 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5678 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5679 ;; 5680 hppa*64*) 5681 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]' 5682 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5683 ;; 5684 *) 5685 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5686 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5687 ;; 5688 esac 5689 ;; 5690 5691interix[3-9]*) 5692 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5693 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5694 ;; 5695 5696irix5* | irix6* | nonstopux*) 5697 case $LD in 5698 *-32|*"-32 ") libmagic=32-bit;; 5699 *-n32|*"-n32 ") libmagic=N32;; 5700 *-64|*"-64 ") libmagic=64-bit;; 5701 *) libmagic=never-match;; 5702 esac 5703 lt_cv_deplibs_check_method=pass_all 5704 ;; 5705 5706# This must be glibc/ELF. 5707linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5708 lt_cv_deplibs_check_method=pass_all 5709 ;; 5710 5711netbsd*) 5712 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5713 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5714 else 5715 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5716 fi 5717 ;; 5718 5719newos6*) 5720 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5721 lt_cv_file_magic_cmd=/usr/bin/file 5722 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5723 ;; 5724 5725*nto* | *qnx*) 5726 lt_cv_deplibs_check_method=pass_all 5727 ;; 5728 5729openbsd* | bitrig*) 5730 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5731 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5732 else 5733 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5734 fi 5735 ;; 5736 5737osf3* | osf4* | osf5*) 5738 lt_cv_deplibs_check_method=pass_all 5739 ;; 5740 5741rdos*) 5742 lt_cv_deplibs_check_method=pass_all 5743 ;; 5744 5745solaris*) 5746 lt_cv_deplibs_check_method=pass_all 5747 ;; 5748 5749sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5750 lt_cv_deplibs_check_method=pass_all 5751 ;; 5752 5753sysv4 | sysv4.3*) 5754 case $host_vendor in 5755 motorola) 5756 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]' 5757 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5758 ;; 5759 ncr) 5760 lt_cv_deplibs_check_method=pass_all 5761 ;; 5762 sequent) 5763 lt_cv_file_magic_cmd='/bin/file' 5764 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5765 ;; 5766 sni) 5767 lt_cv_file_magic_cmd='/bin/file' 5768 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5769 lt_cv_file_magic_test_file=/lib/libc.so 5770 ;; 5771 siemens) 5772 lt_cv_deplibs_check_method=pass_all 5773 ;; 5774 pc) 5775 lt_cv_deplibs_check_method=pass_all 5776 ;; 5777 esac 5778 ;; 5779 5780tpf*) 5781 lt_cv_deplibs_check_method=pass_all 5782 ;; 5783os2*) 5784 lt_cv_deplibs_check_method=pass_all 5785 ;; 5786esac 5787 5788fi 5789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5790$as_echo "$lt_cv_deplibs_check_method" >&6; } 5791 5792file_magic_glob= 5793want_nocaseglob=no 5794if test "$build" = "$host"; then 5795 case $host_os in 5796 mingw* | pw32*) 5797 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5798 want_nocaseglob=yes 5799 else 5800 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5801 fi 5802 ;; 5803 esac 5804fi 5805 5806file_magic_cmd=$lt_cv_file_magic_cmd 5807deplibs_check_method=$lt_cv_deplibs_check_method 5808test -z "$deplibs_check_method" && deplibs_check_method=unknown 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831if test -n "$ac_tool_prefix"; then 5832 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5833set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5835$as_echo_n "checking for $ac_word... " >&6; } 5836if ${ac_cv_prog_DLLTOOL+:} false; then : 5837 $as_echo_n "(cached) " >&6 5838else 5839 if test -n "$DLLTOOL"; then 5840 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5841else 5842as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5843for as_dir in $PATH 5844do 5845 IFS=$as_save_IFS 5846 test -z "$as_dir" && as_dir=. 5847 for ac_exec_ext in '' $ac_executable_extensions; do 5848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5849 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5851 break 2 5852 fi 5853done 5854 done 5855IFS=$as_save_IFS 5856 5857fi 5858fi 5859DLLTOOL=$ac_cv_prog_DLLTOOL 5860if test -n "$DLLTOOL"; then 5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5862$as_echo "$DLLTOOL" >&6; } 5863else 5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5865$as_echo "no" >&6; } 5866fi 5867 5868 5869fi 5870if test -z "$ac_cv_prog_DLLTOOL"; then 5871 ac_ct_DLLTOOL=$DLLTOOL 5872 # Extract the first word of "dlltool", so it can be a program name with args. 5873set dummy dlltool; ac_word=$2 5874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5875$as_echo_n "checking for $ac_word... " >&6; } 5876if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5877 $as_echo_n "(cached) " >&6 5878else 5879 if test -n "$ac_ct_DLLTOOL"; then 5880 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5881else 5882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5883for as_dir in $PATH 5884do 5885 IFS=$as_save_IFS 5886 test -z "$as_dir" && as_dir=. 5887 for ac_exec_ext in '' $ac_executable_extensions; do 5888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5889 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5891 break 2 5892 fi 5893done 5894 done 5895IFS=$as_save_IFS 5896 5897fi 5898fi 5899ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5900if test -n "$ac_ct_DLLTOOL"; then 5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5902$as_echo "$ac_ct_DLLTOOL" >&6; } 5903else 5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5905$as_echo "no" >&6; } 5906fi 5907 5908 if test "x$ac_ct_DLLTOOL" = x; then 5909 DLLTOOL="false" 5910 else 5911 case $cross_compiling:$ac_tool_warned in 5912yes:) 5913{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5914$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5915ac_tool_warned=yes ;; 5916esac 5917 DLLTOOL=$ac_ct_DLLTOOL 5918 fi 5919else 5920 DLLTOOL="$ac_cv_prog_DLLTOOL" 5921fi 5922 5923test -z "$DLLTOOL" && DLLTOOL=dlltool 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5935$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5936if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5937 $as_echo_n "(cached) " >&6 5938else 5939 lt_cv_sharedlib_from_linklib_cmd='unknown' 5940 5941case $host_os in 5942cygwin* | mingw* | pw32* | cegcc*) 5943 # two different shell functions defined in ltmain.sh; 5944 # decide which one to use based on capabilities of $DLLTOOL 5945 case `$DLLTOOL --help 2>&1` in 5946 *--identify-strict*) 5947 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5948 ;; 5949 *) 5950 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5951 ;; 5952 esac 5953 ;; 5954*) 5955 # fallback: assume linklib IS sharedlib 5956 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5957 ;; 5958esac 5959 5960fi 5961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5962$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5963sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5964test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5965 5966 5967 5968 5969 5970 5971 5972 5973if test -n "$ac_tool_prefix"; then 5974 for ac_prog in ar 5975 do 5976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5977set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5979$as_echo_n "checking for $ac_word... " >&6; } 5980if ${ac_cv_prog_AR+:} false; then : 5981 $as_echo_n "(cached) " >&6 5982else 5983 if test -n "$AR"; then 5984 ac_cv_prog_AR="$AR" # Let the user override the test. 5985else 5986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5987for as_dir in $PATH 5988do 5989 IFS=$as_save_IFS 5990 test -z "$as_dir" && as_dir=. 5991 for ac_exec_ext in '' $ac_executable_extensions; do 5992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5993 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5995 break 2 5996 fi 5997done 5998 done 5999IFS=$as_save_IFS 6000 6001fi 6002fi 6003AR=$ac_cv_prog_AR 6004if test -n "$AR"; then 6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6006$as_echo "$AR" >&6; } 6007else 6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6009$as_echo "no" >&6; } 6010fi 6011 6012 6013 test -n "$AR" && break 6014 done 6015fi 6016if test -z "$AR"; then 6017 ac_ct_AR=$AR 6018 for ac_prog in ar 6019do 6020 # Extract the first word of "$ac_prog", so it can be a program name with args. 6021set dummy $ac_prog; ac_word=$2 6022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6023$as_echo_n "checking for $ac_word... " >&6; } 6024if ${ac_cv_prog_ac_ct_AR+:} false; then : 6025 $as_echo_n "(cached) " >&6 6026else 6027 if test -n "$ac_ct_AR"; then 6028 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6029else 6030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6031for as_dir in $PATH 6032do 6033 IFS=$as_save_IFS 6034 test -z "$as_dir" && as_dir=. 6035 for ac_exec_ext in '' $ac_executable_extensions; do 6036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6037 ac_cv_prog_ac_ct_AR="$ac_prog" 6038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6039 break 2 6040 fi 6041done 6042 done 6043IFS=$as_save_IFS 6044 6045fi 6046fi 6047ac_ct_AR=$ac_cv_prog_ac_ct_AR 6048if test -n "$ac_ct_AR"; then 6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6050$as_echo "$ac_ct_AR" >&6; } 6051else 6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6053$as_echo "no" >&6; } 6054fi 6055 6056 6057 test -n "$ac_ct_AR" && break 6058done 6059 6060 if test "x$ac_ct_AR" = x; then 6061 AR="false" 6062 else 6063 case $cross_compiling:$ac_tool_warned in 6064yes:) 6065{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6066$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6067ac_tool_warned=yes ;; 6068esac 6069 AR=$ac_ct_AR 6070 fi 6071fi 6072 6073: ${AR=ar} 6074: ${AR_FLAGS=cru} 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6087$as_echo_n "checking for archiver @FILE support... " >&6; } 6088if ${lt_cv_ar_at_file+:} false; then : 6089 $as_echo_n "(cached) " >&6 6090else 6091 lt_cv_ar_at_file=no 6092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6093/* end confdefs.h. */ 6094 6095int 6096main () 6097{ 6098 6099 ; 6100 return 0; 6101} 6102_ACEOF 6103if ac_fn_c_try_compile "$LINENO"; then : 6104 echo conftest.$ac_objext > conftest.lst 6105 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6106 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6107 (eval $lt_ar_try) 2>&5 6108 ac_status=$? 6109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6110 test $ac_status = 0; } 6111 if test 0 -eq "$ac_status"; then 6112 # Ensure the archiver fails upon bogus file names. 6113 rm -f conftest.$ac_objext libconftest.a 6114 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6115 (eval $lt_ar_try) 2>&5 6116 ac_status=$? 6117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6118 test $ac_status = 0; } 6119 if test 0 -ne "$ac_status"; then 6120 lt_cv_ar_at_file=@ 6121 fi 6122 fi 6123 rm -f conftest.* libconftest.a 6124 6125fi 6126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6127 6128fi 6129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6130$as_echo "$lt_cv_ar_at_file" >&6; } 6131 6132if test no = "$lt_cv_ar_at_file"; then 6133 archiver_list_spec= 6134else 6135 archiver_list_spec=$lt_cv_ar_at_file 6136fi 6137 6138 6139 6140 6141 6142 6143 6144if test -n "$ac_tool_prefix"; then 6145 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6146set dummy ${ac_tool_prefix}strip; ac_word=$2 6147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6148$as_echo_n "checking for $ac_word... " >&6; } 6149if ${ac_cv_prog_STRIP+:} false; then : 6150 $as_echo_n "(cached) " >&6 6151else 6152 if test -n "$STRIP"; then 6153 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6154else 6155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6156for as_dir in $PATH 6157do 6158 IFS=$as_save_IFS 6159 test -z "$as_dir" && as_dir=. 6160 for ac_exec_ext in '' $ac_executable_extensions; do 6161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6162 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6164 break 2 6165 fi 6166done 6167 done 6168IFS=$as_save_IFS 6169 6170fi 6171fi 6172STRIP=$ac_cv_prog_STRIP 6173if test -n "$STRIP"; then 6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6175$as_echo "$STRIP" >&6; } 6176else 6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6178$as_echo "no" >&6; } 6179fi 6180 6181 6182fi 6183if test -z "$ac_cv_prog_STRIP"; then 6184 ac_ct_STRIP=$STRIP 6185 # Extract the first word of "strip", so it can be a program name with args. 6186set dummy strip; ac_word=$2 6187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6188$as_echo_n "checking for $ac_word... " >&6; } 6189if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6190 $as_echo_n "(cached) " >&6 6191else 6192 if test -n "$ac_ct_STRIP"; then 6193 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6194else 6195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6196for as_dir in $PATH 6197do 6198 IFS=$as_save_IFS 6199 test -z "$as_dir" && as_dir=. 6200 for ac_exec_ext in '' $ac_executable_extensions; do 6201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6202 ac_cv_prog_ac_ct_STRIP="strip" 6203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6204 break 2 6205 fi 6206done 6207 done 6208IFS=$as_save_IFS 6209 6210fi 6211fi 6212ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6213if test -n "$ac_ct_STRIP"; then 6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6215$as_echo "$ac_ct_STRIP" >&6; } 6216else 6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6218$as_echo "no" >&6; } 6219fi 6220 6221 if test "x$ac_ct_STRIP" = x; then 6222 STRIP=":" 6223 else 6224 case $cross_compiling:$ac_tool_warned in 6225yes:) 6226{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6227$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6228ac_tool_warned=yes ;; 6229esac 6230 STRIP=$ac_ct_STRIP 6231 fi 6232else 6233 STRIP="$ac_cv_prog_STRIP" 6234fi 6235 6236test -z "$STRIP" && STRIP=: 6237 6238 6239 6240 6241 6242 6243if test -n "$ac_tool_prefix"; then 6244 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6245set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6247$as_echo_n "checking for $ac_word... " >&6; } 6248if ${ac_cv_prog_RANLIB+:} false; then : 6249 $as_echo_n "(cached) " >&6 6250else 6251 if test -n "$RANLIB"; then 6252 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6253else 6254as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6255for as_dir in $PATH 6256do 6257 IFS=$as_save_IFS 6258 test -z "$as_dir" && as_dir=. 6259 for ac_exec_ext in '' $ac_executable_extensions; do 6260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6261 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6263 break 2 6264 fi 6265done 6266 done 6267IFS=$as_save_IFS 6268 6269fi 6270fi 6271RANLIB=$ac_cv_prog_RANLIB 6272if test -n "$RANLIB"; then 6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6274$as_echo "$RANLIB" >&6; } 6275else 6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6277$as_echo "no" >&6; } 6278fi 6279 6280 6281fi 6282if test -z "$ac_cv_prog_RANLIB"; then 6283 ac_ct_RANLIB=$RANLIB 6284 # Extract the first word of "ranlib", so it can be a program name with args. 6285set dummy ranlib; ac_word=$2 6286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6287$as_echo_n "checking for $ac_word... " >&6; } 6288if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6289 $as_echo_n "(cached) " >&6 6290else 6291 if test -n "$ac_ct_RANLIB"; then 6292 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6293else 6294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6295for as_dir in $PATH 6296do 6297 IFS=$as_save_IFS 6298 test -z "$as_dir" && as_dir=. 6299 for ac_exec_ext in '' $ac_executable_extensions; do 6300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6301 ac_cv_prog_ac_ct_RANLIB="ranlib" 6302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6303 break 2 6304 fi 6305done 6306 done 6307IFS=$as_save_IFS 6308 6309fi 6310fi 6311ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6312if test -n "$ac_ct_RANLIB"; then 6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6314$as_echo "$ac_ct_RANLIB" >&6; } 6315else 6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6317$as_echo "no" >&6; } 6318fi 6319 6320 if test "x$ac_ct_RANLIB" = x; then 6321 RANLIB=":" 6322 else 6323 case $cross_compiling:$ac_tool_warned in 6324yes:) 6325{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6326$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6327ac_tool_warned=yes ;; 6328esac 6329 RANLIB=$ac_ct_RANLIB 6330 fi 6331else 6332 RANLIB="$ac_cv_prog_RANLIB" 6333fi 6334 6335test -z "$RANLIB" && RANLIB=: 6336 6337 6338 6339 6340 6341 6342# Determine commands to create old-style static archives. 6343old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6344old_postinstall_cmds='chmod 644 $oldlib' 6345old_postuninstall_cmds= 6346 6347if test -n "$RANLIB"; then 6348 case $host_os in 6349 bitrig* | openbsd*) 6350 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6351 ;; 6352 *) 6353 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6354 ;; 6355 esac 6356 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6357fi 6358 6359case $host_os in 6360 darwin*) 6361 lock_old_archive_extraction=yes ;; 6362 *) 6363 lock_old_archive_extraction=no ;; 6364esac 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404# If no C compiler was specified, use CC. 6405LTCC=${LTCC-"$CC"} 6406 6407# If no C compiler flags were specified, use CFLAGS. 6408LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6409 6410# Allow CC to be a program name with arguments. 6411compiler=$CC 6412 6413 6414# Check for command to grab the raw symbol name followed by C symbol from nm. 6415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6416$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6417if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6418 $as_echo_n "(cached) " >&6 6419else 6420 6421# These are sane defaults that work on at least a few old systems. 6422# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6423 6424# Character class describing NM global symbol codes. 6425symcode='[BCDEGRST]' 6426 6427# Regexp to match symbols that can be accessed directly from C. 6428sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6429 6430# Define system-specific variables. 6431case $host_os in 6432aix*) 6433 symcode='[BCDT]' 6434 ;; 6435cygwin* | mingw* | pw32* | cegcc*) 6436 symcode='[ABCDGISTW]' 6437 ;; 6438hpux*) 6439 if test ia64 = "$host_cpu"; then 6440 symcode='[ABCDEGRST]' 6441 fi 6442 ;; 6443irix* | nonstopux*) 6444 symcode='[BCDEGRST]' 6445 ;; 6446osf*) 6447 symcode='[BCDEGQRST]' 6448 ;; 6449solaris*) 6450 symcode='[BDRT]' 6451 ;; 6452sco3.2v5*) 6453 symcode='[DT]' 6454 ;; 6455sysv4.2uw2*) 6456 symcode='[DT]' 6457 ;; 6458sysv5* | sco5v6* | unixware* | OpenUNIX*) 6459 symcode='[ABDT]' 6460 ;; 6461sysv4) 6462 symcode='[DFNSTU]' 6463 ;; 6464esac 6465 6466# If we're using GNU nm, then use its standard symbol codes. 6467case `$NM -V 2>&1` in 6468*GNU* | *'with BFD'*) 6469 symcode='[ABCDGIRSTW]' ;; 6470esac 6471 6472if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6473 # Gets list of data symbols to import. 6474 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6475 # Adjust the below global symbol transforms to fixup imported variables. 6476 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6477 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6478 lt_c_name_lib_hook="\ 6479 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6480 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6481else 6482 # Disable hooks by default. 6483 lt_cv_sys_global_symbol_to_import= 6484 lt_cdecl_hook= 6485 lt_c_name_hook= 6486 lt_c_name_lib_hook= 6487fi 6488 6489# Transform an extracted symbol line into a proper C declaration. 6490# Some systems (esp. on ia64) link data and code symbols differently, 6491# so use this general approach. 6492lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6493$lt_cdecl_hook\ 6494" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6495" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6496 6497# Transform an extracted symbol line into symbol name and symbol address 6498lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6499$lt_c_name_hook\ 6500" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6501" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6502 6503# Transform an extracted symbol line into symbol name with lib prefix and 6504# symbol address. 6505lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6506$lt_c_name_lib_hook\ 6507" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6508" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6509" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6510 6511# Handle CRLF in mingw tool chain 6512opt_cr= 6513case $build_os in 6514mingw*) 6515 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6516 ;; 6517esac 6518 6519# Try without a prefix underscore, then with it. 6520for ac_symprfx in "" "_"; do 6521 6522 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6523 symxfrm="\\1 $ac_symprfx\\2 \\2" 6524 6525 # Write the raw and C identifiers. 6526 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6527 # Fake it for dumpbin and say T for any non-static function, 6528 # D for any global variable and I for any imported variable. 6529 # Also find C++ and __fastcall symbols from MSVC++, 6530 # which start with @ or ?. 6531 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6532" {last_section=section; section=\$ 3};"\ 6533" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6534" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6535" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6536" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6537" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6538" \$ 0!~/External *\|/{next};"\ 6539" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6540" {if(hide[section]) next};"\ 6541" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6542" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6543" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6544" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6545" ' prfx=^$ac_symprfx" 6546 else 6547 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6548 fi 6549 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6550 6551 # Check to see that the pipe works correctly. 6552 pipe_works=no 6553 6554 rm -f conftest* 6555 cat > conftest.$ac_ext <<_LT_EOF 6556#ifdef __cplusplus 6557extern "C" { 6558#endif 6559char nm_test_var; 6560void nm_test_func(void); 6561void nm_test_func(void){} 6562#ifdef __cplusplus 6563} 6564#endif 6565int main(){nm_test_var='a';nm_test_func();return(0);} 6566_LT_EOF 6567 6568 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6569 (eval $ac_compile) 2>&5 6570 ac_status=$? 6571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6572 test $ac_status = 0; }; then 6573 # Now try to grab the symbols. 6574 nlist=conftest.nm 6575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6576 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6577 ac_status=$? 6578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6579 test $ac_status = 0; } && test -s "$nlist"; then 6580 # Try sorting and uniquifying the output. 6581 if sort "$nlist" | uniq > "$nlist"T; then 6582 mv -f "$nlist"T "$nlist" 6583 else 6584 rm -f "$nlist"T 6585 fi 6586 6587 # Make sure that we snagged all the symbols we need. 6588 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6589 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6590 cat <<_LT_EOF > conftest.$ac_ext 6591/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6592#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6593/* DATA imports from DLLs on WIN32 can't be const, because runtime 6594 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6595# define LT_DLSYM_CONST 6596#elif defined __osf__ 6597/* This system does not cope well with relocations in const data. */ 6598# define LT_DLSYM_CONST 6599#else 6600# define LT_DLSYM_CONST const 6601#endif 6602 6603#ifdef __cplusplus 6604extern "C" { 6605#endif 6606 6607_LT_EOF 6608 # Now generate the symbol file. 6609 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6610 6611 cat <<_LT_EOF >> conftest.$ac_ext 6612 6613/* The mapping between symbol names and symbols. */ 6614LT_DLSYM_CONST struct { 6615 const char *name; 6616 void *address; 6617} 6618lt__PROGRAM__LTX_preloaded_symbols[] = 6619{ 6620 { "@PROGRAM@", (void *) 0 }, 6621_LT_EOF 6622 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6623 cat <<\_LT_EOF >> conftest.$ac_ext 6624 {0, (void *) 0} 6625}; 6626 6627/* This works around a problem in FreeBSD linker */ 6628#ifdef FREEBSD_WORKAROUND 6629static const void *lt_preloaded_setup() { 6630 return lt__PROGRAM__LTX_preloaded_symbols; 6631} 6632#endif 6633 6634#ifdef __cplusplus 6635} 6636#endif 6637_LT_EOF 6638 # Now try linking the two files. 6639 mv conftest.$ac_objext conftstm.$ac_objext 6640 lt_globsym_save_LIBS=$LIBS 6641 lt_globsym_save_CFLAGS=$CFLAGS 6642 LIBS=conftstm.$ac_objext 6643 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6644 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6645 (eval $ac_link) 2>&5 6646 ac_status=$? 6647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6648 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6649 pipe_works=yes 6650 fi 6651 LIBS=$lt_globsym_save_LIBS 6652 CFLAGS=$lt_globsym_save_CFLAGS 6653 else 6654 echo "cannot find nm_test_func in $nlist" >&5 6655 fi 6656 else 6657 echo "cannot find nm_test_var in $nlist" >&5 6658 fi 6659 else 6660 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6661 fi 6662 else 6663 echo "$progname: failed program was:" >&5 6664 cat conftest.$ac_ext >&5 6665 fi 6666 rm -rf conftest* conftst* 6667 6668 # Do not use the global_symbol_pipe unless it works. 6669 if test yes = "$pipe_works"; then 6670 break 6671 else 6672 lt_cv_sys_global_symbol_pipe= 6673 fi 6674done 6675 6676fi 6677 6678if test -z "$lt_cv_sys_global_symbol_pipe"; then 6679 lt_cv_sys_global_symbol_to_cdecl= 6680fi 6681if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6683$as_echo "failed" >&6; } 6684else 6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6686$as_echo "ok" >&6; } 6687fi 6688 6689# Response file support. 6690if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6691 nm_file_list_spec='@' 6692elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6693 nm_file_list_spec='@' 6694fi 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6733$as_echo_n "checking for sysroot... " >&6; } 6734 6735# Check whether --with-sysroot was given. 6736if test "${with_sysroot+set}" = set; then : 6737 withval=$with_sysroot; 6738else 6739 with_sysroot=no 6740fi 6741 6742 6743lt_sysroot= 6744case $with_sysroot in #( 6745 yes) 6746 if test yes = "$GCC"; then 6747 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6748 fi 6749 ;; #( 6750 /*) 6751 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6752 ;; #( 6753 no|'') 6754 ;; #( 6755 *) 6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6757$as_echo "$with_sysroot" >&6; } 6758 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6759 ;; 6760esac 6761 6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6763$as_echo "${lt_sysroot:-no}" >&6; } 6764 6765 6766 6767 6768 6769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6770$as_echo_n "checking for a working dd... " >&6; } 6771if ${ac_cv_path_lt_DD+:} false; then : 6772 $as_echo_n "(cached) " >&6 6773else 6774 printf 0123456789abcdef0123456789abcdef >conftest.i 6775cat conftest.i conftest.i >conftest2.i 6776: ${lt_DD:=$DD} 6777if test -z "$lt_DD"; then 6778 ac_path_lt_DD_found=false 6779 # Loop through the user's path and test for each of PROGNAME-LIST 6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6781for as_dir in $PATH 6782do 6783 IFS=$as_save_IFS 6784 test -z "$as_dir" && as_dir=. 6785 for ac_prog in dd; do 6786 for ac_exec_ext in '' $ac_executable_extensions; do 6787 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6788 as_fn_executable_p "$ac_path_lt_DD" || continue 6789if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6790 cmp -s conftest.i conftest.out \ 6791 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6792fi 6793 $ac_path_lt_DD_found && break 3 6794 done 6795 done 6796 done 6797IFS=$as_save_IFS 6798 if test -z "$ac_cv_path_lt_DD"; then 6799 : 6800 fi 6801else 6802 ac_cv_path_lt_DD=$lt_DD 6803fi 6804 6805rm -f conftest.i conftest2.i conftest.out 6806fi 6807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6808$as_echo "$ac_cv_path_lt_DD" >&6; } 6809 6810 6811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6812$as_echo_n "checking how to truncate binary pipes... " >&6; } 6813if ${lt_cv_truncate_bin+:} false; then : 6814 $as_echo_n "(cached) " >&6 6815else 6816 printf 0123456789abcdef0123456789abcdef >conftest.i 6817cat conftest.i conftest.i >conftest2.i 6818lt_cv_truncate_bin= 6819if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6820 cmp -s conftest.i conftest.out \ 6821 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6822fi 6823rm -f conftest.i conftest2.i conftest.out 6824test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6825fi 6826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6827$as_echo "$lt_cv_truncate_bin" >&6; } 6828 6829 6830 6831 6832 6833 6834 6835# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6836func_cc_basename () 6837{ 6838 for cc_temp in $*""; do 6839 case $cc_temp in 6840 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6841 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6842 \-*) ;; 6843 *) break;; 6844 esac 6845 done 6846 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6847} 6848 6849# Check whether --enable-libtool-lock was given. 6850if test "${enable_libtool_lock+set}" = set; then : 6851 enableval=$enable_libtool_lock; 6852fi 6853 6854test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6855 6856# Some flags need to be propagated to the compiler or linker for good 6857# libtool support. 6858case $host in 6859ia64-*-hpux*) 6860 # Find out what ABI is being produced by ac_compile, and set mode 6861 # options accordingly. 6862 echo 'int i;' > conftest.$ac_ext 6863 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6864 (eval $ac_compile) 2>&5 6865 ac_status=$? 6866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6867 test $ac_status = 0; }; then 6868 case `/usr/bin/file conftest.$ac_objext` in 6869 *ELF-32*) 6870 HPUX_IA64_MODE=32 6871 ;; 6872 *ELF-64*) 6873 HPUX_IA64_MODE=64 6874 ;; 6875 esac 6876 fi 6877 rm -rf conftest* 6878 ;; 6879*-*-irix6*) 6880 # Find out what ABI is being produced by ac_compile, and set linker 6881 # options accordingly. 6882 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6884 (eval $ac_compile) 2>&5 6885 ac_status=$? 6886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6887 test $ac_status = 0; }; then 6888 if test yes = "$lt_cv_prog_gnu_ld"; then 6889 case `/usr/bin/file conftest.$ac_objext` in 6890 *32-bit*) 6891 LD="${LD-ld} -melf32bsmip" 6892 ;; 6893 *N32*) 6894 LD="${LD-ld} -melf32bmipn32" 6895 ;; 6896 *64-bit*) 6897 LD="${LD-ld} -melf64bmip" 6898 ;; 6899 esac 6900 else 6901 case `/usr/bin/file conftest.$ac_objext` in 6902 *32-bit*) 6903 LD="${LD-ld} -32" 6904 ;; 6905 *N32*) 6906 LD="${LD-ld} -n32" 6907 ;; 6908 *64-bit*) 6909 LD="${LD-ld} -64" 6910 ;; 6911 esac 6912 fi 6913 fi 6914 rm -rf conftest* 6915 ;; 6916 6917mips64*-*linux*) 6918 # Find out what ABI is being produced by ac_compile, and set linker 6919 # options accordingly. 6920 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6922 (eval $ac_compile) 2>&5 6923 ac_status=$? 6924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6925 test $ac_status = 0; }; then 6926 emul=elf 6927 case `/usr/bin/file conftest.$ac_objext` in 6928 *32-bit*) 6929 emul="${emul}32" 6930 ;; 6931 *64-bit*) 6932 emul="${emul}64" 6933 ;; 6934 esac 6935 case `/usr/bin/file conftest.$ac_objext` in 6936 *MSB*) 6937 emul="${emul}btsmip" 6938 ;; 6939 *LSB*) 6940 emul="${emul}ltsmip" 6941 ;; 6942 esac 6943 case `/usr/bin/file conftest.$ac_objext` in 6944 *N32*) 6945 emul="${emul}n32" 6946 ;; 6947 esac 6948 LD="${LD-ld} -m $emul" 6949 fi 6950 rm -rf conftest* 6951 ;; 6952 6953x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6954s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6955 # Find out what ABI is being produced by ac_compile, and set linker 6956 # options accordingly. Note that the listed cases only cover the 6957 # situations where additional linker options are needed (such as when 6958 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6959 # vice versa); the common cases where no linker options are needed do 6960 # not appear in the list. 6961 echo 'int i;' > conftest.$ac_ext 6962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6963 (eval $ac_compile) 2>&5 6964 ac_status=$? 6965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6966 test $ac_status = 0; }; then 6967 case `/usr/bin/file conftest.o` in 6968 *32-bit*) 6969 case $host in 6970 x86_64-*kfreebsd*-gnu) 6971 LD="${LD-ld} -m elf_i386_fbsd" 6972 ;; 6973 x86_64-*linux*) 6974 case `/usr/bin/file conftest.o` in 6975 *x86-64*) 6976 LD="${LD-ld} -m elf32_x86_64" 6977 ;; 6978 *) 6979 LD="${LD-ld} -m elf_i386" 6980 ;; 6981 esac 6982 ;; 6983 powerpc64le-*linux*) 6984 LD="${LD-ld} -m elf32lppclinux" 6985 ;; 6986 powerpc64-*linux*) 6987 LD="${LD-ld} -m elf32ppclinux" 6988 ;; 6989 s390x-*linux*) 6990 LD="${LD-ld} -m elf_s390" 6991 ;; 6992 sparc64-*linux*) 6993 LD="${LD-ld} -m elf32_sparc" 6994 ;; 6995 esac 6996 ;; 6997 *64-bit*) 6998 case $host in 6999 x86_64-*kfreebsd*-gnu) 7000 LD="${LD-ld} -m elf_x86_64_fbsd" 7001 ;; 7002 x86_64-*linux*) 7003 LD="${LD-ld} -m elf_x86_64" 7004 ;; 7005 powerpcle-*linux*) 7006 LD="${LD-ld} -m elf64lppc" 7007 ;; 7008 powerpc-*linux*) 7009 LD="${LD-ld} -m elf64ppc" 7010 ;; 7011 s390*-*linux*|s390*-*tpf*) 7012 LD="${LD-ld} -m elf64_s390" 7013 ;; 7014 sparc*-*linux*) 7015 LD="${LD-ld} -m elf64_sparc" 7016 ;; 7017 esac 7018 ;; 7019 esac 7020 fi 7021 rm -rf conftest* 7022 ;; 7023 7024*-*-sco3.2v5*) 7025 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7026 SAVE_CFLAGS=$CFLAGS 7027 CFLAGS="$CFLAGS -belf" 7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7029$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7030if ${lt_cv_cc_needs_belf+:} false; then : 7031 $as_echo_n "(cached) " >&6 7032else 7033 ac_ext=c 7034ac_cpp='$CPP $CPPFLAGS' 7035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7037ac_compiler_gnu=$ac_cv_c_compiler_gnu 7038 7039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7040/* end confdefs.h. */ 7041 7042int 7043main () 7044{ 7045 7046 ; 7047 return 0; 7048} 7049_ACEOF 7050if ac_fn_c_try_link "$LINENO"; then : 7051 lt_cv_cc_needs_belf=yes 7052else 7053 lt_cv_cc_needs_belf=no 7054fi 7055rm -f core conftest.err conftest.$ac_objext \ 7056 conftest$ac_exeext conftest.$ac_ext 7057 ac_ext=c 7058ac_cpp='$CPP $CPPFLAGS' 7059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7061ac_compiler_gnu=$ac_cv_c_compiler_gnu 7062 7063fi 7064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7065$as_echo "$lt_cv_cc_needs_belf" >&6; } 7066 if test yes != "$lt_cv_cc_needs_belf"; then 7067 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7068 CFLAGS=$SAVE_CFLAGS 7069 fi 7070 ;; 7071*-*solaris*) 7072 # Find out what ABI is being produced by ac_compile, and set linker 7073 # options accordingly. 7074 echo 'int i;' > conftest.$ac_ext 7075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7076 (eval $ac_compile) 2>&5 7077 ac_status=$? 7078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7079 test $ac_status = 0; }; then 7080 case `/usr/bin/file conftest.o` in 7081 *64-bit*) 7082 case $lt_cv_prog_gnu_ld in 7083 yes*) 7084 case $host in 7085 i?86-*-solaris*|x86_64-*-solaris*) 7086 LD="${LD-ld} -m elf_x86_64" 7087 ;; 7088 sparc*-*-solaris*) 7089 LD="${LD-ld} -m elf64_sparc" 7090 ;; 7091 esac 7092 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7093 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7094 LD=${LD-ld}_sol2 7095 fi 7096 ;; 7097 *) 7098 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7099 LD="${LD-ld} -64" 7100 fi 7101 ;; 7102 esac 7103 ;; 7104 esac 7105 fi 7106 rm -rf conftest* 7107 ;; 7108esac 7109 7110need_locks=$enable_libtool_lock 7111 7112if test -n "$ac_tool_prefix"; then 7113 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7114set dummy ${ac_tool_prefix}mt; ac_word=$2 7115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7116$as_echo_n "checking for $ac_word... " >&6; } 7117if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7118 $as_echo_n "(cached) " >&6 7119else 7120 if test -n "$MANIFEST_TOOL"; then 7121 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7122else 7123as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7124for as_dir in $PATH 7125do 7126 IFS=$as_save_IFS 7127 test -z "$as_dir" && as_dir=. 7128 for ac_exec_ext in '' $ac_executable_extensions; do 7129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7130 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7132 break 2 7133 fi 7134done 7135 done 7136IFS=$as_save_IFS 7137 7138fi 7139fi 7140MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7141if test -n "$MANIFEST_TOOL"; then 7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7143$as_echo "$MANIFEST_TOOL" >&6; } 7144else 7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7146$as_echo "no" >&6; } 7147fi 7148 7149 7150fi 7151if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7152 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7153 # Extract the first word of "mt", so it can be a program name with args. 7154set dummy mt; ac_word=$2 7155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7156$as_echo_n "checking for $ac_word... " >&6; } 7157if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7158 $as_echo_n "(cached) " >&6 7159else 7160 if test -n "$ac_ct_MANIFEST_TOOL"; then 7161 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7162else 7163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7164for as_dir in $PATH 7165do 7166 IFS=$as_save_IFS 7167 test -z "$as_dir" && as_dir=. 7168 for ac_exec_ext in '' $ac_executable_extensions; do 7169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7170 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7172 break 2 7173 fi 7174done 7175 done 7176IFS=$as_save_IFS 7177 7178fi 7179fi 7180ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7181if test -n "$ac_ct_MANIFEST_TOOL"; then 7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7183$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7184else 7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7186$as_echo "no" >&6; } 7187fi 7188 7189 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7190 MANIFEST_TOOL=":" 7191 else 7192 case $cross_compiling:$ac_tool_warned in 7193yes:) 7194{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7195$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7196ac_tool_warned=yes ;; 7197esac 7198 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7199 fi 7200else 7201 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7202fi 7203 7204test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7206$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7207if ${lt_cv_path_mainfest_tool+:} false; then : 7208 $as_echo_n "(cached) " >&6 7209else 7210 lt_cv_path_mainfest_tool=no 7211 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7212 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7213 cat conftest.err >&5 7214 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7215 lt_cv_path_mainfest_tool=yes 7216 fi 7217 rm -f conftest* 7218fi 7219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7220$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7221if test yes != "$lt_cv_path_mainfest_tool"; then 7222 MANIFEST_TOOL=: 7223fi 7224 7225 7226 7227 7228 7229 7230 case $host_os in 7231 rhapsody* | darwin*) 7232 if test -n "$ac_tool_prefix"; then 7233 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7234set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7236$as_echo_n "checking for $ac_word... " >&6; } 7237if ${ac_cv_prog_DSYMUTIL+:} false; then : 7238 $as_echo_n "(cached) " >&6 7239else 7240 if test -n "$DSYMUTIL"; then 7241 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7242else 7243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7244for as_dir in $PATH 7245do 7246 IFS=$as_save_IFS 7247 test -z "$as_dir" && as_dir=. 7248 for ac_exec_ext in '' $ac_executable_extensions; do 7249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7250 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7252 break 2 7253 fi 7254done 7255 done 7256IFS=$as_save_IFS 7257 7258fi 7259fi 7260DSYMUTIL=$ac_cv_prog_DSYMUTIL 7261if test -n "$DSYMUTIL"; then 7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7263$as_echo "$DSYMUTIL" >&6; } 7264else 7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7266$as_echo "no" >&6; } 7267fi 7268 7269 7270fi 7271if test -z "$ac_cv_prog_DSYMUTIL"; then 7272 ac_ct_DSYMUTIL=$DSYMUTIL 7273 # Extract the first word of "dsymutil", so it can be a program name with args. 7274set dummy dsymutil; ac_word=$2 7275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7276$as_echo_n "checking for $ac_word... " >&6; } 7277if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7278 $as_echo_n "(cached) " >&6 7279else 7280 if test -n "$ac_ct_DSYMUTIL"; then 7281 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7282else 7283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7284for as_dir in $PATH 7285do 7286 IFS=$as_save_IFS 7287 test -z "$as_dir" && as_dir=. 7288 for ac_exec_ext in '' $ac_executable_extensions; do 7289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7290 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7292 break 2 7293 fi 7294done 7295 done 7296IFS=$as_save_IFS 7297 7298fi 7299fi 7300ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7301if test -n "$ac_ct_DSYMUTIL"; then 7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7303$as_echo "$ac_ct_DSYMUTIL" >&6; } 7304else 7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7306$as_echo "no" >&6; } 7307fi 7308 7309 if test "x$ac_ct_DSYMUTIL" = x; then 7310 DSYMUTIL=":" 7311 else 7312 case $cross_compiling:$ac_tool_warned in 7313yes:) 7314{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7315$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7316ac_tool_warned=yes ;; 7317esac 7318 DSYMUTIL=$ac_ct_DSYMUTIL 7319 fi 7320else 7321 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7322fi 7323 7324 if test -n "$ac_tool_prefix"; then 7325 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7326set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7328$as_echo_n "checking for $ac_word... " >&6; } 7329if ${ac_cv_prog_NMEDIT+:} false; then : 7330 $as_echo_n "(cached) " >&6 7331else 7332 if test -n "$NMEDIT"; then 7333 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7334else 7335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7336for as_dir in $PATH 7337do 7338 IFS=$as_save_IFS 7339 test -z "$as_dir" && as_dir=. 7340 for ac_exec_ext in '' $ac_executable_extensions; do 7341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7342 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7344 break 2 7345 fi 7346done 7347 done 7348IFS=$as_save_IFS 7349 7350fi 7351fi 7352NMEDIT=$ac_cv_prog_NMEDIT 7353if test -n "$NMEDIT"; then 7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7355$as_echo "$NMEDIT" >&6; } 7356else 7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7358$as_echo "no" >&6; } 7359fi 7360 7361 7362fi 7363if test -z "$ac_cv_prog_NMEDIT"; then 7364 ac_ct_NMEDIT=$NMEDIT 7365 # Extract the first word of "nmedit", so it can be a program name with args. 7366set dummy nmedit; ac_word=$2 7367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7368$as_echo_n "checking for $ac_word... " >&6; } 7369if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7370 $as_echo_n "(cached) " >&6 7371else 7372 if test -n "$ac_ct_NMEDIT"; then 7373 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7374else 7375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7376for as_dir in $PATH 7377do 7378 IFS=$as_save_IFS 7379 test -z "$as_dir" && as_dir=. 7380 for ac_exec_ext in '' $ac_executable_extensions; do 7381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7382 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7384 break 2 7385 fi 7386done 7387 done 7388IFS=$as_save_IFS 7389 7390fi 7391fi 7392ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7393if test -n "$ac_ct_NMEDIT"; then 7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7395$as_echo "$ac_ct_NMEDIT" >&6; } 7396else 7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7398$as_echo "no" >&6; } 7399fi 7400 7401 if test "x$ac_ct_NMEDIT" = x; then 7402 NMEDIT=":" 7403 else 7404 case $cross_compiling:$ac_tool_warned in 7405yes:) 7406{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7407$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7408ac_tool_warned=yes ;; 7409esac 7410 NMEDIT=$ac_ct_NMEDIT 7411 fi 7412else 7413 NMEDIT="$ac_cv_prog_NMEDIT" 7414fi 7415 7416 if test -n "$ac_tool_prefix"; then 7417 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7418set dummy ${ac_tool_prefix}lipo; ac_word=$2 7419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7420$as_echo_n "checking for $ac_word... " >&6; } 7421if ${ac_cv_prog_LIPO+:} false; then : 7422 $as_echo_n "(cached) " >&6 7423else 7424 if test -n "$LIPO"; then 7425 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7426else 7427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7428for as_dir in $PATH 7429do 7430 IFS=$as_save_IFS 7431 test -z "$as_dir" && as_dir=. 7432 for ac_exec_ext in '' $ac_executable_extensions; do 7433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7434 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7436 break 2 7437 fi 7438done 7439 done 7440IFS=$as_save_IFS 7441 7442fi 7443fi 7444LIPO=$ac_cv_prog_LIPO 7445if test -n "$LIPO"; then 7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7447$as_echo "$LIPO" >&6; } 7448else 7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7450$as_echo "no" >&6; } 7451fi 7452 7453 7454fi 7455if test -z "$ac_cv_prog_LIPO"; then 7456 ac_ct_LIPO=$LIPO 7457 # Extract the first word of "lipo", so it can be a program name with args. 7458set dummy lipo; ac_word=$2 7459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7460$as_echo_n "checking for $ac_word... " >&6; } 7461if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7462 $as_echo_n "(cached) " >&6 7463else 7464 if test -n "$ac_ct_LIPO"; then 7465 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7466else 7467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7468for as_dir in $PATH 7469do 7470 IFS=$as_save_IFS 7471 test -z "$as_dir" && as_dir=. 7472 for ac_exec_ext in '' $ac_executable_extensions; do 7473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7474 ac_cv_prog_ac_ct_LIPO="lipo" 7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7476 break 2 7477 fi 7478done 7479 done 7480IFS=$as_save_IFS 7481 7482fi 7483fi 7484ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7485if test -n "$ac_ct_LIPO"; then 7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7487$as_echo "$ac_ct_LIPO" >&6; } 7488else 7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7490$as_echo "no" >&6; } 7491fi 7492 7493 if test "x$ac_ct_LIPO" = x; then 7494 LIPO=":" 7495 else 7496 case $cross_compiling:$ac_tool_warned in 7497yes:) 7498{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7499$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7500ac_tool_warned=yes ;; 7501esac 7502 LIPO=$ac_ct_LIPO 7503 fi 7504else 7505 LIPO="$ac_cv_prog_LIPO" 7506fi 7507 7508 if test -n "$ac_tool_prefix"; then 7509 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7510set dummy ${ac_tool_prefix}otool; ac_word=$2 7511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7512$as_echo_n "checking for $ac_word... " >&6; } 7513if ${ac_cv_prog_OTOOL+:} false; then : 7514 $as_echo_n "(cached) " >&6 7515else 7516 if test -n "$OTOOL"; then 7517 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7518else 7519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7520for as_dir in $PATH 7521do 7522 IFS=$as_save_IFS 7523 test -z "$as_dir" && as_dir=. 7524 for ac_exec_ext in '' $ac_executable_extensions; do 7525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7526 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7528 break 2 7529 fi 7530done 7531 done 7532IFS=$as_save_IFS 7533 7534fi 7535fi 7536OTOOL=$ac_cv_prog_OTOOL 7537if test -n "$OTOOL"; then 7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7539$as_echo "$OTOOL" >&6; } 7540else 7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7542$as_echo "no" >&6; } 7543fi 7544 7545 7546fi 7547if test -z "$ac_cv_prog_OTOOL"; then 7548 ac_ct_OTOOL=$OTOOL 7549 # Extract the first word of "otool", so it can be a program name with args. 7550set dummy otool; ac_word=$2 7551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7552$as_echo_n "checking for $ac_word... " >&6; } 7553if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7554 $as_echo_n "(cached) " >&6 7555else 7556 if test -n "$ac_ct_OTOOL"; then 7557 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7558else 7559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7560for as_dir in $PATH 7561do 7562 IFS=$as_save_IFS 7563 test -z "$as_dir" && as_dir=. 7564 for ac_exec_ext in '' $ac_executable_extensions; do 7565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7566 ac_cv_prog_ac_ct_OTOOL="otool" 7567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7568 break 2 7569 fi 7570done 7571 done 7572IFS=$as_save_IFS 7573 7574fi 7575fi 7576ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7577if test -n "$ac_ct_OTOOL"; then 7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7579$as_echo "$ac_ct_OTOOL" >&6; } 7580else 7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7582$as_echo "no" >&6; } 7583fi 7584 7585 if test "x$ac_ct_OTOOL" = x; then 7586 OTOOL=":" 7587 else 7588 case $cross_compiling:$ac_tool_warned in 7589yes:) 7590{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7591$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7592ac_tool_warned=yes ;; 7593esac 7594 OTOOL=$ac_ct_OTOOL 7595 fi 7596else 7597 OTOOL="$ac_cv_prog_OTOOL" 7598fi 7599 7600 if test -n "$ac_tool_prefix"; then 7601 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7602set dummy ${ac_tool_prefix}otool64; ac_word=$2 7603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7604$as_echo_n "checking for $ac_word... " >&6; } 7605if ${ac_cv_prog_OTOOL64+:} false; then : 7606 $as_echo_n "(cached) " >&6 7607else 7608 if test -n "$OTOOL64"; then 7609 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7610else 7611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7612for as_dir in $PATH 7613do 7614 IFS=$as_save_IFS 7615 test -z "$as_dir" && as_dir=. 7616 for ac_exec_ext in '' $ac_executable_extensions; do 7617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7618 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7620 break 2 7621 fi 7622done 7623 done 7624IFS=$as_save_IFS 7625 7626fi 7627fi 7628OTOOL64=$ac_cv_prog_OTOOL64 7629if test -n "$OTOOL64"; then 7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7631$as_echo "$OTOOL64" >&6; } 7632else 7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7634$as_echo "no" >&6; } 7635fi 7636 7637 7638fi 7639if test -z "$ac_cv_prog_OTOOL64"; then 7640 ac_ct_OTOOL64=$OTOOL64 7641 # Extract the first word of "otool64", so it can be a program name with args. 7642set dummy otool64; ac_word=$2 7643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7644$as_echo_n "checking for $ac_word... " >&6; } 7645if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7646 $as_echo_n "(cached) " >&6 7647else 7648 if test -n "$ac_ct_OTOOL64"; then 7649 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7650else 7651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7652for as_dir in $PATH 7653do 7654 IFS=$as_save_IFS 7655 test -z "$as_dir" && as_dir=. 7656 for ac_exec_ext in '' $ac_executable_extensions; do 7657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7658 ac_cv_prog_ac_ct_OTOOL64="otool64" 7659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7660 break 2 7661 fi 7662done 7663 done 7664IFS=$as_save_IFS 7665 7666fi 7667fi 7668ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7669if test -n "$ac_ct_OTOOL64"; then 7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7671$as_echo "$ac_ct_OTOOL64" >&6; } 7672else 7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7674$as_echo "no" >&6; } 7675fi 7676 7677 if test "x$ac_ct_OTOOL64" = x; then 7678 OTOOL64=":" 7679 else 7680 case $cross_compiling:$ac_tool_warned in 7681yes:) 7682{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7683$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7684ac_tool_warned=yes ;; 7685esac 7686 OTOOL64=$ac_ct_OTOOL64 7687 fi 7688else 7689 OTOOL64="$ac_cv_prog_OTOOL64" 7690fi 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7719$as_echo_n "checking for -single_module linker flag... " >&6; } 7720if ${lt_cv_apple_cc_single_mod+:} false; then : 7721 $as_echo_n "(cached) " >&6 7722else 7723 lt_cv_apple_cc_single_mod=no 7724 if test -z "$LT_MULTI_MODULE"; then 7725 # By default we will add the -single_module flag. You can override 7726 # by either setting the environment variable LT_MULTI_MODULE 7727 # non-empty at configure time, or by adding -multi_module to the 7728 # link flags. 7729 rm -rf libconftest.dylib* 7730 echo "int foo(void){return 1;}" > conftest.c 7731 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7732-dynamiclib -Wl,-single_module conftest.c" >&5 7733 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7734 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7735 _lt_result=$? 7736 # If there is a non-empty error log, and "single_module" 7737 # appears in it, assume the flag caused a linker warning 7738 if test -s conftest.err && $GREP single_module conftest.err; then 7739 cat conftest.err >&5 7740 # Otherwise, if the output was created with a 0 exit code from 7741 # the compiler, it worked. 7742 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7743 lt_cv_apple_cc_single_mod=yes 7744 else 7745 cat conftest.err >&5 7746 fi 7747 rm -rf libconftest.dylib* 7748 rm -f conftest.* 7749 fi 7750fi 7751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7752$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7753 7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7755$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7756if ${lt_cv_ld_exported_symbols_list+:} false; then : 7757 $as_echo_n "(cached) " >&6 7758else 7759 lt_cv_ld_exported_symbols_list=no 7760 save_LDFLAGS=$LDFLAGS 7761 echo "_main" > conftest.sym 7762 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7764/* end confdefs.h. */ 7765 7766int 7767main () 7768{ 7769 7770 ; 7771 return 0; 7772} 7773_ACEOF 7774if ac_fn_c_try_link "$LINENO"; then : 7775 lt_cv_ld_exported_symbols_list=yes 7776else 7777 lt_cv_ld_exported_symbols_list=no 7778fi 7779rm -f core conftest.err conftest.$ac_objext \ 7780 conftest$ac_exeext conftest.$ac_ext 7781 LDFLAGS=$save_LDFLAGS 7782 7783fi 7784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7785$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7786 7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7788$as_echo_n "checking for -force_load linker flag... " >&6; } 7789if ${lt_cv_ld_force_load+:} false; then : 7790 $as_echo_n "(cached) " >&6 7791else 7792 lt_cv_ld_force_load=no 7793 cat > conftest.c << _LT_EOF 7794int forced_loaded() { return 2;} 7795_LT_EOF 7796 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7797 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7798 echo "$AR cru libconftest.a conftest.o" >&5 7799 $AR cru libconftest.a conftest.o 2>&5 7800 echo "$RANLIB libconftest.a" >&5 7801 $RANLIB libconftest.a 2>&5 7802 cat > conftest.c << _LT_EOF 7803int main() { return 0;} 7804_LT_EOF 7805 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7806 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7807 _lt_result=$? 7808 if test -s conftest.err && $GREP force_load conftest.err; then 7809 cat conftest.err >&5 7810 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7811 lt_cv_ld_force_load=yes 7812 else 7813 cat conftest.err >&5 7814 fi 7815 rm -f conftest.err libconftest.a conftest conftest.c 7816 rm -rf conftest.dSYM 7817 7818fi 7819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7820$as_echo "$lt_cv_ld_force_load" >&6; } 7821 case $host_os in 7822 rhapsody* | darwin1.[012]) 7823 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7824 darwin1.*) 7825 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7826 darwin*) # darwin 5.x on 7827 # if running on 10.5 or later, the deployment target defaults 7828 # to the OS version, if on x86, and 10.4, the deployment 7829 # target defaults to 10.4. Don't you love it? 7830 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7831 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7832 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7833 10.[012][,.]*) 7834 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7835 10.*) 7836 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7837 esac 7838 ;; 7839 esac 7840 if test yes = "$lt_cv_apple_cc_single_mod"; then 7841 _lt_dar_single_mod='$single_module' 7842 fi 7843 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7844 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7845 else 7846 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7847 fi 7848 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7849 _lt_dsymutil='~$DSYMUTIL $lib || :' 7850 else 7851 _lt_dsymutil= 7852 fi 7853 ;; 7854 esac 7855 7856# func_munge_path_list VARIABLE PATH 7857# ----------------------------------- 7858# VARIABLE is name of variable containing _space_ separated list of 7859# directories to be munged by the contents of PATH, which is string 7860# having a format: 7861# "DIR[:DIR]:" 7862# string "DIR[ DIR]" will be prepended to VARIABLE 7863# ":DIR[:DIR]" 7864# string "DIR[ DIR]" will be appended to VARIABLE 7865# "DIRP[:DIRP]::[DIRA:]DIRA" 7866# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7867# "DIRA[ DIRA]" will be appended to VARIABLE 7868# "DIR[:DIR]" 7869# VARIABLE will be replaced by "DIR[ DIR]" 7870func_munge_path_list () 7871{ 7872 case x$2 in 7873 x) 7874 ;; 7875 *:) 7876 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7877 ;; 7878 x:*) 7879 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7880 ;; 7881 *::*) 7882 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7883 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7884 ;; 7885 *) 7886 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7887 ;; 7888 esac 7889} 7890 7891ac_ext=c 7892ac_cpp='$CPP $CPPFLAGS' 7893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7895ac_compiler_gnu=$ac_cv_c_compiler_gnu 7896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7897$as_echo_n "checking how to run the C preprocessor... " >&6; } 7898# On Suns, sometimes $CPP names a directory. 7899if test -n "$CPP" && test -d "$CPP"; then 7900 CPP= 7901fi 7902if test -z "$CPP"; then 7903 if ${ac_cv_prog_CPP+:} false; then : 7904 $as_echo_n "(cached) " >&6 7905else 7906 # Double quotes because CPP needs to be expanded 7907 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7908 do 7909 ac_preproc_ok=false 7910for ac_c_preproc_warn_flag in '' yes 7911do 7912 # Use a header file that comes with gcc, so configuring glibc 7913 # with a fresh cross-compiler works. 7914 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7915 # <limits.h> exists even on freestanding compilers. 7916 # On the NeXT, cc -E runs the code through the compiler's parser, 7917 # not just through cpp. "Syntax error" is here to catch this case. 7918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7919/* end confdefs.h. */ 7920#ifdef __STDC__ 7921# include <limits.h> 7922#else 7923# include <assert.h> 7924#endif 7925 Syntax error 7926_ACEOF 7927if ac_fn_c_try_cpp "$LINENO"; then : 7928 7929else 7930 # Broken: fails on valid input. 7931continue 7932fi 7933rm -f conftest.err conftest.i conftest.$ac_ext 7934 7935 # OK, works on sane cases. Now check whether nonexistent headers 7936 # can be detected and how. 7937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7938/* end confdefs.h. */ 7939#include <ac_nonexistent.h> 7940_ACEOF 7941if ac_fn_c_try_cpp "$LINENO"; then : 7942 # Broken: success on invalid input. 7943continue 7944else 7945 # Passes both tests. 7946ac_preproc_ok=: 7947break 7948fi 7949rm -f conftest.err conftest.i conftest.$ac_ext 7950 7951done 7952# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7953rm -f conftest.i conftest.err conftest.$ac_ext 7954if $ac_preproc_ok; then : 7955 break 7956fi 7957 7958 done 7959 ac_cv_prog_CPP=$CPP 7960 7961fi 7962 CPP=$ac_cv_prog_CPP 7963else 7964 ac_cv_prog_CPP=$CPP 7965fi 7966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7967$as_echo "$CPP" >&6; } 7968ac_preproc_ok=false 7969for ac_c_preproc_warn_flag in '' yes 7970do 7971 # Use a header file that comes with gcc, so configuring glibc 7972 # with a fresh cross-compiler works. 7973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7974 # <limits.h> exists even on freestanding compilers. 7975 # On the NeXT, cc -E runs the code through the compiler's parser, 7976 # not just through cpp. "Syntax error" is here to catch this case. 7977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7978/* end confdefs.h. */ 7979#ifdef __STDC__ 7980# include <limits.h> 7981#else 7982# include <assert.h> 7983#endif 7984 Syntax error 7985_ACEOF 7986if ac_fn_c_try_cpp "$LINENO"; then : 7987 7988else 7989 # Broken: fails on valid input. 7990continue 7991fi 7992rm -f conftest.err conftest.i conftest.$ac_ext 7993 7994 # OK, works on sane cases. Now check whether nonexistent headers 7995 # can be detected and how. 7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7997/* end confdefs.h. */ 7998#include <ac_nonexistent.h> 7999_ACEOF 8000if ac_fn_c_try_cpp "$LINENO"; then : 8001 # Broken: success on invalid input. 8002continue 8003else 8004 # Passes both tests. 8005ac_preproc_ok=: 8006break 8007fi 8008rm -f conftest.err conftest.i conftest.$ac_ext 8009 8010done 8011# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8012rm -f conftest.i conftest.err conftest.$ac_ext 8013if $ac_preproc_ok; then : 8014 8015else 8016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8017$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8018as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8019See \`config.log' for more details" "$LINENO" 5; } 8020fi 8021 8022ac_ext=c 8023ac_cpp='$CPP $CPPFLAGS' 8024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8026ac_compiler_gnu=$ac_cv_c_compiler_gnu 8027 8028 8029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8030$as_echo_n "checking for ANSI C header files... " >&6; } 8031if ${ac_cv_header_stdc+:} false; then : 8032 $as_echo_n "(cached) " >&6 8033else 8034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8035/* end confdefs.h. */ 8036#include <stdlib.h> 8037#include <stdarg.h> 8038#include <string.h> 8039#include <float.h> 8040 8041int 8042main () 8043{ 8044 8045 ; 8046 return 0; 8047} 8048_ACEOF 8049if ac_fn_c_try_compile "$LINENO"; then : 8050 ac_cv_header_stdc=yes 8051else 8052 ac_cv_header_stdc=no 8053fi 8054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8055 8056if test $ac_cv_header_stdc = yes; then 8057 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8059/* end confdefs.h. */ 8060#include <string.h> 8061 8062_ACEOF 8063if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8064 $EGREP "memchr" >/dev/null 2>&1; then : 8065 8066else 8067 ac_cv_header_stdc=no 8068fi 8069rm -f conftest* 8070 8071fi 8072 8073if test $ac_cv_header_stdc = yes; then 8074 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8076/* end confdefs.h. */ 8077#include <stdlib.h> 8078 8079_ACEOF 8080if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8081 $EGREP "free" >/dev/null 2>&1; then : 8082 8083else 8084 ac_cv_header_stdc=no 8085fi 8086rm -f conftest* 8087 8088fi 8089 8090if test $ac_cv_header_stdc = yes; then 8091 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8092 if test "$cross_compiling" = yes; then : 8093 : 8094else 8095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8096/* end confdefs.h. */ 8097#include <ctype.h> 8098#include <stdlib.h> 8099#if ((' ' & 0x0FF) == 0x020) 8100# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8101# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8102#else 8103# define ISLOWER(c) \ 8104 (('a' <= (c) && (c) <= 'i') \ 8105 || ('j' <= (c) && (c) <= 'r') \ 8106 || ('s' <= (c) && (c) <= 'z')) 8107# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8108#endif 8109 8110#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8111int 8112main () 8113{ 8114 int i; 8115 for (i = 0; i < 256; i++) 8116 if (XOR (islower (i), ISLOWER (i)) 8117 || toupper (i) != TOUPPER (i)) 8118 return 2; 8119 return 0; 8120} 8121_ACEOF 8122if ac_fn_c_try_run "$LINENO"; then : 8123 8124else 8125 ac_cv_header_stdc=no 8126fi 8127rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8128 conftest.$ac_objext conftest.beam conftest.$ac_ext 8129fi 8130 8131fi 8132fi 8133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8134$as_echo "$ac_cv_header_stdc" >&6; } 8135if test $ac_cv_header_stdc = yes; then 8136 8137$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8138 8139fi 8140 8141# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8142for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8143 inttypes.h stdint.h unistd.h 8144do : 8145 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8146ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8147" 8148if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8149 cat >>confdefs.h <<_ACEOF 8150#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8151_ACEOF 8152 8153fi 8154 8155done 8156 8157 8158for ac_header in dlfcn.h 8159do : 8160 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8161" 8162if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8163 cat >>confdefs.h <<_ACEOF 8164#define HAVE_DLFCN_H 1 8165_ACEOF 8166 8167fi 8168 8169done 8170 8171 8172 8173 8174 8175# Set options 8176 8177 8178 8179 enable_dlopen=no 8180 8181 8182 enable_win32_dll=no 8183 8184 8185 # Check whether --enable-shared was given. 8186if test "${enable_shared+set}" = set; then : 8187 enableval=$enable_shared; p=${PACKAGE-default} 8188 case $enableval in 8189 yes) enable_shared=yes ;; 8190 no) enable_shared=no ;; 8191 *) 8192 enable_shared=no 8193 # Look at the argument we got. We use all the common list separators. 8194 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8195 for pkg in $enableval; do 8196 IFS=$lt_save_ifs 8197 if test "X$pkg" = "X$p"; then 8198 enable_shared=yes 8199 fi 8200 done 8201 IFS=$lt_save_ifs 8202 ;; 8203 esac 8204else 8205 enable_shared=yes 8206fi 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218# Check whether --with-pic was given. 8219if test "${with_pic+set}" = set; then : 8220 withval=$with_pic; lt_p=${PACKAGE-default} 8221 case $withval in 8222 yes|no) pic_mode=$withval ;; 8223 *) 8224 pic_mode=default 8225 # Look at the argument we got. We use all the common list separators. 8226 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8227 for lt_pkg in $withval; do 8228 IFS=$lt_save_ifs 8229 if test "X$lt_pkg" = "X$lt_p"; then 8230 pic_mode=yes 8231 fi 8232 done 8233 IFS=$lt_save_ifs 8234 ;; 8235 esac 8236else 8237 pic_mode=default 8238fi 8239 8240 8241 8242 8243 8244 8245 8246 8247 # Check whether --enable-fast-install was given. 8248if test "${enable_fast_install+set}" = set; then : 8249 enableval=$enable_fast_install; p=${PACKAGE-default} 8250 case $enableval in 8251 yes) enable_fast_install=yes ;; 8252 no) enable_fast_install=no ;; 8253 *) 8254 enable_fast_install=no 8255 # Look at the argument we got. We use all the common list separators. 8256 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8257 for pkg in $enableval; do 8258 IFS=$lt_save_ifs 8259 if test "X$pkg" = "X$p"; then 8260 enable_fast_install=yes 8261 fi 8262 done 8263 IFS=$lt_save_ifs 8264 ;; 8265 esac 8266else 8267 enable_fast_install=yes 8268fi 8269 8270 8271 8272 8273 8274 8275 8276 8277 shared_archive_member_spec= 8278case $host,$enable_shared in 8279power*-*-aix[5-9]*,yes) 8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8281$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8282 8283# Check whether --with-aix-soname was given. 8284if test "${with_aix_soname+set}" = set; then : 8285 withval=$with_aix_soname; case $withval in 8286 aix|svr4|both) 8287 ;; 8288 *) 8289 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8290 ;; 8291 esac 8292 lt_cv_with_aix_soname=$with_aix_soname 8293else 8294 if ${lt_cv_with_aix_soname+:} false; then : 8295 $as_echo_n "(cached) " >&6 8296else 8297 lt_cv_with_aix_soname=aix 8298fi 8299 8300 with_aix_soname=$lt_cv_with_aix_soname 8301fi 8302 8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8304$as_echo "$with_aix_soname" >&6; } 8305 if test aix != "$with_aix_soname"; then 8306 # For the AIX way of multilib, we name the shared archive member 8307 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8308 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8309 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8310 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8311 if test 64 = "${OBJECT_MODE-32}"; then 8312 shared_archive_member_spec=shr_64 8313 else 8314 shared_archive_member_spec=shr 8315 fi 8316 fi 8317 ;; 8318*) 8319 with_aix_soname=aix 8320 ;; 8321esac 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332# This can be used to rebuild libtool when needed 8333LIBTOOL_DEPS=$ltmain 8334 8335# Always use our own libtool. 8336LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367test -z "$LN_S" && LN_S="ln -s" 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382if test -n "${ZSH_VERSION+set}"; then 8383 setopt NO_GLOB_SUBST 8384fi 8385 8386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8387$as_echo_n "checking for objdir... " >&6; } 8388if ${lt_cv_objdir+:} false; then : 8389 $as_echo_n "(cached) " >&6 8390else 8391 rm -f .libs 2>/dev/null 8392mkdir .libs 2>/dev/null 8393if test -d .libs; then 8394 lt_cv_objdir=.libs 8395else 8396 # MS-DOS does not allow filenames that begin with a dot. 8397 lt_cv_objdir=_libs 8398fi 8399rmdir .libs 2>/dev/null 8400fi 8401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8402$as_echo "$lt_cv_objdir" >&6; } 8403objdir=$lt_cv_objdir 8404 8405 8406 8407 8408 8409cat >>confdefs.h <<_ACEOF 8410#define LT_OBJDIR "$lt_cv_objdir/" 8411_ACEOF 8412 8413 8414 8415 8416case $host_os in 8417aix3*) 8418 # AIX sometimes has problems with the GCC collect2 program. For some 8419 # reason, if we set the COLLECT_NAMES environment variable, the problems 8420 # vanish in a puff of smoke. 8421 if test set != "${COLLECT_NAMES+set}"; then 8422 COLLECT_NAMES= 8423 export COLLECT_NAMES 8424 fi 8425 ;; 8426esac 8427 8428# Global variables: 8429ofile=libtool 8430can_build_shared=yes 8431 8432# All known linkers require a '.a' archive for static linking (except MSVC, 8433# which needs '.lib'). 8434libext=a 8435 8436with_gnu_ld=$lt_cv_prog_gnu_ld 8437 8438old_CC=$CC 8439old_CFLAGS=$CFLAGS 8440 8441# Set sane defaults for various variables 8442test -z "$CC" && CC=cc 8443test -z "$LTCC" && LTCC=$CC 8444test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8445test -z "$LD" && LD=ld 8446test -z "$ac_objext" && ac_objext=o 8447 8448func_cc_basename $compiler 8449cc_basename=$func_cc_basename_result 8450 8451 8452# Only perform the check for file, if the check method requires it 8453test -z "$MAGIC_CMD" && MAGIC_CMD=file 8454case $deplibs_check_method in 8455file_magic*) 8456 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8458$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8459if ${lt_cv_path_MAGIC_CMD+:} false; then : 8460 $as_echo_n "(cached) " >&6 8461else 8462 case $MAGIC_CMD in 8463[\\/*] | ?:[\\/]*) 8464 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8465 ;; 8466*) 8467 lt_save_MAGIC_CMD=$MAGIC_CMD 8468 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8469 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8470 for ac_dir in $ac_dummy; do 8471 IFS=$lt_save_ifs 8472 test -z "$ac_dir" && ac_dir=. 8473 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8474 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8475 if test -n "$file_magic_test_file"; then 8476 case $deplibs_check_method in 8477 "file_magic "*) 8478 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8479 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8480 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8481 $EGREP "$file_magic_regex" > /dev/null; then 8482 : 8483 else 8484 cat <<_LT_EOF 1>&2 8485 8486*** Warning: the command libtool uses to detect shared libraries, 8487*** $file_magic_cmd, produces output that libtool cannot recognize. 8488*** The result is that libtool may fail to recognize shared libraries 8489*** as such. This will affect the creation of libtool libraries that 8490*** depend on shared libraries, but programs linked with such libtool 8491*** libraries will work regardless of this problem. Nevertheless, you 8492*** may want to report the problem to your system manager and/or to 8493*** bug-libtool@gnu.org 8494 8495_LT_EOF 8496 fi ;; 8497 esac 8498 fi 8499 break 8500 fi 8501 done 8502 IFS=$lt_save_ifs 8503 MAGIC_CMD=$lt_save_MAGIC_CMD 8504 ;; 8505esac 8506fi 8507 8508MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8509if test -n "$MAGIC_CMD"; then 8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8511$as_echo "$MAGIC_CMD" >&6; } 8512else 8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8514$as_echo "no" >&6; } 8515fi 8516 8517 8518 8519 8520 8521if test -z "$lt_cv_path_MAGIC_CMD"; then 8522 if test -n "$ac_tool_prefix"; then 8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8524$as_echo_n "checking for file... " >&6; } 8525if ${lt_cv_path_MAGIC_CMD+:} false; then : 8526 $as_echo_n "(cached) " >&6 8527else 8528 case $MAGIC_CMD in 8529[\\/*] | ?:[\\/]*) 8530 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8531 ;; 8532*) 8533 lt_save_MAGIC_CMD=$MAGIC_CMD 8534 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8535 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8536 for ac_dir in $ac_dummy; do 8537 IFS=$lt_save_ifs 8538 test -z "$ac_dir" && ac_dir=. 8539 if test -f "$ac_dir/file"; then 8540 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8541 if test -n "$file_magic_test_file"; then 8542 case $deplibs_check_method in 8543 "file_magic "*) 8544 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8545 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8546 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8547 $EGREP "$file_magic_regex" > /dev/null; then 8548 : 8549 else 8550 cat <<_LT_EOF 1>&2 8551 8552*** Warning: the command libtool uses to detect shared libraries, 8553*** $file_magic_cmd, produces output that libtool cannot recognize. 8554*** The result is that libtool may fail to recognize shared libraries 8555*** as such. This will affect the creation of libtool libraries that 8556*** depend on shared libraries, but programs linked with such libtool 8557*** libraries will work regardless of this problem. Nevertheless, you 8558*** may want to report the problem to your system manager and/or to 8559*** bug-libtool@gnu.org 8560 8561_LT_EOF 8562 fi ;; 8563 esac 8564 fi 8565 break 8566 fi 8567 done 8568 IFS=$lt_save_ifs 8569 MAGIC_CMD=$lt_save_MAGIC_CMD 8570 ;; 8571esac 8572fi 8573 8574MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8575if test -n "$MAGIC_CMD"; then 8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8577$as_echo "$MAGIC_CMD" >&6; } 8578else 8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8580$as_echo "no" >&6; } 8581fi 8582 8583 8584 else 8585 MAGIC_CMD=: 8586 fi 8587fi 8588 8589 fi 8590 ;; 8591esac 8592 8593# Use C for the default configuration in the libtool script 8594 8595lt_save_CC=$CC 8596ac_ext=c 8597ac_cpp='$CPP $CPPFLAGS' 8598ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8599ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8600ac_compiler_gnu=$ac_cv_c_compiler_gnu 8601 8602 8603# Source file extension for C test sources. 8604ac_ext=c 8605 8606# Object file extension for compiled C test sources. 8607objext=o 8608objext=$objext 8609 8610# Code to be used in simple compile tests 8611lt_simple_compile_test_code="int some_variable = 0;" 8612 8613# Code to be used in simple link tests 8614lt_simple_link_test_code='int main(){return(0);}' 8615 8616 8617 8618 8619 8620 8621 8622# If no C compiler was specified, use CC. 8623LTCC=${LTCC-"$CC"} 8624 8625# If no C compiler flags were specified, use CFLAGS. 8626LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8627 8628# Allow CC to be a program name with arguments. 8629compiler=$CC 8630 8631# Save the default compiler, since it gets overwritten when the other 8632# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8633compiler_DEFAULT=$CC 8634 8635# save warnings/boilerplate of simple test code 8636ac_outfile=conftest.$ac_objext 8637echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8638eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8639_lt_compiler_boilerplate=`cat conftest.err` 8640$RM conftest* 8641 8642ac_outfile=conftest.$ac_objext 8643echo "$lt_simple_link_test_code" >conftest.$ac_ext 8644eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8645_lt_linker_boilerplate=`cat conftest.err` 8646$RM -r conftest* 8647 8648 8649if test -n "$compiler"; then 8650 8651lt_prog_compiler_no_builtin_flag= 8652 8653if test yes = "$GCC"; then 8654 case $cc_basename in 8655 nvcc*) 8656 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8657 *) 8658 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8659 esac 8660 8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8662$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8663if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8664 $as_echo_n "(cached) " >&6 8665else 8666 lt_cv_prog_compiler_rtti_exceptions=no 8667 ac_outfile=conftest.$ac_objext 8668 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8669 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8670 # Insert the option either (1) after the last *FLAGS variable, or 8671 # (2) before a word containing "conftest.", or (3) at the end. 8672 # Note that $ac_compile itself does not contain backslashes and begins 8673 # with a dollar sign (not a hyphen), so the echo should work correctly. 8674 # The option is referenced via a variable to avoid confusing sed. 8675 lt_compile=`echo "$ac_compile" | $SED \ 8676 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8677 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8678 -e 's:$: $lt_compiler_flag:'` 8679 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8680 (eval "$lt_compile" 2>conftest.err) 8681 ac_status=$? 8682 cat conftest.err >&5 8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8684 if (exit $ac_status) && test -s "$ac_outfile"; then 8685 # The compiler can only warn and ignore the option if not recognized 8686 # So say no if there are warnings other than the usual output. 8687 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8688 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8689 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8690 lt_cv_prog_compiler_rtti_exceptions=yes 8691 fi 8692 fi 8693 $RM conftest* 8694 8695fi 8696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8697$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8698 8699if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8700 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8701else 8702 : 8703fi 8704 8705fi 8706 8707 8708 8709 8710 8711 8712 lt_prog_compiler_wl= 8713lt_prog_compiler_pic= 8714lt_prog_compiler_static= 8715 8716 8717 if test yes = "$GCC"; then 8718 lt_prog_compiler_wl='-Wl,' 8719 lt_prog_compiler_static='-static' 8720 8721 case $host_os in 8722 aix*) 8723 # All AIX code is PIC. 8724 if test ia64 = "$host_cpu"; then 8725 # AIX 5 now supports IA64 processor 8726 lt_prog_compiler_static='-Bstatic' 8727 fi 8728 lt_prog_compiler_pic='-fPIC' 8729 ;; 8730 8731 amigaos*) 8732 case $host_cpu in 8733 powerpc) 8734 # see comment about AmigaOS4 .so support 8735 lt_prog_compiler_pic='-fPIC' 8736 ;; 8737 m68k) 8738 # FIXME: we need at least 68020 code to build shared libraries, but 8739 # adding the '-m68020' flag to GCC prevents building anything better, 8740 # like '-m68040'. 8741 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8742 ;; 8743 esac 8744 ;; 8745 8746 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8747 # PIC is the default for these OSes. 8748 ;; 8749 8750 mingw* | cygwin* | pw32* | os2* | cegcc*) 8751 # This hack is so that the source file can tell whether it is being 8752 # built for inclusion in a dll (and should export symbols for example). 8753 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8754 # (--disable-auto-import) libraries 8755 lt_prog_compiler_pic='-DDLL_EXPORT' 8756 case $host_os in 8757 os2*) 8758 lt_prog_compiler_static='$wl-static' 8759 ;; 8760 esac 8761 ;; 8762 8763 darwin* | rhapsody*) 8764 # PIC is the default on this platform 8765 # Common symbols not allowed in MH_DYLIB files 8766 lt_prog_compiler_pic='-fno-common' 8767 ;; 8768 8769 haiku*) 8770 # PIC is the default for Haiku. 8771 # The "-static" flag exists, but is broken. 8772 lt_prog_compiler_static= 8773 ;; 8774 8775 hpux*) 8776 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8777 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8778 # sets the default TLS model and affects inlining. 8779 case $host_cpu in 8780 hppa*64*) 8781 # +Z the default 8782 ;; 8783 *) 8784 lt_prog_compiler_pic='-fPIC' 8785 ;; 8786 esac 8787 ;; 8788 8789 interix[3-9]*) 8790 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8791 # Instead, we relocate shared libraries at runtime. 8792 ;; 8793 8794 msdosdjgpp*) 8795 # Just because we use GCC doesn't mean we suddenly get shared libraries 8796 # on systems that don't support them. 8797 lt_prog_compiler_can_build_shared=no 8798 enable_shared=no 8799 ;; 8800 8801 *nto* | *qnx*) 8802 # QNX uses GNU C++, but need to define -shared option too, otherwise 8803 # it will coredump. 8804 lt_prog_compiler_pic='-fPIC -shared' 8805 ;; 8806 8807 sysv4*MP*) 8808 if test -d /usr/nec; then 8809 lt_prog_compiler_pic=-Kconform_pic 8810 fi 8811 ;; 8812 8813 *) 8814 lt_prog_compiler_pic='-fPIC' 8815 ;; 8816 esac 8817 8818 case $cc_basename in 8819 nvcc*) # Cuda Compiler Driver 2.2 8820 lt_prog_compiler_wl='-Xlinker ' 8821 if test -n "$lt_prog_compiler_pic"; then 8822 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8823 fi 8824 ;; 8825 esac 8826 else 8827 # PORTME Check for flag to pass linker flags through the system compiler. 8828 case $host_os in 8829 aix*) 8830 lt_prog_compiler_wl='-Wl,' 8831 if test ia64 = "$host_cpu"; then 8832 # AIX 5 now supports IA64 processor 8833 lt_prog_compiler_static='-Bstatic' 8834 else 8835 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8836 fi 8837 ;; 8838 8839 darwin* | rhapsody*) 8840 # PIC is the default on this platform 8841 # Common symbols not allowed in MH_DYLIB files 8842 lt_prog_compiler_pic='-fno-common' 8843 case $cc_basename in 8844 nagfor*) 8845 # NAG Fortran compiler 8846 lt_prog_compiler_wl='-Wl,-Wl,,' 8847 lt_prog_compiler_pic='-PIC' 8848 lt_prog_compiler_static='-Bstatic' 8849 ;; 8850 esac 8851 ;; 8852 8853 mingw* | cygwin* | pw32* | os2* | cegcc*) 8854 # This hack is so that the source file can tell whether it is being 8855 # built for inclusion in a dll (and should export symbols for example). 8856 lt_prog_compiler_pic='-DDLL_EXPORT' 8857 case $host_os in 8858 os2*) 8859 lt_prog_compiler_static='$wl-static' 8860 ;; 8861 esac 8862 ;; 8863 8864 hpux9* | hpux10* | hpux11*) 8865 lt_prog_compiler_wl='-Wl,' 8866 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8867 # not for PA HP-UX. 8868 case $host_cpu in 8869 hppa*64*|ia64*) 8870 # +Z the default 8871 ;; 8872 *) 8873 lt_prog_compiler_pic='+Z' 8874 ;; 8875 esac 8876 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8877 lt_prog_compiler_static='$wl-a ${wl}archive' 8878 ;; 8879 8880 irix5* | irix6* | nonstopux*) 8881 lt_prog_compiler_wl='-Wl,' 8882 # PIC (with -KPIC) is the default. 8883 lt_prog_compiler_static='-non_shared' 8884 ;; 8885 8886 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8887 case $cc_basename in 8888 # old Intel for x86_64, which still supported -KPIC. 8889 ecc*) 8890 lt_prog_compiler_wl='-Wl,' 8891 lt_prog_compiler_pic='-KPIC' 8892 lt_prog_compiler_static='-static' 8893 ;; 8894 # icc used to be incompatible with GCC. 8895 # ICC 10 doesn't accept -KPIC any more. 8896 icc* | ifort*) 8897 lt_prog_compiler_wl='-Wl,' 8898 lt_prog_compiler_pic='-fPIC' 8899 lt_prog_compiler_static='-static' 8900 ;; 8901 # Lahey Fortran 8.1. 8902 lf95*) 8903 lt_prog_compiler_wl='-Wl,' 8904 lt_prog_compiler_pic='--shared' 8905 lt_prog_compiler_static='--static' 8906 ;; 8907 nagfor*) 8908 # NAG Fortran compiler 8909 lt_prog_compiler_wl='-Wl,-Wl,,' 8910 lt_prog_compiler_pic='-PIC' 8911 lt_prog_compiler_static='-Bstatic' 8912 ;; 8913 tcc*) 8914 # Fabrice Bellard et al's Tiny C Compiler 8915 lt_prog_compiler_wl='-Wl,' 8916 lt_prog_compiler_pic='-fPIC' 8917 lt_prog_compiler_static='-static' 8918 ;; 8919 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8920 # Portland Group compilers (*not* the Pentium gcc compiler, 8921 # which looks to be a dead project) 8922 lt_prog_compiler_wl='-Wl,' 8923 lt_prog_compiler_pic='-fpic' 8924 lt_prog_compiler_static='-Bstatic' 8925 ;; 8926 ccc*) 8927 lt_prog_compiler_wl='-Wl,' 8928 # All Alpha code is PIC. 8929 lt_prog_compiler_static='-non_shared' 8930 ;; 8931 xl* | bgxl* | bgf* | mpixl*) 8932 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8933 lt_prog_compiler_wl='-Wl,' 8934 lt_prog_compiler_pic='-qpic' 8935 lt_prog_compiler_static='-qstaticlink' 8936 ;; 8937 *) 8938 case `$CC -V 2>&1 | sed 5q` in 8939 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8940 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8941 lt_prog_compiler_pic='-KPIC' 8942 lt_prog_compiler_static='-Bstatic' 8943 lt_prog_compiler_wl='' 8944 ;; 8945 *Sun\ F* | *Sun*Fortran*) 8946 lt_prog_compiler_pic='-KPIC' 8947 lt_prog_compiler_static='-Bstatic' 8948 lt_prog_compiler_wl='-Qoption ld ' 8949 ;; 8950 *Sun\ C*) 8951 # Sun C 5.9 8952 lt_prog_compiler_pic='-KPIC' 8953 lt_prog_compiler_static='-Bstatic' 8954 lt_prog_compiler_wl='-Wl,' 8955 ;; 8956 *Intel*\ [CF]*Compiler*) 8957 lt_prog_compiler_wl='-Wl,' 8958 lt_prog_compiler_pic='-fPIC' 8959 lt_prog_compiler_static='-static' 8960 ;; 8961 *Portland\ Group*) 8962 lt_prog_compiler_wl='-Wl,' 8963 lt_prog_compiler_pic='-fpic' 8964 lt_prog_compiler_static='-Bstatic' 8965 ;; 8966 esac 8967 ;; 8968 esac 8969 ;; 8970 8971 newsos6) 8972 lt_prog_compiler_pic='-KPIC' 8973 lt_prog_compiler_static='-Bstatic' 8974 ;; 8975 8976 *nto* | *qnx*) 8977 # QNX uses GNU C++, but need to define -shared option too, otherwise 8978 # it will coredump. 8979 lt_prog_compiler_pic='-fPIC -shared' 8980 ;; 8981 8982 osf3* | osf4* | osf5*) 8983 lt_prog_compiler_wl='-Wl,' 8984 # All OSF/1 code is PIC. 8985 lt_prog_compiler_static='-non_shared' 8986 ;; 8987 8988 rdos*) 8989 lt_prog_compiler_static='-non_shared' 8990 ;; 8991 8992 solaris*) 8993 lt_prog_compiler_pic='-KPIC' 8994 lt_prog_compiler_static='-Bstatic' 8995 case $cc_basename in 8996 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8997 lt_prog_compiler_wl='-Qoption ld ';; 8998 *) 8999 lt_prog_compiler_wl='-Wl,';; 9000 esac 9001 ;; 9002 9003 sunos4*) 9004 lt_prog_compiler_wl='-Qoption ld ' 9005 lt_prog_compiler_pic='-PIC' 9006 lt_prog_compiler_static='-Bstatic' 9007 ;; 9008 9009 sysv4 | sysv4.2uw2* | sysv4.3*) 9010 lt_prog_compiler_wl='-Wl,' 9011 lt_prog_compiler_pic='-KPIC' 9012 lt_prog_compiler_static='-Bstatic' 9013 ;; 9014 9015 sysv4*MP*) 9016 if test -d /usr/nec; then 9017 lt_prog_compiler_pic='-Kconform_pic' 9018 lt_prog_compiler_static='-Bstatic' 9019 fi 9020 ;; 9021 9022 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9023 lt_prog_compiler_wl='-Wl,' 9024 lt_prog_compiler_pic='-KPIC' 9025 lt_prog_compiler_static='-Bstatic' 9026 ;; 9027 9028 unicos*) 9029 lt_prog_compiler_wl='-Wl,' 9030 lt_prog_compiler_can_build_shared=no 9031 ;; 9032 9033 uts4*) 9034 lt_prog_compiler_pic='-pic' 9035 lt_prog_compiler_static='-Bstatic' 9036 ;; 9037 9038 *) 9039 lt_prog_compiler_can_build_shared=no 9040 ;; 9041 esac 9042 fi 9043 9044case $host_os in 9045 # For platforms that do not support PIC, -DPIC is meaningless: 9046 *djgpp*) 9047 lt_prog_compiler_pic= 9048 ;; 9049 *) 9050 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9051 ;; 9052esac 9053 9054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9055$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9056if ${lt_cv_prog_compiler_pic+:} false; then : 9057 $as_echo_n "(cached) " >&6 9058else 9059 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9060fi 9061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9062$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9063lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9064 9065# 9066# Check to make sure the PIC flag actually works. 9067# 9068if test -n "$lt_prog_compiler_pic"; then 9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9070$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9071if ${lt_cv_prog_compiler_pic_works+:} false; then : 9072 $as_echo_n "(cached) " >&6 9073else 9074 lt_cv_prog_compiler_pic_works=no 9075 ac_outfile=conftest.$ac_objext 9076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9077 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9078 # Insert the option either (1) after the last *FLAGS variable, or 9079 # (2) before a word containing "conftest.", or (3) at the end. 9080 # Note that $ac_compile itself does not contain backslashes and begins 9081 # with a dollar sign (not a hyphen), so the echo should work correctly. 9082 # The option is referenced via a variable to avoid confusing sed. 9083 lt_compile=`echo "$ac_compile" | $SED \ 9084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9086 -e 's:$: $lt_compiler_flag:'` 9087 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9088 (eval "$lt_compile" 2>conftest.err) 9089 ac_status=$? 9090 cat conftest.err >&5 9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9092 if (exit $ac_status) && test -s "$ac_outfile"; then 9093 # The compiler can only warn and ignore the option if not recognized 9094 # So say no if there are warnings other than the usual output. 9095 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9096 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9097 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9098 lt_cv_prog_compiler_pic_works=yes 9099 fi 9100 fi 9101 $RM conftest* 9102 9103fi 9104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9105$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9106 9107if test yes = "$lt_cv_prog_compiler_pic_works"; then 9108 case $lt_prog_compiler_pic in 9109 "" | " "*) ;; 9110 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9111 esac 9112else 9113 lt_prog_compiler_pic= 9114 lt_prog_compiler_can_build_shared=no 9115fi 9116 9117fi 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129# 9130# Check to make sure the static flag actually works. 9131# 9132wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9134$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9135if ${lt_cv_prog_compiler_static_works+:} false; then : 9136 $as_echo_n "(cached) " >&6 9137else 9138 lt_cv_prog_compiler_static_works=no 9139 save_LDFLAGS=$LDFLAGS 9140 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9141 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9142 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9143 # The linker can only warn and ignore the option if not recognized 9144 # So say no if there are warnings 9145 if test -s conftest.err; then 9146 # Append any errors to the config.log. 9147 cat conftest.err 1>&5 9148 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9149 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9150 if diff conftest.exp conftest.er2 >/dev/null; then 9151 lt_cv_prog_compiler_static_works=yes 9152 fi 9153 else 9154 lt_cv_prog_compiler_static_works=yes 9155 fi 9156 fi 9157 $RM -r conftest* 9158 LDFLAGS=$save_LDFLAGS 9159 9160fi 9161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9162$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9163 9164if test yes = "$lt_cv_prog_compiler_static_works"; then 9165 : 9166else 9167 lt_prog_compiler_static= 9168fi 9169 9170 9171 9172 9173 9174 9175 9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9177$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9178if ${lt_cv_prog_compiler_c_o+:} false; then : 9179 $as_echo_n "(cached) " >&6 9180else 9181 lt_cv_prog_compiler_c_o=no 9182 $RM -r conftest 2>/dev/null 9183 mkdir conftest 9184 cd conftest 9185 mkdir out 9186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9187 9188 lt_compiler_flag="-o out/conftest2.$ac_objext" 9189 # Insert the option either (1) after the last *FLAGS variable, or 9190 # (2) before a word containing "conftest.", or (3) at the end. 9191 # Note that $ac_compile itself does not contain backslashes and begins 9192 # with a dollar sign (not a hyphen), so the echo should work correctly. 9193 lt_compile=`echo "$ac_compile" | $SED \ 9194 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9195 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9196 -e 's:$: $lt_compiler_flag:'` 9197 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9198 (eval "$lt_compile" 2>out/conftest.err) 9199 ac_status=$? 9200 cat out/conftest.err >&5 9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9202 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9203 then 9204 # The compiler can only warn and ignore the option if not recognized 9205 # So say no if there are warnings 9206 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9207 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9208 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9209 lt_cv_prog_compiler_c_o=yes 9210 fi 9211 fi 9212 chmod u+w . 2>&5 9213 $RM conftest* 9214 # SGI C++ compiler will create directory out/ii_files/ for 9215 # template instantiation 9216 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9217 $RM out/* && rmdir out 9218 cd .. 9219 $RM -r conftest 9220 $RM conftest* 9221 9222fi 9223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9224$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9225 9226 9227 9228 9229 9230 9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9232$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9233if ${lt_cv_prog_compiler_c_o+:} false; then : 9234 $as_echo_n "(cached) " >&6 9235else 9236 lt_cv_prog_compiler_c_o=no 9237 $RM -r conftest 2>/dev/null 9238 mkdir conftest 9239 cd conftest 9240 mkdir out 9241 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9242 9243 lt_compiler_flag="-o out/conftest2.$ac_objext" 9244 # Insert the option either (1) after the last *FLAGS variable, or 9245 # (2) before a word containing "conftest.", or (3) at the end. 9246 # Note that $ac_compile itself does not contain backslashes and begins 9247 # with a dollar sign (not a hyphen), so the echo should work correctly. 9248 lt_compile=`echo "$ac_compile" | $SED \ 9249 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9250 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9251 -e 's:$: $lt_compiler_flag:'` 9252 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9253 (eval "$lt_compile" 2>out/conftest.err) 9254 ac_status=$? 9255 cat out/conftest.err >&5 9256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9257 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9258 then 9259 # The compiler can only warn and ignore the option if not recognized 9260 # So say no if there are warnings 9261 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9262 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9263 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9264 lt_cv_prog_compiler_c_o=yes 9265 fi 9266 fi 9267 chmod u+w . 2>&5 9268 $RM conftest* 9269 # SGI C++ compiler will create directory out/ii_files/ for 9270 # template instantiation 9271 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9272 $RM out/* && rmdir out 9273 cd .. 9274 $RM -r conftest 9275 $RM conftest* 9276 9277fi 9278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9279$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9280 9281 9282 9283 9284hard_links=nottested 9285if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9286 # do not overwrite the value of need_locks provided by the user 9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9288$as_echo_n "checking if we can lock with hard links... " >&6; } 9289 hard_links=yes 9290 $RM conftest* 9291 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9292 touch conftest.a 9293 ln conftest.a conftest.b 2>&5 || hard_links=no 9294 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9296$as_echo "$hard_links" >&6; } 9297 if test no = "$hard_links"; then 9298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9299$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9300 need_locks=warn 9301 fi 9302else 9303 need_locks=no 9304fi 9305 9306 9307 9308 9309 9310 9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9312$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9313 9314 runpath_var= 9315 allow_undefined_flag= 9316 always_export_symbols=no 9317 archive_cmds= 9318 archive_expsym_cmds= 9319 compiler_needs_object=no 9320 enable_shared_with_static_runtimes=no 9321 export_dynamic_flag_spec= 9322 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9323 hardcode_automatic=no 9324 hardcode_direct=no 9325 hardcode_direct_absolute=no 9326 hardcode_libdir_flag_spec= 9327 hardcode_libdir_separator= 9328 hardcode_minus_L=no 9329 hardcode_shlibpath_var=unsupported 9330 inherit_rpath=no 9331 link_all_deplibs=unknown 9332 module_cmds= 9333 module_expsym_cmds= 9334 old_archive_from_new_cmds= 9335 old_archive_from_expsyms_cmds= 9336 thread_safe_flag_spec= 9337 whole_archive_flag_spec= 9338 # include_expsyms should be a list of space-separated symbols to be *always* 9339 # included in the symbol list 9340 include_expsyms= 9341 # exclude_expsyms can be an extended regexp of symbols to exclude 9342 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9343 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9344 # as well as any symbol that contains 'd'. 9345 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9346 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9347 # platforms (ab)use it in PIC code, but their linkers get confused if 9348 # the symbol is explicitly referenced. Since portable code cannot 9349 # rely on this symbol name, it's probably fine to never include it in 9350 # preloaded symbol tables. 9351 # Exclude shared library initialization/finalization symbols. 9352 extract_expsyms_cmds= 9353 9354 case $host_os in 9355 cygwin* | mingw* | pw32* | cegcc*) 9356 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9357 # When not using gcc, we currently assume that we are using 9358 # Microsoft Visual C++. 9359 if test yes != "$GCC"; then 9360 with_gnu_ld=no 9361 fi 9362 ;; 9363 interix*) 9364 # we just hope/assume this is gcc and not c89 (= MSVC++) 9365 with_gnu_ld=yes 9366 ;; 9367 openbsd* | bitrig*) 9368 with_gnu_ld=no 9369 ;; 9370 esac 9371 9372 ld_shlibs=yes 9373 9374 # On some targets, GNU ld is compatible enough with the native linker 9375 # that we're better off using the native interface for both. 9376 lt_use_gnu_ld_interface=no 9377 if test yes = "$with_gnu_ld"; then 9378 case $host_os in 9379 aix*) 9380 # The AIX port of GNU ld has always aspired to compatibility 9381 # with the native linker. However, as the warning in the GNU ld 9382 # block says, versions before 2.19.5* couldn't really create working 9383 # shared libraries, regardless of the interface used. 9384 case `$LD -v 2>&1` in 9385 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9386 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9387 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9388 *) 9389 lt_use_gnu_ld_interface=yes 9390 ;; 9391 esac 9392 ;; 9393 *) 9394 lt_use_gnu_ld_interface=yes 9395 ;; 9396 esac 9397 fi 9398 9399 if test yes = "$lt_use_gnu_ld_interface"; then 9400 # If archive_cmds runs LD, not CC, wlarc should be empty 9401 wlarc='$wl' 9402 9403 # Set some defaults for GNU ld with shared library support. These 9404 # are reset later if shared libraries are not supported. Putting them 9405 # here allows them to be overridden if necessary. 9406 runpath_var=LD_RUN_PATH 9407 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9408 export_dynamic_flag_spec='$wl--export-dynamic' 9409 # ancient GNU ld didn't support --whole-archive et. al. 9410 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9411 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9412 else 9413 whole_archive_flag_spec= 9414 fi 9415 supports_anon_versioning=no 9416 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9417 *GNU\ gold*) supports_anon_versioning=yes ;; 9418 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9419 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9420 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9421 *\ 2.11.*) ;; # other 2.11 versions 9422 *) supports_anon_versioning=yes ;; 9423 esac 9424 9425 # See if GNU ld supports shared libraries. 9426 case $host_os in 9427 aix[3-9]*) 9428 # On AIX/PPC, the GNU linker is very broken 9429 if test ia64 != "$host_cpu"; then 9430 ld_shlibs=no 9431 cat <<_LT_EOF 1>&2 9432 9433*** Warning: the GNU linker, at least up to release 2.19, is reported 9434*** to be unable to reliably create shared libraries on AIX. 9435*** Therefore, libtool is disabling shared libraries support. If you 9436*** really care for shared libraries, you may want to install binutils 9437*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9438*** You will then need to restart the configuration process. 9439 9440_LT_EOF 9441 fi 9442 ;; 9443 9444 amigaos*) 9445 case $host_cpu in 9446 powerpc) 9447 # see comment about AmigaOS4 .so support 9448 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9449 archive_expsym_cmds='' 9450 ;; 9451 m68k) 9452 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)' 9453 hardcode_libdir_flag_spec='-L$libdir' 9454 hardcode_minus_L=yes 9455 ;; 9456 esac 9457 ;; 9458 9459 beos*) 9460 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9461 allow_undefined_flag=unsupported 9462 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9463 # support --undefined. This deserves some investigation. FIXME 9464 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9465 else 9466 ld_shlibs=no 9467 fi 9468 ;; 9469 9470 cygwin* | mingw* | pw32* | cegcc*) 9471 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9472 # as there is no search path for DLLs. 9473 hardcode_libdir_flag_spec='-L$libdir' 9474 export_dynamic_flag_spec='$wl--export-all-symbols' 9475 allow_undefined_flag=unsupported 9476 always_export_symbols=no 9477 enable_shared_with_static_runtimes=yes 9478 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' 9479 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9480 9481 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9482 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9483 # If the export-symbols file already is a .def file, use it as 9484 # is; otherwise, prepend EXPORTS... 9485 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9486 cp $export_symbols $output_objdir/$soname.def; 9487 else 9488 echo EXPORTS > $output_objdir/$soname.def; 9489 cat $export_symbols >> $output_objdir/$soname.def; 9490 fi~ 9491 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9492 else 9493 ld_shlibs=no 9494 fi 9495 ;; 9496 9497 haiku*) 9498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9499 link_all_deplibs=yes 9500 ;; 9501 9502 os2*) 9503 hardcode_libdir_flag_spec='-L$libdir' 9504 hardcode_minus_L=yes 9505 allow_undefined_flag=unsupported 9506 shrext_cmds=.dll 9507 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9508 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9509 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9510 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9511 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9512 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9513 emximp -o $lib $output_objdir/$libname.def' 9514 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9515 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9516 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9517 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9518 prefix_cmds="$SED"~ 9519 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9520 prefix_cmds="$prefix_cmds -e 1d"; 9521 fi~ 9522 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9523 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9524 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9525 emximp -o $lib $output_objdir/$libname.def' 9526 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9527 enable_shared_with_static_runtimes=yes 9528 ;; 9529 9530 interix[3-9]*) 9531 hardcode_direct=no 9532 hardcode_shlibpath_var=no 9533 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9534 export_dynamic_flag_spec='$wl-E' 9535 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9536 # Instead, shared libraries are loaded at an image base (0x10000000 by 9537 # default) and relocated if they conflict, which is a slow very memory 9538 # consuming and fragmenting process. To avoid this, we pick a random, 9539 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9540 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9541 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9542 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' 9543 ;; 9544 9545 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9546 tmp_diet=no 9547 if test linux-dietlibc = "$host_os"; then 9548 case $cc_basename in 9549 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9550 esac 9551 fi 9552 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9553 && test no = "$tmp_diet" 9554 then 9555 tmp_addflag=' $pic_flag' 9556 tmp_sharedflag='-shared' 9557 case $cc_basename,$host_cpu in 9558 pgcc*) # Portland Group C compiler 9559 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' 9560 tmp_addflag=' $pic_flag' 9561 ;; 9562 pgf77* | pgf90* | pgf95* | pgfortran*) 9563 # Portland Group f77 and f90 compilers 9564 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' 9565 tmp_addflag=' $pic_flag -Mnomain' ;; 9566 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9567 tmp_addflag=' -i_dynamic' ;; 9568 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9569 tmp_addflag=' -i_dynamic -nofor_main' ;; 9570 ifc* | ifort*) # Intel Fortran compiler 9571 tmp_addflag=' -nofor_main' ;; 9572 lf95*) # Lahey Fortran 8.1 9573 whole_archive_flag_spec= 9574 tmp_sharedflag='--shared' ;; 9575 nagfor*) # NAGFOR 5.3 9576 tmp_sharedflag='-Wl,-shared' ;; 9577 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9578 tmp_sharedflag='-qmkshrobj' 9579 tmp_addflag= ;; 9580 nvcc*) # Cuda Compiler Driver 2.2 9581 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' 9582 compiler_needs_object=yes 9583 ;; 9584 esac 9585 case `$CC -V 2>&1 | sed 5q` in 9586 *Sun\ C*) # Sun C 5.9 9587 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' 9588 compiler_needs_object=yes 9589 tmp_sharedflag='-G' ;; 9590 *Sun\ F*) # Sun Fortran 8.3 9591 tmp_sharedflag='-G' ;; 9592 esac 9593 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9594 9595 if test yes = "$supports_anon_versioning"; then 9596 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9597 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9598 echo "local: *; };" >> $output_objdir/$libname.ver~ 9599 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9600 fi 9601 9602 case $cc_basename in 9603 tcc*) 9604 export_dynamic_flag_spec='-rdynamic' 9605 ;; 9606 xlf* | bgf* | bgxlf* | mpixlf*) 9607 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9608 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9609 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9610 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9611 if test yes = "$supports_anon_versioning"; then 9612 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9613 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9614 echo "local: *; };" >> $output_objdir/$libname.ver~ 9615 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9616 fi 9617 ;; 9618 esac 9619 else 9620 ld_shlibs=no 9621 fi 9622 ;; 9623 9624 netbsd*) 9625 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9626 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9627 wlarc= 9628 else 9629 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9630 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9631 fi 9632 ;; 9633 9634 solaris*) 9635 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9636 ld_shlibs=no 9637 cat <<_LT_EOF 1>&2 9638 9639*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9640*** create shared libraries on Solaris systems. Therefore, libtool 9641*** is disabling shared libraries support. We urge you to upgrade GNU 9642*** binutils to release 2.9.1 or newer. Another option is to modify 9643*** your PATH or compiler configuration so that the native linker is 9644*** used, and then restart. 9645 9646_LT_EOF 9647 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9648 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9649 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9650 else 9651 ld_shlibs=no 9652 fi 9653 ;; 9654 9655 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9656 case `$LD -v 2>&1` in 9657 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9658 ld_shlibs=no 9659 cat <<_LT_EOF 1>&2 9660 9661*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9662*** reliably create shared libraries on SCO systems. Therefore, libtool 9663*** is disabling shared libraries support. We urge you to upgrade GNU 9664*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9665*** your PATH or compiler configuration so that the native linker is 9666*** used, and then restart. 9667 9668_LT_EOF 9669 ;; 9670 *) 9671 # For security reasons, it is highly recommended that you always 9672 # use absolute paths for naming shared libraries, and exclude the 9673 # DT_RUNPATH tag from executables and libraries. But doing so 9674 # requires that you compile everything twice, which is a pain. 9675 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9676 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9677 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9678 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9679 else 9680 ld_shlibs=no 9681 fi 9682 ;; 9683 esac 9684 ;; 9685 9686 sunos4*) 9687 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9688 wlarc= 9689 hardcode_direct=yes 9690 hardcode_shlibpath_var=no 9691 ;; 9692 9693 *) 9694 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9695 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9696 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9697 else 9698 ld_shlibs=no 9699 fi 9700 ;; 9701 esac 9702 9703 if test no = "$ld_shlibs"; then 9704 runpath_var= 9705 hardcode_libdir_flag_spec= 9706 export_dynamic_flag_spec= 9707 whole_archive_flag_spec= 9708 fi 9709 else 9710 # PORTME fill in a description of your system's linker (not GNU ld) 9711 case $host_os in 9712 aix3*) 9713 allow_undefined_flag=unsupported 9714 always_export_symbols=yes 9715 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' 9716 # Note: this linker hardcodes the directories in LIBPATH if there 9717 # are no directories specified by -L. 9718 hardcode_minus_L=yes 9719 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9720 # Neither direct hardcoding nor static linking is supported with a 9721 # broken collect2. 9722 hardcode_direct=unsupported 9723 fi 9724 ;; 9725 9726 aix[4-9]*) 9727 if test ia64 = "$host_cpu"; then 9728 # On IA64, the linker does run time linking by default, so we don't 9729 # have to do anything special. 9730 aix_use_runtimelinking=no 9731 exp_sym_flag='-Bexport' 9732 no_entry_flag= 9733 else 9734 # If we're using GNU nm, then we don't want the "-C" option. 9735 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9736 # Without the "-l" option, or with the "-B" option, AIX nm treats 9737 # weak defined symbols like other global defined symbols, whereas 9738 # GNU nm marks them as "W". 9739 # While the 'weak' keyword is ignored in the Export File, we need 9740 # it in the Import File for the 'aix-soname' feature, so we have 9741 # to replace the "-B" option with "-P" for AIX nm. 9742 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9743 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' 9744 else 9745 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' 9746 fi 9747 aix_use_runtimelinking=no 9748 9749 # Test if we are trying to use run time linking or normal 9750 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9751 # have runtime linking enabled, and use it for executables. 9752 # For shared libraries, we enable/disable runtime linking 9753 # depending on the kind of the shared library created - 9754 # when "with_aix_soname,aix_use_runtimelinking" is: 9755 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9756 # "aix,yes" lib.so shared, rtl:yes, for executables 9757 # lib.a static archive 9758 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9759 # lib.a(lib.so.V) shared, rtl:no, for executables 9760 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9761 # lib.a(lib.so.V) shared, rtl:no 9762 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9763 # lib.a static archive 9764 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9765 for ld_flag in $LDFLAGS; do 9766 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9767 aix_use_runtimelinking=yes 9768 break 9769 fi 9770 done 9771 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9772 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9773 # so we don't have lib.a shared libs to link our executables. 9774 # We have to force runtime linking in this case. 9775 aix_use_runtimelinking=yes 9776 LDFLAGS="$LDFLAGS -Wl,-brtl" 9777 fi 9778 ;; 9779 esac 9780 9781 exp_sym_flag='-bexport' 9782 no_entry_flag='-bnoentry' 9783 fi 9784 9785 # When large executables or shared objects are built, AIX ld can 9786 # have problems creating the table of contents. If linking a library 9787 # or program results in "error TOC overflow" add -mminimal-toc to 9788 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9789 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9790 9791 archive_cmds='' 9792 hardcode_direct=yes 9793 hardcode_direct_absolute=yes 9794 hardcode_libdir_separator=':' 9795 link_all_deplibs=yes 9796 file_list_spec='$wl-f,' 9797 case $with_aix_soname,$aix_use_runtimelinking in 9798 aix,*) ;; # traditional, no import file 9799 svr4,* | *,yes) # use import file 9800 # The Import File defines what to hardcode. 9801 hardcode_direct=no 9802 hardcode_direct_absolute=no 9803 ;; 9804 esac 9805 9806 if test yes = "$GCC"; then 9807 case $host_os in aix4.[012]|aix4.[012].*) 9808 # We only want to do this on AIX 4.2 and lower, the check 9809 # below for broken collect2 doesn't work under 4.3+ 9810 collect2name=`$CC -print-prog-name=collect2` 9811 if test -f "$collect2name" && 9812 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9813 then 9814 # We have reworked collect2 9815 : 9816 else 9817 # We have old collect2 9818 hardcode_direct=unsupported 9819 # It fails to find uninstalled libraries when the uninstalled 9820 # path is not listed in the libpath. Setting hardcode_minus_L 9821 # to unsupported forces relinking 9822 hardcode_minus_L=yes 9823 hardcode_libdir_flag_spec='-L$libdir' 9824 hardcode_libdir_separator= 9825 fi 9826 ;; 9827 esac 9828 shared_flag='-shared' 9829 if test yes = "$aix_use_runtimelinking"; then 9830 shared_flag="$shared_flag "'$wl-G' 9831 fi 9832 # Need to ensure runtime linking is disabled for the traditional 9833 # shared library, or the linker may eventually find shared libraries 9834 # /with/ Import File - we do not want to mix them. 9835 shared_flag_aix='-shared' 9836 shared_flag_svr4='-shared $wl-G' 9837 else 9838 # not using gcc 9839 if test ia64 = "$host_cpu"; then 9840 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9841 # chokes on -Wl,-G. The following line is correct: 9842 shared_flag='-G' 9843 else 9844 if test yes = "$aix_use_runtimelinking"; then 9845 shared_flag='$wl-G' 9846 else 9847 shared_flag='$wl-bM:SRE' 9848 fi 9849 shared_flag_aix='$wl-bM:SRE' 9850 shared_flag_svr4='$wl-G' 9851 fi 9852 fi 9853 9854 export_dynamic_flag_spec='$wl-bexpall' 9855 # It seems that -bexpall does not export symbols beginning with 9856 # underscore (_), so it is better to generate a list of symbols to export. 9857 always_export_symbols=yes 9858 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9859 # Warning - without using the other runtime loading flags (-brtl), 9860 # -berok will link without error, but may produce a broken library. 9861 allow_undefined_flag='-berok' 9862 # Determine the default libpath from the value encoded in an 9863 # empty executable. 9864 if test set = "${lt_cv_aix_libpath+set}"; then 9865 aix_libpath=$lt_cv_aix_libpath 9866else 9867 if ${lt_cv_aix_libpath_+:} false; then : 9868 $as_echo_n "(cached) " >&6 9869else 9870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9871/* end confdefs.h. */ 9872 9873int 9874main () 9875{ 9876 9877 ; 9878 return 0; 9879} 9880_ACEOF 9881if ac_fn_c_try_link "$LINENO"; then : 9882 9883 lt_aix_libpath_sed=' 9884 /Import File Strings/,/^$/ { 9885 /^0/ { 9886 s/^0 *\([^ ]*\) *$/\1/ 9887 p 9888 } 9889 }' 9890 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9891 # Check for a 64-bit object if we didn't find anything. 9892 if test -z "$lt_cv_aix_libpath_"; then 9893 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9894 fi 9895fi 9896rm -f core conftest.err conftest.$ac_objext \ 9897 conftest$ac_exeext conftest.$ac_ext 9898 if test -z "$lt_cv_aix_libpath_"; then 9899 lt_cv_aix_libpath_=/usr/lib:/lib 9900 fi 9901 9902fi 9903 9904 aix_libpath=$lt_cv_aix_libpath_ 9905fi 9906 9907 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9908 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 9909 else 9910 if test ia64 = "$host_cpu"; then 9911 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9912 allow_undefined_flag="-z nodefs" 9913 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" 9914 else 9915 # Determine the default libpath from the value encoded in an 9916 # empty executable. 9917 if test set = "${lt_cv_aix_libpath+set}"; then 9918 aix_libpath=$lt_cv_aix_libpath 9919else 9920 if ${lt_cv_aix_libpath_+:} false; then : 9921 $as_echo_n "(cached) " >&6 9922else 9923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9924/* end confdefs.h. */ 9925 9926int 9927main () 9928{ 9929 9930 ; 9931 return 0; 9932} 9933_ACEOF 9934if ac_fn_c_try_link "$LINENO"; then : 9935 9936 lt_aix_libpath_sed=' 9937 /Import File Strings/,/^$/ { 9938 /^0/ { 9939 s/^0 *\([^ ]*\) *$/\1/ 9940 p 9941 } 9942 }' 9943 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9944 # Check for a 64-bit object if we didn't find anything. 9945 if test -z "$lt_cv_aix_libpath_"; then 9946 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9947 fi 9948fi 9949rm -f core conftest.err conftest.$ac_objext \ 9950 conftest$ac_exeext conftest.$ac_ext 9951 if test -z "$lt_cv_aix_libpath_"; then 9952 lt_cv_aix_libpath_=/usr/lib:/lib 9953 fi 9954 9955fi 9956 9957 aix_libpath=$lt_cv_aix_libpath_ 9958fi 9959 9960 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9961 # Warning - without using the other run time loading flags, 9962 # -berok will link without error, but may produce a broken library. 9963 no_undefined_flag=' $wl-bernotok' 9964 allow_undefined_flag=' $wl-berok' 9965 if test yes = "$with_gnu_ld"; then 9966 # We only use this code for GNU lds that support --whole-archive. 9967 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9968 else 9969 # Exported symbols can be pulled into shared objects from archives 9970 whole_archive_flag_spec='$convenience' 9971 fi 9972 archive_cmds_need_lc=yes 9973 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9974 # -brtl affects multiple linker settings, -berok does not and is overridden later 9975 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9976 if test svr4 != "$with_aix_soname"; then 9977 # This is similar to how AIX traditionally builds its shared libraries. 9978 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' 9979 fi 9980 if test aix != "$with_aix_soname"; then 9981 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' 9982 else 9983 # used by -dlpreopen to get the symbols 9984 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9985 fi 9986 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9987 fi 9988 fi 9989 ;; 9990 9991 amigaos*) 9992 case $host_cpu in 9993 powerpc) 9994 # see comment about AmigaOS4 .so support 9995 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9996 archive_expsym_cmds='' 9997 ;; 9998 m68k) 9999 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)' 10000 hardcode_libdir_flag_spec='-L$libdir' 10001 hardcode_minus_L=yes 10002 ;; 10003 esac 10004 ;; 10005 10006 bsdi[45]*) 10007 export_dynamic_flag_spec=-rdynamic 10008 ;; 10009 10010 cygwin* | mingw* | pw32* | cegcc*) 10011 # When not using gcc, we currently assume that we are using 10012 # Microsoft Visual C++. 10013 # hardcode_libdir_flag_spec is actually meaningless, as there is 10014 # no search path for DLLs. 10015 case $cc_basename in 10016 cl*) 10017 # Native MSVC 10018 hardcode_libdir_flag_spec=' ' 10019 allow_undefined_flag=unsupported 10020 always_export_symbols=yes 10021 file_list_spec='@' 10022 # Tell ltmain to make .lib files, not .a files. 10023 libext=lib 10024 # Tell ltmain to make .dll files, not .so files. 10025 shrext_cmds=.dll 10026 # FIXME: Setting linknames here is a bad hack. 10027 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10028 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10029 cp "$export_symbols" "$output_objdir/$soname.def"; 10030 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10031 else 10032 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10033 fi~ 10034 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10035 linknames=' 10036 # The linker will not automatically build a static lib if we build a DLL. 10037 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10038 enable_shared_with_static_runtimes=yes 10039 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10040 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10041 # Don't use ranlib 10042 old_postinstall_cmds='chmod 644 $oldlib' 10043 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10044 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10045 case $lt_outputfile in 10046 *.exe|*.EXE) ;; 10047 *) 10048 lt_outputfile=$lt_outputfile.exe 10049 lt_tool_outputfile=$lt_tool_outputfile.exe 10050 ;; 10051 esac~ 10052 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10053 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10054 $RM "$lt_outputfile.manifest"; 10055 fi' 10056 ;; 10057 *) 10058 # Assume MSVC wrapper 10059 hardcode_libdir_flag_spec=' ' 10060 allow_undefined_flag=unsupported 10061 # Tell ltmain to make .lib files, not .a files. 10062 libext=lib 10063 # Tell ltmain to make .dll files, not .so files. 10064 shrext_cmds=.dll 10065 # FIXME: Setting linknames here is a bad hack. 10066 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10067 # The linker will automatically build a .lib file if we build a DLL. 10068 old_archive_from_new_cmds='true' 10069 # FIXME: Should let the user specify the lib program. 10070 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10071 enable_shared_with_static_runtimes=yes 10072 ;; 10073 esac 10074 ;; 10075 10076 darwin* | rhapsody*) 10077 10078 10079 archive_cmds_need_lc=no 10080 hardcode_direct=no 10081 hardcode_automatic=yes 10082 hardcode_shlibpath_var=unsupported 10083 if test yes = "$lt_cv_ld_force_load"; then 10084 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\"`' 10085 10086 else 10087 whole_archive_flag_spec='' 10088 fi 10089 link_all_deplibs=yes 10090 allow_undefined_flag=$_lt_dar_allow_undefined 10091 case $cc_basename in 10092 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10093 *) _lt_dar_can_shared=$GCC ;; 10094 esac 10095 if test yes = "$_lt_dar_can_shared"; then 10096 output_verbose_link_cmd=func_echo_all 10097 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10098 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10099 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" 10100 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" 10101 10102 else 10103 ld_shlibs=no 10104 fi 10105 10106 ;; 10107 10108 dgux*) 10109 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10110 hardcode_libdir_flag_spec='-L$libdir' 10111 hardcode_shlibpath_var=no 10112 ;; 10113 10114 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10115 # support. Future versions do this automatically, but an explicit c++rt0.o 10116 # does not break anything, and helps significantly (at the cost of a little 10117 # extra space). 10118 freebsd2.2*) 10119 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10120 hardcode_libdir_flag_spec='-R$libdir' 10121 hardcode_direct=yes 10122 hardcode_shlibpath_var=no 10123 ;; 10124 10125 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10126 freebsd2.*) 10127 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10128 hardcode_direct=yes 10129 hardcode_minus_L=yes 10130 hardcode_shlibpath_var=no 10131 ;; 10132 10133 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10134 freebsd* | dragonfly*) 10135 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10136 hardcode_libdir_flag_spec='-R$libdir' 10137 hardcode_direct=yes 10138 hardcode_shlibpath_var=no 10139 ;; 10140 10141 hpux9*) 10142 if test yes = "$GCC"; then 10143 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' 10144 else 10145 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' 10146 fi 10147 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10148 hardcode_libdir_separator=: 10149 hardcode_direct=yes 10150 10151 # hardcode_minus_L: Not really in the search PATH, 10152 # but as the default location of the library. 10153 hardcode_minus_L=yes 10154 export_dynamic_flag_spec='$wl-E' 10155 ;; 10156 10157 hpux10*) 10158 if test yes,no = "$GCC,$with_gnu_ld"; then 10159 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10160 else 10161 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10162 fi 10163 if test no = "$with_gnu_ld"; then 10164 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10165 hardcode_libdir_separator=: 10166 hardcode_direct=yes 10167 hardcode_direct_absolute=yes 10168 export_dynamic_flag_spec='$wl-E' 10169 # hardcode_minus_L: Not really in the search PATH, 10170 # but as the default location of the library. 10171 hardcode_minus_L=yes 10172 fi 10173 ;; 10174 10175 hpux11*) 10176 if test yes,no = "$GCC,$with_gnu_ld"; then 10177 case $host_cpu in 10178 hppa*64*) 10179 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10180 ;; 10181 ia64*) 10182 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10183 ;; 10184 *) 10185 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10186 ;; 10187 esac 10188 else 10189 case $host_cpu in 10190 hppa*64*) 10191 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10192 ;; 10193 ia64*) 10194 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10195 ;; 10196 *) 10197 10198 # Older versions of the 11.00 compiler do not understand -b yet 10199 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10201$as_echo_n "checking if $CC understands -b... " >&6; } 10202if ${lt_cv_prog_compiler__b+:} false; then : 10203 $as_echo_n "(cached) " >&6 10204else 10205 lt_cv_prog_compiler__b=no 10206 save_LDFLAGS=$LDFLAGS 10207 LDFLAGS="$LDFLAGS -b" 10208 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10209 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10210 # The linker can only warn and ignore the option if not recognized 10211 # So say no if there are warnings 10212 if test -s conftest.err; then 10213 # Append any errors to the config.log. 10214 cat conftest.err 1>&5 10215 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10216 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10217 if diff conftest.exp conftest.er2 >/dev/null; then 10218 lt_cv_prog_compiler__b=yes 10219 fi 10220 else 10221 lt_cv_prog_compiler__b=yes 10222 fi 10223 fi 10224 $RM -r conftest* 10225 LDFLAGS=$save_LDFLAGS 10226 10227fi 10228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10229$as_echo "$lt_cv_prog_compiler__b" >&6; } 10230 10231if test yes = "$lt_cv_prog_compiler__b"; then 10232 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10233else 10234 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10235fi 10236 10237 ;; 10238 esac 10239 fi 10240 if test no = "$with_gnu_ld"; then 10241 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10242 hardcode_libdir_separator=: 10243 10244 case $host_cpu in 10245 hppa*64*|ia64*) 10246 hardcode_direct=no 10247 hardcode_shlibpath_var=no 10248 ;; 10249 *) 10250 hardcode_direct=yes 10251 hardcode_direct_absolute=yes 10252 export_dynamic_flag_spec='$wl-E' 10253 10254 # hardcode_minus_L: Not really in the search PATH, 10255 # but as the default location of the library. 10256 hardcode_minus_L=yes 10257 ;; 10258 esac 10259 fi 10260 ;; 10261 10262 irix5* | irix6* | nonstopux*) 10263 if test yes = "$GCC"; then 10264 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' 10265 # Try to use the -exported_symbol ld option, if it does not 10266 # work, assume that -exports_file does not work either and 10267 # implicitly export all symbols. 10268 # This should be the same for all languages, so no per-tag cache variable. 10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10270$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10271if ${lt_cv_irix_exported_symbol+:} false; then : 10272 $as_echo_n "(cached) " >&6 10273else 10274 save_LDFLAGS=$LDFLAGS 10275 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10277/* end confdefs.h. */ 10278int foo (void) { return 0; } 10279_ACEOF 10280if ac_fn_c_try_link "$LINENO"; then : 10281 lt_cv_irix_exported_symbol=yes 10282else 10283 lt_cv_irix_exported_symbol=no 10284fi 10285rm -f core conftest.err conftest.$ac_objext \ 10286 conftest$ac_exeext conftest.$ac_ext 10287 LDFLAGS=$save_LDFLAGS 10288fi 10289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10290$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10291 if test yes = "$lt_cv_irix_exported_symbol"; then 10292 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' 10293 fi 10294 else 10295 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' 10296 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' 10297 fi 10298 archive_cmds_need_lc='no' 10299 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10300 hardcode_libdir_separator=: 10301 inherit_rpath=yes 10302 link_all_deplibs=yes 10303 ;; 10304 10305 linux*) 10306 case $cc_basename in 10307 tcc*) 10308 # Fabrice Bellard et al's Tiny C Compiler 10309 ld_shlibs=yes 10310 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10311 ;; 10312 esac 10313 ;; 10314 10315 netbsd*) 10316 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10317 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10318 else 10319 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10320 fi 10321 hardcode_libdir_flag_spec='-R$libdir' 10322 hardcode_direct=yes 10323 hardcode_shlibpath_var=no 10324 ;; 10325 10326 newsos6) 10327 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10328 hardcode_direct=yes 10329 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10330 hardcode_libdir_separator=: 10331 hardcode_shlibpath_var=no 10332 ;; 10333 10334 *nto* | *qnx*) 10335 ;; 10336 10337 openbsd* | bitrig*) 10338 if test -f /usr/libexec/ld.so; then 10339 hardcode_direct=yes 10340 hardcode_shlibpath_var=no 10341 hardcode_direct_absolute=yes 10342 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10343 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10344 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10345 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10346 export_dynamic_flag_spec='$wl-E' 10347 else 10348 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10349 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10350 fi 10351 else 10352 ld_shlibs=no 10353 fi 10354 ;; 10355 10356 os2*) 10357 hardcode_libdir_flag_spec='-L$libdir' 10358 hardcode_minus_L=yes 10359 allow_undefined_flag=unsupported 10360 shrext_cmds=.dll 10361 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10362 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10363 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10364 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10365 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10366 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10367 emximp -o $lib $output_objdir/$libname.def' 10368 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10369 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10370 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10371 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10372 prefix_cmds="$SED"~ 10373 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10374 prefix_cmds="$prefix_cmds -e 1d"; 10375 fi~ 10376 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10377 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10378 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10379 emximp -o $lib $output_objdir/$libname.def' 10380 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10381 enable_shared_with_static_runtimes=yes 10382 ;; 10383 10384 osf3*) 10385 if test yes = "$GCC"; then 10386 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10387 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' 10388 else 10389 allow_undefined_flag=' -expect_unresolved \*' 10390 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' 10391 fi 10392 archive_cmds_need_lc='no' 10393 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10394 hardcode_libdir_separator=: 10395 ;; 10396 10397 osf4* | osf5*) # as osf3* with the addition of -msym flag 10398 if test yes = "$GCC"; then 10399 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10400 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' 10401 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10402 else 10403 allow_undefined_flag=' -expect_unresolved \*' 10404 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' 10405 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~ 10406 $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' 10407 10408 # Both c and cxx compiler support -rpath directly 10409 hardcode_libdir_flag_spec='-rpath $libdir' 10410 fi 10411 archive_cmds_need_lc='no' 10412 hardcode_libdir_separator=: 10413 ;; 10414 10415 solaris*) 10416 no_undefined_flag=' -z defs' 10417 if test yes = "$GCC"; then 10418 wlarc='$wl' 10419 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10420 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10421 $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' 10422 else 10423 case `$CC -V 2>&1` in 10424 *"Compilers 5.0"*) 10425 wlarc='' 10426 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10427 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10428 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10429 ;; 10430 *) 10431 wlarc='$wl' 10432 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10433 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10434 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10435 ;; 10436 esac 10437 fi 10438 hardcode_libdir_flag_spec='-R$libdir' 10439 hardcode_shlibpath_var=no 10440 case $host_os in 10441 solaris2.[0-5] | solaris2.[0-5].*) ;; 10442 *) 10443 # The compiler driver will combine and reorder linker options, 10444 # but understands '-z linker_flag'. GCC discards it without '$wl', 10445 # but is careful enough not to reorder. 10446 # Supported since Solaris 2.6 (maybe 2.5.1?) 10447 if test yes = "$GCC"; then 10448 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10449 else 10450 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10451 fi 10452 ;; 10453 esac 10454 link_all_deplibs=yes 10455 ;; 10456 10457 sunos4*) 10458 if test sequent = "$host_vendor"; then 10459 # Use $CC to link under sequent, because it throws in some extra .o 10460 # files that make .init and .fini sections work. 10461 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10462 else 10463 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10464 fi 10465 hardcode_libdir_flag_spec='-L$libdir' 10466 hardcode_direct=yes 10467 hardcode_minus_L=yes 10468 hardcode_shlibpath_var=no 10469 ;; 10470 10471 sysv4) 10472 case $host_vendor in 10473 sni) 10474 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10475 hardcode_direct=yes # is this really true??? 10476 ;; 10477 siemens) 10478 ## LD is ld it makes a PLAMLIB 10479 ## CC just makes a GrossModule. 10480 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10481 reload_cmds='$CC -r -o $output$reload_objs' 10482 hardcode_direct=no 10483 ;; 10484 motorola) 10485 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10486 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10487 ;; 10488 esac 10489 runpath_var='LD_RUN_PATH' 10490 hardcode_shlibpath_var=no 10491 ;; 10492 10493 sysv4.3*) 10494 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10495 hardcode_shlibpath_var=no 10496 export_dynamic_flag_spec='-Bexport' 10497 ;; 10498 10499 sysv4*MP*) 10500 if test -d /usr/nec; then 10501 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10502 hardcode_shlibpath_var=no 10503 runpath_var=LD_RUN_PATH 10504 hardcode_runpath_var=yes 10505 ld_shlibs=yes 10506 fi 10507 ;; 10508 10509 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10510 no_undefined_flag='$wl-z,text' 10511 archive_cmds_need_lc=no 10512 hardcode_shlibpath_var=no 10513 runpath_var='LD_RUN_PATH' 10514 10515 if test yes = "$GCC"; then 10516 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10517 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10518 else 10519 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10520 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10521 fi 10522 ;; 10523 10524 sysv5* | sco3.2v5* | sco5v6*) 10525 # Note: We CANNOT use -z defs as we might desire, because we do not 10526 # link with -lc, and that would cause any symbols used from libc to 10527 # always be unresolved, which means just about no library would 10528 # ever link correctly. If we're not using GNU ld we use -z text 10529 # though, which does catch some bad symbols but isn't as heavy-handed 10530 # as -z defs. 10531 no_undefined_flag='$wl-z,text' 10532 allow_undefined_flag='$wl-z,nodefs' 10533 archive_cmds_need_lc=no 10534 hardcode_shlibpath_var=no 10535 hardcode_libdir_flag_spec='$wl-R,$libdir' 10536 hardcode_libdir_separator=':' 10537 link_all_deplibs=yes 10538 export_dynamic_flag_spec='$wl-Bexport' 10539 runpath_var='LD_RUN_PATH' 10540 10541 if test yes = "$GCC"; then 10542 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10543 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10544 else 10545 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10546 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10547 fi 10548 ;; 10549 10550 uts4*) 10551 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10552 hardcode_libdir_flag_spec='-L$libdir' 10553 hardcode_shlibpath_var=no 10554 ;; 10555 10556 *) 10557 ld_shlibs=no 10558 ;; 10559 esac 10560 10561 if test sni = "$host_vendor"; then 10562 case $host in 10563 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10564 export_dynamic_flag_spec='$wl-Blargedynsym' 10565 ;; 10566 esac 10567 fi 10568 fi 10569 10570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10571$as_echo "$ld_shlibs" >&6; } 10572test no = "$ld_shlibs" && can_build_shared=no 10573 10574with_gnu_ld=$with_gnu_ld 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590# 10591# Do we need to explicitly link libc? 10592# 10593case "x$archive_cmds_need_lc" in 10594x|xyes) 10595 # Assume -lc should be added 10596 archive_cmds_need_lc=yes 10597 10598 if test yes,yes = "$GCC,$enable_shared"; then 10599 case $archive_cmds in 10600 *'~'*) 10601 # FIXME: we may have to deal with multi-command sequences. 10602 ;; 10603 '$CC '*) 10604 # Test whether the compiler implicitly links with -lc since on some 10605 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10606 # to ld, don't add -lc before -lgcc. 10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10608$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10609if ${lt_cv_archive_cmds_need_lc+:} false; then : 10610 $as_echo_n "(cached) " >&6 10611else 10612 $RM conftest* 10613 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10614 10615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10616 (eval $ac_compile) 2>&5 10617 ac_status=$? 10618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10619 test $ac_status = 0; } 2>conftest.err; then 10620 soname=conftest 10621 lib=conftest 10622 libobjs=conftest.$ac_objext 10623 deplibs= 10624 wl=$lt_prog_compiler_wl 10625 pic_flag=$lt_prog_compiler_pic 10626 compiler_flags=-v 10627 linker_flags=-v 10628 verstring= 10629 output_objdir=. 10630 libname=conftest 10631 lt_save_allow_undefined_flag=$allow_undefined_flag 10632 allow_undefined_flag= 10633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10634 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10635 ac_status=$? 10636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10637 test $ac_status = 0; } 10638 then 10639 lt_cv_archive_cmds_need_lc=no 10640 else 10641 lt_cv_archive_cmds_need_lc=yes 10642 fi 10643 allow_undefined_flag=$lt_save_allow_undefined_flag 10644 else 10645 cat conftest.err 1>&5 10646 fi 10647 $RM conftest* 10648 10649fi 10650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10651$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10652 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10653 ;; 10654 esac 10655 fi 10656 ;; 10657esac 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10811$as_echo_n "checking dynamic linker characteristics... " >&6; } 10812 10813if test yes = "$GCC"; then 10814 case $host_os in 10815 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10816 *) lt_awk_arg='/^libraries:/' ;; 10817 esac 10818 case $host_os in 10819 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10820 *) lt_sed_strip_eq='s|=/|/|g' ;; 10821 esac 10822 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10823 case $lt_search_path_spec in 10824 *\;*) 10825 # if the path contains ";" then we assume it to be the separator 10826 # otherwise default to the standard path separator (i.e. ":") - it is 10827 # assumed that no part of a normal pathname contains ";" but that should 10828 # okay in the real world where ";" in dirpaths is itself problematic. 10829 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10830 ;; 10831 *) 10832 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10833 ;; 10834 esac 10835 # Ok, now we have the path, separated by spaces, we can step through it 10836 # and add multilib dir if necessary... 10837 lt_tmp_lt_search_path_spec= 10838 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10839 # ...but if some path component already ends with the multilib dir we assume 10840 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10841 case "$lt_multi_os_dir; $lt_search_path_spec " in 10842 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10843 lt_multi_os_dir= 10844 ;; 10845 esac 10846 for lt_sys_path in $lt_search_path_spec; do 10847 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10848 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10849 elif test -n "$lt_multi_os_dir"; then 10850 test -d "$lt_sys_path" && \ 10851 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10852 fi 10853 done 10854 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10855BEGIN {RS = " "; FS = "/|\n";} { 10856 lt_foo = ""; 10857 lt_count = 0; 10858 for (lt_i = NF; lt_i > 0; lt_i--) { 10859 if ($lt_i != "" && $lt_i != ".") { 10860 if ($lt_i == "..") { 10861 lt_count++; 10862 } else { 10863 if (lt_count == 0) { 10864 lt_foo = "/" $lt_i lt_foo; 10865 } else { 10866 lt_count--; 10867 } 10868 } 10869 } 10870 } 10871 if (lt_foo != "") { lt_freq[lt_foo]++; } 10872 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10873}'` 10874 # AWK program above erroneously prepends '/' to C:/dos/paths 10875 # for these hosts. 10876 case $host_os in 10877 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10878 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10879 esac 10880 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10881else 10882 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10883fi 10884library_names_spec= 10885libname_spec='lib$name' 10886soname_spec= 10887shrext_cmds=.so 10888postinstall_cmds= 10889postuninstall_cmds= 10890finish_cmds= 10891finish_eval= 10892shlibpath_var= 10893shlibpath_overrides_runpath=unknown 10894version_type=none 10895dynamic_linker="$host_os ld.so" 10896sys_lib_dlsearch_path_spec="/lib /usr/lib" 10897need_lib_prefix=unknown 10898hardcode_into_libs=no 10899 10900# when you set need_version to no, make sure it does not cause -set_version 10901# flags to be left without arguments 10902need_version=unknown 10903 10904 10905 10906case $host_os in 10907aix3*) 10908 version_type=linux # correct to gnu/linux during the next big refactor 10909 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10910 shlibpath_var=LIBPATH 10911 10912 # AIX 3 has no versioning support, so we append a major version to the name. 10913 soname_spec='$libname$release$shared_ext$major' 10914 ;; 10915 10916aix[4-9]*) 10917 version_type=linux # correct to gnu/linux during the next big refactor 10918 need_lib_prefix=no 10919 need_version=no 10920 hardcode_into_libs=yes 10921 if test ia64 = "$host_cpu"; then 10922 # AIX 5 supports IA64 10923 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10924 shlibpath_var=LD_LIBRARY_PATH 10925 else 10926 # With GCC up to 2.95.x, collect2 would create an import file 10927 # for dependence libraries. The import file would start with 10928 # the line '#! .'. This would cause the generated library to 10929 # depend on '.', always an invalid library. This was fixed in 10930 # development snapshots of GCC prior to 3.0. 10931 case $host_os in 10932 aix4 | aix4.[01] | aix4.[01].*) 10933 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10934 echo ' yes ' 10935 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10936 : 10937 else 10938 can_build_shared=no 10939 fi 10940 ;; 10941 esac 10942 # Using Import Files as archive members, it is possible to support 10943 # filename-based versioning of shared library archives on AIX. While 10944 # this would work for both with and without runtime linking, it will 10945 # prevent static linking of such archives. So we do filename-based 10946 # shared library versioning with .so extension only, which is used 10947 # when both runtime linking and shared linking is enabled. 10948 # Unfortunately, runtime linking may impact performance, so we do 10949 # not want this to be the default eventually. Also, we use the 10950 # versioned .so libs for executables only if there is the -brtl 10951 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10952 # To allow for filename-based versioning support, we need to create 10953 # libNAME.so.V as an archive file, containing: 10954 # *) an Import File, referring to the versioned filename of the 10955 # archive as well as the shared archive member, telling the 10956 # bitwidth (32 or 64) of that shared object, and providing the 10957 # list of exported symbols of that shared object, eventually 10958 # decorated with the 'weak' keyword 10959 # *) the shared object with the F_LOADONLY flag set, to really avoid 10960 # it being seen by the linker. 10961 # At run time we better use the real file rather than another symlink, 10962 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10963 10964 case $with_aix_soname,$aix_use_runtimelinking in 10965 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10966 # soname into executable. Probably we can add versioning support to 10967 # collect2, so additional links can be useful in future. 10968 aix,yes) # traditional libtool 10969 dynamic_linker='AIX unversionable lib.so' 10970 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10971 # instead of lib<name>.a to let people know that these are not 10972 # typical AIX shared libraries. 10973 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10974 ;; 10975 aix,no) # traditional AIX only 10976 dynamic_linker='AIX lib.a(lib.so.V)' 10977 # We preserve .a as extension for shared libraries through AIX4.2 10978 # and later when we are not doing run time linking. 10979 library_names_spec='$libname$release.a $libname.a' 10980 soname_spec='$libname$release$shared_ext$major' 10981 ;; 10982 svr4,*) # full svr4 only 10983 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10984 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10985 # We do not specify a path in Import Files, so LIBPATH fires. 10986 shlibpath_overrides_runpath=yes 10987 ;; 10988 *,yes) # both, prefer svr4 10989 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10990 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10991 # unpreferred sharedlib libNAME.a needs extra handling 10992 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"' 10993 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"' 10994 # We do not specify a path in Import Files, so LIBPATH fires. 10995 shlibpath_overrides_runpath=yes 10996 ;; 10997 *,no) # both, prefer aix 10998 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10999 library_names_spec='$libname$release.a $libname.a' 11000 soname_spec='$libname$release$shared_ext$major' 11001 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11002 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)' 11003 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"' 11004 ;; 11005 esac 11006 shlibpath_var=LIBPATH 11007 fi 11008 ;; 11009 11010amigaos*) 11011 case $host_cpu in 11012 powerpc) 11013 # Since July 2007 AmigaOS4 officially supports .so libraries. 11014 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11015 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11016 ;; 11017 m68k) 11018 library_names_spec='$libname.ixlibrary $libname.a' 11019 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11020 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' 11021 ;; 11022 esac 11023 ;; 11024 11025beos*) 11026 library_names_spec='$libname$shared_ext' 11027 dynamic_linker="$host_os ld.so" 11028 shlibpath_var=LIBRARY_PATH 11029 ;; 11030 11031bsdi[45]*) 11032 version_type=linux # correct to gnu/linux during the next big refactor 11033 need_version=no 11034 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11035 soname_spec='$libname$release$shared_ext$major' 11036 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11037 shlibpath_var=LD_LIBRARY_PATH 11038 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11039 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11040 # the default ld.so.conf also contains /usr/contrib/lib and 11041 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11042 # libtool to hard-code these into programs 11043 ;; 11044 11045cygwin* | mingw* | pw32* | cegcc*) 11046 version_type=windows 11047 shrext_cmds=.dll 11048 need_version=no 11049 need_lib_prefix=no 11050 11051 case $GCC,$cc_basename in 11052 yes,*) 11053 # gcc 11054 library_names_spec='$libname.dll.a' 11055 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11056 postinstall_cmds='base_file=`basename \$file`~ 11057 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11058 dldir=$destdir/`dirname \$dlpath`~ 11059 test -d \$dldir || mkdir -p \$dldir~ 11060 $install_prog $dir/$dlname \$dldir/$dlname~ 11061 chmod a+x \$dldir/$dlname~ 11062 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11063 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11064 fi' 11065 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11066 dlpath=$dir/\$dldll~ 11067 $RM \$dlpath' 11068 shlibpath_overrides_runpath=yes 11069 11070 case $host_os in 11071 cygwin*) 11072 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11073 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11074 11075 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11076 ;; 11077 mingw* | cegcc*) 11078 # MinGW DLLs use traditional 'lib' prefix 11079 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11080 ;; 11081 pw32*) 11082 # pw32 DLLs use 'pw' prefix rather than 'lib' 11083 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11084 ;; 11085 esac 11086 dynamic_linker='Win32 ld.exe' 11087 ;; 11088 11089 *,cl*) 11090 # Native MSVC 11091 libname_spec='$name' 11092 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11093 library_names_spec='$libname.dll.lib' 11094 11095 case $build_os in 11096 mingw*) 11097 sys_lib_search_path_spec= 11098 lt_save_ifs=$IFS 11099 IFS=';' 11100 for lt_path in $LIB 11101 do 11102 IFS=$lt_save_ifs 11103 # Let DOS variable expansion print the short 8.3 style file name. 11104 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11105 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11106 done 11107 IFS=$lt_save_ifs 11108 # Convert to MSYS style. 11109 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11110 ;; 11111 cygwin*) 11112 # Convert to unix form, then to dos form, then back to unix form 11113 # but this time dos style (no spaces!) so that the unix form looks 11114 # like /cygdrive/c/PROGRA~1:/cygdr... 11115 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11116 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11117 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11118 ;; 11119 *) 11120 sys_lib_search_path_spec=$LIB 11121 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11122 # It is most probably a Windows format PATH. 11123 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11124 else 11125 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11126 fi 11127 # FIXME: find the short name or the path components, as spaces are 11128 # common. (e.g. "Program Files" -> "PROGRA~1") 11129 ;; 11130 esac 11131 11132 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11133 postinstall_cmds='base_file=`basename \$file`~ 11134 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11135 dldir=$destdir/`dirname \$dlpath`~ 11136 test -d \$dldir || mkdir -p \$dldir~ 11137 $install_prog $dir/$dlname \$dldir/$dlname' 11138 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11139 dlpath=$dir/\$dldll~ 11140 $RM \$dlpath' 11141 shlibpath_overrides_runpath=yes 11142 dynamic_linker='Win32 link.exe' 11143 ;; 11144 11145 *) 11146 # Assume MSVC wrapper 11147 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11148 dynamic_linker='Win32 ld.exe' 11149 ;; 11150 esac 11151 # FIXME: first we should search . and the directory the executable is in 11152 shlibpath_var=PATH 11153 ;; 11154 11155darwin* | rhapsody*) 11156 dynamic_linker="$host_os dyld" 11157 version_type=darwin 11158 need_lib_prefix=no 11159 need_version=no 11160 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11161 soname_spec='$libname$release$major$shared_ext' 11162 shlibpath_overrides_runpath=yes 11163 shlibpath_var=DYLD_LIBRARY_PATH 11164 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11165 11166 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11167 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11168 ;; 11169 11170dgux*) 11171 version_type=linux # correct to gnu/linux during the next big refactor 11172 need_lib_prefix=no 11173 need_version=no 11174 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11175 soname_spec='$libname$release$shared_ext$major' 11176 shlibpath_var=LD_LIBRARY_PATH 11177 ;; 11178 11179freebsd* | dragonfly*) 11180 # DragonFly does not have aout. When/if they implement a new 11181 # versioning mechanism, adjust this. 11182 if test -x /usr/bin/objformat; then 11183 objformat=`/usr/bin/objformat` 11184 else 11185 case $host_os in 11186 freebsd[23].*) objformat=aout ;; 11187 *) objformat=elf ;; 11188 esac 11189 fi 11190 version_type=freebsd-$objformat 11191 case $version_type in 11192 freebsd-elf*) 11193 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11194 soname_spec='$libname$release$shared_ext$major' 11195 need_version=no 11196 need_lib_prefix=no 11197 ;; 11198 freebsd-*) 11199 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11200 need_version=yes 11201 ;; 11202 esac 11203 shlibpath_var=LD_LIBRARY_PATH 11204 case $host_os in 11205 freebsd2.*) 11206 shlibpath_overrides_runpath=yes 11207 ;; 11208 freebsd3.[01]* | freebsdelf3.[01]*) 11209 shlibpath_overrides_runpath=yes 11210 hardcode_into_libs=yes 11211 ;; 11212 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11213 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11214 shlibpath_overrides_runpath=no 11215 hardcode_into_libs=yes 11216 ;; 11217 *) # from 4.6 on, and DragonFly 11218 shlibpath_overrides_runpath=yes 11219 hardcode_into_libs=yes 11220 ;; 11221 esac 11222 ;; 11223 11224haiku*) 11225 version_type=linux # correct to gnu/linux during the next big refactor 11226 need_lib_prefix=no 11227 need_version=no 11228 dynamic_linker="$host_os runtime_loader" 11229 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11230 soname_spec='$libname$release$shared_ext$major' 11231 shlibpath_var=LIBRARY_PATH 11232 shlibpath_overrides_runpath=no 11233 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11234 hardcode_into_libs=yes 11235 ;; 11236 11237hpux9* | hpux10* | hpux11*) 11238 # Give a soname corresponding to the major version so that dld.sl refuses to 11239 # link against other versions. 11240 version_type=sunos 11241 need_lib_prefix=no 11242 need_version=no 11243 case $host_cpu in 11244 ia64*) 11245 shrext_cmds='.so' 11246 hardcode_into_libs=yes 11247 dynamic_linker="$host_os dld.so" 11248 shlibpath_var=LD_LIBRARY_PATH 11249 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11250 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11251 soname_spec='$libname$release$shared_ext$major' 11252 if test 32 = "$HPUX_IA64_MODE"; then 11253 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11254 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11255 else 11256 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11257 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11258 fi 11259 ;; 11260 hppa*64*) 11261 shrext_cmds='.sl' 11262 hardcode_into_libs=yes 11263 dynamic_linker="$host_os dld.sl" 11264 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11265 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11266 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11267 soname_spec='$libname$release$shared_ext$major' 11268 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11269 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11270 ;; 11271 *) 11272 shrext_cmds='.sl' 11273 dynamic_linker="$host_os dld.sl" 11274 shlibpath_var=SHLIB_PATH 11275 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11276 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11277 soname_spec='$libname$release$shared_ext$major' 11278 ;; 11279 esac 11280 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11281 postinstall_cmds='chmod 555 $lib' 11282 # or fails outright, so override atomically: 11283 install_override_mode=555 11284 ;; 11285 11286interix[3-9]*) 11287 version_type=linux # correct to gnu/linux during the next big refactor 11288 need_lib_prefix=no 11289 need_version=no 11290 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11291 soname_spec='$libname$release$shared_ext$major' 11292 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11293 shlibpath_var=LD_LIBRARY_PATH 11294 shlibpath_overrides_runpath=no 11295 hardcode_into_libs=yes 11296 ;; 11297 11298irix5* | irix6* | nonstopux*) 11299 case $host_os in 11300 nonstopux*) version_type=nonstopux ;; 11301 *) 11302 if test yes = "$lt_cv_prog_gnu_ld"; then 11303 version_type=linux # correct to gnu/linux during the next big refactor 11304 else 11305 version_type=irix 11306 fi ;; 11307 esac 11308 need_lib_prefix=no 11309 need_version=no 11310 soname_spec='$libname$release$shared_ext$major' 11311 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11312 case $host_os in 11313 irix5* | nonstopux*) 11314 libsuff= shlibsuff= 11315 ;; 11316 *) 11317 case $LD in # libtool.m4 will add one of these switches to LD 11318 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11319 libsuff= shlibsuff= libmagic=32-bit;; 11320 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11321 libsuff=32 shlibsuff=N32 libmagic=N32;; 11322 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11323 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11324 *) libsuff= shlibsuff= libmagic=never-match;; 11325 esac 11326 ;; 11327 esac 11328 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11329 shlibpath_overrides_runpath=no 11330 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11331 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11332 hardcode_into_libs=yes 11333 ;; 11334 11335# No shared lib support for Linux oldld, aout, or coff. 11336linux*oldld* | linux*aout* | linux*coff*) 11337 dynamic_linker=no 11338 ;; 11339 11340linux*android*) 11341 version_type=none # Android doesn't support versioned libraries. 11342 need_lib_prefix=no 11343 need_version=no 11344 library_names_spec='$libname$release$shared_ext' 11345 soname_spec='$libname$release$shared_ext' 11346 finish_cmds= 11347 shlibpath_var=LD_LIBRARY_PATH 11348 shlibpath_overrides_runpath=yes 11349 11350 # This implies no fast_install, which is unacceptable. 11351 # Some rework will be needed to allow for fast_install 11352 # before this can be enabled. 11353 hardcode_into_libs=yes 11354 11355 dynamic_linker='Android linker' 11356 # Don't embed -rpath directories since the linker doesn't support them. 11357 hardcode_libdir_flag_spec='-L$libdir' 11358 ;; 11359 11360# This must be glibc/ELF. 11361linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11362 version_type=linux # correct to gnu/linux during the next big refactor 11363 need_lib_prefix=no 11364 need_version=no 11365 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11366 soname_spec='$libname$release$shared_ext$major' 11367 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11368 shlibpath_var=LD_LIBRARY_PATH 11369 shlibpath_overrides_runpath=no 11370 11371 # Some binutils ld are patched to set DT_RUNPATH 11372 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11373 $as_echo_n "(cached) " >&6 11374else 11375 lt_cv_shlibpath_overrides_runpath=no 11376 save_LDFLAGS=$LDFLAGS 11377 save_libdir=$libdir 11378 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11379 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11381/* end confdefs.h. */ 11382 11383int 11384main () 11385{ 11386 11387 ; 11388 return 0; 11389} 11390_ACEOF 11391if ac_fn_c_try_link "$LINENO"; then : 11392 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11393 lt_cv_shlibpath_overrides_runpath=yes 11394fi 11395fi 11396rm -f core conftest.err conftest.$ac_objext \ 11397 conftest$ac_exeext conftest.$ac_ext 11398 LDFLAGS=$save_LDFLAGS 11399 libdir=$save_libdir 11400 11401fi 11402 11403 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11404 11405 # This implies no fast_install, which is unacceptable. 11406 # Some rework will be needed to allow for fast_install 11407 # before this can be enabled. 11408 hardcode_into_libs=yes 11409 11410 # Add ABI-specific directories to the system library path. 11411 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11412 11413 # Ideally, we could use ldconfig to report *all* directores which are 11414 # searched for libraries, however this is still not possible. Aside from not 11415 # being certain /sbin/ldconfig is available, command 11416 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11417 # even though it is searched at run-time. Try to do the best guess by 11418 # appending ld.so.conf contents (and includes) to the search path. 11419 if test -f /etc/ld.so.conf; then 11420 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' ' '` 11421 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11422 fi 11423 11424 # We used to test for /lib/ld.so.1 and disable shared libraries on 11425 # powerpc, because MkLinux only supported shared libraries with the 11426 # GNU dynamic linker. Since this was broken with cross compilers, 11427 # most powerpc-linux boxes support dynamic linking these days and 11428 # people can always --disable-shared, the test was removed, and we 11429 # assume the GNU/Linux dynamic linker is in use. 11430 dynamic_linker='GNU/Linux ld.so' 11431 ;; 11432 11433netbsd*) 11434 version_type=sunos 11435 need_lib_prefix=no 11436 need_version=no 11437 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11438 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11439 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11440 dynamic_linker='NetBSD (a.out) ld.so' 11441 else 11442 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11443 soname_spec='$libname$release$shared_ext$major' 11444 dynamic_linker='NetBSD ld.elf_so' 11445 fi 11446 shlibpath_var=LD_LIBRARY_PATH 11447 shlibpath_overrides_runpath=yes 11448 hardcode_into_libs=yes 11449 ;; 11450 11451newsos6) 11452 version_type=linux # correct to gnu/linux during the next big refactor 11453 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11454 shlibpath_var=LD_LIBRARY_PATH 11455 shlibpath_overrides_runpath=yes 11456 ;; 11457 11458*nto* | *qnx*) 11459 version_type=qnx 11460 need_lib_prefix=no 11461 need_version=no 11462 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11463 soname_spec='$libname$release$shared_ext$major' 11464 shlibpath_var=LD_LIBRARY_PATH 11465 shlibpath_overrides_runpath=no 11466 hardcode_into_libs=yes 11467 dynamic_linker='ldqnx.so' 11468 ;; 11469 11470openbsd* | bitrig*) 11471 version_type=sunos 11472 sys_lib_dlsearch_path_spec=/usr/lib 11473 need_lib_prefix=no 11474 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11475 need_version=no 11476 else 11477 need_version=yes 11478 fi 11479 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11480 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11481 shlibpath_var=LD_LIBRARY_PATH 11482 shlibpath_overrides_runpath=yes 11483 ;; 11484 11485os2*) 11486 libname_spec='$name' 11487 version_type=windows 11488 shrext_cmds=.dll 11489 need_version=no 11490 need_lib_prefix=no 11491 # OS/2 can only load a DLL with a base name of 8 characters or less. 11492 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11493 v=$($ECHO $release$versuffix | tr -d .-); 11494 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11495 $ECHO $n$v`$shared_ext' 11496 library_names_spec='${libname}_dll.$libext' 11497 dynamic_linker='OS/2 ld.exe' 11498 shlibpath_var=BEGINLIBPATH 11499 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11500 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11501 postinstall_cmds='base_file=`basename \$file`~ 11502 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11503 dldir=$destdir/`dirname \$dlpath`~ 11504 test -d \$dldir || mkdir -p \$dldir~ 11505 $install_prog $dir/$dlname \$dldir/$dlname~ 11506 chmod a+x \$dldir/$dlname~ 11507 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11508 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11509 fi' 11510 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11511 dlpath=$dir/\$dldll~ 11512 $RM \$dlpath' 11513 ;; 11514 11515osf3* | osf4* | osf5*) 11516 version_type=osf 11517 need_lib_prefix=no 11518 need_version=no 11519 soname_spec='$libname$release$shared_ext$major' 11520 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11521 shlibpath_var=LD_LIBRARY_PATH 11522 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11523 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11524 ;; 11525 11526rdos*) 11527 dynamic_linker=no 11528 ;; 11529 11530solaris*) 11531 version_type=linux # correct to gnu/linux during the next big refactor 11532 need_lib_prefix=no 11533 need_version=no 11534 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11535 soname_spec='$libname$release$shared_ext$major' 11536 shlibpath_var=LD_LIBRARY_PATH 11537 shlibpath_overrides_runpath=yes 11538 hardcode_into_libs=yes 11539 # ldd complains unless libraries are executable 11540 postinstall_cmds='chmod +x $lib' 11541 ;; 11542 11543sunos4*) 11544 version_type=sunos 11545 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11546 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11547 shlibpath_var=LD_LIBRARY_PATH 11548 shlibpath_overrides_runpath=yes 11549 if test yes = "$with_gnu_ld"; then 11550 need_lib_prefix=no 11551 fi 11552 need_version=yes 11553 ;; 11554 11555sysv4 | sysv4.3*) 11556 version_type=linux # correct to gnu/linux during the next big refactor 11557 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11558 soname_spec='$libname$release$shared_ext$major' 11559 shlibpath_var=LD_LIBRARY_PATH 11560 case $host_vendor in 11561 sni) 11562 shlibpath_overrides_runpath=no 11563 need_lib_prefix=no 11564 runpath_var=LD_RUN_PATH 11565 ;; 11566 siemens) 11567 need_lib_prefix=no 11568 ;; 11569 motorola) 11570 need_lib_prefix=no 11571 need_version=no 11572 shlibpath_overrides_runpath=no 11573 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11574 ;; 11575 esac 11576 ;; 11577 11578sysv4*MP*) 11579 if test -d /usr/nec; then 11580 version_type=linux # correct to gnu/linux during the next big refactor 11581 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11582 soname_spec='$libname$shared_ext.$major' 11583 shlibpath_var=LD_LIBRARY_PATH 11584 fi 11585 ;; 11586 11587sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11588 version_type=sco 11589 need_lib_prefix=no 11590 need_version=no 11591 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11592 soname_spec='$libname$release$shared_ext$major' 11593 shlibpath_var=LD_LIBRARY_PATH 11594 shlibpath_overrides_runpath=yes 11595 hardcode_into_libs=yes 11596 if test yes = "$with_gnu_ld"; then 11597 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11598 else 11599 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11600 case $host_os in 11601 sco3.2v5*) 11602 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11603 ;; 11604 esac 11605 fi 11606 sys_lib_dlsearch_path_spec='/usr/lib' 11607 ;; 11608 11609tpf*) 11610 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11611 version_type=linux # correct to gnu/linux during the next big refactor 11612 need_lib_prefix=no 11613 need_version=no 11614 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11615 shlibpath_var=LD_LIBRARY_PATH 11616 shlibpath_overrides_runpath=no 11617 hardcode_into_libs=yes 11618 ;; 11619 11620uts4*) 11621 version_type=linux # correct to gnu/linux during the next big refactor 11622 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11623 soname_spec='$libname$release$shared_ext$major' 11624 shlibpath_var=LD_LIBRARY_PATH 11625 ;; 11626 11627*) 11628 dynamic_linker=no 11629 ;; 11630esac 11631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11632$as_echo "$dynamic_linker" >&6; } 11633test no = "$dynamic_linker" && can_build_shared=no 11634 11635variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11636if test yes = "$GCC"; then 11637 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11638fi 11639 11640if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11641 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11642fi 11643 11644if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11645 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11646fi 11647 11648# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11649configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11650 11651# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11652func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11653 11654# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11655configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11754$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11755hardcode_action= 11756if test -n "$hardcode_libdir_flag_spec" || 11757 test -n "$runpath_var" || 11758 test yes = "$hardcode_automatic"; then 11759 11760 # We can hardcode non-existent directories. 11761 if test no != "$hardcode_direct" && 11762 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11763 # have to relink, otherwise we might link with an installed library 11764 # when we should be linking with a yet-to-be-installed one 11765 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11766 test no != "$hardcode_minus_L"; then 11767 # Linking always hardcodes the temporary library directory. 11768 hardcode_action=relink 11769 else 11770 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11771 hardcode_action=immediate 11772 fi 11773else 11774 # We cannot hardcode anything, or else we can only hardcode existing 11775 # directories. 11776 hardcode_action=unsupported 11777fi 11778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11779$as_echo "$hardcode_action" >&6; } 11780 11781if test relink = "$hardcode_action" || 11782 test yes = "$inherit_rpath"; then 11783 # Fast installation is not supported 11784 enable_fast_install=no 11785elif test yes = "$shlibpath_overrides_runpath" || 11786 test no = "$enable_shared"; then 11787 # Fast installation is not necessary 11788 enable_fast_install=needless 11789fi 11790 11791 11792 11793 11794 11795 11796 if test yes != "$enable_dlopen"; then 11797 enable_dlopen=unknown 11798 enable_dlopen_self=unknown 11799 enable_dlopen_self_static=unknown 11800else 11801 lt_cv_dlopen=no 11802 lt_cv_dlopen_libs= 11803 11804 case $host_os in 11805 beos*) 11806 lt_cv_dlopen=load_add_on 11807 lt_cv_dlopen_libs= 11808 lt_cv_dlopen_self=yes 11809 ;; 11810 11811 mingw* | pw32* | cegcc*) 11812 lt_cv_dlopen=LoadLibrary 11813 lt_cv_dlopen_libs= 11814 ;; 11815 11816 cygwin*) 11817 lt_cv_dlopen=dlopen 11818 lt_cv_dlopen_libs= 11819 ;; 11820 11821 darwin*) 11822 # if libdl is installed we need to link against it 11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11824$as_echo_n "checking for dlopen in -ldl... " >&6; } 11825if ${ac_cv_lib_dl_dlopen+:} false; then : 11826 $as_echo_n "(cached) " >&6 11827else 11828 ac_check_lib_save_LIBS=$LIBS 11829LIBS="-ldl $LIBS" 11830cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11831/* end confdefs.h. */ 11832 11833/* Override any GCC internal prototype to avoid an error. 11834 Use char because int might match the return type of a GCC 11835 builtin and then its argument prototype would still apply. */ 11836#ifdef __cplusplus 11837extern "C" 11838#endif 11839char dlopen (); 11840int 11841main () 11842{ 11843return dlopen (); 11844 ; 11845 return 0; 11846} 11847_ACEOF 11848if ac_fn_c_try_link "$LINENO"; then : 11849 ac_cv_lib_dl_dlopen=yes 11850else 11851 ac_cv_lib_dl_dlopen=no 11852fi 11853rm -f core conftest.err conftest.$ac_objext \ 11854 conftest$ac_exeext conftest.$ac_ext 11855LIBS=$ac_check_lib_save_LIBS 11856fi 11857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11858$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11859if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11860 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11861else 11862 11863 lt_cv_dlopen=dyld 11864 lt_cv_dlopen_libs= 11865 lt_cv_dlopen_self=yes 11866 11867fi 11868 11869 ;; 11870 11871 tpf*) 11872 # Don't try to run any link tests for TPF. We know it's impossible 11873 # because TPF is a cross-compiler, and we know how we open DSOs. 11874 lt_cv_dlopen=dlopen 11875 lt_cv_dlopen_libs= 11876 lt_cv_dlopen_self=no 11877 ;; 11878 11879 *) 11880 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11881if test "x$ac_cv_func_shl_load" = xyes; then : 11882 lt_cv_dlopen=shl_load 11883else 11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11885$as_echo_n "checking for shl_load in -ldld... " >&6; } 11886if ${ac_cv_lib_dld_shl_load+:} false; then : 11887 $as_echo_n "(cached) " >&6 11888else 11889 ac_check_lib_save_LIBS=$LIBS 11890LIBS="-ldld $LIBS" 11891cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11892/* end confdefs.h. */ 11893 11894/* Override any GCC internal prototype to avoid an error. 11895 Use char because int might match the return type of a GCC 11896 builtin and then its argument prototype would still apply. */ 11897#ifdef __cplusplus 11898extern "C" 11899#endif 11900char shl_load (); 11901int 11902main () 11903{ 11904return shl_load (); 11905 ; 11906 return 0; 11907} 11908_ACEOF 11909if ac_fn_c_try_link "$LINENO"; then : 11910 ac_cv_lib_dld_shl_load=yes 11911else 11912 ac_cv_lib_dld_shl_load=no 11913fi 11914rm -f core conftest.err conftest.$ac_objext \ 11915 conftest$ac_exeext conftest.$ac_ext 11916LIBS=$ac_check_lib_save_LIBS 11917fi 11918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11919$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11920if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11921 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11922else 11923 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11924if test "x$ac_cv_func_dlopen" = xyes; then : 11925 lt_cv_dlopen=dlopen 11926else 11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11928$as_echo_n "checking for dlopen in -ldl... " >&6; } 11929if ${ac_cv_lib_dl_dlopen+:} false; then : 11930 $as_echo_n "(cached) " >&6 11931else 11932 ac_check_lib_save_LIBS=$LIBS 11933LIBS="-ldl $LIBS" 11934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11935/* end confdefs.h. */ 11936 11937/* Override any GCC internal prototype to avoid an error. 11938 Use char because int might match the return type of a GCC 11939 builtin and then its argument prototype would still apply. */ 11940#ifdef __cplusplus 11941extern "C" 11942#endif 11943char dlopen (); 11944int 11945main () 11946{ 11947return dlopen (); 11948 ; 11949 return 0; 11950} 11951_ACEOF 11952if ac_fn_c_try_link "$LINENO"; then : 11953 ac_cv_lib_dl_dlopen=yes 11954else 11955 ac_cv_lib_dl_dlopen=no 11956fi 11957rm -f core conftest.err conftest.$ac_objext \ 11958 conftest$ac_exeext conftest.$ac_ext 11959LIBS=$ac_check_lib_save_LIBS 11960fi 11961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11962$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11963if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11964 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11965else 11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11967$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11968if ${ac_cv_lib_svld_dlopen+:} false; then : 11969 $as_echo_n "(cached) " >&6 11970else 11971 ac_check_lib_save_LIBS=$LIBS 11972LIBS="-lsvld $LIBS" 11973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11974/* end confdefs.h. */ 11975 11976/* Override any GCC internal prototype to avoid an error. 11977 Use char because int might match the return type of a GCC 11978 builtin and then its argument prototype would still apply. */ 11979#ifdef __cplusplus 11980extern "C" 11981#endif 11982char dlopen (); 11983int 11984main () 11985{ 11986return dlopen (); 11987 ; 11988 return 0; 11989} 11990_ACEOF 11991if ac_fn_c_try_link "$LINENO"; then : 11992 ac_cv_lib_svld_dlopen=yes 11993else 11994 ac_cv_lib_svld_dlopen=no 11995fi 11996rm -f core conftest.err conftest.$ac_objext \ 11997 conftest$ac_exeext conftest.$ac_ext 11998LIBS=$ac_check_lib_save_LIBS 11999fi 12000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12001$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12002if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12003 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12004else 12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12006$as_echo_n "checking for dld_link in -ldld... " >&6; } 12007if ${ac_cv_lib_dld_dld_link+:} false; then : 12008 $as_echo_n "(cached) " >&6 12009else 12010 ac_check_lib_save_LIBS=$LIBS 12011LIBS="-ldld $LIBS" 12012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12013/* end confdefs.h. */ 12014 12015/* Override any GCC internal prototype to avoid an error. 12016 Use char because int might match the return type of a GCC 12017 builtin and then its argument prototype would still apply. */ 12018#ifdef __cplusplus 12019extern "C" 12020#endif 12021char dld_link (); 12022int 12023main () 12024{ 12025return dld_link (); 12026 ; 12027 return 0; 12028} 12029_ACEOF 12030if ac_fn_c_try_link "$LINENO"; then : 12031 ac_cv_lib_dld_dld_link=yes 12032else 12033 ac_cv_lib_dld_dld_link=no 12034fi 12035rm -f core conftest.err conftest.$ac_objext \ 12036 conftest$ac_exeext conftest.$ac_ext 12037LIBS=$ac_check_lib_save_LIBS 12038fi 12039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12040$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12041if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12042 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12043fi 12044 12045 12046fi 12047 12048 12049fi 12050 12051 12052fi 12053 12054 12055fi 12056 12057 12058fi 12059 12060 ;; 12061 esac 12062 12063 if test no = "$lt_cv_dlopen"; then 12064 enable_dlopen=no 12065 else 12066 enable_dlopen=yes 12067 fi 12068 12069 case $lt_cv_dlopen in 12070 dlopen) 12071 save_CPPFLAGS=$CPPFLAGS 12072 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12073 12074 save_LDFLAGS=$LDFLAGS 12075 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12076 12077 save_LIBS=$LIBS 12078 LIBS="$lt_cv_dlopen_libs $LIBS" 12079 12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12081$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12082if ${lt_cv_dlopen_self+:} false; then : 12083 $as_echo_n "(cached) " >&6 12084else 12085 if test yes = "$cross_compiling"; then : 12086 lt_cv_dlopen_self=cross 12087else 12088 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12089 lt_status=$lt_dlunknown 12090 cat > conftest.$ac_ext <<_LT_EOF 12091#line $LINENO "configure" 12092#include "confdefs.h" 12093 12094#if HAVE_DLFCN_H 12095#include <dlfcn.h> 12096#endif 12097 12098#include <stdio.h> 12099 12100#ifdef RTLD_GLOBAL 12101# define LT_DLGLOBAL RTLD_GLOBAL 12102#else 12103# ifdef DL_GLOBAL 12104# define LT_DLGLOBAL DL_GLOBAL 12105# else 12106# define LT_DLGLOBAL 0 12107# endif 12108#endif 12109 12110/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12111 find out it does not work in some platform. */ 12112#ifndef LT_DLLAZY_OR_NOW 12113# ifdef RTLD_LAZY 12114# define LT_DLLAZY_OR_NOW RTLD_LAZY 12115# else 12116# ifdef DL_LAZY 12117# define LT_DLLAZY_OR_NOW DL_LAZY 12118# else 12119# ifdef RTLD_NOW 12120# define LT_DLLAZY_OR_NOW RTLD_NOW 12121# else 12122# ifdef DL_NOW 12123# define LT_DLLAZY_OR_NOW DL_NOW 12124# else 12125# define LT_DLLAZY_OR_NOW 0 12126# endif 12127# endif 12128# endif 12129# endif 12130#endif 12131 12132/* When -fvisibility=hidden is used, assume the code has been annotated 12133 correspondingly for the symbols needed. */ 12134#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12135int fnord () __attribute__((visibility("default"))); 12136#endif 12137 12138int fnord () { return 42; } 12139int main () 12140{ 12141 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12142 int status = $lt_dlunknown; 12143 12144 if (self) 12145 { 12146 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12147 else 12148 { 12149 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12150 else puts (dlerror ()); 12151 } 12152 /* dlclose (self); */ 12153 } 12154 else 12155 puts (dlerror ()); 12156 12157 return status; 12158} 12159_LT_EOF 12160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12161 (eval $ac_link) 2>&5 12162 ac_status=$? 12163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12164 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12165 (./conftest; exit; ) >&5 2>/dev/null 12166 lt_status=$? 12167 case x$lt_status in 12168 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12169 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12170 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12171 esac 12172 else : 12173 # compilation failed 12174 lt_cv_dlopen_self=no 12175 fi 12176fi 12177rm -fr conftest* 12178 12179 12180fi 12181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12182$as_echo "$lt_cv_dlopen_self" >&6; } 12183 12184 if test yes = "$lt_cv_dlopen_self"; then 12185 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12187$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12188if ${lt_cv_dlopen_self_static+:} false; then : 12189 $as_echo_n "(cached) " >&6 12190else 12191 if test yes = "$cross_compiling"; then : 12192 lt_cv_dlopen_self_static=cross 12193else 12194 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12195 lt_status=$lt_dlunknown 12196 cat > conftest.$ac_ext <<_LT_EOF 12197#line $LINENO "configure" 12198#include "confdefs.h" 12199 12200#if HAVE_DLFCN_H 12201#include <dlfcn.h> 12202#endif 12203 12204#include <stdio.h> 12205 12206#ifdef RTLD_GLOBAL 12207# define LT_DLGLOBAL RTLD_GLOBAL 12208#else 12209# ifdef DL_GLOBAL 12210# define LT_DLGLOBAL DL_GLOBAL 12211# else 12212# define LT_DLGLOBAL 0 12213# endif 12214#endif 12215 12216/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12217 find out it does not work in some platform. */ 12218#ifndef LT_DLLAZY_OR_NOW 12219# ifdef RTLD_LAZY 12220# define LT_DLLAZY_OR_NOW RTLD_LAZY 12221# else 12222# ifdef DL_LAZY 12223# define LT_DLLAZY_OR_NOW DL_LAZY 12224# else 12225# ifdef RTLD_NOW 12226# define LT_DLLAZY_OR_NOW RTLD_NOW 12227# else 12228# ifdef DL_NOW 12229# define LT_DLLAZY_OR_NOW DL_NOW 12230# else 12231# define LT_DLLAZY_OR_NOW 0 12232# endif 12233# endif 12234# endif 12235# endif 12236#endif 12237 12238/* When -fvisibility=hidden is used, assume the code has been annotated 12239 correspondingly for the symbols needed. */ 12240#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12241int fnord () __attribute__((visibility("default"))); 12242#endif 12243 12244int fnord () { return 42; } 12245int main () 12246{ 12247 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12248 int status = $lt_dlunknown; 12249 12250 if (self) 12251 { 12252 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12253 else 12254 { 12255 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12256 else puts (dlerror ()); 12257 } 12258 /* dlclose (self); */ 12259 } 12260 else 12261 puts (dlerror ()); 12262 12263 return status; 12264} 12265_LT_EOF 12266 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12267 (eval $ac_link) 2>&5 12268 ac_status=$? 12269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12270 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12271 (./conftest; exit; ) >&5 2>/dev/null 12272 lt_status=$? 12273 case x$lt_status in 12274 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12275 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12276 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12277 esac 12278 else : 12279 # compilation failed 12280 lt_cv_dlopen_self_static=no 12281 fi 12282fi 12283rm -fr conftest* 12284 12285 12286fi 12287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12288$as_echo "$lt_cv_dlopen_self_static" >&6; } 12289 fi 12290 12291 CPPFLAGS=$save_CPPFLAGS 12292 LDFLAGS=$save_LDFLAGS 12293 LIBS=$save_LIBS 12294 ;; 12295 esac 12296 12297 case $lt_cv_dlopen_self in 12298 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12299 *) enable_dlopen_self=unknown ;; 12300 esac 12301 12302 case $lt_cv_dlopen_self_static in 12303 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12304 *) enable_dlopen_self_static=unknown ;; 12305 esac 12306fi 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324striplib= 12325old_striplib= 12326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12327$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12328if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12329 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12330 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12332$as_echo "yes" >&6; } 12333else 12334# FIXME - insert some real tests, host_os isn't really good enough 12335 case $host_os in 12336 darwin*) 12337 if test -n "$STRIP"; then 12338 striplib="$STRIP -x" 12339 old_striplib="$STRIP -S" 12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12341$as_echo "yes" >&6; } 12342 else 12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12344$as_echo "no" >&6; } 12345 fi 12346 ;; 12347 *) 12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12349$as_echo "no" >&6; } 12350 ;; 12351 esac 12352fi 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 # Report what library types will actually be built 12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12367$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12369$as_echo "$can_build_shared" >&6; } 12370 12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12372$as_echo_n "checking whether to build shared libraries... " >&6; } 12373 test no = "$can_build_shared" && enable_shared=no 12374 12375 # On AIX, shared libraries and static libraries use the same namespace, and 12376 # are all built from PIC. 12377 case $host_os in 12378 aix3*) 12379 test yes = "$enable_shared" && enable_static=no 12380 if test -n "$RANLIB"; then 12381 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12382 postinstall_cmds='$RANLIB $lib' 12383 fi 12384 ;; 12385 12386 aix[4-9]*) 12387 if test ia64 != "$host_cpu"; then 12388 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12389 yes,aix,yes) ;; # shared object as lib.so file only 12390 yes,svr4,*) ;; # shared object as lib.so archive member only 12391 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12392 esac 12393 fi 12394 ;; 12395 esac 12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12397$as_echo "$enable_shared" >&6; } 12398 12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12400$as_echo_n "checking whether to build static libraries... " >&6; } 12401 # Make sure either enable_shared or enable_static is yes. 12402 test yes = "$enable_shared" || enable_static=yes 12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12404$as_echo "$enable_static" >&6; } 12405 12406 12407 12408 12409fi 12410ac_ext=c 12411ac_cpp='$CPP $CPPFLAGS' 12412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12414ac_compiler_gnu=$ac_cv_c_compiler_gnu 12415 12416CC=$lt_save_CC 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 ac_config_commands="$ac_config_commands libtool" 12433 12434 12435 12436 12437# Only expand once: 12438 12439 12440 12441 12442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 12443$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 12444 # Check whether --enable-maintainer-mode was given. 12445if test "${enable_maintainer_mode+set}" = set; then : 12446 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 12447else 12448 USE_MAINTAINER_MODE=yes 12449fi 12450 12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 12452$as_echo "$USE_MAINTAINER_MODE" >&6; } 12453 if test $USE_MAINTAINER_MODE = yes; then 12454 MAINTAINER_MODE_TRUE= 12455 MAINTAINER_MODE_FALSE='#' 12456else 12457 MAINTAINER_MODE_TRUE='#' 12458 MAINTAINER_MODE_FALSE= 12459fi 12460 12461 MAINT=$MAINTAINER_MODE_TRUE 12462 12463 12464 12465 12466 12467 12468 12469 # Check whether --enable-schemas-compile was given. 12470if test "${enable_schemas_compile+set}" = set; then : 12471 enableval=$enable_schemas_compile; case ${enableval} in 12472 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; 12473 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; 12474 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;; 12475 esac 12476fi 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12487 if test -n "$ac_tool_prefix"; then 12488 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12489set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12491$as_echo_n "checking for $ac_word... " >&6; } 12492if ${ac_cv_path_PKG_CONFIG+:} false; then : 12493 $as_echo_n "(cached) " >&6 12494else 12495 case $PKG_CONFIG in 12496 [\\/]* | ?:[\\/]*) 12497 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12498 ;; 12499 *) 12500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12501for as_dir in $PATH 12502do 12503 IFS=$as_save_IFS 12504 test -z "$as_dir" && as_dir=. 12505 for ac_exec_ext in '' $ac_executable_extensions; do 12506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12507 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12509 break 2 12510 fi 12511done 12512 done 12513IFS=$as_save_IFS 12514 12515 ;; 12516esac 12517fi 12518PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12519if test -n "$PKG_CONFIG"; then 12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12521$as_echo "$PKG_CONFIG" >&6; } 12522else 12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12524$as_echo "no" >&6; } 12525fi 12526 12527 12528fi 12529if test -z "$ac_cv_path_PKG_CONFIG"; then 12530 ac_pt_PKG_CONFIG=$PKG_CONFIG 12531 # Extract the first word of "pkg-config", so it can be a program name with args. 12532set dummy pkg-config; ac_word=$2 12533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12534$as_echo_n "checking for $ac_word... " >&6; } 12535if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 12536 $as_echo_n "(cached) " >&6 12537else 12538 case $ac_pt_PKG_CONFIG in 12539 [\\/]* | ?:[\\/]*) 12540 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12541 ;; 12542 *) 12543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12544for as_dir in $PATH 12545do 12546 IFS=$as_save_IFS 12547 test -z "$as_dir" && as_dir=. 12548 for ac_exec_ext in '' $ac_executable_extensions; do 12549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12550 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12552 break 2 12553 fi 12554done 12555 done 12556IFS=$as_save_IFS 12557 12558 ;; 12559esac 12560fi 12561ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12562if test -n "$ac_pt_PKG_CONFIG"; then 12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12564$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12565else 12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12567$as_echo "no" >&6; } 12568fi 12569 12570 if test "x$ac_pt_PKG_CONFIG" = x; then 12571 PKG_CONFIG="" 12572 else 12573 case $cross_compiling:$ac_tool_warned in 12574yes:) 12575{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12576$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12577ac_tool_warned=yes ;; 12578esac 12579 PKG_CONFIG=$ac_pt_PKG_CONFIG 12580 fi 12581else 12582 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12583fi 12584 12585fi 12586if test -n "$PKG_CONFIG"; then 12587 _pkg_min_version=0.16 12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12589$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12590 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12592$as_echo "yes" >&6; } 12593 else 12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12595$as_echo "no" >&6; } 12596 PKG_CONFIG="" 12597 fi 12598fi 12599 gsettingsschemadir=${datadir}/glib-2.0/schemas 12600 12601 if test x$cross_compiling != xyes; then : 12602 12603if test -n "$GLIB_COMPILE_SCHEMAS"; then 12604 pkg_cv_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" 12605 elif test -n "$PKG_CONFIG"; then 12606 if test -n "$PKG_CONFIG" && \ 12607 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5 12608 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5 12609 ac_status=$? 12610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12611 test $ac_status = 0; }; then 12612 pkg_cv_GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable="glib_compile_schemas" "gio-2.0" 2>/dev/null` 12613 test "x$?" != "x0" && pkg_failed=yes 12614else 12615 pkg_failed=yes 12616fi 12617 else 12618 pkg_failed=untried 12619fi 12620GLIB_COMPILE_SCHEMAS=$pkg_cv_GLIB_COMPILE_SCHEMAS 12621 12622if test "x$GLIB_COMPILE_SCHEMAS" = x""; then : 12623 12624fi 12625else 12626 # Extract the first word of "glib-compile-schemas", so it can be a program name with args. 12627set dummy glib-compile-schemas; ac_word=$2 12628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12629$as_echo_n "checking for $ac_word... " >&6; } 12630if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then : 12631 $as_echo_n "(cached) " >&6 12632else 12633 case $GLIB_COMPILE_SCHEMAS in 12634 [\\/]* | ?:[\\/]*) 12635 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path. 12636 ;; 12637 *) 12638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12639for as_dir in $PATH 12640do 12641 IFS=$as_save_IFS 12642 test -z "$as_dir" && as_dir=. 12643 for ac_exec_ext in '' $ac_executable_extensions; do 12644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12645 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext" 12646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12647 break 2 12648 fi 12649done 12650 done 12651IFS=$as_save_IFS 12652 12653 ;; 12654esac 12655fi 12656GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS 12657if test -n "$GLIB_COMPILE_SCHEMAS"; then 12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5 12659$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; } 12660else 12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12662$as_echo "no" >&6; } 12663fi 12664 12665 12666fi 12667 12668 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then 12669 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5 12670 else 12671 : 12672 fi 12673 12674 GSETTINGS_RULES=' 12675.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas 12676 12677mostlyclean-am: clean-gsettings-schemas 12678 12679gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) 12680 12681%.gschema.valid: %.gschema.xml $(gsettings__enum_file) 12682 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@ 12683 12684all-am: $(gsettings_SCHEMAS:.xml=.valid) 12685uninstall-am: uninstall-gsettings-schemas 12686install-data-am: install-gsettings-schemas 12687 12688.SECONDARY: $(gsettings_SCHEMAS) 12689 12690install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) 12691 @$(NORMAL_INSTALL) 12692 if test -n "$^"; then \ 12693 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ 12694 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ 12695 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ 12696 fi 12697 12698uninstall-gsettings-schemas: 12699 @$(NORMAL_UNINSTALL) 12700 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ 12701 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ 12702 test -n "$$files" || exit 0; \ 12703 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ 12704 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files 12705 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) 12706 12707clean-gsettings-schemas: 12708 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) 12709 12710ifdef gsettings_ENUM_NAMESPACE 12711$(gsettings__enum_file): $(gsettings_ENUM_FILES) 12712 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@ 12713endif 12714' 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728YELP_LC_MEDIA_LINKS=true 12729YELP_LC_DIST=true 12730 12731for yelpopt in ; do 12732 case $yelpopt in 12733 lc-media-links) YELP_LC_MEDIA_LINKS=true ;; 12734 no-lc-media-links) YELP_LC_MEDIA_LINKS= ;; 12735 lc-dist) YELP_LC_DIST=true ;; 12736 no-lc-dist) YELP_LC_DIST= ;; 12737 *) as_fn_error $? "Unrecognized YELP_HELP_INIT option $yelpopt\"" "$LINENO" 5 ;; 12738 esac 12739done; 12740 12741 12742 12743 12744# Check whether --with-help-dir was given. 12745if test "${with_help_dir+set}" = set; then : 12746 withval=$with_help_dir; 12747else 12748 with_help_dir='${datadir}/help' 12749fi 12750 12751HELP_DIR="$with_help_dir" 12752 12753 12754 12755# Extract the first word of "itstool", so it can be a program name with args. 12756set dummy itstool; ac_word=$2 12757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12758$as_echo_n "checking for $ac_word... " >&6; } 12759if ${ac_cv_prog_ITSTOOL+:} false; then : 12760 $as_echo_n "(cached) " >&6 12761else 12762 if test -n "$ITSTOOL"; then 12763 ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test. 12764else 12765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12766for as_dir in $PATH 12767do 12768 IFS=$as_save_IFS 12769 test -z "$as_dir" && as_dir=. 12770 for ac_exec_ext in '' $ac_executable_extensions; do 12771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12772 ac_cv_prog_ITSTOOL="itstool" 12773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12774 break 2 12775 fi 12776done 12777 done 12778IFS=$as_save_IFS 12779 12780fi 12781fi 12782ITSTOOL=$ac_cv_prog_ITSTOOL 12783if test -n "$ITSTOOL"; then 12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5 12785$as_echo "$ITSTOOL" >&6; } 12786else 12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12788$as_echo "no" >&6; } 12789fi 12790 12791 12792if test x"$ITSTOOL" = x; then 12793 as_fn_error $? "itstool not found" "$LINENO" 5 12794fi 12795 12796 12797# Extract the first word of "xmllint", so it can be a program name with args. 12798set dummy xmllint; ac_word=$2 12799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12800$as_echo_n "checking for $ac_word... " >&6; } 12801if ${ac_cv_prog_XMLLINT+:} false; then : 12802 $as_echo_n "(cached) " >&6 12803else 12804 if test -n "$XMLLINT"; then 12805 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test. 12806else 12807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12808for as_dir in $PATH 12809do 12810 IFS=$as_save_IFS 12811 test -z "$as_dir" && as_dir=. 12812 for ac_exec_ext in '' $ac_executable_extensions; do 12813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12814 ac_cv_prog_XMLLINT="xmllint" 12815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12816 break 2 12817 fi 12818done 12819 done 12820IFS=$as_save_IFS 12821 12822fi 12823fi 12824XMLLINT=$ac_cv_prog_XMLLINT 12825if test -n "$XMLLINT"; then 12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 12827$as_echo "$XMLLINT" >&6; } 12828else 12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12830$as_echo "no" >&6; } 12831fi 12832 12833 12834if test x"$XMLLINT" = x; then 12835 as_fn_error $? "xmllint not found" "$LINENO" 5 12836fi 12837 12838YELP_HELP_RULES=' 12839HELP_ID ?= 12840HELP_POT ?= 12841HELP_FILES ?= 12842HELP_EXTRA ?= 12843HELP_MEDIA ?= 12844HELP_LINGUAS ?= 12845 12846_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS)) 12847_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot)) 12848_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po)) 12849_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES)) 12850_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f)) 12851_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f)) 12852_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f)) 12853_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f))) 12854_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp) 12855 12856_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1) 12857_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V)) 12858_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V)) 12859_HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V)) 12860_HELP_LC_VERBOSE_0 = @echo " GEN "$(dir $@); 12861 12862all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES) 12863 12864.PHONY: pot 12865pot: $(_HELP_POTFILE) 12866$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) 12867 $(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \ 12868 $(ITSTOOL) -o "$@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)") 12869 12870.PHONY: repo 12871repo: $(_HELP_POTFILE) 12872 $(AM_V_at)for po in $(_HELP_POFILES); do \ 12873 if test "x$(_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \ 12874 msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \ 12875 done 12876 12877$(_HELP_POFILES): 12878 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi 12879 $(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi 12880 $(AM_V_GEN)if ! test -f "$@"; then \ 12881 (cd "$(dir $@)" && \ 12882 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \ 12883 mv "$(notdir $@).tmp" "$(notdir $@)"); \ 12884 else \ 12885 (cd "$(dir $@)" && \ 12886 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \ 12887 msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \ 12888 rm "$(notdir $@).tmp"); \ 12889 fi 12890 12891$(_HELP_MOFILES): %.mo: %.po 12892 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi 12893 $(AM_V_GEN)msgfmt -o "$@" "$<" 12894 12895$(_HELP_LC_FILES): $(_HELP_LINGUAS) 12896$(_HELP_LINGUAS): $(_HELP_LC_STAMPS) 12897$(_HELP_LC_STAMPS): %.stamp: %.mo 12898$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA) 12899 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi 12900 $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \ 12901 mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \ 12902 if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \ 12903 (cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \ 12904 touch "$@" 12905 12906.PHONY: clean-help 12907mostlyclean-am: $(if $(HELP_ID),clean-help) 12908clean-help: 12909 rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES) 12910 12911EXTRA_DIST ?= 12912EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) 12913EXTRA_DIST += $(if $(YELP_LC_DIST),$(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)) 12914EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po) 12915EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f)))) 12916 12917distdir: distdir-help-files 12918distdir-help-files: $(_HELP_LC_FILES) 12919 @for lc in C $(if $(YELP_LC_DIST),$(HELP_LINGUAS)) ; do \ 12920 $(MKDIR_P) "$(distdir)/$$lc"; \ 12921 for file in $(HELP_FILES); do \ 12922 if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \ 12923 cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \ 12924 done; \ 12925 done; \ 12926 12927.PHONY: check-help 12928check: check-help 12929check-help: 12930 for lc in C $(_HELP_LINGUAS); do \ 12931 if test -d "$$lc"; \ 12932 then d=; \ 12933 xmlpath="$$lc"; \ 12934 else \ 12935 d="$(srcdir)/"; \ 12936 xmlpath="$$lc:$(srcdir)/$$lc"; \ 12937 fi; \ 12938 for page in $(HELP_FILES); do \ 12939 echo "$(XMLLINT) --nonet --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \ 12940 $(XMLLINT) --nonet --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \ 12941 done; \ 12942 done 12943 12944 12945.PHONY: install-help 12946install-data-am: $(if $(HELP_ID),install-help) 12947install-help: $(_HELP_LC_FILES) 12948 @for lc in C $(_HELP_LINGUAS); do \ 12949 $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \ 12950 done 12951 @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \ 12952 if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \ 12953 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 12954 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \ 12955 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \ 12956 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \ 12957 done; done 12958 @for f in $(_HELP_C_EXTRA); do \ 12959 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \ 12960 if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \ 12961 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 12962 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \ 12963 echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \ 12964 $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \ 12965 done 12966 @for f in $(HELP_MEDIA); do \ 12967 for lc in C $(_HELP_LINGUAS); do \ 12968 if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \ 12969 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 12970 mdir=`dirname "$$f"`; \ 12971 if test "x$mdir" = "x."; then mdir=""; fi; \ 12972 if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \ 12973 if test -f "$$d$$lc/$$f"; then \ 12974 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \ 12975 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \ 12976 elif test "x$$lc" != "xC"; then \ 12977 if test "x$(YELP_LC_MEDIA_LINKS)" != "x"; then \ 12978 echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \ 12979 $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \ 12980 fi; \ 12981 fi; \ 12982 done; \ 12983 done 12984 12985.PHONY: uninstall-help 12986uninstall-am: $(if $(HELP_ID),uninstall-help) 12987uninstall-help: 12988 for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \ 12989 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 12990 echo "rm -f $$helpdir`basename $$f`"; \ 12991 rm -f "$$helpdir`basename $$f`"; \ 12992 done; done 12993 @for f in $(_HELP_C_EXTRA); do \ 12994 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \ 12995 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 12996 echo "rm -f $$helpdir`basename $$f`"; \ 12997 rm -f "$$helpdir`basename $$f`"; \ 12998 done 12999 @for f in $(HELP_MEDIA); do \ 13000 for lc in C $(_HELP_LINGUAS); do \ 13001 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 13002 echo "rm -f $$helpdir$$f"; \ 13003 rm -f "$$helpdir$$f"; \ 13004 done; \ 13005 done; 13006' 13007 13008 13009 13010 13011 13012 13013 gtk_doc_requires="gtk-doc >= 1.12" 13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5 13015$as_echo_n "checking for gtk-doc... " >&6; } 13016 if test -n "$PKG_CONFIG" && \ 13017 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5 13018 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5 13019 ac_status=$? 13020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13021 test $ac_status = 0; }; then 13022 have_gtk_doc=yes 13023else 13024 have_gtk_doc=no 13025fi 13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5 13027$as_echo "$have_gtk_doc" >&6; } 13028 13029 if test "$have_gtk_doc" = "no"; then 13030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 13031 You will not be able to create source packages with 'make dist' 13032 because $gtk_doc_requires is not found." >&5 13033$as_echo "$as_me: WARNING: 13034 You will not be able to create source packages with 'make dist' 13035 because $gtk_doc_requires is not found." >&2;} 13036 fi 13037 13038 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 13039set dummy gtkdoc-check; ac_word=$2 13040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13041$as_echo_n "checking for $ac_word... " >&6; } 13042if ${ac_cv_prog_GTKDOC_CHECK+:} false; then : 13043 $as_echo_n "(cached) " >&6 13044else 13045 if test -n "$GTKDOC_CHECK"; then 13046 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test. 13047else 13048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13049for as_dir in $PATH 13050do 13051 IFS=$as_save_IFS 13052 test -z "$as_dir" && as_dir=. 13053 for ac_exec_ext in '' $ac_executable_extensions; do 13054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13055 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test" 13056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13057 break 2 13058 fi 13059done 13060 done 13061IFS=$as_save_IFS 13062 13063fi 13064fi 13065GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK 13066if test -n "$GTKDOC_CHECK"; then 13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 13068$as_echo "$GTKDOC_CHECK" >&6; } 13069else 13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13071$as_echo "no" >&6; } 13072fi 13073 13074 13075 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 13076set dummy gtkdoc-check; ac_word=$2 13077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13078$as_echo_n "checking for $ac_word... " >&6; } 13079if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then : 13080 $as_echo_n "(cached) " >&6 13081else 13082 case $GTKDOC_CHECK_PATH in 13083 [\\/]* | ?:[\\/]*) 13084 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path. 13085 ;; 13086 *) 13087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13088for as_dir in $PATH 13089do 13090 IFS=$as_save_IFS 13091 test -z "$as_dir" && as_dir=. 13092 for ac_exec_ext in '' $ac_executable_extensions; do 13093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13094 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext" 13095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13096 break 2 13097 fi 13098done 13099 done 13100IFS=$as_save_IFS 13101 13102 ;; 13103esac 13104fi 13105GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH 13106if test -n "$GTKDOC_CHECK_PATH"; then 13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5 13108$as_echo "$GTKDOC_CHECK_PATH" >&6; } 13109else 13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13111$as_echo "no" >&6; } 13112fi 13113 13114 13115 for ac_prog in gtkdoc-rebase 13116do 13117 # Extract the first word of "$ac_prog", so it can be a program name with args. 13118set dummy $ac_prog; ac_word=$2 13119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13120$as_echo_n "checking for $ac_word... " >&6; } 13121if ${ac_cv_path_GTKDOC_REBASE+:} false; then : 13122 $as_echo_n "(cached) " >&6 13123else 13124 case $GTKDOC_REBASE in 13125 [\\/]* | ?:[\\/]*) 13126 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. 13127 ;; 13128 *) 13129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13130for as_dir in $PATH 13131do 13132 IFS=$as_save_IFS 13133 test -z "$as_dir" && as_dir=. 13134 for ac_exec_ext in '' $ac_executable_extensions; do 13135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13136 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" 13137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13138 break 2 13139 fi 13140done 13141 done 13142IFS=$as_save_IFS 13143 13144 ;; 13145esac 13146fi 13147GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE 13148if test -n "$GTKDOC_REBASE"; then 13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 13150$as_echo "$GTKDOC_REBASE" >&6; } 13151else 13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13153$as_echo "no" >&6; } 13154fi 13155 13156 13157 test -n "$GTKDOC_REBASE" && break 13158done 13159test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" 13160 13161 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. 13162set dummy gtkdoc-mkpdf; ac_word=$2 13163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13164$as_echo_n "checking for $ac_word... " >&6; } 13165if ${ac_cv_path_GTKDOC_MKPDF+:} false; then : 13166 $as_echo_n "(cached) " >&6 13167else 13168 case $GTKDOC_MKPDF in 13169 [\\/]* | ?:[\\/]*) 13170 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. 13171 ;; 13172 *) 13173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13174for as_dir in $PATH 13175do 13176 IFS=$as_save_IFS 13177 test -z "$as_dir" && as_dir=. 13178 for ac_exec_ext in '' $ac_executable_extensions; do 13179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13180 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" 13181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13182 break 2 13183 fi 13184done 13185 done 13186IFS=$as_save_IFS 13187 13188 ;; 13189esac 13190fi 13191GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF 13192if test -n "$GTKDOC_MKPDF"; then 13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 13194$as_echo "$GTKDOC_MKPDF" >&6; } 13195else 13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13197$as_echo "no" >&6; } 13198fi 13199 13200 13201 13202 13203# Check whether --with-html-dir was given. 13204if test "${with_html_dir+set}" = set; then : 13205 withval=$with_html_dir; 13206else 13207 with_html_dir='${datadir}/gtk-doc/html' 13208fi 13209 13210 HTML_DIR="$with_html_dir" 13211 13212 13213 # Check whether --enable-gtk-doc was given. 13214if test "${enable_gtk_doc+set}" = set; then : 13215 enableval=$enable_gtk_doc; 13216else 13217 enable_gtk_doc=no 13218fi 13219 13220 13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 13222$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 13224$as_echo "$enable_gtk_doc" >&6; } 13225 13226 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then 13227 as_fn_error $? " 13228 You must have $gtk_doc_requires installed to build documentation for 13229 $PACKAGE_NAME. Please install gtk-doc or disable building the 13230 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5 13231 fi 13232 13233 if test "x$PACKAGE_NAME" != "xglib"; then 13234 13235pkg_failed=no 13236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5 13237$as_echo_n "checking for GTKDOC_DEPS... " >&6; } 13238 13239if test -n "$GTKDOC_DEPS_CFLAGS"; then 13240 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" 13241 elif test -n "$PKG_CONFIG"; then 13242 if test -n "$PKG_CONFIG" && \ 13243 { { $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 13244 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 13245 ac_status=$? 13246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13247 test $ac_status = 0; }; then 13248 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 13249 test "x$?" != "x0" && pkg_failed=yes 13250else 13251 pkg_failed=yes 13252fi 13253 else 13254 pkg_failed=untried 13255fi 13256if test -n "$GTKDOC_DEPS_LIBS"; then 13257 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" 13258 elif test -n "$PKG_CONFIG"; then 13259 if test -n "$PKG_CONFIG" && \ 13260 { { $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 13261 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 13262 ac_status=$? 13263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13264 test $ac_status = 0; }; then 13265 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 13266 test "x$?" != "x0" && pkg_failed=yes 13267else 13268 pkg_failed=yes 13269fi 13270 else 13271 pkg_failed=untried 13272fi 13273 13274 13275 13276if test $pkg_failed = yes; then 13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13278$as_echo "no" >&6; } 13279 13280if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13281 _pkg_short_errors_supported=yes 13282else 13283 _pkg_short_errors_supported=no 13284fi 13285 if test $_pkg_short_errors_supported = yes; then 13286 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` 13287 else 13288 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` 13289 fi 13290 # Put the nasty error message in config.log where it belongs 13291 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 13292 13293 : 13294elif test $pkg_failed = untried; then 13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13296$as_echo "no" >&6; } 13297 : 13298else 13299 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS 13300 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS 13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13302$as_echo "yes" >&6; } 13303 13304fi 13305 fi 13306 13307 # Check whether --enable-gtk-doc-html was given. 13308if test "${enable_gtk_doc_html+set}" = set; then : 13309 enableval=$enable_gtk_doc_html; 13310else 13311 enable_gtk_doc_html=yes 13312fi 13313 13314 # Check whether --enable-gtk-doc-pdf was given. 13315if test "${enable_gtk_doc_pdf+set}" = set; then : 13316 enableval=$enable_gtk_doc_pdf; 13317else 13318 enable_gtk_doc_pdf=no 13319fi 13320 13321 13322 if test -z "$GTKDOC_MKPDF"; then 13323 enable_gtk_doc_pdf=no 13324 fi 13325 13326 if test -z "$AM_DEFAULT_VERBOSITY"; then 13327 AM_DEFAULT_VERBOSITY=1 13328 fi 13329 13330 13331 if test x$have_gtk_doc = xyes; then 13332 HAVE_GTK_DOC_TRUE= 13333 HAVE_GTK_DOC_FALSE='#' 13334else 13335 HAVE_GTK_DOC_TRUE='#' 13336 HAVE_GTK_DOC_FALSE= 13337fi 13338 13339 if test x$enable_gtk_doc = xyes; then 13340 ENABLE_GTK_DOC_TRUE= 13341 ENABLE_GTK_DOC_FALSE='#' 13342else 13343 ENABLE_GTK_DOC_TRUE='#' 13344 ENABLE_GTK_DOC_FALSE= 13345fi 13346 13347 if test x$enable_gtk_doc_html = xyes; then 13348 GTK_DOC_BUILD_HTML_TRUE= 13349 GTK_DOC_BUILD_HTML_FALSE='#' 13350else 13351 GTK_DOC_BUILD_HTML_TRUE='#' 13352 GTK_DOC_BUILD_HTML_FALSE= 13353fi 13354 13355 if test x$enable_gtk_doc_pdf = xyes; then 13356 GTK_DOC_BUILD_PDF_TRUE= 13357 GTK_DOC_BUILD_PDF_FALSE='#' 13358else 13359 GTK_DOC_BUILD_PDF_TRUE='#' 13360 GTK_DOC_BUILD_PDF_FALSE= 13361fi 13362 13363 if test -n "$LIBTOOL"; then 13364 GTK_DOC_USE_LIBTOOL_TRUE= 13365 GTK_DOC_USE_LIBTOOL_FALSE='#' 13366else 13367 GTK_DOC_USE_LIBTOOL_TRUE='#' 13368 GTK_DOC_USE_LIBTOOL_FALSE= 13369fi 13370 13371 if test -n "$GTKDOC_REBASE"; then 13372 GTK_DOC_USE_REBASE_TRUE= 13373 GTK_DOC_USE_REBASE_FALSE='#' 13374else 13375 GTK_DOC_USE_REBASE_TRUE='#' 13376 GTK_DOC_USE_REBASE_FALSE= 13377fi 13378 13379 13380 13381 13382 13383 13384 # Check whether --enable-compile-warnings was given. 13385if test "${enable_compile_warnings+set}" = set; then : 13386 enableval=$enable_compile_warnings; 13387else 13388 enable_compile_warnings="maximum" 13389fi 13390 13391 13392 if test "x$GCC" != xyes; then 13393 enable_compile_warnings=no 13394 fi 13395 13396 warning_flags= 13397 realsave_CFLAGS="$CFLAGS" 13398 13399 base_warn_flags=" \ 13400 -Wall \ 13401 -Wstrict-prototypes \ 13402 -Wnested-externs \ 13403 " 13404 13405 base_error_flags=" \ 13406 -Werror=missing-prototypes \ 13407 -Werror=implicit-function-declaration \ 13408 -Werror=pointer-arith \ 13409 -Werror=init-self \ 13410 -Werror=format-security \ 13411 -Werror=format=2 \ 13412 -Werror=missing-include-dirs \ 13413 -Werror=return-type \ 13414 " 13415 13416 additional_flags="" 13417 13418 case "$enable_compile_warnings" in 13419 no) 13420 warning_flags="-w" 13421 ;; 13422 minimum) 13423 warning_flags="-Wall" 13424 ;; 13425 yes|maximum|error) 13426 warning_flags="$base_warn_flags $base_error_flags $additional_flags" 13427 ;; 13428 *) 13429 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 13430 ;; 13431 esac 13432 13433 if test "$enable_compile_warnings" = "error" ; then 13434 warning_flags="$warning_flags -Werror" 13435 fi 13436 13437 for option in $warning_flags; do 13438 save_CFLAGS="$CFLAGS" 13439 CFLAGS="$CFLAGS $option" 13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5 13441$as_echo_n "checking whether gcc understands $option... " >&6; } 13442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13443/* end confdefs.h. */ 13444 13445int 13446main () 13447{ 13448 13449 ; 13450 return 0; 13451} 13452_ACEOF 13453if ac_fn_c_try_compile "$LINENO"; then : 13454 has_option=yes 13455else 13456 has_option=no 13457fi 13458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13459 CFLAGS="$save_CFLAGS" 13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 13461$as_echo "$has_option" >&6; } 13462 if test $has_option = yes; then 13463 tested_warning_flags="$tested_warning_flags $option" 13464 fi 13465 unset has_option 13466 unset save_CFLAGS 13467 done 13468 unset option 13469 CFLAGS="$realsave_CFLAGS" 13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 13471$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } 13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tested_warning_flags" >&5 13473$as_echo "$tested_warning_flags" >&6; } 13474 13475 # Check whether --enable-iso-c was given. 13476if test "${enable_iso_c+set}" = set; then : 13477 enableval=$enable_iso_c; 13478else 13479 enable_iso_c=no 13480fi 13481 13482 13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5 13484$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; } 13485 complCFLAGS= 13486 if test "x$enable_iso_c" != "xno"; then 13487 if test "x$GCC" = "xyes"; then 13488 case " $CFLAGS " in 13489 *\ \ -ansi\ \ *) ;; 13490 *) complCFLAGS="$complCFLAGS -ansi" ;; 13491 esac 13492 case " $CFLAGS " in 13493 *\ \ -pedantic\ \ *) ;; 13494 *) complCFLAGS="$complCFLAGS -pedantic" ;; 13495 esac 13496 fi 13497 fi 13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5 13499$as_echo "$complCFLAGS" >&6; } 13500 13501 WARN_CFLAGS="$tested_warning_flags $complCFLAGS" 13502 13503 13504 13505 # Check whether --enable-cxx-warnings was given. 13506if test "${enable_cxx_warnings+set}" = set; then : 13507 enableval=$enable_cxx_warnings; 13508else 13509 enable_cxx_warnings="minimum" 13510fi 13511 13512 13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5 13514$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; } 13515 warnCXXFLAGS= 13516 if test "x$GXX" != xyes; then 13517 enable_cxx_warnings=no 13518 fi 13519 if test "x$enable_cxx_warnings" != "xno"; then 13520 if test "x$GXX" = "xyes"; then 13521 case " $CXXFLAGS " in 13522 *\ \ -Wall\ \ *) ;; 13523 *) warnCXXFLAGS="-Wall -Wno-unused" ;; 13524 esac 13525 13526 ## -W is not all that useful. And it cannot be controlled 13527 ## with individual -Wno-xxx flags, unlike -Wall 13528 if test "x$enable_cxx_warnings" = "xyes"; then 13529 warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual" 13530 fi 13531 fi 13532 fi 13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warnCXXFLAGS" >&5 13534$as_echo "$warnCXXFLAGS" >&6; } 13535 13536 # Check whether --enable-iso-cxx was given. 13537if test "${enable_iso_cxx+set}" = set; then : 13538 enableval=$enable_iso_cxx; 13539else 13540 enable_iso_cxx=no 13541fi 13542 13543 13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C++ compiler" >&5 13545$as_echo_n "checking what language compliance flags to pass to the C++ compiler... " >&6; } 13546 complCXXFLAGS= 13547 if test "x$enable_iso_cxx" != "xno"; then 13548 if test "x$GXX" = "xyes"; then 13549 case " $CXXFLAGS " in 13550 *\ \ -ansi\ \ *) ;; 13551 *) complCXXFLAGS="$complCXXFLAGS -ansi" ;; 13552 esac 13553 13554 case " $CXXFLAGS " in 13555 *\ \ -pedantic\ \ *) ;; 13556 *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;; 13557 esac 13558 fi 13559 fi 13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCXXFLAGS" >&5 13561$as_echo "$complCXXFLAGS" >&6; } 13562 13563 WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS" 13564 13565 13566 13567 13568 13569 13570 13571 DISABLE_DEPRECATED="" 13572 if test $USE_MAINTAINER_MODE = yes; then 13573 DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP" 13574 for DOMAIN in $DOMAINS; do 13575 DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES" 13576 done 13577 fi 13578 13579 13580 13581DISABLE_DEPRECATED="$DISABLE_DEPRECATED -DGSEAL_ENABLE" 13582 13583 13584 13585ac_ext=c 13586ac_cpp='$CPP $CPPFLAGS' 13587ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13588ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13589ac_compiler_gnu=$ac_cv_c_compiler_gnu 13590if test -n "$ac_tool_prefix"; then 13591 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 13592set dummy ${ac_tool_prefix}gcc; ac_word=$2 13593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13594$as_echo_n "checking for $ac_word... " >&6; } 13595if ${ac_cv_prog_CC+:} false; then : 13596 $as_echo_n "(cached) " >&6 13597else 13598 if test -n "$CC"; then 13599 ac_cv_prog_CC="$CC" # Let the user override the test. 13600else 13601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13602for as_dir in $PATH 13603do 13604 IFS=$as_save_IFS 13605 test -z "$as_dir" && as_dir=. 13606 for ac_exec_ext in '' $ac_executable_extensions; do 13607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13608 ac_cv_prog_CC="${ac_tool_prefix}gcc" 13609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13610 break 2 13611 fi 13612done 13613 done 13614IFS=$as_save_IFS 13615 13616fi 13617fi 13618CC=$ac_cv_prog_CC 13619if test -n "$CC"; then 13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13621$as_echo "$CC" >&6; } 13622else 13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13624$as_echo "no" >&6; } 13625fi 13626 13627 13628fi 13629if test -z "$ac_cv_prog_CC"; then 13630 ac_ct_CC=$CC 13631 # Extract the first word of "gcc", so it can be a program name with args. 13632set dummy gcc; ac_word=$2 13633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13634$as_echo_n "checking for $ac_word... " >&6; } 13635if ${ac_cv_prog_ac_ct_CC+:} false; then : 13636 $as_echo_n "(cached) " >&6 13637else 13638 if test -n "$ac_ct_CC"; then 13639 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 13640else 13641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13642for as_dir in $PATH 13643do 13644 IFS=$as_save_IFS 13645 test -z "$as_dir" && as_dir=. 13646 for ac_exec_ext in '' $ac_executable_extensions; do 13647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13648 ac_cv_prog_ac_ct_CC="gcc" 13649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13650 break 2 13651 fi 13652done 13653 done 13654IFS=$as_save_IFS 13655 13656fi 13657fi 13658ac_ct_CC=$ac_cv_prog_ac_ct_CC 13659if test -n "$ac_ct_CC"; then 13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 13661$as_echo "$ac_ct_CC" >&6; } 13662else 13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13664$as_echo "no" >&6; } 13665fi 13666 13667 if test "x$ac_ct_CC" = x; then 13668 CC="" 13669 else 13670 case $cross_compiling:$ac_tool_warned in 13671yes:) 13672{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13673$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13674ac_tool_warned=yes ;; 13675esac 13676 CC=$ac_ct_CC 13677 fi 13678else 13679 CC="$ac_cv_prog_CC" 13680fi 13681 13682if test -z "$CC"; then 13683 if test -n "$ac_tool_prefix"; then 13684 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 13685set dummy ${ac_tool_prefix}cc; ac_word=$2 13686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13687$as_echo_n "checking for $ac_word... " >&6; } 13688if ${ac_cv_prog_CC+:} false; then : 13689 $as_echo_n "(cached) " >&6 13690else 13691 if test -n "$CC"; then 13692 ac_cv_prog_CC="$CC" # Let the user override the test. 13693else 13694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13695for as_dir in $PATH 13696do 13697 IFS=$as_save_IFS 13698 test -z "$as_dir" && as_dir=. 13699 for ac_exec_ext in '' $ac_executable_extensions; do 13700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13701 ac_cv_prog_CC="${ac_tool_prefix}cc" 13702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13703 break 2 13704 fi 13705done 13706 done 13707IFS=$as_save_IFS 13708 13709fi 13710fi 13711CC=$ac_cv_prog_CC 13712if test -n "$CC"; then 13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13714$as_echo "$CC" >&6; } 13715else 13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13717$as_echo "no" >&6; } 13718fi 13719 13720 13721 fi 13722fi 13723if test -z "$CC"; then 13724 # Extract the first word of "cc", so it can be a program name with args. 13725set dummy cc; ac_word=$2 13726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13727$as_echo_n "checking for $ac_word... " >&6; } 13728if ${ac_cv_prog_CC+:} false; then : 13729 $as_echo_n "(cached) " >&6 13730else 13731 if test -n "$CC"; then 13732 ac_cv_prog_CC="$CC" # Let the user override the test. 13733else 13734 ac_prog_rejected=no 13735as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13736for as_dir in $PATH 13737do 13738 IFS=$as_save_IFS 13739 test -z "$as_dir" && as_dir=. 13740 for ac_exec_ext in '' $ac_executable_extensions; do 13741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13742 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 13743 ac_prog_rejected=yes 13744 continue 13745 fi 13746 ac_cv_prog_CC="cc" 13747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13748 break 2 13749 fi 13750done 13751 done 13752IFS=$as_save_IFS 13753 13754if test $ac_prog_rejected = yes; then 13755 # We found a bogon in the path, so make sure we never use it. 13756 set dummy $ac_cv_prog_CC 13757 shift 13758 if test $# != 0; then 13759 # We chose a different compiler from the bogus one. 13760 # However, it has the same basename, so the bogon will be chosen 13761 # first if we set CC to just the basename; use the full file name. 13762 shift 13763 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 13764 fi 13765fi 13766fi 13767fi 13768CC=$ac_cv_prog_CC 13769if test -n "$CC"; then 13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13771$as_echo "$CC" >&6; } 13772else 13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13774$as_echo "no" >&6; } 13775fi 13776 13777 13778fi 13779if test -z "$CC"; then 13780 if test -n "$ac_tool_prefix"; then 13781 for ac_prog in cl.exe 13782 do 13783 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13784set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13786$as_echo_n "checking for $ac_word... " >&6; } 13787if ${ac_cv_prog_CC+:} false; then : 13788 $as_echo_n "(cached) " >&6 13789else 13790 if test -n "$CC"; then 13791 ac_cv_prog_CC="$CC" # Let the user override the test. 13792else 13793as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13794for as_dir in $PATH 13795do 13796 IFS=$as_save_IFS 13797 test -z "$as_dir" && as_dir=. 13798 for ac_exec_ext in '' $ac_executable_extensions; do 13799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13800 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 13801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13802 break 2 13803 fi 13804done 13805 done 13806IFS=$as_save_IFS 13807 13808fi 13809fi 13810CC=$ac_cv_prog_CC 13811if test -n "$CC"; then 13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13813$as_echo "$CC" >&6; } 13814else 13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13816$as_echo "no" >&6; } 13817fi 13818 13819 13820 test -n "$CC" && break 13821 done 13822fi 13823if test -z "$CC"; then 13824 ac_ct_CC=$CC 13825 for ac_prog in cl.exe 13826do 13827 # Extract the first word of "$ac_prog", so it can be a program name with args. 13828set dummy $ac_prog; ac_word=$2 13829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13830$as_echo_n "checking for $ac_word... " >&6; } 13831if ${ac_cv_prog_ac_ct_CC+:} false; then : 13832 $as_echo_n "(cached) " >&6 13833else 13834 if test -n "$ac_ct_CC"; then 13835 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 13836else 13837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13838for as_dir in $PATH 13839do 13840 IFS=$as_save_IFS 13841 test -z "$as_dir" && as_dir=. 13842 for ac_exec_ext in '' $ac_executable_extensions; do 13843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13844 ac_cv_prog_ac_ct_CC="$ac_prog" 13845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13846 break 2 13847 fi 13848done 13849 done 13850IFS=$as_save_IFS 13851 13852fi 13853fi 13854ac_ct_CC=$ac_cv_prog_ac_ct_CC 13855if test -n "$ac_ct_CC"; then 13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 13857$as_echo "$ac_ct_CC" >&6; } 13858else 13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13860$as_echo "no" >&6; } 13861fi 13862 13863 13864 test -n "$ac_ct_CC" && break 13865done 13866 13867 if test "x$ac_ct_CC" = x; then 13868 CC="" 13869 else 13870 case $cross_compiling:$ac_tool_warned in 13871yes:) 13872{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13873$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13874ac_tool_warned=yes ;; 13875esac 13876 CC=$ac_ct_CC 13877 fi 13878fi 13879 13880fi 13881 13882 13883test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13884$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13885as_fn_error $? "no acceptable C compiler found in \$PATH 13886See \`config.log' for more details" "$LINENO" 5; } 13887 13888# Provide some information about the compiler. 13889$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 13890set X $ac_compile 13891ac_compiler=$2 13892for ac_option in --version -v -V -qversion; do 13893 { { ac_try="$ac_compiler $ac_option >&5" 13894case "(($ac_try" in 13895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13896 *) ac_try_echo=$ac_try;; 13897esac 13898eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 13899$as_echo "$ac_try_echo"; } >&5 13900 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 13901 ac_status=$? 13902 if test -s conftest.err; then 13903 sed '10a\ 13904... rest of stderr output deleted ... 13905 10q' conftest.err >conftest.er1 13906 cat conftest.er1 >&5 13907 fi 13908 rm -f conftest.er1 conftest.err 13909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13910 test $ac_status = 0; } 13911done 13912 13913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 13914$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 13915if ${ac_cv_c_compiler_gnu+:} false; then : 13916 $as_echo_n "(cached) " >&6 13917else 13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13919/* end confdefs.h. */ 13920 13921int 13922main () 13923{ 13924#ifndef __GNUC__ 13925 choke me 13926#endif 13927 13928 ; 13929 return 0; 13930} 13931_ACEOF 13932if ac_fn_c_try_compile "$LINENO"; then : 13933 ac_compiler_gnu=yes 13934else 13935 ac_compiler_gnu=no 13936fi 13937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13938ac_cv_c_compiler_gnu=$ac_compiler_gnu 13939 13940fi 13941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 13942$as_echo "$ac_cv_c_compiler_gnu" >&6; } 13943if test $ac_compiler_gnu = yes; then 13944 GCC=yes 13945else 13946 GCC= 13947fi 13948ac_test_CFLAGS=${CFLAGS+set} 13949ac_save_CFLAGS=$CFLAGS 13950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 13951$as_echo_n "checking whether $CC accepts -g... " >&6; } 13952if ${ac_cv_prog_cc_g+:} false; then : 13953 $as_echo_n "(cached) " >&6 13954else 13955 ac_save_c_werror_flag=$ac_c_werror_flag 13956 ac_c_werror_flag=yes 13957 ac_cv_prog_cc_g=no 13958 CFLAGS="-g" 13959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13960/* end confdefs.h. */ 13961 13962int 13963main () 13964{ 13965 13966 ; 13967 return 0; 13968} 13969_ACEOF 13970if ac_fn_c_try_compile "$LINENO"; then : 13971 ac_cv_prog_cc_g=yes 13972else 13973 CFLAGS="" 13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13975/* end confdefs.h. */ 13976 13977int 13978main () 13979{ 13980 13981 ; 13982 return 0; 13983} 13984_ACEOF 13985if ac_fn_c_try_compile "$LINENO"; then : 13986 13987else 13988 ac_c_werror_flag=$ac_save_c_werror_flag 13989 CFLAGS="-g" 13990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13991/* end confdefs.h. */ 13992 13993int 13994main () 13995{ 13996 13997 ; 13998 return 0; 13999} 14000_ACEOF 14001if ac_fn_c_try_compile "$LINENO"; then : 14002 ac_cv_prog_cc_g=yes 14003fi 14004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14005fi 14006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14007fi 14008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14009 ac_c_werror_flag=$ac_save_c_werror_flag 14010fi 14011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 14012$as_echo "$ac_cv_prog_cc_g" >&6; } 14013if test "$ac_test_CFLAGS" = set; then 14014 CFLAGS=$ac_save_CFLAGS 14015elif test $ac_cv_prog_cc_g = yes; then 14016 if test "$GCC" = yes; then 14017 CFLAGS="-g -O2" 14018 else 14019 CFLAGS="-g" 14020 fi 14021else 14022 if test "$GCC" = yes; then 14023 CFLAGS="-O2" 14024 else 14025 CFLAGS= 14026 fi 14027fi 14028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 14029$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 14030if ${ac_cv_prog_cc_c89+:} false; then : 14031 $as_echo_n "(cached) " >&6 14032else 14033 ac_cv_prog_cc_c89=no 14034ac_save_CC=$CC 14035cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14036/* end confdefs.h. */ 14037#include <stdarg.h> 14038#include <stdio.h> 14039struct stat; 14040/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 14041struct buf { int x; }; 14042FILE * (*rcsopen) (struct buf *, struct stat *, int); 14043static char *e (p, i) 14044 char **p; 14045 int i; 14046{ 14047 return p[i]; 14048} 14049static char *f (char * (*g) (char **, int), char **p, ...) 14050{ 14051 char *s; 14052 va_list v; 14053 va_start (v,p); 14054 s = g (p, va_arg (v,int)); 14055 va_end (v); 14056 return s; 14057} 14058 14059/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 14060 function prototypes and stuff, but not '\xHH' hex character constants. 14061 These don't provoke an error unfortunately, instead are silently treated 14062 as 'x'. The following induces an error, until -std is added to get 14063 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 14064 array size at least. It's necessary to write '\x00'==0 to get something 14065 that's true only with -std. */ 14066int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 14067 14068/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 14069 inside strings and character constants. */ 14070#define FOO(x) 'x' 14071int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 14072 14073int test (int i, double x); 14074struct s1 {int (*f) (int a);}; 14075struct s2 {int (*f) (double a);}; 14076int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 14077int argc; 14078char **argv; 14079int 14080main () 14081{ 14082return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 14083 ; 14084 return 0; 14085} 14086_ACEOF 14087for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 14088 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 14089do 14090 CC="$ac_save_CC $ac_arg" 14091 if ac_fn_c_try_compile "$LINENO"; then : 14092 ac_cv_prog_cc_c89=$ac_arg 14093fi 14094rm -f core conftest.err conftest.$ac_objext 14095 test "x$ac_cv_prog_cc_c89" != "xno" && break 14096done 14097rm -f conftest.$ac_ext 14098CC=$ac_save_CC 14099 14100fi 14101# AC_CACHE_VAL 14102case "x$ac_cv_prog_cc_c89" in 14103 x) 14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 14105$as_echo "none needed" >&6; } ;; 14106 xno) 14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 14108$as_echo "unsupported" >&6; } ;; 14109 *) 14110 CC="$CC $ac_cv_prog_cc_c89" 14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 14112$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 14113esac 14114if test "x$ac_cv_prog_cc_c89" != xno; then : 14115 14116fi 14117 14118ac_ext=c 14119ac_cpp='$CPP $CPPFLAGS' 14120ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14122ac_compiler_gnu=$ac_cv_c_compiler_gnu 14123 14124ac_ext=c 14125ac_cpp='$CPP $CPPFLAGS' 14126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14128ac_compiler_gnu=$ac_cv_c_compiler_gnu 14129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 14130$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 14131if ${am_cv_prog_cc_c_o+:} false; then : 14132 $as_echo_n "(cached) " >&6 14133else 14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14135/* end confdefs.h. */ 14136 14137int 14138main () 14139{ 14140 14141 ; 14142 return 0; 14143} 14144_ACEOF 14145 # Make sure it works both with $CC and with simple cc. 14146 # Following AC_PROG_CC_C_O, we do the test twice because some 14147 # compilers refuse to overwrite an existing .o file with -o, 14148 # though they will create one. 14149 am_cv_prog_cc_c_o=yes 14150 for am_i in 1 2; do 14151 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 14152 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 14153 ac_status=$? 14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14155 (exit $ac_status); } \ 14156 && test -f conftest2.$ac_objext; then 14157 : OK 14158 else 14159 am_cv_prog_cc_c_o=no 14160 break 14161 fi 14162 done 14163 rm -f core conftest* 14164 unset am_i 14165fi 14166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 14167$as_echo "$am_cv_prog_cc_c_o" >&6; } 14168if test "$am_cv_prog_cc_c_o" != yes; then 14169 # Losing compiler, so override with the script. 14170 # FIXME: It is wrong to rewrite CC. 14171 # But if we don't then we get into trouble of one sort or another. 14172 # A longer-term fix would be to have automake use am__CC in this case, 14173 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 14174 CC="$am_aux_dir/compile $CC" 14175fi 14176ac_ext=c 14177ac_cpp='$CPP $CPPFLAGS' 14178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14180ac_compiler_gnu=$ac_cv_c_compiler_gnu 14181 14182 14183depcc="$CC" am_compiler_list= 14184 14185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 14186$as_echo_n "checking dependency style of $depcc... " >&6; } 14187if ${am_cv_CC_dependencies_compiler_type+:} false; then : 14188 $as_echo_n "(cached) " >&6 14189else 14190 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 14191 # We make a subdir and do the tests there. Otherwise we can end up 14192 # making bogus files that we don't know about and never remove. For 14193 # instance it was reported that on HP-UX the gcc test will end up 14194 # making a dummy file named 'D' -- because '-MD' means "put the output 14195 # in D". 14196 rm -rf conftest.dir 14197 mkdir conftest.dir 14198 # Copy depcomp to subdir because otherwise we won't find it if we're 14199 # using a relative directory. 14200 cp "$am_depcomp" conftest.dir 14201 cd conftest.dir 14202 # We will build objects and dependencies in a subdirectory because 14203 # it helps to detect inapplicable dependency modes. For instance 14204 # both Tru64's cc and ICC support -MD to output dependencies as a 14205 # side effect of compilation, but ICC will put the dependencies in 14206 # the current directory while Tru64 will put them in the object 14207 # directory. 14208 mkdir sub 14209 14210 am_cv_CC_dependencies_compiler_type=none 14211 if test "$am_compiler_list" = ""; then 14212 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 14213 fi 14214 am__universal=false 14215 case " $depcc " in #( 14216 *\ -arch\ *\ -arch\ *) am__universal=true ;; 14217 esac 14218 14219 for depmode in $am_compiler_list; do 14220 # Setup a source with many dependencies, because some compilers 14221 # like to wrap large dependency lists on column 80 (with \), and 14222 # we should not choose a depcomp mode which is confused by this. 14223 # 14224 # We need to recreate these files for each test, as the compiler may 14225 # overwrite some of them when testing with obscure command lines. 14226 # This happens at least with the AIX C compiler. 14227 : > sub/conftest.c 14228 for i in 1 2 3 4 5 6; do 14229 echo '#include "conftst'$i'.h"' >> sub/conftest.c 14230 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 14231 # Solaris 10 /bin/sh. 14232 echo '/* dummy */' > sub/conftst$i.h 14233 done 14234 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 14235 14236 # We check with '-c' and '-o' for the sake of the "dashmstdout" 14237 # mode. It turns out that the SunPro C++ compiler does not properly 14238 # handle '-M -o', and we need to detect this. Also, some Intel 14239 # versions had trouble with output in subdirs. 14240 am__obj=sub/conftest.${OBJEXT-o} 14241 am__minus_obj="-o $am__obj" 14242 case $depmode in 14243 gcc) 14244 # This depmode causes a compiler race in universal mode. 14245 test "$am__universal" = false || continue 14246 ;; 14247 nosideeffect) 14248 # After this tag, mechanisms are not by side-effect, so they'll 14249 # only be used when explicitly requested. 14250 if test "x$enable_dependency_tracking" = xyes; then 14251 continue 14252 else 14253 break 14254 fi 14255 ;; 14256 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 14257 # This compiler won't grok '-c -o', but also, the minuso test has 14258 # not run yet. These depmodes are late enough in the game, and 14259 # so weak that their functioning should not be impacted. 14260 am__obj=conftest.${OBJEXT-o} 14261 am__minus_obj= 14262 ;; 14263 none) break ;; 14264 esac 14265 if depmode=$depmode \ 14266 source=sub/conftest.c object=$am__obj \ 14267 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 14268 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 14269 >/dev/null 2>conftest.err && 14270 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 14271 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 14272 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 14273 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 14274 # icc doesn't choke on unknown options, it will just issue warnings 14275 # or remarks (even with -Werror). So we grep stderr for any message 14276 # that says an option was ignored or not supported. 14277 # When given -MP, icc 7.0 and 7.1 complain thusly: 14278 # icc: Command line warning: ignoring option '-M'; no argument required 14279 # The diagnosis changed in icc 8.0: 14280 # icc: Command line remark: option '-MP' not supported 14281 if (grep 'ignoring option' conftest.err || 14282 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 14283 am_cv_CC_dependencies_compiler_type=$depmode 14284 break 14285 fi 14286 fi 14287 done 14288 14289 cd .. 14290 rm -rf conftest.dir 14291else 14292 am_cv_CC_dependencies_compiler_type=none 14293fi 14294 14295fi 14296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 14297$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 14298CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 14299 14300 if 14301 test "x$enable_dependency_tracking" != xno \ 14302 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 14303 am__fastdepCC_TRUE= 14304 am__fastdepCC_FALSE='#' 14305else 14306 am__fastdepCC_TRUE='#' 14307 am__fastdepCC_FALSE= 14308fi 14309 14310 14311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 14312$as_echo_n "checking for ANSI C header files... " >&6; } 14313if ${ac_cv_header_stdc+:} false; then : 14314 $as_echo_n "(cached) " >&6 14315else 14316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14317/* end confdefs.h. */ 14318#include <stdlib.h> 14319#include <stdarg.h> 14320#include <string.h> 14321#include <float.h> 14322 14323int 14324main () 14325{ 14326 14327 ; 14328 return 0; 14329} 14330_ACEOF 14331if ac_fn_c_try_compile "$LINENO"; then : 14332 ac_cv_header_stdc=yes 14333else 14334 ac_cv_header_stdc=no 14335fi 14336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14337 14338if test $ac_cv_header_stdc = yes; then 14339 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14341/* end confdefs.h. */ 14342#include <string.h> 14343 14344_ACEOF 14345if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14346 $EGREP "memchr" >/dev/null 2>&1; then : 14347 14348else 14349 ac_cv_header_stdc=no 14350fi 14351rm -f conftest* 14352 14353fi 14354 14355if test $ac_cv_header_stdc = yes; then 14356 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14358/* end confdefs.h. */ 14359#include <stdlib.h> 14360 14361_ACEOF 14362if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14363 $EGREP "free" >/dev/null 2>&1; then : 14364 14365else 14366 ac_cv_header_stdc=no 14367fi 14368rm -f conftest* 14369 14370fi 14371 14372if test $ac_cv_header_stdc = yes; then 14373 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 14374 if test "$cross_compiling" = yes; then : 14375 : 14376else 14377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14378/* end confdefs.h. */ 14379#include <ctype.h> 14380#include <stdlib.h> 14381#if ((' ' & 0x0FF) == 0x020) 14382# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 14383# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 14384#else 14385# define ISLOWER(c) \ 14386 (('a' <= (c) && (c) <= 'i') \ 14387 || ('j' <= (c) && (c) <= 'r') \ 14388 || ('s' <= (c) && (c) <= 'z')) 14389# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 14390#endif 14391 14392#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 14393int 14394main () 14395{ 14396 int i; 14397 for (i = 0; i < 256; i++) 14398 if (XOR (islower (i), ISLOWER (i)) 14399 || toupper (i) != TOUPPER (i)) 14400 return 2; 14401 return 0; 14402} 14403_ACEOF 14404if ac_fn_c_try_run "$LINENO"; then : 14405 14406else 14407 ac_cv_header_stdc=no 14408fi 14409rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14410 conftest.$ac_objext conftest.beam conftest.$ac_ext 14411fi 14412 14413fi 14414fi 14415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 14416$as_echo "$ac_cv_header_stdc" >&6; } 14417if test $ac_cv_header_stdc = yes; then 14418 14419$as_echo "#define STDC_HEADERS 1" >>confdefs.h 14420 14421fi 14422 14423 14424if test "x${datadir}" = 'x${prefix}/share'; then 14425 if test "x${prefix}" = "xNONE"; then 14426 14427cat >>confdefs.h <<_ACEOF 14428#define PACKAGE_DATA_DIR "${ac_default_prefix}/share/" 14429_ACEOF 14430 14431 else 14432 14433cat >>confdefs.h <<_ACEOF 14434#define PACKAGE_DATA_DIR "${prefix}/share/" 14435_ACEOF 14436 14437 fi 14438 elif test "x${datadir}" = 'x${datarootdir}'; then 14439 if test "x${datarootdir}" = 'x${prefix}/share'; then 14440 if test "x${prefix}" = "xNONE"; then 14441 14442cat >>confdefs.h <<_ACEOF 14443#define PACKAGE_DATA_DIR "${ac_default_prefix}/share/" 14444_ACEOF 14445 14446 else 14447 14448cat >>confdefs.h <<_ACEOF 14449#define PACKAGE_DATA_DIR "${prefix}/share/" 14450_ACEOF 14451 14452 fi 14453 else 14454 14455cat >>confdefs.h <<_ACEOF 14456#define PACKAGE_DATA_DIR "${datarootdir}/" 14457_ACEOF 14458 14459 fi 14460 else 14461 14462cat >>confdefs.h <<_ACEOF 14463#define PACKAGE_DATA_DIR "${datadir}/" 14464_ACEOF 14465 14466fi 14467 14468 14469for ac_header in camlib.h 14470do : 14471 ac_fn_c_check_header_mongrel "$LINENO" "camlib.h" "ac_cv_header_camlib_h" "$ac_includes_default" 14472if test "x$ac_cv_header_camlib_h" = xyes; then : 14473 cat >>confdefs.h <<_ACEOF 14474#define HAVE_CAMLIB_H 1 14475_ACEOF 14476 has_cam="yes" 14477else 14478 has_cam="no" 14479fi 14480 14481done 14482 14483 14484ac_fn_c_check_type "$LINENO" "sg_io_hdr_t" "ac_cv_type_sg_io_hdr_t" "#include <sys/types.h> 14485 #include <scsi/sg.h> 14486" 14487if test "x$ac_cv_type_sg_io_hdr_t" = xyes; then : 14488 14489cat >>confdefs.h <<_ACEOF 14490#define HAVE_SG_IO_HDR_T 1 14491_ACEOF 14492 14493has_sg="yes" 14494else 14495 has_sg="no" 14496fi 14497 14498 14499ac_fn_c_check_type "$LINENO" "scsireq_t" "ac_cv_type_scsireq_t" "#include <sys/types.h> 14500 #include <sys/scsiio.h> 14501" 14502if test "x$ac_cv_type_scsireq_t" = xyes; then : 14503 14504cat >>confdefs.h <<_ACEOF 14505#define HAVE_SCSIREQ_T 1 14506_ACEOF 14507 14508has_scsiio="yes" 14509else 14510 has_scsiio="no" 14511fi 14512 14513 14514ac_fn_c_check_type "$LINENO" "struct uscsi_cmd" "ac_cv_type_struct_uscsi_cmd" "#include <sys/types.h> 14515 #include <sys/scsi/impl/uscsi.h> 14516" 14517if test "x$ac_cv_type_struct_uscsi_cmd" = xyes; then : 14518 14519cat >>confdefs.h <<_ACEOF 14520#define HAVE_STRUCT_USCSI_CMD 1 14521_ACEOF 14522 14523has_uscsi="yes" 14524else 14525 has_uscsi="no" 14526fi 14527 14528 14529if test x"$has_cam" = x"yes"; then 14530 BRASERO_SCSI_LIBS="-lcam" 14531elif test x"$has_sg" = x"yes"; then 14532 : 14533elif test x"$has_scsiio" = x"yes"; then 14534 : 14535elif test x"$has_uscsi" = x"yes"; then 14536 : 14537else 14538 as_fn_error $? "Support Linux SG, FreeBSD CAM, NetBSD SCSIPI, Solaris USCSI. No supported SCSI interface headers could not be found." "$LINENO" 5 14539fi 14540 14541 if test x"$has_cam" = "xyes"; then 14542 HAVE_CAM_LIB_H_TRUE= 14543 HAVE_CAM_LIB_H_FALSE='#' 14544else 14545 HAVE_CAM_LIB_H_TRUE='#' 14546 HAVE_CAM_LIB_H_FALSE= 14547fi 14548 14549 if test x"$has_sg" = "xyes"; then 14550 HAVE_SG_IO_HDR_T_TRUE= 14551 HAVE_SG_IO_HDR_T_FALSE='#' 14552else 14553 HAVE_SG_IO_HDR_T_TRUE='#' 14554 HAVE_SG_IO_HDR_T_FALSE= 14555fi 14556 14557 if test x"$has_uscsi" = "xyes"; then 14558 HAVE_USCSI_H_TRUE= 14559 HAVE_USCSI_H_FALSE='#' 14560else 14561 HAVE_USCSI_H_TRUE='#' 14562 HAVE_USCSI_H_FALSE= 14563fi 14564 14565 if test x"$has_scsiio" = "xyes"; then 14566 HAVE_SCSIIO_H_TRUE= 14567 HAVE_SCSIIO_H_FALSE='#' 14568else 14569 HAVE_SCSIIO_H_TRUE='#' 14570 HAVE_SCSIIO_H_FALSE= 14571fi 14572 14573 14574 14575# Check whether --enable-largefile was given. 14576if test "${enable_largefile+set}" = set; then : 14577 enableval=$enable_largefile; 14578fi 14579 14580if test "$enable_largefile" != no; then 14581 14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 14583$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 14584if ${ac_cv_sys_largefile_CC+:} false; then : 14585 $as_echo_n "(cached) " >&6 14586else 14587 ac_cv_sys_largefile_CC=no 14588 if test "$GCC" != yes; then 14589 ac_save_CC=$CC 14590 while :; do 14591 # IRIX 6.2 and later do not support large files by default, 14592 # so use the C compiler's -n32 option if that helps. 14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14594/* end confdefs.h. */ 14595#include <sys/types.h> 14596 /* Check that off_t can represent 2**63 - 1 correctly. 14597 We can't simply define LARGE_OFF_T to be 9223372036854775807, 14598 since some C++ compilers masquerading as C compilers 14599 incorrectly reject 9223372036854775807. */ 14600#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 14601 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 14602 && LARGE_OFF_T % 2147483647 == 1) 14603 ? 1 : -1]; 14604int 14605main () 14606{ 14607 14608 ; 14609 return 0; 14610} 14611_ACEOF 14612 if ac_fn_c_try_compile "$LINENO"; then : 14613 break 14614fi 14615rm -f core conftest.err conftest.$ac_objext 14616 CC="$CC -n32" 14617 if ac_fn_c_try_compile "$LINENO"; then : 14618 ac_cv_sys_largefile_CC=' -n32'; break 14619fi 14620rm -f core conftest.err conftest.$ac_objext 14621 break 14622 done 14623 CC=$ac_save_CC 14624 rm -f conftest.$ac_ext 14625 fi 14626fi 14627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 14628$as_echo "$ac_cv_sys_largefile_CC" >&6; } 14629 if test "$ac_cv_sys_largefile_CC" != no; then 14630 CC=$CC$ac_cv_sys_largefile_CC 14631 fi 14632 14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 14634$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 14635if ${ac_cv_sys_file_offset_bits+:} false; then : 14636 $as_echo_n "(cached) " >&6 14637else 14638 while :; do 14639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14640/* end confdefs.h. */ 14641#include <sys/types.h> 14642 /* Check that off_t can represent 2**63 - 1 correctly. 14643 We can't simply define LARGE_OFF_T to be 9223372036854775807, 14644 since some C++ compilers masquerading as C compilers 14645 incorrectly reject 9223372036854775807. */ 14646#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 14647 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 14648 && LARGE_OFF_T % 2147483647 == 1) 14649 ? 1 : -1]; 14650int 14651main () 14652{ 14653 14654 ; 14655 return 0; 14656} 14657_ACEOF 14658if ac_fn_c_try_compile "$LINENO"; then : 14659 ac_cv_sys_file_offset_bits=no; break 14660fi 14661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14663/* end confdefs.h. */ 14664#define _FILE_OFFSET_BITS 64 14665#include <sys/types.h> 14666 /* Check that off_t can represent 2**63 - 1 correctly. 14667 We can't simply define LARGE_OFF_T to be 9223372036854775807, 14668 since some C++ compilers masquerading as C compilers 14669 incorrectly reject 9223372036854775807. */ 14670#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 14671 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 14672 && LARGE_OFF_T % 2147483647 == 1) 14673 ? 1 : -1]; 14674int 14675main () 14676{ 14677 14678 ; 14679 return 0; 14680} 14681_ACEOF 14682if ac_fn_c_try_compile "$LINENO"; then : 14683 ac_cv_sys_file_offset_bits=64; break 14684fi 14685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14686 ac_cv_sys_file_offset_bits=unknown 14687 break 14688done 14689fi 14690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 14691$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 14692case $ac_cv_sys_file_offset_bits in #( 14693 no | unknown) ;; 14694 *) 14695cat >>confdefs.h <<_ACEOF 14696#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 14697_ACEOF 14698;; 14699esac 14700rm -rf conftest* 14701 if test $ac_cv_sys_file_offset_bits = unknown; then 14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 14703$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 14704if ${ac_cv_sys_large_files+:} false; then : 14705 $as_echo_n "(cached) " >&6 14706else 14707 while :; do 14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14709/* end confdefs.h. */ 14710#include <sys/types.h> 14711 /* Check that off_t can represent 2**63 - 1 correctly. 14712 We can't simply define LARGE_OFF_T to be 9223372036854775807, 14713 since some C++ compilers masquerading as C compilers 14714 incorrectly reject 9223372036854775807. */ 14715#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 14716 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 14717 && LARGE_OFF_T % 2147483647 == 1) 14718 ? 1 : -1]; 14719int 14720main () 14721{ 14722 14723 ; 14724 return 0; 14725} 14726_ACEOF 14727if ac_fn_c_try_compile "$LINENO"; then : 14728 ac_cv_sys_large_files=no; break 14729fi 14730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14732/* end confdefs.h. */ 14733#define _LARGE_FILES 1 14734#include <sys/types.h> 14735 /* Check that off_t can represent 2**63 - 1 correctly. 14736 We can't simply define LARGE_OFF_T to be 9223372036854775807, 14737 since some C++ compilers masquerading as C compilers 14738 incorrectly reject 9223372036854775807. */ 14739#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 14740 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 14741 && LARGE_OFF_T % 2147483647 == 1) 14742 ? 1 : -1]; 14743int 14744main () 14745{ 14746 14747 ; 14748 return 0; 14749} 14750_ACEOF 14751if ac_fn_c_try_compile "$LINENO"; then : 14752 ac_cv_sys_large_files=1; break 14753fi 14754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14755 ac_cv_sys_large_files=unknown 14756 break 14757done 14758fi 14759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 14760$as_echo "$ac_cv_sys_large_files" >&6; } 14761case $ac_cv_sys_large_files in #( 14762 no | unknown) ;; 14763 *) 14764cat >>confdefs.h <<_ACEOF 14765#define _LARGE_FILES $ac_cv_sys_large_files 14766_ACEOF 14767;; 14768esac 14769rm -rf conftest* 14770 fi 14771 14772 14773fi 14774 14775 14776 14777GLIB_REQUIRED=2.29.14 14778GTHREAD_REQUIRED=2.6.0 14779GMODULE_REQUIRED=2.6.0 14780GMODULE_EXPORT_REQUIRED=2.6.0 14781GIO_REQUIRED=2.28.0 14782GSTREAMER_REQUIRED=0.11.92 14783GSTREAMER_BASE_REQUIRED=0.11.92 14784GSTREAMER_MODULE_REQUIRED=0.11.92 14785LIBXML2_REQUIRED=2.6.0 14786 14787 14788pkg_failed=no 14789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_GSTREAMER" >&5 14790$as_echo_n "checking for BRASERO_GSTREAMER... " >&6; } 14791 14792if test -n "$BRASERO_GSTREAMER_CFLAGS"; then 14793 pkg_cv_BRASERO_GSTREAMER_CFLAGS="$BRASERO_GSTREAMER_CFLAGS" 14794 elif test -n "$PKG_CONFIG"; then 14795 if test -n "$PKG_CONFIG" && \ 14796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 14797 gstreamer-1.0 >= \$GSTREAMER_REQUIRED \\ 14798 gstreamer-base-1.0 >= \$GSTREAMER_REQUIRED \\ 14799 gstreamer-video-1.0 >= \$GSTREAMER_BASE_REQUIRED \\ 14800 gstreamer-pbutils-1.0 >= \$GSTREAMER_BASE_REQUIRED \\ 14801 gstreamer-tag-1.0 >= \$GSTREAMER_BASE_REQUIRED\""; } >&5 14802 ($PKG_CONFIG --exists --print-errors "\ 14803 gstreamer-1.0 >= $GSTREAMER_REQUIRED \ 14804 gstreamer-base-1.0 >= $GSTREAMER_REQUIRED \ 14805 gstreamer-video-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14806 gstreamer-pbutils-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14807 gstreamer-tag-1.0 >= $GSTREAMER_BASE_REQUIRED") 2>&5 14808 ac_status=$? 14809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14810 test $ac_status = 0; }; then 14811 pkg_cv_BRASERO_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "\ 14812 gstreamer-1.0 >= $GSTREAMER_REQUIRED \ 14813 gstreamer-base-1.0 >= $GSTREAMER_REQUIRED \ 14814 gstreamer-video-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14815 gstreamer-pbutils-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14816 gstreamer-tag-1.0 >= $GSTREAMER_BASE_REQUIRED" 2>/dev/null` 14817 test "x$?" != "x0" && pkg_failed=yes 14818else 14819 pkg_failed=yes 14820fi 14821 else 14822 pkg_failed=untried 14823fi 14824if test -n "$BRASERO_GSTREAMER_LIBS"; then 14825 pkg_cv_BRASERO_GSTREAMER_LIBS="$BRASERO_GSTREAMER_LIBS" 14826 elif test -n "$PKG_CONFIG"; then 14827 if test -n "$PKG_CONFIG" && \ 14828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 14829 gstreamer-1.0 >= \$GSTREAMER_REQUIRED \\ 14830 gstreamer-base-1.0 >= \$GSTREAMER_REQUIRED \\ 14831 gstreamer-video-1.0 >= \$GSTREAMER_BASE_REQUIRED \\ 14832 gstreamer-pbutils-1.0 >= \$GSTREAMER_BASE_REQUIRED \\ 14833 gstreamer-tag-1.0 >= \$GSTREAMER_BASE_REQUIRED\""; } >&5 14834 ($PKG_CONFIG --exists --print-errors "\ 14835 gstreamer-1.0 >= $GSTREAMER_REQUIRED \ 14836 gstreamer-base-1.0 >= $GSTREAMER_REQUIRED \ 14837 gstreamer-video-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14838 gstreamer-pbutils-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14839 gstreamer-tag-1.0 >= $GSTREAMER_BASE_REQUIRED") 2>&5 14840 ac_status=$? 14841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14842 test $ac_status = 0; }; then 14843 pkg_cv_BRASERO_GSTREAMER_LIBS=`$PKG_CONFIG --libs "\ 14844 gstreamer-1.0 >= $GSTREAMER_REQUIRED \ 14845 gstreamer-base-1.0 >= $GSTREAMER_REQUIRED \ 14846 gstreamer-video-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14847 gstreamer-pbutils-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14848 gstreamer-tag-1.0 >= $GSTREAMER_BASE_REQUIRED" 2>/dev/null` 14849 test "x$?" != "x0" && pkg_failed=yes 14850else 14851 pkg_failed=yes 14852fi 14853 else 14854 pkg_failed=untried 14855fi 14856 14857 14858 14859if test $pkg_failed = yes; then 14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14861$as_echo "no" >&6; } 14862 14863if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14864 _pkg_short_errors_supported=yes 14865else 14866 _pkg_short_errors_supported=no 14867fi 14868 if test $_pkg_short_errors_supported = yes; then 14869 BRASERO_GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\ 14870 gstreamer-1.0 >= $GSTREAMER_REQUIRED \ 14871 gstreamer-base-1.0 >= $GSTREAMER_REQUIRED \ 14872 gstreamer-video-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14873 gstreamer-pbutils-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14874 gstreamer-tag-1.0 >= $GSTREAMER_BASE_REQUIRED" 2>&1` 14875 else 14876 BRASERO_GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\ 14877 gstreamer-1.0 >= $GSTREAMER_REQUIRED \ 14878 gstreamer-base-1.0 >= $GSTREAMER_REQUIRED \ 14879 gstreamer-video-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14880 gstreamer-pbutils-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14881 gstreamer-tag-1.0 >= $GSTREAMER_BASE_REQUIRED" 2>&1` 14882 fi 14883 # Put the nasty error message in config.log where it belongs 14884 echo "$BRASERO_GSTREAMER_PKG_ERRORS" >&5 14885 14886 as_fn_error $? "Package requirements (\ 14887 gstreamer-1.0 >= $GSTREAMER_REQUIRED \ 14888 gstreamer-base-1.0 >= $GSTREAMER_REQUIRED \ 14889 gstreamer-video-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14890 gstreamer-pbutils-1.0 >= $GSTREAMER_BASE_REQUIRED \ 14891 gstreamer-tag-1.0 >= $GSTREAMER_BASE_REQUIRED) were not met: 14892 14893$BRASERO_GSTREAMER_PKG_ERRORS 14894 14895Consider adjusting the PKG_CONFIG_PATH environment variable if you 14896installed software in a non-standard prefix. 14897 14898Alternatively, you may set the environment variables BRASERO_GSTREAMER_CFLAGS 14899and BRASERO_GSTREAMER_LIBS to avoid the need to call pkg-config. 14900See the pkg-config man page for more details." "$LINENO" 5 14901elif test $pkg_failed = untried; then 14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14903$as_echo "no" >&6; } 14904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14905$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14906as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 14907is in your PATH or set the PKG_CONFIG environment variable to the full 14908path to pkg-config. 14909 14910Alternatively, you may set the environment variables BRASERO_GSTREAMER_CFLAGS 14911and BRASERO_GSTREAMER_LIBS to avoid the need to call pkg-config. 14912See the pkg-config man page for more details. 14913 14914To get pkg-config, see <http://pkg-config.freedesktop.org/>. 14915See \`config.log' for more details" "$LINENO" 5; } 14916else 14917 BRASERO_GSTREAMER_CFLAGS=$pkg_cv_BRASERO_GSTREAMER_CFLAGS 14918 BRASERO_GSTREAMER_LIBS=$pkg_cv_BRASERO_GSTREAMER_LIBS 14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14920$as_echo "yes" >&6; } 14921 14922fi 14923BRASERO_GSTREAMER_CFLAGS="-DGST_USE_UNSTABLE_API $BRASERO_GSTREAMER_CFLAGS" 14924 14925 14926 14927BRASERO_GSTREAMER_LIBS="$BRASERO_GSTREAMER_LIBS -lgstpbutils-1.0" 14928 14929 14930pkg_failed=no 14931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_GIO" >&5 14932$as_echo_n "checking for BRASERO_GIO... " >&6; } 14933 14934if test -n "$BRASERO_GIO_CFLAGS"; then 14935 pkg_cv_BRASERO_GIO_CFLAGS="$BRASERO_GIO_CFLAGS" 14936 elif test -n "$PKG_CONFIG"; then 14937 if test -n "$PKG_CONFIG" && \ 14938 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 14939 gio-2.0 >= \$GIO_REQUIRED\""; } >&5 14940 ($PKG_CONFIG --exists --print-errors "\ 14941 gio-2.0 >= $GIO_REQUIRED") 2>&5 14942 ac_status=$? 14943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14944 test $ac_status = 0; }; then 14945 pkg_cv_BRASERO_GIO_CFLAGS=`$PKG_CONFIG --cflags "\ 14946 gio-2.0 >= $GIO_REQUIRED" 2>/dev/null` 14947 test "x$?" != "x0" && pkg_failed=yes 14948else 14949 pkg_failed=yes 14950fi 14951 else 14952 pkg_failed=untried 14953fi 14954if test -n "$BRASERO_GIO_LIBS"; then 14955 pkg_cv_BRASERO_GIO_LIBS="$BRASERO_GIO_LIBS" 14956 elif test -n "$PKG_CONFIG"; then 14957 if test -n "$PKG_CONFIG" && \ 14958 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 14959 gio-2.0 >= \$GIO_REQUIRED\""; } >&5 14960 ($PKG_CONFIG --exists --print-errors "\ 14961 gio-2.0 >= $GIO_REQUIRED") 2>&5 14962 ac_status=$? 14963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14964 test $ac_status = 0; }; then 14965 pkg_cv_BRASERO_GIO_LIBS=`$PKG_CONFIG --libs "\ 14966 gio-2.0 >= $GIO_REQUIRED" 2>/dev/null` 14967 test "x$?" != "x0" && pkg_failed=yes 14968else 14969 pkg_failed=yes 14970fi 14971 else 14972 pkg_failed=untried 14973fi 14974 14975 14976 14977if test $pkg_failed = yes; then 14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14979$as_echo "no" >&6; } 14980 14981if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14982 _pkg_short_errors_supported=yes 14983else 14984 _pkg_short_errors_supported=no 14985fi 14986 if test $_pkg_short_errors_supported = yes; then 14987 BRASERO_GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\ 14988 gio-2.0 >= $GIO_REQUIRED" 2>&1` 14989 else 14990 BRASERO_GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\ 14991 gio-2.0 >= $GIO_REQUIRED" 2>&1` 14992 fi 14993 # Put the nasty error message in config.log where it belongs 14994 echo "$BRASERO_GIO_PKG_ERRORS" >&5 14995 14996 as_fn_error $? "Package requirements (\ 14997 gio-2.0 >= $GIO_REQUIRED) were not met: 14998 14999$BRASERO_GIO_PKG_ERRORS 15000 15001Consider adjusting the PKG_CONFIG_PATH environment variable if you 15002installed software in a non-standard prefix. 15003 15004Alternatively, you may set the environment variables BRASERO_GIO_CFLAGS 15005and BRASERO_GIO_LIBS to avoid the need to call pkg-config. 15006See the pkg-config man page for more details." "$LINENO" 5 15007elif test $pkg_failed = untried; then 15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15009$as_echo "no" >&6; } 15010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15011$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15012as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15013is in your PATH or set the PKG_CONFIG environment variable to the full 15014path to pkg-config. 15015 15016Alternatively, you may set the environment variables BRASERO_GIO_CFLAGS 15017and BRASERO_GIO_LIBS to avoid the need to call pkg-config. 15018See the pkg-config man page for more details. 15019 15020To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15021See \`config.log' for more details" "$LINENO" 5; } 15022else 15023 BRASERO_GIO_CFLAGS=$pkg_cv_BRASERO_GIO_CFLAGS 15024 BRASERO_GIO_LIBS=$pkg_cv_BRASERO_GIO_LIBS 15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15026$as_echo "yes" >&6; } 15027 15028fi 15029 15030 15031 15032 15033 15034pkg_failed=no 15035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_LIBXML" >&5 15036$as_echo_n "checking for BRASERO_LIBXML... " >&6; } 15037 15038if test -n "$BRASERO_LIBXML_CFLAGS"; then 15039 pkg_cv_BRASERO_LIBXML_CFLAGS="$BRASERO_LIBXML_CFLAGS" 15040 elif test -n "$PKG_CONFIG"; then 15041 if test -n "$PKG_CONFIG" && \ 15042 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15043 libxml-2.0 >= \$LIBXML2_REQUIRED\""; } >&5 15044 ($PKG_CONFIG --exists --print-errors "\ 15045 libxml-2.0 >= $LIBXML2_REQUIRED") 2>&5 15046 ac_status=$? 15047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15048 test $ac_status = 0; }; then 15049 pkg_cv_BRASERO_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "\ 15050 libxml-2.0 >= $LIBXML2_REQUIRED" 2>/dev/null` 15051 test "x$?" != "x0" && pkg_failed=yes 15052else 15053 pkg_failed=yes 15054fi 15055 else 15056 pkg_failed=untried 15057fi 15058if test -n "$BRASERO_LIBXML_LIBS"; then 15059 pkg_cv_BRASERO_LIBXML_LIBS="$BRASERO_LIBXML_LIBS" 15060 elif test -n "$PKG_CONFIG"; then 15061 if test -n "$PKG_CONFIG" && \ 15062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15063 libxml-2.0 >= \$LIBXML2_REQUIRED\""; } >&5 15064 ($PKG_CONFIG --exists --print-errors "\ 15065 libxml-2.0 >= $LIBXML2_REQUIRED") 2>&5 15066 ac_status=$? 15067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15068 test $ac_status = 0; }; then 15069 pkg_cv_BRASERO_LIBXML_LIBS=`$PKG_CONFIG --libs "\ 15070 libxml-2.0 >= $LIBXML2_REQUIRED" 2>/dev/null` 15071 test "x$?" != "x0" && pkg_failed=yes 15072else 15073 pkg_failed=yes 15074fi 15075 else 15076 pkg_failed=untried 15077fi 15078 15079 15080 15081if test $pkg_failed = yes; then 15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15083$as_echo "no" >&6; } 15084 15085if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15086 _pkg_short_errors_supported=yes 15087else 15088 _pkg_short_errors_supported=no 15089fi 15090 if test $_pkg_short_errors_supported = yes; then 15091 BRASERO_LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\ 15092 libxml-2.0 >= $LIBXML2_REQUIRED" 2>&1` 15093 else 15094 BRASERO_LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\ 15095 libxml-2.0 >= $LIBXML2_REQUIRED" 2>&1` 15096 fi 15097 # Put the nasty error message in config.log where it belongs 15098 echo "$BRASERO_LIBXML_PKG_ERRORS" >&5 15099 15100 as_fn_error $? "Package requirements (\ 15101 libxml-2.0 >= $LIBXML2_REQUIRED) were not met: 15102 15103$BRASERO_LIBXML_PKG_ERRORS 15104 15105Consider adjusting the PKG_CONFIG_PATH environment variable if you 15106installed software in a non-standard prefix. 15107 15108Alternatively, you may set the environment variables BRASERO_LIBXML_CFLAGS 15109and BRASERO_LIBXML_LIBS to avoid the need to call pkg-config. 15110See the pkg-config man page for more details." "$LINENO" 5 15111elif test $pkg_failed = untried; then 15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15113$as_echo "no" >&6; } 15114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15115$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15116as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15117is in your PATH or set the PKG_CONFIG environment variable to the full 15118path to pkg-config. 15119 15120Alternatively, you may set the environment variables BRASERO_LIBXML_CFLAGS 15121and BRASERO_LIBXML_LIBS to avoid the need to call pkg-config. 15122See the pkg-config man page for more details. 15123 15124To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15125See \`config.log' for more details" "$LINENO" 5; } 15126else 15127 BRASERO_LIBXML_CFLAGS=$pkg_cv_BRASERO_LIBXML_CFLAGS 15128 BRASERO_LIBXML_LIBS=$pkg_cv_BRASERO_LIBXML_LIBS 15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15130$as_echo "yes" >&6; } 15131 15132fi 15133 15134 15135 15136 15137 15138pkg_failed=no 15139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_GTHREAD" >&5 15140$as_echo_n "checking for BRASERO_GTHREAD... " >&6; } 15141 15142if test -n "$BRASERO_GTHREAD_CFLAGS"; then 15143 pkg_cv_BRASERO_GTHREAD_CFLAGS="$BRASERO_GTHREAD_CFLAGS" 15144 elif test -n "$PKG_CONFIG"; then 15145 if test -n "$PKG_CONFIG" && \ 15146 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15147 gthread-2.0 >= \$GTHREAD_REQUIRED\""; } >&5 15148 ($PKG_CONFIG --exists --print-errors "\ 15149 gthread-2.0 >= $GTHREAD_REQUIRED") 2>&5 15150 ac_status=$? 15151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15152 test $ac_status = 0; }; then 15153 pkg_cv_BRASERO_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "\ 15154 gthread-2.0 >= $GTHREAD_REQUIRED" 2>/dev/null` 15155 test "x$?" != "x0" && pkg_failed=yes 15156else 15157 pkg_failed=yes 15158fi 15159 else 15160 pkg_failed=untried 15161fi 15162if test -n "$BRASERO_GTHREAD_LIBS"; then 15163 pkg_cv_BRASERO_GTHREAD_LIBS="$BRASERO_GTHREAD_LIBS" 15164 elif test -n "$PKG_CONFIG"; then 15165 if test -n "$PKG_CONFIG" && \ 15166 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15167 gthread-2.0 >= \$GTHREAD_REQUIRED\""; } >&5 15168 ($PKG_CONFIG --exists --print-errors "\ 15169 gthread-2.0 >= $GTHREAD_REQUIRED") 2>&5 15170 ac_status=$? 15171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15172 test $ac_status = 0; }; then 15173 pkg_cv_BRASERO_GTHREAD_LIBS=`$PKG_CONFIG --libs "\ 15174 gthread-2.0 >= $GTHREAD_REQUIRED" 2>/dev/null` 15175 test "x$?" != "x0" && pkg_failed=yes 15176else 15177 pkg_failed=yes 15178fi 15179 else 15180 pkg_failed=untried 15181fi 15182 15183 15184 15185if test $pkg_failed = yes; then 15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15187$as_echo "no" >&6; } 15188 15189if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15190 _pkg_short_errors_supported=yes 15191else 15192 _pkg_short_errors_supported=no 15193fi 15194 if test $_pkg_short_errors_supported = yes; then 15195 BRASERO_GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\ 15196 gthread-2.0 >= $GTHREAD_REQUIRED" 2>&1` 15197 else 15198 BRASERO_GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\ 15199 gthread-2.0 >= $GTHREAD_REQUIRED" 2>&1` 15200 fi 15201 # Put the nasty error message in config.log where it belongs 15202 echo "$BRASERO_GTHREAD_PKG_ERRORS" >&5 15203 15204 as_fn_error $? "Package requirements (\ 15205 gthread-2.0 >= $GTHREAD_REQUIRED) were not met: 15206 15207$BRASERO_GTHREAD_PKG_ERRORS 15208 15209Consider adjusting the PKG_CONFIG_PATH environment variable if you 15210installed software in a non-standard prefix. 15211 15212Alternatively, you may set the environment variables BRASERO_GTHREAD_CFLAGS 15213and BRASERO_GTHREAD_LIBS to avoid the need to call pkg-config. 15214See the pkg-config man page for more details." "$LINENO" 5 15215elif test $pkg_failed = untried; then 15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15217$as_echo "no" >&6; } 15218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15219$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15220as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15221is in your PATH or set the PKG_CONFIG environment variable to the full 15222path to pkg-config. 15223 15224Alternatively, you may set the environment variables BRASERO_GTHREAD_CFLAGS 15225and BRASERO_GTHREAD_LIBS to avoid the need to call pkg-config. 15226See the pkg-config man page for more details. 15227 15228To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15229See \`config.log' for more details" "$LINENO" 5; } 15230else 15231 BRASERO_GTHREAD_CFLAGS=$pkg_cv_BRASERO_GTHREAD_CFLAGS 15232 BRASERO_GTHREAD_LIBS=$pkg_cv_BRASERO_GTHREAD_LIBS 15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15234$as_echo "yes" >&6; } 15235 15236fi 15237 15238 15239 15240 15241 15242pkg_failed=no 15243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_GLIB" >&5 15244$as_echo_n "checking for BRASERO_GLIB... " >&6; } 15245 15246if test -n "$BRASERO_GLIB_CFLAGS"; then 15247 pkg_cv_BRASERO_GLIB_CFLAGS="$BRASERO_GLIB_CFLAGS" 15248 elif test -n "$PKG_CONFIG"; then 15249 if test -n "$PKG_CONFIG" && \ 15250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15251 gobject-2.0 >= \$GLIB_REQUIRED \\ 15252 glib-2.0 >= \$GLIB_REQUIRED\""; } >&5 15253 ($PKG_CONFIG --exists --print-errors "\ 15254 gobject-2.0 >= $GLIB_REQUIRED \ 15255 glib-2.0 >= $GLIB_REQUIRED") 2>&5 15256 ac_status=$? 15257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15258 test $ac_status = 0; }; then 15259 pkg_cv_BRASERO_GLIB_CFLAGS=`$PKG_CONFIG --cflags "\ 15260 gobject-2.0 >= $GLIB_REQUIRED \ 15261 glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null` 15262 test "x$?" != "x0" && pkg_failed=yes 15263else 15264 pkg_failed=yes 15265fi 15266 else 15267 pkg_failed=untried 15268fi 15269if test -n "$BRASERO_GLIB_LIBS"; then 15270 pkg_cv_BRASERO_GLIB_LIBS="$BRASERO_GLIB_LIBS" 15271 elif test -n "$PKG_CONFIG"; then 15272 if test -n "$PKG_CONFIG" && \ 15273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15274 gobject-2.0 >= \$GLIB_REQUIRED \\ 15275 glib-2.0 >= \$GLIB_REQUIRED\""; } >&5 15276 ($PKG_CONFIG --exists --print-errors "\ 15277 gobject-2.0 >= $GLIB_REQUIRED \ 15278 glib-2.0 >= $GLIB_REQUIRED") 2>&5 15279 ac_status=$? 15280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15281 test $ac_status = 0; }; then 15282 pkg_cv_BRASERO_GLIB_LIBS=`$PKG_CONFIG --libs "\ 15283 gobject-2.0 >= $GLIB_REQUIRED \ 15284 glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null` 15285 test "x$?" != "x0" && pkg_failed=yes 15286else 15287 pkg_failed=yes 15288fi 15289 else 15290 pkg_failed=untried 15291fi 15292 15293 15294 15295if test $pkg_failed = yes; then 15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15297$as_echo "no" >&6; } 15298 15299if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15300 _pkg_short_errors_supported=yes 15301else 15302 _pkg_short_errors_supported=no 15303fi 15304 if test $_pkg_short_errors_supported = yes; then 15305 BRASERO_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\ 15306 gobject-2.0 >= $GLIB_REQUIRED \ 15307 glib-2.0 >= $GLIB_REQUIRED" 2>&1` 15308 else 15309 BRASERO_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\ 15310 gobject-2.0 >= $GLIB_REQUIRED \ 15311 glib-2.0 >= $GLIB_REQUIRED" 2>&1` 15312 fi 15313 # Put the nasty error message in config.log where it belongs 15314 echo "$BRASERO_GLIB_PKG_ERRORS" >&5 15315 15316 as_fn_error $? "Package requirements (\ 15317 gobject-2.0 >= $GLIB_REQUIRED \ 15318 glib-2.0 >= $GLIB_REQUIRED) were not met: 15319 15320$BRASERO_GLIB_PKG_ERRORS 15321 15322Consider adjusting the PKG_CONFIG_PATH environment variable if you 15323installed software in a non-standard prefix. 15324 15325Alternatively, you may set the environment variables BRASERO_GLIB_CFLAGS 15326and BRASERO_GLIB_LIBS to avoid the need to call pkg-config. 15327See the pkg-config man page for more details." "$LINENO" 5 15328elif test $pkg_failed = untried; then 15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15330$as_echo "no" >&6; } 15331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15332$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15333as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15334is in your PATH or set the PKG_CONFIG environment variable to the full 15335path to pkg-config. 15336 15337Alternatively, you may set the environment variables BRASERO_GLIB_CFLAGS 15338and BRASERO_GLIB_LIBS to avoid the need to call pkg-config. 15339See the pkg-config man page for more details. 15340 15341To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15342See \`config.log' for more details" "$LINENO" 5; } 15343else 15344 BRASERO_GLIB_CFLAGS=$pkg_cv_BRASERO_GLIB_CFLAGS 15345 BRASERO_GLIB_LIBS=$pkg_cv_BRASERO_GLIB_LIBS 15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15347$as_echo "yes" >&6; } 15348 15349fi 15350 15351 15352 15353 15354 15355pkg_failed=no 15356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_GMODULE" >&5 15357$as_echo_n "checking for BRASERO_GMODULE... " >&6; } 15358 15359if test -n "$BRASERO_GMODULE_CFLAGS"; then 15360 pkg_cv_BRASERO_GMODULE_CFLAGS="$BRASERO_GMODULE_CFLAGS" 15361 elif test -n "$PKG_CONFIG"; then 15362 if test -n "$PKG_CONFIG" && \ 15363 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15364 gmodule-2.0 >= \$GMODULE_REQUIRED\""; } >&5 15365 ($PKG_CONFIG --exists --print-errors "\ 15366 gmodule-2.0 >= $GMODULE_REQUIRED") 2>&5 15367 ac_status=$? 15368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15369 test $ac_status = 0; }; then 15370 pkg_cv_BRASERO_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "\ 15371 gmodule-2.0 >= $GMODULE_REQUIRED" 2>/dev/null` 15372 test "x$?" != "x0" && pkg_failed=yes 15373else 15374 pkg_failed=yes 15375fi 15376 else 15377 pkg_failed=untried 15378fi 15379if test -n "$BRASERO_GMODULE_LIBS"; then 15380 pkg_cv_BRASERO_GMODULE_LIBS="$BRASERO_GMODULE_LIBS" 15381 elif test -n "$PKG_CONFIG"; then 15382 if test -n "$PKG_CONFIG" && \ 15383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15384 gmodule-2.0 >= \$GMODULE_REQUIRED\""; } >&5 15385 ($PKG_CONFIG --exists --print-errors "\ 15386 gmodule-2.0 >= $GMODULE_REQUIRED") 2>&5 15387 ac_status=$? 15388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15389 test $ac_status = 0; }; then 15390 pkg_cv_BRASERO_GMODULE_LIBS=`$PKG_CONFIG --libs "\ 15391 gmodule-2.0 >= $GMODULE_REQUIRED" 2>/dev/null` 15392 test "x$?" != "x0" && pkg_failed=yes 15393else 15394 pkg_failed=yes 15395fi 15396 else 15397 pkg_failed=untried 15398fi 15399 15400 15401 15402if test $pkg_failed = yes; then 15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15404$as_echo "no" >&6; } 15405 15406if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15407 _pkg_short_errors_supported=yes 15408else 15409 _pkg_short_errors_supported=no 15410fi 15411 if test $_pkg_short_errors_supported = yes; then 15412 BRASERO_GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\ 15413 gmodule-2.0 >= $GMODULE_REQUIRED" 2>&1` 15414 else 15415 BRASERO_GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\ 15416 gmodule-2.0 >= $GMODULE_REQUIRED" 2>&1` 15417 fi 15418 # Put the nasty error message in config.log where it belongs 15419 echo "$BRASERO_GMODULE_PKG_ERRORS" >&5 15420 15421 as_fn_error $? "Package requirements (\ 15422 gmodule-2.0 >= $GMODULE_REQUIRED) were not met: 15423 15424$BRASERO_GMODULE_PKG_ERRORS 15425 15426Consider adjusting the PKG_CONFIG_PATH environment variable if you 15427installed software in a non-standard prefix. 15428 15429Alternatively, you may set the environment variables BRASERO_GMODULE_CFLAGS 15430and BRASERO_GMODULE_LIBS to avoid the need to call pkg-config. 15431See the pkg-config man page for more details." "$LINENO" 5 15432elif test $pkg_failed = untried; then 15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15434$as_echo "no" >&6; } 15435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15436$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15437as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15438is in your PATH or set the PKG_CONFIG environment variable to the full 15439path to pkg-config. 15440 15441Alternatively, you may set the environment variables BRASERO_GMODULE_CFLAGS 15442and BRASERO_GMODULE_LIBS to avoid the need to call pkg-config. 15443See the pkg-config man page for more details. 15444 15445To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15446See \`config.log' for more details" "$LINENO" 5; } 15447else 15448 BRASERO_GMODULE_CFLAGS=$pkg_cv_BRASERO_GMODULE_CFLAGS 15449 BRASERO_GMODULE_LIBS=$pkg_cv_BRASERO_GMODULE_LIBS 15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15451$as_echo "yes" >&6; } 15452 15453fi 15454 15455 15456 15457 15458 15459pkg_failed=no 15460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_GMODULE_EXPORT" >&5 15461$as_echo_n "checking for BRASERO_GMODULE_EXPORT... " >&6; } 15462 15463if test -n "$BRASERO_GMODULE_EXPORT_CFLAGS"; then 15464 pkg_cv_BRASERO_GMODULE_EXPORT_CFLAGS="$BRASERO_GMODULE_EXPORT_CFLAGS" 15465 elif test -n "$PKG_CONFIG"; then 15466 if test -n "$PKG_CONFIG" && \ 15467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15468 gmodule-export-2.0 >= \$GMODULE_EXPORT_REQUIRED\""; } >&5 15469 ($PKG_CONFIG --exists --print-errors "\ 15470 gmodule-export-2.0 >= $GMODULE_EXPORT_REQUIRED") 2>&5 15471 ac_status=$? 15472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15473 test $ac_status = 0; }; then 15474 pkg_cv_BRASERO_GMODULE_EXPORT_CFLAGS=`$PKG_CONFIG --cflags "\ 15475 gmodule-export-2.0 >= $GMODULE_EXPORT_REQUIRED" 2>/dev/null` 15476 test "x$?" != "x0" && pkg_failed=yes 15477else 15478 pkg_failed=yes 15479fi 15480 else 15481 pkg_failed=untried 15482fi 15483if test -n "$BRASERO_GMODULE_EXPORT_LIBS"; then 15484 pkg_cv_BRASERO_GMODULE_EXPORT_LIBS="$BRASERO_GMODULE_EXPORT_LIBS" 15485 elif test -n "$PKG_CONFIG"; then 15486 if test -n "$PKG_CONFIG" && \ 15487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15488 gmodule-export-2.0 >= \$GMODULE_EXPORT_REQUIRED\""; } >&5 15489 ($PKG_CONFIG --exists --print-errors "\ 15490 gmodule-export-2.0 >= $GMODULE_EXPORT_REQUIRED") 2>&5 15491 ac_status=$? 15492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15493 test $ac_status = 0; }; then 15494 pkg_cv_BRASERO_GMODULE_EXPORT_LIBS=`$PKG_CONFIG --libs "\ 15495 gmodule-export-2.0 >= $GMODULE_EXPORT_REQUIRED" 2>/dev/null` 15496 test "x$?" != "x0" && pkg_failed=yes 15497else 15498 pkg_failed=yes 15499fi 15500 else 15501 pkg_failed=untried 15502fi 15503 15504 15505 15506if test $pkg_failed = yes; then 15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15508$as_echo "no" >&6; } 15509 15510if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15511 _pkg_short_errors_supported=yes 15512else 15513 _pkg_short_errors_supported=no 15514fi 15515 if test $_pkg_short_errors_supported = yes; then 15516 BRASERO_GMODULE_EXPORT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\ 15517 gmodule-export-2.0 >= $GMODULE_EXPORT_REQUIRED" 2>&1` 15518 else 15519 BRASERO_GMODULE_EXPORT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\ 15520 gmodule-export-2.0 >= $GMODULE_EXPORT_REQUIRED" 2>&1` 15521 fi 15522 # Put the nasty error message in config.log where it belongs 15523 echo "$BRASERO_GMODULE_EXPORT_PKG_ERRORS" >&5 15524 15525 as_fn_error $? "Package requirements (\ 15526 gmodule-export-2.0 >= $GMODULE_EXPORT_REQUIRED) were not met: 15527 15528$BRASERO_GMODULE_EXPORT_PKG_ERRORS 15529 15530Consider adjusting the PKG_CONFIG_PATH environment variable if you 15531installed software in a non-standard prefix. 15532 15533Alternatively, you may set the environment variables BRASERO_GMODULE_EXPORT_CFLAGS 15534and BRASERO_GMODULE_EXPORT_LIBS to avoid the need to call pkg-config. 15535See the pkg-config man page for more details." "$LINENO" 5 15536elif test $pkg_failed = untried; then 15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15538$as_echo "no" >&6; } 15539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15540$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15541as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15542is in your PATH or set the PKG_CONFIG environment variable to the full 15543path to pkg-config. 15544 15545Alternatively, you may set the environment variables BRASERO_GMODULE_EXPORT_CFLAGS 15546and BRASERO_GMODULE_EXPORT_LIBS to avoid the need to call pkg-config. 15547See the pkg-config man page for more details. 15548 15549To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15550See \`config.log' for more details" "$LINENO" 5; } 15551else 15552 BRASERO_GMODULE_EXPORT_CFLAGS=$pkg_cv_BRASERO_GMODULE_EXPORT_CFLAGS 15553 BRASERO_GMODULE_EXPORT_LIBS=$pkg_cv_BRASERO_GMODULE_EXPORT_LIBS 15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15555$as_echo "yes" >&6; } 15556 15557fi 15558 15559 15560 15561 15562 15563pkg_failed=no 15564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_SM" >&5 15565$as_echo_n "checking for BRASERO_SM... " >&6; } 15566 15567if test -n "$BRASERO_SM_CFLAGS"; then 15568 pkg_cv_BRASERO_SM_CFLAGS="$BRASERO_SM_CFLAGS" 15569 elif test -n "$PKG_CONFIG"; then 15570 if test -n "$PKG_CONFIG" && \ 15571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm \\ 15572 ice\""; } >&5 15573 ($PKG_CONFIG --exists --print-errors "sm \ 15574 ice") 2>&5 15575 ac_status=$? 15576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15577 test $ac_status = 0; }; then 15578 pkg_cv_BRASERO_SM_CFLAGS=`$PKG_CONFIG --cflags "sm \ 15579 ice" 2>/dev/null` 15580 test "x$?" != "x0" && pkg_failed=yes 15581else 15582 pkg_failed=yes 15583fi 15584 else 15585 pkg_failed=untried 15586fi 15587if test -n "$BRASERO_SM_LIBS"; then 15588 pkg_cv_BRASERO_SM_LIBS="$BRASERO_SM_LIBS" 15589 elif test -n "$PKG_CONFIG"; then 15590 if test -n "$PKG_CONFIG" && \ 15591 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm \\ 15592 ice\""; } >&5 15593 ($PKG_CONFIG --exists --print-errors "sm \ 15594 ice") 2>&5 15595 ac_status=$? 15596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15597 test $ac_status = 0; }; then 15598 pkg_cv_BRASERO_SM_LIBS=`$PKG_CONFIG --libs "sm \ 15599 ice" 2>/dev/null` 15600 test "x$?" != "x0" && pkg_failed=yes 15601else 15602 pkg_failed=yes 15603fi 15604 else 15605 pkg_failed=untried 15606fi 15607 15608 15609 15610if test $pkg_failed = yes; then 15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15612$as_echo "no" >&6; } 15613 15614if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15615 _pkg_short_errors_supported=yes 15616else 15617 _pkg_short_errors_supported=no 15618fi 15619 if test $_pkg_short_errors_supported = yes; then 15620 BRASERO_SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sm \ 15621 ice" 2>&1` 15622 else 15623 BRASERO_SM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sm \ 15624 ice" 2>&1` 15625 fi 15626 # Put the nasty error message in config.log where it belongs 15627 echo "$BRASERO_SM_PKG_ERRORS" >&5 15628 15629 as_fn_error $? "Package requirements (sm \ 15630 ice) were not met: 15631 15632$BRASERO_SM_PKG_ERRORS 15633 15634Consider adjusting the PKG_CONFIG_PATH environment variable if you 15635installed software in a non-standard prefix. 15636 15637Alternatively, you may set the environment variables BRASERO_SM_CFLAGS 15638and BRASERO_SM_LIBS to avoid the need to call pkg-config. 15639See the pkg-config man page for more details." "$LINENO" 5 15640elif test $pkg_failed = untried; then 15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15642$as_echo "no" >&6; } 15643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15644$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15645as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15646is in your PATH or set the PKG_CONFIG environment variable to the full 15647path to pkg-config. 15648 15649Alternatively, you may set the environment variables BRASERO_SM_CFLAGS 15650and BRASERO_SM_LIBS to avoid the need to call pkg-config. 15651See the pkg-config man page for more details. 15652 15653To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15654See \`config.log' for more details" "$LINENO" 5; } 15655else 15656 BRASERO_SM_CFLAGS=$pkg_cv_BRASERO_SM_CFLAGS 15657 BRASERO_SM_LIBS=$pkg_cv_BRASERO_SM_LIBS 15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15659$as_echo "yes" >&6; } 15660 15661fi 15662 15663 15664 15665 15666LIBM= 15667case $host in 15668*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) 15669 # These system don't have libm, or don't need it 15670 ;; 15671*-ncr-sysv4.3*) 15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 15673$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; } 15674if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then : 15675 $as_echo_n "(cached) " >&6 15676else 15677 ac_check_lib_save_LIBS=$LIBS 15678LIBS="-lmw $LIBS" 15679cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15680/* end confdefs.h. */ 15681 15682/* Override any GCC internal prototype to avoid an error. 15683 Use char because int might match the return type of a GCC 15684 builtin and then its argument prototype would still apply. */ 15685#ifdef __cplusplus 15686extern "C" 15687#endif 15688char _mwvalidcheckl (); 15689int 15690main () 15691{ 15692return _mwvalidcheckl (); 15693 ; 15694 return 0; 15695} 15696_ACEOF 15697if ac_fn_c_try_link "$LINENO"; then : 15698 ac_cv_lib_mw__mwvalidcheckl=yes 15699else 15700 ac_cv_lib_mw__mwvalidcheckl=no 15701fi 15702rm -f core conftest.err conftest.$ac_objext \ 15703 conftest$ac_exeext conftest.$ac_ext 15704LIBS=$ac_check_lib_save_LIBS 15705fi 15706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 15707$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; } 15708if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then : 15709 LIBM=-lmw 15710fi 15711 15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 15713$as_echo_n "checking for cos in -lm... " >&6; } 15714if ${ac_cv_lib_m_cos+:} false; then : 15715 $as_echo_n "(cached) " >&6 15716else 15717 ac_check_lib_save_LIBS=$LIBS 15718LIBS="-lm $LIBS" 15719cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15720/* end confdefs.h. */ 15721 15722/* Override any GCC internal prototype to avoid an error. 15723 Use char because int might match the return type of a GCC 15724 builtin and then its argument prototype would still apply. */ 15725#ifdef __cplusplus 15726extern "C" 15727#endif 15728char cos (); 15729int 15730main () 15731{ 15732return cos (); 15733 ; 15734 return 0; 15735} 15736_ACEOF 15737if ac_fn_c_try_link "$LINENO"; then : 15738 ac_cv_lib_m_cos=yes 15739else 15740 ac_cv_lib_m_cos=no 15741fi 15742rm -f core conftest.err conftest.$ac_objext \ 15743 conftest$ac_exeext conftest.$ac_ext 15744LIBS=$ac_check_lib_save_LIBS 15745fi 15746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 15747$as_echo "$ac_cv_lib_m_cos" >&6; } 15748if test "x$ac_cv_lib_m_cos" = xyes; then : 15749 LIBM="$LIBM -lm" 15750fi 15751 15752 ;; 15753*) 15754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 15755$as_echo_n "checking for cos in -lm... " >&6; } 15756if ${ac_cv_lib_m_cos+:} false; then : 15757 $as_echo_n "(cached) " >&6 15758else 15759 ac_check_lib_save_LIBS=$LIBS 15760LIBS="-lm $LIBS" 15761cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15762/* end confdefs.h. */ 15763 15764/* Override any GCC internal prototype to avoid an error. 15765 Use char because int might match the return type of a GCC 15766 builtin and then its argument prototype would still apply. */ 15767#ifdef __cplusplus 15768extern "C" 15769#endif 15770char cos (); 15771int 15772main () 15773{ 15774return cos (); 15775 ; 15776 return 0; 15777} 15778_ACEOF 15779if ac_fn_c_try_link "$LINENO"; then : 15780 ac_cv_lib_m_cos=yes 15781else 15782 ac_cv_lib_m_cos=no 15783fi 15784rm -f core conftest.err conftest.$ac_objext \ 15785 conftest$ac_exeext conftest.$ac_ext 15786LIBS=$ac_check_lib_save_LIBS 15787fi 15788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 15789$as_echo "$ac_cv_lib_m_cos" >&6; } 15790if test "x$ac_cv_lib_m_cos" = xyes; then : 15791 LIBM=-lm 15792fi 15793 15794 ;; 15795esac 15796 15797 15798 15799 15800# 15801# GTK+ stuff (taken and adapted from empathy) 15802# 15803 15804GTK_REQUIRED=3.0.0 15805 15806 15807pkg_failed=no 15808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_GTK" >&5 15809$as_echo_n "checking for BRASERO_GTK... " >&6; } 15810 15811if test -n "$BRASERO_GTK_CFLAGS"; then 15812 pkg_cv_BRASERO_GTK_CFLAGS="$BRASERO_GTK_CFLAGS" 15813 elif test -n "$PKG_CONFIG"; then 15814 if test -n "$PKG_CONFIG" && \ 15815 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15816 gtk+-3.0 >= \$GTK_REQUIRED \\ 15817 gdk-x11-3.0\""; } >&5 15818 ($PKG_CONFIG --exists --print-errors "\ 15819 gtk+-3.0 >= $GTK_REQUIRED \ 15820 gdk-x11-3.0") 2>&5 15821 ac_status=$? 15822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15823 test $ac_status = 0; }; then 15824 pkg_cv_BRASERO_GTK_CFLAGS=`$PKG_CONFIG --cflags "\ 15825 gtk+-3.0 >= $GTK_REQUIRED \ 15826 gdk-x11-3.0" 2>/dev/null` 15827 test "x$?" != "x0" && pkg_failed=yes 15828else 15829 pkg_failed=yes 15830fi 15831 else 15832 pkg_failed=untried 15833fi 15834if test -n "$BRASERO_GTK_LIBS"; then 15835 pkg_cv_BRASERO_GTK_LIBS="$BRASERO_GTK_LIBS" 15836 elif test -n "$PKG_CONFIG"; then 15837 if test -n "$PKG_CONFIG" && \ 15838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\ 15839 gtk+-3.0 >= \$GTK_REQUIRED \\ 15840 gdk-x11-3.0\""; } >&5 15841 ($PKG_CONFIG --exists --print-errors "\ 15842 gtk+-3.0 >= $GTK_REQUIRED \ 15843 gdk-x11-3.0") 2>&5 15844 ac_status=$? 15845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15846 test $ac_status = 0; }; then 15847 pkg_cv_BRASERO_GTK_LIBS=`$PKG_CONFIG --libs "\ 15848 gtk+-3.0 >= $GTK_REQUIRED \ 15849 gdk-x11-3.0" 2>/dev/null` 15850 test "x$?" != "x0" && pkg_failed=yes 15851else 15852 pkg_failed=yes 15853fi 15854 else 15855 pkg_failed=untried 15856fi 15857 15858 15859 15860if test $pkg_failed = yes; then 15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15862$as_echo "no" >&6; } 15863 15864if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15865 _pkg_short_errors_supported=yes 15866else 15867 _pkg_short_errors_supported=no 15868fi 15869 if test $_pkg_short_errors_supported = yes; then 15870 BRASERO_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\ 15871 gtk+-3.0 >= $GTK_REQUIRED \ 15872 gdk-x11-3.0" 2>&1` 15873 else 15874 BRASERO_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\ 15875 gtk+-3.0 >= $GTK_REQUIRED \ 15876 gdk-x11-3.0" 2>&1` 15877 fi 15878 # Put the nasty error message in config.log where it belongs 15879 echo "$BRASERO_GTK_PKG_ERRORS" >&5 15880 15881 as_fn_error $? "Package requirements (\ 15882 gtk+-3.0 >= $GTK_REQUIRED \ 15883 gdk-x11-3.0) were not met: 15884 15885$BRASERO_GTK_PKG_ERRORS 15886 15887Consider adjusting the PKG_CONFIG_PATH environment variable if you 15888installed software in a non-standard prefix. 15889 15890Alternatively, you may set the environment variables BRASERO_GTK_CFLAGS 15891and BRASERO_GTK_LIBS to avoid the need to call pkg-config. 15892See the pkg-config man page for more details." "$LINENO" 5 15893elif test $pkg_failed = untried; then 15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15895$as_echo "no" >&6; } 15896 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15897$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15898as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15899is in your PATH or set the PKG_CONFIG environment variable to the full 15900path to pkg-config. 15901 15902Alternatively, you may set the environment variables BRASERO_GTK_CFLAGS 15903and BRASERO_GTK_LIBS to avoid the need to call pkg-config. 15904See the pkg-config man page for more details. 15905 15906To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15907See \`config.log' for more details" "$LINENO" 5; } 15908else 15909 BRASERO_GTK_CFLAGS=$pkg_cv_BRASERO_GTK_CFLAGS 15910 BRASERO_GTK_LIBS=$pkg_cv_BRASERO_GTK_LIBS 15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15912$as_echo "yes" >&6; } 15913 15914fi 15915 15916 15917 15918 15919# 15920# libnotify check 15921# 15922 15923LIBNOTIFY_REQUIRED=0.6.1 15924 15925 15926pkg_failed=no 15927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_LIBNOTIFY" >&5 15928$as_echo_n "checking for BRASERO_LIBNOTIFY... " >&6; } 15929 15930if test -n "$BRASERO_LIBNOTIFY_CFLAGS"; then 15931 pkg_cv_BRASERO_LIBNOTIFY_CFLAGS="$BRASERO_LIBNOTIFY_CFLAGS" 15932 elif test -n "$PKG_CONFIG"; then 15933 if test -n "$PKG_CONFIG" && \ 15934 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5 15935 ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_REQUIRED") 2>&5 15936 ac_status=$? 15937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15938 test $ac_status = 0; }; then 15939 pkg_cv_BRASERO_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null` 15940 test "x$?" != "x0" && pkg_failed=yes 15941else 15942 pkg_failed=yes 15943fi 15944 else 15945 pkg_failed=untried 15946fi 15947if test -n "$BRASERO_LIBNOTIFY_LIBS"; then 15948 pkg_cv_BRASERO_LIBNOTIFY_LIBS="$BRASERO_LIBNOTIFY_LIBS" 15949 elif test -n "$PKG_CONFIG"; then 15950 if test -n "$PKG_CONFIG" && \ 15951 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5 15952 ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_REQUIRED") 2>&5 15953 ac_status=$? 15954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15955 test $ac_status = 0; }; then 15956 pkg_cv_BRASERO_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null` 15957 test "x$?" != "x0" && pkg_failed=yes 15958else 15959 pkg_failed=yes 15960fi 15961 else 15962 pkg_failed=untried 15963fi 15964 15965 15966 15967if test $pkg_failed = yes; then 15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15969$as_echo "no" >&6; } 15970 15971if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15972 _pkg_short_errors_supported=yes 15973else 15974 _pkg_short_errors_supported=no 15975fi 15976 if test $_pkg_short_errors_supported = yes; then 15977 BRASERO_LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify >= $LIBNOTIFY_REQUIRED" 2>&1` 15978 else 15979 BRASERO_LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify >= $LIBNOTIFY_REQUIRED" 2>&1` 15980 fi 15981 # Put the nasty error message in config.log where it belongs 15982 echo "$BRASERO_LIBNOTIFY_PKG_ERRORS" >&5 15983 15984 as_fn_error $? "Package requirements (libnotify >= $LIBNOTIFY_REQUIRED) were not met: 15985 15986$BRASERO_LIBNOTIFY_PKG_ERRORS 15987 15988Consider adjusting the PKG_CONFIG_PATH environment variable if you 15989installed software in a non-standard prefix. 15990 15991Alternatively, you may set the environment variables BRASERO_LIBNOTIFY_CFLAGS 15992and BRASERO_LIBNOTIFY_LIBS to avoid the need to call pkg-config. 15993See the pkg-config man page for more details." "$LINENO" 5 15994elif test $pkg_failed = untried; then 15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15996$as_echo "no" >&6; } 15997 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15998$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15999as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16000is in your PATH or set the PKG_CONFIG environment variable to the full 16001path to pkg-config. 16002 16003Alternatively, you may set the environment variables BRASERO_LIBNOTIFY_CFLAGS 16004and BRASERO_LIBNOTIFY_LIBS to avoid the need to call pkg-config. 16005See the pkg-config man page for more details. 16006 16007To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16008See \`config.log' for more details" "$LINENO" 5; } 16009else 16010 BRASERO_LIBNOTIFY_CFLAGS=$pkg_cv_BRASERO_LIBNOTIFY_CFLAGS 16011 BRASERO_LIBNOTIFY_LIBS=$pkg_cv_BRASERO_LIBNOTIFY_LIBS 16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16013$as_echo "yes" >&6; } 16014 16015fi 16016 16017 16018 16019# 16020# Canberra 16021# 16022 16023CANBERRA_REQUIRED=0.1 16024 16025 16026pkg_failed=no 16027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_CANBERRA" >&5 16028$as_echo_n "checking for BRASERO_CANBERRA... " >&6; } 16029 16030if test -n "$BRASERO_CANBERRA_CFLAGS"; then 16031 pkg_cv_BRASERO_CANBERRA_CFLAGS="$BRASERO_CANBERRA_CFLAGS" 16032 elif test -n "$PKG_CONFIG"; then 16033 if test -n "$PKG_CONFIG" && \ 16034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra >= \$CANBERRA_REQUIRED 16035 libcanberra-gtk3 >= \$CANBERRA_REQUIRED\""; } >&5 16036 ($PKG_CONFIG --exists --print-errors "libcanberra >= $CANBERRA_REQUIRED 16037 libcanberra-gtk3 >= $CANBERRA_REQUIRED") 2>&5 16038 ac_status=$? 16039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16040 test $ac_status = 0; }; then 16041 pkg_cv_BRASERO_CANBERRA_CFLAGS=`$PKG_CONFIG --cflags "libcanberra >= $CANBERRA_REQUIRED 16042 libcanberra-gtk3 >= $CANBERRA_REQUIRED" 2>/dev/null` 16043 test "x$?" != "x0" && pkg_failed=yes 16044else 16045 pkg_failed=yes 16046fi 16047 else 16048 pkg_failed=untried 16049fi 16050if test -n "$BRASERO_CANBERRA_LIBS"; then 16051 pkg_cv_BRASERO_CANBERRA_LIBS="$BRASERO_CANBERRA_LIBS" 16052 elif test -n "$PKG_CONFIG"; then 16053 if test -n "$PKG_CONFIG" && \ 16054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra >= \$CANBERRA_REQUIRED 16055 libcanberra-gtk3 >= \$CANBERRA_REQUIRED\""; } >&5 16056 ($PKG_CONFIG --exists --print-errors "libcanberra >= $CANBERRA_REQUIRED 16057 libcanberra-gtk3 >= $CANBERRA_REQUIRED") 2>&5 16058 ac_status=$? 16059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16060 test $ac_status = 0; }; then 16061 pkg_cv_BRASERO_CANBERRA_LIBS=`$PKG_CONFIG --libs "libcanberra >= $CANBERRA_REQUIRED 16062 libcanberra-gtk3 >= $CANBERRA_REQUIRED" 2>/dev/null` 16063 test "x$?" != "x0" && pkg_failed=yes 16064else 16065 pkg_failed=yes 16066fi 16067 else 16068 pkg_failed=untried 16069fi 16070 16071 16072 16073if test $pkg_failed = yes; then 16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16075$as_echo "no" >&6; } 16076 16077if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16078 _pkg_short_errors_supported=yes 16079else 16080 _pkg_short_errors_supported=no 16081fi 16082 if test $_pkg_short_errors_supported = yes; then 16083 BRASERO_CANBERRA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcanberra >= $CANBERRA_REQUIRED 16084 libcanberra-gtk3 >= $CANBERRA_REQUIRED" 2>&1` 16085 else 16086 BRASERO_CANBERRA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcanberra >= $CANBERRA_REQUIRED 16087 libcanberra-gtk3 >= $CANBERRA_REQUIRED" 2>&1` 16088 fi 16089 # Put the nasty error message in config.log where it belongs 16090 echo "$BRASERO_CANBERRA_PKG_ERRORS" >&5 16091 16092 as_fn_error $? "Package requirements (libcanberra >= $CANBERRA_REQUIRED 16093 libcanberra-gtk3 >= $CANBERRA_REQUIRED) were not met: 16094 16095$BRASERO_CANBERRA_PKG_ERRORS 16096 16097Consider adjusting the PKG_CONFIG_PATH environment variable if you 16098installed software in a non-standard prefix. 16099 16100Alternatively, you may set the environment variables BRASERO_CANBERRA_CFLAGS 16101and BRASERO_CANBERRA_LIBS to avoid the need to call pkg-config. 16102See the pkg-config man page for more details." "$LINENO" 5 16103elif test $pkg_failed = untried; then 16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16105$as_echo "no" >&6; } 16106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16107$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16108as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16109is in your PATH or set the PKG_CONFIG environment variable to the full 16110path to pkg-config. 16111 16112Alternatively, you may set the environment variables BRASERO_CANBERRA_CFLAGS 16113and BRASERO_CANBERRA_LIBS to avoid the need to call pkg-config. 16114See the pkg-config man page for more details. 16115 16116To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16117See \`config.log' for more details" "$LINENO" 5; } 16118else 16119 BRASERO_CANBERRA_CFLAGS=$pkg_cv_BRASERO_CANBERRA_CFLAGS 16120 BRASERO_CANBERRA_LIBS=$pkg_cv_BRASERO_CANBERRA_LIBS 16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16122$as_echo "yes" >&6; } 16123 16124fi 16125 16126 16127 16128 16129# Note: the extension is built against gtk+-3.0 so we cannot build extension with gtk+-2.0 16130NAUTILUS_REQUIRED=2.91.90 16131 16132# Check whether --enable-nautilus was given. 16133if test "${enable_nautilus+set}" = set; then : 16134 enableval=$enable_nautilus; enable_nautilus=$enableval 16135else 16136 enable_nautilus="yes" 16137fi 16138 16139 16140 16141# Check whether --with-nautilusdir was given. 16142if test "${with_nautilusdir+set}" = set; then : 16143 withval=$with_nautilusdir; ac_with_nautilusdir=$withval 16144else 16145 ac_with_nautilusdir="" 16146fi 16147 16148 16149if test x"$enable_nautilus" = "xyes"; then 16150 16151pkg_failed=no 16152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NAUTILUS_EXTENSION" >&5 16153$as_echo_n "checking for NAUTILUS_EXTENSION... " >&6; } 16154 16155if test -n "$NAUTILUS_EXTENSION_CFLAGS"; then 16156 pkg_cv_NAUTILUS_EXTENSION_CFLAGS="$NAUTILUS_EXTENSION_CFLAGS" 16157 elif test -n "$PKG_CONFIG"; then 16158 if test -n "$PKG_CONFIG" && \ 16159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED\""; } >&5 16160 ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED") 2>&5 16161 ac_status=$? 16162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16163 test $ac_status = 0; }; then 16164 pkg_cv_NAUTILUS_EXTENSION_CFLAGS=`$PKG_CONFIG --cflags "libnautilus-extension >= $NAUTILUS_REQUIRED" 2>/dev/null` 16165 test "x$?" != "x0" && pkg_failed=yes 16166else 16167 pkg_failed=yes 16168fi 16169 else 16170 pkg_failed=untried 16171fi 16172if test -n "$NAUTILUS_EXTENSION_LIBS"; then 16173 pkg_cv_NAUTILUS_EXTENSION_LIBS="$NAUTILUS_EXTENSION_LIBS" 16174 elif test -n "$PKG_CONFIG"; then 16175 if test -n "$PKG_CONFIG" && \ 16176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED\""; } >&5 16177 ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED") 2>&5 16178 ac_status=$? 16179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16180 test $ac_status = 0; }; then 16181 pkg_cv_NAUTILUS_EXTENSION_LIBS=`$PKG_CONFIG --libs "libnautilus-extension >= $NAUTILUS_REQUIRED" 2>/dev/null` 16182 test "x$?" != "x0" && pkg_failed=yes 16183else 16184 pkg_failed=yes 16185fi 16186 else 16187 pkg_failed=untried 16188fi 16189 16190 16191 16192if test $pkg_failed = yes; then 16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16194$as_echo "no" >&6; } 16195 16196if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16197 _pkg_short_errors_supported=yes 16198else 16199 _pkg_short_errors_supported=no 16200fi 16201 if test $_pkg_short_errors_supported = yes; then 16202 NAUTILUS_EXTENSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnautilus-extension >= $NAUTILUS_REQUIRED" 2>&1` 16203 else 16204 NAUTILUS_EXTENSION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnautilus-extension >= $NAUTILUS_REQUIRED" 2>&1` 16205 fi 16206 # Put the nasty error message in config.log where it belongs 16207 echo "$NAUTILUS_EXTENSION_PKG_ERRORS" >&5 16208 16209 build_nautilus=no 16210elif test $pkg_failed = untried; then 16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16212$as_echo "no" >&6; } 16213 build_nautilus=no 16214else 16215 NAUTILUS_EXTENSION_CFLAGS=$pkg_cv_NAUTILUS_EXTENSION_CFLAGS 16216 NAUTILUS_EXTENSION_LIBS=$pkg_cv_NAUTILUS_EXTENSION_LIBS 16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16218$as_echo "yes" >&6; } 16219 build_nautilus=yes 16220fi 16221else 16222 build_nautilus="no" 16223fi 16224 16225if test x"$build_nautilus" = "xyes"; then 16226 NAUTILUS_EXTENSION_CFLAGS="$BRASERO_GLIB_CFLAGS $BRASERO_UI_CFLAGS $NAUTILUS_EXTENSION_CFLAGS" 16227 NAUTILUS_EXTENSION_LIBS="$BRASERO_GLIB_LIBS $BRASERO_UI_LIBS $NAUTILUS_EXTENSION_LIBS" 16228 16229 if test "${ac_with_nautilusdir}" = ""; then 16230 ac_with_nautilusdir=`pkg-config --variable=extensiondir libnautilus-extension` 16231 fi 16232 16233 { $as_echo "$as_me:${as_lineno-$LINENO}: installing plugin in ${ac_with_nautilusdir}" >&5 16234$as_echo "$as_me: installing plugin in ${ac_with_nautilusdir}" >&6;} 16235 NAUTILUSDIR=${ac_with_nautilusdir} 16236 16237 16238 16239 for ac_header in locale.h 16240do : 16241 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 16242if test "x$ac_cv_header_locale_h" = xyes; then : 16243 cat >>confdefs.h <<_ACEOF 16244#define HAVE_LOCALE_H 1 16245_ACEOF 16246 16247fi 16248 16249done 16250 16251 if test $ac_cv_header_locale_h = yes; then 16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 16253$as_echo_n "checking for LC_MESSAGES... " >&6; } 16254if ${am_cv_val_LC_MESSAGES+:} false; then : 16255 $as_echo_n "(cached) " >&6 16256else 16257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16258/* end confdefs.h. */ 16259#include <locale.h> 16260int 16261main () 16262{ 16263return LC_MESSAGES 16264 ; 16265 return 0; 16266} 16267_ACEOF 16268if ac_fn_c_try_link "$LINENO"; then : 16269 am_cv_val_LC_MESSAGES=yes 16270else 16271 am_cv_val_LC_MESSAGES=no 16272fi 16273rm -f core conftest.err conftest.$ac_objext \ 16274 conftest$ac_exeext conftest.$ac_ext 16275fi 16276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 16277$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 16278 if test $am_cv_val_LC_MESSAGES = yes; then 16279 16280$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 16281 16282 fi 16283 fi 16284 USE_NLS=yes 16285 16286 16287 gt_cv_have_gettext=no 16288 16289 CATOBJEXT=NONE 16290 XGETTEXT=: 16291 INTLLIBS= 16292 16293 16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 16295$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 16296if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 16297 $as_echo_n "(cached) " >&6 16298else 16299 gt_save_LIBS="$LIBS" 16300 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 16301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16302/* end confdefs.h. */ 16303#include <CoreFoundation/CFPreferences.h> 16304int 16305main () 16306{ 16307CFPreferencesCopyAppValue(NULL, NULL) 16308 ; 16309 return 0; 16310} 16311_ACEOF 16312if ac_fn_c_try_link "$LINENO"; then : 16313 gt_cv_func_CFPreferencesCopyAppValue=yes 16314else 16315 gt_cv_func_CFPreferencesCopyAppValue=no 16316fi 16317rm -f core conftest.err conftest.$ac_objext \ 16318 conftest$ac_exeext conftest.$ac_ext 16319 LIBS="$gt_save_LIBS" 16320fi 16321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 16322$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 16323 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 16324 16325$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 16326 16327 fi 16328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 16329$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 16330if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 16331 $as_echo_n "(cached) " >&6 16332else 16333 gt_save_LIBS="$LIBS" 16334 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 16335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16336/* end confdefs.h. */ 16337#include <CoreFoundation/CFLocale.h> 16338int 16339main () 16340{ 16341CFLocaleCopyCurrent(); 16342 ; 16343 return 0; 16344} 16345_ACEOF 16346if ac_fn_c_try_link "$LINENO"; then : 16347 gt_cv_func_CFLocaleCopyCurrent=yes 16348else 16349 gt_cv_func_CFLocaleCopyCurrent=no 16350fi 16351rm -f core conftest.err conftest.$ac_objext \ 16352 conftest$ac_exeext conftest.$ac_ext 16353 LIBS="$gt_save_LIBS" 16354fi 16355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 16356$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 16357 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 16358 16359$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 16360 16361 fi 16362 INTL_MACOSX_LIBS= 16363 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 16364 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 16365 fi 16366 16367 16368 16369 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 16370if test "x$ac_cv_header_libintl_h" = xyes; then : 16371 gt_cv_func_dgettext_libintl="no" 16372 libintl_extra_libs="" 16373 16374 # 16375 # First check in libc 16376 # 16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 16378$as_echo_n "checking for ngettext in libc... " >&6; } 16379if ${gt_cv_func_ngettext_libc+:} false; then : 16380 $as_echo_n "(cached) " >&6 16381else 16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16383/* end confdefs.h. */ 16384 16385#include <libintl.h> 16386 16387int 16388main () 16389{ 16390return !ngettext ("","", 1) 16391 ; 16392 return 0; 16393} 16394_ACEOF 16395if ac_fn_c_try_link "$LINENO"; then : 16396 gt_cv_func_ngettext_libc=yes 16397else 16398 gt_cv_func_ngettext_libc=no 16399fi 16400rm -f core conftest.err conftest.$ac_objext \ 16401 conftest$ac_exeext conftest.$ac_ext 16402 16403fi 16404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 16405$as_echo "$gt_cv_func_ngettext_libc" >&6; } 16406 16407 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 16409$as_echo_n "checking for dgettext in libc... " >&6; } 16410if ${gt_cv_func_dgettext_libc+:} false; then : 16411 $as_echo_n "(cached) " >&6 16412else 16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16414/* end confdefs.h. */ 16415 16416#include <libintl.h> 16417 16418int 16419main () 16420{ 16421return !dgettext ("","") 16422 ; 16423 return 0; 16424} 16425_ACEOF 16426if ac_fn_c_try_link "$LINENO"; then : 16427 gt_cv_func_dgettext_libc=yes 16428else 16429 gt_cv_func_dgettext_libc=no 16430fi 16431rm -f core conftest.err conftest.$ac_objext \ 16432 conftest$ac_exeext conftest.$ac_ext 16433 16434fi 16435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 16436$as_echo "$gt_cv_func_dgettext_libc" >&6; } 16437 fi 16438 16439 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 16440 for ac_func in bind_textdomain_codeset 16441do : 16442 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 16443if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 16444 cat >>confdefs.h <<_ACEOF 16445#define HAVE_BIND_TEXTDOMAIN_CODESET 1 16446_ACEOF 16447 16448fi 16449done 16450 16451 fi 16452 16453 # 16454 # If we don't have everything we want, check in libintl 16455 # 16456 if test "$gt_cv_func_dgettext_libc" != "yes" \ 16457 || test "$gt_cv_func_ngettext_libc" != "yes" \ 16458 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 16459 16460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 16461$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 16462if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 16463 $as_echo_n "(cached) " >&6 16464else 16465 ac_check_lib_save_LIBS=$LIBS 16466LIBS="-lintl $LIBS" 16467cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16468/* end confdefs.h. */ 16469 16470/* Override any GCC internal prototype to avoid an error. 16471 Use char because int might match the return type of a GCC 16472 builtin and then its argument prototype would still apply. */ 16473#ifdef __cplusplus 16474extern "C" 16475#endif 16476char bindtextdomain (); 16477int 16478main () 16479{ 16480return bindtextdomain (); 16481 ; 16482 return 0; 16483} 16484_ACEOF 16485if ac_fn_c_try_link "$LINENO"; then : 16486 ac_cv_lib_intl_bindtextdomain=yes 16487else 16488 ac_cv_lib_intl_bindtextdomain=no 16489fi 16490rm -f core conftest.err conftest.$ac_objext \ 16491 conftest$ac_exeext conftest.$ac_ext 16492LIBS=$ac_check_lib_save_LIBS 16493fi 16494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 16495$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 16496if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 16497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 16498$as_echo_n "checking for ngettext in -lintl... " >&6; } 16499if ${ac_cv_lib_intl_ngettext+:} false; then : 16500 $as_echo_n "(cached) " >&6 16501else 16502 ac_check_lib_save_LIBS=$LIBS 16503LIBS="-lintl $LIBS" 16504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16505/* end confdefs.h. */ 16506 16507/* Override any GCC internal prototype to avoid an error. 16508 Use char because int might match the return type of a GCC 16509 builtin and then its argument prototype would still apply. */ 16510#ifdef __cplusplus 16511extern "C" 16512#endif 16513char ngettext (); 16514int 16515main () 16516{ 16517return ngettext (); 16518 ; 16519 return 0; 16520} 16521_ACEOF 16522if ac_fn_c_try_link "$LINENO"; then : 16523 ac_cv_lib_intl_ngettext=yes 16524else 16525 ac_cv_lib_intl_ngettext=no 16526fi 16527rm -f core conftest.err conftest.$ac_objext \ 16528 conftest$ac_exeext conftest.$ac_ext 16529LIBS=$ac_check_lib_save_LIBS 16530fi 16531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 16532$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 16533if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 16534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 16535$as_echo_n "checking for dgettext in -lintl... " >&6; } 16536if ${ac_cv_lib_intl_dgettext+:} false; then : 16537 $as_echo_n "(cached) " >&6 16538else 16539 ac_check_lib_save_LIBS=$LIBS 16540LIBS="-lintl $LIBS" 16541cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16542/* end confdefs.h. */ 16543 16544/* Override any GCC internal prototype to avoid an error. 16545 Use char because int might match the return type of a GCC 16546 builtin and then its argument prototype would still apply. */ 16547#ifdef __cplusplus 16548extern "C" 16549#endif 16550char dgettext (); 16551int 16552main () 16553{ 16554return dgettext (); 16555 ; 16556 return 0; 16557} 16558_ACEOF 16559if ac_fn_c_try_link "$LINENO"; then : 16560 ac_cv_lib_intl_dgettext=yes 16561else 16562 ac_cv_lib_intl_dgettext=no 16563fi 16564rm -f core conftest.err conftest.$ac_objext \ 16565 conftest$ac_exeext conftest.$ac_ext 16566LIBS=$ac_check_lib_save_LIBS 16567fi 16568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 16569$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 16570if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 16571 gt_cv_func_dgettext_libintl=yes 16572fi 16573 16574fi 16575 16576fi 16577 16578 16579 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 16581$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 16583$as_echo "" >&6; } 16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 16585$as_echo_n "checking for ngettext in -lintl... " >&6; } 16586if ${ac_cv_lib_intl_ngettext+:} false; then : 16587 $as_echo_n "(cached) " >&6 16588else 16589 ac_check_lib_save_LIBS=$LIBS 16590LIBS="-lintl -liconv $LIBS" 16591cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16592/* end confdefs.h. */ 16593 16594/* Override any GCC internal prototype to avoid an error. 16595 Use char because int might match the return type of a GCC 16596 builtin and then its argument prototype would still apply. */ 16597#ifdef __cplusplus 16598extern "C" 16599#endif 16600char ngettext (); 16601int 16602main () 16603{ 16604return ngettext (); 16605 ; 16606 return 0; 16607} 16608_ACEOF 16609if ac_fn_c_try_link "$LINENO"; then : 16610 ac_cv_lib_intl_ngettext=yes 16611else 16612 ac_cv_lib_intl_ngettext=no 16613fi 16614rm -f core conftest.err conftest.$ac_objext \ 16615 conftest$ac_exeext conftest.$ac_ext 16616LIBS=$ac_check_lib_save_LIBS 16617fi 16618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 16619$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 16620if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 16622$as_echo_n "checking for dcgettext in -lintl... " >&6; } 16623if ${ac_cv_lib_intl_dcgettext+:} false; then : 16624 $as_echo_n "(cached) " >&6 16625else 16626 ac_check_lib_save_LIBS=$LIBS 16627LIBS="-lintl -liconv $LIBS" 16628cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16629/* end confdefs.h. */ 16630 16631/* Override any GCC internal prototype to avoid an error. 16632 Use char because int might match the return type of a GCC 16633 builtin and then its argument prototype would still apply. */ 16634#ifdef __cplusplus 16635extern "C" 16636#endif 16637char dcgettext (); 16638int 16639main () 16640{ 16641return dcgettext (); 16642 ; 16643 return 0; 16644} 16645_ACEOF 16646if ac_fn_c_try_link "$LINENO"; then : 16647 ac_cv_lib_intl_dcgettext=yes 16648else 16649 ac_cv_lib_intl_dcgettext=no 16650fi 16651rm -f core conftest.err conftest.$ac_objext \ 16652 conftest$ac_exeext conftest.$ac_ext 16653LIBS=$ac_check_lib_save_LIBS 16654fi 16655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 16656$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 16657if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 16658 gt_cv_func_dgettext_libintl=yes 16659 libintl_extra_libs=-liconv 16660else 16661 : 16662fi 16663 16664else 16665 : 16666fi 16667 16668 fi 16669 16670 # 16671 # If we found libintl, then check in it for bind_textdomain_codeset(); 16672 # we'll prefer libc if neither have bind_textdomain_codeset(), 16673 # and both have dgettext and ngettext 16674 # 16675 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 16676 glib_save_LIBS="$LIBS" 16677 LIBS="$LIBS -lintl $libintl_extra_libs" 16678 unset ac_cv_func_bind_textdomain_codeset 16679 for ac_func in bind_textdomain_codeset 16680do : 16681 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 16682if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 16683 cat >>confdefs.h <<_ACEOF 16684#define HAVE_BIND_TEXTDOMAIN_CODESET 1 16685_ACEOF 16686 16687fi 16688done 16689 16690 LIBS="$glib_save_LIBS" 16691 16692 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 16693 gt_cv_func_dgettext_libc=no 16694 else 16695 if test "$gt_cv_func_dgettext_libc" = "yes" \ 16696 && test "$gt_cv_func_ngettext_libc" = "yes"; then 16697 gt_cv_func_dgettext_libintl=no 16698 fi 16699 fi 16700 fi 16701 fi 16702 16703 if test "$gt_cv_func_dgettext_libc" = "yes" \ 16704 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 16705 gt_cv_have_gettext=yes 16706 fi 16707 16708 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 16709 INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" 16710 fi 16711 16712 if test "$gt_cv_have_gettext" = "yes"; then 16713 16714$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 16715 16716 # Extract the first word of "msgfmt", so it can be a program name with args. 16717set dummy msgfmt; ac_word=$2 16718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16719$as_echo_n "checking for $ac_word... " >&6; } 16720if ${ac_cv_path_MSGFMT+:} false; then : 16721 $as_echo_n "(cached) " >&6 16722else 16723 case "$MSGFMT" in 16724 /*) 16725 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 16726 ;; 16727 *) 16728 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 16729 for ac_dir in $PATH; do 16730 test -z "$ac_dir" && ac_dir=. 16731 if test -f $ac_dir/$ac_word; then 16732 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 16733 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 16734 break 16735 fi 16736 fi 16737 done 16738 IFS="$ac_save_ifs" 16739 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 16740 ;; 16741esac 16742fi 16743MSGFMT="$ac_cv_path_MSGFMT" 16744if test "$MSGFMT" != "no"; then 16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 16746$as_echo "$MSGFMT" >&6; } 16747else 16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16749$as_echo "no" >&6; } 16750fi 16751 if test "$MSGFMT" != "no"; then 16752 glib_save_LIBS="$LIBS" 16753 LIBS="$LIBS $INTLLIBS" 16754 for ac_func in dcgettext 16755do : 16756 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 16757if test "x$ac_cv_func_dcgettext" = xyes; then : 16758 cat >>confdefs.h <<_ACEOF 16759#define HAVE_DCGETTEXT 1 16760_ACEOF 16761 16762fi 16763done 16764 16765 MSGFMT_OPTS= 16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 16767$as_echo_n "checking if msgfmt accepts -c... " >&6; } 16768 cat >conftest.foo <<_ACEOF 16769 16770msgid "" 16771msgstr "" 16772"Content-Type: text/plain; charset=UTF-8\n" 16773"Project-Id-Version: test 1.0\n" 16774"PO-Revision-Date: 2007-02-15 12:01+0100\n" 16775"Last-Translator: test <foo@bar.xx>\n" 16776"Language-Team: C <LL@li.org>\n" 16777"MIME-Version: 1.0\n" 16778"Content-Transfer-Encoding: 8bit\n" 16779 16780_ACEOF 16781if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 16782 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 16783 ac_status=$? 16784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16785 test $ac_status = 0; }; then 16786 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16787$as_echo "yes" >&6; } 16788else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16789$as_echo "no" >&6; } 16790echo "$as_me: failed input was:" >&5 16791sed 's/^/| /' conftest.foo >&5 16792fi 16793 16794 # Extract the first word of "gmsgfmt", so it can be a program name with args. 16795set dummy gmsgfmt; ac_word=$2 16796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16797$as_echo_n "checking for $ac_word... " >&6; } 16798if ${ac_cv_path_GMSGFMT+:} false; then : 16799 $as_echo_n "(cached) " >&6 16800else 16801 case $GMSGFMT in 16802 [\\/]* | ?:[\\/]*) 16803 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 16804 ;; 16805 *) 16806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16807for as_dir in $PATH 16808do 16809 IFS=$as_save_IFS 16810 test -z "$as_dir" && as_dir=. 16811 for ac_exec_ext in '' $ac_executable_extensions; do 16812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16813 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 16814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16815 break 2 16816 fi 16817done 16818 done 16819IFS=$as_save_IFS 16820 16821 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 16822 ;; 16823esac 16824fi 16825GMSGFMT=$ac_cv_path_GMSGFMT 16826if test -n "$GMSGFMT"; then 16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 16828$as_echo "$GMSGFMT" >&6; } 16829else 16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16831$as_echo "no" >&6; } 16832fi 16833 16834 16835 # Extract the first word of "xgettext", so it can be a program name with args. 16836set dummy xgettext; ac_word=$2 16837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16838$as_echo_n "checking for $ac_word... " >&6; } 16839if ${ac_cv_path_XGETTEXT+:} false; then : 16840 $as_echo_n "(cached) " >&6 16841else 16842 case "$XGETTEXT" in 16843 /*) 16844 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 16845 ;; 16846 *) 16847 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 16848 for ac_dir in $PATH; do 16849 test -z "$ac_dir" && ac_dir=. 16850 if test -f $ac_dir/$ac_word; then 16851 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 16852 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 16853 break 16854 fi 16855 fi 16856 done 16857 IFS="$ac_save_ifs" 16858 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 16859 ;; 16860esac 16861fi 16862XGETTEXT="$ac_cv_path_XGETTEXT" 16863if test "$XGETTEXT" != ":"; then 16864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 16865$as_echo "$XGETTEXT" >&6; } 16866else 16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16868$as_echo "no" >&6; } 16869fi 16870 16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16872/* end confdefs.h. */ 16873 16874int 16875main () 16876{ 16877extern int _nl_msg_cat_cntr; 16878 return _nl_msg_cat_cntr 16879 ; 16880 return 0; 16881} 16882_ACEOF 16883if ac_fn_c_try_link "$LINENO"; then : 16884 CATOBJEXT=.gmo 16885 DATADIRNAME=share 16886else 16887 case $host in 16888 *-*-solaris*) 16889 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 16890if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 16891 CATOBJEXT=.gmo 16892 DATADIRNAME=share 16893else 16894 CATOBJEXT=.mo 16895 DATADIRNAME=share 16896fi 16897 16898 ;; 16899 *-*-openbsd*) 16900 CATOBJEXT=.mo 16901 DATADIRNAME=share 16902 ;; 16903 *) 16904 CATOBJEXT=.mo 16905 DATADIRNAME=share 16906 ;; 16907 esac 16908fi 16909rm -f core conftest.err conftest.$ac_objext \ 16910 conftest$ac_exeext conftest.$ac_ext 16911 LIBS="$glib_save_LIBS" 16912 INSTOBJEXT=.mo 16913 else 16914 gt_cv_have_gettext=no 16915 fi 16916 fi 16917 16918fi 16919 16920 16921 16922 if test "$gt_cv_have_gettext" = "yes" ; then 16923 16924$as_echo "#define ENABLE_NLS 1" >>confdefs.h 16925 16926 fi 16927 16928 if test "$XGETTEXT" != ":"; then 16929 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 16930 : ; 16931 else 16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 16933$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 16934 XGETTEXT=":" 16935 fi 16936 fi 16937 16938 # We need to process the po/ directory. 16939 POSUB=po 16940 16941 ac_config_commands="$ac_config_commands default-1" 16942 16943 16944 for lang in $ALL_LINGUAS; do 16945 GMOFILES="$GMOFILES $lang.gmo" 16946 POFILES="$POFILES $lang.po" 16947 done 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 if test "$gt_cv_have_gettext" = "yes"; then 16962 if test "x$ALL_LINGUAS" = "x"; then 16963 LINGUAS= 16964 else 16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 16966$as_echo_n "checking for catalogs to be installed... " >&6; } 16967 NEW_LINGUAS= 16968 for presentlang in $ALL_LINGUAS; do 16969 useit=no 16970 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 16971 desiredlanguages="$LINGUAS" 16972 else 16973 desiredlanguages="$ALL_LINGUAS" 16974 fi 16975 for desiredlang in $desiredlanguages; do 16976 # Use the presentlang catalog if desiredlang is 16977 # a. equal to presentlang, or 16978 # b. a variant of presentlang (because in this case, 16979 # presentlang can be used as a fallback for messages 16980 # which are not translated in the desiredlang catalog). 16981 case "$desiredlang" in 16982 "$presentlang"*) useit=yes;; 16983 esac 16984 done 16985 if test $useit = yes; then 16986 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 16987 fi 16988 done 16989 LINGUAS=$NEW_LINGUAS 16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 16991$as_echo "$LINGUAS" >&6; } 16992 fi 16993 16994 if test -n "$LINGUAS"; then 16995 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 16996 fi 16997 fi 16998 16999 MKINSTALLDIRS= 17000 if test -n "$ac_aux_dir"; then 17001 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 17002 fi 17003 if test -z "$MKINSTALLDIRS"; then 17004 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 17005 fi 17006 17007 17008 test -d po || mkdir po 17009 if test "x$srcdir" != "x."; then 17010 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 17011 posrcprefix="$srcdir/" 17012 else 17013 posrcprefix="../$srcdir/" 17014 fi 17015 else 17016 posrcprefix="../" 17017 fi 17018 rm -f po/POTFILES 17019 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 17020 < $srcdir/po/POTFILES.in > po/POTFILES 17021 17022glib_save_prefix="$prefix" 17023glib_save_exec_prefix="$exec_prefix" 17024glib_save_datarootdir="$datarootdir" 17025test "x$prefix" = xNONE && prefix=$ac_default_prefix 17026test "x$exec_prefix" = xNONE && exec_prefix=$prefix 17027datarootdir=`eval echo "${datarootdir}"` 17028if test "x$CATOBJEXT" = "x.mo" ; then 17029 localedir=`eval echo "${libdir}/locale"` 17030else 17031 localedir=`eval echo "${datadir}/locale"` 17032fi 17033prefix="$glib_save_prefix" 17034exec_prefix="$glib_save_exec_prefix" 17035datarootdir="$glib_save_datarootdir" 17036 17037cat >>confdefs.h <<_ACEOF 17038#define GNOMELOCALEDIR "$localedir" 17039_ACEOF 17040 17041 17042fi 17043 17044 if test x"$build_nautilus" = "xyes"; then 17045 BUILD_NAUTILUS_TRUE= 17046 BUILD_NAUTILUS_FALSE='#' 17047else 17048 BUILD_NAUTILUS_TRUE='#' 17049 BUILD_NAUTILUS_FALSE= 17050fi 17051 17052 17053# 17054# Installation path for plugins 17055# 17056 17057BRASERO_PLUGIN_DIRECTORY=${libdir}/brasero3/plugins 17058 17059 17060LIBBURN_REQUIRED=0.4.0 17061LIBISOFS_REQUIRED=0.6.4 17062 17063# Check whether --enable-libburnia was given. 17064if test "${enable_libburnia+set}" = set; then : 17065 enableval=$enable_libburnia; enable_libburnia=$enableval 17066else 17067 enable_libburnia="yes" 17068fi 17069 17070 17071if test x"$enable_libburnia" = "xyes"; then 17072 17073pkg_failed=no 17074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBBURNIA" >&5 17075$as_echo_n "checking for LIBBURNIA... " >&6; } 17076 17077if test -n "$LIBBURNIA_CFLAGS"; then 17078 pkg_cv_LIBBURNIA_CFLAGS="$LIBBURNIA_CFLAGS" 17079 elif test -n "$PKG_CONFIG"; then 17080 if test -n "$PKG_CONFIG" && \ 17081 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libburn-1 >= \$LIBBURN_REQUIRED libisofs-1 >= \$LIBISOFS_REQUIRED\""; } >&5 17082 ($PKG_CONFIG --exists --print-errors "libburn-1 >= $LIBBURN_REQUIRED libisofs-1 >= $LIBISOFS_REQUIRED") 2>&5 17083 ac_status=$? 17084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17085 test $ac_status = 0; }; then 17086 pkg_cv_LIBBURNIA_CFLAGS=`$PKG_CONFIG --cflags "libburn-1 >= $LIBBURN_REQUIRED libisofs-1 >= $LIBISOFS_REQUIRED" 2>/dev/null` 17087 test "x$?" != "x0" && pkg_failed=yes 17088else 17089 pkg_failed=yes 17090fi 17091 else 17092 pkg_failed=untried 17093fi 17094if test -n "$LIBBURNIA_LIBS"; then 17095 pkg_cv_LIBBURNIA_LIBS="$LIBBURNIA_LIBS" 17096 elif test -n "$PKG_CONFIG"; then 17097 if test -n "$PKG_CONFIG" && \ 17098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libburn-1 >= \$LIBBURN_REQUIRED libisofs-1 >= \$LIBISOFS_REQUIRED\""; } >&5 17099 ($PKG_CONFIG --exists --print-errors "libburn-1 >= $LIBBURN_REQUIRED libisofs-1 >= $LIBISOFS_REQUIRED") 2>&5 17100 ac_status=$? 17101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17102 test $ac_status = 0; }; then 17103 pkg_cv_LIBBURNIA_LIBS=`$PKG_CONFIG --libs "libburn-1 >= $LIBBURN_REQUIRED libisofs-1 >= $LIBISOFS_REQUIRED" 2>/dev/null` 17104 test "x$?" != "x0" && pkg_failed=yes 17105else 17106 pkg_failed=yes 17107fi 17108 else 17109 pkg_failed=untried 17110fi 17111 17112 17113 17114if test $pkg_failed = yes; then 17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17116$as_echo "no" >&6; } 17117 17118if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17119 _pkg_short_errors_supported=yes 17120else 17121 _pkg_short_errors_supported=no 17122fi 17123 if test $_pkg_short_errors_supported = yes; then 17124 LIBBURNIA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libburn-1 >= $LIBBURN_REQUIRED libisofs-1 >= $LIBISOFS_REQUIRED" 2>&1` 17125 else 17126 LIBBURNIA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libburn-1 >= $LIBBURN_REQUIRED libisofs-1 >= $LIBISOFS_REQUIRED" 2>&1` 17127 fi 17128 # Put the nasty error message in config.log where it belongs 17129 echo "$LIBBURNIA_PKG_ERRORS" >&5 17130 17131 build_libburnia=no 17132elif test $pkg_failed = untried; then 17133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17134$as_echo "no" >&6; } 17135 build_libburnia=no 17136else 17137 LIBBURNIA_CFLAGS=$pkg_cv_LIBBURNIA_CFLAGS 17138 LIBBURNIA_LIBS=$pkg_cv_LIBBURNIA_LIBS 17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17140$as_echo "yes" >&6; } 17141 build_libburnia=yes 17142fi 17143else 17144 build_libburnia="no" 17145fi 17146 17147if test x"$build_libburnia" = "xyes"; then 17148 17149 17150 17151 BRASERO_LIBBURNIA_CFLAGS="$LIBBURNIA_CFLAGS" 17152 BRASERO_LIBBURNIA_LIBS="$LIBBURNIA_LIBS" 17153 17154$as_echo "#define BUILD_LIBBURNIA 1" >>confdefs.h 17155 17156fi 17157 if test x"$build_libburnia" = "xyes"; then 17158 BUILD_LIBBURNIA_TRUE= 17159 BUILD_LIBBURNIA_FALSE='#' 17160else 17161 BUILD_LIBBURNIA_TRUE='#' 17162 BUILD_LIBBURNIA_FALSE= 17163fi 17164 17165 17166# Check whether --enable-cdrtools was given. 17167if test "${enable_cdrtools+set}" = set; then : 17168 enableval=$enable_cdrtools; build_cdrtools=$enableval 17169else 17170 build_cdrtools="yes" 17171fi 17172 17173 17174if test x"$build_cdrtools" = "xyes"; then 17175 17176$as_echo "#define BUILD_CDRTOOLS 1" >>confdefs.h 17177 17178else 17179 build_cdrtools="no" 17180fi 17181 if test x"$build_cdrtools" = "xyes"; then 17182 BUILD_CDRTOOLS_TRUE= 17183 BUILD_CDRTOOLS_FALSE='#' 17184else 17185 BUILD_CDRTOOLS_TRUE='#' 17186 BUILD_CDRTOOLS_FALSE= 17187fi 17188 17189 17190# Check whether --enable-cdrdao was given. 17191if test "${enable_cdrdao+set}" = set; then : 17192 enableval=$enable_cdrdao; build_cdrdao=$enableval 17193else 17194 build_cdrdao="yes" 17195fi 17196 17197 17198if test x"$build_cdrdao" = "xyes"; then 17199 17200$as_echo "#define BUILD_CDRDAO 1" >>confdefs.h 17201 17202else 17203 build_cdrdao="no" 17204fi 17205 if test x"$build_cdrdao" = "xyes"; then 17206 BUILD_CDRDAO_TRUE= 17207 BUILD_CDRDAO_FALSE='#' 17208else 17209 BUILD_CDRDAO_TRUE='#' 17210 BUILD_CDRDAO_FALSE= 17211fi 17212 17213 17214# Check whether --enable-cdrkit was given. 17215if test "${enable_cdrkit+set}" = set; then : 17216 enableval=$enable_cdrkit; build_cdrkit=$enableval 17217else 17218 build_cdrkit="yes" 17219fi 17220 17221 17222if test x"$build_cdrkit" = "xyes"; then 17223 17224$as_echo "#define BUILD_CDRKIT 1" >>confdefs.h 17225 17226else 17227 build_cdrkit="no" 17228fi 17229 if test x"$build_cdrkit" = "xyes"; then 17230 BUILD_CDRKIT_TRUE= 17231 BUILD_CDRKIT_FALSE='#' 17232else 17233 BUILD_CDRKIT_TRUE='#' 17234 BUILD_CDRKIT_FALSE= 17235fi 17236 17237 17238# Check whether --enable-growisofs was given. 17239if test "${enable_growisofs+set}" = set; then : 17240 enableval=$enable_growisofs; build_growisofs=$enableval 17241else 17242 build_growisofs="yes" 17243fi 17244 17245 17246if test x"$build_growisofs" = "xyes"; then 17247 17248$as_echo "#define BUILD_GROWISOFS 1" >>confdefs.h 17249 17250else 17251 build_growisofs="no" 17252fi 17253 if test x"$build_growisofs" = "xyes"; then 17254 BUILD_GROWISOFS_TRUE= 17255 BUILD_GROWISOFS_FALSE='#' 17256else 17257 BUILD_GROWISOFS_TRUE='#' 17258 BUILD_GROWISOFS_FALSE= 17259fi 17260 17261 17262TRACKER_REQUIRED=0.10.0 17263 17264# Check whether --enable-search was given. 17265if test "${enable_search+set}" = set; then : 17266 enableval=$enable_search; case "$enableval" in 17267 "auto"|"yes"|"no") ;; 17268 *) echo "Unknown option"; exit 2 ;; 17269 esac 17270else 17271 enable_search="auto" 17272fi 17273 17274 17275if test x"$enable_search" != "xno"; then 17276 # Try to figure out the tracker API version to use 17277 tracker_api="0.10" 17278 if test -n "$PKG_CONFIG" && \ 17279 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-0.10 >= \$TRACKER_REQUIRED\""; } >&5 17280 ($PKG_CONFIG --exists --print-errors "tracker-sparql-0.10 >= $TRACKER_REQUIRED") 2>&5 17281 ac_status=$? 17282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17283 test $ac_status = 0; }; then 17284 tracker_api="0.10" 17285fi 17286 if test -n "$PKG_CONFIG" && \ 17287 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-0.12 >= \$TRACKER_REQUIRED\""; } >&5 17288 ($PKG_CONFIG --exists --print-errors "tracker-sparql-0.12 >= $TRACKER_REQUIRED") 2>&5 17289 ac_status=$? 17290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17291 test $ac_status = 0; }; then 17292 tracker_api="0.12" 17293fi 17294 if test -n "$PKG_CONFIG" && \ 17295 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-0.14 >= \$TRACKER_REQUIRED\""; } >&5 17296 ($PKG_CONFIG --exists --print-errors "tracker-sparql-0.14 >= $TRACKER_REQUIRED") 2>&5 17297 ac_status=$? 17298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17299 test $ac_status = 0; }; then 17300 tracker_api="0.14" 17301fi 17302 if test -n "$PKG_CONFIG" && \ 17303 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-0.16 >= \$TRACKER_REQUIRED\""; } >&5 17304 ($PKG_CONFIG --exists --print-errors "tracker-sparql-0.16 >= $TRACKER_REQUIRED") 2>&5 17305 ac_status=$? 17306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17307 test $ac_status = 0; }; then 17308 tracker_api="0.16" 17309fi 17310 if test -n "$PKG_CONFIG" && \ 17311 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-0.18 >= \$TRACKER_REQUIRED\""; } >&5 17312 ($PKG_CONFIG --exists --print-errors "tracker-sparql-0.18 >= $TRACKER_REQUIRED") 2>&5 17313 ac_status=$? 17314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17315 test $ac_status = 0; }; then 17316 tracker_api="0.18" 17317fi 17318 if test -n "$PKG_CONFIG" && \ 17319 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-1.0 >= \$TRACKER_REQUIRED\""; } >&5 17320 ($PKG_CONFIG --exists --print-errors "tracker-sparql-1.0 >= $TRACKER_REQUIRED") 2>&5 17321 ac_status=$? 17322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17323 test $ac_status = 0; }; then 17324 tracker_api="1.0" 17325fi 17326 if test -n "$PKG_CONFIG" && \ 17327 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-2.0 >= \$TRACKER_REQUIRED\""; } >&5 17328 ($PKG_CONFIG --exists --print-errors "tracker-sparql-2.0 >= $TRACKER_REQUIRED") 2>&5 17329 ac_status=$? 17330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17331 test $ac_status = 0; }; then 17332 tracker_api="2.0" 17333fi 17334 if test -n "$PKG_CONFIG" && \ 17335 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-3.0 >= \$TRACKER_REQUIRED\""; } >&5 17336 ($PKG_CONFIG --exists --print-errors "tracker-sparql-3.0 >= $TRACKER_REQUIRED") 2>&5 17337 ac_status=$? 17338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17339 test $ac_status = 0; }; then 17340 tracker_api="3.0" 17341fi 17342 17343fi 17344 17345if test x"$enable_search" = "xauto"; then 17346 if test -n "$PKG_CONFIG" && \ 17347 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-\$tracker_api >= \$TRACKER_REQUIRED\""; } >&5 17348 ($PKG_CONFIG --exists --print-errors "tracker-sparql-$tracker_api >= $TRACKER_REQUIRED") 2>&5 17349 ac_status=$? 17350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17351 test $ac_status = 0; }; then 17352 enable_search=yes 17353else 17354 enable_search=no 17355fi 17356fi 17357 17358if test x"$enable_search" = "xyes"; then 17359 17360pkg_failed=no 17361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_SEARCH" >&5 17362$as_echo_n "checking for BRASERO_SEARCH... " >&6; } 17363 17364if test -n "$BRASERO_SEARCH_CFLAGS"; then 17365 pkg_cv_BRASERO_SEARCH_CFLAGS="$BRASERO_SEARCH_CFLAGS" 17366 elif test -n "$PKG_CONFIG"; then 17367 if test -n "$PKG_CONFIG" && \ 17368 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-\$tracker_api >= \$TRACKER_REQUIRED\""; } >&5 17369 ($PKG_CONFIG --exists --print-errors "tracker-sparql-$tracker_api >= $TRACKER_REQUIRED") 2>&5 17370 ac_status=$? 17371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17372 test $ac_status = 0; }; then 17373 pkg_cv_BRASERO_SEARCH_CFLAGS=`$PKG_CONFIG --cflags "tracker-sparql-$tracker_api >= $TRACKER_REQUIRED" 2>/dev/null` 17374 test "x$?" != "x0" && pkg_failed=yes 17375else 17376 pkg_failed=yes 17377fi 17378 else 17379 pkg_failed=untried 17380fi 17381if test -n "$BRASERO_SEARCH_LIBS"; then 17382 pkg_cv_BRASERO_SEARCH_LIBS="$BRASERO_SEARCH_LIBS" 17383 elif test -n "$PKG_CONFIG"; then 17384 if test -n "$PKG_CONFIG" && \ 17385 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-\$tracker_api >= \$TRACKER_REQUIRED\""; } >&5 17386 ($PKG_CONFIG --exists --print-errors "tracker-sparql-$tracker_api >= $TRACKER_REQUIRED") 2>&5 17387 ac_status=$? 17388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17389 test $ac_status = 0; }; then 17390 pkg_cv_BRASERO_SEARCH_LIBS=`$PKG_CONFIG --libs "tracker-sparql-$tracker_api >= $TRACKER_REQUIRED" 2>/dev/null` 17391 test "x$?" != "x0" && pkg_failed=yes 17392else 17393 pkg_failed=yes 17394fi 17395 else 17396 pkg_failed=untried 17397fi 17398 17399 17400 17401if test $pkg_failed = yes; then 17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17403$as_echo "no" >&6; } 17404 17405if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17406 _pkg_short_errors_supported=yes 17407else 17408 _pkg_short_errors_supported=no 17409fi 17410 if test $_pkg_short_errors_supported = yes; then 17411 BRASERO_SEARCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tracker-sparql-$tracker_api >= $TRACKER_REQUIRED" 2>&1` 17412 else 17413 BRASERO_SEARCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tracker-sparql-$tracker_api >= $TRACKER_REQUIRED" 2>&1` 17414 fi 17415 # Put the nasty error message in config.log where it belongs 17416 echo "$BRASERO_SEARCH_PKG_ERRORS" >&5 17417 17418 as_fn_error $? "Package requirements (tracker-sparql-$tracker_api >= $TRACKER_REQUIRED) were not met: 17419 17420$BRASERO_SEARCH_PKG_ERRORS 17421 17422Consider adjusting the PKG_CONFIG_PATH environment variable if you 17423installed software in a non-standard prefix. 17424 17425Alternatively, you may set the environment variables BRASERO_SEARCH_CFLAGS 17426and BRASERO_SEARCH_LIBS to avoid the need to call pkg-config. 17427See the pkg-config man page for more details." "$LINENO" 5 17428elif test $pkg_failed = untried; then 17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17430$as_echo "no" >&6; } 17431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17432$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17433as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 17434is in your PATH or set the PKG_CONFIG environment variable to the full 17435path to pkg-config. 17436 17437Alternatively, you may set the environment variables BRASERO_SEARCH_CFLAGS 17438and BRASERO_SEARCH_LIBS to avoid the need to call pkg-config. 17439See the pkg-config man page for more details. 17440 17441To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17442See \`config.log' for more details" "$LINENO" 5; } 17443else 17444 BRASERO_SEARCH_CFLAGS=$pkg_cv_BRASERO_SEARCH_CFLAGS 17445 BRASERO_SEARCH_LIBS=$pkg_cv_BRASERO_SEARCH_LIBS 17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17447$as_echo "yes" >&6; } 17448 17449fi 17450 17451$as_echo "#define BUILD_SEARCH 1" >>confdefs.h 17452 17453 17454$as_echo "#define BUILD_TRACKER 1" >>confdefs.h 17455 17456 17457 17458 build_tracker="yes" 17459 build_search="yes" 17460 17461 if test x"$tracker_api" = x"3.0"; then 17462 17463$as_echo "#define HAVE_TRACKER3 1" >>confdefs.h 17464 17465 fi 17466else 17467 build_search="no" 17468fi 17469 17470 if test x"$build_search" = "xyes"; then 17471 BUILD_SEARCH_TRUE= 17472 BUILD_SEARCH_FALSE='#' 17473else 17474 BUILD_SEARCH_TRUE='#' 17475 BUILD_SEARCH_FALSE= 17476fi 17477 17478 if test x"$build_tracker" = "xyes"; then 17479 BUILD_TRACKER_TRUE= 17480 BUILD_TRACKER_FALSE='#' 17481else 17482 BUILD_TRACKER_TRUE='#' 17483 BUILD_TRACKER_FALSE= 17484fi 17485 17486 17487TOTEM_REQUIRED=2.29.1 17488 17489# Check whether --enable-playlist was given. 17490if test "${enable_playlist+set}" = set; then : 17491 enableval=$enable_playlist; enable_playlist=$enableval 17492else 17493 enable_playlist="yes" 17494fi 17495 17496 17497if test x"$enable_playlist" = "xyes"; then 17498 17499pkg_failed=no 17500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_PL_PARSER" >&5 17501$as_echo_n "checking for BRASERO_PL_PARSER... " >&6; } 17502 17503if test -n "$BRASERO_PL_PARSER_CFLAGS"; then 17504 pkg_cv_BRASERO_PL_PARSER_CFLAGS="$BRASERO_PL_PARSER_CFLAGS" 17505 elif test -n "$PKG_CONFIG"; then 17506 if test -n "$PKG_CONFIG" && \ 17507 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"totem-plparser >= \$TOTEM_REQUIRED\""; } >&5 17508 ($PKG_CONFIG --exists --print-errors "totem-plparser >= $TOTEM_REQUIRED") 2>&5 17509 ac_status=$? 17510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17511 test $ac_status = 0; }; then 17512 pkg_cv_BRASERO_PL_PARSER_CFLAGS=`$PKG_CONFIG --cflags "totem-plparser >= $TOTEM_REQUIRED" 2>/dev/null` 17513 test "x$?" != "x0" && pkg_failed=yes 17514else 17515 pkg_failed=yes 17516fi 17517 else 17518 pkg_failed=untried 17519fi 17520if test -n "$BRASERO_PL_PARSER_LIBS"; then 17521 pkg_cv_BRASERO_PL_PARSER_LIBS="$BRASERO_PL_PARSER_LIBS" 17522 elif test -n "$PKG_CONFIG"; then 17523 if test -n "$PKG_CONFIG" && \ 17524 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"totem-plparser >= \$TOTEM_REQUIRED\""; } >&5 17525 ($PKG_CONFIG --exists --print-errors "totem-plparser >= $TOTEM_REQUIRED") 2>&5 17526 ac_status=$? 17527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17528 test $ac_status = 0; }; then 17529 pkg_cv_BRASERO_PL_PARSER_LIBS=`$PKG_CONFIG --libs "totem-plparser >= $TOTEM_REQUIRED" 2>/dev/null` 17530 test "x$?" != "x0" && pkg_failed=yes 17531else 17532 pkg_failed=yes 17533fi 17534 else 17535 pkg_failed=untried 17536fi 17537 17538 17539 17540if test $pkg_failed = yes; then 17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17542$as_echo "no" >&6; } 17543 17544if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17545 _pkg_short_errors_supported=yes 17546else 17547 _pkg_short_errors_supported=no 17548fi 17549 if test $_pkg_short_errors_supported = yes; then 17550 BRASERO_PL_PARSER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "totem-plparser >= $TOTEM_REQUIRED" 2>&1` 17551 else 17552 BRASERO_PL_PARSER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "totem-plparser >= $TOTEM_REQUIRED" 2>&1` 17553 fi 17554 # Put the nasty error message in config.log where it belongs 17555 echo "$BRASERO_PL_PARSER_PKG_ERRORS" >&5 17556 17557 build_totem=no 17558elif test $pkg_failed = untried; then 17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17560$as_echo "no" >&6; } 17561 build_totem=no 17562else 17563 BRASERO_PL_PARSER_CFLAGS=$pkg_cv_BRASERO_PL_PARSER_CFLAGS 17564 BRASERO_PL_PARSER_LIBS=$pkg_cv_BRASERO_PL_PARSER_LIBS 17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17566$as_echo "yes" >&6; } 17567 build_totem=yes 17568fi 17569else 17570 build_totem="no" 17571fi 17572 17573if test x"$build_totem" = "xyes"; then 17574 17575$as_echo "#define BUILD_PLAYLIST 1" >>confdefs.h 17576 17577fi 17578 17579 17580 17581 17582 if test x"$build_totem" = "xyes"; then 17583 BUILD_PLAYLIST_TRUE= 17584 BUILD_PLAYLIST_FALSE='#' 17585else 17586 BUILD_PLAYLIST_TRUE='#' 17587 BUILD_PLAYLIST_FALSE= 17588fi 17589 17590 17591# Check whether --enable-preview was given. 17592if test "${enable_preview+set}" = set; then : 17593 enableval=$enable_preview; enable_preview=$enableval 17594else 17595 enable_preview="yes" 17596fi 17597 17598 17599if test x"$enable_preview" = "xyes"; then 17600 17601pkg_failed=no 17602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BRASERO_GSTREAMER_BASE" >&5 17603$as_echo_n "checking for BRASERO_GSTREAMER_BASE... " >&6; } 17604 17605if test -n "$BRASERO_GSTREAMER_BASE_CFLAGS"; then 17606 pkg_cv_BRASERO_GSTREAMER_BASE_CFLAGS="$BRASERO_GSTREAMER_BASE_CFLAGS" 17607 elif test -n "$PKG_CONFIG"; then 17608 if test -n "$PKG_CONFIG" && \ 17609 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-1.0 >= \$GSTREAMER_MODULE_REQUIRED\""; } >&5 17610 ($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-1.0 >= $GSTREAMER_MODULE_REQUIRED") 2>&5 17611 ac_status=$? 17612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17613 test $ac_status = 0; }; then 17614 pkg_cv_BRASERO_GSTREAMER_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-1.0 >= $GSTREAMER_MODULE_REQUIRED" 2>/dev/null` 17615 test "x$?" != "x0" && pkg_failed=yes 17616else 17617 pkg_failed=yes 17618fi 17619 else 17620 pkg_failed=untried 17621fi 17622if test -n "$BRASERO_GSTREAMER_BASE_LIBS"; then 17623 pkg_cv_BRASERO_GSTREAMER_BASE_LIBS="$BRASERO_GSTREAMER_BASE_LIBS" 17624 elif test -n "$PKG_CONFIG"; then 17625 if test -n "$PKG_CONFIG" && \ 17626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-1.0 >= \$GSTREAMER_MODULE_REQUIRED\""; } >&5 17627 ($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-1.0 >= $GSTREAMER_MODULE_REQUIRED") 2>&5 17628 ac_status=$? 17629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17630 test $ac_status = 0; }; then 17631 pkg_cv_BRASERO_GSTREAMER_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-1.0 >= $GSTREAMER_MODULE_REQUIRED" 2>/dev/null` 17632 test "x$?" != "x0" && pkg_failed=yes 17633else 17634 pkg_failed=yes 17635fi 17636 else 17637 pkg_failed=untried 17638fi 17639 17640 17641 17642if test $pkg_failed = yes; then 17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17644$as_echo "no" >&6; } 17645 17646if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17647 _pkg_short_errors_supported=yes 17648else 17649 _pkg_short_errors_supported=no 17650fi 17651 if test $_pkg_short_errors_supported = yes; then 17652 BRASERO_GSTREAMER_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-plugins-base-1.0 >= $GSTREAMER_MODULE_REQUIRED" 2>&1` 17653 else 17654 BRASERO_GSTREAMER_BASE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-plugins-base-1.0 >= $GSTREAMER_MODULE_REQUIRED" 2>&1` 17655 fi 17656 # Put the nasty error message in config.log where it belongs 17657 echo "$BRASERO_GSTREAMER_BASE_PKG_ERRORS" >&5 17658 17659 build_preview=no 17660elif test $pkg_failed = untried; then 17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17662$as_echo "no" >&6; } 17663 build_preview=no 17664else 17665 BRASERO_GSTREAMER_BASE_CFLAGS=$pkg_cv_BRASERO_GSTREAMER_BASE_CFLAGS 17666 BRASERO_GSTREAMER_BASE_LIBS=$pkg_cv_BRASERO_GSTREAMER_BASE_LIBS 17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17668$as_echo "yes" >&6; } 17669 build_preview=yes 17670fi 17671else 17672 build_preview="no" 17673fi 17674 17675if test x"$build_preview" = "xyes"; then 17676 17677$as_echo "#define BUILD_PREVIEW 1" >>confdefs.h 17678 17679fi 17680 17681 17682 17683 17684 if test x"$build_preview" = "xyes"; then 17685 BUILD_PREVIEW_TRUE= 17686 BUILD_PREVIEW_FALSE='#' 17687else 17688 BUILD_PREVIEW_TRUE='#' 17689 BUILD_PREVIEW_FALSE= 17690fi 17691 17692 17693# Check whether --enable-inotify was given. 17694if test "${enable_inotify+set}" = set; then : 17695 enableval=$enable_inotify; enable_inotify=$enableval 17696else 17697 enable_inotify="yes" 17698fi 17699 17700 17701if test x"$enable_inotify" = "xyes"; then 17702 17703$as_echo "#define BUILD_INOTIFY 1" >>confdefs.h 17704 17705fi 17706 if test x"$enable_inotify" = "xyes"; then 17707 BUILD_INOTIFY_TRUE= 17708 BUILD_INOTIFY_FALSE='#' 17709else 17710 BUILD_INOTIFY_TRUE='#' 17711 BUILD_INOTIFY_FALSE= 17712fi 17713 17714 17715 17716 17717 17718 # Check whether --enable-introspection was given. 17719if test "${enable_introspection+set}" = set; then : 17720 enableval=$enable_introspection; 17721else 17722 enable_introspection=auto 17723fi 17724 17725 17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5 17727$as_echo_n "checking for gobject-introspection... " >&6; } 17728 17729 case $enable_introspection in #( 17730 no) : 17731 found_introspection="no (disabled, use --enable-introspection to enable)" 17732 ;; #( 17733 yes) : 17734 if test -n "$PKG_CONFIG" && \ 17735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5 17736 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5 17737 ac_status=$? 17738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17739 test $ac_status = 0; }; then 17740 : 17741else 17742 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5 17743fi 17744 if test -n "$PKG_CONFIG" && \ 17745 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5 17746 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5 17747 ac_status=$? 17748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17749 test $ac_status = 0; }; then 17750 found_introspection=yes 17751else 17752 as_fn_error $? "You need to have gobject-introspection >= 1.30.0 installed to build brasero" "$LINENO" 5 17753fi 17754 ;; #( 17755 auto) : 17756 if test -n "$PKG_CONFIG" && \ 17757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5 17758 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5 17759 ac_status=$? 17760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17761 test $ac_status = 0; }; then 17762 found_introspection=yes 17763else 17764 found_introspection=no 17765fi 17766 enable_introspection=$found_introspection 17767 ;; #( 17768 *) : 17769 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5 17770 ;; 17771esac 17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5 17773$as_echo "$found_introspection" >&6; } 17774 17775 17776 EXP_VAR=_GI_EXP_DATADIR 17777 FROM_VAR="$datadir" 17778 17779 prefix_save=$prefix 17780 exec_prefix_save=$exec_prefix 17781 17782 if test "x$prefix" = "xNONE"; then 17783 prefix="$ac_default_prefix" 17784 fi 17785 if test "x$exec_prefix" = "xNONE"; then 17786 exec_prefix=$prefix 17787 fi 17788 17789 full_var="$FROM_VAR" 17790 while true; do 17791 new_full_var="`eval echo $full_var`" 17792 if test "x$new_full_var" = "x$full_var"; then break; fi 17793 full_var=$new_full_var 17794 done 17795 17796 full_var=$new_full_var 17797 _GI_EXP_DATADIR="$full_var" 17798 17799 17800 prefix=$prefix_save 17801 exec_prefix=$exec_prefix_save 17802 17803 17804 EXP_VAR=_GI_EXP_LIBDIR 17805 FROM_VAR="$libdir" 17806 17807 prefix_save=$prefix 17808 exec_prefix_save=$exec_prefix 17809 17810 if test "x$prefix" = "xNONE"; then 17811 prefix="$ac_default_prefix" 17812 fi 17813 if test "x$exec_prefix" = "xNONE"; then 17814 exec_prefix=$prefix 17815 fi 17816 17817 full_var="$FROM_VAR" 17818 while true; do 17819 new_full_var="`eval echo $full_var`" 17820 if test "x$new_full_var" = "x$full_var"; then break; fi 17821 full_var=$new_full_var 17822 done 17823 17824 full_var=$new_full_var 17825 _GI_EXP_LIBDIR="$full_var" 17826 17827 17828 prefix=$prefix_save 17829 exec_prefix=$exec_prefix_save 17830 17831 17832 INTROSPECTION_SCANNER= 17833 INTROSPECTION_COMPILER= 17834 INTROSPECTION_GENERATE= 17835 INTROSPECTION_GIRDIR= 17836 INTROSPECTION_TYPELIBDIR= 17837 if test "x$found_introspection" = "xyes"; then 17838 INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` 17839 INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` 17840 INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` 17841 INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0` 17842 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)" 17843 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` 17844 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` 17845 INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection 17846 fi 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 if test "x$found_introspection" = "xyes"; then 17857 HAVE_INTROSPECTION_TRUE= 17858 HAVE_INTROSPECTION_FALSE='#' 17859else 17860 HAVE_INTROSPECTION_TRUE='#' 17861 HAVE_INTROSPECTION_FALSE= 17862fi 17863 17864 17865 17866 17867# Check whether --enable-caches was given. 17868if test "${enable_caches+set}" = set; then : 17869 enableval=$enable_caches; enable_caches=$enableval 17870else 17871 enable_caches="yes" 17872fi 17873 17874 17875 if test x"$enable_caches" = "xyes"; then 17876 UPDATE_CACHES_TRUE= 17877 UPDATE_CACHES_FALSE='#' 17878else 17879 UPDATE_CACHES_TRUE='#' 17880 UPDATE_CACHES_FALSE= 17881fi 17882 17883 17884GETTEXT_PACKAGE=brasero 17885 17886 17887cat >>confdefs.h <<_ACEOF 17888#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 17889_ACEOF 17890 17891 17892 17893 for ac_header in locale.h 17894do : 17895 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 17896if test "x$ac_cv_header_locale_h" = xyes; then : 17897 cat >>confdefs.h <<_ACEOF 17898#define HAVE_LOCALE_H 1 17899_ACEOF 17900 17901fi 17902 17903done 17904 17905 if test $ac_cv_header_locale_h = yes; then 17906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 17907$as_echo_n "checking for LC_MESSAGES... " >&6; } 17908if ${am_cv_val_LC_MESSAGES+:} false; then : 17909 $as_echo_n "(cached) " >&6 17910else 17911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17912/* end confdefs.h. */ 17913#include <locale.h> 17914int 17915main () 17916{ 17917return LC_MESSAGES 17918 ; 17919 return 0; 17920} 17921_ACEOF 17922if ac_fn_c_try_link "$LINENO"; then : 17923 am_cv_val_LC_MESSAGES=yes 17924else 17925 am_cv_val_LC_MESSAGES=no 17926fi 17927rm -f core conftest.err conftest.$ac_objext \ 17928 conftest$ac_exeext conftest.$ac_ext 17929fi 17930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 17931$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 17932 if test $am_cv_val_LC_MESSAGES = yes; then 17933 17934$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 17935 17936 fi 17937 fi 17938 USE_NLS=yes 17939 17940 17941 gt_cv_have_gettext=no 17942 17943 CATOBJEXT=NONE 17944 XGETTEXT=: 17945 INTLLIBS= 17946 17947 17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 17949$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 17950if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 17951 $as_echo_n "(cached) " >&6 17952else 17953 gt_save_LIBS="$LIBS" 17954 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 17955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17956/* end confdefs.h. */ 17957#include <CoreFoundation/CFPreferences.h> 17958int 17959main () 17960{ 17961CFPreferencesCopyAppValue(NULL, NULL) 17962 ; 17963 return 0; 17964} 17965_ACEOF 17966if ac_fn_c_try_link "$LINENO"; then : 17967 gt_cv_func_CFPreferencesCopyAppValue=yes 17968else 17969 gt_cv_func_CFPreferencesCopyAppValue=no 17970fi 17971rm -f core conftest.err conftest.$ac_objext \ 17972 conftest$ac_exeext conftest.$ac_ext 17973 LIBS="$gt_save_LIBS" 17974fi 17975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 17976$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 17977 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 17978 17979$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 17980 17981 fi 17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 17983$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 17984if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 17985 $as_echo_n "(cached) " >&6 17986else 17987 gt_save_LIBS="$LIBS" 17988 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17990/* end confdefs.h. */ 17991#include <CoreFoundation/CFLocale.h> 17992int 17993main () 17994{ 17995CFLocaleCopyCurrent(); 17996 ; 17997 return 0; 17998} 17999_ACEOF 18000if ac_fn_c_try_link "$LINENO"; then : 18001 gt_cv_func_CFLocaleCopyCurrent=yes 18002else 18003 gt_cv_func_CFLocaleCopyCurrent=no 18004fi 18005rm -f core conftest.err conftest.$ac_objext \ 18006 conftest$ac_exeext conftest.$ac_ext 18007 LIBS="$gt_save_LIBS" 18008fi 18009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 18010$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 18011 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18012 18013$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 18014 18015 fi 18016 INTL_MACOSX_LIBS= 18017 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18018 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 18019 fi 18020 18021 18022 18023 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 18024if test "x$ac_cv_header_libintl_h" = xyes; then : 18025 gt_cv_func_dgettext_libintl="no" 18026 libintl_extra_libs="" 18027 18028 # 18029 # First check in libc 18030 # 18031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 18032$as_echo_n "checking for ngettext in libc... " >&6; } 18033if ${gt_cv_func_ngettext_libc+:} false; then : 18034 $as_echo_n "(cached) " >&6 18035else 18036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18037/* end confdefs.h. */ 18038 18039#include <libintl.h> 18040 18041int 18042main () 18043{ 18044return !ngettext ("","", 1) 18045 ; 18046 return 0; 18047} 18048_ACEOF 18049if ac_fn_c_try_link "$LINENO"; then : 18050 gt_cv_func_ngettext_libc=yes 18051else 18052 gt_cv_func_ngettext_libc=no 18053fi 18054rm -f core conftest.err conftest.$ac_objext \ 18055 conftest$ac_exeext conftest.$ac_ext 18056 18057fi 18058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 18059$as_echo "$gt_cv_func_ngettext_libc" >&6; } 18060 18061 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 18062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 18063$as_echo_n "checking for dgettext in libc... " >&6; } 18064if ${gt_cv_func_dgettext_libc+:} false; then : 18065 $as_echo_n "(cached) " >&6 18066else 18067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18068/* end confdefs.h. */ 18069 18070#include <libintl.h> 18071 18072int 18073main () 18074{ 18075return !dgettext ("","") 18076 ; 18077 return 0; 18078} 18079_ACEOF 18080if ac_fn_c_try_link "$LINENO"; then : 18081 gt_cv_func_dgettext_libc=yes 18082else 18083 gt_cv_func_dgettext_libc=no 18084fi 18085rm -f core conftest.err conftest.$ac_objext \ 18086 conftest$ac_exeext conftest.$ac_ext 18087 18088fi 18089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 18090$as_echo "$gt_cv_func_dgettext_libc" >&6; } 18091 fi 18092 18093 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 18094 for ac_func in bind_textdomain_codeset 18095do : 18096 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 18097if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 18098 cat >>confdefs.h <<_ACEOF 18099#define HAVE_BIND_TEXTDOMAIN_CODESET 1 18100_ACEOF 18101 18102fi 18103done 18104 18105 fi 18106 18107 # 18108 # If we don't have everything we want, check in libintl 18109 # 18110 if test "$gt_cv_func_dgettext_libc" != "yes" \ 18111 || test "$gt_cv_func_ngettext_libc" != "yes" \ 18112 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 18113 18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 18115$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 18116if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 18117 $as_echo_n "(cached) " >&6 18118else 18119 ac_check_lib_save_LIBS=$LIBS 18120LIBS="-lintl $LIBS" 18121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18122/* end confdefs.h. */ 18123 18124/* Override any GCC internal prototype to avoid an error. 18125 Use char because int might match the return type of a GCC 18126 builtin and then its argument prototype would still apply. */ 18127#ifdef __cplusplus 18128extern "C" 18129#endif 18130char bindtextdomain (); 18131int 18132main () 18133{ 18134return bindtextdomain (); 18135 ; 18136 return 0; 18137} 18138_ACEOF 18139if ac_fn_c_try_link "$LINENO"; then : 18140 ac_cv_lib_intl_bindtextdomain=yes 18141else 18142 ac_cv_lib_intl_bindtextdomain=no 18143fi 18144rm -f core conftest.err conftest.$ac_objext \ 18145 conftest$ac_exeext conftest.$ac_ext 18146LIBS=$ac_check_lib_save_LIBS 18147fi 18148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 18149$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 18150if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 18151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 18152$as_echo_n "checking for ngettext in -lintl... " >&6; } 18153if ${ac_cv_lib_intl_ngettext+:} false; then : 18154 $as_echo_n "(cached) " >&6 18155else 18156 ac_check_lib_save_LIBS=$LIBS 18157LIBS="-lintl $LIBS" 18158cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18159/* end confdefs.h. */ 18160 18161/* Override any GCC internal prototype to avoid an error. 18162 Use char because int might match the return type of a GCC 18163 builtin and then its argument prototype would still apply. */ 18164#ifdef __cplusplus 18165extern "C" 18166#endif 18167char ngettext (); 18168int 18169main () 18170{ 18171return ngettext (); 18172 ; 18173 return 0; 18174} 18175_ACEOF 18176if ac_fn_c_try_link "$LINENO"; then : 18177 ac_cv_lib_intl_ngettext=yes 18178else 18179 ac_cv_lib_intl_ngettext=no 18180fi 18181rm -f core conftest.err conftest.$ac_objext \ 18182 conftest$ac_exeext conftest.$ac_ext 18183LIBS=$ac_check_lib_save_LIBS 18184fi 18185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 18186$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 18187if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 18188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 18189$as_echo_n "checking for dgettext in -lintl... " >&6; } 18190if ${ac_cv_lib_intl_dgettext+:} false; then : 18191 $as_echo_n "(cached) " >&6 18192else 18193 ac_check_lib_save_LIBS=$LIBS 18194LIBS="-lintl $LIBS" 18195cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18196/* end confdefs.h. */ 18197 18198/* Override any GCC internal prototype to avoid an error. 18199 Use char because int might match the return type of a GCC 18200 builtin and then its argument prototype would still apply. */ 18201#ifdef __cplusplus 18202extern "C" 18203#endif 18204char dgettext (); 18205int 18206main () 18207{ 18208return dgettext (); 18209 ; 18210 return 0; 18211} 18212_ACEOF 18213if ac_fn_c_try_link "$LINENO"; then : 18214 ac_cv_lib_intl_dgettext=yes 18215else 18216 ac_cv_lib_intl_dgettext=no 18217fi 18218rm -f core conftest.err conftest.$ac_objext \ 18219 conftest$ac_exeext conftest.$ac_ext 18220LIBS=$ac_check_lib_save_LIBS 18221fi 18222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 18223$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 18224if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 18225 gt_cv_func_dgettext_libintl=yes 18226fi 18227 18228fi 18229 18230fi 18231 18232 18233 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 18234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 18235$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 18237$as_echo "" >&6; } 18238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 18239$as_echo_n "checking for ngettext in -lintl... " >&6; } 18240if ${ac_cv_lib_intl_ngettext+:} false; then : 18241 $as_echo_n "(cached) " >&6 18242else 18243 ac_check_lib_save_LIBS=$LIBS 18244LIBS="-lintl -liconv $LIBS" 18245cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18246/* end confdefs.h. */ 18247 18248/* Override any GCC internal prototype to avoid an error. 18249 Use char because int might match the return type of a GCC 18250 builtin and then its argument prototype would still apply. */ 18251#ifdef __cplusplus 18252extern "C" 18253#endif 18254char ngettext (); 18255int 18256main () 18257{ 18258return ngettext (); 18259 ; 18260 return 0; 18261} 18262_ACEOF 18263if ac_fn_c_try_link "$LINENO"; then : 18264 ac_cv_lib_intl_ngettext=yes 18265else 18266 ac_cv_lib_intl_ngettext=no 18267fi 18268rm -f core conftest.err conftest.$ac_objext \ 18269 conftest$ac_exeext conftest.$ac_ext 18270LIBS=$ac_check_lib_save_LIBS 18271fi 18272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 18273$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 18274if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 18275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 18276$as_echo_n "checking for dcgettext in -lintl... " >&6; } 18277if ${ac_cv_lib_intl_dcgettext+:} false; then : 18278 $as_echo_n "(cached) " >&6 18279else 18280 ac_check_lib_save_LIBS=$LIBS 18281LIBS="-lintl -liconv $LIBS" 18282cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18283/* end confdefs.h. */ 18284 18285/* Override any GCC internal prototype to avoid an error. 18286 Use char because int might match the return type of a GCC 18287 builtin and then its argument prototype would still apply. */ 18288#ifdef __cplusplus 18289extern "C" 18290#endif 18291char dcgettext (); 18292int 18293main () 18294{ 18295return dcgettext (); 18296 ; 18297 return 0; 18298} 18299_ACEOF 18300if ac_fn_c_try_link "$LINENO"; then : 18301 ac_cv_lib_intl_dcgettext=yes 18302else 18303 ac_cv_lib_intl_dcgettext=no 18304fi 18305rm -f core conftest.err conftest.$ac_objext \ 18306 conftest$ac_exeext conftest.$ac_ext 18307LIBS=$ac_check_lib_save_LIBS 18308fi 18309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 18310$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 18311if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 18312 gt_cv_func_dgettext_libintl=yes 18313 libintl_extra_libs=-liconv 18314else 18315 : 18316fi 18317 18318else 18319 : 18320fi 18321 18322 fi 18323 18324 # 18325 # If we found libintl, then check in it for bind_textdomain_codeset(); 18326 # we'll prefer libc if neither have bind_textdomain_codeset(), 18327 # and both have dgettext and ngettext 18328 # 18329 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 18330 glib_save_LIBS="$LIBS" 18331 LIBS="$LIBS -lintl $libintl_extra_libs" 18332 unset ac_cv_func_bind_textdomain_codeset 18333 for ac_func in bind_textdomain_codeset 18334do : 18335 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 18336if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 18337 cat >>confdefs.h <<_ACEOF 18338#define HAVE_BIND_TEXTDOMAIN_CODESET 1 18339_ACEOF 18340 18341fi 18342done 18343 18344 LIBS="$glib_save_LIBS" 18345 18346 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 18347 gt_cv_func_dgettext_libc=no 18348 else 18349 if test "$gt_cv_func_dgettext_libc" = "yes" \ 18350 && test "$gt_cv_func_ngettext_libc" = "yes"; then 18351 gt_cv_func_dgettext_libintl=no 18352 fi 18353 fi 18354 fi 18355 fi 18356 18357 if test "$gt_cv_func_dgettext_libc" = "yes" \ 18358 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 18359 gt_cv_have_gettext=yes 18360 fi 18361 18362 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 18363 INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" 18364 fi 18365 18366 if test "$gt_cv_have_gettext" = "yes"; then 18367 18368$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 18369 18370 # Extract the first word of "msgfmt", so it can be a program name with args. 18371set dummy msgfmt; ac_word=$2 18372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18373$as_echo_n "checking for $ac_word... " >&6; } 18374if ${ac_cv_path_MSGFMT+:} false; then : 18375 $as_echo_n "(cached) " >&6 18376else 18377 case "$MSGFMT" in 18378 /*) 18379 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 18380 ;; 18381 *) 18382 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 18383 for ac_dir in $PATH; do 18384 test -z "$ac_dir" && ac_dir=. 18385 if test -f $ac_dir/$ac_word; then 18386 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 18387 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 18388 break 18389 fi 18390 fi 18391 done 18392 IFS="$ac_save_ifs" 18393 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 18394 ;; 18395esac 18396fi 18397MSGFMT="$ac_cv_path_MSGFMT" 18398if test "$MSGFMT" != "no"; then 18399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 18400$as_echo "$MSGFMT" >&6; } 18401else 18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18403$as_echo "no" >&6; } 18404fi 18405 if test "$MSGFMT" != "no"; then 18406 glib_save_LIBS="$LIBS" 18407 LIBS="$LIBS $INTLLIBS" 18408 for ac_func in dcgettext 18409do : 18410 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 18411if test "x$ac_cv_func_dcgettext" = xyes; then : 18412 cat >>confdefs.h <<_ACEOF 18413#define HAVE_DCGETTEXT 1 18414_ACEOF 18415 18416fi 18417done 18418 18419 MSGFMT_OPTS= 18420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 18421$as_echo_n "checking if msgfmt accepts -c... " >&6; } 18422 cat >conftest.foo <<_ACEOF 18423 18424msgid "" 18425msgstr "" 18426"Content-Type: text/plain; charset=UTF-8\n" 18427"Project-Id-Version: test 1.0\n" 18428"PO-Revision-Date: 2007-02-15 12:01+0100\n" 18429"Last-Translator: test <foo@bar.xx>\n" 18430"Language-Team: C <LL@li.org>\n" 18431"MIME-Version: 1.0\n" 18432"Content-Transfer-Encoding: 8bit\n" 18433 18434_ACEOF 18435if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 18436 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 18437 ac_status=$? 18438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18439 test $ac_status = 0; }; then 18440 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18441$as_echo "yes" >&6; } 18442else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18443$as_echo "no" >&6; } 18444echo "$as_me: failed input was:" >&5 18445sed 's/^/| /' conftest.foo >&5 18446fi 18447 18448 # Extract the first word of "gmsgfmt", so it can be a program name with args. 18449set dummy gmsgfmt; ac_word=$2 18450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18451$as_echo_n "checking for $ac_word... " >&6; } 18452if ${ac_cv_path_GMSGFMT+:} false; then : 18453 $as_echo_n "(cached) " >&6 18454else 18455 case $GMSGFMT in 18456 [\\/]* | ?:[\\/]*) 18457 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 18458 ;; 18459 *) 18460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18461for as_dir in $PATH 18462do 18463 IFS=$as_save_IFS 18464 test -z "$as_dir" && as_dir=. 18465 for ac_exec_ext in '' $ac_executable_extensions; do 18466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18467 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 18468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18469 break 2 18470 fi 18471done 18472 done 18473IFS=$as_save_IFS 18474 18475 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 18476 ;; 18477esac 18478fi 18479GMSGFMT=$ac_cv_path_GMSGFMT 18480if test -n "$GMSGFMT"; then 18481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 18482$as_echo "$GMSGFMT" >&6; } 18483else 18484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18485$as_echo "no" >&6; } 18486fi 18487 18488 18489 # Extract the first word of "xgettext", so it can be a program name with args. 18490set dummy xgettext; ac_word=$2 18491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18492$as_echo_n "checking for $ac_word... " >&6; } 18493if ${ac_cv_path_XGETTEXT+:} false; then : 18494 $as_echo_n "(cached) " >&6 18495else 18496 case "$XGETTEXT" in 18497 /*) 18498 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 18499 ;; 18500 *) 18501 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 18502 for ac_dir in $PATH; do 18503 test -z "$ac_dir" && ac_dir=. 18504 if test -f $ac_dir/$ac_word; then 18505 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 18506 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 18507 break 18508 fi 18509 fi 18510 done 18511 IFS="$ac_save_ifs" 18512 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 18513 ;; 18514esac 18515fi 18516XGETTEXT="$ac_cv_path_XGETTEXT" 18517if test "$XGETTEXT" != ":"; then 18518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 18519$as_echo "$XGETTEXT" >&6; } 18520else 18521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18522$as_echo "no" >&6; } 18523fi 18524 18525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18526/* end confdefs.h. */ 18527 18528int 18529main () 18530{ 18531extern int _nl_msg_cat_cntr; 18532 return _nl_msg_cat_cntr 18533 ; 18534 return 0; 18535} 18536_ACEOF 18537if ac_fn_c_try_link "$LINENO"; then : 18538 CATOBJEXT=.gmo 18539 DATADIRNAME=share 18540else 18541 case $host in 18542 *-*-solaris*) 18543 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 18544if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 18545 CATOBJEXT=.gmo 18546 DATADIRNAME=share 18547else 18548 CATOBJEXT=.mo 18549 DATADIRNAME=share 18550fi 18551 18552 ;; 18553 *-*-openbsd*) 18554 CATOBJEXT=.mo 18555 DATADIRNAME=share 18556 ;; 18557 *) 18558 CATOBJEXT=.mo 18559 DATADIRNAME=share 18560 ;; 18561 esac 18562fi 18563rm -f core conftest.err conftest.$ac_objext \ 18564 conftest$ac_exeext conftest.$ac_ext 18565 LIBS="$glib_save_LIBS" 18566 INSTOBJEXT=.mo 18567 else 18568 gt_cv_have_gettext=no 18569 fi 18570 fi 18571 18572fi 18573 18574 18575 18576 if test "$gt_cv_have_gettext" = "yes" ; then 18577 18578$as_echo "#define ENABLE_NLS 1" >>confdefs.h 18579 18580 fi 18581 18582 if test "$XGETTEXT" != ":"; then 18583 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 18584 : ; 18585 else 18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 18587$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 18588 XGETTEXT=":" 18589 fi 18590 fi 18591 18592 # We need to process the po/ directory. 18593 POSUB=po 18594 18595 ac_config_commands="$ac_config_commands default-2" 18596 18597 18598 for lang in $ALL_LINGUAS; do 18599 GMOFILES="$GMOFILES $lang.gmo" 18600 POFILES="$POFILES $lang.po" 18601 done 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 if test "$gt_cv_have_gettext" = "yes"; then 18616 if test "x$ALL_LINGUAS" = "x"; then 18617 LINGUAS= 18618 else 18619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 18620$as_echo_n "checking for catalogs to be installed... " >&6; } 18621 NEW_LINGUAS= 18622 for presentlang in $ALL_LINGUAS; do 18623 useit=no 18624 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 18625 desiredlanguages="$LINGUAS" 18626 else 18627 desiredlanguages="$ALL_LINGUAS" 18628 fi 18629 for desiredlang in $desiredlanguages; do 18630 # Use the presentlang catalog if desiredlang is 18631 # a. equal to presentlang, or 18632 # b. a variant of presentlang (because in this case, 18633 # presentlang can be used as a fallback for messages 18634 # which are not translated in the desiredlang catalog). 18635 case "$desiredlang" in 18636 "$presentlang"*) useit=yes;; 18637 esac 18638 done 18639 if test $useit = yes; then 18640 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 18641 fi 18642 done 18643 LINGUAS=$NEW_LINGUAS 18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 18645$as_echo "$LINGUAS" >&6; } 18646 fi 18647 18648 if test -n "$LINGUAS"; then 18649 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 18650 fi 18651 fi 18652 18653 MKINSTALLDIRS= 18654 if test -n "$ac_aux_dir"; then 18655 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 18656 fi 18657 if test -z "$MKINSTALLDIRS"; then 18658 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 18659 fi 18660 18661 18662 test -d po || mkdir po 18663 if test "x$srcdir" != "x."; then 18664 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 18665 posrcprefix="$srcdir/" 18666 else 18667 posrcprefix="../$srcdir/" 18668 fi 18669 else 18670 posrcprefix="../" 18671 fi 18672 rm -f po/POTFILES 18673 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 18674 < $srcdir/po/POTFILES.in > po/POTFILES 18675 18676 18677 18678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 18679$as_echo_n "checking whether NLS is requested... " >&6; } 18680 # Check whether --enable-nls was given. 18681if test "${enable_nls+set}" = set; then : 18682 enableval=$enable_nls; USE_NLS=$enableval 18683else 18684 USE_NLS=yes 18685fi 18686 18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 18688$as_echo "$USE_NLS" >&6; } 18689 18690 18691 18692 18693case "$am__api_version" in 18694 1.01234) 18695 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 18696 ;; 18697 *) 18698 ;; 18699esac 18700 18701INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.50 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 18702INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 18703INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 18704if test -n "0.50"; then 18705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.50" >&5 18706$as_echo_n "checking for intltool >= 0.50... " >&6; } 18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 18708$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 18709 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 18710 as_fn_error $? "Your intltool is too old. You need intltool 0.50 or later." "$LINENO" 5 18711fi 18712 18713# Extract the first word of "intltool-update", so it can be a program name with args. 18714set dummy intltool-update; ac_word=$2 18715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18716$as_echo_n "checking for $ac_word... " >&6; } 18717if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 18718 $as_echo_n "(cached) " >&6 18719else 18720 case $INTLTOOL_UPDATE in 18721 [\\/]* | ?:[\\/]*) 18722 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 18723 ;; 18724 *) 18725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18726for as_dir in $PATH 18727do 18728 IFS=$as_save_IFS 18729 test -z "$as_dir" && as_dir=. 18730 for ac_exec_ext in '' $ac_executable_extensions; do 18731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18732 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 18733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18734 break 2 18735 fi 18736done 18737 done 18738IFS=$as_save_IFS 18739 18740 ;; 18741esac 18742fi 18743INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 18744if test -n "$INTLTOOL_UPDATE"; then 18745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 18746$as_echo "$INTLTOOL_UPDATE" >&6; } 18747else 18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18749$as_echo "no" >&6; } 18750fi 18751 18752 18753# Extract the first word of "intltool-merge", so it can be a program name with args. 18754set dummy intltool-merge; ac_word=$2 18755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18756$as_echo_n "checking for $ac_word... " >&6; } 18757if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 18758 $as_echo_n "(cached) " >&6 18759else 18760 case $INTLTOOL_MERGE in 18761 [\\/]* | ?:[\\/]*) 18762 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 18763 ;; 18764 *) 18765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18766for as_dir in $PATH 18767do 18768 IFS=$as_save_IFS 18769 test -z "$as_dir" && as_dir=. 18770 for ac_exec_ext in '' $ac_executable_extensions; do 18771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18772 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 18773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18774 break 2 18775 fi 18776done 18777 done 18778IFS=$as_save_IFS 18779 18780 ;; 18781esac 18782fi 18783INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 18784if test -n "$INTLTOOL_MERGE"; then 18785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 18786$as_echo "$INTLTOOL_MERGE" >&6; } 18787else 18788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18789$as_echo "no" >&6; } 18790fi 18791 18792 18793# Extract the first word of "intltool-extract", so it can be a program name with args. 18794set dummy intltool-extract; ac_word=$2 18795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18796$as_echo_n "checking for $ac_word... " >&6; } 18797if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 18798 $as_echo_n "(cached) " >&6 18799else 18800 case $INTLTOOL_EXTRACT in 18801 [\\/]* | ?:[\\/]*) 18802 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 18803 ;; 18804 *) 18805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18806for as_dir in $PATH 18807do 18808 IFS=$as_save_IFS 18809 test -z "$as_dir" && as_dir=. 18810 for ac_exec_ext in '' $ac_executable_extensions; do 18811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18812 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 18813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18814 break 2 18815 fi 18816done 18817 done 18818IFS=$as_save_IFS 18819 18820 ;; 18821esac 18822fi 18823INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 18824if test -n "$INTLTOOL_EXTRACT"; then 18825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 18826$as_echo "$INTLTOOL_EXTRACT" >&6; } 18827else 18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18829$as_echo "no" >&6; } 18830fi 18831 18832 18833if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 18834 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 18835fi 18836 18837if test -z "$AM_DEFAULT_VERBOSITY"; then 18838 AM_DEFAULT_VERBOSITY=1 18839fi 18840 18841 18842INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 18843INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 18844INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 18845 18846 18847 18848 18849INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 18850intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 18851intltool__v_merge_options_0='-q' 18852 18853 18854 18855 18856 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 $< $@' 18857INTLTOOL_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 $< $@' 18858 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 $< $@' 18859 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 $< $@' 18860 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 $< $@' 18861 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 $< $@' 18862 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 $< $@' 18863 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 $< $@' 18864INTLTOOL_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 $< $@' 18865 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 $< $@' 18866 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 $< $@' 18867if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 18868 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 $< $@' 18869else 18870 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' 18871fi 18872 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 $< $@' 18873 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 $< $@' 18874 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 $< $@' 18875 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 $< $@' 18876 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 $< $@' 18877 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 $< $@' 18878 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 $< $@' 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976# Check the gettext tools to make sure they are GNU 18977# Extract the first word of "xgettext", so it can be a program name with args. 18978set dummy xgettext; ac_word=$2 18979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18980$as_echo_n "checking for $ac_word... " >&6; } 18981if ${ac_cv_path_XGETTEXT+:} false; then : 18982 $as_echo_n "(cached) " >&6 18983else 18984 case $XGETTEXT in 18985 [\\/]* | ?:[\\/]*) 18986 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 18987 ;; 18988 *) 18989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18990for as_dir in $PATH 18991do 18992 IFS=$as_save_IFS 18993 test -z "$as_dir" && as_dir=. 18994 for ac_exec_ext in '' $ac_executable_extensions; do 18995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18996 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 18997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18998 break 2 18999 fi 19000done 19001 done 19002IFS=$as_save_IFS 19003 19004 ;; 19005esac 19006fi 19007XGETTEXT=$ac_cv_path_XGETTEXT 19008if test -n "$XGETTEXT"; then 19009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 19010$as_echo "$XGETTEXT" >&6; } 19011else 19012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19013$as_echo "no" >&6; } 19014fi 19015 19016 19017# Extract the first word of "msgmerge", so it can be a program name with args. 19018set dummy msgmerge; ac_word=$2 19019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19020$as_echo_n "checking for $ac_word... " >&6; } 19021if ${ac_cv_path_MSGMERGE+:} false; then : 19022 $as_echo_n "(cached) " >&6 19023else 19024 case $MSGMERGE in 19025 [\\/]* | ?:[\\/]*) 19026 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 19027 ;; 19028 *) 19029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19030for as_dir in $PATH 19031do 19032 IFS=$as_save_IFS 19033 test -z "$as_dir" && as_dir=. 19034 for ac_exec_ext in '' $ac_executable_extensions; do 19035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19036 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 19037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19038 break 2 19039 fi 19040done 19041 done 19042IFS=$as_save_IFS 19043 19044 ;; 19045esac 19046fi 19047MSGMERGE=$ac_cv_path_MSGMERGE 19048if test -n "$MSGMERGE"; then 19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 19050$as_echo "$MSGMERGE" >&6; } 19051else 19052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19053$as_echo "no" >&6; } 19054fi 19055 19056 19057# Extract the first word of "msgfmt", so it can be a program name with args. 19058set dummy msgfmt; ac_word=$2 19059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19060$as_echo_n "checking for $ac_word... " >&6; } 19061if ${ac_cv_path_MSGFMT+:} false; then : 19062 $as_echo_n "(cached) " >&6 19063else 19064 case $MSGFMT in 19065 [\\/]* | ?:[\\/]*) 19066 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 19067 ;; 19068 *) 19069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19070for as_dir in $PATH 19071do 19072 IFS=$as_save_IFS 19073 test -z "$as_dir" && as_dir=. 19074 for ac_exec_ext in '' $ac_executable_extensions; do 19075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19076 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 19077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19078 break 2 19079 fi 19080done 19081 done 19082IFS=$as_save_IFS 19083 19084 ;; 19085esac 19086fi 19087MSGFMT=$ac_cv_path_MSGFMT 19088if test -n "$MSGFMT"; then 19089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 19090$as_echo "$MSGFMT" >&6; } 19091else 19092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19093$as_echo "no" >&6; } 19094fi 19095 19096 19097# Extract the first word of "gmsgfmt", so it can be a program name with args. 19098set dummy gmsgfmt; ac_word=$2 19099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19100$as_echo_n "checking for $ac_word... " >&6; } 19101if ${ac_cv_path_GMSGFMT+:} false; then : 19102 $as_echo_n "(cached) " >&6 19103else 19104 case $GMSGFMT in 19105 [\\/]* | ?:[\\/]*) 19106 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 19107 ;; 19108 *) 19109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19110for as_dir in $PATH 19111do 19112 IFS=$as_save_IFS 19113 test -z "$as_dir" && as_dir=. 19114 for ac_exec_ext in '' $ac_executable_extensions; do 19115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19116 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 19117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19118 break 2 19119 fi 19120done 19121 done 19122IFS=$as_save_IFS 19123 19124 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 19125 ;; 19126esac 19127fi 19128GMSGFMT=$ac_cv_path_GMSGFMT 19129if test -n "$GMSGFMT"; then 19130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 19131$as_echo "$GMSGFMT" >&6; } 19132else 19133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19134$as_echo "no" >&6; } 19135fi 19136 19137 19138if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 19139 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 19140fi 19141xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 19142mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 19143mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 19144if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 19145 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 19146fi 19147 19148# Extract the first word of "perl", so it can be a program name with args. 19149set dummy perl; ac_word=$2 19150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19151$as_echo_n "checking for $ac_word... " >&6; } 19152if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 19153 $as_echo_n "(cached) " >&6 19154else 19155 case $INTLTOOL_PERL in 19156 [\\/]* | ?:[\\/]*) 19157 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 19158 ;; 19159 *) 19160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19161for as_dir in $PATH 19162do 19163 IFS=$as_save_IFS 19164 test -z "$as_dir" && as_dir=. 19165 for ac_exec_ext in '' $ac_executable_extensions; do 19166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19167 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 19168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 19169 break 2 19170 fi 19171done 19172 done 19173IFS=$as_save_IFS 19174 19175 ;; 19176esac 19177fi 19178INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 19179if test -n "$INTLTOOL_PERL"; then 19180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 19181$as_echo "$INTLTOOL_PERL" >&6; } 19182else 19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19184$as_echo "no" >&6; } 19185fi 19186 19187 19188if test -z "$INTLTOOL_PERL"; then 19189 as_fn_error $? "perl not found" "$LINENO" 5 19190fi 19191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 19192$as_echo_n "checking for perl >= 5.8.1... " >&6; } 19193$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 19194if test $? -ne 0; then 19195 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 19196else 19197 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 19198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 19199$as_echo "$IT_PERL_VERSION" >&6; } 19200fi 19201if test "x" != "xno-xml"; then 19202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 19203$as_echo_n "checking for XML::Parser... " >&6; } 19204 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 19205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 19206$as_echo "ok" >&6; } 19207 else 19208 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 19209 fi 19210fi 19211 19212# Substitute ALL_LINGUAS so we can use it in po/Makefile 19213 19214 19215 19216 19217 19218 19219if test "x${prefix}" = "xNONE"; then 19220 19221cat >>confdefs.h <<_ACEOF 19222#define PACKAGE_LOCALE_DIR "${ac_default_prefix}/${DATADIRNAME}/locale" 19223_ACEOF 19224 19225else 19226 19227cat >>confdefs.h <<_ACEOF 19228#define PACKAGE_LOCALE_DIR "${prefix}/${DATADIRNAME}/locale" 19229_ACEOF 19230 19231fi 19232 19233 19234ac_config_files="$ac_config_files Makefile docs/Makefile docs/reference/Makefile docs/reference/libbrasero-media/Makefile docs/reference/libbrasero-burn/Makefile docs/reference/libbrasero-media/version.xml docs/reference/libbrasero-burn/version.xml data/Makefile data/brasero.desktop.in data/icons/Makefile data/mime/Makefile help/Makefile nautilus/Makefile nautilus/brasero-nautilus.desktop.in libbrasero-media/Makefile libbrasero-media/brasero-media.h libbrasero-utils/Makefile libbrasero-burn/Makefile libbrasero-burn/brasero-burn-lib.h plugins/Makefile plugins/audio2cue/Makefile plugins/cdrdao/Makefile plugins/cdrkit/Makefile plugins/cdrtools/Makefile plugins/growisofs/Makefile plugins/libburnia/Makefile plugins/transcode/Makefile plugins/dvdcss/Makefile plugins/dvdauthor/Makefile plugins/checksum/Makefile plugins/local-track/Makefile plugins/vcdimager/Makefile po/Makefile.in src/Makefile libbrasero-media3.pc libbrasero-burn3.pc" 19235 19236 19237cat >confcache <<\_ACEOF 19238# This file is a shell script that caches the results of configure 19239# tests run on this system so they can be shared between configure 19240# scripts and configure runs, see configure's option --config-cache. 19241# It is not useful on other systems. If it contains results you don't 19242# want to keep, you may remove or edit it. 19243# 19244# config.status only pays attention to the cache file if you give it 19245# the --recheck option to rerun configure. 19246# 19247# `ac_cv_env_foo' variables (set or unset) will be overridden when 19248# loading this file, other *unset* `ac_cv_foo' will be assigned the 19249# following values. 19250 19251_ACEOF 19252 19253# The following way of writing the cache mishandles newlines in values, 19254# but we know of no workaround that is simple, portable, and efficient. 19255# So, we kill variables containing newlines. 19256# Ultrix sh set writes to stderr and can't be redirected directly, 19257# and sets the high bit in the cache file unless we assign to the vars. 19258( 19259 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 19260 eval ac_val=\$$ac_var 19261 case $ac_val in #( 19262 *${as_nl}*) 19263 case $ac_var in #( 19264 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 19265$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 19266 esac 19267 case $ac_var in #( 19268 _ | IFS | as_nl) ;; #( 19269 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 19270 *) { eval $ac_var=; unset $ac_var;} ;; 19271 esac ;; 19272 esac 19273 done 19274 19275 (set) 2>&1 | 19276 case $as_nl`(ac_space=' '; set) 2>&1` in #( 19277 *${as_nl}ac_space=\ *) 19278 # `set' does not quote correctly, so add quotes: double-quote 19279 # substitution turns \\\\ into \\, and sed turns \\ into \. 19280 sed -n \ 19281 "s/'/'\\\\''/g; 19282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 19283 ;; #( 19284 *) 19285 # `set' quotes correctly as required by POSIX, so do not add quotes. 19286 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 19287 ;; 19288 esac | 19289 sort 19290) | 19291 sed ' 19292 /^ac_cv_env_/b end 19293 t clear 19294 :clear 19295 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 19296 t end 19297 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 19298 :end' >>confcache 19299if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 19300 if test -w "$cache_file"; then 19301 if test "x$cache_file" != "x/dev/null"; then 19302 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 19303$as_echo "$as_me: updating cache $cache_file" >&6;} 19304 if test ! -f "$cache_file" || test -h "$cache_file"; then 19305 cat confcache >"$cache_file" 19306 else 19307 case $cache_file in #( 19308 */* | ?:*) 19309 mv -f confcache "$cache_file"$$ && 19310 mv -f "$cache_file"$$ "$cache_file" ;; #( 19311 *) 19312 mv -f confcache "$cache_file" ;; 19313 esac 19314 fi 19315 fi 19316 else 19317 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 19318$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 19319 fi 19320fi 19321rm -f confcache 19322 19323test "x$prefix" = xNONE && prefix=$ac_default_prefix 19324# Let make expand exec_prefix. 19325test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 19326 19327DEFS=-DHAVE_CONFIG_H 19328 19329ac_libobjs= 19330ac_ltlibobjs= 19331U= 19332for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 19333 # 1. Remove the extension, and $U if already installed. 19334 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 19335 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 19336 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 19337 # will be set to the directory where LIBOBJS objects are built. 19338 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 19339 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 19340done 19341LIBOBJS=$ac_libobjs 19342 19343LTLIBOBJS=$ac_ltlibobjs 19344 19345 19346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 19347$as_echo_n "checking that generated files are newer than configure... " >&6; } 19348 if test -n "$am_sleep_pid"; then 19349 # Hide warnings about reused PIDs. 19350 wait $am_sleep_pid 2>/dev/null 19351 fi 19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 19353$as_echo "done" >&6; } 19354 if test -n "$EXEEXT"; then 19355 am__EXEEXT_TRUE= 19356 am__EXEEXT_FALSE='#' 19357else 19358 am__EXEEXT_TRUE='#' 19359 am__EXEEXT_FALSE= 19360fi 19361 19362if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 19363 as_fn_error $? "conditional \"AMDEP\" was never defined. 19364Usually this means the macro was only invoked conditionally." "$LINENO" 5 19365fi 19366if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 19367 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 19368Usually this means the macro was only invoked conditionally." "$LINENO" 5 19369fi 19370if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 19371 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 19372Usually this means the macro was only invoked conditionally." "$LINENO" 5 19373fi 19374if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then 19375 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined. 19376Usually this means the macro was only invoked conditionally." "$LINENO" 5 19377fi 19378if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then 19379 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. 19380Usually this means the macro was only invoked conditionally." "$LINENO" 5 19381fi 19382if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then 19383 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. 19384Usually this means the macro was only invoked conditionally." "$LINENO" 5 19385fi 19386if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then 19387 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. 19388Usually this means the macro was only invoked conditionally." "$LINENO" 5 19389fi 19390if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then 19391 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 19392Usually this means the macro was only invoked conditionally." "$LINENO" 5 19393fi 19394if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then 19395 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. 19396Usually this means the macro was only invoked conditionally." "$LINENO" 5 19397fi 19398if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 19399 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 19400Usually this means the macro was only invoked conditionally." "$LINENO" 5 19401fi 19402if test -z "${HAVE_CAM_LIB_H_TRUE}" && test -z "${HAVE_CAM_LIB_H_FALSE}"; then 19403 as_fn_error $? "conditional \"HAVE_CAM_LIB_H\" was never defined. 19404Usually this means the macro was only invoked conditionally." "$LINENO" 5 19405fi 19406if test -z "${HAVE_SG_IO_HDR_T_TRUE}" && test -z "${HAVE_SG_IO_HDR_T_FALSE}"; then 19407 as_fn_error $? "conditional \"HAVE_SG_IO_HDR_T\" was never defined. 19408Usually this means the macro was only invoked conditionally." "$LINENO" 5 19409fi 19410if test -z "${HAVE_USCSI_H_TRUE}" && test -z "${HAVE_USCSI_H_FALSE}"; then 19411 as_fn_error $? "conditional \"HAVE_USCSI_H\" was never defined. 19412Usually this means the macro was only invoked conditionally." "$LINENO" 5 19413fi 19414if test -z "${HAVE_SCSIIO_H_TRUE}" && test -z "${HAVE_SCSIIO_H_FALSE}"; then 19415 as_fn_error $? "conditional \"HAVE_SCSIIO_H\" was never defined. 19416Usually this means the macro was only invoked conditionally." "$LINENO" 5 19417fi 19418if test -z "${BUILD_NAUTILUS_TRUE}" && test -z "${BUILD_NAUTILUS_FALSE}"; then 19419 as_fn_error $? "conditional \"BUILD_NAUTILUS\" was never defined. 19420Usually this means the macro was only invoked conditionally." "$LINENO" 5 19421fi 19422if test -z "${BUILD_LIBBURNIA_TRUE}" && test -z "${BUILD_LIBBURNIA_FALSE}"; then 19423 as_fn_error $? "conditional \"BUILD_LIBBURNIA\" was never defined. 19424Usually this means the macro was only invoked conditionally." "$LINENO" 5 19425fi 19426if test -z "${BUILD_CDRTOOLS_TRUE}" && test -z "${BUILD_CDRTOOLS_FALSE}"; then 19427 as_fn_error $? "conditional \"BUILD_CDRTOOLS\" was never defined. 19428Usually this means the macro was only invoked conditionally." "$LINENO" 5 19429fi 19430if test -z "${BUILD_CDRDAO_TRUE}" && test -z "${BUILD_CDRDAO_FALSE}"; then 19431 as_fn_error $? "conditional \"BUILD_CDRDAO\" was never defined. 19432Usually this means the macro was only invoked conditionally." "$LINENO" 5 19433fi 19434if test -z "${BUILD_CDRKIT_TRUE}" && test -z "${BUILD_CDRKIT_FALSE}"; then 19435 as_fn_error $? "conditional \"BUILD_CDRKIT\" was never defined. 19436Usually this means the macro was only invoked conditionally." "$LINENO" 5 19437fi 19438if test -z "${BUILD_GROWISOFS_TRUE}" && test -z "${BUILD_GROWISOFS_FALSE}"; then 19439 as_fn_error $? "conditional \"BUILD_GROWISOFS\" was never defined. 19440Usually this means the macro was only invoked conditionally." "$LINENO" 5 19441fi 19442if test -z "${BUILD_SEARCH_TRUE}" && test -z "${BUILD_SEARCH_FALSE}"; then 19443 as_fn_error $? "conditional \"BUILD_SEARCH\" was never defined. 19444Usually this means the macro was only invoked conditionally." "$LINENO" 5 19445fi 19446if test -z "${BUILD_TRACKER_TRUE}" && test -z "${BUILD_TRACKER_FALSE}"; then 19447 as_fn_error $? "conditional \"BUILD_TRACKER\" was never defined. 19448Usually this means the macro was only invoked conditionally." "$LINENO" 5 19449fi 19450if test -z "${BUILD_PLAYLIST_TRUE}" && test -z "${BUILD_PLAYLIST_FALSE}"; then 19451 as_fn_error $? "conditional \"BUILD_PLAYLIST\" was never defined. 19452Usually this means the macro was only invoked conditionally." "$LINENO" 5 19453fi 19454if test -z "${BUILD_PREVIEW_TRUE}" && test -z "${BUILD_PREVIEW_FALSE}"; then 19455 as_fn_error $? "conditional \"BUILD_PREVIEW\" was never defined. 19456Usually this means the macro was only invoked conditionally." "$LINENO" 5 19457fi 19458if test -z "${BUILD_INOTIFY_TRUE}" && test -z "${BUILD_INOTIFY_FALSE}"; then 19459 as_fn_error $? "conditional \"BUILD_INOTIFY\" was never defined. 19460Usually this means the macro was only invoked conditionally." "$LINENO" 5 19461fi 19462if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then 19463 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. 19464Usually this means the macro was only invoked conditionally." "$LINENO" 5 19465fi 19466if test -z "${UPDATE_CACHES_TRUE}" && test -z "${UPDATE_CACHES_FALSE}"; then 19467 as_fn_error $? "conditional \"UPDATE_CACHES\" was never defined. 19468Usually this means the macro was only invoked conditionally." "$LINENO" 5 19469fi 19470 19471 ac_config_commands="$ac_config_commands po/stamp-it" 19472 19473 19474 19475: "${CONFIG_STATUS=./config.status}" 19476ac_write_fail=0 19477ac_clean_files_save=$ac_clean_files 19478ac_clean_files="$ac_clean_files $CONFIG_STATUS" 19479{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 19480$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 19481as_write_fail=0 19482cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 19483#! $SHELL 19484# Generated by $as_me. 19485# Run this file to recreate the current configuration. 19486# Compiler output produced by configure, useful for debugging 19487# configure, is in config.log if it exists. 19488 19489debug=false 19490ac_cs_recheck=false 19491ac_cs_silent=false 19492 19493SHELL=\${CONFIG_SHELL-$SHELL} 19494export SHELL 19495_ASEOF 19496cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 19497## -------------------- ## 19498## M4sh Initialization. ## 19499## -------------------- ## 19500 19501# Be more Bourne compatible 19502DUALCASE=1; export DUALCASE # for MKS sh 19503if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 19504 emulate sh 19505 NULLCMD=: 19506 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19507 # is contrary to our usage. Disable this feature. 19508 alias -g '${1+"$@"}'='"$@"' 19509 setopt NO_GLOB_SUBST 19510else 19511 case `(set -o) 2>/dev/null` in #( 19512 *posix*) : 19513 set -o posix ;; #( 19514 *) : 19515 ;; 19516esac 19517fi 19518 19519 19520as_nl=' 19521' 19522export as_nl 19523# Printing a long string crashes Solaris 7 /usr/bin/printf. 19524as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 19525as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 19526as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 19527# Prefer a ksh shell builtin over an external printf program on Solaris, 19528# but without wasting forks for bash or zsh. 19529if test -z "$BASH_VERSION$ZSH_VERSION" \ 19530 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 19531 as_echo='print -r --' 19532 as_echo_n='print -rn --' 19533elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 19534 as_echo='printf %s\n' 19535 as_echo_n='printf %s' 19536else 19537 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 19538 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 19539 as_echo_n='/usr/ucb/echo -n' 19540 else 19541 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 19542 as_echo_n_body='eval 19543 arg=$1; 19544 case $arg in #( 19545 *"$as_nl"*) 19546 expr "X$arg" : "X\\(.*\\)$as_nl"; 19547 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 19548 esac; 19549 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 19550 ' 19551 export as_echo_n_body 19552 as_echo_n='sh -c $as_echo_n_body as_echo' 19553 fi 19554 export as_echo_body 19555 as_echo='sh -c $as_echo_body as_echo' 19556fi 19557 19558# The user is always right. 19559if test "${PATH_SEPARATOR+set}" != set; then 19560 PATH_SEPARATOR=: 19561 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 19562 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 19563 PATH_SEPARATOR=';' 19564 } 19565fi 19566 19567 19568# IFS 19569# We need space, tab and new line, in precisely that order. Quoting is 19570# there to prevent editors from complaining about space-tab. 19571# (If _AS_PATH_WALK were called with IFS unset, it would disable word 19572# splitting by setting IFS to empty value.) 19573IFS=" "" $as_nl" 19574 19575# Find who we are. Look in the path if we contain no directory separator. 19576as_myself= 19577case $0 in #(( 19578 *[\\/]* ) as_myself=$0 ;; 19579 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19580for as_dir in $PATH 19581do 19582 IFS=$as_save_IFS 19583 test -z "$as_dir" && as_dir=. 19584 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 19585 done 19586IFS=$as_save_IFS 19587 19588 ;; 19589esac 19590# We did not find ourselves, most probably we were run as `sh COMMAND' 19591# in which case we are not to be found in the path. 19592if test "x$as_myself" = x; then 19593 as_myself=$0 19594fi 19595if test ! -f "$as_myself"; then 19596 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 19597 exit 1 19598fi 19599 19600# Unset variables that we do not need and which cause bugs (e.g. in 19601# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 19602# suppresses any "Segmentation fault" message there. '((' could 19603# trigger a bug in pdksh 5.2.14. 19604for as_var in BASH_ENV ENV MAIL MAILPATH 19605do eval test x\${$as_var+set} = xset \ 19606 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 19607done 19608PS1='$ ' 19609PS2='> ' 19610PS4='+ ' 19611 19612# NLS nuisances. 19613LC_ALL=C 19614export LC_ALL 19615LANGUAGE=C 19616export LANGUAGE 19617 19618# CDPATH. 19619(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 19620 19621 19622# as_fn_error STATUS ERROR [LINENO LOG_FD] 19623# ---------------------------------------- 19624# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 19625# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 19626# script with STATUS, using 1 if that was 0. 19627as_fn_error () 19628{ 19629 as_status=$1; test $as_status -eq 0 && as_status=1 19630 if test "$4"; then 19631 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 19632 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 19633 fi 19634 $as_echo "$as_me: error: $2" >&2 19635 as_fn_exit $as_status 19636} # as_fn_error 19637 19638 19639# as_fn_set_status STATUS 19640# ----------------------- 19641# Set $? to STATUS, without forking. 19642as_fn_set_status () 19643{ 19644 return $1 19645} # as_fn_set_status 19646 19647# as_fn_exit STATUS 19648# ----------------- 19649# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 19650as_fn_exit () 19651{ 19652 set +e 19653 as_fn_set_status $1 19654 exit $1 19655} # as_fn_exit 19656 19657# as_fn_unset VAR 19658# --------------- 19659# Portably unset VAR. 19660as_fn_unset () 19661{ 19662 { eval $1=; unset $1;} 19663} 19664as_unset=as_fn_unset 19665# as_fn_append VAR VALUE 19666# ---------------------- 19667# Append the text in VALUE to the end of the definition contained in VAR. Take 19668# advantage of any shell optimizations that allow amortized linear growth over 19669# repeated appends, instead of the typical quadratic growth present in naive 19670# implementations. 19671if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 19672 eval 'as_fn_append () 19673 { 19674 eval $1+=\$2 19675 }' 19676else 19677 as_fn_append () 19678 { 19679 eval $1=\$$1\$2 19680 } 19681fi # as_fn_append 19682 19683# as_fn_arith ARG... 19684# ------------------ 19685# Perform arithmetic evaluation on the ARGs, and store the result in the 19686# global $as_val. Take advantage of shells that can avoid forks. The arguments 19687# must be portable across $(()) and expr. 19688if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 19689 eval 'as_fn_arith () 19690 { 19691 as_val=$(( $* )) 19692 }' 19693else 19694 as_fn_arith () 19695 { 19696 as_val=`expr "$@" || test $? -eq 1` 19697 } 19698fi # as_fn_arith 19699 19700 19701if expr a : '\(a\)' >/dev/null 2>&1 && 19702 test "X`expr 00001 : '.*\(...\)'`" = X001; then 19703 as_expr=expr 19704else 19705 as_expr=false 19706fi 19707 19708if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 19709 as_basename=basename 19710else 19711 as_basename=false 19712fi 19713 19714if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 19715 as_dirname=dirname 19716else 19717 as_dirname=false 19718fi 19719 19720as_me=`$as_basename -- "$0" || 19721$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 19722 X"$0" : 'X\(//\)$' \| \ 19723 X"$0" : 'X\(/\)' \| . 2>/dev/null || 19724$as_echo X/"$0" | 19725 sed '/^.*\/\([^/][^/]*\)\/*$/{ 19726 s//\1/ 19727 q 19728 } 19729 /^X\/\(\/\/\)$/{ 19730 s//\1/ 19731 q 19732 } 19733 /^X\/\(\/\).*/{ 19734 s//\1/ 19735 q 19736 } 19737 s/.*/./; q'` 19738 19739# Avoid depending upon Character Ranges. 19740as_cr_letters='abcdefghijklmnopqrstuvwxyz' 19741as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 19742as_cr_Letters=$as_cr_letters$as_cr_LETTERS 19743as_cr_digits='0123456789' 19744as_cr_alnum=$as_cr_Letters$as_cr_digits 19745 19746ECHO_C= ECHO_N= ECHO_T= 19747case `echo -n x` in #((((( 19748-n*) 19749 case `echo 'xy\c'` in 19750 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 19751 xy) ECHO_C='\c';; 19752 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 19753 ECHO_T=' ';; 19754 esac;; 19755*) 19756 ECHO_N='-n';; 19757esac 19758 19759rm -f conf$$ conf$$.exe conf$$.file 19760if test -d conf$$.dir; then 19761 rm -f conf$$.dir/conf$$.file 19762else 19763 rm -f conf$$.dir 19764 mkdir conf$$.dir 2>/dev/null 19765fi 19766if (echo >conf$$.file) 2>/dev/null; then 19767 if ln -s conf$$.file conf$$ 2>/dev/null; then 19768 as_ln_s='ln -s' 19769 # ... but there are two gotchas: 19770 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 19771 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 19772 # In both cases, we have to default to `cp -pR'. 19773 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 19774 as_ln_s='cp -pR' 19775 elif ln conf$$.file conf$$ 2>/dev/null; then 19776 as_ln_s=ln 19777 else 19778 as_ln_s='cp -pR' 19779 fi 19780else 19781 as_ln_s='cp -pR' 19782fi 19783rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 19784rmdir conf$$.dir 2>/dev/null 19785 19786 19787# as_fn_mkdir_p 19788# ------------- 19789# Create "$as_dir" as a directory, including parents if necessary. 19790as_fn_mkdir_p () 19791{ 19792 19793 case $as_dir in #( 19794 -*) as_dir=./$as_dir;; 19795 esac 19796 test -d "$as_dir" || eval $as_mkdir_p || { 19797 as_dirs= 19798 while :; do 19799 case $as_dir in #( 19800 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 19801 *) as_qdir=$as_dir;; 19802 esac 19803 as_dirs="'$as_qdir' $as_dirs" 19804 as_dir=`$as_dirname -- "$as_dir" || 19805$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19806 X"$as_dir" : 'X\(//\)[^/]' \| \ 19807 X"$as_dir" : 'X\(//\)$' \| \ 19808 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 19809$as_echo X"$as_dir" | 19810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19811 s//\1/ 19812 q 19813 } 19814 /^X\(\/\/\)[^/].*/{ 19815 s//\1/ 19816 q 19817 } 19818 /^X\(\/\/\)$/{ 19819 s//\1/ 19820 q 19821 } 19822 /^X\(\/\).*/{ 19823 s//\1/ 19824 q 19825 } 19826 s/.*/./; q'` 19827 test -d "$as_dir" && break 19828 done 19829 test -z "$as_dirs" || eval "mkdir $as_dirs" 19830 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 19831 19832 19833} # as_fn_mkdir_p 19834if mkdir -p . 2>/dev/null; then 19835 as_mkdir_p='mkdir -p "$as_dir"' 19836else 19837 test -d ./-p && rmdir ./-p 19838 as_mkdir_p=false 19839fi 19840 19841 19842# as_fn_executable_p FILE 19843# ----------------------- 19844# Test if FILE is an executable regular file. 19845as_fn_executable_p () 19846{ 19847 test -f "$1" && test -x "$1" 19848} # as_fn_executable_p 19849as_test_x='test -x' 19850as_executable_p=as_fn_executable_p 19851 19852# Sed expression to map a string onto a valid CPP name. 19853as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 19854 19855# Sed expression to map a string onto a valid variable name. 19856as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 19857 19858 19859exec 6>&1 19860## ----------------------------------- ## 19861## Main body of $CONFIG_STATUS script. ## 19862## ----------------------------------- ## 19863_ASEOF 19864test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 19865 19866cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19867# Save the log message, to keep $0 and so on meaningful, and to 19868# report actual input values of CONFIG_FILES etc. instead of their 19869# values after options handling. 19870ac_log=" 19871This file was extended by brasero $as_me 3.12.3, which was 19872generated by GNU Autoconf 2.69. Invocation command line was 19873 19874 CONFIG_FILES = $CONFIG_FILES 19875 CONFIG_HEADERS = $CONFIG_HEADERS 19876 CONFIG_LINKS = $CONFIG_LINKS 19877 CONFIG_COMMANDS = $CONFIG_COMMANDS 19878 $ $0 $@ 19879 19880on `(hostname || uname -n) 2>/dev/null | sed 1q` 19881" 19882 19883_ACEOF 19884 19885case $ac_config_files in *" 19886"*) set x $ac_config_files; shift; ac_config_files=$*;; 19887esac 19888 19889case $ac_config_headers in *" 19890"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 19891esac 19892 19893 19894cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19895# Files that config.status was made for. 19896config_files="$ac_config_files" 19897config_headers="$ac_config_headers" 19898config_commands="$ac_config_commands" 19899 19900_ACEOF 19901 19902cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19903ac_cs_usage="\ 19904\`$as_me' instantiates files and other configuration actions 19905from templates according to the current configuration. Unless the files 19906and actions are specified as TAGs, all are instantiated by default. 19907 19908Usage: $0 [OPTION]... [TAG]... 19909 19910 -h, --help print this help, then exit 19911 -V, --version print version number and configuration settings, then exit 19912 --config print configuration, then exit 19913 -q, --quiet, --silent 19914 do not print progress messages 19915 -d, --debug don't remove temporary files 19916 --recheck update $as_me by reconfiguring in the same conditions 19917 --file=FILE[:TEMPLATE] 19918 instantiate the configuration file FILE 19919 --header=FILE[:TEMPLATE] 19920 instantiate the configuration header FILE 19921 19922Configuration files: 19923$config_files 19924 19925Configuration headers: 19926$config_headers 19927 19928Configuration commands: 19929$config_commands 19930 19931Report bugs to the package provider." 19932 19933_ACEOF 19934cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19935ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 19936ac_cs_version="\\ 19937brasero config.status 3.12.3 19938configured by $0, generated by GNU Autoconf 2.69, 19939 with options \\"\$ac_cs_config\\" 19940 19941Copyright (C) 2012 Free Software Foundation, Inc. 19942This config.status script is free software; the Free Software Foundation 19943gives unlimited permission to copy, distribute and modify it." 19944 19945ac_pwd='$ac_pwd' 19946srcdir='$srcdir' 19947INSTALL='$INSTALL' 19948MKDIR_P='$MKDIR_P' 19949AWK='$AWK' 19950test -n "\$AWK" || AWK=awk 19951_ACEOF 19952 19953cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19954# The default lists apply if the user does not specify any file. 19955ac_need_defaults=: 19956while test $# != 0 19957do 19958 case $1 in 19959 --*=?*) 19960 ac_option=`expr "X$1" : 'X\([^=]*\)='` 19961 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 19962 ac_shift=: 19963 ;; 19964 --*=) 19965 ac_option=`expr "X$1" : 'X\([^=]*\)='` 19966 ac_optarg= 19967 ac_shift=: 19968 ;; 19969 *) 19970 ac_option=$1 19971 ac_optarg=$2 19972 ac_shift=shift 19973 ;; 19974 esac 19975 19976 case $ac_option in 19977 # Handling of the options. 19978 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 19979 ac_cs_recheck=: ;; 19980 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 19981 $as_echo "$ac_cs_version"; exit ;; 19982 --config | --confi | --conf | --con | --co | --c ) 19983 $as_echo "$ac_cs_config"; exit ;; 19984 --debug | --debu | --deb | --de | --d | -d ) 19985 debug=: ;; 19986 --file | --fil | --fi | --f ) 19987 $ac_shift 19988 case $ac_optarg in 19989 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19990 '') as_fn_error $? "missing file argument" ;; 19991 esac 19992 as_fn_append CONFIG_FILES " '$ac_optarg'" 19993 ac_need_defaults=false;; 19994 --header | --heade | --head | --hea ) 19995 $ac_shift 19996 case $ac_optarg in 19997 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19998 esac 19999 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 20000 ac_need_defaults=false;; 20001 --he | --h) 20002 # Conflict between --help and --header 20003 as_fn_error $? "ambiguous option: \`$1' 20004Try \`$0 --help' for more information.";; 20005 --help | --hel | -h ) 20006 $as_echo "$ac_cs_usage"; exit ;; 20007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 20008 | -silent | --silent | --silen | --sile | --sil | --si | --s) 20009 ac_cs_silent=: ;; 20010 20011 # This is an error. 20012 -*) as_fn_error $? "unrecognized option: \`$1' 20013Try \`$0 --help' for more information." ;; 20014 20015 *) as_fn_append ac_config_targets " $1" 20016 ac_need_defaults=false ;; 20017 20018 esac 20019 shift 20020done 20021 20022ac_configure_extra_args= 20023 20024if $ac_cs_silent; then 20025 exec 6>/dev/null 20026 ac_configure_extra_args="$ac_configure_extra_args --silent" 20027fi 20028 20029_ACEOF 20030cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20031if \$ac_cs_recheck; then 20032 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 20033 shift 20034 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 20035 CONFIG_SHELL='$SHELL' 20036 export CONFIG_SHELL 20037 exec "\$@" 20038fi 20039 20040_ACEOF 20041cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20042exec 5>>config.log 20043{ 20044 echo 20045 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 20046## Running $as_me. ## 20047_ASBOX 20048 $as_echo "$ac_log" 20049} >&5 20050 20051_ACEOF 20052cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20053# 20054# INIT-COMMANDS 20055# 20056AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 20057 20058 20059# The HP-UX ksh and POSIX shell print the target directory to stdout 20060# if CDPATH is set. 20061(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 20062 20063sed_quote_subst='$sed_quote_subst' 20064double_quote_subst='$double_quote_subst' 20065delay_variable_subst='$delay_variable_subst' 20066enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 20067macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 20068macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 20069enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 20070pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 20071enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 20072shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 20073SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 20074ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 20075PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 20076host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 20077host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 20078host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 20079build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 20080build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 20081build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 20082SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 20083Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 20084GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 20085EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 20086FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 20087LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 20088NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 20089LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 20090max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 20091ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 20092exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 20093lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 20094lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 20095lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 20096lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 20097lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 20098reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 20099reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 20100OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 20101deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 20102file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 20103file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 20104want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 20105DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 20106sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 20107AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 20108AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 20109archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 20110STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 20111RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 20112old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 20113old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 20114old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 20115lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 20116CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 20117CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 20118compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 20119GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 20120lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 20121lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 20122lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 20123lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 20124lt_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"`' 20125lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 20126nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 20127lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 20128lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 20129objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 20130MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 20131lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 20132lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 20133lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 20134lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 20135lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 20136need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 20137MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 20138DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 20139NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 20140LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 20141OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 20142OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 20143libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 20144shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 20145extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 20146archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 20147enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 20148export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 20149whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 20150compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 20151old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 20152old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 20153archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 20154archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 20155module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 20156module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 20157with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 20158allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 20159no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 20160hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 20161hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 20162hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 20163hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 20164hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 20165hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 20166hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 20167inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 20168link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 20169always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 20170export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 20171exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 20172include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 20173prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 20174postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 20175file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 20176variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 20177need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 20178need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 20179version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 20180runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 20181shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 20182shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 20183libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 20184library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 20185soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 20186install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 20187postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 20188postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 20189finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 20190finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 20191hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 20192sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 20193configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 20194configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 20195hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 20196enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 20197enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 20198enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 20199old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 20200striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 20201 20202LTCC='$LTCC' 20203LTCFLAGS='$LTCFLAGS' 20204compiler='$compiler_DEFAULT' 20205 20206# A function that is used when there is no print builtin or printf. 20207func_fallback_echo () 20208{ 20209 eval 'cat <<_LTECHO_EOF 20210\$1 20211_LTECHO_EOF' 20212} 20213 20214# Quote evaled strings. 20215for var in SHELL \ 20216ECHO \ 20217PATH_SEPARATOR \ 20218SED \ 20219GREP \ 20220EGREP \ 20221FGREP \ 20222LD \ 20223NM \ 20224LN_S \ 20225lt_SP2NL \ 20226lt_NL2SP \ 20227reload_flag \ 20228OBJDUMP \ 20229deplibs_check_method \ 20230file_magic_cmd \ 20231file_magic_glob \ 20232want_nocaseglob \ 20233DLLTOOL \ 20234sharedlib_from_linklib_cmd \ 20235AR \ 20236AR_FLAGS \ 20237archiver_list_spec \ 20238STRIP \ 20239RANLIB \ 20240CC \ 20241CFLAGS \ 20242compiler \ 20243lt_cv_sys_global_symbol_pipe \ 20244lt_cv_sys_global_symbol_to_cdecl \ 20245lt_cv_sys_global_symbol_to_import \ 20246lt_cv_sys_global_symbol_to_c_name_address \ 20247lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 20248lt_cv_nm_interface \ 20249nm_file_list_spec \ 20250lt_cv_truncate_bin \ 20251lt_prog_compiler_no_builtin_flag \ 20252lt_prog_compiler_pic \ 20253lt_prog_compiler_wl \ 20254lt_prog_compiler_static \ 20255lt_cv_prog_compiler_c_o \ 20256need_locks \ 20257MANIFEST_TOOL \ 20258DSYMUTIL \ 20259NMEDIT \ 20260LIPO \ 20261OTOOL \ 20262OTOOL64 \ 20263shrext_cmds \ 20264export_dynamic_flag_spec \ 20265whole_archive_flag_spec \ 20266compiler_needs_object \ 20267with_gnu_ld \ 20268allow_undefined_flag \ 20269no_undefined_flag \ 20270hardcode_libdir_flag_spec \ 20271hardcode_libdir_separator \ 20272exclude_expsyms \ 20273include_expsyms \ 20274file_list_spec \ 20275variables_saved_for_relink \ 20276libname_spec \ 20277library_names_spec \ 20278soname_spec \ 20279install_override_mode \ 20280finish_eval \ 20281old_striplib \ 20282striplib; do 20283 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 20284 *[\\\\\\\`\\"\\\$]*) 20285 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 20286 ;; 20287 *) 20288 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 20289 ;; 20290 esac 20291done 20292 20293# Double-quote double-evaled strings. 20294for var in reload_cmds \ 20295old_postinstall_cmds \ 20296old_postuninstall_cmds \ 20297old_archive_cmds \ 20298extract_expsyms_cmds \ 20299old_archive_from_new_cmds \ 20300old_archive_from_expsyms_cmds \ 20301archive_cmds \ 20302archive_expsym_cmds \ 20303module_cmds \ 20304module_expsym_cmds \ 20305export_symbols_cmds \ 20306prelink_cmds \ 20307postlink_cmds \ 20308postinstall_cmds \ 20309postuninstall_cmds \ 20310finish_cmds \ 20311sys_lib_search_path_spec \ 20312configure_time_dlsearch_path \ 20313configure_time_lt_sys_library_path; do 20314 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 20315 *[\\\\\\\`\\"\\\$]*) 20316 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 20317 ;; 20318 *) 20319 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 20320 ;; 20321 esac 20322done 20323 20324ac_aux_dir='$ac_aux_dir' 20325 20326# See if we are running on zsh, and set the options that allow our 20327# commands through without removal of \ escapes INIT. 20328if test -n "\${ZSH_VERSION+set}"; then 20329 setopt NO_GLOB_SUBST 20330fi 20331 20332 20333 PACKAGE='$PACKAGE' 20334 VERSION='$VERSION' 20335 RM='$RM' 20336 ofile='$ofile' 20337 20338 20339 20340 20341 20342 20343_ACEOF 20344 20345cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20346 20347# Handling of arguments. 20348for ac_config_target in $ac_config_targets 20349do 20350 case $ac_config_target in 20351 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 20352 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 20353 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 20354 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 20355 "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; 20356 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 20357 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 20358 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;; 20359 "docs/reference/libbrasero-media/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libbrasero-media/Makefile" ;; 20360 "docs/reference/libbrasero-burn/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libbrasero-burn/Makefile" ;; 20361 "docs/reference/libbrasero-media/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libbrasero-media/version.xml" ;; 20362 "docs/reference/libbrasero-burn/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libbrasero-burn/version.xml" ;; 20363 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 20364 "data/brasero.desktop.in") CONFIG_FILES="$CONFIG_FILES data/brasero.desktop.in" ;; 20365 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;; 20366 "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;; 20367 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; 20368 "nautilus/Makefile") CONFIG_FILES="$CONFIG_FILES nautilus/Makefile" ;; 20369 "nautilus/brasero-nautilus.desktop.in") CONFIG_FILES="$CONFIG_FILES nautilus/brasero-nautilus.desktop.in" ;; 20370 "libbrasero-media/Makefile") CONFIG_FILES="$CONFIG_FILES libbrasero-media/Makefile" ;; 20371 "libbrasero-media/brasero-media.h") CONFIG_FILES="$CONFIG_FILES libbrasero-media/brasero-media.h" ;; 20372 "libbrasero-utils/Makefile") CONFIG_FILES="$CONFIG_FILES libbrasero-utils/Makefile" ;; 20373 "libbrasero-burn/Makefile") CONFIG_FILES="$CONFIG_FILES libbrasero-burn/Makefile" ;; 20374 "libbrasero-burn/brasero-burn-lib.h") CONFIG_FILES="$CONFIG_FILES libbrasero-burn/brasero-burn-lib.h" ;; 20375 "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;; 20376 "plugins/audio2cue/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/audio2cue/Makefile" ;; 20377 "plugins/cdrdao/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/cdrdao/Makefile" ;; 20378 "plugins/cdrkit/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/cdrkit/Makefile" ;; 20379 "plugins/cdrtools/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/cdrtools/Makefile" ;; 20380 "plugins/growisofs/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/growisofs/Makefile" ;; 20381 "plugins/libburnia/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/libburnia/Makefile" ;; 20382 "plugins/transcode/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/transcode/Makefile" ;; 20383 "plugins/dvdcss/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dvdcss/Makefile" ;; 20384 "plugins/dvdauthor/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dvdauthor/Makefile" ;; 20385 "plugins/checksum/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/checksum/Makefile" ;; 20386 "plugins/local-track/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/local-track/Makefile" ;; 20387 "plugins/vcdimager/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/vcdimager/Makefile" ;; 20388 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 20389 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 20390 "libbrasero-media3.pc") CONFIG_FILES="$CONFIG_FILES libbrasero-media3.pc" ;; 20391 "libbrasero-burn3.pc") CONFIG_FILES="$CONFIG_FILES libbrasero-burn3.pc" ;; 20392 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 20393 20394 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 20395 esac 20396done 20397 20398 20399# If the user did not use the arguments to specify the items to instantiate, 20400# then the envvar interface is used. Set only those that are not. 20401# We use the long form for the default assignment because of an extremely 20402# bizarre bug on SunOS 4.1.3. 20403if $ac_need_defaults; then 20404 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 20405 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 20406 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 20407fi 20408 20409# Have a temporary directory for convenience. Make it in the build tree 20410# simply because there is no reason against having it here, and in addition, 20411# creating and moving files from /tmp can sometimes cause problems. 20412# Hook for its removal unless debugging. 20413# Note that there is a small window in which the directory will not be cleaned: 20414# after its creation but before its name has been assigned to `$tmp'. 20415$debug || 20416{ 20417 tmp= ac_tmp= 20418 trap 'exit_status=$? 20419 : "${ac_tmp:=$tmp}" 20420 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 20421' 0 20422 trap 'as_fn_exit 1' 1 2 13 15 20423} 20424# Create a (secure) tmp directory for tmp files. 20425 20426{ 20427 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 20428 test -d "$tmp" 20429} || 20430{ 20431 tmp=./conf$$-$RANDOM 20432 (umask 077 && mkdir "$tmp") 20433} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 20434ac_tmp=$tmp 20435 20436# Set up the scripts for CONFIG_FILES section. 20437# No need to generate them if there are no CONFIG_FILES. 20438# This happens for instance with `./config.status config.h'. 20439if test -n "$CONFIG_FILES"; then 20440 20441 20442ac_cr=`echo X | tr X '\015'` 20443# On cygwin, bash can eat \r inside `` if the user requested igncr. 20444# But we know of no other shell where ac_cr would be empty at this 20445# point, so we can use a bashism as a fallback. 20446if test "x$ac_cr" = x; then 20447 eval ac_cr=\$\'\\r\' 20448fi 20449ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 20450if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 20451 ac_cs_awk_cr='\\r' 20452else 20453 ac_cs_awk_cr=$ac_cr 20454fi 20455 20456echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 20457_ACEOF 20458 20459 20460{ 20461 echo "cat >conf$$subs.awk <<_ACEOF" && 20462 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 20463 echo "_ACEOF" 20464} >conf$$subs.sh || 20465 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20466ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 20467ac_delim='%!_!# ' 20468for ac_last_try in false false false false false :; do 20469 . ./conf$$subs.sh || 20470 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20471 20472 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 20473 if test $ac_delim_n = $ac_delim_num; then 20474 break 20475 elif $ac_last_try; then 20476 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20477 else 20478 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 20479 fi 20480done 20481rm -f conf$$subs.sh 20482 20483cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20484cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 20485_ACEOF 20486sed -n ' 20487h 20488s/^/S["/; s/!.*/"]=/ 20489p 20490g 20491s/^[^!]*!// 20492:repl 20493t repl 20494s/'"$ac_delim"'$// 20495t delim 20496:nl 20497h 20498s/\(.\{148\}\)..*/\1/ 20499t more1 20500s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 20501p 20502n 20503b repl 20504:more1 20505s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 20506p 20507g 20508s/.\{148\}// 20509t nl 20510:delim 20511h 20512s/\(.\{148\}\)..*/\1/ 20513t more2 20514s/["\\]/\\&/g; s/^/"/; s/$/"/ 20515p 20516b 20517:more2 20518s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 20519p 20520g 20521s/.\{148\}// 20522t delim 20523' <conf$$subs.awk | sed ' 20524/^[^""]/{ 20525 N 20526 s/\n// 20527} 20528' >>$CONFIG_STATUS || ac_write_fail=1 20529rm -f conf$$subs.awk 20530cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20531_ACAWK 20532cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 20533 for (key in S) S_is_set[key] = 1 20534 FS = "" 20535 20536} 20537{ 20538 line = $ 0 20539 nfields = split(line, field, "@") 20540 substed = 0 20541 len = length(field[1]) 20542 for (i = 2; i < nfields; i++) { 20543 key = field[i] 20544 keylen = length(key) 20545 if (S_is_set[key]) { 20546 value = S[key] 20547 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 20548 len += length(value) + length(field[++i]) 20549 substed = 1 20550 } else 20551 len += 1 + keylen 20552 } 20553 20554 print line 20555} 20556 20557_ACAWK 20558_ACEOF 20559cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20560if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 20561 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 20562else 20563 cat 20564fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 20565 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 20566_ACEOF 20567 20568# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 20569# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 20570# trailing colons and then remove the whole line if VPATH becomes empty 20571# (actually we leave an empty line to preserve line numbers). 20572if test "x$srcdir" = x.; then 20573 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 20574h 20575s/// 20576s/^/:/ 20577s/[ ]*$/:/ 20578s/:\$(srcdir):/:/g 20579s/:\${srcdir}:/:/g 20580s/:@srcdir@:/:/g 20581s/^:*// 20582s/:*$// 20583x 20584s/\(=[ ]*\).*/\1/ 20585G 20586s/\n// 20587s/^[^=]*=[ ]*$// 20588}' 20589fi 20590 20591cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20592fi # test -n "$CONFIG_FILES" 20593 20594# Set up the scripts for CONFIG_HEADERS section. 20595# No need to generate them if there are no CONFIG_HEADERS. 20596# This happens for instance with `./config.status Makefile'. 20597if test -n "$CONFIG_HEADERS"; then 20598cat >"$ac_tmp/defines.awk" <<\_ACAWK || 20599BEGIN { 20600_ACEOF 20601 20602# Transform confdefs.h into an awk script `defines.awk', embedded as 20603# here-document in config.status, that substitutes the proper values into 20604# config.h.in to produce config.h. 20605 20606# Create a delimiter string that does not exist in confdefs.h, to ease 20607# handling of long lines. 20608ac_delim='%!_!# ' 20609for ac_last_try in false false :; do 20610 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 20611 if test -z "$ac_tt"; then 20612 break 20613 elif $ac_last_try; then 20614 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 20615 else 20616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 20617 fi 20618done 20619 20620# For the awk script, D is an array of macro values keyed by name, 20621# likewise P contains macro parameters if any. Preserve backslash 20622# newline sequences. 20623 20624ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 20625sed -n ' 20626s/.\{148\}/&'"$ac_delim"'/g 20627t rset 20628:rset 20629s/^[ ]*#[ ]*define[ ][ ]*/ / 20630t def 20631d 20632:def 20633s/\\$// 20634t bsnl 20635s/["\\]/\\&/g 20636s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 20637D["\1"]=" \3"/p 20638s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 20639d 20640:bsnl 20641s/["\\]/\\&/g 20642s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 20643D["\1"]=" \3\\\\\\n"\\/p 20644t cont 20645s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 20646t cont 20647d 20648:cont 20649n 20650s/.\{148\}/&'"$ac_delim"'/g 20651t clear 20652:clear 20653s/\\$// 20654t bsnlc 20655s/["\\]/\\&/g; s/^/"/; s/$/"/p 20656d 20657:bsnlc 20658s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 20659b cont 20660' <confdefs.h | sed ' 20661s/'"$ac_delim"'/"\\\ 20662"/g' >>$CONFIG_STATUS || ac_write_fail=1 20663 20664cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20665 for (key in D) D_is_set[key] = 1 20666 FS = "" 20667} 20668/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 20669 line = \$ 0 20670 split(line, arg, " ") 20671 if (arg[1] == "#") { 20672 defundef = arg[2] 20673 mac1 = arg[3] 20674 } else { 20675 defundef = substr(arg[1], 2) 20676 mac1 = arg[2] 20677 } 20678 split(mac1, mac2, "(") #) 20679 macro = mac2[1] 20680 prefix = substr(line, 1, index(line, defundef) - 1) 20681 if (D_is_set[macro]) { 20682 # Preserve the white space surrounding the "#". 20683 print prefix "define", macro P[macro] D[macro] 20684 next 20685 } else { 20686 # Replace #undef with comments. This is necessary, for example, 20687 # in the case of _POSIX_SOURCE, which is predefined and required 20688 # on some systems where configure will not decide to define it. 20689 if (defundef == "undef") { 20690 print "/*", prefix defundef, macro, "*/" 20691 next 20692 } 20693 } 20694} 20695{ print } 20696_ACAWK 20697_ACEOF 20698cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20699 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 20700fi # test -n "$CONFIG_HEADERS" 20701 20702 20703eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 20704shift 20705for ac_tag 20706do 20707 case $ac_tag in 20708 :[FHLC]) ac_mode=$ac_tag; continue;; 20709 esac 20710 case $ac_mode$ac_tag in 20711 :[FHL]*:*);; 20712 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 20713 :[FH]-) ac_tag=-:-;; 20714 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 20715 esac 20716 ac_save_IFS=$IFS 20717 IFS=: 20718 set x $ac_tag 20719 IFS=$ac_save_IFS 20720 shift 20721 ac_file=$1 20722 shift 20723 20724 case $ac_mode in 20725 :L) ac_source=$1;; 20726 :[FH]) 20727 ac_file_inputs= 20728 for ac_f 20729 do 20730 case $ac_f in 20731 -) ac_f="$ac_tmp/stdin";; 20732 *) # Look for the file first in the build tree, then in the source tree 20733 # (if the path is not absolute). The absolute path cannot be DOS-style, 20734 # because $ac_f cannot contain `:'. 20735 test -f "$ac_f" || 20736 case $ac_f in 20737 [\\/$]*) false;; 20738 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 20739 esac || 20740 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 20741 esac 20742 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 20743 as_fn_append ac_file_inputs " '$ac_f'" 20744 done 20745 20746 # Let's still pretend it is `configure' which instantiates (i.e., don't 20747 # use $as_me), people would be surprised to read: 20748 # /* config.h. Generated by config.status. */ 20749 configure_input='Generated from '` 20750 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 20751 `' by configure.' 20752 if test x"$ac_file" != x-; then 20753 configure_input="$ac_file. $configure_input" 20754 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 20755$as_echo "$as_me: creating $ac_file" >&6;} 20756 fi 20757 # Neutralize special characters interpreted by sed in replacement strings. 20758 case $configure_input in #( 20759 *\&* | *\|* | *\\* ) 20760 ac_sed_conf_input=`$as_echo "$configure_input" | 20761 sed 's/[\\\\&|]/\\\\&/g'`;; #( 20762 *) ac_sed_conf_input=$configure_input;; 20763 esac 20764 20765 case $ac_tag in 20766 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 20767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 20768 esac 20769 ;; 20770 esac 20771 20772 ac_dir=`$as_dirname -- "$ac_file" || 20773$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20774 X"$ac_file" : 'X\(//\)[^/]' \| \ 20775 X"$ac_file" : 'X\(//\)$' \| \ 20776 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 20777$as_echo X"$ac_file" | 20778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20779 s//\1/ 20780 q 20781 } 20782 /^X\(\/\/\)[^/].*/{ 20783 s//\1/ 20784 q 20785 } 20786 /^X\(\/\/\)$/{ 20787 s//\1/ 20788 q 20789 } 20790 /^X\(\/\).*/{ 20791 s//\1/ 20792 q 20793 } 20794 s/.*/./; q'` 20795 as_dir="$ac_dir"; as_fn_mkdir_p 20796 ac_builddir=. 20797 20798case "$ac_dir" in 20799.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 20800*) 20801 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 20802 # A ".." for each directory in $ac_dir_suffix. 20803 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 20804 case $ac_top_builddir_sub in 20805 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 20806 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 20807 esac ;; 20808esac 20809ac_abs_top_builddir=$ac_pwd 20810ac_abs_builddir=$ac_pwd$ac_dir_suffix 20811# for backward compatibility: 20812ac_top_builddir=$ac_top_build_prefix 20813 20814case $srcdir in 20815 .) # We are building in place. 20816 ac_srcdir=. 20817 ac_top_srcdir=$ac_top_builddir_sub 20818 ac_abs_top_srcdir=$ac_pwd ;; 20819 [\\/]* | ?:[\\/]* ) # Absolute name. 20820 ac_srcdir=$srcdir$ac_dir_suffix; 20821 ac_top_srcdir=$srcdir 20822 ac_abs_top_srcdir=$srcdir ;; 20823 *) # Relative name. 20824 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 20825 ac_top_srcdir=$ac_top_build_prefix$srcdir 20826 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 20827esac 20828ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 20829 20830 20831 case $ac_mode in 20832 :F) 20833 # 20834 # CONFIG_FILE 20835 # 20836 20837 case $INSTALL in 20838 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 20839 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 20840 esac 20841 ac_MKDIR_P=$MKDIR_P 20842 case $MKDIR_P in 20843 [\\/$]* | ?:[\\/]* ) ;; 20844 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 20845 esac 20846_ACEOF 20847 20848cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20849# If the template does not know about datarootdir, expand it. 20850# FIXME: This hack should be removed a few years after 2.60. 20851ac_datarootdir_hack=; ac_datarootdir_seen= 20852ac_sed_dataroot=' 20853/datarootdir/ { 20854 p 20855 q 20856} 20857/@datadir@/p 20858/@docdir@/p 20859/@infodir@/p 20860/@localedir@/p 20861/@mandir@/p' 20862case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 20863*datarootdir*) ac_datarootdir_seen=yes;; 20864*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 20865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 20866$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 20867_ACEOF 20868cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20869 ac_datarootdir_hack=' 20870 s&@datadir@&$datadir&g 20871 s&@docdir@&$docdir&g 20872 s&@infodir@&$infodir&g 20873 s&@localedir@&$localedir&g 20874 s&@mandir@&$mandir&g 20875 s&\\\${datarootdir}&$datarootdir&g' ;; 20876esac 20877_ACEOF 20878 20879# Neutralize VPATH when `$srcdir' = `.'. 20880# Shell code in configure.ac might set extrasub. 20881# FIXME: do we really want to maintain this feature? 20882cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20883ac_sed_extra="$ac_vpsub 20884$extrasub 20885_ACEOF 20886cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20887:t 20888/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 20889s|@configure_input@|$ac_sed_conf_input|;t t 20890s&@top_builddir@&$ac_top_builddir_sub&;t t 20891s&@top_build_prefix@&$ac_top_build_prefix&;t t 20892s&@srcdir@&$ac_srcdir&;t t 20893s&@abs_srcdir@&$ac_abs_srcdir&;t t 20894s&@top_srcdir@&$ac_top_srcdir&;t t 20895s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 20896s&@builddir@&$ac_builddir&;t t 20897s&@abs_builddir@&$ac_abs_builddir&;t t 20898s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 20899s&@INSTALL@&$ac_INSTALL&;t t 20900s&@MKDIR_P@&$ac_MKDIR_P&;t t 20901$ac_datarootdir_hack 20902" 20903eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 20904 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20905 20906test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 20907 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 20908 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 20909 "$ac_tmp/out"`; test -z "$ac_out"; } && 20910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20911which seems to be undefined. Please make sure it is defined" >&5 20912$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20913which seems to be undefined. Please make sure it is defined" >&2;} 20914 20915 rm -f "$ac_tmp/stdin" 20916 case $ac_file in 20917 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 20918 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 20919 esac \ 20920 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20921 ;; 20922 :H) 20923 # 20924 # CONFIG_HEADER 20925 # 20926 if test x"$ac_file" != x-; then 20927 { 20928 $as_echo "/* $configure_input */" \ 20929 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 20930 } >"$ac_tmp/config.h" \ 20931 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20932 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 20933 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 20934$as_echo "$as_me: $ac_file is unchanged" >&6;} 20935 else 20936 rm -f "$ac_file" 20937 mv "$ac_tmp/config.h" "$ac_file" \ 20938 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20939 fi 20940 else 20941 $as_echo "/* $configure_input */" \ 20942 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 20943 || as_fn_error $? "could not create -" "$LINENO" 5 20944 fi 20945# Compute "$ac_file"'s index in $config_headers. 20946_am_arg="$ac_file" 20947_am_stamp_count=1 20948for _am_header in $config_headers :; do 20949 case $_am_header in 20950 $_am_arg | $_am_arg:* ) 20951 break ;; 20952 * ) 20953 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 20954 esac 20955done 20956echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 20957$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20958 X"$_am_arg" : 'X\(//\)[^/]' \| \ 20959 X"$_am_arg" : 'X\(//\)$' \| \ 20960 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 20961$as_echo X"$_am_arg" | 20962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20963 s//\1/ 20964 q 20965 } 20966 /^X\(\/\/\)[^/].*/{ 20967 s//\1/ 20968 q 20969 } 20970 /^X\(\/\/\)$/{ 20971 s//\1/ 20972 q 20973 } 20974 /^X\(\/\).*/{ 20975 s//\1/ 20976 q 20977 } 20978 s/.*/./; q'`/stamp-h$_am_stamp_count 20979 ;; 20980 20981 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 20982$as_echo "$as_me: executing $ac_file commands" >&6;} 20983 ;; 20984 esac 20985 20986 20987 case $ac_file$ac_mode in 20988 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 20989 # Older Autoconf quotes --file arguments for eval, but not when files 20990 # are listed without --file. Let's play safe and only enable the eval 20991 # if we detect the quoting. 20992 # TODO: see whether this extra hack can be removed once we start 20993 # requiring Autoconf 2.70 or later. 20994 case $CONFIG_FILES in #( 20995 *\'*) : 20996 eval set x "$CONFIG_FILES" ;; #( 20997 *) : 20998 set x $CONFIG_FILES ;; #( 20999 *) : 21000 ;; 21001esac 21002 shift 21003 # Used to flag and report bootstrapping failures. 21004 am_rc=0 21005 for am_mf 21006 do 21007 # Strip MF so we end up with the name of the file. 21008 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 21009 # Check whether this is an Automake generated Makefile which includes 21010 # dependency-tracking related rules and includes. 21011 # Grep'ing the whole file directly is not great: AIX grep has a line 21012 # limit of 2048, but all sed's we know have understand at least 4000. 21013 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 21014 || continue 21015 am_dirpart=`$as_dirname -- "$am_mf" || 21016$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21017 X"$am_mf" : 'X\(//\)[^/]' \| \ 21018 X"$am_mf" : 'X\(//\)$' \| \ 21019 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 21020$as_echo X"$am_mf" | 21021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21022 s//\1/ 21023 q 21024 } 21025 /^X\(\/\/\)[^/].*/{ 21026 s//\1/ 21027 q 21028 } 21029 /^X\(\/\/\)$/{ 21030 s//\1/ 21031 q 21032 } 21033 /^X\(\/\).*/{ 21034 s//\1/ 21035 q 21036 } 21037 s/.*/./; q'` 21038 am_filepart=`$as_basename -- "$am_mf" || 21039$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 21040 X"$am_mf" : 'X\(//\)$' \| \ 21041 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 21042$as_echo X/"$am_mf" | 21043 sed '/^.*\/\([^/][^/]*\)\/*$/{ 21044 s//\1/ 21045 q 21046 } 21047 /^X\/\(\/\/\)$/{ 21048 s//\1/ 21049 q 21050 } 21051 /^X\/\(\/\).*/{ 21052 s//\1/ 21053 q 21054 } 21055 s/.*/./; q'` 21056 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 21057 && sed -e '/# am--include-marker/d' "$am_filepart" \ 21058 | $MAKE -f - am--depfiles" >&5 21059 (cd "$am_dirpart" \ 21060 && sed -e '/# am--include-marker/d' "$am_filepart" \ 21061 | $MAKE -f - am--depfiles) >&5 2>&5 21062 ac_status=$? 21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21064 (exit $ac_status); } || am_rc=$? 21065 done 21066 if test $am_rc -ne 0; then 21067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21068$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21069as_fn_error $? "Something went wrong bootstrapping makefile fragments 21070 for automatic dependency tracking. If GNU make was not used, consider 21071 re-running the configure script with MAKE=\"gmake\" (or whatever is 21072 necessary). You can also try re-running configure with the 21073 '--disable-dependency-tracking' option to at least be able to build 21074 the package (albeit without support for automatic dependency tracking). 21075See \`config.log' for more details" "$LINENO" 5; } 21076 fi 21077 { am_dirpart=; unset am_dirpart;} 21078 { am_filepart=; unset am_filepart;} 21079 { am_mf=; unset am_mf;} 21080 { am_rc=; unset am_rc;} 21081 rm -f conftest-deps.mk 21082} 21083 ;; 21084 "libtool":C) 21085 21086 # See if we are running on zsh, and set the options that allow our 21087 # commands through without removal of \ escapes. 21088 if test -n "${ZSH_VERSION+set}"; then 21089 setopt NO_GLOB_SUBST 21090 fi 21091 21092 cfgfile=${ofile}T 21093 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 21094 $RM "$cfgfile" 21095 21096 cat <<_LT_EOF >> "$cfgfile" 21097#! $SHELL 21098# Generated automatically by $as_me ($PACKAGE) $VERSION 21099# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 21100# NOTE: Changes made to this file will be lost: look at ltmain.sh. 21101 21102# Provide generalized library-building support services. 21103# Written by Gordon Matzigkeit, 1996 21104 21105# Copyright (C) 2014 Free Software Foundation, Inc. 21106# This is free software; see the source for copying conditions. There is NO 21107# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 21108 21109# GNU Libtool is free software; you can redistribute it and/or modify 21110# it under the terms of the GNU General Public License as published by 21111# the Free Software Foundation; either version 2 of of the License, or 21112# (at your option) any later version. 21113# 21114# As a special exception to the GNU General Public License, if you 21115# distribute this file as part of a program or library that is built 21116# using GNU Libtool, you may include this file under the same 21117# distribution terms that you use for the rest of that program. 21118# 21119# GNU Libtool is distributed in the hope that it will be useful, but 21120# WITHOUT ANY WARRANTY; without even the implied warranty of 21121# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21122# GNU General Public License for more details. 21123# 21124# You should have received a copy of the GNU General Public License 21125# along with this program. If not, see <http://www.gnu.org/licenses/>. 21126 21127 21128# The names of the tagged configurations supported by this script. 21129available_tags='' 21130 21131# Configured defaults for sys_lib_dlsearch_path munging. 21132: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 21133 21134# ### BEGIN LIBTOOL CONFIG 21135 21136# Whether or not to build static libraries. 21137build_old_libs=$enable_static 21138 21139# Which release of libtool.m4 was used? 21140macro_version=$macro_version 21141macro_revision=$macro_revision 21142 21143# Whether or not to build shared libraries. 21144build_libtool_libs=$enable_shared 21145 21146# What type of objects to build. 21147pic_mode=$pic_mode 21148 21149# Whether or not to optimize for fast installation. 21150fast_install=$enable_fast_install 21151 21152# Shared archive member basename,for filename based shared library versioning on AIX. 21153shared_archive_member_spec=$shared_archive_member_spec 21154 21155# Shell to use when invoking shell scripts. 21156SHELL=$lt_SHELL 21157 21158# An echo program that protects backslashes. 21159ECHO=$lt_ECHO 21160 21161# The PATH separator for the build system. 21162PATH_SEPARATOR=$lt_PATH_SEPARATOR 21163 21164# The host system. 21165host_alias=$host_alias 21166host=$host 21167host_os=$host_os 21168 21169# The build system. 21170build_alias=$build_alias 21171build=$build 21172build_os=$build_os 21173 21174# A sed program that does not truncate output. 21175SED=$lt_SED 21176 21177# Sed that helps us avoid accidentally triggering echo(1) options like -n. 21178Xsed="\$SED -e 1s/^X//" 21179 21180# A grep program that handles long lines. 21181GREP=$lt_GREP 21182 21183# An ERE matcher. 21184EGREP=$lt_EGREP 21185 21186# A literal string matcher. 21187FGREP=$lt_FGREP 21188 21189# A BSD- or MS-compatible name lister. 21190NM=$lt_NM 21191 21192# Whether we need soft or hard links. 21193LN_S=$lt_LN_S 21194 21195# What is the maximum length of a command? 21196max_cmd_len=$max_cmd_len 21197 21198# Object file suffix (normally "o"). 21199objext=$ac_objext 21200 21201# Executable file suffix (normally ""). 21202exeext=$exeext 21203 21204# whether the shell understands "unset". 21205lt_unset=$lt_unset 21206 21207# turn spaces into newlines. 21208SP2NL=$lt_lt_SP2NL 21209 21210# turn newlines into spaces. 21211NL2SP=$lt_lt_NL2SP 21212 21213# convert \$build file names to \$host format. 21214to_host_file_cmd=$lt_cv_to_host_file_cmd 21215 21216# convert \$build files to toolchain format. 21217to_tool_file_cmd=$lt_cv_to_tool_file_cmd 21218 21219# An object symbol dumper. 21220OBJDUMP=$lt_OBJDUMP 21221 21222# Method to check whether dependent libraries are shared objects. 21223deplibs_check_method=$lt_deplibs_check_method 21224 21225# Command to use when deplibs_check_method = "file_magic". 21226file_magic_cmd=$lt_file_magic_cmd 21227 21228# How to find potential files when deplibs_check_method = "file_magic". 21229file_magic_glob=$lt_file_magic_glob 21230 21231# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 21232want_nocaseglob=$lt_want_nocaseglob 21233 21234# DLL creation program. 21235DLLTOOL=$lt_DLLTOOL 21236 21237# Command to associate shared and link libraries. 21238sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 21239 21240# The archiver. 21241AR=$lt_AR 21242 21243# Flags to create an archive. 21244AR_FLAGS=$lt_AR_FLAGS 21245 21246# How to feed a file listing to the archiver. 21247archiver_list_spec=$lt_archiver_list_spec 21248 21249# A symbol stripping program. 21250STRIP=$lt_STRIP 21251 21252# Commands used to install an old-style archive. 21253RANLIB=$lt_RANLIB 21254old_postinstall_cmds=$lt_old_postinstall_cmds 21255old_postuninstall_cmds=$lt_old_postuninstall_cmds 21256 21257# Whether to use a lock for old archive extraction. 21258lock_old_archive_extraction=$lock_old_archive_extraction 21259 21260# A C compiler. 21261LTCC=$lt_CC 21262 21263# LTCC compiler flags. 21264LTCFLAGS=$lt_CFLAGS 21265 21266# Take the output of nm and produce a listing of raw symbols and C names. 21267global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 21268 21269# Transform the output of nm in a proper C declaration. 21270global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 21271 21272# Transform the output of nm into a list of symbols to manually relocate. 21273global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 21274 21275# Transform the output of nm in a C name address pair. 21276global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 21277 21278# Transform the output of nm in a C name address pair when lib prefix is needed. 21279global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 21280 21281# The name lister interface. 21282nm_interface=$lt_lt_cv_nm_interface 21283 21284# Specify filename containing input files for \$NM. 21285nm_file_list_spec=$lt_nm_file_list_spec 21286 21287# The root where to search for dependent libraries,and where our libraries should be installed. 21288lt_sysroot=$lt_sysroot 21289 21290# Command to truncate a binary pipe. 21291lt_truncate_bin=$lt_lt_cv_truncate_bin 21292 21293# The name of the directory that contains temporary libtool files. 21294objdir=$objdir 21295 21296# Used to examine libraries when file_magic_cmd begins with "file". 21297MAGIC_CMD=$MAGIC_CMD 21298 21299# Must we lock files when doing compilation? 21300need_locks=$lt_need_locks 21301 21302# Manifest tool. 21303MANIFEST_TOOL=$lt_MANIFEST_TOOL 21304 21305# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 21306DSYMUTIL=$lt_DSYMUTIL 21307 21308# Tool to change global to local symbols on Mac OS X. 21309NMEDIT=$lt_NMEDIT 21310 21311# Tool to manipulate fat objects and archives on Mac OS X. 21312LIPO=$lt_LIPO 21313 21314# ldd/readelf like tool for Mach-O binaries on Mac OS X. 21315OTOOL=$lt_OTOOL 21316 21317# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 21318OTOOL64=$lt_OTOOL64 21319 21320# Old archive suffix (normally "a"). 21321libext=$libext 21322 21323# Shared library suffix (normally ".so"). 21324shrext_cmds=$lt_shrext_cmds 21325 21326# The commands to extract the exported symbol list from a shared archive. 21327extract_expsyms_cmds=$lt_extract_expsyms_cmds 21328 21329# Variables whose values should be saved in libtool wrapper scripts and 21330# restored at link time. 21331variables_saved_for_relink=$lt_variables_saved_for_relink 21332 21333# Do we need the "lib" prefix for modules? 21334need_lib_prefix=$need_lib_prefix 21335 21336# Do we need a version for libraries? 21337need_version=$need_version 21338 21339# Library versioning type. 21340version_type=$version_type 21341 21342# Shared library runtime path variable. 21343runpath_var=$runpath_var 21344 21345# Shared library path variable. 21346shlibpath_var=$shlibpath_var 21347 21348# Is shlibpath searched before the hard-coded library search path? 21349shlibpath_overrides_runpath=$shlibpath_overrides_runpath 21350 21351# Format of library name prefix. 21352libname_spec=$lt_libname_spec 21353 21354# List of archive names. First name is the real one, the rest are links. 21355# The last name is the one that the linker finds with -lNAME 21356library_names_spec=$lt_library_names_spec 21357 21358# The coded name of the library, if different from the real name. 21359soname_spec=$lt_soname_spec 21360 21361# Permission mode override for installation of shared libraries. 21362install_override_mode=$lt_install_override_mode 21363 21364# Command to use after installation of a shared archive. 21365postinstall_cmds=$lt_postinstall_cmds 21366 21367# Command to use after uninstallation of a shared archive. 21368postuninstall_cmds=$lt_postuninstall_cmds 21369 21370# Commands used to finish a libtool library installation in a directory. 21371finish_cmds=$lt_finish_cmds 21372 21373# As "finish_cmds", except a single script fragment to be evaled but 21374# not shown. 21375finish_eval=$lt_finish_eval 21376 21377# Whether we should hardcode library paths into libraries. 21378hardcode_into_libs=$hardcode_into_libs 21379 21380# Compile-time system search path for libraries. 21381sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 21382 21383# Detected run-time system search path for libraries. 21384sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 21385 21386# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 21387configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 21388 21389# Whether dlopen is supported. 21390dlopen_support=$enable_dlopen 21391 21392# Whether dlopen of programs is supported. 21393dlopen_self=$enable_dlopen_self 21394 21395# Whether dlopen of statically linked programs is supported. 21396dlopen_self_static=$enable_dlopen_self_static 21397 21398# Commands to strip libraries. 21399old_striplib=$lt_old_striplib 21400striplib=$lt_striplib 21401 21402 21403# The linker used to build libraries. 21404LD=$lt_LD 21405 21406# How to create reloadable object files. 21407reload_flag=$lt_reload_flag 21408reload_cmds=$lt_reload_cmds 21409 21410# Commands used to build an old-style archive. 21411old_archive_cmds=$lt_old_archive_cmds 21412 21413# A language specific compiler. 21414CC=$lt_compiler 21415 21416# Is the compiler the GNU compiler? 21417with_gcc=$GCC 21418 21419# Compiler flag to turn off builtin functions. 21420no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 21421 21422# Additional compiler flags for building library objects. 21423pic_flag=$lt_lt_prog_compiler_pic 21424 21425# How to pass a linker flag through the compiler. 21426wl=$lt_lt_prog_compiler_wl 21427 21428# Compiler flag to prevent dynamic linking. 21429link_static_flag=$lt_lt_prog_compiler_static 21430 21431# Does compiler simultaneously support -c and -o options? 21432compiler_c_o=$lt_lt_cv_prog_compiler_c_o 21433 21434# Whether or not to add -lc for building shared libraries. 21435build_libtool_need_lc=$archive_cmds_need_lc 21436 21437# Whether or not to disallow shared libs when runtime libs are static. 21438allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 21439 21440# Compiler flag to allow reflexive dlopens. 21441export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 21442 21443# Compiler flag to generate shared objects directly from archives. 21444whole_archive_flag_spec=$lt_whole_archive_flag_spec 21445 21446# Whether the compiler copes with passing no objects directly. 21447compiler_needs_object=$lt_compiler_needs_object 21448 21449# Create an old-style archive from a shared archive. 21450old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 21451 21452# Create a temporary old-style archive to link instead of a shared archive. 21453old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 21454 21455# Commands used to build a shared archive. 21456archive_cmds=$lt_archive_cmds 21457archive_expsym_cmds=$lt_archive_expsym_cmds 21458 21459# Commands used to build a loadable module if different from building 21460# a shared archive. 21461module_cmds=$lt_module_cmds 21462module_expsym_cmds=$lt_module_expsym_cmds 21463 21464# Whether we are building with GNU ld or not. 21465with_gnu_ld=$lt_with_gnu_ld 21466 21467# Flag that allows shared libraries with undefined symbols to be built. 21468allow_undefined_flag=$lt_allow_undefined_flag 21469 21470# Flag that enforces no undefined symbols. 21471no_undefined_flag=$lt_no_undefined_flag 21472 21473# Flag to hardcode \$libdir into a binary during linking. 21474# This must work even if \$libdir does not exist 21475hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 21476 21477# Whether we need a single "-rpath" flag with a separated argument. 21478hardcode_libdir_separator=$lt_hardcode_libdir_separator 21479 21480# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 21481# DIR into the resulting binary. 21482hardcode_direct=$hardcode_direct 21483 21484# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 21485# DIR into the resulting binary and the resulting library dependency is 21486# "absolute",i.e impossible to change by setting \$shlibpath_var if the 21487# library is relocated. 21488hardcode_direct_absolute=$hardcode_direct_absolute 21489 21490# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 21491# into the resulting binary. 21492hardcode_minus_L=$hardcode_minus_L 21493 21494# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 21495# into the resulting binary. 21496hardcode_shlibpath_var=$hardcode_shlibpath_var 21497 21498# Set to "yes" if building a shared library automatically hardcodes DIR 21499# into the library and all subsequent libraries and executables linked 21500# against it. 21501hardcode_automatic=$hardcode_automatic 21502 21503# Set to yes if linker adds runtime paths of dependent libraries 21504# to runtime path list. 21505inherit_rpath=$inherit_rpath 21506 21507# Whether libtool must link a program against all its dependency libraries. 21508link_all_deplibs=$link_all_deplibs 21509 21510# Set to "yes" if exported symbols are required. 21511always_export_symbols=$always_export_symbols 21512 21513# The commands to list exported symbols. 21514export_symbols_cmds=$lt_export_symbols_cmds 21515 21516# Symbols that should not be listed in the preloaded symbols. 21517exclude_expsyms=$lt_exclude_expsyms 21518 21519# Symbols that must always be exported. 21520include_expsyms=$lt_include_expsyms 21521 21522# Commands necessary for linking programs (against libraries) with templates. 21523prelink_cmds=$lt_prelink_cmds 21524 21525# Commands necessary for finishing linking programs. 21526postlink_cmds=$lt_postlink_cmds 21527 21528# Specify filename containing input files. 21529file_list_spec=$lt_file_list_spec 21530 21531# How to hardcode a shared library path into an executable. 21532hardcode_action=$hardcode_action 21533 21534# ### END LIBTOOL CONFIG 21535 21536_LT_EOF 21537 21538 cat <<'_LT_EOF' >> "$cfgfile" 21539 21540# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 21541 21542# func_munge_path_list VARIABLE PATH 21543# ----------------------------------- 21544# VARIABLE is name of variable containing _space_ separated list of 21545# directories to be munged by the contents of PATH, which is string 21546# having a format: 21547# "DIR[:DIR]:" 21548# string "DIR[ DIR]" will be prepended to VARIABLE 21549# ":DIR[:DIR]" 21550# string "DIR[ DIR]" will be appended to VARIABLE 21551# "DIRP[:DIRP]::[DIRA:]DIRA" 21552# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 21553# "DIRA[ DIRA]" will be appended to VARIABLE 21554# "DIR[:DIR]" 21555# VARIABLE will be replaced by "DIR[ DIR]" 21556func_munge_path_list () 21557{ 21558 case x$2 in 21559 x) 21560 ;; 21561 *:) 21562 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 21563 ;; 21564 x:*) 21565 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 21566 ;; 21567 *::*) 21568 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 21569 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 21570 ;; 21571 *) 21572 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 21573 ;; 21574 esac 21575} 21576 21577 21578# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 21579func_cc_basename () 21580{ 21581 for cc_temp in $*""; do 21582 case $cc_temp in 21583 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 21584 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 21585 \-*) ;; 21586 *) break;; 21587 esac 21588 done 21589 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 21590} 21591 21592 21593# ### END FUNCTIONS SHARED WITH CONFIGURE 21594 21595_LT_EOF 21596 21597 case $host_os in 21598 aix3*) 21599 cat <<\_LT_EOF >> "$cfgfile" 21600# AIX sometimes has problems with the GCC collect2 program. For some 21601# reason, if we set the COLLECT_NAMES environment variable, the problems 21602# vanish in a puff of smoke. 21603if test set != "${COLLECT_NAMES+set}"; then 21604 COLLECT_NAMES= 21605 export COLLECT_NAMES 21606fi 21607_LT_EOF 21608 ;; 21609 esac 21610 21611 21612ltmain=$ac_aux_dir/ltmain.sh 21613 21614 21615 # We use sed instead of cat because bash on DJGPP gets confused if 21616 # if finds mixed CR/LF and LF-only lines. Since sed operates in 21617 # text mode, it properly converts lines to CR/LF. This bash problem 21618 # is reportedly fixed, but why not run on old versions too? 21619 sed '$q' "$ltmain" >> "$cfgfile" \ 21620 || (rm -f "$cfgfile"; exit 1) 21621 21622 mv -f "$cfgfile" "$ofile" || 21623 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 21624 chmod +x "$ofile" 21625 21626 ;; 21627 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 21628 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 21629 esac ;; 21630 "default-2":C) case "$CONFIG_FILES" in *po/Makefile.in*) 21631 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 21632 esac ;; 21633 "po/stamp-it":C) 21634 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 21635 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 21636 fi 21637 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 21638 >"po/stamp-it.tmp" 21639 sed '/^#/d 21640 s/^[[].*] *// 21641 /^[ ]*$/d 21642 '"s|^| $ac_top_srcdir/|" \ 21643 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 21644 21645 sed '/^POTFILES =/,/[^\\]$/ { 21646 /^POTFILES =/!d 21647 r po/POTFILES 21648 } 21649 ' "po/Makefile.in" >"po/Makefile" 21650 rm -f "po/Makefile.tmp" 21651 mv "po/stamp-it.tmp" "po/stamp-it" 21652 ;; 21653 21654 esac 21655done # for ac_tag 21656 21657 21658as_fn_exit 0 21659_ACEOF 21660ac_clean_files=$ac_clean_files_save 21661 21662test $ac_write_fail = 0 || 21663 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 21664 21665 21666# configure is writing to config.log, and then calls config.status. 21667# config.status does its own redirection, appending to config.log. 21668# Unfortunately, on DOS this fails, as config.log is still kept open 21669# by configure, so config.status won't be able to write to it; its 21670# output is simply discarded. So we exec the FD to /dev/null, 21671# effectively closing config.log, so it can be properly (re)opened and 21672# appended to by config.status. When coming back to configure, we 21673# need to make the FD available again. 21674if test "$no_create" != yes; then 21675 ac_cs_success=: 21676 ac_config_status_args= 21677 test "$silent" = yes && 21678 ac_config_status_args="$ac_config_status_args --quiet" 21679 exec 5>/dev/null 21680 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 21681 exec 5>>config.log 21682 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 21683 # would make configure fail if this is the last instruction. 21684 $ac_cs_success || as_fn_exit 1 21685fi 21686if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 21687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 21688$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 21689fi 21690 21691 21692echo 21693echo 21694echo "$PACKAGE configuration summary:" 21695echo "----------------------------------" 21696 21697 21698echo "Version: $BRASERO_VERSION 21699 Using GTK+ 3 21700 Update caches: ${enable_caches} 21701 Build Nautilus extension : ${build_nautilus} 21702 Build inotify: ${enable_inotify} 21703 Build search pane : ${build_search} 21704 Build playlist pane : ${build_totem} 21705 Build Preview pane : ${build_preview} 21706 Plugins installed in : ${BRASERO_PLUGIN_DIRECTORY} 21707 Build cdrdao plugins : ${build_cdrdao} 21708 Build cdrtools plugins : ${build_cdrtools} 21709 Build cdrkit plugins : ${build_cdrkit} 21710 Build growisofs plugins : ${build_growisofs} 21711 Build libburnia plugins : ${build_libburnia} 21712 Build GObject-Introspection : ${found_introspection} 21713" 21714echo 21715echo 21716