1#! /bin/sh 2# From configure.ac 3b50715. 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.69 for thunar-media-tags-plugin 0.3.0. 5# 6# Report bugs to <thunar-dev@xfce.org>. 7# 8# Copyright (c) 2006-2007 Jannis Pohlmann <jannis@xfce.org>. 9# 10# 11# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 12# 13# 14# This configure script is free software; the Free Software Foundation 15# gives unlimited permission to copy, distribute and modify it. 16## -------------------- ## 17## M4sh Initialization. ## 18## -------------------- ## 19 20# Be more Bourne compatible 21DUALCASE=1; export DUALCASE # for MKS sh 22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 23 emulate sh 24 NULLCMD=: 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26 # is contrary to our usage. Disable this feature. 27 alias -g '${1+"$@"}'='"$@"' 28 setopt NO_GLOB_SUBST 29else 30 case `(set -o) 2>/dev/null` in #( 31 *posix*) : 32 set -o posix ;; #( 33 *) : 34 ;; 35esac 36fi 37 38 39as_nl=' 40' 41export as_nl 42# Printing a long string crashes Solaris 7 /usr/bin/printf. 43as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 46# Prefer a ksh shell builtin over an external printf program on Solaris, 47# but without wasting forks for bash or zsh. 48if test -z "$BASH_VERSION$ZSH_VERSION" \ 49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='print -r --' 51 as_echo_n='print -rn --' 52elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 53 as_echo='printf %s\n' 54 as_echo_n='printf %s' 55else 56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 58 as_echo_n='/usr/ucb/echo -n' 59 else 60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 61 as_echo_n_body='eval 62 arg=$1; 63 case $arg in #( 64 *"$as_nl"*) 65 expr "X$arg" : "X\\(.*\\)$as_nl"; 66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 67 esac; 68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 69 ' 70 export as_echo_n_body 71 as_echo_n='sh -c $as_echo_n_body as_echo' 72 fi 73 export as_echo_body 74 as_echo='sh -c $as_echo_body as_echo' 75fi 76 77# The user is always right. 78if test "${PATH_SEPARATOR+set}" != set; then 79 PATH_SEPARATOR=: 80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 82 PATH_SEPARATOR=';' 83 } 84fi 85 86 87# IFS 88# We need space, tab and new line, in precisely that order. Quoting is 89# there to prevent editors from complaining about space-tab. 90# (If _AS_PATH_WALK were called with IFS unset, it would disable word 91# splitting by setting IFS to empty value.) 92IFS=" "" $as_nl" 93 94# Find who we are. Look in the path if we contain no directory separator. 95as_myself= 96case $0 in #(( 97 *[\\/]* ) as_myself=$0 ;; 98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 99for as_dir in $PATH 100do 101 IFS=$as_save_IFS 102 test -z "$as_dir" && as_dir=. 103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 104 done 105IFS=$as_save_IFS 106 107 ;; 108esac 109# We did not find ourselves, most probably we were run as `sh COMMAND' 110# in which case we are not to be found in the path. 111if test "x$as_myself" = x; then 112 as_myself=$0 113fi 114if test ! -f "$as_myself"; then 115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 116 exit 1 117fi 118 119# Unset variables that we do not need and which cause bugs (e.g. in 120# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 121# suppresses any "Segmentation fault" message there. '((' could 122# trigger a bug in pdksh 5.2.14. 123for as_var in BASH_ENV ENV MAIL MAILPATH 124do eval test x\${$as_var+set} = xset \ 125 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 126done 127PS1='$ ' 128PS2='> ' 129PS4='+ ' 130 131# NLS nuisances. 132LC_ALL=C 133export LC_ALL 134LANGUAGE=C 135export LANGUAGE 136 137# CDPATH. 138(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 139 140# Use a proper internal environment variable to ensure we don't fall 141 # into an infinite loop, continuously re-executing ourselves. 142 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 143 _as_can_reexec=no; export _as_can_reexec; 144 # We cannot yet assume a decent shell, so we have to provide a 145# neutralization value for shells without unset; and this also 146# works around shells that cannot unset nonexistent variables. 147# Preserve -v and -x to the replacement shell. 148BASH_ENV=/dev/null 149ENV=/dev/null 150(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 151case $- in # (((( 152 *v*x* | *x*v* ) as_opts=-vx ;; 153 *v* ) as_opts=-v ;; 154 *x* ) as_opts=-x ;; 155 * ) as_opts= ;; 156esac 157exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 158# Admittedly, this is quite paranoid, since all the known shells bail 159# out after a failed `exec'. 160$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 161as_fn_exit 255 162 fi 163 # We don't want this to propagate to other subprocesses. 164 { _as_can_reexec=; unset _as_can_reexec;} 165if test "x$CONFIG_SHELL" = x; then 166 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 167 emulate sh 168 NULLCMD=: 169 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 170 # is contrary to our usage. Disable this feature. 171 alias -g '\${1+\"\$@\"}'='\"\$@\"' 172 setopt NO_GLOB_SUBST 173else 174 case \`(set -o) 2>/dev/null\` in #( 175 *posix*) : 176 set -o posix ;; #( 177 *) : 178 ;; 179esac 180fi 181" 182 as_required="as_fn_return () { (exit \$1); } 183as_fn_success () { as_fn_return 0; } 184as_fn_failure () { as_fn_return 1; } 185as_fn_ret_success () { return 0; } 186as_fn_ret_failure () { return 1; } 187 188exitcode=0 189as_fn_success || { exitcode=1; echo as_fn_success failed.; } 190as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 191as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 192as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 193if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 194 195else 196 exitcode=1; echo positional parameters were not saved. 197fi 198test x\$exitcode = x0 || exit 1 199test -x / || exit 1" 200 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 201 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 202 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 203 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 204test \$(( 1 + 1 )) = 2 || exit 1 205 206 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 207 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 208 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 209 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 210 PATH=/empty FPATH=/empty; export PATH FPATH 211 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 212 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 213 if (eval "$as_required") 2>/dev/null; then : 214 as_have_required=yes 215else 216 as_have_required=no 217fi 218 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 219 220else 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222as_found=false 223for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 224do 225 IFS=$as_save_IFS 226 test -z "$as_dir" && as_dir=. 227 as_found=: 228 case $as_dir in #( 229 /*) 230 for as_base in sh bash ksh sh5; do 231 # Try only shells that exist, to save several forks. 232 as_shell=$as_dir/$as_base 233 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 235 CONFIG_SHELL=$as_shell as_have_required=yes 236 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 237 break 2 238fi 239fi 240 done;; 241 esac 242 as_found=false 243done 244$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 245 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 246 CONFIG_SHELL=$SHELL as_have_required=yes 247fi; } 248IFS=$as_save_IFS 249 250 251 if test "x$CONFIG_SHELL" != x; then : 252 export CONFIG_SHELL 253 # We cannot yet assume a decent shell, so we have to provide a 254# neutralization value for shells without unset; and this also 255# works around shells that cannot unset nonexistent variables. 256# Preserve -v and -x to the replacement shell. 257BASH_ENV=/dev/null 258ENV=/dev/null 259(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 260case $- in # (((( 261 *v*x* | *x*v* ) as_opts=-vx ;; 262 *v* ) as_opts=-v ;; 263 *x* ) as_opts=-x ;; 264 * ) as_opts= ;; 265esac 266exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 267# Admittedly, this is quite paranoid, since all the known shells bail 268# out after a failed `exec'. 269$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 270exit 255 271fi 272 273 if test x$as_have_required = xno; then : 274 $as_echo "$0: This script requires a shell more modern than all" 275 $as_echo "$0: the shells that I found on your system." 276 if test x${ZSH_VERSION+set} = xset ; then 277 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 278 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 279 else 280 $as_echo "$0: Please tell bug-autoconf@gnu.org and 281$0: thunar-dev@xfce.org about your system, including any 282$0: error possibly output before this message. Then install 283$0: a modern shell, or manually run the script under such a 284$0: shell if you do have one." 285 fi 286 exit 1 287fi 288fi 289fi 290SHELL=${CONFIG_SHELL-/bin/sh} 291export SHELL 292# Unset more variables known to interfere with behavior of common tools. 293CLICOLOR_FORCE= GREP_OPTIONS= 294unset CLICOLOR_FORCE GREP_OPTIONS 295 296## --------------------- ## 297## M4sh Shell Functions. ## 298## --------------------- ## 299# as_fn_unset VAR 300# --------------- 301# Portably unset VAR. 302as_fn_unset () 303{ 304 { eval $1=; unset $1;} 305} 306as_unset=as_fn_unset 307 308# as_fn_set_status STATUS 309# ----------------------- 310# Set $? to STATUS, without forking. 311as_fn_set_status () 312{ 313 return $1 314} # as_fn_set_status 315 316# as_fn_exit STATUS 317# ----------------- 318# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 319as_fn_exit () 320{ 321 set +e 322 as_fn_set_status $1 323 exit $1 324} # as_fn_exit 325 326# as_fn_mkdir_p 327# ------------- 328# Create "$as_dir" as a directory, including parents if necessary. 329as_fn_mkdir_p () 330{ 331 332 case $as_dir in #( 333 -*) as_dir=./$as_dir;; 334 esac 335 test -d "$as_dir" || eval $as_mkdir_p || { 336 as_dirs= 337 while :; do 338 case $as_dir in #( 339 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 340 *) as_qdir=$as_dir;; 341 esac 342 as_dirs="'$as_qdir' $as_dirs" 343 as_dir=`$as_dirname -- "$as_dir" || 344$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 345 X"$as_dir" : 'X\(//\)[^/]' \| \ 346 X"$as_dir" : 'X\(//\)$' \| \ 347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 348$as_echo X"$as_dir" | 349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 350 s//\1/ 351 q 352 } 353 /^X\(\/\/\)[^/].*/{ 354 s//\1/ 355 q 356 } 357 /^X\(\/\/\)$/{ 358 s//\1/ 359 q 360 } 361 /^X\(\/\).*/{ 362 s//\1/ 363 q 364 } 365 s/.*/./; q'` 366 test -d "$as_dir" && break 367 done 368 test -z "$as_dirs" || eval "mkdir $as_dirs" 369 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 370 371 372} # as_fn_mkdir_p 373 374# as_fn_executable_p FILE 375# ----------------------- 376# Test if FILE is an executable regular file. 377as_fn_executable_p () 378{ 379 test -f "$1" && test -x "$1" 380} # as_fn_executable_p 381# as_fn_append VAR VALUE 382# ---------------------- 383# Append the text in VALUE to the end of the definition contained in VAR. Take 384# advantage of any shell optimizations that allow amortized linear growth over 385# repeated appends, instead of the typical quadratic growth present in naive 386# implementations. 387if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 388 eval 'as_fn_append () 389 { 390 eval $1+=\$2 391 }' 392else 393 as_fn_append () 394 { 395 eval $1=\$$1\$2 396 } 397fi # as_fn_append 398 399# as_fn_arith ARG... 400# ------------------ 401# Perform arithmetic evaluation on the ARGs, and store the result in the 402# global $as_val. Take advantage of shells that can avoid forks. The arguments 403# must be portable across $(()) and expr. 404if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 405 eval 'as_fn_arith () 406 { 407 as_val=$(( $* )) 408 }' 409else 410 as_fn_arith () 411 { 412 as_val=`expr "$@" || test $? -eq 1` 413 } 414fi # as_fn_arith 415 416 417# as_fn_error STATUS ERROR [LINENO LOG_FD] 418# ---------------------------------------- 419# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 420# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 421# script with STATUS, using 1 if that was 0. 422as_fn_error () 423{ 424 as_status=$1; test $as_status -eq 0 && as_status=1 425 if test "$4"; then 426 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 427 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 428 fi 429 $as_echo "$as_me: error: $2" >&2 430 as_fn_exit $as_status 431} # as_fn_error 432 433if expr a : '\(a\)' >/dev/null 2>&1 && 434 test "X`expr 00001 : '.*\(...\)'`" = X001; then 435 as_expr=expr 436else 437 as_expr=false 438fi 439 440if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 441 as_basename=basename 442else 443 as_basename=false 444fi 445 446if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 447 as_dirname=dirname 448else 449 as_dirname=false 450fi 451 452as_me=`$as_basename -- "$0" || 453$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 454 X"$0" : 'X\(//\)$' \| \ 455 X"$0" : 'X\(/\)' \| . 2>/dev/null || 456$as_echo X/"$0" | 457 sed '/^.*\/\([^/][^/]*\)\/*$/{ 458 s//\1/ 459 q 460 } 461 /^X\/\(\/\/\)$/{ 462 s//\1/ 463 q 464 } 465 /^X\/\(\/\).*/{ 466 s//\1/ 467 q 468 } 469 s/.*/./; q'` 470 471# Avoid depending upon Character Ranges. 472as_cr_letters='abcdefghijklmnopqrstuvwxyz' 473as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 474as_cr_Letters=$as_cr_letters$as_cr_LETTERS 475as_cr_digits='0123456789' 476as_cr_alnum=$as_cr_Letters$as_cr_digits 477 478 479 as_lineno_1=$LINENO as_lineno_1a=$LINENO 480 as_lineno_2=$LINENO as_lineno_2a=$LINENO 481 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 482 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 483 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 484 sed -n ' 485 p 486 /[$]LINENO/= 487 ' <$as_myself | 488 sed ' 489 s/[$]LINENO.*/&-/ 490 t lineno 491 b 492 :lineno 493 N 494 :loop 495 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 496 t loop 497 s/-\n.*// 498 ' >$as_me.lineno && 499 chmod +x "$as_me.lineno" || 500 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 501 502 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 503 # already done that, so ensure we don't try to do so again and fall 504 # in an infinite loop. This has already happened in practice. 505 _as_can_reexec=no; export _as_can_reexec 506 # Don't try to exec as it changes $[0], causing all sort of problems 507 # (the dirname of $[0] is not the place where we might find the 508 # original and so on. Autoconf is especially sensitive to this). 509 . "./$as_me.lineno" 510 # Exit status is that of the last command. 511 exit 512} 513 514ECHO_C= ECHO_N= ECHO_T= 515case `echo -n x` in #((((( 516-n*) 517 case `echo 'xy\c'` in 518 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 519 xy) ECHO_C='\c';; 520 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 521 ECHO_T=' ';; 522 esac;; 523*) 524 ECHO_N='-n';; 525esac 526 527rm -f conf$$ conf$$.exe conf$$.file 528if test -d conf$$.dir; then 529 rm -f conf$$.dir/conf$$.file 530else 531 rm -f conf$$.dir 532 mkdir conf$$.dir 2>/dev/null 533fi 534if (echo >conf$$.file) 2>/dev/null; then 535 if ln -s conf$$.file conf$$ 2>/dev/null; then 536 as_ln_s='ln -s' 537 # ... but there are two gotchas: 538 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 539 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 540 # In both cases, we have to default to `cp -pR'. 541 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 542 as_ln_s='cp -pR' 543 elif ln conf$$.file conf$$ 2>/dev/null; then 544 as_ln_s=ln 545 else 546 as_ln_s='cp -pR' 547 fi 548else 549 as_ln_s='cp -pR' 550fi 551rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 552rmdir conf$$.dir 2>/dev/null 553 554if mkdir -p . 2>/dev/null; then 555 as_mkdir_p='mkdir -p "$as_dir"' 556else 557 test -d ./-p && rmdir ./-p 558 as_mkdir_p=false 559fi 560 561as_test_x='test -x' 562as_executable_p=as_fn_executable_p 563 564# Sed expression to map a string onto a valid CPP name. 565as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 566 567# Sed expression to map a string onto a valid variable name. 568as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 569 570SHELL=${CONFIG_SHELL-/bin/sh} 571 572 573test -n "$DJDIR" || exec 7<&0 </dev/null 574exec 6>&1 575 576# Name of the host. 577# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 578# so uname gets run too. 579ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 580 581# 582# Initializations. 583# 584ac_default_prefix=/usr/local 585ac_clean_files= 586ac_config_libobj_dir=. 587LIBOBJS= 588cross_compiling=no 589subdirs= 590MFLAGS= 591MAKEFLAGS= 592 593# Identity of this package. 594PACKAGE_NAME='thunar-media-tags-plugin' 595PACKAGE_TARNAME='thunar-media-tags-plugin' 596PACKAGE_VERSION='0.3.0' 597PACKAGE_STRING='thunar-media-tags-plugin 0.3.0' 598PACKAGE_BUGREPORT='thunar-dev@xfce.org' 599PACKAGE_URL='' 600 601# Factoring default headers for most tests. 602ac_includes_default="\ 603#include <stdio.h> 604#ifdef HAVE_SYS_TYPES_H 605# include <sys/types.h> 606#endif 607#ifdef HAVE_SYS_STAT_H 608# include <sys/stat.h> 609#endif 610#ifdef STDC_HEADERS 611# include <stdlib.h> 612# include <stddef.h> 613#else 614# ifdef HAVE_STDLIB_H 615# include <stdlib.h> 616# endif 617#endif 618#ifdef HAVE_STRING_H 619# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 620# include <memory.h> 621# endif 622# include <string.h> 623#endif 624#ifdef HAVE_STRINGS_H 625# include <strings.h> 626#endif 627#ifdef HAVE_INTTYPES_H 628# include <inttypes.h> 629#endif 630#ifdef HAVE_STDINT_H 631# include <stdint.h> 632#endif 633#ifdef HAVE_UNISTD_H 634# include <unistd.h> 635#endif" 636 637ac_subst_vars='am__EXEEXT_FALSE 638am__EXEEXT_TRUE 639LTLIBOBJS 640LIBOBJS 641PLATFORM_LDFLAGS 642PLATFORM_CFLAGS 643PLATFORM_CPPFLAGS 644TAGLIBC_LIBS 645TAGLIBC_CFLAGS 646TAGLIB_REQUIRED_VERSION 647TAGLIB_LIBS 648TAGLIB_CFLAGS 649TAGLIB_VERSION 650THUNARX_REQUIRED_VERSION 651THUNARX_LIBS 652THUNARX_CFLAGS 653THUNARX_VERSION 654EXO_REQUIRED_VERSION 655EXO_LIBS 656EXO_CFLAGS 657EXO_VERSION 658GTK_REQUIRED_VERSION 659GTK_LIBS 660GTK_CFLAGS 661GTK_VERSION 662PKG_CONFIG_LIBDIR 663PKG_CONFIG_PATH 664PKG_CONFIG 665XGETTEXT_ARGS 666MKINSTALLDIRS 667POSUB 668POFILES 669PO_IN_DATADIR_FALSE 670PO_IN_DATADIR_TRUE 671INTLLIBS 672INSTOBJEXT 673GMOFILES 674DATADIRNAME 675CATOBJEXT 676CATALOGS 677MSGFMT_OPTS 678INTL_MACOSX_LIBS 679GETTEXT_PACKAGE 680LT_SYS_LIBRARY_PATH 681OTOOL64 682OTOOL 683LIPO 684NMEDIT 685DSYMUTIL 686MANIFEST_TOOL 687RANLIB 688ac_ct_AR 689AR 690DLLTOOL 691OBJDUMP 692LN_S 693NM 694ac_ct_DUMPBIN 695DUMPBIN 696LIBTOOL 697ALL_LINGUAS 698INTLTOOL_PERL 699GMSGFMT 700MSGFMT 701MSGMERGE 702XGETTEXT 703INTLTOOL_POLICY_RULE 704INTLTOOL_SERVICE_RULE 705INTLTOOL_THEME_RULE 706INTLTOOL_SCHEMAS_RULE 707INTLTOOL_CAVES_RULE 708INTLTOOL_XML_NOMERGE_RULE 709INTLTOOL_XML_RULE 710INTLTOOL_KBD_RULE 711INTLTOOL_XAM_RULE 712INTLTOOL_UI_RULE 713INTLTOOL_SOUNDLIST_RULE 714INTLTOOL_SHEET_RULE 715INTLTOOL_SERVER_RULE 716INTLTOOL_PONG_RULE 717INTLTOOL_OAF_RULE 718INTLTOOL_PROP_RULE 719INTLTOOL_KEYS_RULE 720INTLTOOL_DIRECTORY_RULE 721INTLTOOL_DESKTOP_RULE 722intltool__v_merge_options_0 723intltool__v_merge_options_ 724INTLTOOL_V_MERGE_OPTIONS 725INTLTOOL__v_MERGE_0 726INTLTOOL__v_MERGE_ 727INTLTOOL_V_MERGE 728INTLTOOL_EXTRACT 729INTLTOOL_MERGE 730INTLTOOL_UPDATE 731USE_NLS 732LD 733FGREP 734SED 735EGREP 736GREP 737CPP 738am__fastdepCC_FALSE 739am__fastdepCC_TRUE 740CCDEPMODE 741am__nodep 742AMDEPBACKSLASH 743AMDEP_FALSE 744AMDEP_TRUE 745am__quote 746am__include 747DEPDIR 748OBJEXT 749EXEEXT 750ac_ct_CC 751CPPFLAGS 752LDFLAGS 753CFLAGS 754CC 755MAINT 756MAINTAINER_MODE_FALSE 757MAINTAINER_MODE_TRUE 758AM_BACKSLASH 759AM_DEFAULT_VERBOSITY 760AM_DEFAULT_V 761AM_V 762am__untar 763am__tar 764AMTAR 765am__leading_dot 766SET_MAKE 767AWK 768mkdir_p 769MKDIR_P 770INSTALL_STRIP_PROGRAM 771STRIP 772install_sh 773MAKEINFO 774AUTOHEADER 775AUTOMAKE 776AUTOCONF 777ACLOCAL 778VERSION 779PACKAGE 780CYGPATH_W 781am__isrc 782INSTALL_DATA 783INSTALL_SCRIPT 784INSTALL_PROGRAM 785target_os 786target_vendor 787target_cpu 788target 789host_os 790host_vendor 791host_cpu 792host 793build_os 794build_vendor 795build_cpu 796build 797target_alias 798host_alias 799build_alias 800LIBS 801ECHO_T 802ECHO_N 803ECHO_C 804DEFS 805mandir 806localedir 807libdir 808psdir 809pdfdir 810dvidir 811htmldir 812infodir 813docdir 814oldincludedir 815includedir 816localstatedir 817sharedstatedir 818sysconfdir 819datadir 820datarootdir 821libexecdir 822sbindir 823bindir 824program_transform_name 825prefix 826exec_prefix 827PACKAGE_URL 828PACKAGE_BUGREPORT 829PACKAGE_STRING 830PACKAGE_VERSION 831PACKAGE_TARNAME 832PACKAGE_NAME 833PATH_SEPARATOR 834SHELL' 835ac_subst_files='' 836ac_user_opts=' 837enable_option_checking 838enable_silent_rules 839enable_maintainer_mode 840enable_dependency_tracking 841with_gnu_ld 842enable_nls 843enable_static 844enable_shared 845with_pic 846enable_fast_install 847with_aix_soname 848with_sysroot 849enable_libtool_lock 850with_locales_dir 851enable_debug 852enable_linker_opts 853' 854 ac_precious_vars='build_alias 855host_alias 856target_alias 857CC 858CFLAGS 859LDFLAGS 860LIBS 861CPPFLAGS 862CPP 863LT_SYS_LIBRARY_PATH 864PKG_CONFIG 865PKG_CONFIG_PATH 866PKG_CONFIG_LIBDIR' 867 868 869# Initialize some variables set by options. 870ac_init_help= 871ac_init_version=false 872ac_unrecognized_opts= 873ac_unrecognized_sep= 874# The variables have the same names as the options, with 875# dashes changed to underlines. 876cache_file=/dev/null 877exec_prefix=NONE 878no_create= 879no_recursion= 880prefix=NONE 881program_prefix=NONE 882program_suffix=NONE 883program_transform_name=s,x,x, 884silent= 885site= 886srcdir= 887verbose= 888x_includes=NONE 889x_libraries=NONE 890 891# Installation directory options. 892# These are left unexpanded so users can "make install exec_prefix=/foo" 893# and all the variables that are supposed to be based on exec_prefix 894# by default will actually change. 895# Use braces instead of parens because sh, perl, etc. also accept them. 896# (The list follows the same order as the GNU Coding Standards.) 897bindir='${exec_prefix}/bin' 898sbindir='${exec_prefix}/sbin' 899libexecdir='${exec_prefix}/libexec' 900datarootdir='${prefix}/share' 901datadir='${datarootdir}' 902sysconfdir='${prefix}/etc' 903sharedstatedir='${prefix}/com' 904localstatedir='${prefix}/var' 905includedir='${prefix}/include' 906oldincludedir='/usr/include' 907docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 908infodir='${datarootdir}/info' 909htmldir='${docdir}' 910dvidir='${docdir}' 911pdfdir='${docdir}' 912psdir='${docdir}' 913libdir='${exec_prefix}/lib' 914localedir='${datarootdir}/locale' 915mandir='${datarootdir}/man' 916 917ac_prev= 918ac_dashdash= 919for ac_option 920do 921 # If the previous option needs an argument, assign it. 922 if test -n "$ac_prev"; then 923 eval $ac_prev=\$ac_option 924 ac_prev= 925 continue 926 fi 927 928 case $ac_option in 929 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 930 *=) ac_optarg= ;; 931 *) ac_optarg=yes ;; 932 esac 933 934 # Accept the important Cygnus configure options, so we can diagnose typos. 935 936 case $ac_dashdash$ac_option in 937 --) 938 ac_dashdash=yes ;; 939 940 -bindir | --bindir | --bindi | --bind | --bin | --bi) 941 ac_prev=bindir ;; 942 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 943 bindir=$ac_optarg ;; 944 945 -build | --build | --buil | --bui | --bu) 946 ac_prev=build_alias ;; 947 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 948 build_alias=$ac_optarg ;; 949 950 -cache-file | --cache-file | --cache-fil | --cache-fi \ 951 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 952 ac_prev=cache_file ;; 953 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 954 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 955 cache_file=$ac_optarg ;; 956 957 --config-cache | -C) 958 cache_file=config.cache ;; 959 960 -datadir | --datadir | --datadi | --datad) 961 ac_prev=datadir ;; 962 -datadir=* | --datadir=* | --datadi=* | --datad=*) 963 datadir=$ac_optarg ;; 964 965 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 966 | --dataroo | --dataro | --datar) 967 ac_prev=datarootdir ;; 968 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 969 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 970 datarootdir=$ac_optarg ;; 971 972 -disable-* | --disable-*) 973 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 974 # Reject names that are not valid shell variable names. 975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 976 as_fn_error $? "invalid feature name: $ac_useropt" 977 ac_useropt_orig=$ac_useropt 978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 979 case $ac_user_opts in 980 *" 981"enable_$ac_useropt" 982"*) ;; 983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 984 ac_unrecognized_sep=', ';; 985 esac 986 eval enable_$ac_useropt=no ;; 987 988 -docdir | --docdir | --docdi | --doc | --do) 989 ac_prev=docdir ;; 990 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 991 docdir=$ac_optarg ;; 992 993 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 994 ac_prev=dvidir ;; 995 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 996 dvidir=$ac_optarg ;; 997 998 -enable-* | --enable-*) 999 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1000 # Reject names that are not valid shell variable names. 1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1002 as_fn_error $? "invalid feature name: $ac_useropt" 1003 ac_useropt_orig=$ac_useropt 1004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1005 case $ac_user_opts in 1006 *" 1007"enable_$ac_useropt" 1008"*) ;; 1009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1010 ac_unrecognized_sep=', ';; 1011 esac 1012 eval enable_$ac_useropt=\$ac_optarg ;; 1013 1014 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1015 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1016 | --exec | --exe | --ex) 1017 ac_prev=exec_prefix ;; 1018 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1019 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1020 | --exec=* | --exe=* | --ex=*) 1021 exec_prefix=$ac_optarg ;; 1022 1023 -gas | --gas | --ga | --g) 1024 # Obsolete; use --with-gas. 1025 with_gas=yes ;; 1026 1027 -help | --help | --hel | --he | -h) 1028 ac_init_help=long ;; 1029 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1030 ac_init_help=recursive ;; 1031 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1032 ac_init_help=short ;; 1033 1034 -host | --host | --hos | --ho) 1035 ac_prev=host_alias ;; 1036 -host=* | --host=* | --hos=* | --ho=*) 1037 host_alias=$ac_optarg ;; 1038 1039 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1040 ac_prev=htmldir ;; 1041 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1042 | --ht=*) 1043 htmldir=$ac_optarg ;; 1044 1045 -includedir | --includedir | --includedi | --included | --include \ 1046 | --includ | --inclu | --incl | --inc) 1047 ac_prev=includedir ;; 1048 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1049 | --includ=* | --inclu=* | --incl=* | --inc=*) 1050 includedir=$ac_optarg ;; 1051 1052 -infodir | --infodir | --infodi | --infod | --info | --inf) 1053 ac_prev=infodir ;; 1054 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1055 infodir=$ac_optarg ;; 1056 1057 -libdir | --libdir | --libdi | --libd) 1058 ac_prev=libdir ;; 1059 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1060 libdir=$ac_optarg ;; 1061 1062 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1063 | --libexe | --libex | --libe) 1064 ac_prev=libexecdir ;; 1065 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1066 | --libexe=* | --libex=* | --libe=*) 1067 libexecdir=$ac_optarg ;; 1068 1069 -localedir | --localedir | --localedi | --localed | --locale) 1070 ac_prev=localedir ;; 1071 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1072 localedir=$ac_optarg ;; 1073 1074 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1075 | --localstate | --localstat | --localsta | --localst | --locals) 1076 ac_prev=localstatedir ;; 1077 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1078 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1079 localstatedir=$ac_optarg ;; 1080 1081 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1082 ac_prev=mandir ;; 1083 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1084 mandir=$ac_optarg ;; 1085 1086 -nfp | --nfp | --nf) 1087 # Obsolete; use --without-fp. 1088 with_fp=no ;; 1089 1090 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1091 | --no-cr | --no-c | -n) 1092 no_create=yes ;; 1093 1094 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1095 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1096 no_recursion=yes ;; 1097 1098 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1099 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1100 | --oldin | --oldi | --old | --ol | --o) 1101 ac_prev=oldincludedir ;; 1102 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1103 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1104 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1105 oldincludedir=$ac_optarg ;; 1106 1107 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1108 ac_prev=prefix ;; 1109 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1110 prefix=$ac_optarg ;; 1111 1112 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1113 | --program-pre | --program-pr | --program-p) 1114 ac_prev=program_prefix ;; 1115 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1116 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1117 program_prefix=$ac_optarg ;; 1118 1119 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1120 | --program-suf | --program-su | --program-s) 1121 ac_prev=program_suffix ;; 1122 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1123 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1124 program_suffix=$ac_optarg ;; 1125 1126 -program-transform-name | --program-transform-name \ 1127 | --program-transform-nam | --program-transform-na \ 1128 | --program-transform-n | --program-transform- \ 1129 | --program-transform | --program-transfor \ 1130 | --program-transfo | --program-transf \ 1131 | --program-trans | --program-tran \ 1132 | --progr-tra | --program-tr | --program-t) 1133 ac_prev=program_transform_name ;; 1134 -program-transform-name=* | --program-transform-name=* \ 1135 | --program-transform-nam=* | --program-transform-na=* \ 1136 | --program-transform-n=* | --program-transform-=* \ 1137 | --program-transform=* | --program-transfor=* \ 1138 | --program-transfo=* | --program-transf=* \ 1139 | --program-trans=* | --program-tran=* \ 1140 | --progr-tra=* | --program-tr=* | --program-t=*) 1141 program_transform_name=$ac_optarg ;; 1142 1143 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1144 ac_prev=pdfdir ;; 1145 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1146 pdfdir=$ac_optarg ;; 1147 1148 -psdir | --psdir | --psdi | --psd | --ps) 1149 ac_prev=psdir ;; 1150 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1151 psdir=$ac_optarg ;; 1152 1153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1154 | -silent | --silent | --silen | --sile | --sil) 1155 silent=yes ;; 1156 1157 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1158 ac_prev=sbindir ;; 1159 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1160 | --sbi=* | --sb=*) 1161 sbindir=$ac_optarg ;; 1162 1163 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1164 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1165 | --sharedst | --shareds | --shared | --share | --shar \ 1166 | --sha | --sh) 1167 ac_prev=sharedstatedir ;; 1168 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1169 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1170 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1171 | --sha=* | --sh=*) 1172 sharedstatedir=$ac_optarg ;; 1173 1174 -site | --site | --sit) 1175 ac_prev=site ;; 1176 -site=* | --site=* | --sit=*) 1177 site=$ac_optarg ;; 1178 1179 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1180 ac_prev=srcdir ;; 1181 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1182 srcdir=$ac_optarg ;; 1183 1184 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1185 | --syscon | --sysco | --sysc | --sys | --sy) 1186 ac_prev=sysconfdir ;; 1187 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1188 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1189 sysconfdir=$ac_optarg ;; 1190 1191 -target | --target | --targe | --targ | --tar | --ta | --t) 1192 ac_prev=target_alias ;; 1193 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1194 target_alias=$ac_optarg ;; 1195 1196 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1197 verbose=yes ;; 1198 1199 -version | --version | --versio | --versi | --vers | -V) 1200 ac_init_version=: ;; 1201 1202 -with-* | --with-*) 1203 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1204 # Reject names that are not valid shell variable names. 1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1206 as_fn_error $? "invalid package name: $ac_useropt" 1207 ac_useropt_orig=$ac_useropt 1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1209 case $ac_user_opts in 1210 *" 1211"with_$ac_useropt" 1212"*) ;; 1213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1214 ac_unrecognized_sep=', ';; 1215 esac 1216 eval with_$ac_useropt=\$ac_optarg ;; 1217 1218 -without-* | --without-*) 1219 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1220 # Reject names that are not valid shell variable names. 1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1222 as_fn_error $? "invalid package name: $ac_useropt" 1223 ac_useropt_orig=$ac_useropt 1224 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1225 case $ac_user_opts in 1226 *" 1227"with_$ac_useropt" 1228"*) ;; 1229 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1230 ac_unrecognized_sep=', ';; 1231 esac 1232 eval with_$ac_useropt=no ;; 1233 1234 --x) 1235 # Obsolete; use --with-x. 1236 with_x=yes ;; 1237 1238 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1239 | --x-incl | --x-inc | --x-in | --x-i) 1240 ac_prev=x_includes ;; 1241 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1242 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1243 x_includes=$ac_optarg ;; 1244 1245 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1246 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1247 ac_prev=x_libraries ;; 1248 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1249 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1250 x_libraries=$ac_optarg ;; 1251 1252 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1253Try \`$0 --help' for more information" 1254 ;; 1255 1256 *=*) 1257 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1258 # Reject names that are not valid shell variable names. 1259 case $ac_envvar in #( 1260 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1261 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1262 esac 1263 eval $ac_envvar=\$ac_optarg 1264 export $ac_envvar ;; 1265 1266 *) 1267 # FIXME: should be removed in autoconf 3.0. 1268 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1269 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1270 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1271 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1272 ;; 1273 1274 esac 1275done 1276 1277if test -n "$ac_prev"; then 1278 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1279 as_fn_error $? "missing argument to $ac_option" 1280fi 1281 1282if test -n "$ac_unrecognized_opts"; then 1283 case $enable_option_checking in 1284 no) ;; 1285 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1286 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1287 esac 1288fi 1289 1290# Check all directory arguments for consistency. 1291for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1292 datadir sysconfdir sharedstatedir localstatedir includedir \ 1293 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1294 libdir localedir mandir 1295do 1296 eval ac_val=\$$ac_var 1297 # Remove trailing slashes. 1298 case $ac_val in 1299 */ ) 1300 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1301 eval $ac_var=\$ac_val;; 1302 esac 1303 # Be sure to have absolute directory names. 1304 case $ac_val in 1305 [\\/$]* | ?:[\\/]* ) continue;; 1306 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1307 esac 1308 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1309done 1310 1311# There might be people who depend on the old broken behavior: `$host' 1312# used to hold the argument of --host etc. 1313# FIXME: To remove some day. 1314build=$build_alias 1315host=$host_alias 1316target=$target_alias 1317 1318# FIXME: To remove some day. 1319if test "x$host_alias" != x; then 1320 if test "x$build_alias" = x; then 1321 cross_compiling=maybe 1322 elif test "x$build_alias" != "x$host_alias"; then 1323 cross_compiling=yes 1324 fi 1325fi 1326 1327ac_tool_prefix= 1328test -n "$host_alias" && ac_tool_prefix=$host_alias- 1329 1330test "$silent" = yes && exec 6>/dev/null 1331 1332 1333ac_pwd=`pwd` && test -n "$ac_pwd" && 1334ac_ls_di=`ls -di .` && 1335ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1336 as_fn_error $? "working directory cannot be determined" 1337test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1338 as_fn_error $? "pwd does not report name of working directory" 1339 1340 1341# Find the source files, if location was not specified. 1342if test -z "$srcdir"; then 1343 ac_srcdir_defaulted=yes 1344 # Try the directory containing this script, then the parent directory. 1345 ac_confdir=`$as_dirname -- "$as_myself" || 1346$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1347 X"$as_myself" : 'X\(//\)[^/]' \| \ 1348 X"$as_myself" : 'X\(//\)$' \| \ 1349 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1350$as_echo X"$as_myself" | 1351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1352 s//\1/ 1353 q 1354 } 1355 /^X\(\/\/\)[^/].*/{ 1356 s//\1/ 1357 q 1358 } 1359 /^X\(\/\/\)$/{ 1360 s//\1/ 1361 q 1362 } 1363 /^X\(\/\).*/{ 1364 s//\1/ 1365 q 1366 } 1367 s/.*/./; q'` 1368 srcdir=$ac_confdir 1369 if test ! -r "$srcdir/$ac_unique_file"; then 1370 srcdir=.. 1371 fi 1372else 1373 ac_srcdir_defaulted=no 1374fi 1375if test ! -r "$srcdir/$ac_unique_file"; then 1376 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1377 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1378fi 1379ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1380ac_abs_confdir=`( 1381 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1382 pwd)` 1383# When building in place, set srcdir=. 1384if test "$ac_abs_confdir" = "$ac_pwd"; then 1385 srcdir=. 1386fi 1387# Remove unnecessary trailing slashes from srcdir. 1388# Double slashes in file names in object file debugging info 1389# mess up M-x gdb in Emacs. 1390case $srcdir in 1391*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1392esac 1393for ac_var in $ac_precious_vars; do 1394 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1395 eval ac_env_${ac_var}_value=\$${ac_var} 1396 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1397 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1398done 1399 1400# 1401# Report the --help message. 1402# 1403if test "$ac_init_help" = "long"; then 1404 # Omit some internal or obsolete options to make the list less imposing. 1405 # This message is too long to be a string in the A/UX 3.1 sh. 1406 cat <<_ACEOF 1407\`configure' configures thunar-media-tags-plugin 0.3.0 to adapt to many kinds of systems. 1408 1409Usage: $0 [OPTION]... [VAR=VALUE]... 1410 1411To assign environment variables (e.g., CC, CFLAGS...), specify them as 1412VAR=VALUE. See below for descriptions of some of the useful variables. 1413 1414Defaults for the options are specified in brackets. 1415 1416Configuration: 1417 -h, --help display this help and exit 1418 --help=short display options specific to this package 1419 --help=recursive display the short help of all the included packages 1420 -V, --version display version information and exit 1421 -q, --quiet, --silent do not print \`checking ...' messages 1422 --cache-file=FILE cache test results in FILE [disabled] 1423 -C, --config-cache alias for \`--cache-file=config.cache' 1424 -n, --no-create do not create output files 1425 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1426 1427Installation directories: 1428 --prefix=PREFIX install architecture-independent files in PREFIX 1429 [$ac_default_prefix] 1430 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1431 [PREFIX] 1432 1433By default, \`make install' will install all the files in 1434\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1435an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1436for instance \`--prefix=\$HOME'. 1437 1438For better control, use the options below. 1439 1440Fine tuning of the installation directories: 1441 --bindir=DIR user executables [EPREFIX/bin] 1442 --sbindir=DIR system admin executables [EPREFIX/sbin] 1443 --libexecdir=DIR program executables [EPREFIX/libexec] 1444 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1445 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1446 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1447 --libdir=DIR object code libraries [EPREFIX/lib] 1448 --includedir=DIR C header files [PREFIX/include] 1449 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1450 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1451 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1452 --infodir=DIR info documentation [DATAROOTDIR/info] 1453 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1454 --mandir=DIR man documentation [DATAROOTDIR/man] 1455 --docdir=DIR documentation root 1456 [DATAROOTDIR/doc/thunar-media-tags-plugin] 1457 --htmldir=DIR html documentation [DOCDIR] 1458 --dvidir=DIR dvi documentation [DOCDIR] 1459 --pdfdir=DIR pdf documentation [DOCDIR] 1460 --psdir=DIR ps documentation [DOCDIR] 1461_ACEOF 1462 1463 cat <<\_ACEOF 1464 1465Program names: 1466 --program-prefix=PREFIX prepend PREFIX to installed program names 1467 --program-suffix=SUFFIX append SUFFIX to installed program names 1468 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1469 1470System types: 1471 --build=BUILD configure for building on BUILD [guessed] 1472 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1473 --target=TARGET configure for building compilers for TARGET [HOST] 1474_ACEOF 1475fi 1476 1477if test -n "$ac_init_help"; then 1478 case $ac_init_help in 1479 short | recursive ) echo "Configuration of thunar-media-tags-plugin 0.3.0:";; 1480 esac 1481 cat <<\_ACEOF 1482 1483Optional Features: 1484 --disable-option-checking ignore unrecognized --enable/--with options 1485 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1486 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1487 --enable-silent-rules less verbose build output (undo: "make V=1") 1488 --disable-silent-rules verbose build output (undo: "make V=0") 1489 --enable-maintainer-mode 1490 enable make rules and dependencies not useful (and 1491 sometimes confusing) to the casual installer 1492 --enable-dependency-tracking 1493 do not reject slow dependency extractors 1494 --disable-dependency-tracking 1495 speeds up one-time build 1496 --disable-nls do not use Native Language Support 1497 --enable-static[=PKGS] build static libraries [default=no] 1498 --enable-shared[=PKGS] build shared libraries [default=yes] 1499 --enable-fast-install[=PKGS] 1500 optimize for fast installation [default=yes] 1501 --disable-libtool-lock avoid locking (might break parallel builds) 1502 --enable-debug[=no|minimum|yes|full] 1503 Build with debugging support 1504 [default=[minimum]] 1505 --disable-debug Include no debugging support 1506 --disable-linker-opts Disable linker optimizations 1507 1508Optional Packages: 1509 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1510 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1511 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1512 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1513 both] 1514 --with-aix-soname=aix|svr4|both 1515 shared library versioning (aka "SONAME") variant to 1516 provide on AIX, [default=aix]. 1517 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1518 compiler's sysroot if not specified). 1519 1520 --with-locales-dir=DIR Install locales into DIR 1521 1522 1523Some influential environment variables: 1524 CC C compiler command 1525 CFLAGS C compiler flags 1526 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1527 nonstandard directory <lib dir> 1528 LIBS libraries to pass to the linker, e.g. -l<library> 1529 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1530 you have headers in a nonstandard directory <include dir> 1531 CPP C preprocessor 1532 LT_SYS_LIBRARY_PATH 1533 User-defined run-time library search path. 1534 PKG_CONFIG path to pkg-config utility 1535 PKG_CONFIG_PATH 1536 directories to add to pkg-config's search path 1537 PKG_CONFIG_LIBDIR 1538 path overriding pkg-config's built-in search path 1539 1540Use these variables to override the choices made by `configure' or to help 1541it to find libraries and programs with nonstandard names/locations. 1542 1543Report bugs to <thunar-dev@xfce.org>. 1544_ACEOF 1545ac_status=$? 1546fi 1547 1548if test "$ac_init_help" = "recursive"; then 1549 # If there are subdirs, report their specific --help. 1550 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1551 test -d "$ac_dir" || 1552 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1553 continue 1554 ac_builddir=. 1555 1556case "$ac_dir" in 1557.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1558*) 1559 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1560 # A ".." for each directory in $ac_dir_suffix. 1561 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1562 case $ac_top_builddir_sub in 1563 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1564 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1565 esac ;; 1566esac 1567ac_abs_top_builddir=$ac_pwd 1568ac_abs_builddir=$ac_pwd$ac_dir_suffix 1569# for backward compatibility: 1570ac_top_builddir=$ac_top_build_prefix 1571 1572case $srcdir in 1573 .) # We are building in place. 1574 ac_srcdir=. 1575 ac_top_srcdir=$ac_top_builddir_sub 1576 ac_abs_top_srcdir=$ac_pwd ;; 1577 [\\/]* | ?:[\\/]* ) # Absolute name. 1578 ac_srcdir=$srcdir$ac_dir_suffix; 1579 ac_top_srcdir=$srcdir 1580 ac_abs_top_srcdir=$srcdir ;; 1581 *) # Relative name. 1582 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1583 ac_top_srcdir=$ac_top_build_prefix$srcdir 1584 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1585esac 1586ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1587 1588 cd "$ac_dir" || { ac_status=$?; continue; } 1589 # Check for guested configure. 1590 if test -f "$ac_srcdir/configure.gnu"; then 1591 echo && 1592 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1593 elif test -f "$ac_srcdir/configure"; then 1594 echo && 1595 $SHELL "$ac_srcdir/configure" --help=recursive 1596 else 1597 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1598 fi || ac_status=$? 1599 cd "$ac_pwd" || { ac_status=$?; break; } 1600 done 1601fi 1602 1603test -n "$ac_init_help" && exit $ac_status 1604if $ac_init_version; then 1605 cat <<\_ACEOF 1606thunar-media-tags-plugin configure 0.3.0 1607generated by GNU Autoconf 2.69 1608 1609Copyright (C) 2012 Free Software Foundation, Inc. 1610This configure script is free software; the Free Software Foundation 1611gives unlimited permission to copy, distribute and modify it. 1612 1613Copyright (c) 2006-2007 Jannis Pohlmann <jannis@xfce.org>. 1614_ACEOF 1615 exit 1616fi 1617 1618## ------------------------ ## 1619## Autoconf initialization. ## 1620## ------------------------ ## 1621 1622# ac_fn_c_try_compile LINENO 1623# -------------------------- 1624# Try to compile conftest.$ac_ext, and return whether this succeeded. 1625ac_fn_c_try_compile () 1626{ 1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1628 rm -f conftest.$ac_objext 1629 if { { ac_try="$ac_compile" 1630case "(($ac_try" in 1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1632 *) ac_try_echo=$ac_try;; 1633esac 1634eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1635$as_echo "$ac_try_echo"; } >&5 1636 (eval "$ac_compile") 2>conftest.err 1637 ac_status=$? 1638 if test -s conftest.err; then 1639 grep -v '^ *+' conftest.err >conftest.er1 1640 cat conftest.er1 >&5 1641 mv -f conftest.er1 conftest.err 1642 fi 1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1644 test $ac_status = 0; } && { 1645 test -z "$ac_c_werror_flag" || 1646 test ! -s conftest.err 1647 } && test -s conftest.$ac_objext; then : 1648 ac_retval=0 1649else 1650 $as_echo "$as_me: failed program was:" >&5 1651sed 's/^/| /' conftest.$ac_ext >&5 1652 1653 ac_retval=1 1654fi 1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1656 as_fn_set_status $ac_retval 1657 1658} # ac_fn_c_try_compile 1659 1660# ac_fn_c_try_cpp LINENO 1661# ---------------------- 1662# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1663ac_fn_c_try_cpp () 1664{ 1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1666 if { { ac_try="$ac_cpp conftest.$ac_ext" 1667case "(($ac_try" in 1668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1669 *) ac_try_echo=$ac_try;; 1670esac 1671eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1672$as_echo "$ac_try_echo"; } >&5 1673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1674 ac_status=$? 1675 if test -s conftest.err; then 1676 grep -v '^ *+' conftest.err >conftest.er1 1677 cat conftest.er1 >&5 1678 mv -f conftest.er1 conftest.err 1679 fi 1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1681 test $ac_status = 0; } > conftest.i && { 1682 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1683 test ! -s conftest.err 1684 }; then : 1685 ac_retval=0 1686else 1687 $as_echo "$as_me: failed program was:" >&5 1688sed 's/^/| /' conftest.$ac_ext >&5 1689 1690 ac_retval=1 1691fi 1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1693 as_fn_set_status $ac_retval 1694 1695} # ac_fn_c_try_cpp 1696 1697# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1698# ------------------------------------------------------- 1699# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1700# the include files in INCLUDES and setting the cache variable VAR 1701# accordingly. 1702ac_fn_c_check_header_mongrel () 1703{ 1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1705 if eval \${$3+:} false; then : 1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1707$as_echo_n "checking for $2... " >&6; } 1708if eval \${$3+:} false; then : 1709 $as_echo_n "(cached) " >&6 1710fi 1711eval ac_res=\$$3 1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1713$as_echo "$ac_res" >&6; } 1714else 1715 # Is the header compilable? 1716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1717$as_echo_n "checking $2 usability... " >&6; } 1718cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1719/* end confdefs.h. */ 1720$4 1721#include <$2> 1722_ACEOF 1723if ac_fn_c_try_compile "$LINENO"; then : 1724 ac_header_compiler=yes 1725else 1726 ac_header_compiler=no 1727fi 1728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1730$as_echo "$ac_header_compiler" >&6; } 1731 1732# Is the header present? 1733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1734$as_echo_n "checking $2 presence... " >&6; } 1735cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1736/* end confdefs.h. */ 1737#include <$2> 1738_ACEOF 1739if ac_fn_c_try_cpp "$LINENO"; then : 1740 ac_header_preproc=yes 1741else 1742 ac_header_preproc=no 1743fi 1744rm -f conftest.err conftest.i conftest.$ac_ext 1745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1746$as_echo "$ac_header_preproc" >&6; } 1747 1748# So? What about this header? 1749case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1750 yes:no: ) 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1752$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1754$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1755 ;; 1756 no:yes:* ) 1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1758$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1760$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1762$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1764$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1766$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1767( $as_echo "## ---------------------------------- ## 1768## Report this to thunar-dev@xfce.org ## 1769## ---------------------------------- ##" 1770 ) | sed "s/^/$as_me: WARNING: /" >&2 1771 ;; 1772esac 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1774$as_echo_n "checking for $2... " >&6; } 1775if eval \${$3+:} false; then : 1776 $as_echo_n "(cached) " >&6 1777else 1778 eval "$3=\$ac_header_compiler" 1779fi 1780eval ac_res=\$$3 1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1782$as_echo "$ac_res" >&6; } 1783fi 1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1785 1786} # ac_fn_c_check_header_mongrel 1787 1788# ac_fn_c_try_run LINENO 1789# ---------------------- 1790# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1791# that executables *can* be run. 1792ac_fn_c_try_run () 1793{ 1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1795 if { { ac_try="$ac_link" 1796case "(($ac_try" in 1797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1798 *) ac_try_echo=$ac_try;; 1799esac 1800eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1801$as_echo "$ac_try_echo"; } >&5 1802 (eval "$ac_link") 2>&5 1803 ac_status=$? 1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1805 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1806 { { case "(($ac_try" in 1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1808 *) ac_try_echo=$ac_try;; 1809esac 1810eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1811$as_echo "$ac_try_echo"; } >&5 1812 (eval "$ac_try") 2>&5 1813 ac_status=$? 1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1815 test $ac_status = 0; }; }; then : 1816 ac_retval=0 1817else 1818 $as_echo "$as_me: program exited with status $ac_status" >&5 1819 $as_echo "$as_me: failed program was:" >&5 1820sed 's/^/| /' conftest.$ac_ext >&5 1821 1822 ac_retval=$ac_status 1823fi 1824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1826 as_fn_set_status $ac_retval 1827 1828} # ac_fn_c_try_run 1829 1830# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1831# ------------------------------------------------------- 1832# Tests whether HEADER exists and can be compiled using the include files in 1833# INCLUDES, setting the cache variable VAR accordingly. 1834ac_fn_c_check_header_compile () 1835{ 1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1838$as_echo_n "checking for $2... " >&6; } 1839if eval \${$3+:} false; then : 1840 $as_echo_n "(cached) " >&6 1841else 1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1843/* end confdefs.h. */ 1844$4 1845#include <$2> 1846_ACEOF 1847if ac_fn_c_try_compile "$LINENO"; then : 1848 eval "$3=yes" 1849else 1850 eval "$3=no" 1851fi 1852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1853fi 1854eval ac_res=\$$3 1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1856$as_echo "$ac_res" >&6; } 1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1858 1859} # ac_fn_c_check_header_compile 1860 1861# ac_fn_c_try_link LINENO 1862# ----------------------- 1863# Try to link conftest.$ac_ext, and return whether this succeeded. 1864ac_fn_c_try_link () 1865{ 1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1867 rm -f conftest.$ac_objext conftest$ac_exeext 1868 if { { ac_try="$ac_link" 1869case "(($ac_try" in 1870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1871 *) ac_try_echo=$ac_try;; 1872esac 1873eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1874$as_echo "$ac_try_echo"; } >&5 1875 (eval "$ac_link") 2>conftest.err 1876 ac_status=$? 1877 if test -s conftest.err; then 1878 grep -v '^ *+' conftest.err >conftest.er1 1879 cat conftest.er1 >&5 1880 mv -f conftest.er1 conftest.err 1881 fi 1882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1883 test $ac_status = 0; } && { 1884 test -z "$ac_c_werror_flag" || 1885 test ! -s conftest.err 1886 } && test -s conftest$ac_exeext && { 1887 test "$cross_compiling" = yes || 1888 test -x conftest$ac_exeext 1889 }; then : 1890 ac_retval=0 1891else 1892 $as_echo "$as_me: failed program was:" >&5 1893sed 's/^/| /' conftest.$ac_ext >&5 1894 1895 ac_retval=1 1896fi 1897 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1898 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1899 # interfere with the next link command; also delete a directory that is 1900 # left behind by Apple's compiler. We do this before executing the actions. 1901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1903 as_fn_set_status $ac_retval 1904 1905} # ac_fn_c_try_link 1906 1907# ac_fn_c_check_func LINENO FUNC VAR 1908# ---------------------------------- 1909# Tests whether FUNC exists, setting the cache variable VAR accordingly 1910ac_fn_c_check_func () 1911{ 1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1914$as_echo_n "checking for $2... " >&6; } 1915if eval \${$3+:} false; then : 1916 $as_echo_n "(cached) " >&6 1917else 1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1919/* end confdefs.h. */ 1920/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1921 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1922#define $2 innocuous_$2 1923 1924/* System header to define __stub macros and hopefully few prototypes, 1925 which can conflict with char $2 (); below. 1926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1927 <limits.h> exists even on freestanding compilers. */ 1928 1929#ifdef __STDC__ 1930# include <limits.h> 1931#else 1932# include <assert.h> 1933#endif 1934 1935#undef $2 1936 1937/* Override any GCC internal prototype to avoid an error. 1938 Use char because int might match the return type of a GCC 1939 builtin and then its argument prototype would still apply. */ 1940#ifdef __cplusplus 1941extern "C" 1942#endif 1943char $2 (); 1944/* The GNU C library defines this for functions which it implements 1945 to always fail with ENOSYS. Some functions are actually named 1946 something starting with __ and the normal name is an alias. */ 1947#if defined __stub_$2 || defined __stub___$2 1948choke me 1949#endif 1950 1951int 1952main () 1953{ 1954return $2 (); 1955 ; 1956 return 0; 1957} 1958_ACEOF 1959if ac_fn_c_try_link "$LINENO"; then : 1960 eval "$3=yes" 1961else 1962 eval "$3=no" 1963fi 1964rm -f core conftest.err conftest.$ac_objext \ 1965 conftest$ac_exeext conftest.$ac_ext 1966fi 1967eval ac_res=\$$3 1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1969$as_echo "$ac_res" >&6; } 1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1971 1972} # ac_fn_c_check_func 1973cat >config.log <<_ACEOF 1974This file contains any messages produced by compilers while 1975running configure, to aid debugging if configure makes a mistake. 1976 1977It was created by thunar-media-tags-plugin $as_me 0.3.0, which was 1978generated by GNU Autoconf 2.69. Invocation command line was 1979 1980 $ $0 $@ 1981 1982_ACEOF 1983exec 5>>config.log 1984{ 1985cat <<_ASUNAME 1986## --------- ## 1987## Platform. ## 1988## --------- ## 1989 1990hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1991uname -m = `(uname -m) 2>/dev/null || echo unknown` 1992uname -r = `(uname -r) 2>/dev/null || echo unknown` 1993uname -s = `(uname -s) 2>/dev/null || echo unknown` 1994uname -v = `(uname -v) 2>/dev/null || echo unknown` 1995 1996/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1997/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1998 1999/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2000/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2001/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2002/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2003/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2004/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2005/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2006 2007_ASUNAME 2008 2009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2010for as_dir in $PATH 2011do 2012 IFS=$as_save_IFS 2013 test -z "$as_dir" && as_dir=. 2014 $as_echo "PATH: $as_dir" 2015 done 2016IFS=$as_save_IFS 2017 2018} >&5 2019 2020cat >&5 <<_ACEOF 2021 2022 2023## ----------- ## 2024## Core tests. ## 2025## ----------- ## 2026 2027_ACEOF 2028 2029 2030# Keep a trace of the command line. 2031# Strip out --no-create and --no-recursion so they do not pile up. 2032# Strip out --silent because we don't want to record it for future runs. 2033# Also quote any args containing shell meta-characters. 2034# Make two passes to allow for proper duplicate-argument suppression. 2035ac_configure_args= 2036ac_configure_args0= 2037ac_configure_args1= 2038ac_must_keep_next=false 2039for ac_pass in 1 2 2040do 2041 for ac_arg 2042 do 2043 case $ac_arg in 2044 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2046 | -silent | --silent | --silen | --sile | --sil) 2047 continue ;; 2048 *\'*) 2049 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2050 esac 2051 case $ac_pass in 2052 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2053 2) 2054 as_fn_append ac_configure_args1 " '$ac_arg'" 2055 if test $ac_must_keep_next = true; then 2056 ac_must_keep_next=false # Got value, back to normal. 2057 else 2058 case $ac_arg in 2059 *=* | --config-cache | -C | -disable-* | --disable-* \ 2060 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2061 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2062 | -with-* | --with-* | -without-* | --without-* | --x) 2063 case "$ac_configure_args0 " in 2064 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2065 esac 2066 ;; 2067 -* ) ac_must_keep_next=true ;; 2068 esac 2069 fi 2070 as_fn_append ac_configure_args " '$ac_arg'" 2071 ;; 2072 esac 2073 done 2074done 2075{ ac_configure_args0=; unset ac_configure_args0;} 2076{ ac_configure_args1=; unset ac_configure_args1;} 2077 2078# When interrupted or exit'd, cleanup temporary files, and complete 2079# config.log. We remove comments because anyway the quotes in there 2080# would cause problems or look ugly. 2081# WARNING: Use '\'' to represent an apostrophe within the trap. 2082# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2083trap 'exit_status=$? 2084 # Save into config.log some information that might help in debugging. 2085 { 2086 echo 2087 2088 $as_echo "## ---------------- ## 2089## Cache variables. ## 2090## ---------------- ##" 2091 echo 2092 # The following way of writing the cache mishandles newlines in values, 2093( 2094 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2095 eval ac_val=\$$ac_var 2096 case $ac_val in #( 2097 *${as_nl}*) 2098 case $ac_var in #( 2099 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2100$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2101 esac 2102 case $ac_var in #( 2103 _ | IFS | as_nl) ;; #( 2104 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2105 *) { eval $ac_var=; unset $ac_var;} ;; 2106 esac ;; 2107 esac 2108 done 2109 (set) 2>&1 | 2110 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2111 *${as_nl}ac_space=\ *) 2112 sed -n \ 2113 "s/'\''/'\''\\\\'\'''\''/g; 2114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2115 ;; #( 2116 *) 2117 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2118 ;; 2119 esac | 2120 sort 2121) 2122 echo 2123 2124 $as_echo "## ----------------- ## 2125## Output variables. ## 2126## ----------------- ##" 2127 echo 2128 for ac_var in $ac_subst_vars 2129 do 2130 eval ac_val=\$$ac_var 2131 case $ac_val in 2132 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2133 esac 2134 $as_echo "$ac_var='\''$ac_val'\''" 2135 done | sort 2136 echo 2137 2138 if test -n "$ac_subst_files"; then 2139 $as_echo "## ------------------- ## 2140## File substitutions. ## 2141## ------------------- ##" 2142 echo 2143 for ac_var in $ac_subst_files 2144 do 2145 eval ac_val=\$$ac_var 2146 case $ac_val in 2147 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2148 esac 2149 $as_echo "$ac_var='\''$ac_val'\''" 2150 done | sort 2151 echo 2152 fi 2153 2154 if test -s confdefs.h; then 2155 $as_echo "## ----------- ## 2156## confdefs.h. ## 2157## ----------- ##" 2158 echo 2159 cat confdefs.h 2160 echo 2161 fi 2162 test "$ac_signal" != 0 && 2163 $as_echo "$as_me: caught signal $ac_signal" 2164 $as_echo "$as_me: exit $exit_status" 2165 } >&5 2166 rm -f core *.core core.conftest.* && 2167 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2168 exit $exit_status 2169' 0 2170for ac_signal in 1 2 13 15; do 2171 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2172done 2173ac_signal=0 2174 2175# confdefs.h avoids OS command line length limits that DEFS can exceed. 2176rm -f -r conftest* confdefs.h 2177 2178$as_echo "/* confdefs.h */" > confdefs.h 2179 2180# Predefined preprocessor variables. 2181 2182cat >>confdefs.h <<_ACEOF 2183#define PACKAGE_NAME "$PACKAGE_NAME" 2184_ACEOF 2185 2186cat >>confdefs.h <<_ACEOF 2187#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2188_ACEOF 2189 2190cat >>confdefs.h <<_ACEOF 2191#define PACKAGE_VERSION "$PACKAGE_VERSION" 2192_ACEOF 2193 2194cat >>confdefs.h <<_ACEOF 2195#define PACKAGE_STRING "$PACKAGE_STRING" 2196_ACEOF 2197 2198cat >>confdefs.h <<_ACEOF 2199#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2200_ACEOF 2201 2202cat >>confdefs.h <<_ACEOF 2203#define PACKAGE_URL "$PACKAGE_URL" 2204_ACEOF 2205 2206 2207# Let the site file select an alternate cache file if it wants to. 2208# Prefer an explicitly selected file to automatically selected ones. 2209ac_site_file1=NONE 2210ac_site_file2=NONE 2211if test -n "$CONFIG_SITE"; then 2212 # We do not want a PATH search for config.site. 2213 case $CONFIG_SITE in #(( 2214 -*) ac_site_file1=./$CONFIG_SITE;; 2215 */*) ac_site_file1=$CONFIG_SITE;; 2216 *) ac_site_file1=./$CONFIG_SITE;; 2217 esac 2218elif test "x$prefix" != xNONE; then 2219 ac_site_file1=$prefix/share/config.site 2220 ac_site_file2=$prefix/etc/config.site 2221else 2222 ac_site_file1=$ac_default_prefix/share/config.site 2223 ac_site_file2=$ac_default_prefix/etc/config.site 2224fi 2225for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2226do 2227 test "x$ac_site_file" = xNONE && continue 2228 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2229 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2230$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2231 sed 's/^/| /' "$ac_site_file" >&5 2232 . "$ac_site_file" \ 2233 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2235as_fn_error $? "failed to load site script $ac_site_file 2236See \`config.log' for more details" "$LINENO" 5; } 2237 fi 2238done 2239 2240if test -r "$cache_file"; then 2241 # Some versions of bash will fail to source /dev/null (special files 2242 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2243 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2244 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2245$as_echo "$as_me: loading cache $cache_file" >&6;} 2246 case $cache_file in 2247 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2248 *) . "./$cache_file";; 2249 esac 2250 fi 2251else 2252 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2253$as_echo "$as_me: creating cache $cache_file" >&6;} 2254 >$cache_file 2255fi 2256 2257# Check that the precious variables saved in the cache have kept the same 2258# value. 2259ac_cache_corrupted=false 2260for ac_var in $ac_precious_vars; do 2261 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2262 eval ac_new_set=\$ac_env_${ac_var}_set 2263 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2264 eval ac_new_val=\$ac_env_${ac_var}_value 2265 case $ac_old_set,$ac_new_set in 2266 set,) 2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2268$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2269 ac_cache_corrupted=: ;; 2270 ,set) 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2272$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2273 ac_cache_corrupted=: ;; 2274 ,);; 2275 *) 2276 if test "x$ac_old_val" != "x$ac_new_val"; then 2277 # differences in whitespace do not lead to failure. 2278 ac_old_val_w=`echo x $ac_old_val` 2279 ac_new_val_w=`echo x $ac_new_val` 2280 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2282$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2283 ac_cache_corrupted=: 2284 else 2285 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2286$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2287 eval $ac_var=\$ac_old_val 2288 fi 2289 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2290$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2291 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2292$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2293 fi;; 2294 esac 2295 # Pass precious variables to config.status. 2296 if test "$ac_new_set" = set; then 2297 case $ac_new_val in 2298 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2299 *) ac_arg=$ac_var=$ac_new_val ;; 2300 esac 2301 case " $ac_configure_args " in 2302 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2303 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2304 esac 2305 fi 2306done 2307if $ac_cache_corrupted; then 2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2309$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2311$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2312 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2313fi 2314## -------------------- ## 2315## Main body of script. ## 2316## -------------------- ## 2317 2318ac_ext=c 2319ac_cpp='$CPP $CPPFLAGS' 2320ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2322ac_compiler_gnu=$ac_cv_c_compiler_gnu 2323 2324 2325 2326ac_aux_dir= 2327for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2328 if test -f "$ac_dir/install-sh"; then 2329 ac_aux_dir=$ac_dir 2330 ac_install_sh="$ac_aux_dir/install-sh -c" 2331 break 2332 elif test -f "$ac_dir/install.sh"; then 2333 ac_aux_dir=$ac_dir 2334 ac_install_sh="$ac_aux_dir/install.sh -c" 2335 break 2336 elif test -f "$ac_dir/shtool"; then 2337 ac_aux_dir=$ac_dir 2338 ac_install_sh="$ac_aux_dir/shtool install -c" 2339 break 2340 fi 2341done 2342if test -z "$ac_aux_dir"; then 2343 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2344fi 2345 2346# These three variables are undocumented and unsupported, 2347# and are intended to be withdrawn in a future Autoconf release. 2348# They can cause serious problems if a builder's source tree is in a directory 2349# whose full name contains unusual characters. 2350ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2351ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2352ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2353 2354 2355# Make sure we can run config.sub. 2356$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2357 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2358 2359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2360$as_echo_n "checking build system type... " >&6; } 2361if ${ac_cv_build+:} false; then : 2362 $as_echo_n "(cached) " >&6 2363else 2364 ac_build_alias=$build_alias 2365test "x$ac_build_alias" = x && 2366 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2367test "x$ac_build_alias" = x && 2368 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2369ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2370 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2371 2372fi 2373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2374$as_echo "$ac_cv_build" >&6; } 2375case $ac_cv_build in 2376*-*-*) ;; 2377*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2378esac 2379build=$ac_cv_build 2380ac_save_IFS=$IFS; IFS='-' 2381set x $ac_cv_build 2382shift 2383build_cpu=$1 2384build_vendor=$2 2385shift; shift 2386# Remember, the first character of IFS is used to create $*, 2387# except with old shells: 2388build_os=$* 2389IFS=$ac_save_IFS 2390case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2391 2392 2393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2394$as_echo_n "checking host system type... " >&6; } 2395if ${ac_cv_host+:} false; then : 2396 $as_echo_n "(cached) " >&6 2397else 2398 if test "x$host_alias" = x; then 2399 ac_cv_host=$ac_cv_build 2400else 2401 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2402 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2403fi 2404 2405fi 2406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2407$as_echo "$ac_cv_host" >&6; } 2408case $ac_cv_host in 2409*-*-*) ;; 2410*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2411esac 2412host=$ac_cv_host 2413ac_save_IFS=$IFS; IFS='-' 2414set x $ac_cv_host 2415shift 2416host_cpu=$1 2417host_vendor=$2 2418shift; shift 2419# Remember, the first character of IFS is used to create $*, 2420# except with old shells: 2421host_os=$* 2422IFS=$ac_save_IFS 2423case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2424 2425 2426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2427$as_echo_n "checking target system type... " >&6; } 2428if ${ac_cv_target+:} false; then : 2429 $as_echo_n "(cached) " >&6 2430else 2431 if test "x$target_alias" = x; then 2432 ac_cv_target=$ac_cv_host 2433else 2434 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2435 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2436fi 2437 2438fi 2439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2440$as_echo "$ac_cv_target" >&6; } 2441case $ac_cv_target in 2442*-*-*) ;; 2443*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2444esac 2445target=$ac_cv_target 2446ac_save_IFS=$IFS; IFS='-' 2447set x $ac_cv_target 2448shift 2449target_cpu=$1 2450target_vendor=$2 2451shift; shift 2452# Remember, the first character of IFS is used to create $*, 2453# except with old shells: 2454target_os=$* 2455IFS=$ac_save_IFS 2456case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2457 2458 2459# The aliases save the names the user supplied, while $host etc. 2460# will get canonicalized. 2461test -n "$target_alias" && 2462 test "$program_prefix$program_suffix$program_transform_name" = \ 2463 NONENONEs,x,x, && 2464 program_prefix=${target_alias}- 2465 2466 2467am__api_version='1.15' 2468 2469# Find a good install program. We prefer a C program (faster), 2470# so one script is as good as another. But avoid the broken or 2471# incompatible versions: 2472# SysV /etc/install, /usr/sbin/install 2473# SunOS /usr/etc/install 2474# IRIX /sbin/install 2475# AIX /bin/install 2476# AmigaOS /C/install, which installs bootblocks on floppy discs 2477# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2478# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2479# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2480# OS/2's system install, which has a completely different semantic 2481# ./install, which can be erroneously created by make from ./install.sh. 2482# Reject install programs that cannot install multiple files. 2483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2484$as_echo_n "checking for a BSD-compatible install... " >&6; } 2485if test -z "$INSTALL"; then 2486if ${ac_cv_path_install+:} false; then : 2487 $as_echo_n "(cached) " >&6 2488else 2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2490for as_dir in $PATH 2491do 2492 IFS=$as_save_IFS 2493 test -z "$as_dir" && as_dir=. 2494 # Account for people who put trailing slashes in PATH elements. 2495case $as_dir/ in #(( 2496 ./ | .// | /[cC]/* | \ 2497 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2498 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2499 /usr/ucb/* ) ;; 2500 *) 2501 # OSF1 and SCO ODT 3.0 have their own names for install. 2502 # Don't use installbsd from OSF since it installs stuff as root 2503 # by default. 2504 for ac_prog in ginstall scoinst install; do 2505 for ac_exec_ext in '' $ac_executable_extensions; do 2506 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2507 if test $ac_prog = install && 2508 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2509 # AIX install. It has an incompatible calling convention. 2510 : 2511 elif test $ac_prog = install && 2512 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2513 # program-specific install script used by HP pwplus--don't use. 2514 : 2515 else 2516 rm -rf conftest.one conftest.two conftest.dir 2517 echo one > conftest.one 2518 echo two > conftest.two 2519 mkdir conftest.dir 2520 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2521 test -s conftest.one && test -s conftest.two && 2522 test -s conftest.dir/conftest.one && 2523 test -s conftest.dir/conftest.two 2524 then 2525 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2526 break 3 2527 fi 2528 fi 2529 fi 2530 done 2531 done 2532 ;; 2533esac 2534 2535 done 2536IFS=$as_save_IFS 2537 2538rm -rf conftest.one conftest.two conftest.dir 2539 2540fi 2541 if test "${ac_cv_path_install+set}" = set; then 2542 INSTALL=$ac_cv_path_install 2543 else 2544 # As a last resort, use the slow shell script. Don't cache a 2545 # value for INSTALL within a source directory, because that will 2546 # break other packages using the cache if that directory is 2547 # removed, or if the value is a relative name. 2548 INSTALL=$ac_install_sh 2549 fi 2550fi 2551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2552$as_echo "$INSTALL" >&6; } 2553 2554# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2555# It thinks the first close brace ends the variable substitution. 2556test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2557 2558test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2559 2560test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2561 2562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2563$as_echo_n "checking whether build environment is sane... " >&6; } 2564# Reject unsafe characters in $srcdir or the absolute working directory 2565# name. Accept space and tab only in the latter. 2566am_lf=' 2567' 2568case `pwd` in 2569 *[\\\"\#\$\&\'\`$am_lf]*) 2570 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2571esac 2572case $srcdir in 2573 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2574 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2575esac 2576 2577# Do 'set' in a subshell so we don't clobber the current shell's 2578# arguments. Must try -L first in case configure is actually a 2579# symlink; some systems play weird games with the mod time of symlinks 2580# (eg FreeBSD returns the mod time of the symlink's containing 2581# directory). 2582if ( 2583 am_has_slept=no 2584 for am_try in 1 2; do 2585 echo "timestamp, slept: $am_has_slept" > conftest.file 2586 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2587 if test "$*" = "X"; then 2588 # -L didn't work. 2589 set X `ls -t "$srcdir/configure" conftest.file` 2590 fi 2591 if test "$*" != "X $srcdir/configure conftest.file" \ 2592 && test "$*" != "X conftest.file $srcdir/configure"; then 2593 2594 # If neither matched, then we have a broken ls. This can happen 2595 # if, for instance, CONFIG_SHELL is bash and it inherits a 2596 # broken ls alias from the environment. This has actually 2597 # happened. Such a system could not be considered "sane". 2598 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2599 alias in your environment" "$LINENO" 5 2600 fi 2601 if test "$2" = conftest.file || test $am_try -eq 2; then 2602 break 2603 fi 2604 # Just in case. 2605 sleep 1 2606 am_has_slept=yes 2607 done 2608 test "$2" = conftest.file 2609 ) 2610then 2611 # Ok. 2612 : 2613else 2614 as_fn_error $? "newly created file is older than distributed files! 2615Check your system clock" "$LINENO" 5 2616fi 2617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2618$as_echo "yes" >&6; } 2619# If we didn't sleep, we still need to ensure time stamps of config.status and 2620# generated files are strictly newer. 2621am_sleep_pid= 2622if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2623 ( sleep 1 ) & 2624 am_sleep_pid=$! 2625fi 2626 2627rm -f conftest.file 2628 2629test "$program_prefix" != NONE && 2630 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2631# Use a double $ so make ignores it. 2632test "$program_suffix" != NONE && 2633 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2634# Double any \ or $. 2635# By default was `s,x,x', remove it if useless. 2636ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2637program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2638 2639# Expand $ac_aux_dir to an absolute path. 2640am_aux_dir=`cd "$ac_aux_dir" && pwd` 2641 2642if test x"${MISSING+set}" != xset; then 2643 case $am_aux_dir in 2644 *\ * | *\ *) 2645 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2646 *) 2647 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2648 esac 2649fi 2650# Use eval to expand $SHELL 2651if eval "$MISSING --is-lightweight"; then 2652 am_missing_run="$MISSING " 2653else 2654 am_missing_run= 2655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2656$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2657fi 2658 2659if test x"${install_sh+set}" != xset; then 2660 case $am_aux_dir in 2661 *\ * | *\ *) 2662 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2663 *) 2664 install_sh="\${SHELL} $am_aux_dir/install-sh" 2665 esac 2666fi 2667 2668# Installed binaries are usually stripped using 'strip' when the user 2669# run "make install-strip". However 'strip' might not be the right 2670# tool to use in cross-compilation environments, therefore Automake 2671# will honor the 'STRIP' environment variable to overrule this program. 2672if test "$cross_compiling" != no; then 2673 if test -n "$ac_tool_prefix"; then 2674 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2675set dummy ${ac_tool_prefix}strip; ac_word=$2 2676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2677$as_echo_n "checking for $ac_word... " >&6; } 2678if ${ac_cv_prog_STRIP+:} false; then : 2679 $as_echo_n "(cached) " >&6 2680else 2681 if test -n "$STRIP"; then 2682 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2683else 2684as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2685for as_dir in $PATH 2686do 2687 IFS=$as_save_IFS 2688 test -z "$as_dir" && as_dir=. 2689 for ac_exec_ext in '' $ac_executable_extensions; do 2690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2691 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2693 break 2 2694 fi 2695done 2696 done 2697IFS=$as_save_IFS 2698 2699fi 2700fi 2701STRIP=$ac_cv_prog_STRIP 2702if test -n "$STRIP"; then 2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2704$as_echo "$STRIP" >&6; } 2705else 2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2707$as_echo "no" >&6; } 2708fi 2709 2710 2711fi 2712if test -z "$ac_cv_prog_STRIP"; then 2713 ac_ct_STRIP=$STRIP 2714 # Extract the first word of "strip", so it can be a program name with args. 2715set dummy strip; ac_word=$2 2716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2717$as_echo_n "checking for $ac_word... " >&6; } 2718if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2719 $as_echo_n "(cached) " >&6 2720else 2721 if test -n "$ac_ct_STRIP"; then 2722 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2723else 2724as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2725for as_dir in $PATH 2726do 2727 IFS=$as_save_IFS 2728 test -z "$as_dir" && as_dir=. 2729 for ac_exec_ext in '' $ac_executable_extensions; do 2730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2731 ac_cv_prog_ac_ct_STRIP="strip" 2732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2733 break 2 2734 fi 2735done 2736 done 2737IFS=$as_save_IFS 2738 2739fi 2740fi 2741ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2742if test -n "$ac_ct_STRIP"; then 2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2744$as_echo "$ac_ct_STRIP" >&6; } 2745else 2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2747$as_echo "no" >&6; } 2748fi 2749 2750 if test "x$ac_ct_STRIP" = x; then 2751 STRIP=":" 2752 else 2753 case $cross_compiling:$ac_tool_warned in 2754yes:) 2755{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2756$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2757ac_tool_warned=yes ;; 2758esac 2759 STRIP=$ac_ct_STRIP 2760 fi 2761else 2762 STRIP="$ac_cv_prog_STRIP" 2763fi 2764 2765fi 2766INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2767 2768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2769$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2770if test -z "$MKDIR_P"; then 2771 if ${ac_cv_path_mkdir+:} false; then : 2772 $as_echo_n "(cached) " >&6 2773else 2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2775for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2776do 2777 IFS=$as_save_IFS 2778 test -z "$as_dir" && as_dir=. 2779 for ac_prog in mkdir gmkdir; do 2780 for ac_exec_ext in '' $ac_executable_extensions; do 2781 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2782 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2783 'mkdir (GNU coreutils) '* | \ 2784 'mkdir (coreutils) '* | \ 2785 'mkdir (fileutils) '4.1*) 2786 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2787 break 3;; 2788 esac 2789 done 2790 done 2791 done 2792IFS=$as_save_IFS 2793 2794fi 2795 2796 test -d ./--version && rmdir ./--version 2797 if test "${ac_cv_path_mkdir+set}" = set; then 2798 MKDIR_P="$ac_cv_path_mkdir -p" 2799 else 2800 # As a last resort, use the slow shell script. Don't cache a 2801 # value for MKDIR_P within a source directory, because that will 2802 # break other packages using the cache if that directory is 2803 # removed, or if the value is a relative name. 2804 MKDIR_P="$ac_install_sh -d" 2805 fi 2806fi 2807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2808$as_echo "$MKDIR_P" >&6; } 2809 2810for ac_prog in gawk mawk nawk awk 2811do 2812 # Extract the first word of "$ac_prog", so it can be a program name with args. 2813set dummy $ac_prog; ac_word=$2 2814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2815$as_echo_n "checking for $ac_word... " >&6; } 2816if ${ac_cv_prog_AWK+:} false; then : 2817 $as_echo_n "(cached) " >&6 2818else 2819 if test -n "$AWK"; then 2820 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2821else 2822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2823for as_dir in $PATH 2824do 2825 IFS=$as_save_IFS 2826 test -z "$as_dir" && as_dir=. 2827 for ac_exec_ext in '' $ac_executable_extensions; do 2828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2829 ac_cv_prog_AWK="$ac_prog" 2830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2831 break 2 2832 fi 2833done 2834 done 2835IFS=$as_save_IFS 2836 2837fi 2838fi 2839AWK=$ac_cv_prog_AWK 2840if test -n "$AWK"; then 2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2842$as_echo "$AWK" >&6; } 2843else 2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2845$as_echo "no" >&6; } 2846fi 2847 2848 2849 test -n "$AWK" && break 2850done 2851 2852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2853$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2854set x ${MAKE-make} 2855ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2856if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2857 $as_echo_n "(cached) " >&6 2858else 2859 cat >conftest.make <<\_ACEOF 2860SHELL = /bin/sh 2861all: 2862 @echo '@@@%%%=$(MAKE)=@@@%%%' 2863_ACEOF 2864# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2865case `${MAKE-make} -f conftest.make 2>/dev/null` in 2866 *@@@%%%=?*=@@@%%%*) 2867 eval ac_cv_prog_make_${ac_make}_set=yes;; 2868 *) 2869 eval ac_cv_prog_make_${ac_make}_set=no;; 2870esac 2871rm -f conftest.make 2872fi 2873if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2875$as_echo "yes" >&6; } 2876 SET_MAKE= 2877else 2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2879$as_echo "no" >&6; } 2880 SET_MAKE="MAKE=${MAKE-make}" 2881fi 2882 2883rm -rf .tst 2>/dev/null 2884mkdir .tst 2>/dev/null 2885if test -d .tst; then 2886 am__leading_dot=. 2887else 2888 am__leading_dot=_ 2889fi 2890rmdir .tst 2>/dev/null 2891 2892# Check whether --enable-silent-rules was given. 2893if test "${enable_silent_rules+set}" = set; then : 2894 enableval=$enable_silent_rules; 2895fi 2896 2897case $enable_silent_rules in # ((( 2898 yes) AM_DEFAULT_VERBOSITY=0;; 2899 no) AM_DEFAULT_VERBOSITY=1;; 2900 *) AM_DEFAULT_VERBOSITY=1;; 2901esac 2902am_make=${MAKE-make} 2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2904$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2905if ${am_cv_make_support_nested_variables+:} false; then : 2906 $as_echo_n "(cached) " >&6 2907else 2908 if $as_echo 'TRUE=$(BAR$(V)) 2909BAR0=false 2910BAR1=true 2911V=1 2912am__doit: 2913 @$(TRUE) 2914.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2915 am_cv_make_support_nested_variables=yes 2916else 2917 am_cv_make_support_nested_variables=no 2918fi 2919fi 2920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2921$as_echo "$am_cv_make_support_nested_variables" >&6; } 2922if test $am_cv_make_support_nested_variables = yes; then 2923 AM_V='$(V)' 2924 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2925else 2926 AM_V=$AM_DEFAULT_VERBOSITY 2927 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2928fi 2929AM_BACKSLASH='\' 2930 2931if test "`cd $srcdir && pwd`" != "`pwd`"; then 2932 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2933 # is not polluted with repeated "-I." 2934 am__isrc=' -I$(srcdir)' 2935 # test to see if srcdir already configured 2936 if test -f $srcdir/config.status; then 2937 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2938 fi 2939fi 2940 2941# test whether we have cygpath 2942if test -z "$CYGPATH_W"; then 2943 if (cygpath --version) >/dev/null 2>/dev/null; then 2944 CYGPATH_W='cygpath -w' 2945 else 2946 CYGPATH_W=echo 2947 fi 2948fi 2949 2950 2951# Define the identity of the package. 2952 PACKAGE='thunar-media-tags-plugin' 2953 VERSION='0.3.0' 2954 2955 2956cat >>confdefs.h <<_ACEOF 2957#define PACKAGE "$PACKAGE" 2958_ACEOF 2959 2960 2961cat >>confdefs.h <<_ACEOF 2962#define VERSION "$VERSION" 2963_ACEOF 2964 2965# Some tools Automake needs. 2966 2967ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2968 2969 2970AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2971 2972 2973AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2974 2975 2976AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2977 2978 2979MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2980 2981# For better backward compatibility. To be removed once Automake 1.9.x 2982# dies out for good. For more background, see: 2983# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2984# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2985mkdir_p='$(MKDIR_P)' 2986 2987# We need awk for the "check" target (and possibly the TAP driver). The 2988# system "awk" is bad on some platforms. 2989# Always define AMTAR for backward compatibility. Yes, it's still used 2990# in the wild :-( We should find a proper way to deprecate it ... 2991AMTAR='$${TAR-tar}' 2992 2993 2994# We'll loop over all known methods to create a tar archive until one works. 2995_am_tools='gnutar plaintar pax cpio none' 2996 2997# The POSIX 1988 'ustar' format is defined with fixed-size fields. 2998 # There is notably a 21 bits limit for the UID and the GID. In fact, 2999 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3000 # and bug#13588). 3001 am_max_uid=2097151 # 2^21 - 1 3002 am_max_gid=$am_max_uid 3003 # The $UID and $GID variables are not portable, so we need to resort 3004 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3005 # below are definitely unexpected, so allow the users to see them 3006 # (that is, avoid stderr redirection). 3007 am_uid=`id -u || echo unknown` 3008 am_gid=`id -g || echo unknown` 3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3010$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3011 if test $am_uid -le $am_max_uid; then 3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3013$as_echo "yes" >&6; } 3014 else 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3016$as_echo "no" >&6; } 3017 _am_tools=none 3018 fi 3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3020$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3021 if test $am_gid -le $am_max_gid; then 3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3023$as_echo "yes" >&6; } 3024 else 3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3026$as_echo "no" >&6; } 3027 _am_tools=none 3028 fi 3029 3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3031$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3032 3033 # Go ahead even if we have the value already cached. We do so because we 3034 # need to set the values for the 'am__tar' and 'am__untar' variables. 3035 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3036 3037 for _am_tool in $_am_tools; do 3038 case $_am_tool in 3039 gnutar) 3040 for _am_tar in tar gnutar gtar; do 3041 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3042 ($_am_tar --version) >&5 2>&5 3043 ac_status=$? 3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3045 (exit $ac_status); } && break 3046 done 3047 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3048 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3049 am__untar="$_am_tar -xf -" 3050 ;; 3051 plaintar) 3052 # Must skip GNU tar: if it does not support --format= it doesn't create 3053 # ustar tarball either. 3054 (tar --version) >/dev/null 2>&1 && continue 3055 am__tar='tar chf - "$$tardir"' 3056 am__tar_='tar chf - "$tardir"' 3057 am__untar='tar xf -' 3058 ;; 3059 pax) 3060 am__tar='pax -L -x ustar -w "$$tardir"' 3061 am__tar_='pax -L -x ustar -w "$tardir"' 3062 am__untar='pax -r' 3063 ;; 3064 cpio) 3065 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3066 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3067 am__untar='cpio -i -H ustar -d' 3068 ;; 3069 none) 3070 am__tar=false 3071 am__tar_=false 3072 am__untar=false 3073 ;; 3074 esac 3075 3076 # If the value was cached, stop now. We just wanted to have am__tar 3077 # and am__untar set. 3078 test -n "${am_cv_prog_tar_ustar}" && break 3079 3080 # tar/untar a dummy directory, and stop if the command works. 3081 rm -rf conftest.dir 3082 mkdir conftest.dir 3083 echo GrepMe > conftest.dir/file 3084 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3085 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3086 ac_status=$? 3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3088 (exit $ac_status); } 3089 rm -rf conftest.dir 3090 if test -s conftest.tar; then 3091 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3092 ($am__untar <conftest.tar) >&5 2>&5 3093 ac_status=$? 3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3095 (exit $ac_status); } 3096 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3097 (cat conftest.dir/file) >&5 2>&5 3098 ac_status=$? 3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3100 (exit $ac_status); } 3101 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3102 fi 3103 done 3104 rm -rf conftest.dir 3105 3106 if ${am_cv_prog_tar_ustar+:} false; then : 3107 $as_echo_n "(cached) " >&6 3108else 3109 am_cv_prog_tar_ustar=$_am_tool 3110fi 3111 3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3113$as_echo "$am_cv_prog_tar_ustar" >&6; } 3114 3115 3116 3117 3118 3119 3120# POSIX will say in a future version that running "rm -f" with no argument 3121# is OK; and we want to be able to make that assumption in our Makefile 3122# recipes. So use an aggressive probe to check that the usage we want is 3123# actually supported "in the wild" to an acceptable degree. 3124# See automake bug#10828. 3125# To make any issue more visible, cause the running configure to be aborted 3126# by default if the 'rm' program in use doesn't match our expectations; the 3127# user can still override this though. 3128if rm -f && rm -fr && rm -rf; then : OK; else 3129 cat >&2 <<'END' 3130Oops! 3131 3132Your 'rm' program seems unable to run without file operands specified 3133on the command line, even when the '-f' option is present. This is contrary 3134to the behaviour of most rm programs out there, and not conforming with 3135the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3136 3137Please tell bug-automake@gnu.org about your system, including the value 3138of your $PATH and any error possibly output before this message. This 3139can help us improve future automake versions. 3140 3141END 3142 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3143 echo 'Configuration will proceed anyway, since you have set the' >&2 3144 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3145 echo >&2 3146 else 3147 cat >&2 <<'END' 3148Aborting the configuration process, to ensure you take notice of the issue. 3149 3150You can download and install GNU coreutils to get an 'rm' implementation 3151that behaves properly: <http://www.gnu.org/software/coreutils/>. 3152 3153If you want to complete the configuration process using your problematic 3154'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3155to "yes", and re-run configure. 3156 3157END 3158 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3159 fi 3160fi 3161 3162ac_config_headers="$ac_config_headers config.h" 3163 3164 3165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3166$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3167 # Check whether --enable-maintainer-mode was given. 3168if test "${enable_maintainer_mode+set}" = set; then : 3169 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3170else 3171 USE_MAINTAINER_MODE=no 3172fi 3173 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3175$as_echo "$USE_MAINTAINER_MODE" >&6; } 3176 if test $USE_MAINTAINER_MODE = yes; then 3177 MAINTAINER_MODE_TRUE= 3178 MAINTAINER_MODE_FALSE='#' 3179else 3180 MAINTAINER_MODE_TRUE='#' 3181 MAINTAINER_MODE_FALSE= 3182fi 3183 3184 MAINT=$MAINTAINER_MODE_TRUE 3185 3186 3187# Check whether --enable-silent-rules was given. 3188if test "${enable_silent_rules+set}" = set; then : 3189 enableval=$enable_silent_rules; 3190fi 3191 3192case $enable_silent_rules in # ((( 3193 yes) AM_DEFAULT_VERBOSITY=0;; 3194 no) AM_DEFAULT_VERBOSITY=1;; 3195 *) AM_DEFAULT_VERBOSITY=0;; 3196esac 3197am_make=${MAKE-make} 3198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3199$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3200if ${am_cv_make_support_nested_variables+:} false; then : 3201 $as_echo_n "(cached) " >&6 3202else 3203 if $as_echo 'TRUE=$(BAR$(V)) 3204BAR0=false 3205BAR1=true 3206V=1 3207am__doit: 3208 @$(TRUE) 3209.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3210 am_cv_make_support_nested_variables=yes 3211else 3212 am_cv_make_support_nested_variables=no 3213fi 3214fi 3215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3216$as_echo "$am_cv_make_support_nested_variables" >&6; } 3217if test $am_cv_make_support_nested_variables = yes; then 3218 AM_V='$(V)' 3219 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3220else 3221 AM_V=$AM_DEFAULT_VERBOSITY 3222 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3223fi 3224AM_BACKSLASH='\' 3225 3226 3227DEPDIR="${am__leading_dot}deps" 3228 3229ac_config_commands="$ac_config_commands depfiles" 3230 3231 3232am_make=${MAKE-make} 3233cat > confinc << 'END' 3234am__doit: 3235 @echo this is the am__doit target 3236.PHONY: am__doit 3237END 3238# If we don't find an include directive, just comment out the code. 3239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3240$as_echo_n "checking for style of include used by $am_make... " >&6; } 3241am__include="#" 3242am__quote= 3243_am_result=none 3244# First try GNU make style include. 3245echo "include confinc" > confmf 3246# Ignore all kinds of additional output from 'make'. 3247case `$am_make -s -f confmf 2> /dev/null` in #( 3248*the\ am__doit\ target*) 3249 am__include=include 3250 am__quote= 3251 _am_result=GNU 3252 ;; 3253esac 3254# Now try BSD make style include. 3255if test "$am__include" = "#"; then 3256 echo '.include "confinc"' > confmf 3257 case `$am_make -s -f confmf 2> /dev/null` in #( 3258 *the\ am__doit\ target*) 3259 am__include=.include 3260 am__quote="\"" 3261 _am_result=BSD 3262 ;; 3263 esac 3264fi 3265 3266 3267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3268$as_echo "$_am_result" >&6; } 3269rm -f confinc confmf 3270 3271# Check whether --enable-dependency-tracking was given. 3272if test "${enable_dependency_tracking+set}" = set; then : 3273 enableval=$enable_dependency_tracking; 3274fi 3275 3276if test "x$enable_dependency_tracking" != xno; then 3277 am_depcomp="$ac_aux_dir/depcomp" 3278 AMDEPBACKSLASH='\' 3279 am__nodep='_no' 3280fi 3281 if test "x$enable_dependency_tracking" != xno; then 3282 AMDEP_TRUE= 3283 AMDEP_FALSE='#' 3284else 3285 AMDEP_TRUE='#' 3286 AMDEP_FALSE= 3287fi 3288 3289 3290ac_ext=c 3291ac_cpp='$CPP $CPPFLAGS' 3292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3294ac_compiler_gnu=$ac_cv_c_compiler_gnu 3295if test -n "$ac_tool_prefix"; then 3296 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3297set dummy ${ac_tool_prefix}gcc; ac_word=$2 3298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3299$as_echo_n "checking for $ac_word... " >&6; } 3300if ${ac_cv_prog_CC+:} false; then : 3301 $as_echo_n "(cached) " >&6 3302else 3303 if test -n "$CC"; then 3304 ac_cv_prog_CC="$CC" # Let the user override the test. 3305else 3306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3307for as_dir in $PATH 3308do 3309 IFS=$as_save_IFS 3310 test -z "$as_dir" && as_dir=. 3311 for ac_exec_ext in '' $ac_executable_extensions; do 3312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3313 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3315 break 2 3316 fi 3317done 3318 done 3319IFS=$as_save_IFS 3320 3321fi 3322fi 3323CC=$ac_cv_prog_CC 3324if test -n "$CC"; then 3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3326$as_echo "$CC" >&6; } 3327else 3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3329$as_echo "no" >&6; } 3330fi 3331 3332 3333fi 3334if test -z "$ac_cv_prog_CC"; then 3335 ac_ct_CC=$CC 3336 # Extract the first word of "gcc", so it can be a program name with args. 3337set dummy gcc; ac_word=$2 3338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3339$as_echo_n "checking for $ac_word... " >&6; } 3340if ${ac_cv_prog_ac_ct_CC+:} false; then : 3341 $as_echo_n "(cached) " >&6 3342else 3343 if test -n "$ac_ct_CC"; then 3344 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3345else 3346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3347for as_dir in $PATH 3348do 3349 IFS=$as_save_IFS 3350 test -z "$as_dir" && as_dir=. 3351 for ac_exec_ext in '' $ac_executable_extensions; do 3352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3353 ac_cv_prog_ac_ct_CC="gcc" 3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3355 break 2 3356 fi 3357done 3358 done 3359IFS=$as_save_IFS 3360 3361fi 3362fi 3363ac_ct_CC=$ac_cv_prog_ac_ct_CC 3364if test -n "$ac_ct_CC"; then 3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3366$as_echo "$ac_ct_CC" >&6; } 3367else 3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3369$as_echo "no" >&6; } 3370fi 3371 3372 if test "x$ac_ct_CC" = x; then 3373 CC="" 3374 else 3375 case $cross_compiling:$ac_tool_warned in 3376yes:) 3377{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3378$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3379ac_tool_warned=yes ;; 3380esac 3381 CC=$ac_ct_CC 3382 fi 3383else 3384 CC="$ac_cv_prog_CC" 3385fi 3386 3387if test -z "$CC"; then 3388 if test -n "$ac_tool_prefix"; then 3389 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3390set dummy ${ac_tool_prefix}cc; ac_word=$2 3391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3392$as_echo_n "checking for $ac_word... " >&6; } 3393if ${ac_cv_prog_CC+:} false; then : 3394 $as_echo_n "(cached) " >&6 3395else 3396 if test -n "$CC"; then 3397 ac_cv_prog_CC="$CC" # Let the user override the test. 3398else 3399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3400for as_dir in $PATH 3401do 3402 IFS=$as_save_IFS 3403 test -z "$as_dir" && as_dir=. 3404 for ac_exec_ext in '' $ac_executable_extensions; do 3405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3406 ac_cv_prog_CC="${ac_tool_prefix}cc" 3407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3408 break 2 3409 fi 3410done 3411 done 3412IFS=$as_save_IFS 3413 3414fi 3415fi 3416CC=$ac_cv_prog_CC 3417if test -n "$CC"; then 3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3419$as_echo "$CC" >&6; } 3420else 3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3422$as_echo "no" >&6; } 3423fi 3424 3425 3426 fi 3427fi 3428if test -z "$CC"; then 3429 # Extract the first word of "cc", so it can be a program name with args. 3430set dummy cc; ac_word=$2 3431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3432$as_echo_n "checking for $ac_word... " >&6; } 3433if ${ac_cv_prog_CC+:} false; then : 3434 $as_echo_n "(cached) " >&6 3435else 3436 if test -n "$CC"; then 3437 ac_cv_prog_CC="$CC" # Let the user override the test. 3438else 3439 ac_prog_rejected=no 3440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3441for as_dir in $PATH 3442do 3443 IFS=$as_save_IFS 3444 test -z "$as_dir" && as_dir=. 3445 for ac_exec_ext in '' $ac_executable_extensions; do 3446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3448 ac_prog_rejected=yes 3449 continue 3450 fi 3451 ac_cv_prog_CC="cc" 3452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3453 break 2 3454 fi 3455done 3456 done 3457IFS=$as_save_IFS 3458 3459if test $ac_prog_rejected = yes; then 3460 # We found a bogon in the path, so make sure we never use it. 3461 set dummy $ac_cv_prog_CC 3462 shift 3463 if test $# != 0; then 3464 # We chose a different compiler from the bogus one. 3465 # However, it has the same basename, so the bogon will be chosen 3466 # first if we set CC to just the basename; use the full file name. 3467 shift 3468 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3469 fi 3470fi 3471fi 3472fi 3473CC=$ac_cv_prog_CC 3474if test -n "$CC"; then 3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3476$as_echo "$CC" >&6; } 3477else 3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3479$as_echo "no" >&6; } 3480fi 3481 3482 3483fi 3484if test -z "$CC"; then 3485 if test -n "$ac_tool_prefix"; then 3486 for ac_prog in cl.exe 3487 do 3488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3489set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3491$as_echo_n "checking for $ac_word... " >&6; } 3492if ${ac_cv_prog_CC+:} false; then : 3493 $as_echo_n "(cached) " >&6 3494else 3495 if test -n "$CC"; then 3496 ac_cv_prog_CC="$CC" # Let the user override the test. 3497else 3498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3499for as_dir in $PATH 3500do 3501 IFS=$as_save_IFS 3502 test -z "$as_dir" && as_dir=. 3503 for ac_exec_ext in '' $ac_executable_extensions; do 3504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3505 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3507 break 2 3508 fi 3509done 3510 done 3511IFS=$as_save_IFS 3512 3513fi 3514fi 3515CC=$ac_cv_prog_CC 3516if test -n "$CC"; then 3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3518$as_echo "$CC" >&6; } 3519else 3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3521$as_echo "no" >&6; } 3522fi 3523 3524 3525 test -n "$CC" && break 3526 done 3527fi 3528if test -z "$CC"; then 3529 ac_ct_CC=$CC 3530 for ac_prog in cl.exe 3531do 3532 # Extract the first word of "$ac_prog", so it can be a program name with args. 3533set dummy $ac_prog; ac_word=$2 3534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3535$as_echo_n "checking for $ac_word... " >&6; } 3536if ${ac_cv_prog_ac_ct_CC+:} false; then : 3537 $as_echo_n "(cached) " >&6 3538else 3539 if test -n "$ac_ct_CC"; then 3540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3541else 3542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3543for as_dir in $PATH 3544do 3545 IFS=$as_save_IFS 3546 test -z "$as_dir" && as_dir=. 3547 for ac_exec_ext in '' $ac_executable_extensions; do 3548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3549 ac_cv_prog_ac_ct_CC="$ac_prog" 3550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3551 break 2 3552 fi 3553done 3554 done 3555IFS=$as_save_IFS 3556 3557fi 3558fi 3559ac_ct_CC=$ac_cv_prog_ac_ct_CC 3560if test -n "$ac_ct_CC"; then 3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3562$as_echo "$ac_ct_CC" >&6; } 3563else 3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3565$as_echo "no" >&6; } 3566fi 3567 3568 3569 test -n "$ac_ct_CC" && break 3570done 3571 3572 if test "x$ac_ct_CC" = x; then 3573 CC="" 3574 else 3575 case $cross_compiling:$ac_tool_warned in 3576yes:) 3577{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3578$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3579ac_tool_warned=yes ;; 3580esac 3581 CC=$ac_ct_CC 3582 fi 3583fi 3584 3585fi 3586 3587 3588test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3589$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3590as_fn_error $? "no acceptable C compiler found in \$PATH 3591See \`config.log' for more details" "$LINENO" 5; } 3592 3593# Provide some information about the compiler. 3594$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3595set X $ac_compile 3596ac_compiler=$2 3597for ac_option in --version -v -V -qversion; do 3598 { { ac_try="$ac_compiler $ac_option >&5" 3599case "(($ac_try" in 3600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3601 *) ac_try_echo=$ac_try;; 3602esac 3603eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3604$as_echo "$ac_try_echo"; } >&5 3605 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3606 ac_status=$? 3607 if test -s conftest.err; then 3608 sed '10a\ 3609... rest of stderr output deleted ... 3610 10q' conftest.err >conftest.er1 3611 cat conftest.er1 >&5 3612 fi 3613 rm -f conftest.er1 conftest.err 3614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3615 test $ac_status = 0; } 3616done 3617 3618cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3619/* end confdefs.h. */ 3620 3621int 3622main () 3623{ 3624 3625 ; 3626 return 0; 3627} 3628_ACEOF 3629ac_clean_files_save=$ac_clean_files 3630ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3631# Try to create an executable without -o first, disregard a.out. 3632# It will help us diagnose broken compilers, and finding out an intuition 3633# of exeext. 3634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3635$as_echo_n "checking whether the C compiler works... " >&6; } 3636ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3637 3638# The possible output files: 3639ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3640 3641ac_rmfiles= 3642for ac_file in $ac_files 3643do 3644 case $ac_file in 3645 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3646 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3647 esac 3648done 3649rm -f $ac_rmfiles 3650 3651if { { ac_try="$ac_link_default" 3652case "(($ac_try" in 3653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3654 *) ac_try_echo=$ac_try;; 3655esac 3656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3657$as_echo "$ac_try_echo"; } >&5 3658 (eval "$ac_link_default") 2>&5 3659 ac_status=$? 3660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3661 test $ac_status = 0; }; then : 3662 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3663# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3664# in a Makefile. We should not override ac_cv_exeext if it was cached, 3665# so that the user can short-circuit this test for compilers unknown to 3666# Autoconf. 3667for ac_file in $ac_files '' 3668do 3669 test -f "$ac_file" || continue 3670 case $ac_file in 3671 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3672 ;; 3673 [ab].out ) 3674 # We found the default executable, but exeext='' is most 3675 # certainly right. 3676 break;; 3677 *.* ) 3678 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3679 then :; else 3680 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3681 fi 3682 # We set ac_cv_exeext here because the later test for it is not 3683 # safe: cross compilers may not add the suffix if given an `-o' 3684 # argument, so we may need to know it at that point already. 3685 # Even if this section looks crufty: it has the advantage of 3686 # actually working. 3687 break;; 3688 * ) 3689 break;; 3690 esac 3691done 3692test "$ac_cv_exeext" = no && ac_cv_exeext= 3693 3694else 3695 ac_file='' 3696fi 3697if test -z "$ac_file"; then : 3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3699$as_echo "no" >&6; } 3700$as_echo "$as_me: failed program was:" >&5 3701sed 's/^/| /' conftest.$ac_ext >&5 3702 3703{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3704$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3705as_fn_error 77 "C compiler cannot create executables 3706See \`config.log' for more details" "$LINENO" 5; } 3707else 3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3709$as_echo "yes" >&6; } 3710fi 3711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3712$as_echo_n "checking for C compiler default output file name... " >&6; } 3713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3714$as_echo "$ac_file" >&6; } 3715ac_exeext=$ac_cv_exeext 3716 3717rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3718ac_clean_files=$ac_clean_files_save 3719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3720$as_echo_n "checking for suffix of executables... " >&6; } 3721if { { ac_try="$ac_link" 3722case "(($ac_try" in 3723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3724 *) ac_try_echo=$ac_try;; 3725esac 3726eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3727$as_echo "$ac_try_echo"; } >&5 3728 (eval "$ac_link") 2>&5 3729 ac_status=$? 3730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3731 test $ac_status = 0; }; then : 3732 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3733# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3734# work properly (i.e., refer to `conftest.exe'), while it won't with 3735# `rm'. 3736for ac_file in conftest.exe conftest conftest.*; do 3737 test -f "$ac_file" || continue 3738 case $ac_file in 3739 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3740 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3741 break;; 3742 * ) break;; 3743 esac 3744done 3745else 3746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3747$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3748as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3749See \`config.log' for more details" "$LINENO" 5; } 3750fi 3751rm -f conftest conftest$ac_cv_exeext 3752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3753$as_echo "$ac_cv_exeext" >&6; } 3754 3755rm -f conftest.$ac_ext 3756EXEEXT=$ac_cv_exeext 3757ac_exeext=$EXEEXT 3758cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3759/* end confdefs.h. */ 3760#include <stdio.h> 3761int 3762main () 3763{ 3764FILE *f = fopen ("conftest.out", "w"); 3765 return ferror (f) || fclose (f) != 0; 3766 3767 ; 3768 return 0; 3769} 3770_ACEOF 3771ac_clean_files="$ac_clean_files conftest.out" 3772# Check that the compiler produces executables we can run. If not, either 3773# the compiler is broken, or we cross compile. 3774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3775$as_echo_n "checking whether we are cross compiling... " >&6; } 3776if test "$cross_compiling" != yes; then 3777 { { ac_try="$ac_link" 3778case "(($ac_try" in 3779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3780 *) ac_try_echo=$ac_try;; 3781esac 3782eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3783$as_echo "$ac_try_echo"; } >&5 3784 (eval "$ac_link") 2>&5 3785 ac_status=$? 3786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3787 test $ac_status = 0; } 3788 if { ac_try='./conftest$ac_cv_exeext' 3789 { { case "(($ac_try" in 3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3791 *) ac_try_echo=$ac_try;; 3792esac 3793eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3794$as_echo "$ac_try_echo"; } >&5 3795 (eval "$ac_try") 2>&5 3796 ac_status=$? 3797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3798 test $ac_status = 0; }; }; then 3799 cross_compiling=no 3800 else 3801 if test "$cross_compiling" = maybe; then 3802 cross_compiling=yes 3803 else 3804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3805$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3806as_fn_error $? "cannot run C compiled programs. 3807If you meant to cross compile, use \`--host'. 3808See \`config.log' for more details" "$LINENO" 5; } 3809 fi 3810 fi 3811fi 3812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3813$as_echo "$cross_compiling" >&6; } 3814 3815rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3816ac_clean_files=$ac_clean_files_save 3817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3818$as_echo_n "checking for suffix of object files... " >&6; } 3819if ${ac_cv_objext+:} false; then : 3820 $as_echo_n "(cached) " >&6 3821else 3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3823/* end confdefs.h. */ 3824 3825int 3826main () 3827{ 3828 3829 ; 3830 return 0; 3831} 3832_ACEOF 3833rm -f conftest.o conftest.obj 3834if { { ac_try="$ac_compile" 3835case "(($ac_try" in 3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3837 *) ac_try_echo=$ac_try;; 3838esac 3839eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3840$as_echo "$ac_try_echo"; } >&5 3841 (eval "$ac_compile") 2>&5 3842 ac_status=$? 3843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3844 test $ac_status = 0; }; then : 3845 for ac_file in conftest.o conftest.obj conftest.*; do 3846 test -f "$ac_file" || continue; 3847 case $ac_file in 3848 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3849 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3850 break;; 3851 esac 3852done 3853else 3854 $as_echo "$as_me: failed program was:" >&5 3855sed 's/^/| /' conftest.$ac_ext >&5 3856 3857{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3858$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3859as_fn_error $? "cannot compute suffix of object files: cannot compile 3860See \`config.log' for more details" "$LINENO" 5; } 3861fi 3862rm -f conftest.$ac_cv_objext conftest.$ac_ext 3863fi 3864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3865$as_echo "$ac_cv_objext" >&6; } 3866OBJEXT=$ac_cv_objext 3867ac_objext=$OBJEXT 3868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3869$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3870if ${ac_cv_c_compiler_gnu+:} false; then : 3871 $as_echo_n "(cached) " >&6 3872else 3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3874/* end confdefs.h. */ 3875 3876int 3877main () 3878{ 3879#ifndef __GNUC__ 3880 choke me 3881#endif 3882 3883 ; 3884 return 0; 3885} 3886_ACEOF 3887if ac_fn_c_try_compile "$LINENO"; then : 3888 ac_compiler_gnu=yes 3889else 3890 ac_compiler_gnu=no 3891fi 3892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3893ac_cv_c_compiler_gnu=$ac_compiler_gnu 3894 3895fi 3896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3897$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3898if test $ac_compiler_gnu = yes; then 3899 GCC=yes 3900else 3901 GCC= 3902fi 3903ac_test_CFLAGS=${CFLAGS+set} 3904ac_save_CFLAGS=$CFLAGS 3905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3906$as_echo_n "checking whether $CC accepts -g... " >&6; } 3907if ${ac_cv_prog_cc_g+:} false; then : 3908 $as_echo_n "(cached) " >&6 3909else 3910 ac_save_c_werror_flag=$ac_c_werror_flag 3911 ac_c_werror_flag=yes 3912 ac_cv_prog_cc_g=no 3913 CFLAGS="-g" 3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3915/* end confdefs.h. */ 3916 3917int 3918main () 3919{ 3920 3921 ; 3922 return 0; 3923} 3924_ACEOF 3925if ac_fn_c_try_compile "$LINENO"; then : 3926 ac_cv_prog_cc_g=yes 3927else 3928 CFLAGS="" 3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3930/* end confdefs.h. */ 3931 3932int 3933main () 3934{ 3935 3936 ; 3937 return 0; 3938} 3939_ACEOF 3940if ac_fn_c_try_compile "$LINENO"; then : 3941 3942else 3943 ac_c_werror_flag=$ac_save_c_werror_flag 3944 CFLAGS="-g" 3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3946/* end confdefs.h. */ 3947 3948int 3949main () 3950{ 3951 3952 ; 3953 return 0; 3954} 3955_ACEOF 3956if ac_fn_c_try_compile "$LINENO"; then : 3957 ac_cv_prog_cc_g=yes 3958fi 3959rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3960fi 3961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3962fi 3963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3964 ac_c_werror_flag=$ac_save_c_werror_flag 3965fi 3966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3967$as_echo "$ac_cv_prog_cc_g" >&6; } 3968if test "$ac_test_CFLAGS" = set; then 3969 CFLAGS=$ac_save_CFLAGS 3970elif test $ac_cv_prog_cc_g = yes; then 3971 if test "$GCC" = yes; then 3972 CFLAGS="-g -O2" 3973 else 3974 CFLAGS="-g" 3975 fi 3976else 3977 if test "$GCC" = yes; then 3978 CFLAGS="-O2" 3979 else 3980 CFLAGS= 3981 fi 3982fi 3983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3984$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3985if ${ac_cv_prog_cc_c89+:} false; then : 3986 $as_echo_n "(cached) " >&6 3987else 3988 ac_cv_prog_cc_c89=no 3989ac_save_CC=$CC 3990cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3991/* end confdefs.h. */ 3992#include <stdarg.h> 3993#include <stdio.h> 3994struct stat; 3995/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3996struct buf { int x; }; 3997FILE * (*rcsopen) (struct buf *, struct stat *, int); 3998static char *e (p, i) 3999 char **p; 4000 int i; 4001{ 4002 return p[i]; 4003} 4004static char *f (char * (*g) (char **, int), char **p, ...) 4005{ 4006 char *s; 4007 va_list v; 4008 va_start (v,p); 4009 s = g (p, va_arg (v,int)); 4010 va_end (v); 4011 return s; 4012} 4013 4014/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4015 function prototypes and stuff, but not '\xHH' hex character constants. 4016 These don't provoke an error unfortunately, instead are silently treated 4017 as 'x'. The following induces an error, until -std is added to get 4018 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4019 array size at least. It's necessary to write '\x00'==0 to get something 4020 that's true only with -std. */ 4021int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4022 4023/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4024 inside strings and character constants. */ 4025#define FOO(x) 'x' 4026int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4027 4028int test (int i, double x); 4029struct s1 {int (*f) (int a);}; 4030struct s2 {int (*f) (double a);}; 4031int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4032int argc; 4033char **argv; 4034int 4035main () 4036{ 4037return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4038 ; 4039 return 0; 4040} 4041_ACEOF 4042for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4043 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4044do 4045 CC="$ac_save_CC $ac_arg" 4046 if ac_fn_c_try_compile "$LINENO"; then : 4047 ac_cv_prog_cc_c89=$ac_arg 4048fi 4049rm -f core conftest.err conftest.$ac_objext 4050 test "x$ac_cv_prog_cc_c89" != "xno" && break 4051done 4052rm -f conftest.$ac_ext 4053CC=$ac_save_CC 4054 4055fi 4056# AC_CACHE_VAL 4057case "x$ac_cv_prog_cc_c89" in 4058 x) 4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4060$as_echo "none needed" >&6; } ;; 4061 xno) 4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4063$as_echo "unsupported" >&6; } ;; 4064 *) 4065 CC="$CC $ac_cv_prog_cc_c89" 4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4067$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4068esac 4069if test "x$ac_cv_prog_cc_c89" != xno; then : 4070 4071fi 4072 4073ac_ext=c 4074ac_cpp='$CPP $CPPFLAGS' 4075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4077ac_compiler_gnu=$ac_cv_c_compiler_gnu 4078 4079ac_ext=c 4080ac_cpp='$CPP $CPPFLAGS' 4081ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4082ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4083ac_compiler_gnu=$ac_cv_c_compiler_gnu 4084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4085$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4086if ${am_cv_prog_cc_c_o+:} false; then : 4087 $as_echo_n "(cached) " >&6 4088else 4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4090/* end confdefs.h. */ 4091 4092int 4093main () 4094{ 4095 4096 ; 4097 return 0; 4098} 4099_ACEOF 4100 # Make sure it works both with $CC and with simple cc. 4101 # Following AC_PROG_CC_C_O, we do the test twice because some 4102 # compilers refuse to overwrite an existing .o file with -o, 4103 # though they will create one. 4104 am_cv_prog_cc_c_o=yes 4105 for am_i in 1 2; do 4106 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4107 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4108 ac_status=$? 4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4110 (exit $ac_status); } \ 4111 && test -f conftest2.$ac_objext; then 4112 : OK 4113 else 4114 am_cv_prog_cc_c_o=no 4115 break 4116 fi 4117 done 4118 rm -f core conftest* 4119 unset am_i 4120fi 4121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4122$as_echo "$am_cv_prog_cc_c_o" >&6; } 4123if test "$am_cv_prog_cc_c_o" != yes; then 4124 # Losing compiler, so override with the script. 4125 # FIXME: It is wrong to rewrite CC. 4126 # But if we don't then we get into trouble of one sort or another. 4127 # A longer-term fix would be to have automake use am__CC in this case, 4128 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4129 CC="$am_aux_dir/compile $CC" 4130fi 4131ac_ext=c 4132ac_cpp='$CPP $CPPFLAGS' 4133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4135ac_compiler_gnu=$ac_cv_c_compiler_gnu 4136 4137 4138depcc="$CC" am_compiler_list= 4139 4140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4141$as_echo_n "checking dependency style of $depcc... " >&6; } 4142if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4143 $as_echo_n "(cached) " >&6 4144else 4145 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4146 # We make a subdir and do the tests there. Otherwise we can end up 4147 # making bogus files that we don't know about and never remove. For 4148 # instance it was reported that on HP-UX the gcc test will end up 4149 # making a dummy file named 'D' -- because '-MD' means "put the output 4150 # in D". 4151 rm -rf conftest.dir 4152 mkdir conftest.dir 4153 # Copy depcomp to subdir because otherwise we won't find it if we're 4154 # using a relative directory. 4155 cp "$am_depcomp" conftest.dir 4156 cd conftest.dir 4157 # We will build objects and dependencies in a subdirectory because 4158 # it helps to detect inapplicable dependency modes. For instance 4159 # both Tru64's cc and ICC support -MD to output dependencies as a 4160 # side effect of compilation, but ICC will put the dependencies in 4161 # the current directory while Tru64 will put them in the object 4162 # directory. 4163 mkdir sub 4164 4165 am_cv_CC_dependencies_compiler_type=none 4166 if test "$am_compiler_list" = ""; then 4167 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4168 fi 4169 am__universal=false 4170 case " $depcc " in #( 4171 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4172 esac 4173 4174 for depmode in $am_compiler_list; do 4175 # Setup a source with many dependencies, because some compilers 4176 # like to wrap large dependency lists on column 80 (with \), and 4177 # we should not choose a depcomp mode which is confused by this. 4178 # 4179 # We need to recreate these files for each test, as the compiler may 4180 # overwrite some of them when testing with obscure command lines. 4181 # This happens at least with the AIX C compiler. 4182 : > sub/conftest.c 4183 for i in 1 2 3 4 5 6; do 4184 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4185 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4186 # Solaris 10 /bin/sh. 4187 echo '/* dummy */' > sub/conftst$i.h 4188 done 4189 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4190 4191 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4192 # mode. It turns out that the SunPro C++ compiler does not properly 4193 # handle '-M -o', and we need to detect this. Also, some Intel 4194 # versions had trouble with output in subdirs. 4195 am__obj=sub/conftest.${OBJEXT-o} 4196 am__minus_obj="-o $am__obj" 4197 case $depmode in 4198 gcc) 4199 # This depmode causes a compiler race in universal mode. 4200 test "$am__universal" = false || continue 4201 ;; 4202 nosideeffect) 4203 # After this tag, mechanisms are not by side-effect, so they'll 4204 # only be used when explicitly requested. 4205 if test "x$enable_dependency_tracking" = xyes; then 4206 continue 4207 else 4208 break 4209 fi 4210 ;; 4211 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4212 # This compiler won't grok '-c -o', but also, the minuso test has 4213 # not run yet. These depmodes are late enough in the game, and 4214 # so weak that their functioning should not be impacted. 4215 am__obj=conftest.${OBJEXT-o} 4216 am__minus_obj= 4217 ;; 4218 none) break ;; 4219 esac 4220 if depmode=$depmode \ 4221 source=sub/conftest.c object=$am__obj \ 4222 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4223 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4224 >/dev/null 2>conftest.err && 4225 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4226 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4227 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4228 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4229 # icc doesn't choke on unknown options, it will just issue warnings 4230 # or remarks (even with -Werror). So we grep stderr for any message 4231 # that says an option was ignored or not supported. 4232 # When given -MP, icc 7.0 and 7.1 complain thusly: 4233 # icc: Command line warning: ignoring option '-M'; no argument required 4234 # The diagnosis changed in icc 8.0: 4235 # icc: Command line remark: option '-MP' not supported 4236 if (grep 'ignoring option' conftest.err || 4237 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4238 am_cv_CC_dependencies_compiler_type=$depmode 4239 break 4240 fi 4241 fi 4242 done 4243 4244 cd .. 4245 rm -rf conftest.dir 4246else 4247 am_cv_CC_dependencies_compiler_type=none 4248fi 4249 4250fi 4251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4252$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4253CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4254 4255 if 4256 test "x$enable_dependency_tracking" != xno \ 4257 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4258 am__fastdepCC_TRUE= 4259 am__fastdepCC_FALSE='#' 4260else 4261 am__fastdepCC_TRUE='#' 4262 am__fastdepCC_FALSE= 4263fi 4264 4265 4266 4267ac_ext=c 4268ac_cpp='$CPP $CPPFLAGS' 4269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4271ac_compiler_gnu=$ac_cv_c_compiler_gnu 4272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4273$as_echo_n "checking how to run the C preprocessor... " >&6; } 4274# On Suns, sometimes $CPP names a directory. 4275if test -n "$CPP" && test -d "$CPP"; then 4276 CPP= 4277fi 4278if test -z "$CPP"; then 4279 if ${ac_cv_prog_CPP+:} false; then : 4280 $as_echo_n "(cached) " >&6 4281else 4282 # Double quotes because CPP needs to be expanded 4283 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4284 do 4285 ac_preproc_ok=false 4286for ac_c_preproc_warn_flag in '' yes 4287do 4288 # Use a header file that comes with gcc, so configuring glibc 4289 # with a fresh cross-compiler works. 4290 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4291 # <limits.h> exists even on freestanding compilers. 4292 # On the NeXT, cc -E runs the code through the compiler's parser, 4293 # not just through cpp. "Syntax error" is here to catch this case. 4294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4295/* end confdefs.h. */ 4296#ifdef __STDC__ 4297# include <limits.h> 4298#else 4299# include <assert.h> 4300#endif 4301 Syntax error 4302_ACEOF 4303if ac_fn_c_try_cpp "$LINENO"; then : 4304 4305else 4306 # Broken: fails on valid input. 4307continue 4308fi 4309rm -f conftest.err conftest.i conftest.$ac_ext 4310 4311 # OK, works on sane cases. Now check whether nonexistent headers 4312 # can be detected and how. 4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4314/* end confdefs.h. */ 4315#include <ac_nonexistent.h> 4316_ACEOF 4317if ac_fn_c_try_cpp "$LINENO"; then : 4318 # Broken: success on invalid input. 4319continue 4320else 4321 # Passes both tests. 4322ac_preproc_ok=: 4323break 4324fi 4325rm -f conftest.err conftest.i conftest.$ac_ext 4326 4327done 4328# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4329rm -f conftest.i conftest.err conftest.$ac_ext 4330if $ac_preproc_ok; then : 4331 break 4332fi 4333 4334 done 4335 ac_cv_prog_CPP=$CPP 4336 4337fi 4338 CPP=$ac_cv_prog_CPP 4339else 4340 ac_cv_prog_CPP=$CPP 4341fi 4342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4343$as_echo "$CPP" >&6; } 4344ac_preproc_ok=false 4345for ac_c_preproc_warn_flag in '' yes 4346do 4347 # Use a header file that comes with gcc, so configuring glibc 4348 # with a fresh cross-compiler works. 4349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4350 # <limits.h> exists even on freestanding compilers. 4351 # On the NeXT, cc -E runs the code through the compiler's parser, 4352 # not just through cpp. "Syntax error" is here to catch this case. 4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4354/* end confdefs.h. */ 4355#ifdef __STDC__ 4356# include <limits.h> 4357#else 4358# include <assert.h> 4359#endif 4360 Syntax error 4361_ACEOF 4362if ac_fn_c_try_cpp "$LINENO"; then : 4363 4364else 4365 # Broken: fails on valid input. 4366continue 4367fi 4368rm -f conftest.err conftest.i conftest.$ac_ext 4369 4370 # OK, works on sane cases. Now check whether nonexistent headers 4371 # can be detected and how. 4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4373/* end confdefs.h. */ 4374#include <ac_nonexistent.h> 4375_ACEOF 4376if ac_fn_c_try_cpp "$LINENO"; then : 4377 # Broken: success on invalid input. 4378continue 4379else 4380 # Passes both tests. 4381ac_preproc_ok=: 4382break 4383fi 4384rm -f conftest.err conftest.i conftest.$ac_ext 4385 4386done 4387# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4388rm -f conftest.i conftest.err conftest.$ac_ext 4389if $ac_preproc_ok; then : 4390 4391else 4392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4394as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4395See \`config.log' for more details" "$LINENO" 5; } 4396fi 4397 4398ac_ext=c 4399ac_cpp='$CPP $CPPFLAGS' 4400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4402ac_compiler_gnu=$ac_cv_c_compiler_gnu 4403 4404 4405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4406$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4407if ${ac_cv_path_GREP+:} false; then : 4408 $as_echo_n "(cached) " >&6 4409else 4410 if test -z "$GREP"; then 4411 ac_path_GREP_found=false 4412 # Loop through the user's path and test for each of PROGNAME-LIST 4413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4414for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4415do 4416 IFS=$as_save_IFS 4417 test -z "$as_dir" && as_dir=. 4418 for ac_prog in grep ggrep; do 4419 for ac_exec_ext in '' $ac_executable_extensions; do 4420 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4421 as_fn_executable_p "$ac_path_GREP" || continue 4422# Check for GNU ac_path_GREP and select it if it is found. 4423 # Check for GNU $ac_path_GREP 4424case `"$ac_path_GREP" --version 2>&1` in 4425*GNU*) 4426 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4427*) 4428 ac_count=0 4429 $as_echo_n 0123456789 >"conftest.in" 4430 while : 4431 do 4432 cat "conftest.in" "conftest.in" >"conftest.tmp" 4433 mv "conftest.tmp" "conftest.in" 4434 cp "conftest.in" "conftest.nl" 4435 $as_echo 'GREP' >> "conftest.nl" 4436 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4438 as_fn_arith $ac_count + 1 && ac_count=$as_val 4439 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4440 # Best one so far, save it but keep looking for a better one 4441 ac_cv_path_GREP="$ac_path_GREP" 4442 ac_path_GREP_max=$ac_count 4443 fi 4444 # 10*(2^10) chars as input seems more than enough 4445 test $ac_count -gt 10 && break 4446 done 4447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4448esac 4449 4450 $ac_path_GREP_found && break 3 4451 done 4452 done 4453 done 4454IFS=$as_save_IFS 4455 if test -z "$ac_cv_path_GREP"; then 4456 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4457 fi 4458else 4459 ac_cv_path_GREP=$GREP 4460fi 4461 4462fi 4463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4464$as_echo "$ac_cv_path_GREP" >&6; } 4465 GREP="$ac_cv_path_GREP" 4466 4467 4468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4469$as_echo_n "checking for egrep... " >&6; } 4470if ${ac_cv_path_EGREP+:} false; then : 4471 $as_echo_n "(cached) " >&6 4472else 4473 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4474 then ac_cv_path_EGREP="$GREP -E" 4475 else 4476 if test -z "$EGREP"; then 4477 ac_path_EGREP_found=false 4478 # Loop through the user's path and test for each of PROGNAME-LIST 4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4480for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4481do 4482 IFS=$as_save_IFS 4483 test -z "$as_dir" && as_dir=. 4484 for ac_prog in egrep; do 4485 for ac_exec_ext in '' $ac_executable_extensions; do 4486 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4487 as_fn_executable_p "$ac_path_EGREP" || continue 4488# Check for GNU ac_path_EGREP and select it if it is found. 4489 # Check for GNU $ac_path_EGREP 4490case `"$ac_path_EGREP" --version 2>&1` in 4491*GNU*) 4492 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4493*) 4494 ac_count=0 4495 $as_echo_n 0123456789 >"conftest.in" 4496 while : 4497 do 4498 cat "conftest.in" "conftest.in" >"conftest.tmp" 4499 mv "conftest.tmp" "conftest.in" 4500 cp "conftest.in" "conftest.nl" 4501 $as_echo 'EGREP' >> "conftest.nl" 4502 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4503 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4504 as_fn_arith $ac_count + 1 && ac_count=$as_val 4505 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4506 # Best one so far, save it but keep looking for a better one 4507 ac_cv_path_EGREP="$ac_path_EGREP" 4508 ac_path_EGREP_max=$ac_count 4509 fi 4510 # 10*(2^10) chars as input seems more than enough 4511 test $ac_count -gt 10 && break 4512 done 4513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4514esac 4515 4516 $ac_path_EGREP_found && break 3 4517 done 4518 done 4519 done 4520IFS=$as_save_IFS 4521 if test -z "$ac_cv_path_EGREP"; then 4522 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4523 fi 4524else 4525 ac_cv_path_EGREP=$EGREP 4526fi 4527 4528 fi 4529fi 4530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4531$as_echo "$ac_cv_path_EGREP" >&6; } 4532 EGREP="$ac_cv_path_EGREP" 4533 4534 4535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4536$as_echo_n "checking for ANSI C header files... " >&6; } 4537if ${ac_cv_header_stdc+:} false; then : 4538 $as_echo_n "(cached) " >&6 4539else 4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4541/* end confdefs.h. */ 4542#include <stdlib.h> 4543#include <stdarg.h> 4544#include <string.h> 4545#include <float.h> 4546 4547int 4548main () 4549{ 4550 4551 ; 4552 return 0; 4553} 4554_ACEOF 4555if ac_fn_c_try_compile "$LINENO"; then : 4556 ac_cv_header_stdc=yes 4557else 4558 ac_cv_header_stdc=no 4559fi 4560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4561 4562if test $ac_cv_header_stdc = yes; then 4563 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4565/* end confdefs.h. */ 4566#include <string.h> 4567 4568_ACEOF 4569if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4570 $EGREP "memchr" >/dev/null 2>&1; then : 4571 4572else 4573 ac_cv_header_stdc=no 4574fi 4575rm -f conftest* 4576 4577fi 4578 4579if test $ac_cv_header_stdc = yes; then 4580 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4582/* end confdefs.h. */ 4583#include <stdlib.h> 4584 4585_ACEOF 4586if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4587 $EGREP "free" >/dev/null 2>&1; then : 4588 4589else 4590 ac_cv_header_stdc=no 4591fi 4592rm -f conftest* 4593 4594fi 4595 4596if test $ac_cv_header_stdc = yes; then 4597 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4598 if test "$cross_compiling" = yes; then : 4599 : 4600else 4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4602/* end confdefs.h. */ 4603#include <ctype.h> 4604#include <stdlib.h> 4605#if ((' ' & 0x0FF) == 0x020) 4606# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4607# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4608#else 4609# define ISLOWER(c) \ 4610 (('a' <= (c) && (c) <= 'i') \ 4611 || ('j' <= (c) && (c) <= 'r') \ 4612 || ('s' <= (c) && (c) <= 'z')) 4613# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4614#endif 4615 4616#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4617int 4618main () 4619{ 4620 int i; 4621 for (i = 0; i < 256; i++) 4622 if (XOR (islower (i), ISLOWER (i)) 4623 || toupper (i) != TOUPPER (i)) 4624 return 2; 4625 return 0; 4626} 4627_ACEOF 4628if ac_fn_c_try_run "$LINENO"; then : 4629 4630else 4631 ac_cv_header_stdc=no 4632fi 4633rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4634 conftest.$ac_objext conftest.beam conftest.$ac_ext 4635fi 4636 4637fi 4638fi 4639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4640$as_echo "$ac_cv_header_stdc" >&6; } 4641if test $ac_cv_header_stdc = yes; then 4642 4643$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4644 4645fi 4646 4647# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4648for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4649 inttypes.h stdint.h unistd.h 4650do : 4651 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4652ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4653" 4654if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4655 cat >>confdefs.h <<_ACEOF 4656#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4657_ACEOF 4658 4659fi 4660 4661done 4662 4663 4664 4665 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4666if test "x$ac_cv_header_minix_config_h" = xyes; then : 4667 MINIX=yes 4668else 4669 MINIX= 4670fi 4671 4672 4673 if test "$MINIX" = yes; then 4674 4675$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4676 4677 4678$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4679 4680 4681$as_echo "#define _MINIX 1" >>confdefs.h 4682 4683 fi 4684 4685 4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4687$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4688if ${ac_cv_safe_to_define___extensions__+:} false; then : 4689 $as_echo_n "(cached) " >&6 4690else 4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4692/* end confdefs.h. */ 4693 4694# define __EXTENSIONS__ 1 4695 $ac_includes_default 4696int 4697main () 4698{ 4699 4700 ; 4701 return 0; 4702} 4703_ACEOF 4704if ac_fn_c_try_compile "$LINENO"; then : 4705 ac_cv_safe_to_define___extensions__=yes 4706else 4707 ac_cv_safe_to_define___extensions__=no 4708fi 4709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4710fi 4711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4712$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4713 test $ac_cv_safe_to_define___extensions__ = yes && 4714 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4715 4716 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4717 4718 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4719 4720 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4721 4722 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4723 4724 4725 4726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 4727$as_echo_n "checking for library containing strerror... " >&6; } 4728if ${ac_cv_search_strerror+:} false; then : 4729 $as_echo_n "(cached) " >&6 4730else 4731 ac_func_search_save_LIBS=$LIBS 4732cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4733/* end confdefs.h. */ 4734 4735/* Override any GCC internal prototype to avoid an error. 4736 Use char because int might match the return type of a GCC 4737 builtin and then its argument prototype would still apply. */ 4738#ifdef __cplusplus 4739extern "C" 4740#endif 4741char strerror (); 4742int 4743main () 4744{ 4745return strerror (); 4746 ; 4747 return 0; 4748} 4749_ACEOF 4750for ac_lib in '' cposix; do 4751 if test -z "$ac_lib"; then 4752 ac_res="none required" 4753 else 4754 ac_res=-l$ac_lib 4755 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4756 fi 4757 if ac_fn_c_try_link "$LINENO"; then : 4758 ac_cv_search_strerror=$ac_res 4759fi 4760rm -f core conftest.err conftest.$ac_objext \ 4761 conftest$ac_exeext 4762 if ${ac_cv_search_strerror+:} false; then : 4763 break 4764fi 4765done 4766if ${ac_cv_search_strerror+:} false; then : 4767 4768else 4769 ac_cv_search_strerror=no 4770fi 4771rm conftest.$ac_ext 4772LIBS=$ac_func_search_save_LIBS 4773fi 4774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 4775$as_echo "$ac_cv_search_strerror" >&6; } 4776ac_res=$ac_cv_search_strerror 4777if test "$ac_res" != no; then : 4778 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4779 4780fi 4781 4782 4783 4784ac_ext=c 4785ac_cpp='$CPP $CPPFLAGS' 4786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4788ac_compiler_gnu=$ac_cv_c_compiler_gnu 4789if test -n "$ac_tool_prefix"; then 4790 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4791set dummy ${ac_tool_prefix}gcc; ac_word=$2 4792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4793$as_echo_n "checking for $ac_word... " >&6; } 4794if ${ac_cv_prog_CC+:} false; then : 4795 $as_echo_n "(cached) " >&6 4796else 4797 if test -n "$CC"; then 4798 ac_cv_prog_CC="$CC" # Let the user override the test. 4799else 4800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4801for as_dir in $PATH 4802do 4803 IFS=$as_save_IFS 4804 test -z "$as_dir" && as_dir=. 4805 for ac_exec_ext in '' $ac_executable_extensions; do 4806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4807 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4809 break 2 4810 fi 4811done 4812 done 4813IFS=$as_save_IFS 4814 4815fi 4816fi 4817CC=$ac_cv_prog_CC 4818if test -n "$CC"; then 4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4820$as_echo "$CC" >&6; } 4821else 4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4823$as_echo "no" >&6; } 4824fi 4825 4826 4827fi 4828if test -z "$ac_cv_prog_CC"; then 4829 ac_ct_CC=$CC 4830 # Extract the first word of "gcc", so it can be a program name with args. 4831set dummy gcc; ac_word=$2 4832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4833$as_echo_n "checking for $ac_word... " >&6; } 4834if ${ac_cv_prog_ac_ct_CC+:} false; then : 4835 $as_echo_n "(cached) " >&6 4836else 4837 if test -n "$ac_ct_CC"; then 4838 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4839else 4840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4841for as_dir in $PATH 4842do 4843 IFS=$as_save_IFS 4844 test -z "$as_dir" && as_dir=. 4845 for ac_exec_ext in '' $ac_executable_extensions; do 4846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4847 ac_cv_prog_ac_ct_CC="gcc" 4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4849 break 2 4850 fi 4851done 4852 done 4853IFS=$as_save_IFS 4854 4855fi 4856fi 4857ac_ct_CC=$ac_cv_prog_ac_ct_CC 4858if test -n "$ac_ct_CC"; then 4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4860$as_echo "$ac_ct_CC" >&6; } 4861else 4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4863$as_echo "no" >&6; } 4864fi 4865 4866 if test "x$ac_ct_CC" = x; then 4867 CC="" 4868 else 4869 case $cross_compiling:$ac_tool_warned in 4870yes:) 4871{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4872$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4873ac_tool_warned=yes ;; 4874esac 4875 CC=$ac_ct_CC 4876 fi 4877else 4878 CC="$ac_cv_prog_CC" 4879fi 4880 4881if test -z "$CC"; then 4882 if test -n "$ac_tool_prefix"; then 4883 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4884set dummy ${ac_tool_prefix}cc; ac_word=$2 4885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4886$as_echo_n "checking for $ac_word... " >&6; } 4887if ${ac_cv_prog_CC+:} false; then : 4888 $as_echo_n "(cached) " >&6 4889else 4890 if test -n "$CC"; then 4891 ac_cv_prog_CC="$CC" # Let the user override the test. 4892else 4893as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4894for as_dir in $PATH 4895do 4896 IFS=$as_save_IFS 4897 test -z "$as_dir" && as_dir=. 4898 for ac_exec_ext in '' $ac_executable_extensions; do 4899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4900 ac_cv_prog_CC="${ac_tool_prefix}cc" 4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4902 break 2 4903 fi 4904done 4905 done 4906IFS=$as_save_IFS 4907 4908fi 4909fi 4910CC=$ac_cv_prog_CC 4911if test -n "$CC"; then 4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4913$as_echo "$CC" >&6; } 4914else 4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4916$as_echo "no" >&6; } 4917fi 4918 4919 4920 fi 4921fi 4922if test -z "$CC"; then 4923 # Extract the first word of "cc", so it can be a program name with args. 4924set dummy cc; ac_word=$2 4925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4926$as_echo_n "checking for $ac_word... " >&6; } 4927if ${ac_cv_prog_CC+:} false; then : 4928 $as_echo_n "(cached) " >&6 4929else 4930 if test -n "$CC"; then 4931 ac_cv_prog_CC="$CC" # Let the user override the test. 4932else 4933 ac_prog_rejected=no 4934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4935for as_dir in $PATH 4936do 4937 IFS=$as_save_IFS 4938 test -z "$as_dir" && as_dir=. 4939 for ac_exec_ext in '' $ac_executable_extensions; do 4940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4941 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4942 ac_prog_rejected=yes 4943 continue 4944 fi 4945 ac_cv_prog_CC="cc" 4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4947 break 2 4948 fi 4949done 4950 done 4951IFS=$as_save_IFS 4952 4953if test $ac_prog_rejected = yes; then 4954 # We found a bogon in the path, so make sure we never use it. 4955 set dummy $ac_cv_prog_CC 4956 shift 4957 if test $# != 0; then 4958 # We chose a different compiler from the bogus one. 4959 # However, it has the same basename, so the bogon will be chosen 4960 # first if we set CC to just the basename; use the full file name. 4961 shift 4962 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4963 fi 4964fi 4965fi 4966fi 4967CC=$ac_cv_prog_CC 4968if test -n "$CC"; then 4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4970$as_echo "$CC" >&6; } 4971else 4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4973$as_echo "no" >&6; } 4974fi 4975 4976 4977fi 4978if test -z "$CC"; then 4979 if test -n "$ac_tool_prefix"; then 4980 for ac_prog in cl.exe 4981 do 4982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4983set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4985$as_echo_n "checking for $ac_word... " >&6; } 4986if ${ac_cv_prog_CC+:} false; then : 4987 $as_echo_n "(cached) " >&6 4988else 4989 if test -n "$CC"; then 4990 ac_cv_prog_CC="$CC" # Let the user override the test. 4991else 4992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4993for as_dir in $PATH 4994do 4995 IFS=$as_save_IFS 4996 test -z "$as_dir" && as_dir=. 4997 for ac_exec_ext in '' $ac_executable_extensions; do 4998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4999 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5001 break 2 5002 fi 5003done 5004 done 5005IFS=$as_save_IFS 5006 5007fi 5008fi 5009CC=$ac_cv_prog_CC 5010if test -n "$CC"; then 5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5012$as_echo "$CC" >&6; } 5013else 5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5015$as_echo "no" >&6; } 5016fi 5017 5018 5019 test -n "$CC" && break 5020 done 5021fi 5022if test -z "$CC"; then 5023 ac_ct_CC=$CC 5024 for ac_prog in cl.exe 5025do 5026 # Extract the first word of "$ac_prog", so it can be a program name with args. 5027set dummy $ac_prog; ac_word=$2 5028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5029$as_echo_n "checking for $ac_word... " >&6; } 5030if ${ac_cv_prog_ac_ct_CC+:} false; then : 5031 $as_echo_n "(cached) " >&6 5032else 5033 if test -n "$ac_ct_CC"; then 5034 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5035else 5036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5037for as_dir in $PATH 5038do 5039 IFS=$as_save_IFS 5040 test -z "$as_dir" && as_dir=. 5041 for ac_exec_ext in '' $ac_executable_extensions; do 5042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5043 ac_cv_prog_ac_ct_CC="$ac_prog" 5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5045 break 2 5046 fi 5047done 5048 done 5049IFS=$as_save_IFS 5050 5051fi 5052fi 5053ac_ct_CC=$ac_cv_prog_ac_ct_CC 5054if test -n "$ac_ct_CC"; then 5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5056$as_echo "$ac_ct_CC" >&6; } 5057else 5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5059$as_echo "no" >&6; } 5060fi 5061 5062 5063 test -n "$ac_ct_CC" && break 5064done 5065 5066 if test "x$ac_ct_CC" = x; then 5067 CC="" 5068 else 5069 case $cross_compiling:$ac_tool_warned in 5070yes:) 5071{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5072$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5073ac_tool_warned=yes ;; 5074esac 5075 CC=$ac_ct_CC 5076 fi 5077fi 5078 5079fi 5080 5081 5082test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5083$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5084as_fn_error $? "no acceptable C compiler found in \$PATH 5085See \`config.log' for more details" "$LINENO" 5; } 5086 5087# Provide some information about the compiler. 5088$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5089set X $ac_compile 5090ac_compiler=$2 5091for ac_option in --version -v -V -qversion; do 5092 { { ac_try="$ac_compiler $ac_option >&5" 5093case "(($ac_try" in 5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5095 *) ac_try_echo=$ac_try;; 5096esac 5097eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5098$as_echo "$ac_try_echo"; } >&5 5099 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5100 ac_status=$? 5101 if test -s conftest.err; then 5102 sed '10a\ 5103... rest of stderr output deleted ... 5104 10q' conftest.err >conftest.er1 5105 cat conftest.er1 >&5 5106 fi 5107 rm -f conftest.er1 conftest.err 5108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5109 test $ac_status = 0; } 5110done 5111 5112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5113$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5114if ${ac_cv_c_compiler_gnu+:} false; then : 5115 $as_echo_n "(cached) " >&6 5116else 5117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5118/* end confdefs.h. */ 5119 5120int 5121main () 5122{ 5123#ifndef __GNUC__ 5124 choke me 5125#endif 5126 5127 ; 5128 return 0; 5129} 5130_ACEOF 5131if ac_fn_c_try_compile "$LINENO"; then : 5132 ac_compiler_gnu=yes 5133else 5134 ac_compiler_gnu=no 5135fi 5136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5137ac_cv_c_compiler_gnu=$ac_compiler_gnu 5138 5139fi 5140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5141$as_echo "$ac_cv_c_compiler_gnu" >&6; } 5142if test $ac_compiler_gnu = yes; then 5143 GCC=yes 5144else 5145 GCC= 5146fi 5147ac_test_CFLAGS=${CFLAGS+set} 5148ac_save_CFLAGS=$CFLAGS 5149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5150$as_echo_n "checking whether $CC accepts -g... " >&6; } 5151if ${ac_cv_prog_cc_g+:} false; then : 5152 $as_echo_n "(cached) " >&6 5153else 5154 ac_save_c_werror_flag=$ac_c_werror_flag 5155 ac_c_werror_flag=yes 5156 ac_cv_prog_cc_g=no 5157 CFLAGS="-g" 5158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5159/* end confdefs.h. */ 5160 5161int 5162main () 5163{ 5164 5165 ; 5166 return 0; 5167} 5168_ACEOF 5169if ac_fn_c_try_compile "$LINENO"; then : 5170 ac_cv_prog_cc_g=yes 5171else 5172 CFLAGS="" 5173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5174/* end confdefs.h. */ 5175 5176int 5177main () 5178{ 5179 5180 ; 5181 return 0; 5182} 5183_ACEOF 5184if ac_fn_c_try_compile "$LINENO"; then : 5185 5186else 5187 ac_c_werror_flag=$ac_save_c_werror_flag 5188 CFLAGS="-g" 5189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5190/* end confdefs.h. */ 5191 5192int 5193main () 5194{ 5195 5196 ; 5197 return 0; 5198} 5199_ACEOF 5200if ac_fn_c_try_compile "$LINENO"; then : 5201 ac_cv_prog_cc_g=yes 5202fi 5203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5204fi 5205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5206fi 5207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5208 ac_c_werror_flag=$ac_save_c_werror_flag 5209fi 5210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5211$as_echo "$ac_cv_prog_cc_g" >&6; } 5212if test "$ac_test_CFLAGS" = set; then 5213 CFLAGS=$ac_save_CFLAGS 5214elif test $ac_cv_prog_cc_g = yes; then 5215 if test "$GCC" = yes; then 5216 CFLAGS="-g -O2" 5217 else 5218 CFLAGS="-g" 5219 fi 5220else 5221 if test "$GCC" = yes; then 5222 CFLAGS="-O2" 5223 else 5224 CFLAGS= 5225 fi 5226fi 5227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5228$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5229if ${ac_cv_prog_cc_c89+:} false; then : 5230 $as_echo_n "(cached) " >&6 5231else 5232 ac_cv_prog_cc_c89=no 5233ac_save_CC=$CC 5234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5235/* end confdefs.h. */ 5236#include <stdarg.h> 5237#include <stdio.h> 5238struct stat; 5239/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5240struct buf { int x; }; 5241FILE * (*rcsopen) (struct buf *, struct stat *, int); 5242static char *e (p, i) 5243 char **p; 5244 int i; 5245{ 5246 return p[i]; 5247} 5248static char *f (char * (*g) (char **, int), char **p, ...) 5249{ 5250 char *s; 5251 va_list v; 5252 va_start (v,p); 5253 s = g (p, va_arg (v,int)); 5254 va_end (v); 5255 return s; 5256} 5257 5258/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5259 function prototypes and stuff, but not '\xHH' hex character constants. 5260 These don't provoke an error unfortunately, instead are silently treated 5261 as 'x'. The following induces an error, until -std is added to get 5262 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5263 array size at least. It's necessary to write '\x00'==0 to get something 5264 that's true only with -std. */ 5265int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5266 5267/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5268 inside strings and character constants. */ 5269#define FOO(x) 'x' 5270int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5271 5272int test (int i, double x); 5273struct s1 {int (*f) (int a);}; 5274struct s2 {int (*f) (double a);}; 5275int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5276int argc; 5277char **argv; 5278int 5279main () 5280{ 5281return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5282 ; 5283 return 0; 5284} 5285_ACEOF 5286for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5287 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5288do 5289 CC="$ac_save_CC $ac_arg" 5290 if ac_fn_c_try_compile "$LINENO"; then : 5291 ac_cv_prog_cc_c89=$ac_arg 5292fi 5293rm -f core conftest.err conftest.$ac_objext 5294 test "x$ac_cv_prog_cc_c89" != "xno" && break 5295done 5296rm -f conftest.$ac_ext 5297CC=$ac_save_CC 5298 5299fi 5300# AC_CACHE_VAL 5301case "x$ac_cv_prog_cc_c89" in 5302 x) 5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5304$as_echo "none needed" >&6; } ;; 5305 xno) 5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5307$as_echo "unsupported" >&6; } ;; 5308 *) 5309 CC="$CC $ac_cv_prog_cc_c89" 5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5311$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5312esac 5313if test "x$ac_cv_prog_cc_c89" != xno; then : 5314 5315fi 5316 5317ac_ext=c 5318ac_cpp='$CPP $CPPFLAGS' 5319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5321ac_compiler_gnu=$ac_cv_c_compiler_gnu 5322 5323ac_ext=c 5324ac_cpp='$CPP $CPPFLAGS' 5325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5327ac_compiler_gnu=$ac_cv_c_compiler_gnu 5328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5329$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5330if ${am_cv_prog_cc_c_o+:} false; then : 5331 $as_echo_n "(cached) " >&6 5332else 5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5334/* end confdefs.h. */ 5335 5336int 5337main () 5338{ 5339 5340 ; 5341 return 0; 5342} 5343_ACEOF 5344 # Make sure it works both with $CC and with simple cc. 5345 # Following AC_PROG_CC_C_O, we do the test twice because some 5346 # compilers refuse to overwrite an existing .o file with -o, 5347 # though they will create one. 5348 am_cv_prog_cc_c_o=yes 5349 for am_i in 1 2; do 5350 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5351 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5352 ac_status=$? 5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5354 (exit $ac_status); } \ 5355 && test -f conftest2.$ac_objext; then 5356 : OK 5357 else 5358 am_cv_prog_cc_c_o=no 5359 break 5360 fi 5361 done 5362 rm -f core conftest* 5363 unset am_i 5364fi 5365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5366$as_echo "$am_cv_prog_cc_c_o" >&6; } 5367if test "$am_cv_prog_cc_c_o" != yes; then 5368 # Losing compiler, so override with the script. 5369 # FIXME: It is wrong to rewrite CC. 5370 # But if we don't then we get into trouble of one sort or another. 5371 # A longer-term fix would be to have automake use am__CC in this case, 5372 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5373 CC="$am_aux_dir/compile $CC" 5374fi 5375ac_ext=c 5376ac_cpp='$CPP $CPPFLAGS' 5377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5379ac_compiler_gnu=$ac_cv_c_compiler_gnu 5380 5381 5382depcc="$CC" am_compiler_list= 5383 5384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5385$as_echo_n "checking dependency style of $depcc... " >&6; } 5386if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5387 $as_echo_n "(cached) " >&6 5388else 5389 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5390 # We make a subdir and do the tests there. Otherwise we can end up 5391 # making bogus files that we don't know about and never remove. For 5392 # instance it was reported that on HP-UX the gcc test will end up 5393 # making a dummy file named 'D' -- because '-MD' means "put the output 5394 # in D". 5395 rm -rf conftest.dir 5396 mkdir conftest.dir 5397 # Copy depcomp to subdir because otherwise we won't find it if we're 5398 # using a relative directory. 5399 cp "$am_depcomp" conftest.dir 5400 cd conftest.dir 5401 # We will build objects and dependencies in a subdirectory because 5402 # it helps to detect inapplicable dependency modes. For instance 5403 # both Tru64's cc and ICC support -MD to output dependencies as a 5404 # side effect of compilation, but ICC will put the dependencies in 5405 # the current directory while Tru64 will put them in the object 5406 # directory. 5407 mkdir sub 5408 5409 am_cv_CC_dependencies_compiler_type=none 5410 if test "$am_compiler_list" = ""; then 5411 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5412 fi 5413 am__universal=false 5414 case " $depcc " in #( 5415 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5416 esac 5417 5418 for depmode in $am_compiler_list; do 5419 # Setup a source with many dependencies, because some compilers 5420 # like to wrap large dependency lists on column 80 (with \), and 5421 # we should not choose a depcomp mode which is confused by this. 5422 # 5423 # We need to recreate these files for each test, as the compiler may 5424 # overwrite some of them when testing with obscure command lines. 5425 # This happens at least with the AIX C compiler. 5426 : > sub/conftest.c 5427 for i in 1 2 3 4 5 6; do 5428 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5429 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5430 # Solaris 10 /bin/sh. 5431 echo '/* dummy */' > sub/conftst$i.h 5432 done 5433 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5434 5435 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5436 # mode. It turns out that the SunPro C++ compiler does not properly 5437 # handle '-M -o', and we need to detect this. Also, some Intel 5438 # versions had trouble with output in subdirs. 5439 am__obj=sub/conftest.${OBJEXT-o} 5440 am__minus_obj="-o $am__obj" 5441 case $depmode in 5442 gcc) 5443 # This depmode causes a compiler race in universal mode. 5444 test "$am__universal" = false || continue 5445 ;; 5446 nosideeffect) 5447 # After this tag, mechanisms are not by side-effect, so they'll 5448 # only be used when explicitly requested. 5449 if test "x$enable_dependency_tracking" = xyes; then 5450 continue 5451 else 5452 break 5453 fi 5454 ;; 5455 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5456 # This compiler won't grok '-c -o', but also, the minuso test has 5457 # not run yet. These depmodes are late enough in the game, and 5458 # so weak that their functioning should not be impacted. 5459 am__obj=conftest.${OBJEXT-o} 5460 am__minus_obj= 5461 ;; 5462 none) break ;; 5463 esac 5464 if depmode=$depmode \ 5465 source=sub/conftest.c object=$am__obj \ 5466 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5467 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5468 >/dev/null 2>conftest.err && 5469 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5470 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5471 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5472 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5473 # icc doesn't choke on unknown options, it will just issue warnings 5474 # or remarks (even with -Werror). So we grep stderr for any message 5475 # that says an option was ignored or not supported. 5476 # When given -MP, icc 7.0 and 7.1 complain thusly: 5477 # icc: Command line warning: ignoring option '-M'; no argument required 5478 # The diagnosis changed in icc 8.0: 5479 # icc: Command line remark: option '-MP' not supported 5480 if (grep 'ignoring option' conftest.err || 5481 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5482 am_cv_CC_dependencies_compiler_type=$depmode 5483 break 5484 fi 5485 fi 5486 done 5487 5488 cd .. 5489 rm -rf conftest.dir 5490else 5491 am_cv_CC_dependencies_compiler_type=none 5492fi 5493 5494fi 5495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5496$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5497CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5498 5499 if 5500 test "x$enable_dependency_tracking" != xno \ 5501 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5502 am__fastdepCC_TRUE= 5503 am__fastdepCC_FALSE='#' 5504else 5505 am__fastdepCC_TRUE='#' 5506 am__fastdepCC_FALSE= 5507fi 5508 5509 5510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5511$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5512if ${ac_cv_path_SED+:} false; then : 5513 $as_echo_n "(cached) " >&6 5514else 5515 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5516 for ac_i in 1 2 3 4 5 6 7; do 5517 ac_script="$ac_script$as_nl$ac_script" 5518 done 5519 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5520 { ac_script=; unset ac_script;} 5521 if test -z "$SED"; then 5522 ac_path_SED_found=false 5523 # Loop through the user's path and test for each of PROGNAME-LIST 5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5525for as_dir in $PATH 5526do 5527 IFS=$as_save_IFS 5528 test -z "$as_dir" && as_dir=. 5529 for ac_prog in sed gsed; do 5530 for ac_exec_ext in '' $ac_executable_extensions; do 5531 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5532 as_fn_executable_p "$ac_path_SED" || continue 5533# Check for GNU ac_path_SED and select it if it is found. 5534 # Check for GNU $ac_path_SED 5535case `"$ac_path_SED" --version 2>&1` in 5536*GNU*) 5537 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5538*) 5539 ac_count=0 5540 $as_echo_n 0123456789 >"conftest.in" 5541 while : 5542 do 5543 cat "conftest.in" "conftest.in" >"conftest.tmp" 5544 mv "conftest.tmp" "conftest.in" 5545 cp "conftest.in" "conftest.nl" 5546 $as_echo '' >> "conftest.nl" 5547 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5548 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5549 as_fn_arith $ac_count + 1 && ac_count=$as_val 5550 if test $ac_count -gt ${ac_path_SED_max-0}; then 5551 # Best one so far, save it but keep looking for a better one 5552 ac_cv_path_SED="$ac_path_SED" 5553 ac_path_SED_max=$ac_count 5554 fi 5555 # 10*(2^10) chars as input seems more than enough 5556 test $ac_count -gt 10 && break 5557 done 5558 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5559esac 5560 5561 $ac_path_SED_found && break 3 5562 done 5563 done 5564 done 5565IFS=$as_save_IFS 5566 if test -z "$ac_cv_path_SED"; then 5567 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5568 fi 5569else 5570 ac_cv_path_SED=$SED 5571fi 5572 5573fi 5574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5575$as_echo "$ac_cv_path_SED" >&6; } 5576 SED="$ac_cv_path_SED" 5577 rm -f conftest.sed 5578 5579test -z "$SED" && SED=sed 5580Xsed="$SED -e 1s/^X//" 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5593$as_echo_n "checking for fgrep... " >&6; } 5594if ${ac_cv_path_FGREP+:} false; then : 5595 $as_echo_n "(cached) " >&6 5596else 5597 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5598 then ac_cv_path_FGREP="$GREP -F" 5599 else 5600 if test -z "$FGREP"; then 5601 ac_path_FGREP_found=false 5602 # Loop through the user's path and test for each of PROGNAME-LIST 5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5604for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5605do 5606 IFS=$as_save_IFS 5607 test -z "$as_dir" && as_dir=. 5608 for ac_prog in fgrep; do 5609 for ac_exec_ext in '' $ac_executable_extensions; do 5610 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5611 as_fn_executable_p "$ac_path_FGREP" || continue 5612# Check for GNU ac_path_FGREP and select it if it is found. 5613 # Check for GNU $ac_path_FGREP 5614case `"$ac_path_FGREP" --version 2>&1` in 5615*GNU*) 5616 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5617*) 5618 ac_count=0 5619 $as_echo_n 0123456789 >"conftest.in" 5620 while : 5621 do 5622 cat "conftest.in" "conftest.in" >"conftest.tmp" 5623 mv "conftest.tmp" "conftest.in" 5624 cp "conftest.in" "conftest.nl" 5625 $as_echo 'FGREP' >> "conftest.nl" 5626 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5627 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5628 as_fn_arith $ac_count + 1 && ac_count=$as_val 5629 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5630 # Best one so far, save it but keep looking for a better one 5631 ac_cv_path_FGREP="$ac_path_FGREP" 5632 ac_path_FGREP_max=$ac_count 5633 fi 5634 # 10*(2^10) chars as input seems more than enough 5635 test $ac_count -gt 10 && break 5636 done 5637 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5638esac 5639 5640 $ac_path_FGREP_found && break 3 5641 done 5642 done 5643 done 5644IFS=$as_save_IFS 5645 if test -z "$ac_cv_path_FGREP"; then 5646 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5647 fi 5648else 5649 ac_cv_path_FGREP=$FGREP 5650fi 5651 5652 fi 5653fi 5654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5655$as_echo "$ac_cv_path_FGREP" >&6; } 5656 FGREP="$ac_cv_path_FGREP" 5657 5658 5659test -z "$GREP" && GREP=grep 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5678ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5679ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5680 5681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5682$as_echo_n "checking how to print strings... " >&6; } 5683# Test print first, because it will be a builtin if present. 5684if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5685 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5686 ECHO='print -r --' 5687elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5688 ECHO='printf %s\n' 5689else 5690 # Use this function as a fallback that always works. 5691 func_fallback_echo () 5692 { 5693 eval 'cat <<_LTECHO_EOF 5694$1 5695_LTECHO_EOF' 5696 } 5697 ECHO='func_fallback_echo' 5698fi 5699 5700# func_echo_all arg... 5701# Invoke $ECHO with all args, space-separated. 5702func_echo_all () 5703{ 5704 $ECHO "" 5705} 5706 5707case $ECHO in 5708 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5709$as_echo "printf" >&6; } ;; 5710 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5711$as_echo "print -r" >&6; } ;; 5712 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5713$as_echo "cat" >&6; } ;; 5714esac 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731# Check whether --with-gnu-ld was given. 5732if test "${with_gnu_ld+set}" = set; then : 5733 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5734else 5735 with_gnu_ld=no 5736fi 5737 5738ac_prog=ld 5739if test yes = "$GCC"; then 5740 # Check if gcc -print-prog-name=ld gives a path. 5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5742$as_echo_n "checking for ld used by $CC... " >&6; } 5743 case $host in 5744 *-*-mingw*) 5745 # gcc leaves a trailing carriage return, which upsets mingw 5746 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5747 *) 5748 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5749 esac 5750 case $ac_prog in 5751 # Accept absolute paths. 5752 [\\/]* | ?:[\\/]*) 5753 re_direlt='/[^/][^/]*/\.\./' 5754 # Canonicalize the pathname of ld 5755 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5756 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5757 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5758 done 5759 test -z "$LD" && LD=$ac_prog 5760 ;; 5761 "") 5762 # If it fails, then pretend we aren't using GCC. 5763 ac_prog=ld 5764 ;; 5765 *) 5766 # If it is relative, then search for the first ld in PATH. 5767 with_gnu_ld=unknown 5768 ;; 5769 esac 5770elif test yes = "$with_gnu_ld"; then 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5772$as_echo_n "checking for GNU ld... " >&6; } 5773else 5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5775$as_echo_n "checking for non-GNU ld... " >&6; } 5776fi 5777if ${lt_cv_path_LD+:} false; then : 5778 $as_echo_n "(cached) " >&6 5779else 5780 if test -z "$LD"; then 5781 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5782 for ac_dir in $PATH; do 5783 IFS=$lt_save_ifs 5784 test -z "$ac_dir" && ac_dir=. 5785 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5786 lt_cv_path_LD=$ac_dir/$ac_prog 5787 # Check to see if the program is GNU ld. I'd rather use --version, 5788 # but apparently some variants of GNU ld only accept -v. 5789 # Break only if it was the GNU/non-GNU ld that we prefer. 5790 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5791 *GNU* | *'with BFD'*) 5792 test no != "$with_gnu_ld" && break 5793 ;; 5794 *) 5795 test yes != "$with_gnu_ld" && break 5796 ;; 5797 esac 5798 fi 5799 done 5800 IFS=$lt_save_ifs 5801else 5802 lt_cv_path_LD=$LD # Let the user override the test with a path. 5803fi 5804fi 5805 5806LD=$lt_cv_path_LD 5807if test -n "$LD"; then 5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5809$as_echo "$LD" >&6; } 5810else 5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5812$as_echo "no" >&6; } 5813fi 5814test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5816$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5817if ${lt_cv_prog_gnu_ld+:} false; then : 5818 $as_echo_n "(cached) " >&6 5819else 5820 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5821case `$LD -v 2>&1 </dev/null` in 5822*GNU* | *'with BFD'*) 5823 lt_cv_prog_gnu_ld=yes 5824 ;; 5825*) 5826 lt_cv_prog_gnu_ld=no 5827 ;; 5828esac 5829fi 5830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5831$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5832with_gnu_ld=$lt_cv_prog_gnu_ld 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5845$as_echo_n "checking whether NLS is requested... " >&6; } 5846 # Check whether --enable-nls was given. 5847if test "${enable_nls+set}" = set; then : 5848 enableval=$enable_nls; USE_NLS=$enableval 5849else 5850 USE_NLS=yes 5851fi 5852 5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5854$as_echo "$USE_NLS" >&6; } 5855 5856 5857 5858 5859case "$am__api_version" in 5860 1.01234) 5861 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 5862 ;; 5863 *) 5864 ;; 5865esac 5866 5867INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5868INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 5869INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5870if test -n ""; then 5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5 5872$as_echo_n "checking for intltool >= ... " >&6; } 5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 5874$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 5875 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 5876 as_fn_error $? "Your intltool is too old. You need intltool or later." "$LINENO" 5 5877fi 5878 5879# Extract the first word of "intltool-update", so it can be a program name with args. 5880set dummy intltool-update; ac_word=$2 5881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5882$as_echo_n "checking for $ac_word... " >&6; } 5883if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 5884 $as_echo_n "(cached) " >&6 5885else 5886 case $INTLTOOL_UPDATE in 5887 [\\/]* | ?:[\\/]*) 5888 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 5889 ;; 5890 *) 5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5892for as_dir in $PATH 5893do 5894 IFS=$as_save_IFS 5895 test -z "$as_dir" && as_dir=. 5896 for ac_exec_ext in '' $ac_executable_extensions; do 5897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5898 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5900 break 2 5901 fi 5902done 5903 done 5904IFS=$as_save_IFS 5905 5906 ;; 5907esac 5908fi 5909INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 5910if test -n "$INTLTOOL_UPDATE"; then 5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 5912$as_echo "$INTLTOOL_UPDATE" >&6; } 5913else 5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5915$as_echo "no" >&6; } 5916fi 5917 5918 5919# Extract the first word of "intltool-merge", so it can be a program name with args. 5920set dummy intltool-merge; ac_word=$2 5921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5922$as_echo_n "checking for $ac_word... " >&6; } 5923if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 5924 $as_echo_n "(cached) " >&6 5925else 5926 case $INTLTOOL_MERGE in 5927 [\\/]* | ?:[\\/]*) 5928 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 5929 ;; 5930 *) 5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5932for as_dir in $PATH 5933do 5934 IFS=$as_save_IFS 5935 test -z "$as_dir" && as_dir=. 5936 for ac_exec_ext in '' $ac_executable_extensions; do 5937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5938 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 5939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5940 break 2 5941 fi 5942done 5943 done 5944IFS=$as_save_IFS 5945 5946 ;; 5947esac 5948fi 5949INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 5950if test -n "$INTLTOOL_MERGE"; then 5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 5952$as_echo "$INTLTOOL_MERGE" >&6; } 5953else 5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5955$as_echo "no" >&6; } 5956fi 5957 5958 5959# Extract the first word of "intltool-extract", so it can be a program name with args. 5960set dummy intltool-extract; ac_word=$2 5961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5962$as_echo_n "checking for $ac_word... " >&6; } 5963if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 5964 $as_echo_n "(cached) " >&6 5965else 5966 case $INTLTOOL_EXTRACT in 5967 [\\/]* | ?:[\\/]*) 5968 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 5969 ;; 5970 *) 5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5972for as_dir in $PATH 5973do 5974 IFS=$as_save_IFS 5975 test -z "$as_dir" && as_dir=. 5976 for ac_exec_ext in '' $ac_executable_extensions; do 5977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5978 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 5979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5980 break 2 5981 fi 5982done 5983 done 5984IFS=$as_save_IFS 5985 5986 ;; 5987esac 5988fi 5989INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 5990if test -n "$INTLTOOL_EXTRACT"; then 5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 5992$as_echo "$INTLTOOL_EXTRACT" >&6; } 5993else 5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5995$as_echo "no" >&6; } 5996fi 5997 5998 5999if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 6000 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 6001fi 6002 6003if test -z "$AM_DEFAULT_VERBOSITY"; then 6004 AM_DEFAULT_VERBOSITY=1 6005fi 6006 6007 6008INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 6009INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 6010INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 6011 6012 6013 6014 6015INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 6016intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 6017intltool__v_merge_options_0='-q' 6018 6019 6020 6021 6022 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 $< $@' 6023INTLTOOL_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 $< $@' 6024 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 $< $@' 6025 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 $< $@' 6026 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 $< $@' 6027 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 $< $@' 6028 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 $< $@' 6029 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 $< $@' 6030INTLTOOL_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 $< $@' 6031 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 $< $@' 6032 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 $< $@' 6033if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 6034 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 $< $@' 6035else 6036 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' 6037fi 6038 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 $< $@' 6039 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 $< $@' 6040 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 $< $@' 6041 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 $< $@' 6042 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 $< $@' 6043 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 $< $@' 6044 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 $< $@' 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142# Check the gettext tools to make sure they are GNU 6143# Extract the first word of "xgettext", so it can be a program name with args. 6144set dummy xgettext; ac_word=$2 6145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6146$as_echo_n "checking for $ac_word... " >&6; } 6147if ${ac_cv_path_XGETTEXT+:} false; then : 6148 $as_echo_n "(cached) " >&6 6149else 6150 case $XGETTEXT in 6151 [\\/]* | ?:[\\/]*) 6152 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 6153 ;; 6154 *) 6155 as_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_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 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 6170 ;; 6171esac 6172fi 6173XGETTEXT=$ac_cv_path_XGETTEXT 6174if test -n "$XGETTEXT"; then 6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 6176$as_echo "$XGETTEXT" >&6; } 6177else 6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6179$as_echo "no" >&6; } 6180fi 6181 6182 6183# Extract the first word of "msgmerge", so it can be a program name with args. 6184set dummy msgmerge; ac_word=$2 6185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6186$as_echo_n "checking for $ac_word... " >&6; } 6187if ${ac_cv_path_MSGMERGE+:} false; then : 6188 $as_echo_n "(cached) " >&6 6189else 6190 case $MSGMERGE in 6191 [\\/]* | ?:[\\/]*) 6192 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 6193 ;; 6194 *) 6195 as_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_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 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 6210 ;; 6211esac 6212fi 6213MSGMERGE=$ac_cv_path_MSGMERGE 6214if test -n "$MSGMERGE"; then 6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 6216$as_echo "$MSGMERGE" >&6; } 6217else 6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6219$as_echo "no" >&6; } 6220fi 6221 6222 6223# Extract the first word of "msgfmt", so it can be a program name with args. 6224set dummy msgfmt; ac_word=$2 6225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6226$as_echo_n "checking for $ac_word... " >&6; } 6227if ${ac_cv_path_MSGFMT+:} false; then : 6228 $as_echo_n "(cached) " >&6 6229else 6230 case $MSGFMT in 6231 [\\/]* | ?:[\\/]*) 6232 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 6233 ;; 6234 *) 6235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6236for as_dir in $PATH 6237do 6238 IFS=$as_save_IFS 6239 test -z "$as_dir" && as_dir=. 6240 for ac_exec_ext in '' $ac_executable_extensions; do 6241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6242 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 6243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6244 break 2 6245 fi 6246done 6247 done 6248IFS=$as_save_IFS 6249 6250 ;; 6251esac 6252fi 6253MSGFMT=$ac_cv_path_MSGFMT 6254if test -n "$MSGFMT"; then 6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 6256$as_echo "$MSGFMT" >&6; } 6257else 6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6259$as_echo "no" >&6; } 6260fi 6261 6262 6263# Extract the first word of "gmsgfmt", so it can be a program name with args. 6264set dummy gmsgfmt; ac_word=$2 6265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6266$as_echo_n "checking for $ac_word... " >&6; } 6267if ${ac_cv_path_GMSGFMT+:} false; then : 6268 $as_echo_n "(cached) " >&6 6269else 6270 case $GMSGFMT in 6271 [\\/]* | ?:[\\/]*) 6272 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 6273 ;; 6274 *) 6275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6276for as_dir in $PATH 6277do 6278 IFS=$as_save_IFS 6279 test -z "$as_dir" && as_dir=. 6280 for ac_exec_ext in '' $ac_executable_extensions; do 6281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6282 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 6283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6284 break 2 6285 fi 6286done 6287 done 6288IFS=$as_save_IFS 6289 6290 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 6291 ;; 6292esac 6293fi 6294GMSGFMT=$ac_cv_path_GMSGFMT 6295if test -n "$GMSGFMT"; then 6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 6297$as_echo "$GMSGFMT" >&6; } 6298else 6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6300$as_echo "no" >&6; } 6301fi 6302 6303 6304if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 6305 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 6306fi 6307xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 6308mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 6309mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 6310if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 6311 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 6312fi 6313 6314# Extract the first word of "perl", so it can be a program name with args. 6315set dummy perl; ac_word=$2 6316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6317$as_echo_n "checking for $ac_word... " >&6; } 6318if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 6319 $as_echo_n "(cached) " >&6 6320else 6321 case $INTLTOOL_PERL in 6322 [\\/]* | ?:[\\/]*) 6323 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 6324 ;; 6325 *) 6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6327for as_dir in $PATH 6328do 6329 IFS=$as_save_IFS 6330 test -z "$as_dir" && as_dir=. 6331 for ac_exec_ext in '' $ac_executable_extensions; do 6332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6333 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 6334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6335 break 2 6336 fi 6337done 6338 done 6339IFS=$as_save_IFS 6340 6341 ;; 6342esac 6343fi 6344INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 6345if test -n "$INTLTOOL_PERL"; then 6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 6347$as_echo "$INTLTOOL_PERL" >&6; } 6348else 6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6350$as_echo "no" >&6; } 6351fi 6352 6353 6354if test -z "$INTLTOOL_PERL"; then 6355 as_fn_error $? "perl not found" "$LINENO" 5 6356fi 6357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 6358$as_echo_n "checking for perl >= 5.8.1... " >&6; } 6359$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 6360if test $? -ne 0; then 6361 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 6362else 6363 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 6365$as_echo "$IT_PERL_VERSION" >&6; } 6366fi 6367if test "x" != "xno-xml"; then 6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 6369$as_echo_n "checking for XML::Parser... " >&6; } 6370 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6372$as_echo "ok" >&6; } 6373 else 6374 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 6375 fi 6376fi 6377 6378# Substitute ALL_LINGUAS so we can use it in po/Makefile 6379 6380 6381 6382 6383 6384 6385 6386case `pwd` in 6387 *\ * | *\ *) 6388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 6389$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 6390esac 6391 6392 6393 6394macro_version='2.4.6.40-6ca5-dirty' 6395macro_revision='2.4.6.40' 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409ltmain=$ac_aux_dir/ltmain.sh 6410 6411# Backslashify metacharacters that are still active within 6412# double-quoted strings. 6413sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6414 6415# Same as above, but do not quote variable references. 6416double_quote_subst='s/\(["`\\]\)/\\\1/g' 6417 6418# Sed substitution to delay expansion of an escaped shell variable in a 6419# double_quote_subst'ed string. 6420delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6421 6422# Sed substitution to delay expansion of an escaped single quote. 6423delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 6424 6425# Sed substitution to avoid accidental globbing in evaled expressions 6426no_glob_subst='s/\*/\\\*/g' 6427 6428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6429$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6430if ${lt_cv_path_NM+:} false; then : 6431 $as_echo_n "(cached) " >&6 6432else 6433 if test -n "$NM"; then 6434 # Let the user override the test. 6435 lt_cv_path_NM=$NM 6436else 6437 lt_nm_to_check=${ac_tool_prefix}nm 6438 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6439 lt_nm_to_check="$lt_nm_to_check nm" 6440 fi 6441 for lt_tmp_nm in $lt_nm_to_check; do 6442 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6443 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6444 IFS=$lt_save_ifs 6445 test -z "$ac_dir" && ac_dir=. 6446 tmp_nm=$ac_dir/$lt_tmp_nm 6447 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 6448 # Check to see if the nm accepts a BSD-compat flag. 6449 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 6450 # nm: unknown option "B" ignored 6451 # Tru64's nm complains that /dev/null is an invalid object file 6452 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 6453 case $build_os in 6454 mingw*) lt_bad_file=conftest.nm/nofile ;; 6455 *) lt_bad_file=/dev/null ;; 6456 esac 6457 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 6458 *$lt_bad_file* | *'Invalid file or object type'*) 6459 lt_cv_path_NM="$tmp_nm -B" 6460 break 2 6461 ;; 6462 *) 6463 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6464 */dev/null*) 6465 lt_cv_path_NM="$tmp_nm -p" 6466 break 2 6467 ;; 6468 *) 6469 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6470 continue # so that we can try to find one that supports BSD flags 6471 ;; 6472 esac 6473 ;; 6474 esac 6475 fi 6476 done 6477 IFS=$lt_save_ifs 6478 done 6479 : ${lt_cv_path_NM=no} 6480fi 6481fi 6482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6483$as_echo "$lt_cv_path_NM" >&6; } 6484if test no != "$lt_cv_path_NM"; then 6485 NM=$lt_cv_path_NM 6486else 6487 # Didn't find any BSD compatible name lister, look for dumpbin. 6488 if test -n "$DUMPBIN"; then : 6489 # Let the user override the test. 6490 else 6491 if test -n "$ac_tool_prefix"; then 6492 for ac_prog in dumpbin "link -dump" 6493 do 6494 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6495set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6497$as_echo_n "checking for $ac_word... " >&6; } 6498if ${ac_cv_prog_DUMPBIN+:} false; then : 6499 $as_echo_n "(cached) " >&6 6500else 6501 if test -n "$DUMPBIN"; then 6502 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6503else 6504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6505for as_dir in $PATH 6506do 6507 IFS=$as_save_IFS 6508 test -z "$as_dir" && as_dir=. 6509 for ac_exec_ext in '' $ac_executable_extensions; do 6510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6511 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6513 break 2 6514 fi 6515done 6516 done 6517IFS=$as_save_IFS 6518 6519fi 6520fi 6521DUMPBIN=$ac_cv_prog_DUMPBIN 6522if test -n "$DUMPBIN"; then 6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6524$as_echo "$DUMPBIN" >&6; } 6525else 6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6527$as_echo "no" >&6; } 6528fi 6529 6530 6531 test -n "$DUMPBIN" && break 6532 done 6533fi 6534if test -z "$DUMPBIN"; then 6535 ac_ct_DUMPBIN=$DUMPBIN 6536 for ac_prog in dumpbin "link -dump" 6537do 6538 # Extract the first word of "$ac_prog", so it can be a program name with args. 6539set dummy $ac_prog; ac_word=$2 6540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6541$as_echo_n "checking for $ac_word... " >&6; } 6542if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6543 $as_echo_n "(cached) " >&6 6544else 6545 if test -n "$ac_ct_DUMPBIN"; then 6546 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6547else 6548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6549for as_dir in $PATH 6550do 6551 IFS=$as_save_IFS 6552 test -z "$as_dir" && as_dir=. 6553 for ac_exec_ext in '' $ac_executable_extensions; do 6554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6555 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6557 break 2 6558 fi 6559done 6560 done 6561IFS=$as_save_IFS 6562 6563fi 6564fi 6565ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6566if test -n "$ac_ct_DUMPBIN"; then 6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6568$as_echo "$ac_ct_DUMPBIN" >&6; } 6569else 6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6571$as_echo "no" >&6; } 6572fi 6573 6574 6575 test -n "$ac_ct_DUMPBIN" && break 6576done 6577 6578 if test "x$ac_ct_DUMPBIN" = x; then 6579 DUMPBIN=":" 6580 else 6581 case $cross_compiling:$ac_tool_warned in 6582yes:) 6583{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6584$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6585ac_tool_warned=yes ;; 6586esac 6587 DUMPBIN=$ac_ct_DUMPBIN 6588 fi 6589fi 6590 6591 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 6592 *COFF*) 6593 DUMPBIN="$DUMPBIN -symbols -headers" 6594 ;; 6595 *) 6596 DUMPBIN=: 6597 ;; 6598 esac 6599 fi 6600 6601 if test : != "$DUMPBIN"; then 6602 NM=$DUMPBIN 6603 fi 6604fi 6605test -z "$NM" && NM=nm 6606 6607 6608 6609 6610 6611 6612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6613$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6614if ${lt_cv_nm_interface+:} false; then : 6615 $as_echo_n "(cached) " >&6 6616else 6617 lt_cv_nm_interface="BSD nm" 6618 echo "int some_variable = 0;" > conftest.$ac_ext 6619 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6620 (eval "$ac_compile" 2>conftest.err) 6621 cat conftest.err >&5 6622 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6623 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6624 cat conftest.err >&5 6625 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6626 cat conftest.out >&5 6627 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6628 lt_cv_nm_interface="MS dumpbin" 6629 fi 6630 rm -f conftest* 6631fi 6632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6633$as_echo "$lt_cv_nm_interface" >&6; } 6634 6635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6636$as_echo_n "checking whether ln -s works... " >&6; } 6637LN_S=$as_ln_s 6638if test "$LN_S" = "ln -s"; then 6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6640$as_echo "yes" >&6; } 6641else 6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6643$as_echo "no, using $LN_S" >&6; } 6644fi 6645 6646# find the maximum length of command line arguments 6647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6648$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6649if ${lt_cv_sys_max_cmd_len+:} false; then : 6650 $as_echo_n "(cached) " >&6 6651else 6652 i=0 6653 teststring=ABCD 6654 6655 case $build_os in 6656 msdosdjgpp*) 6657 # On DJGPP, this test can blow up pretty badly due to problems in libc 6658 # (any single argument exceeding 2000 bytes causes a buffer overrun 6659 # during glob expansion). Even if it were fixed, the result of this 6660 # check would be larger than it should be. 6661 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6662 ;; 6663 6664 gnu*) 6665 # Under GNU Hurd, this test is not required because there is 6666 # no limit to the length of command line arguments. 6667 # Libtool will interpret -1 as no limit whatsoever 6668 lt_cv_sys_max_cmd_len=-1; 6669 ;; 6670 6671 cygwin* | mingw* | cegcc*) 6672 # On Win9x/ME, this test blows up -- it succeeds, but takes 6673 # about 5 minutes as the teststring grows exponentially. 6674 # Worse, since 9x/ME are not pre-emptively multitasking, 6675 # you end up with a "frozen" computer, even though with patience 6676 # the test eventually succeeds (with a max line length of 256k). 6677 # Instead, let's just punt: use the minimum linelength reported by 6678 # all of the supported platforms: 8192 (on NT/2K/XP). 6679 lt_cv_sys_max_cmd_len=8192; 6680 ;; 6681 6682 mint*) 6683 # On MiNT this can take a long time and run out of memory. 6684 lt_cv_sys_max_cmd_len=8192; 6685 ;; 6686 6687 amigaos*) 6688 # On AmigaOS with pdksh, this test takes hours, literally. 6689 # So we just punt and use a minimum line length of 8192. 6690 lt_cv_sys_max_cmd_len=8192; 6691 ;; 6692 6693 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 6694 # This has been around since 386BSD, at least. Likely further. 6695 if test -x /sbin/sysctl; then 6696 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6697 elif test -x /usr/sbin/sysctl; then 6698 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6699 else 6700 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6701 fi 6702 # And add a safety zone 6703 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6704 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6705 ;; 6706 6707 interix*) 6708 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6709 lt_cv_sys_max_cmd_len=196608 6710 ;; 6711 6712 os2*) 6713 # The test takes a long time on OS/2. 6714 lt_cv_sys_max_cmd_len=8192 6715 ;; 6716 6717 osf*) 6718 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6719 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6720 # nice to cause kernel panics so lets avoid the loop below. 6721 # First set a reasonable default. 6722 lt_cv_sys_max_cmd_len=16384 6723 # 6724 if test -x /sbin/sysconfig; then 6725 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6726 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6727 esac 6728 fi 6729 ;; 6730 sco3.2v5*) 6731 lt_cv_sys_max_cmd_len=102400 6732 ;; 6733 sysv5* | sco5v6* | sysv4.2uw2*) 6734 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6735 if test -n "$kargmax"; then 6736 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6737 else 6738 lt_cv_sys_max_cmd_len=32768 6739 fi 6740 ;; 6741 *) 6742 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6743 if test -n "$lt_cv_sys_max_cmd_len" && \ 6744 test undefined != "$lt_cv_sys_max_cmd_len"; then 6745 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6746 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6747 else 6748 # Make teststring a little bigger before we do anything with it. 6749 # a 1K string should be a reasonable start. 6750 for i in 1 2 3 4 5 6 7 8; do 6751 teststring=$teststring$teststring 6752 done 6753 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6754 # If test is not a shell built-in, we'll probably end up computing a 6755 # maximum length that is only half of the actual maximum length, but 6756 # we can't tell. 6757 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6758 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6759 test 17 != "$i" # 1/2 MB should be enough 6760 do 6761 i=`expr $i + 1` 6762 teststring=$teststring$teststring 6763 done 6764 # Only check the string length outside the loop. 6765 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6766 teststring= 6767 # Add a significant safety factor because C++ compilers can tack on 6768 # massive amounts of additional arguments before passing them to the 6769 # linker. It appears as though 1/2 is a usable value. 6770 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6771 fi 6772 ;; 6773 esac 6774 6775fi 6776 6777if test -n "$lt_cv_sys_max_cmd_len"; then 6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6779$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6780else 6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6782$as_echo "none" >&6; } 6783fi 6784max_cmd_len=$lt_cv_sys_max_cmd_len 6785 6786 6787 6788 6789 6790 6791: ${CP="cp -f"} 6792: ${MV="mv -f"} 6793: ${RM="rm -f"} 6794 6795if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6796 lt_unset=unset 6797else 6798 lt_unset=false 6799fi 6800 6801 6802 6803 6804 6805# test EBCDIC or ASCII 6806case `echo X|tr X '\101'` in 6807 A) # ASCII based system 6808 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6809 lt_SP2NL='tr \040 \012' 6810 lt_NL2SP='tr \015\012 \040\040' 6811 ;; 6812 *) # EBCDIC based system 6813 lt_SP2NL='tr \100 \n' 6814 lt_NL2SP='tr \r\n \100\100' 6815 ;; 6816esac 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6827$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6828if ${lt_cv_to_host_file_cmd+:} false; then : 6829 $as_echo_n "(cached) " >&6 6830else 6831 case $host in 6832 *-*-mingw* ) 6833 case $build in 6834 *-*-mingw* ) # actually msys 6835 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6836 ;; 6837 *-*-cygwin* ) 6838 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6839 ;; 6840 * ) # otherwise, assume *nix 6841 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6842 ;; 6843 esac 6844 ;; 6845 *-*-cygwin* ) 6846 case $build in 6847 *-*-mingw* ) # actually msys 6848 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6849 ;; 6850 *-*-cygwin* ) 6851 lt_cv_to_host_file_cmd=func_convert_file_noop 6852 ;; 6853 * ) # otherwise, assume *nix 6854 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6855 ;; 6856 esac 6857 ;; 6858 * ) # unhandled hosts (and "normal" native builds) 6859 lt_cv_to_host_file_cmd=func_convert_file_noop 6860 ;; 6861esac 6862 6863fi 6864 6865to_host_file_cmd=$lt_cv_to_host_file_cmd 6866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6867$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6868 6869 6870 6871 6872 6873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6874$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6875if ${lt_cv_to_tool_file_cmd+:} false; then : 6876 $as_echo_n "(cached) " >&6 6877else 6878 #assume ordinary cross tools, or native build. 6879lt_cv_to_tool_file_cmd=func_convert_file_noop 6880case $host in 6881 *-*-mingw* ) 6882 case $build in 6883 *-*-mingw* ) # actually msys 6884 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6885 ;; 6886 esac 6887 ;; 6888esac 6889 6890fi 6891 6892to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6894$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6895 6896 6897 6898 6899 6900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6901$as_echo_n "checking for $LD option to reload object files... " >&6; } 6902if ${lt_cv_ld_reload_flag+:} false; then : 6903 $as_echo_n "(cached) " >&6 6904else 6905 lt_cv_ld_reload_flag='-r' 6906fi 6907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6908$as_echo "$lt_cv_ld_reload_flag" >&6; } 6909reload_flag=$lt_cv_ld_reload_flag 6910case $reload_flag in 6911"" | " "*) ;; 6912*) reload_flag=" $reload_flag" ;; 6913esac 6914reload_cmds='$LD$reload_flag -o $output$reload_objs' 6915case $host_os in 6916 cygwin* | mingw* | pw32* | cegcc*) 6917 if test yes != "$GCC"; then 6918 reload_cmds=false 6919 fi 6920 ;; 6921 darwin*) 6922 if test yes = "$GCC"; then 6923 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6924 else 6925 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6926 fi 6927 ;; 6928esac 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938if test -n "$ac_tool_prefix"; then 6939 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6940set dummy ${ac_tool_prefix}objdump; ac_word=$2 6941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6942$as_echo_n "checking for $ac_word... " >&6; } 6943if ${ac_cv_prog_OBJDUMP+:} false; then : 6944 $as_echo_n "(cached) " >&6 6945else 6946 if test -n "$OBJDUMP"; then 6947 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6948else 6949as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6950for as_dir in $PATH 6951do 6952 IFS=$as_save_IFS 6953 test -z "$as_dir" && as_dir=. 6954 for ac_exec_ext in '' $ac_executable_extensions; do 6955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6956 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6958 break 2 6959 fi 6960done 6961 done 6962IFS=$as_save_IFS 6963 6964fi 6965fi 6966OBJDUMP=$ac_cv_prog_OBJDUMP 6967if test -n "$OBJDUMP"; then 6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6969$as_echo "$OBJDUMP" >&6; } 6970else 6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6972$as_echo "no" >&6; } 6973fi 6974 6975 6976fi 6977if test -z "$ac_cv_prog_OBJDUMP"; then 6978 ac_ct_OBJDUMP=$OBJDUMP 6979 # Extract the first word of "objdump", so it can be a program name with args. 6980set dummy objdump; ac_word=$2 6981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6982$as_echo_n "checking for $ac_word... " >&6; } 6983if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6984 $as_echo_n "(cached) " >&6 6985else 6986 if test -n "$ac_ct_OBJDUMP"; then 6987 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6988else 6989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6990for as_dir in $PATH 6991do 6992 IFS=$as_save_IFS 6993 test -z "$as_dir" && as_dir=. 6994 for ac_exec_ext in '' $ac_executable_extensions; do 6995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6996 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6998 break 2 6999 fi 7000done 7001 done 7002IFS=$as_save_IFS 7003 7004fi 7005fi 7006ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 7007if test -n "$ac_ct_OBJDUMP"; then 7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 7009$as_echo "$ac_ct_OBJDUMP" >&6; } 7010else 7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7012$as_echo "no" >&6; } 7013fi 7014 7015 if test "x$ac_ct_OBJDUMP" = x; then 7016 OBJDUMP="false" 7017 else 7018 case $cross_compiling:$ac_tool_warned in 7019yes:) 7020{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7021$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7022ac_tool_warned=yes ;; 7023esac 7024 OBJDUMP=$ac_ct_OBJDUMP 7025 fi 7026else 7027 OBJDUMP="$ac_cv_prog_OBJDUMP" 7028fi 7029 7030test -z "$OBJDUMP" && OBJDUMP=objdump 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 7041$as_echo_n "checking how to recognize dependent libraries... " >&6; } 7042if ${lt_cv_deplibs_check_method+:} false; then : 7043 $as_echo_n "(cached) " >&6 7044else 7045 lt_cv_file_magic_cmd='$MAGIC_CMD' 7046lt_cv_file_magic_test_file= 7047lt_cv_deplibs_check_method='unknown' 7048# Need to set the preceding variable on all platforms that support 7049# interlibrary dependencies. 7050# 'none' -- dependencies not supported. 7051# 'unknown' -- same as none, but documents that we really don't know. 7052# 'pass_all' -- all dependencies passed with no checks. 7053# 'test_compile' -- check by making test program. 7054# 'file_magic [[regex]]' -- check by looking for files in library path 7055# that responds to the $file_magic_cmd with a given extended regex. 7056# If you have 'file' or equivalent on your system and you're not sure 7057# whether 'pass_all' will *always* work, you probably want this one. 7058 7059case $host_os in 7060aix[4-9]*) 7061 lt_cv_deplibs_check_method=pass_all 7062 ;; 7063 7064beos*) 7065 lt_cv_deplibs_check_method=pass_all 7066 ;; 7067 7068bsdi[45]*) 7069 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 7070 lt_cv_file_magic_cmd='/usr/bin/file -L' 7071 lt_cv_file_magic_test_file=/shlib/libc.so 7072 ;; 7073 7074cygwin*) 7075 # func_win32_libid is a shell function defined in ltmain.sh 7076 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7077 lt_cv_file_magic_cmd='func_win32_libid' 7078 ;; 7079 7080mingw* | pw32*) 7081 # Base MSYS/MinGW do not provide the 'file' command needed by 7082 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7083 # unless we find 'file', for example because we are cross-compiling. 7084 if ( file / ) >/dev/null 2>&1; then 7085 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7086 lt_cv_file_magic_cmd='func_win32_libid' 7087 else 7088 # Keep this pattern in sync with the one in func_win32_libid. 7089 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7090 lt_cv_file_magic_cmd='$OBJDUMP -f' 7091 fi 7092 ;; 7093 7094cegcc*) 7095 # use the weaker test based on 'objdump'. See mingw*. 7096 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7097 lt_cv_file_magic_cmd='$OBJDUMP -f' 7098 ;; 7099 7100darwin* | rhapsody*) 7101 lt_cv_deplibs_check_method=pass_all 7102 ;; 7103 7104freebsd* | dragonfly*) 7105 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7106 case $host_cpu in 7107 i*86 ) 7108 # Not sure whether the presence of OpenBSD here was a mistake. 7109 # Let's accept both of them until this is cleared up. 7110 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7111 lt_cv_file_magic_cmd=/usr/bin/file 7112 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7113 ;; 7114 esac 7115 else 7116 lt_cv_deplibs_check_method=pass_all 7117 fi 7118 ;; 7119 7120haiku*) 7121 lt_cv_deplibs_check_method=pass_all 7122 ;; 7123 7124hpux10.20* | hpux11*) 7125 lt_cv_file_magic_cmd=/usr/bin/file 7126 case $host_cpu in 7127 ia64*) 7128 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7129 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7130 ;; 7131 hppa*64*) 7132 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]' 7133 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7134 ;; 7135 *) 7136 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7137 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7138 ;; 7139 esac 7140 ;; 7141 7142interix[3-9]*) 7143 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7144 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7145 ;; 7146 7147irix5* | irix6* | nonstopux*) 7148 case $LD in 7149 *-32|*"-32 ") libmagic=32-bit;; 7150 *-n32|*"-n32 ") libmagic=N32;; 7151 *-64|*"-64 ") libmagic=64-bit;; 7152 *) libmagic=never-match;; 7153 esac 7154 lt_cv_deplibs_check_method=pass_all 7155 ;; 7156 7157# This must be glibc/ELF. 7158linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7159 lt_cv_deplibs_check_method=pass_all 7160 ;; 7161 7162netbsd*) 7163 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7164 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7165 else 7166 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7167 fi 7168 ;; 7169 7170newos6*) 7171 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7172 lt_cv_file_magic_cmd=/usr/bin/file 7173 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7174 ;; 7175 7176*nto* | *qnx*) 7177 lt_cv_deplibs_check_method=pass_all 7178 ;; 7179 7180openbsd* | bitrig*) 7181 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7182 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7183 else 7184 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7185 fi 7186 ;; 7187 7188osf3* | osf4* | osf5*) 7189 lt_cv_deplibs_check_method=pass_all 7190 ;; 7191 7192rdos*) 7193 lt_cv_deplibs_check_method=pass_all 7194 ;; 7195 7196solaris*) 7197 lt_cv_deplibs_check_method=pass_all 7198 ;; 7199 7200sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7201 lt_cv_deplibs_check_method=pass_all 7202 ;; 7203 7204sysv4 | sysv4.3*) 7205 case $host_vendor in 7206 motorola) 7207 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]' 7208 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7209 ;; 7210 ncr) 7211 lt_cv_deplibs_check_method=pass_all 7212 ;; 7213 sequent) 7214 lt_cv_file_magic_cmd='/bin/file' 7215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7216 ;; 7217 sni) 7218 lt_cv_file_magic_cmd='/bin/file' 7219 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7220 lt_cv_file_magic_test_file=/lib/libc.so 7221 ;; 7222 siemens) 7223 lt_cv_deplibs_check_method=pass_all 7224 ;; 7225 pc) 7226 lt_cv_deplibs_check_method=pass_all 7227 ;; 7228 esac 7229 ;; 7230 7231tpf*) 7232 lt_cv_deplibs_check_method=pass_all 7233 ;; 7234os2*) 7235 lt_cv_deplibs_check_method=pass_all 7236 ;; 7237esac 7238 7239fi 7240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7241$as_echo "$lt_cv_deplibs_check_method" >&6; } 7242 7243file_magic_glob= 7244want_nocaseglob=no 7245if test "$build" = "$host"; then 7246 case $host_os in 7247 mingw* | pw32*) 7248 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7249 want_nocaseglob=yes 7250 else 7251 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7252 fi 7253 ;; 7254 esac 7255fi 7256 7257file_magic_cmd=$lt_cv_file_magic_cmd 7258deplibs_check_method=$lt_cv_deplibs_check_method 7259test -z "$deplibs_check_method" && deplibs_check_method=unknown 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282if test -n "$ac_tool_prefix"; then 7283 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7284set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7286$as_echo_n "checking for $ac_word... " >&6; } 7287if ${ac_cv_prog_DLLTOOL+:} false; then : 7288 $as_echo_n "(cached) " >&6 7289else 7290 if test -n "$DLLTOOL"; then 7291 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7292else 7293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7294for as_dir in $PATH 7295do 7296 IFS=$as_save_IFS 7297 test -z "$as_dir" && as_dir=. 7298 for ac_exec_ext in '' $ac_executable_extensions; do 7299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7300 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7302 break 2 7303 fi 7304done 7305 done 7306IFS=$as_save_IFS 7307 7308fi 7309fi 7310DLLTOOL=$ac_cv_prog_DLLTOOL 7311if test -n "$DLLTOOL"; then 7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7313$as_echo "$DLLTOOL" >&6; } 7314else 7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7316$as_echo "no" >&6; } 7317fi 7318 7319 7320fi 7321if test -z "$ac_cv_prog_DLLTOOL"; then 7322 ac_ct_DLLTOOL=$DLLTOOL 7323 # Extract the first word of "dlltool", so it can be a program name with args. 7324set dummy dlltool; ac_word=$2 7325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7326$as_echo_n "checking for $ac_word... " >&6; } 7327if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7328 $as_echo_n "(cached) " >&6 7329else 7330 if test -n "$ac_ct_DLLTOOL"; then 7331 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7332else 7333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7334for as_dir in $PATH 7335do 7336 IFS=$as_save_IFS 7337 test -z "$as_dir" && as_dir=. 7338 for ac_exec_ext in '' $ac_executable_extensions; do 7339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7340 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7342 break 2 7343 fi 7344done 7345 done 7346IFS=$as_save_IFS 7347 7348fi 7349fi 7350ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7351if test -n "$ac_ct_DLLTOOL"; then 7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7353$as_echo "$ac_ct_DLLTOOL" >&6; } 7354else 7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7356$as_echo "no" >&6; } 7357fi 7358 7359 if test "x$ac_ct_DLLTOOL" = x; then 7360 DLLTOOL="false" 7361 else 7362 case $cross_compiling:$ac_tool_warned in 7363yes:) 7364{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7365$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7366ac_tool_warned=yes ;; 7367esac 7368 DLLTOOL=$ac_ct_DLLTOOL 7369 fi 7370else 7371 DLLTOOL="$ac_cv_prog_DLLTOOL" 7372fi 7373 7374test -z "$DLLTOOL" && DLLTOOL=dlltool 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7386$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7387if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7388 $as_echo_n "(cached) " >&6 7389else 7390 lt_cv_sharedlib_from_linklib_cmd='unknown' 7391 7392case $host_os in 7393cygwin* | mingw* | pw32* | cegcc*) 7394 # two different shell functions defined in ltmain.sh; 7395 # decide which one to use based on capabilities of $DLLTOOL 7396 case `$DLLTOOL --help 2>&1` in 7397 *--identify-strict*) 7398 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7399 ;; 7400 *) 7401 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7402 ;; 7403 esac 7404 ;; 7405*) 7406 # fallback: assume linklib IS sharedlib 7407 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7408 ;; 7409esac 7410 7411fi 7412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7413$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7414sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7415test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7416 7417 7418 7419 7420 7421 7422 7423if test -n "$ac_tool_prefix"; then 7424 for ac_prog in ar 7425 do 7426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7427set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7429$as_echo_n "checking for $ac_word... " >&6; } 7430if ${ac_cv_prog_AR+:} false; then : 7431 $as_echo_n "(cached) " >&6 7432else 7433 if test -n "$AR"; then 7434 ac_cv_prog_AR="$AR" # Let the user override the test. 7435else 7436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7437for as_dir in $PATH 7438do 7439 IFS=$as_save_IFS 7440 test -z "$as_dir" && as_dir=. 7441 for ac_exec_ext in '' $ac_executable_extensions; do 7442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7443 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7445 break 2 7446 fi 7447done 7448 done 7449IFS=$as_save_IFS 7450 7451fi 7452fi 7453AR=$ac_cv_prog_AR 7454if test -n "$AR"; then 7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7456$as_echo "$AR" >&6; } 7457else 7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7459$as_echo "no" >&6; } 7460fi 7461 7462 7463 test -n "$AR" && break 7464 done 7465fi 7466if test -z "$AR"; then 7467 ac_ct_AR=$AR 7468 for ac_prog in ar 7469do 7470 # Extract the first word of "$ac_prog", so it can be a program name with args. 7471set dummy $ac_prog; ac_word=$2 7472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7473$as_echo_n "checking for $ac_word... " >&6; } 7474if ${ac_cv_prog_ac_ct_AR+:} false; then : 7475 $as_echo_n "(cached) " >&6 7476else 7477 if test -n "$ac_ct_AR"; then 7478 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7479else 7480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7481for as_dir in $PATH 7482do 7483 IFS=$as_save_IFS 7484 test -z "$as_dir" && as_dir=. 7485 for ac_exec_ext in '' $ac_executable_extensions; do 7486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7487 ac_cv_prog_ac_ct_AR="$ac_prog" 7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7489 break 2 7490 fi 7491done 7492 done 7493IFS=$as_save_IFS 7494 7495fi 7496fi 7497ac_ct_AR=$ac_cv_prog_ac_ct_AR 7498if test -n "$ac_ct_AR"; then 7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7500$as_echo "$ac_ct_AR" >&6; } 7501else 7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7503$as_echo "no" >&6; } 7504fi 7505 7506 7507 test -n "$ac_ct_AR" && break 7508done 7509 7510 if test "x$ac_ct_AR" = x; then 7511 AR="false" 7512 else 7513 case $cross_compiling:$ac_tool_warned in 7514yes:) 7515{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7516$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7517ac_tool_warned=yes ;; 7518esac 7519 AR=$ac_ct_AR 7520 fi 7521fi 7522 7523: ${AR=ar} 7524 7525 7526 7527 7528 7529 7530# Use ARFLAGS variable as AR's operation code to sync the variable naming with 7531# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have 7532# higher priority because thats what people were doing historically (setting 7533# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS 7534# variable obsoleted/removed. 7535 7536test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr} 7537lt_ar_flags=$AR_FLAGS 7538 7539 7540 7541 7542 7543 7544# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override 7545# by AR_FLAGS because that was never working and AR_FLAGS is about to die. 7546 7547 7548 7549 7550 7551 7552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7553$as_echo_n "checking for archiver @FILE support... " >&6; } 7554if ${lt_cv_ar_at_file+:} false; then : 7555 $as_echo_n "(cached) " >&6 7556else 7557 lt_cv_ar_at_file=no 7558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7559/* end confdefs.h. */ 7560 7561int 7562main () 7563{ 7564 7565 ; 7566 return 0; 7567} 7568_ACEOF 7569if ac_fn_c_try_compile "$LINENO"; then : 7570 echo conftest.$ac_objext > conftest.lst 7571 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7572 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7573 (eval $lt_ar_try) 2>&5 7574 ac_status=$? 7575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7576 test $ac_status = 0; } 7577 if test 0 -eq "$ac_status"; then 7578 # Ensure the archiver fails upon bogus file names. 7579 rm -f conftest.$ac_objext libconftest.a 7580 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7581 (eval $lt_ar_try) 2>&5 7582 ac_status=$? 7583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7584 test $ac_status = 0; } 7585 if test 0 -ne "$ac_status"; then 7586 lt_cv_ar_at_file=@ 7587 fi 7588 fi 7589 rm -f conftest.* libconftest.a 7590 7591fi 7592rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7593 7594fi 7595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7596$as_echo "$lt_cv_ar_at_file" >&6; } 7597 7598if test no = "$lt_cv_ar_at_file"; then 7599 archiver_list_spec= 7600else 7601 archiver_list_spec=$lt_cv_ar_at_file 7602fi 7603 7604 7605 7606 7607 7608 7609 7610if test -n "$ac_tool_prefix"; then 7611 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7612set dummy ${ac_tool_prefix}strip; ac_word=$2 7613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7614$as_echo_n "checking for $ac_word... " >&6; } 7615if ${ac_cv_prog_STRIP+:} false; then : 7616 $as_echo_n "(cached) " >&6 7617else 7618 if test -n "$STRIP"; then 7619 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7620else 7621as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7622for as_dir in $PATH 7623do 7624 IFS=$as_save_IFS 7625 test -z "$as_dir" && as_dir=. 7626 for ac_exec_ext in '' $ac_executable_extensions; do 7627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7628 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7630 break 2 7631 fi 7632done 7633 done 7634IFS=$as_save_IFS 7635 7636fi 7637fi 7638STRIP=$ac_cv_prog_STRIP 7639if test -n "$STRIP"; then 7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7641$as_echo "$STRIP" >&6; } 7642else 7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7644$as_echo "no" >&6; } 7645fi 7646 7647 7648fi 7649if test -z "$ac_cv_prog_STRIP"; then 7650 ac_ct_STRIP=$STRIP 7651 # Extract the first word of "strip", so it can be a program name with args. 7652set dummy strip; ac_word=$2 7653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7654$as_echo_n "checking for $ac_word... " >&6; } 7655if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7656 $as_echo_n "(cached) " >&6 7657else 7658 if test -n "$ac_ct_STRIP"; then 7659 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7660else 7661as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7662for as_dir in $PATH 7663do 7664 IFS=$as_save_IFS 7665 test -z "$as_dir" && as_dir=. 7666 for ac_exec_ext in '' $ac_executable_extensions; do 7667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7668 ac_cv_prog_ac_ct_STRIP="strip" 7669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7670 break 2 7671 fi 7672done 7673 done 7674IFS=$as_save_IFS 7675 7676fi 7677fi 7678ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7679if test -n "$ac_ct_STRIP"; then 7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7681$as_echo "$ac_ct_STRIP" >&6; } 7682else 7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7684$as_echo "no" >&6; } 7685fi 7686 7687 if test "x$ac_ct_STRIP" = x; then 7688 STRIP=":" 7689 else 7690 case $cross_compiling:$ac_tool_warned in 7691yes:) 7692{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7693$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7694ac_tool_warned=yes ;; 7695esac 7696 STRIP=$ac_ct_STRIP 7697 fi 7698else 7699 STRIP="$ac_cv_prog_STRIP" 7700fi 7701 7702test -z "$STRIP" && STRIP=: 7703 7704 7705 7706 7707 7708 7709if test -n "$ac_tool_prefix"; then 7710 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7711set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7713$as_echo_n "checking for $ac_word... " >&6; } 7714if ${ac_cv_prog_RANLIB+:} false; then : 7715 $as_echo_n "(cached) " >&6 7716else 7717 if test -n "$RANLIB"; then 7718 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7719else 7720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7721for as_dir in $PATH 7722do 7723 IFS=$as_save_IFS 7724 test -z "$as_dir" && as_dir=. 7725 for ac_exec_ext in '' $ac_executable_extensions; do 7726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7727 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7729 break 2 7730 fi 7731done 7732 done 7733IFS=$as_save_IFS 7734 7735fi 7736fi 7737RANLIB=$ac_cv_prog_RANLIB 7738if test -n "$RANLIB"; then 7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7740$as_echo "$RANLIB" >&6; } 7741else 7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7743$as_echo "no" >&6; } 7744fi 7745 7746 7747fi 7748if test -z "$ac_cv_prog_RANLIB"; then 7749 ac_ct_RANLIB=$RANLIB 7750 # Extract the first word of "ranlib", so it can be a program name with args. 7751set dummy ranlib; ac_word=$2 7752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7753$as_echo_n "checking for $ac_word... " >&6; } 7754if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7755 $as_echo_n "(cached) " >&6 7756else 7757 if test -n "$ac_ct_RANLIB"; then 7758 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7759else 7760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7761for as_dir in $PATH 7762do 7763 IFS=$as_save_IFS 7764 test -z "$as_dir" && as_dir=. 7765 for ac_exec_ext in '' $ac_executable_extensions; do 7766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7767 ac_cv_prog_ac_ct_RANLIB="ranlib" 7768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7769 break 2 7770 fi 7771done 7772 done 7773IFS=$as_save_IFS 7774 7775fi 7776fi 7777ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7778if test -n "$ac_ct_RANLIB"; then 7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7780$as_echo "$ac_ct_RANLIB" >&6; } 7781else 7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7783$as_echo "no" >&6; } 7784fi 7785 7786 if test "x$ac_ct_RANLIB" = x; then 7787 RANLIB=":" 7788 else 7789 case $cross_compiling:$ac_tool_warned in 7790yes:) 7791{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7792$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7793ac_tool_warned=yes ;; 7794esac 7795 RANLIB=$ac_ct_RANLIB 7796 fi 7797else 7798 RANLIB="$ac_cv_prog_RANLIB" 7799fi 7800 7801test -z "$RANLIB" && RANLIB=: 7802 7803 7804 7805 7806 7807 7808# Determine commands to create old-style static archives. 7809old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7810old_postinstall_cmds='chmod 644 $oldlib' 7811old_postuninstall_cmds= 7812 7813if test -n "$RANLIB"; then 7814 case $host_os in 7815 bitrig* | openbsd*) 7816 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7817 ;; 7818 *) 7819 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7820 ;; 7821 esac 7822 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7823fi 7824 7825case $host_os in 7826 darwin*) 7827 lock_old_archive_extraction=yes ;; 7828 *) 7829 lock_old_archive_extraction=no ;; 7830esac 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870# If no C compiler was specified, use CC. 7871LTCC=${LTCC-"$CC"} 7872 7873# If no C compiler flags were specified, use CFLAGS. 7874LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7875 7876# Allow CC to be a program name with arguments. 7877compiler=$CC 7878 7879 7880# Check for command to grab the raw symbol name followed by C symbol from nm. 7881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7882$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7883if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7884 $as_echo_n "(cached) " >&6 7885else 7886 7887# These are sane defaults that work on at least a few old systems. 7888# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7889 7890# Character class describing NM global symbol codes. 7891symcode='[BCDEGRST]' 7892 7893# Regexp to match symbols that can be accessed directly from C. 7894sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7895 7896# Define system-specific variables. 7897case $host_os in 7898aix*) 7899 symcode='[BCDT]' 7900 ;; 7901cygwin* | mingw* | pw32* | cegcc*) 7902 symcode='[ABCDGISTW]' 7903 ;; 7904hpux*) 7905 if test ia64 = "$host_cpu"; then 7906 symcode='[ABCDEGRST]' 7907 fi 7908 ;; 7909irix* | nonstopux*) 7910 symcode='[BCDEGRST]' 7911 ;; 7912osf*) 7913 symcode='[BCDEGQRST]' 7914 ;; 7915solaris*) 7916 symcode='[BDRT]' 7917 ;; 7918sco3.2v5*) 7919 symcode='[DT]' 7920 ;; 7921sysv4.2uw2*) 7922 symcode='[DT]' 7923 ;; 7924sysv5* | sco5v6* | unixware* | OpenUNIX*) 7925 symcode='[ABDT]' 7926 ;; 7927sysv4) 7928 symcode='[DFNSTU]' 7929 ;; 7930esac 7931 7932# If we're using GNU nm, then use its standard symbol codes. 7933case `$NM -V 2>&1` in 7934*GNU* | *'with BFD'*) 7935 symcode='[ABCDGIRSTW]' ;; 7936esac 7937 7938if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7939 # Gets list of data symbols to import. 7940 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7941 # Adjust the below global symbol transforms to fixup imported variables. 7942 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7943 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7944 lt_c_name_lib_hook="\ 7945 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7946 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7947else 7948 # Disable hooks by default. 7949 lt_cv_sys_global_symbol_to_import= 7950 lt_cdecl_hook= 7951 lt_c_name_hook= 7952 lt_c_name_lib_hook= 7953fi 7954 7955# Transform an extracted symbol line into a proper C declaration. 7956# Some systems (esp. on ia64) link data and code symbols differently, 7957# so use this general approach. 7958lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7959$lt_cdecl_hook\ 7960" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7961" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7962 7963# Transform an extracted symbol line into symbol name and symbol address 7964lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7965$lt_c_name_hook\ 7966" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7967" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7968 7969# Transform an extracted symbol line into symbol name with lib prefix and 7970# symbol address. 7971lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7972$lt_c_name_lib_hook\ 7973" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7974" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7975" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7976 7977# Handle CRLF in mingw tool chain 7978opt_cr= 7979case $build_os in 7980mingw*) 7981 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7982 ;; 7983esac 7984 7985# Try without a prefix underscore, then with it. 7986for ac_symprfx in "" "_"; do 7987 7988 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7989 symxfrm="\\1 $ac_symprfx\\2 \\2" 7990 7991 # Write the raw and C identifiers. 7992 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7993 # Fake it for dumpbin and say T for any non-static function, 7994 # D for any global variable and I for any imported variable. 7995 # Also find C++ and __fastcall symbols from MSVC++, 7996 # which start with @ or ?. 7997 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7998" {last_section=section; section=\$ 3};"\ 7999" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 8000" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 8001" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 8002" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 8003" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 8004" \$ 0!~/External *\|/{next};"\ 8005" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 8006" {if(hide[section]) next};"\ 8007" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 8008" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 8009" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 8010" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 8011" ' prfx=^$ac_symprfx" 8012 else 8013 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 8014 fi 8015 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 8016 8017 # Check to see that the pipe works correctly. 8018 pipe_works=no 8019 8020 rm -f conftest* 8021 cat > conftest.$ac_ext <<_LT_EOF 8022#ifdef __cplusplus 8023extern "C" { 8024#endif 8025char nm_test_var; 8026void nm_test_func(void); 8027void nm_test_func(void){} 8028#ifdef __cplusplus 8029} 8030#endif 8031int main(){nm_test_var='a';nm_test_func();return(0);} 8032_LT_EOF 8033 8034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8035 (eval $ac_compile) 2>&5 8036 ac_status=$? 8037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8038 test $ac_status = 0; }; then 8039 # Now try to grab the symbols. 8040 nlist=conftest.nm 8041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 8042 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 8043 ac_status=$? 8044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8045 test $ac_status = 0; } && test -s "$nlist"; then 8046 # Try sorting and uniquifying the output. 8047 if sort "$nlist" | uniq > "$nlist"T; then 8048 mv -f "$nlist"T "$nlist" 8049 else 8050 rm -f "$nlist"T 8051 fi 8052 8053 # Make sure that we snagged all the symbols we need. 8054 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 8055 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 8056 cat <<_LT_EOF > conftest.$ac_ext 8057/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 8058#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 8059/* DATA imports from DLLs on WIN32 can't be const, because runtime 8060 relocations are performed -- see ld's documentation on pseudo-relocs. */ 8061# define LT_DLSYM_CONST 8062#elif defined __osf__ 8063/* This system does not cope well with relocations in const data. */ 8064# define LT_DLSYM_CONST 8065#else 8066# define LT_DLSYM_CONST const 8067#endif 8068 8069#ifdef __cplusplus 8070extern "C" { 8071#endif 8072 8073_LT_EOF 8074 # Now generate the symbol file. 8075 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 8076 8077 cat <<_LT_EOF >> conftest.$ac_ext 8078 8079/* The mapping between symbol names and symbols. */ 8080LT_DLSYM_CONST struct { 8081 const char *name; 8082 void *address; 8083} 8084lt__PROGRAM__LTX_preloaded_symbols[] = 8085{ 8086 { "@PROGRAM@", (void *) 0 }, 8087_LT_EOF 8088 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 8089 cat <<\_LT_EOF >> conftest.$ac_ext 8090 {0, (void *) 0} 8091}; 8092 8093/* This works around a problem in FreeBSD linker */ 8094#ifdef FREEBSD_WORKAROUND 8095static const void *lt_preloaded_setup() { 8096 return lt__PROGRAM__LTX_preloaded_symbols; 8097} 8098#endif 8099 8100#ifdef __cplusplus 8101} 8102#endif 8103_LT_EOF 8104 # Now try linking the two files. 8105 mv conftest.$ac_objext conftstm.$ac_objext 8106 lt_globsym_save_LIBS=$LIBS 8107 lt_globsym_save_CFLAGS=$CFLAGS 8108 LIBS=conftstm.$ac_objext 8109 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8111 (eval $ac_link) 2>&5 8112 ac_status=$? 8113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8114 test $ac_status = 0; } && test -s conftest$ac_exeext; then 8115 pipe_works=yes 8116 fi 8117 LIBS=$lt_globsym_save_LIBS 8118 CFLAGS=$lt_globsym_save_CFLAGS 8119 else 8120 echo "cannot find nm_test_func in $nlist" >&5 8121 fi 8122 else 8123 echo "cannot find nm_test_var in $nlist" >&5 8124 fi 8125 else 8126 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8127 fi 8128 else 8129 echo "$progname: failed program was:" >&5 8130 cat conftest.$ac_ext >&5 8131 fi 8132 rm -rf conftest* conftst* 8133 8134 # Do not use the global_symbol_pipe unless it works. 8135 if test yes = "$pipe_works"; then 8136 break 8137 else 8138 lt_cv_sys_global_symbol_pipe= 8139 fi 8140done 8141 8142fi 8143 8144if test -z "$lt_cv_sys_global_symbol_pipe"; then 8145 lt_cv_sys_global_symbol_to_cdecl= 8146fi 8147if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8149$as_echo "failed" >&6; } 8150else 8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8152$as_echo "ok" >&6; } 8153fi 8154 8155# Response file support. 8156if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8157 nm_file_list_spec='@' 8158elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8159 nm_file_list_spec='@' 8160fi 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8199$as_echo_n "checking for sysroot... " >&6; } 8200 8201# Check whether --with-sysroot was given. 8202if test "${with_sysroot+set}" = set; then : 8203 withval=$with_sysroot; 8204else 8205 with_sysroot=no 8206fi 8207 8208 8209lt_sysroot= 8210case $with_sysroot in #( 8211 yes) 8212 if test yes = "$GCC"; then 8213 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8214 fi 8215 ;; #( 8216 /*) 8217 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8218 ;; #( 8219 no|'') 8220 ;; #( 8221 *) 8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8223$as_echo "$with_sysroot" >&6; } 8224 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8225 ;; 8226esac 8227 8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8229$as_echo "${lt_sysroot:-no}" >&6; } 8230 8231 8232 8233 8234 8235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8236$as_echo_n "checking for a working dd... " >&6; } 8237if ${ac_cv_path_lt_DD+:} false; then : 8238 $as_echo_n "(cached) " >&6 8239else 8240 printf 0123456789abcdef0123456789abcdef >conftest.i 8241cat conftest.i conftest.i >conftest2.i 8242: ${lt_DD:=$DD} 8243if test -z "$lt_DD"; then 8244 ac_path_lt_DD_found=false 8245 # Loop through the user's path and test for each of PROGNAME-LIST 8246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8247for as_dir in $PATH 8248do 8249 IFS=$as_save_IFS 8250 test -z "$as_dir" && as_dir=. 8251 for ac_prog in dd; do 8252 for ac_exec_ext in '' $ac_executable_extensions; do 8253 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8254 as_fn_executable_p "$ac_path_lt_DD" || continue 8255if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8256 cmp -s conftest.i conftest.out \ 8257 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8258fi 8259 $ac_path_lt_DD_found && break 3 8260 done 8261 done 8262 done 8263IFS=$as_save_IFS 8264 if test -z "$ac_cv_path_lt_DD"; then 8265 : 8266 fi 8267else 8268 ac_cv_path_lt_DD=$lt_DD 8269fi 8270 8271rm -f conftest.i conftest2.i conftest.out 8272fi 8273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8274$as_echo "$ac_cv_path_lt_DD" >&6; } 8275 8276 8277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8278$as_echo_n "checking how to truncate binary pipes... " >&6; } 8279if ${lt_cv_truncate_bin+:} false; then : 8280 $as_echo_n "(cached) " >&6 8281else 8282 printf 0123456789abcdef0123456789abcdef >conftest.i 8283cat conftest.i conftest.i >conftest2.i 8284lt_cv_truncate_bin= 8285if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8286 cmp -s conftest.i conftest.out \ 8287 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8288fi 8289rm -f conftest.i conftest2.i conftest.out 8290test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8291fi 8292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8293$as_echo "$lt_cv_truncate_bin" >&6; } 8294 8295 8296 8297 8298 8299 8300 8301# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8302func_cc_basename () 8303{ 8304 for cc_temp in $*""; do 8305 case $cc_temp in 8306 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8307 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8308 \-*) ;; 8309 *) break;; 8310 esac 8311 done 8312 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8313} 8314 8315# Check whether --enable-libtool-lock was given. 8316if test "${enable_libtool_lock+set}" = set; then : 8317 enableval=$enable_libtool_lock; 8318fi 8319 8320test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8321 8322# Some flags need to be propagated to the compiler or linker for good 8323# libtool support. 8324case $host in 8325ia64-*-hpux*) 8326 # Find out what ABI is being produced by ac_compile, and set mode 8327 # options accordingly. 8328 echo 'int i;' > conftest.$ac_ext 8329 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8330 (eval $ac_compile) 2>&5 8331 ac_status=$? 8332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8333 test $ac_status = 0; }; then 8334 case `/usr/bin/file conftest.$ac_objext` in 8335 *ELF-32*) 8336 HPUX_IA64_MODE=32 8337 ;; 8338 *ELF-64*) 8339 HPUX_IA64_MODE=64 8340 ;; 8341 esac 8342 fi 8343 rm -rf conftest* 8344 ;; 8345*-*-irix6*) 8346 # Find out what ABI is being produced by ac_compile, and set linker 8347 # options accordingly. 8348 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8349 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8350 (eval $ac_compile) 2>&5 8351 ac_status=$? 8352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8353 test $ac_status = 0; }; then 8354 if test yes = "$lt_cv_prog_gnu_ld"; then 8355 case `/usr/bin/file conftest.$ac_objext` in 8356 *32-bit*) 8357 LD="${LD-ld} -melf32bsmip" 8358 ;; 8359 *N32*) 8360 LD="${LD-ld} -melf32bmipn32" 8361 ;; 8362 *64-bit*) 8363 LD="${LD-ld} -melf64bmip" 8364 ;; 8365 esac 8366 else 8367 case `/usr/bin/file conftest.$ac_objext` in 8368 *32-bit*) 8369 LD="${LD-ld} -32" 8370 ;; 8371 *N32*) 8372 LD="${LD-ld} -n32" 8373 ;; 8374 *64-bit*) 8375 LD="${LD-ld} -64" 8376 ;; 8377 esac 8378 fi 8379 fi 8380 rm -rf conftest* 8381 ;; 8382 8383mips64*-*linux*) 8384 # Find out what ABI is being produced by ac_compile, and set linker 8385 # options accordingly. 8386 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8388 (eval $ac_compile) 2>&5 8389 ac_status=$? 8390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8391 test $ac_status = 0; }; then 8392 emul=elf 8393 case `/usr/bin/file conftest.$ac_objext` in 8394 *32-bit*) 8395 emul="${emul}32" 8396 ;; 8397 *64-bit*) 8398 emul="${emul}64" 8399 ;; 8400 esac 8401 case `/usr/bin/file conftest.$ac_objext` in 8402 *MSB*) 8403 emul="${emul}btsmip" 8404 ;; 8405 *LSB*) 8406 emul="${emul}ltsmip" 8407 ;; 8408 esac 8409 case `/usr/bin/file conftest.$ac_objext` in 8410 *N32*) 8411 emul="${emul}n32" 8412 ;; 8413 esac 8414 LD="${LD-ld} -m $emul" 8415 fi 8416 rm -rf conftest* 8417 ;; 8418 8419x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8420s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8421 # Find out what ABI is being produced by ac_compile, and set linker 8422 # options accordingly. Note that the listed cases only cover the 8423 # situations where additional linker options are needed (such as when 8424 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8425 # vice versa); the common cases where no linker options are needed do 8426 # not appear in the list. 8427 echo 'int i;' > conftest.$ac_ext 8428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8429 (eval $ac_compile) 2>&5 8430 ac_status=$? 8431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8432 test $ac_status = 0; }; then 8433 case `/usr/bin/file conftest.o` in 8434 *32-bit*) 8435 case $host in 8436 x86_64-*kfreebsd*-gnu) 8437 LD="${LD-ld} -m elf_i386_fbsd" 8438 ;; 8439 x86_64-*linux*) 8440 case `/usr/bin/file conftest.o` in 8441 *x86-64*) 8442 LD="${LD-ld} -m elf32_x86_64" 8443 ;; 8444 *) 8445 LD="${LD-ld} -m elf_i386" 8446 ;; 8447 esac 8448 ;; 8449 powerpc64le-*linux*) 8450 LD="${LD-ld} -m elf32lppclinux" 8451 ;; 8452 powerpc64-*linux*) 8453 LD="${LD-ld} -m elf32ppclinux" 8454 ;; 8455 s390x-*linux*) 8456 LD="${LD-ld} -m elf_s390" 8457 ;; 8458 sparc64-*linux*) 8459 LD="${LD-ld} -m elf32_sparc" 8460 ;; 8461 esac 8462 ;; 8463 *64-bit*) 8464 case $host in 8465 x86_64-*kfreebsd*-gnu) 8466 LD="${LD-ld} -m elf_x86_64_fbsd" 8467 ;; 8468 x86_64-*linux*) 8469 LD="${LD-ld} -m elf_x86_64" 8470 ;; 8471 powerpcle-*linux*) 8472 LD="${LD-ld} -m elf64lppc" 8473 ;; 8474 powerpc-*linux*) 8475 LD="${LD-ld} -m elf64ppc" 8476 ;; 8477 s390*-*linux*|s390*-*tpf*) 8478 LD="${LD-ld} -m elf64_s390" 8479 ;; 8480 sparc*-*linux*) 8481 LD="${LD-ld} -m elf64_sparc" 8482 ;; 8483 esac 8484 ;; 8485 esac 8486 fi 8487 rm -rf conftest* 8488 ;; 8489 8490*-*-sco3.2v5*) 8491 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8492 SAVE_CFLAGS=$CFLAGS 8493 CFLAGS="$CFLAGS -belf" 8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8495$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8496if ${lt_cv_cc_needs_belf+:} false; then : 8497 $as_echo_n "(cached) " >&6 8498else 8499 ac_ext=c 8500ac_cpp='$CPP $CPPFLAGS' 8501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8503ac_compiler_gnu=$ac_cv_c_compiler_gnu 8504 8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8506/* end confdefs.h. */ 8507 8508int 8509main () 8510{ 8511 8512 ; 8513 return 0; 8514} 8515_ACEOF 8516if ac_fn_c_try_link "$LINENO"; then : 8517 lt_cv_cc_needs_belf=yes 8518else 8519 lt_cv_cc_needs_belf=no 8520fi 8521rm -f core conftest.err conftest.$ac_objext \ 8522 conftest$ac_exeext conftest.$ac_ext 8523 ac_ext=c 8524ac_cpp='$CPP $CPPFLAGS' 8525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8527ac_compiler_gnu=$ac_cv_c_compiler_gnu 8528 8529fi 8530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8531$as_echo "$lt_cv_cc_needs_belf" >&6; } 8532 if test yes != "$lt_cv_cc_needs_belf"; then 8533 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8534 CFLAGS=$SAVE_CFLAGS 8535 fi 8536 ;; 8537*-*solaris*) 8538 # Find out what ABI is being produced by ac_compile, and set linker 8539 # options accordingly. 8540 echo 'int i;' > conftest.$ac_ext 8541 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8542 (eval $ac_compile) 2>&5 8543 ac_status=$? 8544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8545 test $ac_status = 0; }; then 8546 case `/usr/bin/file conftest.o` in 8547 *64-bit*) 8548 case $lt_cv_prog_gnu_ld in 8549 yes*) 8550 case $host in 8551 i?86-*-solaris*|x86_64-*-solaris*) 8552 LD="${LD-ld} -m elf_x86_64" 8553 ;; 8554 sparc*-*-solaris*) 8555 LD="${LD-ld} -m elf64_sparc" 8556 ;; 8557 esac 8558 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8559 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8560 LD=${LD-ld}_sol2 8561 fi 8562 ;; 8563 *) 8564 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8565 LD="${LD-ld} -64" 8566 fi 8567 ;; 8568 esac 8569 ;; 8570 esac 8571 fi 8572 rm -rf conftest* 8573 ;; 8574esac 8575 8576need_locks=$enable_libtool_lock 8577 8578if test -n "$ac_tool_prefix"; then 8579 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8580set dummy ${ac_tool_prefix}mt; ac_word=$2 8581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8582$as_echo_n "checking for $ac_word... " >&6; } 8583if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8584 $as_echo_n "(cached) " >&6 8585else 8586 if test -n "$MANIFEST_TOOL"; then 8587 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8588else 8589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8590for as_dir in $PATH 8591do 8592 IFS=$as_save_IFS 8593 test -z "$as_dir" && as_dir=. 8594 for ac_exec_ext in '' $ac_executable_extensions; do 8595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8596 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8598 break 2 8599 fi 8600done 8601 done 8602IFS=$as_save_IFS 8603 8604fi 8605fi 8606MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8607if test -n "$MANIFEST_TOOL"; then 8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8609$as_echo "$MANIFEST_TOOL" >&6; } 8610else 8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8612$as_echo "no" >&6; } 8613fi 8614 8615 8616fi 8617if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8618 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8619 # Extract the first word of "mt", so it can be a program name with args. 8620set dummy mt; ac_word=$2 8621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8622$as_echo_n "checking for $ac_word... " >&6; } 8623if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8624 $as_echo_n "(cached) " >&6 8625else 8626 if test -n "$ac_ct_MANIFEST_TOOL"; then 8627 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8628else 8629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8630for as_dir in $PATH 8631do 8632 IFS=$as_save_IFS 8633 test -z "$as_dir" && as_dir=. 8634 for ac_exec_ext in '' $ac_executable_extensions; do 8635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8636 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8638 break 2 8639 fi 8640done 8641 done 8642IFS=$as_save_IFS 8643 8644fi 8645fi 8646ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8647if test -n "$ac_ct_MANIFEST_TOOL"; then 8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8649$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8650else 8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8652$as_echo "no" >&6; } 8653fi 8654 8655 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8656 MANIFEST_TOOL=":" 8657 else 8658 case $cross_compiling:$ac_tool_warned in 8659yes:) 8660{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8661$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8662ac_tool_warned=yes ;; 8663esac 8664 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8665 fi 8666else 8667 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8668fi 8669 8670test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8672$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8673if ${lt_cv_path_mainfest_tool+:} false; then : 8674 $as_echo_n "(cached) " >&6 8675else 8676 lt_cv_path_mainfest_tool=no 8677 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8678 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8679 cat conftest.err >&5 8680 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8681 lt_cv_path_mainfest_tool=yes 8682 fi 8683 rm -f conftest* 8684fi 8685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8686$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8687if test yes != "$lt_cv_path_mainfest_tool"; then 8688 MANIFEST_TOOL=: 8689fi 8690 8691 8692 8693 8694 8695 8696 case $host_os in 8697 rhapsody* | darwin*) 8698 if test -n "$ac_tool_prefix"; then 8699 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8700set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8702$as_echo_n "checking for $ac_word... " >&6; } 8703if ${ac_cv_prog_DSYMUTIL+:} false; then : 8704 $as_echo_n "(cached) " >&6 8705else 8706 if test -n "$DSYMUTIL"; then 8707 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8708else 8709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8710for as_dir in $PATH 8711do 8712 IFS=$as_save_IFS 8713 test -z "$as_dir" && as_dir=. 8714 for ac_exec_ext in '' $ac_executable_extensions; do 8715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8716 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8718 break 2 8719 fi 8720done 8721 done 8722IFS=$as_save_IFS 8723 8724fi 8725fi 8726DSYMUTIL=$ac_cv_prog_DSYMUTIL 8727if test -n "$DSYMUTIL"; then 8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8729$as_echo "$DSYMUTIL" >&6; } 8730else 8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8732$as_echo "no" >&6; } 8733fi 8734 8735 8736fi 8737if test -z "$ac_cv_prog_DSYMUTIL"; then 8738 ac_ct_DSYMUTIL=$DSYMUTIL 8739 # Extract the first word of "dsymutil", so it can be a program name with args. 8740set dummy dsymutil; ac_word=$2 8741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8742$as_echo_n "checking for $ac_word... " >&6; } 8743if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8744 $as_echo_n "(cached) " >&6 8745else 8746 if test -n "$ac_ct_DSYMUTIL"; then 8747 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8748else 8749as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8750for as_dir in $PATH 8751do 8752 IFS=$as_save_IFS 8753 test -z "$as_dir" && as_dir=. 8754 for ac_exec_ext in '' $ac_executable_extensions; do 8755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8756 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8758 break 2 8759 fi 8760done 8761 done 8762IFS=$as_save_IFS 8763 8764fi 8765fi 8766ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8767if test -n "$ac_ct_DSYMUTIL"; then 8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8769$as_echo "$ac_ct_DSYMUTIL" >&6; } 8770else 8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8772$as_echo "no" >&6; } 8773fi 8774 8775 if test "x$ac_ct_DSYMUTIL" = x; then 8776 DSYMUTIL=":" 8777 else 8778 case $cross_compiling:$ac_tool_warned in 8779yes:) 8780{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8781$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8782ac_tool_warned=yes ;; 8783esac 8784 DSYMUTIL=$ac_ct_DSYMUTIL 8785 fi 8786else 8787 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8788fi 8789 8790 if test -n "$ac_tool_prefix"; then 8791 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8792set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8794$as_echo_n "checking for $ac_word... " >&6; } 8795if ${ac_cv_prog_NMEDIT+:} false; then : 8796 $as_echo_n "(cached) " >&6 8797else 8798 if test -n "$NMEDIT"; then 8799 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8800else 8801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8802for as_dir in $PATH 8803do 8804 IFS=$as_save_IFS 8805 test -z "$as_dir" && as_dir=. 8806 for ac_exec_ext in '' $ac_executable_extensions; do 8807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8808 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8810 break 2 8811 fi 8812done 8813 done 8814IFS=$as_save_IFS 8815 8816fi 8817fi 8818NMEDIT=$ac_cv_prog_NMEDIT 8819if test -n "$NMEDIT"; then 8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8821$as_echo "$NMEDIT" >&6; } 8822else 8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8824$as_echo "no" >&6; } 8825fi 8826 8827 8828fi 8829if test -z "$ac_cv_prog_NMEDIT"; then 8830 ac_ct_NMEDIT=$NMEDIT 8831 # Extract the first word of "nmedit", so it can be a program name with args. 8832set dummy nmedit; ac_word=$2 8833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8834$as_echo_n "checking for $ac_word... " >&6; } 8835if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8836 $as_echo_n "(cached) " >&6 8837else 8838 if test -n "$ac_ct_NMEDIT"; then 8839 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8840else 8841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8842for as_dir in $PATH 8843do 8844 IFS=$as_save_IFS 8845 test -z "$as_dir" && as_dir=. 8846 for ac_exec_ext in '' $ac_executable_extensions; do 8847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8848 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8850 break 2 8851 fi 8852done 8853 done 8854IFS=$as_save_IFS 8855 8856fi 8857fi 8858ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8859if test -n "$ac_ct_NMEDIT"; then 8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8861$as_echo "$ac_ct_NMEDIT" >&6; } 8862else 8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8864$as_echo "no" >&6; } 8865fi 8866 8867 if test "x$ac_ct_NMEDIT" = x; then 8868 NMEDIT=":" 8869 else 8870 case $cross_compiling:$ac_tool_warned in 8871yes:) 8872{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8873$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8874ac_tool_warned=yes ;; 8875esac 8876 NMEDIT=$ac_ct_NMEDIT 8877 fi 8878else 8879 NMEDIT="$ac_cv_prog_NMEDIT" 8880fi 8881 8882 if test -n "$ac_tool_prefix"; then 8883 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8884set dummy ${ac_tool_prefix}lipo; ac_word=$2 8885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8886$as_echo_n "checking for $ac_word... " >&6; } 8887if ${ac_cv_prog_LIPO+:} false; then : 8888 $as_echo_n "(cached) " >&6 8889else 8890 if test -n "$LIPO"; then 8891 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8892else 8893as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8894for as_dir in $PATH 8895do 8896 IFS=$as_save_IFS 8897 test -z "$as_dir" && as_dir=. 8898 for ac_exec_ext in '' $ac_executable_extensions; do 8899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8900 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8902 break 2 8903 fi 8904done 8905 done 8906IFS=$as_save_IFS 8907 8908fi 8909fi 8910LIPO=$ac_cv_prog_LIPO 8911if test -n "$LIPO"; then 8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8913$as_echo "$LIPO" >&6; } 8914else 8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8916$as_echo "no" >&6; } 8917fi 8918 8919 8920fi 8921if test -z "$ac_cv_prog_LIPO"; then 8922 ac_ct_LIPO=$LIPO 8923 # Extract the first word of "lipo", so it can be a program name with args. 8924set dummy lipo; ac_word=$2 8925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8926$as_echo_n "checking for $ac_word... " >&6; } 8927if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8928 $as_echo_n "(cached) " >&6 8929else 8930 if test -n "$ac_ct_LIPO"; then 8931 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8932else 8933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8934for as_dir in $PATH 8935do 8936 IFS=$as_save_IFS 8937 test -z "$as_dir" && as_dir=. 8938 for ac_exec_ext in '' $ac_executable_extensions; do 8939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8940 ac_cv_prog_ac_ct_LIPO="lipo" 8941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8942 break 2 8943 fi 8944done 8945 done 8946IFS=$as_save_IFS 8947 8948fi 8949fi 8950ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8951if test -n "$ac_ct_LIPO"; then 8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8953$as_echo "$ac_ct_LIPO" >&6; } 8954else 8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8956$as_echo "no" >&6; } 8957fi 8958 8959 if test "x$ac_ct_LIPO" = x; then 8960 LIPO=":" 8961 else 8962 case $cross_compiling:$ac_tool_warned in 8963yes:) 8964{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8965$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8966ac_tool_warned=yes ;; 8967esac 8968 LIPO=$ac_ct_LIPO 8969 fi 8970else 8971 LIPO="$ac_cv_prog_LIPO" 8972fi 8973 8974 if test -n "$ac_tool_prefix"; then 8975 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8976set dummy ${ac_tool_prefix}otool; ac_word=$2 8977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8978$as_echo_n "checking for $ac_word... " >&6; } 8979if ${ac_cv_prog_OTOOL+:} false; then : 8980 $as_echo_n "(cached) " >&6 8981else 8982 if test -n "$OTOOL"; then 8983 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8984else 8985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8986for as_dir in $PATH 8987do 8988 IFS=$as_save_IFS 8989 test -z "$as_dir" && as_dir=. 8990 for ac_exec_ext in '' $ac_executable_extensions; do 8991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8992 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8994 break 2 8995 fi 8996done 8997 done 8998IFS=$as_save_IFS 8999 9000fi 9001fi 9002OTOOL=$ac_cv_prog_OTOOL 9003if test -n "$OTOOL"; then 9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 9005$as_echo "$OTOOL" >&6; } 9006else 9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9008$as_echo "no" >&6; } 9009fi 9010 9011 9012fi 9013if test -z "$ac_cv_prog_OTOOL"; then 9014 ac_ct_OTOOL=$OTOOL 9015 # Extract the first word of "otool", so it can be a program name with args. 9016set dummy otool; ac_word=$2 9017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9018$as_echo_n "checking for $ac_word... " >&6; } 9019if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 9020 $as_echo_n "(cached) " >&6 9021else 9022 if test -n "$ac_ct_OTOOL"; then 9023 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 9024else 9025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9026for as_dir in $PATH 9027do 9028 IFS=$as_save_IFS 9029 test -z "$as_dir" && as_dir=. 9030 for ac_exec_ext in '' $ac_executable_extensions; do 9031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9032 ac_cv_prog_ac_ct_OTOOL="otool" 9033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9034 break 2 9035 fi 9036done 9037 done 9038IFS=$as_save_IFS 9039 9040fi 9041fi 9042ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 9043if test -n "$ac_ct_OTOOL"; then 9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 9045$as_echo "$ac_ct_OTOOL" >&6; } 9046else 9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9048$as_echo "no" >&6; } 9049fi 9050 9051 if test "x$ac_ct_OTOOL" = x; then 9052 OTOOL=":" 9053 else 9054 case $cross_compiling:$ac_tool_warned in 9055yes:) 9056{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9058ac_tool_warned=yes ;; 9059esac 9060 OTOOL=$ac_ct_OTOOL 9061 fi 9062else 9063 OTOOL="$ac_cv_prog_OTOOL" 9064fi 9065 9066 if test -n "$ac_tool_prefix"; then 9067 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 9068set dummy ${ac_tool_prefix}otool64; ac_word=$2 9069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9070$as_echo_n "checking for $ac_word... " >&6; } 9071if ${ac_cv_prog_OTOOL64+:} false; then : 9072 $as_echo_n "(cached) " >&6 9073else 9074 if test -n "$OTOOL64"; then 9075 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 9076else 9077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9078for as_dir in $PATH 9079do 9080 IFS=$as_save_IFS 9081 test -z "$as_dir" && as_dir=. 9082 for ac_exec_ext in '' $ac_executable_extensions; do 9083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9084 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 9085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9086 break 2 9087 fi 9088done 9089 done 9090IFS=$as_save_IFS 9091 9092fi 9093fi 9094OTOOL64=$ac_cv_prog_OTOOL64 9095if test -n "$OTOOL64"; then 9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 9097$as_echo "$OTOOL64" >&6; } 9098else 9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9100$as_echo "no" >&6; } 9101fi 9102 9103 9104fi 9105if test -z "$ac_cv_prog_OTOOL64"; then 9106 ac_ct_OTOOL64=$OTOOL64 9107 # Extract the first word of "otool64", so it can be a program name with args. 9108set dummy otool64; ac_word=$2 9109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9110$as_echo_n "checking for $ac_word... " >&6; } 9111if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 9112 $as_echo_n "(cached) " >&6 9113else 9114 if test -n "$ac_ct_OTOOL64"; then 9115 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9116else 9117as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9118for as_dir in $PATH 9119do 9120 IFS=$as_save_IFS 9121 test -z "$as_dir" && as_dir=. 9122 for ac_exec_ext in '' $ac_executable_extensions; do 9123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9124 ac_cv_prog_ac_ct_OTOOL64="otool64" 9125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9126 break 2 9127 fi 9128done 9129 done 9130IFS=$as_save_IFS 9131 9132fi 9133fi 9134ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9135if test -n "$ac_ct_OTOOL64"; then 9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9137$as_echo "$ac_ct_OTOOL64" >&6; } 9138else 9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9140$as_echo "no" >&6; } 9141fi 9142 9143 if test "x$ac_ct_OTOOL64" = x; then 9144 OTOOL64=":" 9145 else 9146 case $cross_compiling:$ac_tool_warned in 9147yes:) 9148{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9149$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9150ac_tool_warned=yes ;; 9151esac 9152 OTOOL64=$ac_ct_OTOOL64 9153 fi 9154else 9155 OTOOL64="$ac_cv_prog_OTOOL64" 9156fi 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9185$as_echo_n "checking for -single_module linker flag... " >&6; } 9186if ${lt_cv_apple_cc_single_mod+:} false; then : 9187 $as_echo_n "(cached) " >&6 9188else 9189 lt_cv_apple_cc_single_mod=no 9190 if test -z "$LT_MULTI_MODULE"; then 9191 # By default we will add the -single_module flag. You can override 9192 # by either setting the environment variable LT_MULTI_MODULE 9193 # non-empty at configure time, or by adding -multi_module to the 9194 # link flags. 9195 rm -rf libconftest.dylib* 9196 echo "int foo(void){return 1;}" > conftest.c 9197 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9198-dynamiclib -Wl,-single_module conftest.c" >&5 9199 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9200 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9201 _lt_result=$? 9202 # If there is a non-empty error log, and "single_module" 9203 # appears in it, assume the flag caused a linker warning 9204 if test -s conftest.err && $GREP single_module conftest.err; then 9205 cat conftest.err >&5 9206 # Otherwise, if the output was created with a 0 exit code from 9207 # the compiler, it worked. 9208 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9209 lt_cv_apple_cc_single_mod=yes 9210 else 9211 cat conftest.err >&5 9212 fi 9213 rm -rf libconftest.dylib* 9214 rm -f conftest.* 9215 fi 9216fi 9217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9218$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9219 9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9221$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9222if ${lt_cv_ld_exported_symbols_list+:} false; then : 9223 $as_echo_n "(cached) " >&6 9224else 9225 lt_cv_ld_exported_symbols_list=no 9226 save_LDFLAGS=$LDFLAGS 9227 echo "_main" > conftest.sym 9228 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9230/* end confdefs.h. */ 9231 9232int 9233main () 9234{ 9235 9236 ; 9237 return 0; 9238} 9239_ACEOF 9240if ac_fn_c_try_link "$LINENO"; then : 9241 lt_cv_ld_exported_symbols_list=yes 9242else 9243 lt_cv_ld_exported_symbols_list=no 9244fi 9245rm -f core conftest.err conftest.$ac_objext \ 9246 conftest$ac_exeext conftest.$ac_ext 9247 LDFLAGS=$save_LDFLAGS 9248 9249fi 9250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9251$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9252 9253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9254$as_echo_n "checking for -force_load linker flag... " >&6; } 9255if ${lt_cv_ld_force_load+:} false; then : 9256 $as_echo_n "(cached) " >&6 9257else 9258 lt_cv_ld_force_load=no 9259 cat > conftest.c << _LT_EOF 9260int forced_loaded() { return 2;} 9261_LT_EOF 9262 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9263 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9264 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5 9265 $AR $AR_FLAGS libconftest.a conftest.o 2>&5 9266 echo "$RANLIB libconftest.a" >&5 9267 $RANLIB libconftest.a 2>&5 9268 cat > conftest.c << _LT_EOF 9269int main() { return 0;} 9270_LT_EOF 9271 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9272 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9273 _lt_result=$? 9274 if test -s conftest.err && $GREP force_load conftest.err; then 9275 cat conftest.err >&5 9276 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9277 lt_cv_ld_force_load=yes 9278 else 9279 cat conftest.err >&5 9280 fi 9281 rm -f conftest.err libconftest.a conftest conftest.c 9282 rm -rf conftest.dSYM 9283 9284fi 9285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9286$as_echo "$lt_cv_ld_force_load" >&6; } 9287 case $host_os in 9288 rhapsody* | darwin1.[012]) 9289 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9290 darwin1.*) 9291 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9292 darwin*) # darwin 5.x on 9293 # if running on 10.5 or later, the deployment target defaults 9294 # to the OS version, if on x86, and 10.4, the deployment 9295 # target defaults to 10.4. Don't you love it? 9296 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9297 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9298 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9299 10.[012][,.]*) 9300 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9301 10.*) 9302 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9303 esac 9304 ;; 9305 esac 9306 if test yes = "$lt_cv_apple_cc_single_mod"; then 9307 _lt_dar_single_mod='$single_module' 9308 fi 9309 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9310 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9311 else 9312 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9313 fi 9314 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9315 _lt_dsymutil='~$DSYMUTIL $lib || :' 9316 else 9317 _lt_dsymutil= 9318 fi 9319 ;; 9320 esac 9321 9322# func_munge_path_list VARIABLE PATH 9323# ----------------------------------- 9324# VARIABLE is name of variable containing _space_ separated list of 9325# directories to be munged by the contents of PATH, which is string 9326# having a format: 9327# "DIR[:DIR]:" 9328# string "DIR[ DIR]" will be prepended to VARIABLE 9329# ":DIR[:DIR]" 9330# string "DIR[ DIR]" will be appended to VARIABLE 9331# "DIRP[:DIRP]::[DIRA:]DIRA" 9332# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9333# "DIRA[ DIRA]" will be appended to VARIABLE 9334# "DIR[:DIR]" 9335# VARIABLE will be replaced by "DIR[ DIR]" 9336func_munge_path_list () 9337{ 9338 case x$2 in 9339 x) 9340 ;; 9341 *:) 9342 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9343 ;; 9344 x:*) 9345 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9346 ;; 9347 *::*) 9348 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9349 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9350 ;; 9351 *) 9352 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9353 ;; 9354 esac 9355} 9356 9357for ac_header in dlfcn.h 9358do : 9359 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9360" 9361if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9362 cat >>confdefs.h <<_ACEOF 9363#define HAVE_DLFCN_H 1 9364_ACEOF 9365 9366fi 9367 9368done 9369 9370 9371 9372 9373 9374# Set options 9375# Check whether --enable-static was given. 9376if test "${enable_static+set}" = set; then : 9377 enableval=$enable_static; p=${PACKAGE-default} 9378 case $enableval in 9379 yes) enable_static=yes ;; 9380 no) enable_static=no ;; 9381 *) 9382 enable_static=no 9383 # Look at the argument we got. We use all the common list separators. 9384 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9385 for pkg in $enableval; do 9386 IFS=$lt_save_ifs 9387 if test "X$pkg" = "X$p"; then 9388 enable_static=yes 9389 fi 9390 done 9391 IFS=$lt_save_ifs 9392 ;; 9393 esac 9394else 9395 enable_static=no 9396fi 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 enable_dlopen=no 9408 9409 9410 enable_win32_dll=no 9411 9412 9413 # Check whether --enable-shared was given. 9414if test "${enable_shared+set}" = set; then : 9415 enableval=$enable_shared; p=${PACKAGE-default} 9416 case $enableval in 9417 yes) enable_shared=yes ;; 9418 no) enable_shared=no ;; 9419 *) 9420 enable_shared=no 9421 # Look at the argument we got. We use all the common list separators. 9422 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9423 for pkg in $enableval; do 9424 IFS=$lt_save_ifs 9425 if test "X$pkg" = "X$p"; then 9426 enable_shared=yes 9427 fi 9428 done 9429 IFS=$lt_save_ifs 9430 ;; 9431 esac 9432else 9433 enable_shared=yes 9434fi 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446# Check whether --with-pic was given. 9447if test "${with_pic+set}" = set; then : 9448 withval=$with_pic; lt_p=${PACKAGE-default} 9449 case $withval in 9450 yes|no) pic_mode=$withval ;; 9451 *) 9452 pic_mode=default 9453 # Look at the argument we got. We use all the common list separators. 9454 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9455 for lt_pkg in $withval; do 9456 IFS=$lt_save_ifs 9457 if test "X$lt_pkg" = "X$lt_p"; then 9458 pic_mode=yes 9459 fi 9460 done 9461 IFS=$lt_save_ifs 9462 ;; 9463 esac 9464else 9465 pic_mode=default 9466fi 9467 9468 9469 9470 9471 9472 9473 9474 9475 # Check whether --enable-fast-install was given. 9476if test "${enable_fast_install+set}" = set; then : 9477 enableval=$enable_fast_install; p=${PACKAGE-default} 9478 case $enableval in 9479 yes) enable_fast_install=yes ;; 9480 no) enable_fast_install=no ;; 9481 *) 9482 enable_fast_install=no 9483 # Look at the argument we got. We use all the common list separators. 9484 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9485 for pkg in $enableval; do 9486 IFS=$lt_save_ifs 9487 if test "X$pkg" = "X$p"; then 9488 enable_fast_install=yes 9489 fi 9490 done 9491 IFS=$lt_save_ifs 9492 ;; 9493 esac 9494else 9495 enable_fast_install=yes 9496fi 9497 9498 9499 9500 9501 9502 9503 9504 9505 shared_archive_member_spec= 9506case $host,$enable_shared in 9507power*-*-aix[5-9]*,yes) 9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9509$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9510 9511# Check whether --with-aix-soname was given. 9512if test "${with_aix_soname+set}" = set; then : 9513 withval=$with_aix_soname; case $withval in 9514 aix|svr4|both) 9515 ;; 9516 *) 9517 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9518 ;; 9519 esac 9520 lt_cv_with_aix_soname=$with_aix_soname 9521else 9522 if ${lt_cv_with_aix_soname+:} false; then : 9523 $as_echo_n "(cached) " >&6 9524else 9525 lt_cv_with_aix_soname=aix 9526fi 9527 9528 with_aix_soname=$lt_cv_with_aix_soname 9529fi 9530 9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9532$as_echo "$with_aix_soname" >&6; } 9533 if test aix != "$with_aix_soname"; then 9534 # For the AIX way of multilib, we name the shared archive member 9535 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9536 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9537 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9538 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9539 if test 64 = "${OBJECT_MODE-32}"; then 9540 shared_archive_member_spec=shr_64 9541 else 9542 shared_archive_member_spec=shr 9543 fi 9544 fi 9545 ;; 9546*) 9547 with_aix_soname=aix 9548 ;; 9549esac 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560# This can be used to rebuild libtool when needed 9561LIBTOOL_DEPS=$ltmain 9562 9563# Always use our own libtool. 9564LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595test -z "$LN_S" && LN_S="ln -s" 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610if test -n "${ZSH_VERSION+set}"; then 9611 setopt NO_GLOB_SUBST 9612fi 9613 9614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9615$as_echo_n "checking for objdir... " >&6; } 9616if ${lt_cv_objdir+:} false; then : 9617 $as_echo_n "(cached) " >&6 9618else 9619 rm -f .libs 2>/dev/null 9620mkdir .libs 2>/dev/null 9621if test -d .libs; then 9622 lt_cv_objdir=.libs 9623else 9624 # MS-DOS does not allow filenames that begin with a dot. 9625 lt_cv_objdir=_libs 9626fi 9627rmdir .libs 2>/dev/null 9628fi 9629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9630$as_echo "$lt_cv_objdir" >&6; } 9631objdir=$lt_cv_objdir 9632 9633 9634 9635 9636 9637cat >>confdefs.h <<_ACEOF 9638#define LT_OBJDIR "$lt_cv_objdir/" 9639_ACEOF 9640 9641 9642 9643 9644case $host_os in 9645aix3*) 9646 # AIX sometimes has problems with the GCC collect2 program. For some 9647 # reason, if we set the COLLECT_NAMES environment variable, the problems 9648 # vanish in a puff of smoke. 9649 if test set != "${COLLECT_NAMES+set}"; then 9650 COLLECT_NAMES= 9651 export COLLECT_NAMES 9652 fi 9653 ;; 9654esac 9655 9656# Global variables: 9657ofile=libtool 9658can_build_shared=yes 9659 9660# All known linkers require a '.a' archive for static linking (except MSVC, 9661# which needs '.lib'). 9662libext=a 9663 9664with_gnu_ld=$lt_cv_prog_gnu_ld 9665 9666old_CC=$CC 9667old_CFLAGS=$CFLAGS 9668 9669# Set sane defaults for various variables 9670test -z "$CC" && CC=cc 9671test -z "$LTCC" && LTCC=$CC 9672test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9673test -z "$LD" && LD=ld 9674test -z "$ac_objext" && ac_objext=o 9675 9676func_cc_basename $compiler 9677cc_basename=$func_cc_basename_result 9678 9679 9680# Only perform the check for file, if the check method requires it 9681test -z "$MAGIC_CMD" && MAGIC_CMD=file 9682case $deplibs_check_method in 9683file_magic*) 9684 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9686$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9687if ${lt_cv_path_MAGIC_CMD+:} false; then : 9688 $as_echo_n "(cached) " >&6 9689else 9690 case $MAGIC_CMD in 9691[\\/*] | ?:[\\/]*) 9692 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9693 ;; 9694*) 9695 lt_save_MAGIC_CMD=$MAGIC_CMD 9696 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9697 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9698 for ac_dir in $ac_dummy; do 9699 IFS=$lt_save_ifs 9700 test -z "$ac_dir" && ac_dir=. 9701 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9702 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9703 if test -n "$file_magic_test_file"; then 9704 case $deplibs_check_method in 9705 "file_magic "*) 9706 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9707 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9708 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9709 $EGREP "$file_magic_regex" > /dev/null; then 9710 : 9711 else 9712 cat <<_LT_EOF 1>&2 9713 9714*** Warning: the command libtool uses to detect shared libraries, 9715*** $file_magic_cmd, produces output that libtool cannot recognize. 9716*** The result is that libtool may fail to recognize shared libraries 9717*** as such. This will affect the creation of libtool libraries that 9718*** depend on shared libraries, but programs linked with such libtool 9719*** libraries will work regardless of this problem. Nevertheless, you 9720*** may want to report the problem to your system manager and/or to 9721*** bug-libtool@gnu.org 9722 9723_LT_EOF 9724 fi ;; 9725 esac 9726 fi 9727 break 9728 fi 9729 done 9730 IFS=$lt_save_ifs 9731 MAGIC_CMD=$lt_save_MAGIC_CMD 9732 ;; 9733esac 9734fi 9735 9736MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9737if test -n "$MAGIC_CMD"; then 9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9739$as_echo "$MAGIC_CMD" >&6; } 9740else 9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9742$as_echo "no" >&6; } 9743fi 9744 9745 9746 9747 9748 9749if test -z "$lt_cv_path_MAGIC_CMD"; then 9750 if test -n "$ac_tool_prefix"; then 9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9752$as_echo_n "checking for file... " >&6; } 9753if ${lt_cv_path_MAGIC_CMD+:} false; then : 9754 $as_echo_n "(cached) " >&6 9755else 9756 case $MAGIC_CMD in 9757[\\/*] | ?:[\\/]*) 9758 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9759 ;; 9760*) 9761 lt_save_MAGIC_CMD=$MAGIC_CMD 9762 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9763 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9764 for ac_dir in $ac_dummy; do 9765 IFS=$lt_save_ifs 9766 test -z "$ac_dir" && ac_dir=. 9767 if test -f "$ac_dir/file"; then 9768 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9769 if test -n "$file_magic_test_file"; then 9770 case $deplibs_check_method in 9771 "file_magic "*) 9772 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9773 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9774 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9775 $EGREP "$file_magic_regex" > /dev/null; then 9776 : 9777 else 9778 cat <<_LT_EOF 1>&2 9779 9780*** Warning: the command libtool uses to detect shared libraries, 9781*** $file_magic_cmd, produces output that libtool cannot recognize. 9782*** The result is that libtool may fail to recognize shared libraries 9783*** as such. This will affect the creation of libtool libraries that 9784*** depend on shared libraries, but programs linked with such libtool 9785*** libraries will work regardless of this problem. Nevertheless, you 9786*** may want to report the problem to your system manager and/or to 9787*** bug-libtool@gnu.org 9788 9789_LT_EOF 9790 fi ;; 9791 esac 9792 fi 9793 break 9794 fi 9795 done 9796 IFS=$lt_save_ifs 9797 MAGIC_CMD=$lt_save_MAGIC_CMD 9798 ;; 9799esac 9800fi 9801 9802MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9803if test -n "$MAGIC_CMD"; then 9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9805$as_echo "$MAGIC_CMD" >&6; } 9806else 9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9808$as_echo "no" >&6; } 9809fi 9810 9811 9812 else 9813 MAGIC_CMD=: 9814 fi 9815fi 9816 9817 fi 9818 ;; 9819esac 9820 9821# Use C for the default configuration in the libtool script 9822 9823lt_save_CC=$CC 9824ac_ext=c 9825ac_cpp='$CPP $CPPFLAGS' 9826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9828ac_compiler_gnu=$ac_cv_c_compiler_gnu 9829 9830 9831# Source file extension for C test sources. 9832ac_ext=c 9833 9834# Object file extension for compiled C test sources. 9835objext=o 9836objext=$objext 9837 9838# Code to be used in simple compile tests 9839lt_simple_compile_test_code="int some_variable = 0;" 9840 9841# Code to be used in simple link tests 9842lt_simple_link_test_code='int main(){return(0);}' 9843 9844 9845 9846 9847 9848 9849 9850# If no C compiler was specified, use CC. 9851LTCC=${LTCC-"$CC"} 9852 9853# If no C compiler flags were specified, use CFLAGS. 9854LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9855 9856# Allow CC to be a program name with arguments. 9857compiler=$CC 9858 9859# Save the default compiler, since it gets overwritten when the other 9860# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9861compiler_DEFAULT=$CC 9862 9863# save warnings/boilerplate of simple test code 9864ac_outfile=conftest.$ac_objext 9865echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9866eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9867_lt_compiler_boilerplate=`cat conftest.err` 9868$RM conftest* 9869 9870ac_outfile=conftest.$ac_objext 9871echo "$lt_simple_link_test_code" >conftest.$ac_ext 9872eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9873_lt_linker_boilerplate=`cat conftest.err` 9874$RM -r conftest* 9875 9876 9877if test -n "$compiler"; then 9878 9879lt_prog_compiler_no_builtin_flag= 9880 9881if test yes = "$GCC"; then 9882 case $cc_basename in 9883 nvcc*) 9884 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9885 *) 9886 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9887 esac 9888 9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9890$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9891if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9892 $as_echo_n "(cached) " >&6 9893else 9894 lt_cv_prog_compiler_rtti_exceptions=no 9895 ac_outfile=conftest.$ac_objext 9896 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9897 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9898 # Insert the option either (1) after the last *FLAGS variable, or 9899 # (2) before a word containing "conftest.", or (3) at the end. 9900 # Note that $ac_compile itself does not contain backslashes and begins 9901 # with a dollar sign (not a hyphen), so the echo should work correctly. 9902 # The option is referenced via a variable to avoid confusing sed. 9903 lt_compile=`echo "$ac_compile" | $SED \ 9904 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9905 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9906 -e 's:$: $lt_compiler_flag:'` 9907 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9908 (eval "$lt_compile" 2>conftest.err) 9909 ac_status=$? 9910 cat conftest.err >&5 9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9912 if (exit $ac_status) && test -s "$ac_outfile"; then 9913 # The compiler can only warn and ignore the option if not recognized 9914 # So say no if there are warnings other than the usual output. 9915 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9916 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9917 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9918 lt_cv_prog_compiler_rtti_exceptions=yes 9919 fi 9920 fi 9921 $RM conftest* 9922 9923fi 9924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9925$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9926 9927if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9928 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9929else 9930 : 9931fi 9932 9933fi 9934 9935 9936 9937 9938 9939 9940 lt_prog_compiler_wl= 9941lt_prog_compiler_pic= 9942lt_prog_compiler_static= 9943 9944 9945 if test yes = "$GCC"; then 9946 lt_prog_compiler_wl='-Wl,' 9947 lt_prog_compiler_static='-static' 9948 9949 case $host_os in 9950 aix*) 9951 # All AIX code is PIC. 9952 if test ia64 = "$host_cpu"; then 9953 # AIX 5 now supports IA64 processor 9954 lt_prog_compiler_static='-Bstatic' 9955 fi 9956 lt_prog_compiler_pic='-fPIC' 9957 ;; 9958 9959 amigaos*) 9960 case $host_cpu in 9961 powerpc) 9962 # see comment about AmigaOS4 .so support 9963 lt_prog_compiler_pic='-fPIC' 9964 ;; 9965 m68k) 9966 # FIXME: we need at least 68020 code to build shared libraries, but 9967 # adding the '-m68020' flag to GCC prevents building anything better, 9968 # like '-m68040'. 9969 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9970 ;; 9971 esac 9972 ;; 9973 9974 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9975 # PIC is the default for these OSes. 9976 ;; 9977 9978 mingw* | cygwin* | pw32* | os2* | cegcc*) 9979 # This hack is so that the source file can tell whether it is being 9980 # built for inclusion in a dll (and should export symbols for example). 9981 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9982 # (--disable-auto-import) libraries 9983 lt_prog_compiler_pic='-DDLL_EXPORT' 9984 case $host_os in 9985 os2*) 9986 lt_prog_compiler_static='$wl-static' 9987 ;; 9988 esac 9989 ;; 9990 9991 darwin* | rhapsody*) 9992 # PIC is the default on this platform 9993 # Common symbols not allowed in MH_DYLIB files 9994 lt_prog_compiler_pic='-fno-common' 9995 ;; 9996 9997 haiku*) 9998 # PIC is the default for Haiku. 9999 # The "-static" flag exists, but is broken. 10000 lt_prog_compiler_static= 10001 ;; 10002 10003 hpux*) 10004 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10005 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10006 # sets the default TLS model and affects inlining. 10007 case $host_cpu in 10008 hppa*64*) 10009 # +Z the default 10010 ;; 10011 *) 10012 lt_prog_compiler_pic='-fPIC' 10013 ;; 10014 esac 10015 ;; 10016 10017 interix[3-9]*) 10018 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10019 # Instead, we relocate shared libraries at runtime. 10020 ;; 10021 10022 msdosdjgpp*) 10023 # Just because we use GCC doesn't mean we suddenly get shared libraries 10024 # on systems that don't support them. 10025 lt_prog_compiler_can_build_shared=no 10026 enable_shared=no 10027 ;; 10028 10029 *nto* | *qnx*) 10030 # QNX uses GNU C++, but need to define -shared option too, otherwise 10031 # it will coredump. 10032 lt_prog_compiler_pic='-fPIC -shared' 10033 ;; 10034 10035 sysv4*MP*) 10036 if test -d /usr/nec; then 10037 lt_prog_compiler_pic=-Kconform_pic 10038 fi 10039 ;; 10040 10041 *) 10042 lt_prog_compiler_pic='-fPIC' 10043 ;; 10044 esac 10045 10046 case $cc_basename in 10047 nvcc*) # Cuda Compiler Driver 2.2 10048 lt_prog_compiler_wl='-Xlinker ' 10049 if test -n "$lt_prog_compiler_pic"; then 10050 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10051 fi 10052 ;; 10053 esac 10054 else 10055 # PORTME Check for flag to pass linker flags through the system compiler. 10056 case $host_os in 10057 aix*) 10058 lt_prog_compiler_wl='-Wl,' 10059 if test ia64 = "$host_cpu"; then 10060 # AIX 5 now supports IA64 processor 10061 lt_prog_compiler_static='-Bstatic' 10062 else 10063 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10064 fi 10065 ;; 10066 10067 darwin* | rhapsody*) 10068 # PIC is the default on this platform 10069 # Common symbols not allowed in MH_DYLIB files 10070 lt_prog_compiler_pic='-fno-common' 10071 case $cc_basename in 10072 nagfor*) 10073 # NAG Fortran compiler 10074 lt_prog_compiler_wl='-Wl,-Wl,,' 10075 lt_prog_compiler_pic='-PIC' 10076 lt_prog_compiler_static='-Bstatic' 10077 ;; 10078 esac 10079 ;; 10080 10081 mingw* | cygwin* | pw32* | os2* | cegcc*) 10082 # This hack is so that the source file can tell whether it is being 10083 # built for inclusion in a dll (and should export symbols for example). 10084 lt_prog_compiler_pic='-DDLL_EXPORT' 10085 case $host_os in 10086 os2*) 10087 lt_prog_compiler_static='$wl-static' 10088 ;; 10089 esac 10090 ;; 10091 10092 hpux9* | hpux10* | hpux11*) 10093 lt_prog_compiler_wl='-Wl,' 10094 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10095 # not for PA HP-UX. 10096 case $host_cpu in 10097 hppa*64*|ia64*) 10098 # +Z the default 10099 ;; 10100 *) 10101 lt_prog_compiler_pic='+Z' 10102 ;; 10103 esac 10104 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10105 lt_prog_compiler_static='$wl-a ${wl}archive' 10106 ;; 10107 10108 irix5* | irix6* | nonstopux*) 10109 lt_prog_compiler_wl='-Wl,' 10110 # PIC (with -KPIC) is the default. 10111 lt_prog_compiler_static='-non_shared' 10112 ;; 10113 10114 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10115 case $cc_basename in 10116 # old Intel for x86_64, which still supported -KPIC. 10117 ecc*) 10118 lt_prog_compiler_wl='-Wl,' 10119 lt_prog_compiler_pic='-KPIC' 10120 lt_prog_compiler_static='-static' 10121 ;; 10122 # icc used to be incompatible with GCC. 10123 # ICC 10 doesn't accept -KPIC any more. 10124 icc* | ifort*) 10125 lt_prog_compiler_wl='-Wl,' 10126 lt_prog_compiler_pic='-fPIC' 10127 lt_prog_compiler_static='-static' 10128 ;; 10129 # Lahey Fortran 8.1. 10130 lf95*) 10131 lt_prog_compiler_wl='-Wl,' 10132 lt_prog_compiler_pic='--shared' 10133 lt_prog_compiler_static='--static' 10134 ;; 10135 nagfor*) 10136 # NAG Fortran compiler 10137 lt_prog_compiler_wl='-Wl,-Wl,,' 10138 lt_prog_compiler_pic='-PIC' 10139 lt_prog_compiler_static='-Bstatic' 10140 ;; 10141 tcc*) 10142 # Fabrice Bellard et al's Tiny C Compiler 10143 lt_prog_compiler_wl='-Wl,' 10144 lt_prog_compiler_pic='-fPIC' 10145 lt_prog_compiler_static='-static' 10146 ;; 10147 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10148 # Portland Group compilers (*not* the Pentium gcc compiler, 10149 # which looks to be a dead project) 10150 lt_prog_compiler_wl='-Wl,' 10151 lt_prog_compiler_pic='-fpic' 10152 lt_prog_compiler_static='-Bstatic' 10153 ;; 10154 ccc*) 10155 lt_prog_compiler_wl='-Wl,' 10156 # All Alpha code is PIC. 10157 lt_prog_compiler_static='-non_shared' 10158 ;; 10159 xl* | bgxl* | bgf* | mpixl*) 10160 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10161 lt_prog_compiler_wl='-Wl,' 10162 lt_prog_compiler_pic='-qpic' 10163 lt_prog_compiler_static='-qstaticlink' 10164 ;; 10165 *) 10166 case `$CC -V 2>&1 | sed 5q` in 10167 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10168 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10169 lt_prog_compiler_pic='-KPIC' 10170 lt_prog_compiler_static='-Bstatic' 10171 lt_prog_compiler_wl='' 10172 ;; 10173 *Sun\ F* | *Sun*Fortran*) 10174 lt_prog_compiler_pic='-KPIC' 10175 lt_prog_compiler_static='-Bstatic' 10176 lt_prog_compiler_wl='-Qoption ld ' 10177 ;; 10178 *Sun\ C*) 10179 # Sun C 5.9 10180 lt_prog_compiler_pic='-KPIC' 10181 lt_prog_compiler_static='-Bstatic' 10182 lt_prog_compiler_wl='-Wl,' 10183 ;; 10184 *Intel*\ [CF]*Compiler*) 10185 lt_prog_compiler_wl='-Wl,' 10186 lt_prog_compiler_pic='-fPIC' 10187 lt_prog_compiler_static='-static' 10188 ;; 10189 *Portland\ Group*) 10190 lt_prog_compiler_wl='-Wl,' 10191 lt_prog_compiler_pic='-fpic' 10192 lt_prog_compiler_static='-Bstatic' 10193 ;; 10194 esac 10195 ;; 10196 esac 10197 ;; 10198 10199 newsos6) 10200 lt_prog_compiler_pic='-KPIC' 10201 lt_prog_compiler_static='-Bstatic' 10202 ;; 10203 10204 *nto* | *qnx*) 10205 # QNX uses GNU C++, but need to define -shared option too, otherwise 10206 # it will coredump. 10207 lt_prog_compiler_pic='-fPIC -shared' 10208 ;; 10209 10210 osf3* | osf4* | osf5*) 10211 lt_prog_compiler_wl='-Wl,' 10212 # All OSF/1 code is PIC. 10213 lt_prog_compiler_static='-non_shared' 10214 ;; 10215 10216 rdos*) 10217 lt_prog_compiler_static='-non_shared' 10218 ;; 10219 10220 solaris*) 10221 lt_prog_compiler_pic='-KPIC' 10222 lt_prog_compiler_static='-Bstatic' 10223 case $cc_basename in 10224 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10225 lt_prog_compiler_wl='-Qoption ld ';; 10226 *) 10227 lt_prog_compiler_wl='-Wl,';; 10228 esac 10229 ;; 10230 10231 sunos4*) 10232 lt_prog_compiler_wl='-Qoption ld ' 10233 lt_prog_compiler_pic='-PIC' 10234 lt_prog_compiler_static='-Bstatic' 10235 ;; 10236 10237 sysv4 | sysv4.2uw2* | sysv4.3*) 10238 lt_prog_compiler_wl='-Wl,' 10239 lt_prog_compiler_pic='-KPIC' 10240 lt_prog_compiler_static='-Bstatic' 10241 ;; 10242 10243 sysv4*MP*) 10244 if test -d /usr/nec; then 10245 lt_prog_compiler_pic='-Kconform_pic' 10246 lt_prog_compiler_static='-Bstatic' 10247 fi 10248 ;; 10249 10250 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10251 lt_prog_compiler_wl='-Wl,' 10252 lt_prog_compiler_pic='-KPIC' 10253 lt_prog_compiler_static='-Bstatic' 10254 ;; 10255 10256 unicos*) 10257 lt_prog_compiler_wl='-Wl,' 10258 lt_prog_compiler_can_build_shared=no 10259 ;; 10260 10261 uts4*) 10262 lt_prog_compiler_pic='-pic' 10263 lt_prog_compiler_static='-Bstatic' 10264 ;; 10265 10266 *) 10267 lt_prog_compiler_can_build_shared=no 10268 ;; 10269 esac 10270 fi 10271 10272case $host_os in 10273 # For platforms that do not support PIC, -DPIC is meaningless: 10274 *djgpp*) 10275 lt_prog_compiler_pic= 10276 ;; 10277 *) 10278 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10279 ;; 10280esac 10281 10282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10283$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10284if ${lt_cv_prog_compiler_pic+:} false; then : 10285 $as_echo_n "(cached) " >&6 10286else 10287 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10288fi 10289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10290$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10291lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10292 10293# 10294# Check to make sure the PIC flag actually works. 10295# 10296if test -n "$lt_prog_compiler_pic"; then 10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10298$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10299if ${lt_cv_prog_compiler_pic_works+:} false; then : 10300 $as_echo_n "(cached) " >&6 10301else 10302 lt_cv_prog_compiler_pic_works=no 10303 ac_outfile=conftest.$ac_objext 10304 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10305 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10306 # Insert the option either (1) after the last *FLAGS variable, or 10307 # (2) before a word containing "conftest.", or (3) at the end. 10308 # Note that $ac_compile itself does not contain backslashes and begins 10309 # with a dollar sign (not a hyphen), so the echo should work correctly. 10310 # The option is referenced via a variable to avoid confusing sed. 10311 lt_compile=`echo "$ac_compile" | $SED \ 10312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10314 -e 's:$: $lt_compiler_flag:'` 10315 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10316 (eval "$lt_compile" 2>conftest.err) 10317 ac_status=$? 10318 cat conftest.err >&5 10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10320 if (exit $ac_status) && test -s "$ac_outfile"; then 10321 # The compiler can only warn and ignore the option if not recognized 10322 # So say no if there are warnings other than the usual output. 10323 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10324 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10325 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10326 lt_cv_prog_compiler_pic_works=yes 10327 fi 10328 fi 10329 $RM conftest* 10330 10331fi 10332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10333$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10334 10335if test yes = "$lt_cv_prog_compiler_pic_works"; then 10336 case $lt_prog_compiler_pic in 10337 "" | " "*) ;; 10338 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10339 esac 10340else 10341 lt_prog_compiler_pic= 10342 lt_prog_compiler_can_build_shared=no 10343fi 10344 10345fi 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357# 10358# Check to make sure the static flag actually works. 10359# 10360wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10362$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10363if ${lt_cv_prog_compiler_static_works+:} false; then : 10364 $as_echo_n "(cached) " >&6 10365else 10366 lt_cv_prog_compiler_static_works=no 10367 save_LDFLAGS=$LDFLAGS 10368 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10369 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10370 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10371 # The linker can only warn and ignore the option if not recognized 10372 # So say no if there are warnings 10373 if test -s conftest.err; then 10374 # Append any errors to the config.log. 10375 cat conftest.err 1>&5 10376 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10377 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10378 if diff conftest.exp conftest.er2 >/dev/null; then 10379 lt_cv_prog_compiler_static_works=yes 10380 fi 10381 else 10382 lt_cv_prog_compiler_static_works=yes 10383 fi 10384 fi 10385 $RM -r conftest* 10386 LDFLAGS=$save_LDFLAGS 10387 10388fi 10389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10390$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10391 10392if test yes = "$lt_cv_prog_compiler_static_works"; then 10393 : 10394else 10395 lt_prog_compiler_static= 10396fi 10397 10398 10399 10400 10401 10402 10403 10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10405$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10406if ${lt_cv_prog_compiler_c_o+:} false; then : 10407 $as_echo_n "(cached) " >&6 10408else 10409 lt_cv_prog_compiler_c_o=no 10410 $RM -r conftest 2>/dev/null 10411 mkdir conftest 10412 cd conftest 10413 mkdir out 10414 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10415 10416 lt_compiler_flag="-o out/conftest2.$ac_objext" 10417 # Insert the option either (1) after the last *FLAGS variable, or 10418 # (2) before a word containing "conftest.", or (3) at the end. 10419 # Note that $ac_compile itself does not contain backslashes and begins 10420 # with a dollar sign (not a hyphen), so the echo should work correctly. 10421 lt_compile=`echo "$ac_compile" | $SED \ 10422 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10423 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10424 -e 's:$: $lt_compiler_flag:'` 10425 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10426 (eval "$lt_compile" 2>out/conftest.err) 10427 ac_status=$? 10428 cat out/conftest.err >&5 10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10430 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10431 then 10432 # The compiler can only warn and ignore the option if not recognized 10433 # So say no if there are warnings 10434 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10435 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10436 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10437 lt_cv_prog_compiler_c_o=yes 10438 fi 10439 fi 10440 chmod u+w . 2>&5 10441 $RM conftest* 10442 # SGI C++ compiler will create directory out/ii_files/ for 10443 # template instantiation 10444 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10445 $RM out/* && rmdir out 10446 cd .. 10447 $RM -r conftest 10448 $RM conftest* 10449 10450fi 10451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10452$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10453 10454 10455 10456 10457 10458 10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10460$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10461if ${lt_cv_prog_compiler_c_o+:} false; then : 10462 $as_echo_n "(cached) " >&6 10463else 10464 lt_cv_prog_compiler_c_o=no 10465 $RM -r conftest 2>/dev/null 10466 mkdir conftest 10467 cd conftest 10468 mkdir out 10469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10470 10471 lt_compiler_flag="-o out/conftest2.$ac_objext" 10472 # Insert the option either (1) after the last *FLAGS variable, or 10473 # (2) before a word containing "conftest.", or (3) at the end. 10474 # Note that $ac_compile itself does not contain backslashes and begins 10475 # with a dollar sign (not a hyphen), so the echo should work correctly. 10476 lt_compile=`echo "$ac_compile" | $SED \ 10477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10479 -e 's:$: $lt_compiler_flag:'` 10480 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10481 (eval "$lt_compile" 2>out/conftest.err) 10482 ac_status=$? 10483 cat out/conftest.err >&5 10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10485 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10486 then 10487 # The compiler can only warn and ignore the option if not recognized 10488 # So say no if there are warnings 10489 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10490 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10491 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10492 lt_cv_prog_compiler_c_o=yes 10493 fi 10494 fi 10495 chmod u+w . 2>&5 10496 $RM conftest* 10497 # SGI C++ compiler will create directory out/ii_files/ for 10498 # template instantiation 10499 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10500 $RM out/* && rmdir out 10501 cd .. 10502 $RM -r conftest 10503 $RM conftest* 10504 10505fi 10506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10507$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10508 10509 10510 10511 10512hard_links=nottested 10513if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10514 # do not overwrite the value of need_locks provided by the user 10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10516$as_echo_n "checking if we can lock with hard links... " >&6; } 10517 hard_links=yes 10518 $RM conftest* 10519 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10520 touch conftest.a 10521 ln conftest.a conftest.b 2>&5 || hard_links=no 10522 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10524$as_echo "$hard_links" >&6; } 10525 if test no = "$hard_links"; then 10526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10527$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10528 need_locks=warn 10529 fi 10530else 10531 need_locks=no 10532fi 10533 10534 10535 10536 10537 10538 10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10540$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10541 10542 runpath_var= 10543 allow_undefined_flag= 10544 always_export_symbols=no 10545 archive_cmds= 10546 archive_expsym_cmds= 10547 compiler_needs_object=no 10548 enable_shared_with_static_runtimes=no 10549 export_dynamic_flag_spec= 10550 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10551 hardcode_automatic=no 10552 hardcode_direct=no 10553 hardcode_direct_absolute=no 10554 hardcode_libdir_flag_spec= 10555 hardcode_libdir_separator= 10556 hardcode_minus_L=no 10557 hardcode_shlibpath_var=unsupported 10558 inherit_rpath=no 10559 link_all_deplibs=unknown 10560 module_cmds= 10561 module_expsym_cmds= 10562 old_archive_from_new_cmds= 10563 old_archive_from_expsyms_cmds= 10564 thread_safe_flag_spec= 10565 whole_archive_flag_spec= 10566 # include_expsyms should be a list of space-separated symbols to be *always* 10567 # included in the symbol list 10568 include_expsyms= 10569 # exclude_expsyms can be an extended regexp of symbols to exclude 10570 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10571 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10572 # as well as any symbol that contains 'd'. 10573 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10574 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10575 # platforms (ab)use it in PIC code, but their linkers get confused if 10576 # the symbol is explicitly referenced. Since portable code cannot 10577 # rely on this symbol name, it's probably fine to never include it in 10578 # preloaded symbol tables. 10579 # Exclude shared library initialization/finalization symbols. 10580 extract_expsyms_cmds= 10581 10582 case $host_os in 10583 cygwin* | mingw* | pw32* | cegcc*) 10584 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10585 # When not using gcc, we currently assume that we are using 10586 # Microsoft Visual C++. 10587 if test yes != "$GCC"; then 10588 with_gnu_ld=no 10589 fi 10590 ;; 10591 interix*) 10592 # we just hope/assume this is gcc and not c89 (= MSVC++) 10593 with_gnu_ld=yes 10594 ;; 10595 openbsd* | bitrig*) 10596 with_gnu_ld=no 10597 ;; 10598 esac 10599 10600 ld_shlibs=yes 10601 10602 # On some targets, GNU ld is compatible enough with the native linker 10603 # that we're better off using the native interface for both. 10604 lt_use_gnu_ld_interface=no 10605 if test yes = "$with_gnu_ld"; then 10606 case $host_os in 10607 aix*) 10608 # The AIX port of GNU ld has always aspired to compatibility 10609 # with the native linker. However, as the warning in the GNU ld 10610 # block says, versions before 2.19.5* couldn't really create working 10611 # shared libraries, regardless of the interface used. 10612 case `$LD -v 2>&1` in 10613 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10614 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10615 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10616 *) 10617 lt_use_gnu_ld_interface=yes 10618 ;; 10619 esac 10620 ;; 10621 *) 10622 lt_use_gnu_ld_interface=yes 10623 ;; 10624 esac 10625 fi 10626 10627 if test yes = "$lt_use_gnu_ld_interface"; then 10628 # If archive_cmds runs LD, not CC, wlarc should be empty 10629 wlarc='$wl' 10630 10631 # Set some defaults for GNU ld with shared library support. These 10632 # are reset later if shared libraries are not supported. Putting them 10633 # here allows them to be overridden if necessary. 10634 runpath_var=LD_RUN_PATH 10635 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10636 export_dynamic_flag_spec='$wl--export-dynamic' 10637 # ancient GNU ld didn't support --whole-archive et. al. 10638 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10639 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10640 else 10641 whole_archive_flag_spec= 10642 fi 10643 supports_anon_versioning=no 10644 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10645 *GNU\ gold*) supports_anon_versioning=yes ;; 10646 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10647 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10648 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10649 *\ 2.11.*) ;; # other 2.11 versions 10650 *) supports_anon_versioning=yes ;; 10651 esac 10652 10653 # See if GNU ld supports shared libraries. 10654 case $host_os in 10655 aix[3-9]*) 10656 # On AIX/PPC, the GNU linker is very broken 10657 if test ia64 != "$host_cpu"; then 10658 ld_shlibs=no 10659 cat <<_LT_EOF 1>&2 10660 10661*** Warning: the GNU linker, at least up to release 2.19, is reported 10662*** to be unable to reliably create shared libraries on AIX. 10663*** Therefore, libtool is disabling shared libraries support. If you 10664*** really care for shared libraries, you may want to install binutils 10665*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10666*** You will then need to restart the configuration process. 10667 10668_LT_EOF 10669 fi 10670 ;; 10671 10672 amigaos*) 10673 case $host_cpu in 10674 powerpc) 10675 # see comment about AmigaOS4 .so support 10676 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10677 archive_expsym_cmds='' 10678 ;; 10679 m68k) 10680 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)' 10681 hardcode_libdir_flag_spec='-L$libdir' 10682 hardcode_minus_L=yes 10683 ;; 10684 esac 10685 ;; 10686 10687 beos*) 10688 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10689 allow_undefined_flag=unsupported 10690 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10691 # support --undefined. This deserves some investigation. FIXME 10692 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10693 else 10694 ld_shlibs=no 10695 fi 10696 ;; 10697 10698 cygwin* | mingw* | pw32* | cegcc*) 10699 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10700 # as there is no search path for DLLs. 10701 hardcode_libdir_flag_spec='-L$libdir' 10702 export_dynamic_flag_spec='$wl--export-all-symbols' 10703 allow_undefined_flag=unsupported 10704 always_export_symbols=no 10705 enable_shared_with_static_runtimes=yes 10706 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' 10707 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10708 10709 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10710 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10711 # If the export-symbols file already is a .def file, use it as 10712 # is; otherwise, prepend EXPORTS... 10713 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10714 cp $export_symbols $output_objdir/$soname.def; 10715 else 10716 echo EXPORTS > $output_objdir/$soname.def; 10717 cat $export_symbols >> $output_objdir/$soname.def; 10718 fi~ 10719 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10720 else 10721 ld_shlibs=no 10722 fi 10723 ;; 10724 10725 haiku*) 10726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10727 link_all_deplibs=yes 10728 ;; 10729 10730 os2*) 10731 hardcode_libdir_flag_spec='-L$libdir' 10732 hardcode_minus_L=yes 10733 allow_undefined_flag=unsupported 10734 shrext_cmds=.dll 10735 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10736 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10737 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10738 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10739 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10740 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10741 emximp -o $lib $output_objdir/$libname.def' 10742 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10743 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10744 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10745 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10746 prefix_cmds="$SED"~ 10747 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10748 prefix_cmds="$prefix_cmds -e 1d"; 10749 fi~ 10750 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10751 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10752 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10753 emximp -o $lib $output_objdir/$libname.def' 10754 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10755 enable_shared_with_static_runtimes=yes 10756 file_list_spec='@' 10757 ;; 10758 10759 interix[3-9]*) 10760 hardcode_direct=no 10761 hardcode_shlibpath_var=no 10762 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10763 export_dynamic_flag_spec='$wl-E' 10764 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10765 # Instead, shared libraries are loaded at an image base (0x10000000 by 10766 # default) and relocated if they conflict, which is a slow very memory 10767 # consuming and fragmenting process. To avoid this, we pick a random, 10768 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10769 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10770 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10771 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' 10772 ;; 10773 10774 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10775 tmp_diet=no 10776 if test linux-dietlibc = "$host_os"; then 10777 case $cc_basename in 10778 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10779 esac 10780 fi 10781 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10782 && test no = "$tmp_diet" 10783 then 10784 tmp_addflag=' $pic_flag' 10785 tmp_sharedflag='-shared' 10786 case $cc_basename,$host_cpu in 10787 pgcc*) # Portland Group C compiler 10788 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' 10789 tmp_addflag=' $pic_flag' 10790 ;; 10791 pgf77* | pgf90* | pgf95* | pgfortran*) 10792 # Portland Group f77 and f90 compilers 10793 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' 10794 tmp_addflag=' $pic_flag -Mnomain' ;; 10795 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10796 tmp_addflag=' -i_dynamic' ;; 10797 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10798 tmp_addflag=' -i_dynamic -nofor_main' ;; 10799 ifc* | ifort*) # Intel Fortran compiler 10800 tmp_addflag=' -nofor_main' ;; 10801 lf95*) # Lahey Fortran 8.1 10802 whole_archive_flag_spec= 10803 tmp_sharedflag='--shared' ;; 10804 nagfor*) # NAGFOR 5.3 10805 tmp_sharedflag='-Wl,-shared' ;; 10806 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10807 tmp_sharedflag='-qmkshrobj' 10808 tmp_addflag= ;; 10809 nvcc*) # Cuda Compiler Driver 2.2 10810 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' 10811 compiler_needs_object=yes 10812 ;; 10813 esac 10814 case `$CC -V 2>&1 | sed 5q` in 10815 *Sun\ C*) # Sun C 5.9 10816 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' 10817 compiler_needs_object=yes 10818 tmp_sharedflag='-G' ;; 10819 *Sun\ F*) # Sun Fortran 8.3 10820 tmp_sharedflag='-G' ;; 10821 esac 10822 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10823 10824 if test yes = "$supports_anon_versioning"; then 10825 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10826 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10827 echo "local: *; };" >> $output_objdir/$libname.ver~ 10828 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10829 fi 10830 10831 case $cc_basename in 10832 tcc*) 10833 export_dynamic_flag_spec='-rdynamic' 10834 ;; 10835 xlf* | bgf* | bgxlf* | mpixlf*) 10836 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10837 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10838 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10839 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10840 if test yes = "$supports_anon_versioning"; then 10841 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10842 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10843 echo "local: *; };" >> $output_objdir/$libname.ver~ 10844 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10845 fi 10846 ;; 10847 esac 10848 else 10849 ld_shlibs=no 10850 fi 10851 ;; 10852 10853 netbsd*) 10854 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10855 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10856 wlarc= 10857 else 10858 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10859 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10860 fi 10861 ;; 10862 10863 solaris*) 10864 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10865 ld_shlibs=no 10866 cat <<_LT_EOF 1>&2 10867 10868*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10869*** create shared libraries on Solaris systems. Therefore, libtool 10870*** is disabling shared libraries support. We urge you to upgrade GNU 10871*** binutils to release 2.9.1 or newer. Another option is to modify 10872*** your PATH or compiler configuration so that the native linker is 10873*** used, and then restart. 10874 10875_LT_EOF 10876 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10877 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10878 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10879 else 10880 ld_shlibs=no 10881 fi 10882 ;; 10883 10884 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10885 case `$LD -v 2>&1` in 10886 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10887 ld_shlibs=no 10888 cat <<_LT_EOF 1>&2 10889 10890*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10891*** reliably create shared libraries on SCO systems. Therefore, libtool 10892*** is disabling shared libraries support. We urge you to upgrade GNU 10893*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10894*** your PATH or compiler configuration so that the native linker is 10895*** used, and then restart. 10896 10897_LT_EOF 10898 ;; 10899 *) 10900 # For security reasons, it is highly recommended that you always 10901 # use absolute paths for naming shared libraries, and exclude the 10902 # DT_RUNPATH tag from executables and libraries. But doing so 10903 # requires that you compile everything twice, which is a pain. 10904 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10905 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10906 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10907 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10908 else 10909 ld_shlibs=no 10910 fi 10911 ;; 10912 esac 10913 ;; 10914 10915 sunos4*) 10916 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10917 wlarc= 10918 hardcode_direct=yes 10919 hardcode_shlibpath_var=no 10920 ;; 10921 10922 *) 10923 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10924 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10925 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10926 else 10927 ld_shlibs=no 10928 fi 10929 ;; 10930 esac 10931 10932 if test no = "$ld_shlibs"; then 10933 runpath_var= 10934 hardcode_libdir_flag_spec= 10935 export_dynamic_flag_spec= 10936 whole_archive_flag_spec= 10937 fi 10938 else 10939 # PORTME fill in a description of your system's linker (not GNU ld) 10940 case $host_os in 10941 aix3*) 10942 allow_undefined_flag=unsupported 10943 always_export_symbols=yes 10944 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' 10945 # Note: this linker hardcodes the directories in LIBPATH if there 10946 # are no directories specified by -L. 10947 hardcode_minus_L=yes 10948 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10949 # Neither direct hardcoding nor static linking is supported with a 10950 # broken collect2. 10951 hardcode_direct=unsupported 10952 fi 10953 ;; 10954 10955 aix[4-9]*) 10956 if test ia64 = "$host_cpu"; then 10957 # On IA64, the linker does run time linking by default, so we don't 10958 # have to do anything special. 10959 aix_use_runtimelinking=no 10960 exp_sym_flag='-Bexport' 10961 no_entry_flag= 10962 else 10963 # If we're using GNU nm, then we don't want the "-C" option. 10964 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10965 # Without the "-l" option, or with the "-B" option, AIX nm treats 10966 # weak defined symbols like other global defined symbols, whereas 10967 # GNU nm marks them as "W". 10968 # While the 'weak' keyword is ignored in the Export File, we need 10969 # it in the Import File for the 'aix-soname' feature, so we have 10970 # to replace the "-B" option with "-P" for AIX nm. 10971 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10972 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' 10973 else 10974 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 == "L") || (\$ 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' 10975 fi 10976 aix_use_runtimelinking=no 10977 10978 # Test if we are trying to use run time linking or normal 10979 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10980 # have runtime linking enabled, and use it for executables. 10981 # For shared libraries, we enable/disable runtime linking 10982 # depending on the kind of the shared library created - 10983 # when "with_aix_soname,aix_use_runtimelinking" is: 10984 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10985 # "aix,yes" lib.so shared, rtl:yes, for executables 10986 # lib.a static archive 10987 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10988 # lib.a(lib.so.V) shared, rtl:no, for executables 10989 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10990 # lib.a(lib.so.V) shared, rtl:no 10991 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10992 # lib.a static archive 10993 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10994 for ld_flag in $LDFLAGS; do 10995 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10996 aix_use_runtimelinking=yes 10997 break 10998 fi 10999 done 11000 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 11001 # With aix-soname=svr4, we create the lib.so.V shared archives only, 11002 # so we don't have lib.a shared libs to link our executables. 11003 # We have to force runtime linking in this case. 11004 aix_use_runtimelinking=yes 11005 LDFLAGS="$LDFLAGS -Wl,-brtl" 11006 fi 11007 ;; 11008 esac 11009 11010 exp_sym_flag='-bexport' 11011 no_entry_flag='-bnoentry' 11012 fi 11013 11014 # When large executables or shared objects are built, AIX ld can 11015 # have problems creating the table of contents. If linking a library 11016 # or program results in "error TOC overflow" add -mminimal-toc to 11017 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11018 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11019 11020 archive_cmds='' 11021 hardcode_direct=yes 11022 hardcode_direct_absolute=yes 11023 hardcode_libdir_separator=':' 11024 link_all_deplibs=yes 11025 file_list_spec='$wl-f,' 11026 case $with_aix_soname,$aix_use_runtimelinking in 11027 aix,*) ;; # traditional, no import file 11028 svr4,* | *,yes) # use import file 11029 # The Import File defines what to hardcode. 11030 hardcode_direct=no 11031 hardcode_direct_absolute=no 11032 ;; 11033 esac 11034 11035 if test yes = "$GCC"; then 11036 case $host_os in aix4.[012]|aix4.[012].*) 11037 # We only want to do this on AIX 4.2 and lower, the check 11038 # below for broken collect2 doesn't work under 4.3+ 11039 collect2name=`$CC -print-prog-name=collect2` 11040 if test -f "$collect2name" && 11041 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11042 then 11043 # We have reworked collect2 11044 : 11045 else 11046 # We have old collect2 11047 hardcode_direct=unsupported 11048 # It fails to find uninstalled libraries when the uninstalled 11049 # path is not listed in the libpath. Setting hardcode_minus_L 11050 # to unsupported forces relinking 11051 hardcode_minus_L=yes 11052 hardcode_libdir_flag_spec='-L$libdir' 11053 hardcode_libdir_separator= 11054 fi 11055 ;; 11056 esac 11057 shared_flag='-shared' 11058 if test yes = "$aix_use_runtimelinking"; then 11059 shared_flag="$shared_flag "'$wl-G' 11060 fi 11061 # Need to ensure runtime linking is disabled for the traditional 11062 # shared library, or the linker may eventually find shared libraries 11063 # /with/ Import File - we do not want to mix them. 11064 shared_flag_aix='-shared' 11065 shared_flag_svr4='-shared $wl-G' 11066 else 11067 # not using gcc 11068 if test ia64 = "$host_cpu"; then 11069 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11070 # chokes on -Wl,-G. The following line is correct: 11071 shared_flag='-G' 11072 else 11073 if test yes = "$aix_use_runtimelinking"; then 11074 shared_flag='$wl-G' 11075 else 11076 shared_flag='$wl-bM:SRE' 11077 fi 11078 shared_flag_aix='$wl-bM:SRE' 11079 shared_flag_svr4='$wl-G' 11080 fi 11081 fi 11082 11083 export_dynamic_flag_spec='$wl-bexpall' 11084 # It seems that -bexpall does not export symbols beginning with 11085 # underscore (_), so it is better to generate a list of symbols to export. 11086 always_export_symbols=yes 11087 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11088 # Warning - without using the other runtime loading flags (-brtl), 11089 # -berok will link without error, but may produce a broken library. 11090 allow_undefined_flag='-berok' 11091 # Determine the default libpath from the value encoded in an 11092 # empty executable. 11093 if test set = "${lt_cv_aix_libpath+set}"; then 11094 aix_libpath=$lt_cv_aix_libpath 11095else 11096 if ${lt_cv_aix_libpath_+:} false; then : 11097 $as_echo_n "(cached) " >&6 11098else 11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11100/* end confdefs.h. */ 11101 11102int 11103main () 11104{ 11105 11106 ; 11107 return 0; 11108} 11109_ACEOF 11110if ac_fn_c_try_link "$LINENO"; then : 11111 11112 lt_aix_libpath_sed=' 11113 /Import File Strings/,/^$/ { 11114 /^0/ { 11115 s/^0 *\([^ ]*\) *$/\1/ 11116 p 11117 } 11118 }' 11119 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11120 # Check for a 64-bit object if we didn't find anything. 11121 if test -z "$lt_cv_aix_libpath_"; then 11122 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11123 fi 11124fi 11125rm -f core conftest.err conftest.$ac_objext \ 11126 conftest$ac_exeext conftest.$ac_ext 11127 if test -z "$lt_cv_aix_libpath_"; then 11128 lt_cv_aix_libpath_=/usr/lib:/lib 11129 fi 11130 11131fi 11132 11133 aix_libpath=$lt_cv_aix_libpath_ 11134fi 11135 11136 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11137 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 11138 else 11139 if test ia64 = "$host_cpu"; then 11140 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11141 allow_undefined_flag="-z nodefs" 11142 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" 11143 else 11144 # Determine the default libpath from the value encoded in an 11145 # empty executable. 11146 if test set = "${lt_cv_aix_libpath+set}"; then 11147 aix_libpath=$lt_cv_aix_libpath 11148else 11149 if ${lt_cv_aix_libpath_+:} false; then : 11150 $as_echo_n "(cached) " >&6 11151else 11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11153/* end confdefs.h. */ 11154 11155int 11156main () 11157{ 11158 11159 ; 11160 return 0; 11161} 11162_ACEOF 11163if ac_fn_c_try_link "$LINENO"; then : 11164 11165 lt_aix_libpath_sed=' 11166 /Import File Strings/,/^$/ { 11167 /^0/ { 11168 s/^0 *\([^ ]*\) *$/\1/ 11169 p 11170 } 11171 }' 11172 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11173 # Check for a 64-bit object if we didn't find anything. 11174 if test -z "$lt_cv_aix_libpath_"; then 11175 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11176 fi 11177fi 11178rm -f core conftest.err conftest.$ac_objext \ 11179 conftest$ac_exeext conftest.$ac_ext 11180 if test -z "$lt_cv_aix_libpath_"; then 11181 lt_cv_aix_libpath_=/usr/lib:/lib 11182 fi 11183 11184fi 11185 11186 aix_libpath=$lt_cv_aix_libpath_ 11187fi 11188 11189 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11190 # Warning - without using the other run time loading flags, 11191 # -berok will link without error, but may produce a broken library. 11192 no_undefined_flag=' $wl-bernotok' 11193 allow_undefined_flag=' $wl-berok' 11194 if test yes = "$with_gnu_ld"; then 11195 # We only use this code for GNU lds that support --whole-archive. 11196 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11197 else 11198 # Exported symbols can be pulled into shared objects from archives 11199 whole_archive_flag_spec='$convenience' 11200 fi 11201 archive_cmds_need_lc=yes 11202 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11203 # -brtl affects multiple linker settings, -berok does not and is overridden later 11204 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11205 if test svr4 != "$with_aix_soname"; then 11206 # This is similar to how AIX traditionally builds its shared libraries. 11207 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' 11208 fi 11209 if test aix != "$with_aix_soname"; then 11210 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' 11211 else 11212 # used by -dlpreopen to get the symbols 11213 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11214 fi 11215 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11216 fi 11217 fi 11218 ;; 11219 11220 amigaos*) 11221 case $host_cpu in 11222 powerpc) 11223 # see comment about AmigaOS4 .so support 11224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11225 archive_expsym_cmds='' 11226 ;; 11227 m68k) 11228 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)' 11229 hardcode_libdir_flag_spec='-L$libdir' 11230 hardcode_minus_L=yes 11231 ;; 11232 esac 11233 ;; 11234 11235 bsdi[45]*) 11236 export_dynamic_flag_spec=-rdynamic 11237 ;; 11238 11239 cygwin* | mingw* | pw32* | cegcc*) 11240 # When not using gcc, we currently assume that we are using 11241 # Microsoft Visual C++. 11242 # hardcode_libdir_flag_spec is actually meaningless, as there is 11243 # no search path for DLLs. 11244 case $cc_basename in 11245 cl*) 11246 # Native MSVC 11247 hardcode_libdir_flag_spec=' ' 11248 allow_undefined_flag=unsupported 11249 always_export_symbols=yes 11250 file_list_spec='@' 11251 # Tell ltmain to make .lib files, not .a files. 11252 libext=lib 11253 # Tell ltmain to make .dll files, not .so files. 11254 shrext_cmds=.dll 11255 # FIXME: Setting linknames here is a bad hack. 11256 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11257 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11258 cp "$export_symbols" "$output_objdir/$soname.def"; 11259 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11260 else 11261 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11262 fi~ 11263 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11264 linknames=' 11265 # The linker will not automatically build a static lib if we build a DLL. 11266 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11267 enable_shared_with_static_runtimes=yes 11268 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11269 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11270 # Don't use ranlib 11271 old_postinstall_cmds='chmod 644 $oldlib' 11272 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11273 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11274 case $lt_outputfile in 11275 *.exe|*.EXE) ;; 11276 *) 11277 lt_outputfile=$lt_outputfile.exe 11278 lt_tool_outputfile=$lt_tool_outputfile.exe 11279 ;; 11280 esac~ 11281 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11282 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11283 $RM "$lt_outputfile.manifest"; 11284 fi' 11285 ;; 11286 *) 11287 # Assume MSVC wrapper 11288 hardcode_libdir_flag_spec=' ' 11289 allow_undefined_flag=unsupported 11290 # Tell ltmain to make .lib files, not .a files. 11291 libext=lib 11292 # Tell ltmain to make .dll files, not .so files. 11293 shrext_cmds=.dll 11294 # FIXME: Setting linknames here is a bad hack. 11295 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11296 # The linker will automatically build a .lib file if we build a DLL. 11297 old_archive_from_new_cmds='true' 11298 # FIXME: Should let the user specify the lib program. 11299 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11300 enable_shared_with_static_runtimes=yes 11301 ;; 11302 esac 11303 ;; 11304 11305 darwin* | rhapsody*) 11306 11307 11308 archive_cmds_need_lc=no 11309 hardcode_direct=no 11310 hardcode_automatic=yes 11311 hardcode_shlibpath_var=unsupported 11312 if test yes = "$lt_cv_ld_force_load"; then 11313 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\"`' 11314 11315 else 11316 whole_archive_flag_spec='' 11317 fi 11318 link_all_deplibs=yes 11319 allow_undefined_flag=$_lt_dar_allow_undefined 11320 case $cc_basename in 11321 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11322 *) _lt_dar_can_shared=$GCC ;; 11323 esac 11324 if test yes = "$_lt_dar_can_shared"; then 11325 output_verbose_link_cmd=func_echo_all 11326 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11327 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11328 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" 11329 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" 11330 11331 else 11332 ld_shlibs=no 11333 fi 11334 11335 ;; 11336 11337 dgux*) 11338 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11339 hardcode_libdir_flag_spec='-L$libdir' 11340 hardcode_shlibpath_var=no 11341 ;; 11342 11343 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11344 # support. Future versions do this automatically, but an explicit c++rt0.o 11345 # does not break anything, and helps significantly (at the cost of a little 11346 # extra space). 11347 freebsd2.2*) 11348 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11349 hardcode_libdir_flag_spec='-R$libdir' 11350 hardcode_direct=yes 11351 hardcode_shlibpath_var=no 11352 ;; 11353 11354 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11355 freebsd2.*) 11356 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11357 hardcode_direct=yes 11358 hardcode_minus_L=yes 11359 hardcode_shlibpath_var=no 11360 ;; 11361 11362 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11363 freebsd* | dragonfly*) 11364 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11365 hardcode_libdir_flag_spec='-R$libdir' 11366 hardcode_direct=yes 11367 hardcode_shlibpath_var=no 11368 ;; 11369 11370 hpux9*) 11371 if test yes = "$GCC"; then 11372 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' 11373 else 11374 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' 11375 fi 11376 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11377 hardcode_libdir_separator=: 11378 hardcode_direct=yes 11379 11380 # hardcode_minus_L: Not really in the search PATH, 11381 # but as the default location of the library. 11382 hardcode_minus_L=yes 11383 export_dynamic_flag_spec='$wl-E' 11384 ;; 11385 11386 hpux10*) 11387 if test yes,no = "$GCC,$with_gnu_ld"; then 11388 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11389 else 11390 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11391 fi 11392 if test no = "$with_gnu_ld"; then 11393 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11394 hardcode_libdir_separator=: 11395 hardcode_direct=yes 11396 hardcode_direct_absolute=yes 11397 export_dynamic_flag_spec='$wl-E' 11398 # hardcode_minus_L: Not really in the search PATH, 11399 # but as the default location of the library. 11400 hardcode_minus_L=yes 11401 fi 11402 ;; 11403 11404 hpux11*) 11405 if test yes,no = "$GCC,$with_gnu_ld"; then 11406 case $host_cpu in 11407 hppa*64*) 11408 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11409 ;; 11410 ia64*) 11411 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11412 ;; 11413 *) 11414 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11415 ;; 11416 esac 11417 else 11418 case $host_cpu in 11419 hppa*64*) 11420 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11421 ;; 11422 ia64*) 11423 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11424 ;; 11425 *) 11426 11427 # Older versions of the 11.00 compiler do not understand -b yet 11428 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11430$as_echo_n "checking if $CC understands -b... " >&6; } 11431if ${lt_cv_prog_compiler__b+:} false; then : 11432 $as_echo_n "(cached) " >&6 11433else 11434 lt_cv_prog_compiler__b=no 11435 save_LDFLAGS=$LDFLAGS 11436 LDFLAGS="$LDFLAGS -b" 11437 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11438 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11439 # The linker can only warn and ignore the option if not recognized 11440 # So say no if there are warnings 11441 if test -s conftest.err; then 11442 # Append any errors to the config.log. 11443 cat conftest.err 1>&5 11444 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11445 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11446 if diff conftest.exp conftest.er2 >/dev/null; then 11447 lt_cv_prog_compiler__b=yes 11448 fi 11449 else 11450 lt_cv_prog_compiler__b=yes 11451 fi 11452 fi 11453 $RM -r conftest* 11454 LDFLAGS=$save_LDFLAGS 11455 11456fi 11457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11458$as_echo "$lt_cv_prog_compiler__b" >&6; } 11459 11460if test yes = "$lt_cv_prog_compiler__b"; then 11461 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11462else 11463 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11464fi 11465 11466 ;; 11467 esac 11468 fi 11469 if test no = "$with_gnu_ld"; then 11470 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11471 hardcode_libdir_separator=: 11472 11473 case $host_cpu in 11474 hppa*64*|ia64*) 11475 hardcode_direct=no 11476 hardcode_shlibpath_var=no 11477 ;; 11478 *) 11479 hardcode_direct=yes 11480 hardcode_direct_absolute=yes 11481 export_dynamic_flag_spec='$wl-E' 11482 11483 # hardcode_minus_L: Not really in the search PATH, 11484 # but as the default location of the library. 11485 hardcode_minus_L=yes 11486 ;; 11487 esac 11488 fi 11489 ;; 11490 11491 irix5* | irix6* | nonstopux*) 11492 if test yes = "$GCC"; then 11493 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' 11494 # Try to use the -exported_symbol ld option, if it does not 11495 # work, assume that -exports_file does not work either and 11496 # implicitly export all symbols. 11497 # This should be the same for all languages, so no per-tag cache variable. 11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11499$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11500if ${lt_cv_irix_exported_symbol+:} false; then : 11501 $as_echo_n "(cached) " >&6 11502else 11503 save_LDFLAGS=$LDFLAGS 11504 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11506/* end confdefs.h. */ 11507int foo (void) { return 0; } 11508_ACEOF 11509if ac_fn_c_try_link "$LINENO"; then : 11510 lt_cv_irix_exported_symbol=yes 11511else 11512 lt_cv_irix_exported_symbol=no 11513fi 11514rm -f core conftest.err conftest.$ac_objext \ 11515 conftest$ac_exeext conftest.$ac_ext 11516 LDFLAGS=$save_LDFLAGS 11517fi 11518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11519$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11520 if test yes = "$lt_cv_irix_exported_symbol"; then 11521 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' 11522 fi 11523 else 11524 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' 11525 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' 11526 fi 11527 archive_cmds_need_lc='no' 11528 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11529 hardcode_libdir_separator=: 11530 inherit_rpath=yes 11531 link_all_deplibs=yes 11532 ;; 11533 11534 linux*) 11535 case $cc_basename in 11536 tcc*) 11537 # Fabrice Bellard et al's Tiny C Compiler 11538 ld_shlibs=yes 11539 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11540 ;; 11541 esac 11542 ;; 11543 11544 netbsd*) 11545 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11546 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11547 else 11548 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11549 fi 11550 hardcode_libdir_flag_spec='-R$libdir' 11551 hardcode_direct=yes 11552 hardcode_shlibpath_var=no 11553 ;; 11554 11555 newsos6) 11556 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11557 hardcode_direct=yes 11558 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11559 hardcode_libdir_separator=: 11560 hardcode_shlibpath_var=no 11561 ;; 11562 11563 *nto* | *qnx*) 11564 ;; 11565 11566 openbsd* | bitrig*) 11567 if test -f /usr/libexec/ld.so; then 11568 hardcode_direct=yes 11569 hardcode_shlibpath_var=no 11570 hardcode_direct_absolute=yes 11571 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11572 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11573 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11574 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11575 export_dynamic_flag_spec='$wl-E' 11576 else 11577 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11578 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11579 fi 11580 else 11581 ld_shlibs=no 11582 fi 11583 ;; 11584 11585 os2*) 11586 hardcode_libdir_flag_spec='-L$libdir' 11587 hardcode_minus_L=yes 11588 allow_undefined_flag=unsupported 11589 shrext_cmds=.dll 11590 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11591 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11592 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11593 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11594 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11595 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11596 emximp -o $lib $output_objdir/$libname.def' 11597 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11598 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11599 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11600 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11601 prefix_cmds="$SED"~ 11602 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11603 prefix_cmds="$prefix_cmds -e 1d"; 11604 fi~ 11605 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11606 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11607 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11608 emximp -o $lib $output_objdir/$libname.def' 11609 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11610 enable_shared_with_static_runtimes=yes 11611 file_list_spec='@' 11612 ;; 11613 11614 osf3*) 11615 if test yes = "$GCC"; then 11616 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11617 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' 11618 else 11619 allow_undefined_flag=' -expect_unresolved \*' 11620 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' 11621 fi 11622 archive_cmds_need_lc='no' 11623 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11624 hardcode_libdir_separator=: 11625 ;; 11626 11627 osf4* | osf5*) # as osf3* with the addition of -msym flag 11628 if test yes = "$GCC"; then 11629 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11630 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' 11631 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11632 else 11633 allow_undefined_flag=' -expect_unresolved \*' 11634 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' 11635 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~ 11636 $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' 11637 11638 # Both c and cxx compiler support -rpath directly 11639 hardcode_libdir_flag_spec='-rpath $libdir' 11640 fi 11641 archive_cmds_need_lc='no' 11642 hardcode_libdir_separator=: 11643 ;; 11644 11645 solaris*) 11646 no_undefined_flag=' -z defs' 11647 if test yes = "$GCC"; then 11648 wlarc='$wl' 11649 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11650 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11651 $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' 11652 else 11653 case `$CC -V 2>&1` in 11654 *"Compilers 5.0"*) 11655 wlarc='' 11656 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11657 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11658 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11659 ;; 11660 *) 11661 wlarc='$wl' 11662 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11663 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11664 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11665 ;; 11666 esac 11667 fi 11668 hardcode_libdir_flag_spec='-R$libdir' 11669 hardcode_shlibpath_var=no 11670 case $host_os in 11671 solaris2.[0-5] | solaris2.[0-5].*) ;; 11672 *) 11673 # The compiler driver will combine and reorder linker options, 11674 # but understands '-z linker_flag'. GCC discards it without '$wl', 11675 # but is careful enough not to reorder. 11676 # Supported since Solaris 2.6 (maybe 2.5.1?) 11677 if test yes = "$GCC"; then 11678 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11679 else 11680 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11681 fi 11682 ;; 11683 esac 11684 link_all_deplibs=yes 11685 ;; 11686 11687 sunos4*) 11688 if test sequent = "$host_vendor"; then 11689 # Use $CC to link under sequent, because it throws in some extra .o 11690 # files that make .init and .fini sections work. 11691 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11692 else 11693 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11694 fi 11695 hardcode_libdir_flag_spec='-L$libdir' 11696 hardcode_direct=yes 11697 hardcode_minus_L=yes 11698 hardcode_shlibpath_var=no 11699 ;; 11700 11701 sysv4) 11702 case $host_vendor in 11703 sni) 11704 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11705 hardcode_direct=yes # is this really true??? 11706 ;; 11707 siemens) 11708 ## LD is ld it makes a PLAMLIB 11709 ## CC just makes a GrossModule. 11710 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11711 reload_cmds='$CC -r -o $output$reload_objs' 11712 hardcode_direct=no 11713 ;; 11714 motorola) 11715 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11716 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11717 ;; 11718 esac 11719 runpath_var='LD_RUN_PATH' 11720 hardcode_shlibpath_var=no 11721 ;; 11722 11723 sysv4.3*) 11724 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11725 hardcode_shlibpath_var=no 11726 export_dynamic_flag_spec='-Bexport' 11727 ;; 11728 11729 sysv4*MP*) 11730 if test -d /usr/nec; then 11731 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11732 hardcode_shlibpath_var=no 11733 runpath_var=LD_RUN_PATH 11734 hardcode_runpath_var=yes 11735 ld_shlibs=yes 11736 fi 11737 ;; 11738 11739 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11740 no_undefined_flag='$wl-z,text' 11741 archive_cmds_need_lc=no 11742 hardcode_shlibpath_var=no 11743 runpath_var='LD_RUN_PATH' 11744 11745 if test yes = "$GCC"; then 11746 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11747 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11748 else 11749 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11750 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11751 fi 11752 ;; 11753 11754 sysv5* | sco3.2v5* | sco5v6*) 11755 # Note: We CANNOT use -z defs as we might desire, because we do not 11756 # link with -lc, and that would cause any symbols used from libc to 11757 # always be unresolved, which means just about no library would 11758 # ever link correctly. If we're not using GNU ld we use -z text 11759 # though, which does catch some bad symbols but isn't as heavy-handed 11760 # as -z defs. 11761 no_undefined_flag='$wl-z,text' 11762 allow_undefined_flag='$wl-z,nodefs' 11763 archive_cmds_need_lc=no 11764 hardcode_shlibpath_var=no 11765 hardcode_libdir_flag_spec='$wl-R,$libdir' 11766 hardcode_libdir_separator=':' 11767 link_all_deplibs=yes 11768 export_dynamic_flag_spec='$wl-Bexport' 11769 runpath_var='LD_RUN_PATH' 11770 11771 if test yes = "$GCC"; then 11772 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11773 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11774 else 11775 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11776 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11777 fi 11778 ;; 11779 11780 uts4*) 11781 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11782 hardcode_libdir_flag_spec='-L$libdir' 11783 hardcode_shlibpath_var=no 11784 ;; 11785 11786 *) 11787 ld_shlibs=no 11788 ;; 11789 esac 11790 11791 if test sni = "$host_vendor"; then 11792 case $host in 11793 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11794 export_dynamic_flag_spec='$wl-Blargedynsym' 11795 ;; 11796 esac 11797 fi 11798 fi 11799 11800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11801$as_echo "$ld_shlibs" >&6; } 11802test no = "$ld_shlibs" && can_build_shared=no 11803 11804with_gnu_ld=$with_gnu_ld 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820# 11821# Do we need to explicitly link libc? 11822# 11823case "x$archive_cmds_need_lc" in 11824x|xyes) 11825 # Assume -lc should be added 11826 archive_cmds_need_lc=yes 11827 11828 if test yes,yes = "$GCC,$enable_shared"; then 11829 case $archive_cmds in 11830 *'~'*) 11831 # FIXME: we may have to deal with multi-command sequences. 11832 ;; 11833 '$CC '*) 11834 # Test whether the compiler implicitly links with -lc since on some 11835 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11836 # to ld, don't add -lc before -lgcc. 11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11838$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11839if ${lt_cv_archive_cmds_need_lc+:} false; then : 11840 $as_echo_n "(cached) " >&6 11841else 11842 $RM conftest* 11843 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11844 11845 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11846 (eval $ac_compile) 2>&5 11847 ac_status=$? 11848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11849 test $ac_status = 0; } 2>conftest.err; then 11850 soname=conftest 11851 lib=conftest 11852 libobjs=conftest.$ac_objext 11853 deplibs= 11854 wl=$lt_prog_compiler_wl 11855 pic_flag=$lt_prog_compiler_pic 11856 compiler_flags=-v 11857 linker_flags=-v 11858 verstring= 11859 output_objdir=. 11860 libname=conftest 11861 lt_save_allow_undefined_flag=$allow_undefined_flag 11862 allow_undefined_flag= 11863 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11864 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11865 ac_status=$? 11866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11867 test $ac_status = 0; } 11868 then 11869 lt_cv_archive_cmds_need_lc=no 11870 else 11871 lt_cv_archive_cmds_need_lc=yes 11872 fi 11873 allow_undefined_flag=$lt_save_allow_undefined_flag 11874 else 11875 cat conftest.err 1>&5 11876 fi 11877 $RM conftest* 11878 11879fi 11880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11881$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11882 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11883 ;; 11884 esac 11885 fi 11886 ;; 11887esac 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12041$as_echo_n "checking dynamic linker characteristics... " >&6; } 12042 12043if test yes = "$GCC"; then 12044 case $host_os in 12045 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12046 *) lt_awk_arg='/^libraries:/' ;; 12047 esac 12048 case $host_os in 12049 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12050 *) lt_sed_strip_eq='s|=/|/|g' ;; 12051 esac 12052 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12053 case $lt_search_path_spec in 12054 *\;*) 12055 # if the path contains ";" then we assume it to be the separator 12056 # otherwise default to the standard path separator (i.e. ":") - it is 12057 # assumed that no part of a normal pathname contains ";" but that should 12058 # okay in the real world where ";" in dirpaths is itself problematic. 12059 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12060 ;; 12061 *) 12062 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12063 ;; 12064 esac 12065 # Ok, now we have the path, separated by spaces, we can step through it 12066 # and add multilib dir if necessary... 12067 lt_tmp_lt_search_path_spec= 12068 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12069 # ...but if some path component already ends with the multilib dir we assume 12070 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12071 case "$lt_multi_os_dir; $lt_search_path_spec " in 12072 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12073 lt_multi_os_dir= 12074 ;; 12075 esac 12076 for lt_sys_path in $lt_search_path_spec; do 12077 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12078 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12079 elif test -n "$lt_multi_os_dir"; then 12080 test -d "$lt_sys_path" && \ 12081 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12082 fi 12083 done 12084 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12085BEGIN {RS = " "; FS = "/|\n";} { 12086 lt_foo = ""; 12087 lt_count = 0; 12088 for (lt_i = NF; lt_i > 0; lt_i--) { 12089 if ($lt_i != "" && $lt_i != ".") { 12090 if ($lt_i == "..") { 12091 lt_count++; 12092 } else { 12093 if (lt_count == 0) { 12094 lt_foo = "/" $lt_i lt_foo; 12095 } else { 12096 lt_count--; 12097 } 12098 } 12099 } 12100 } 12101 if (lt_foo != "") { lt_freq[lt_foo]++; } 12102 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12103}'` 12104 # AWK program above erroneously prepends '/' to C:/dos/paths 12105 # for these hosts. 12106 case $host_os in 12107 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12108 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12109 esac 12110 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12111else 12112 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12113fi 12114library_names_spec= 12115libname_spec='lib$name' 12116soname_spec= 12117shrext_cmds=.so 12118postinstall_cmds= 12119postuninstall_cmds= 12120finish_cmds= 12121finish_eval= 12122shlibpath_var= 12123shlibpath_overrides_runpath=unknown 12124version_type=none 12125dynamic_linker="$host_os ld.so" 12126sys_lib_dlsearch_path_spec="/lib /usr/lib" 12127need_lib_prefix=unknown 12128hardcode_into_libs=no 12129 12130# when you set need_version to no, make sure it does not cause -set_version 12131# flags to be left without arguments 12132need_version=unknown 12133 12134 12135 12136case $host_os in 12137aix3*) 12138 version_type=linux # correct to gnu/linux during the next big refactor 12139 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12140 shlibpath_var=LIBPATH 12141 12142 # AIX 3 has no versioning support, so we append a major version to the name. 12143 soname_spec='$libname$release$shared_ext$major' 12144 ;; 12145 12146aix[4-9]*) 12147 version_type=linux # correct to gnu/linux during the next big refactor 12148 need_lib_prefix=no 12149 need_version=no 12150 hardcode_into_libs=yes 12151 if test ia64 = "$host_cpu"; then 12152 # AIX 5 supports IA64 12153 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12154 shlibpath_var=LD_LIBRARY_PATH 12155 else 12156 # With GCC up to 2.95.x, collect2 would create an import file 12157 # for dependence libraries. The import file would start with 12158 # the line '#! .'. This would cause the generated library to 12159 # depend on '.', always an invalid library. This was fixed in 12160 # development snapshots of GCC prior to 3.0. 12161 case $host_os in 12162 aix4 | aix4.[01] | aix4.[01].*) 12163 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12164 echo ' yes ' 12165 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12166 : 12167 else 12168 can_build_shared=no 12169 fi 12170 ;; 12171 esac 12172 # Using Import Files as archive members, it is possible to support 12173 # filename-based versioning of shared library archives on AIX. While 12174 # this would work for both with and without runtime linking, it will 12175 # prevent static linking of such archives. So we do filename-based 12176 # shared library versioning with .so extension only, which is used 12177 # when both runtime linking and shared linking is enabled. 12178 # Unfortunately, runtime linking may impact performance, so we do 12179 # not want this to be the default eventually. Also, we use the 12180 # versioned .so libs for executables only if there is the -brtl 12181 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12182 # To allow for filename-based versioning support, we need to create 12183 # libNAME.so.V as an archive file, containing: 12184 # *) an Import File, referring to the versioned filename of the 12185 # archive as well as the shared archive member, telling the 12186 # bitwidth (32 or 64) of that shared object, and providing the 12187 # list of exported symbols of that shared object, eventually 12188 # decorated with the 'weak' keyword 12189 # *) the shared object with the F_LOADONLY flag set, to really avoid 12190 # it being seen by the linker. 12191 # At run time we better use the real file rather than another symlink, 12192 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12193 12194 case $with_aix_soname,$aix_use_runtimelinking in 12195 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12196 # soname into executable. Probably we can add versioning support to 12197 # collect2, so additional links can be useful in future. 12198 aix,yes) # traditional libtool 12199 dynamic_linker='AIX unversionable lib.so' 12200 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12201 # instead of lib<name>.a to let people know that these are not 12202 # typical AIX shared libraries. 12203 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12204 ;; 12205 aix,no) # traditional AIX only 12206 dynamic_linker='AIX lib.a(lib.so.V)' 12207 # We preserve .a as extension for shared libraries through AIX4.2 12208 # and later when we are not doing run time linking. 12209 library_names_spec='$libname$release.a $libname.a' 12210 soname_spec='$libname$release$shared_ext$major' 12211 ;; 12212 svr4,*) # full svr4 only 12213 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12214 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12215 # We do not specify a path in Import Files, so LIBPATH fires. 12216 shlibpath_overrides_runpath=yes 12217 ;; 12218 *,yes) # both, prefer svr4 12219 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12220 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12221 # unpreferred sharedlib libNAME.a needs extra handling 12222 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"' 12223 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"' 12224 # We do not specify a path in Import Files, so LIBPATH fires. 12225 shlibpath_overrides_runpath=yes 12226 ;; 12227 *,no) # both, prefer aix 12228 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12229 library_names_spec='$libname$release.a $libname.a' 12230 soname_spec='$libname$release$shared_ext$major' 12231 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12232 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)' 12233 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"' 12234 ;; 12235 esac 12236 shlibpath_var=LIBPATH 12237 fi 12238 ;; 12239 12240amigaos*) 12241 case $host_cpu in 12242 powerpc) 12243 # Since July 2007 AmigaOS4 officially supports .so libraries. 12244 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12245 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12246 ;; 12247 m68k) 12248 library_names_spec='$libname.ixlibrary $libname.a' 12249 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12250 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' 12251 ;; 12252 esac 12253 ;; 12254 12255beos*) 12256 library_names_spec='$libname$shared_ext' 12257 dynamic_linker="$host_os ld.so" 12258 shlibpath_var=LIBRARY_PATH 12259 ;; 12260 12261bsdi[45]*) 12262 version_type=linux # correct to gnu/linux during the next big refactor 12263 need_version=no 12264 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12265 soname_spec='$libname$release$shared_ext$major' 12266 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12267 shlibpath_var=LD_LIBRARY_PATH 12268 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12269 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12270 # the default ld.so.conf also contains /usr/contrib/lib and 12271 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12272 # libtool to hard-code these into programs 12273 ;; 12274 12275cygwin* | mingw* | pw32* | cegcc*) 12276 version_type=windows 12277 shrext_cmds=.dll 12278 need_version=no 12279 need_lib_prefix=no 12280 12281 case $GCC,$cc_basename in 12282 yes,*) 12283 # gcc 12284 library_names_spec='$libname.dll.a' 12285 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12286 postinstall_cmds='base_file=`basename \$file`~ 12287 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12288 dldir=$destdir/`dirname \$dlpath`~ 12289 test -d \$dldir || mkdir -p \$dldir~ 12290 $install_prog $dir/$dlname \$dldir/$dlname~ 12291 chmod a+x \$dldir/$dlname~ 12292 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12293 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12294 fi' 12295 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12296 dlpath=$dir/\$dldll~ 12297 $RM \$dlpath' 12298 shlibpath_overrides_runpath=yes 12299 12300 case $host_os in 12301 cygwin*) 12302 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12303 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12304 12305 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12306 ;; 12307 mingw* | cegcc*) 12308 # MinGW DLLs use traditional 'lib' prefix 12309 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12310 ;; 12311 pw32*) 12312 # pw32 DLLs use 'pw' prefix rather than 'lib' 12313 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12314 ;; 12315 esac 12316 dynamic_linker='Win32 ld.exe' 12317 ;; 12318 12319 *,cl*) 12320 # Native MSVC 12321 libname_spec='$name' 12322 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12323 library_names_spec='$libname.dll.lib' 12324 12325 case $build_os in 12326 mingw*) 12327 sys_lib_search_path_spec= 12328 lt_save_ifs=$IFS 12329 IFS=';' 12330 for lt_path in $LIB 12331 do 12332 IFS=$lt_save_ifs 12333 # Let DOS variable expansion print the short 8.3 style file name. 12334 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12335 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12336 done 12337 IFS=$lt_save_ifs 12338 # Convert to MSYS style. 12339 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12340 ;; 12341 cygwin*) 12342 # Convert to unix form, then to dos form, then back to unix form 12343 # but this time dos style (no spaces!) so that the unix form looks 12344 # like /cygdrive/c/PROGRA~1:/cygdr... 12345 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12346 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12347 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12348 ;; 12349 *) 12350 sys_lib_search_path_spec=$LIB 12351 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12352 # It is most probably a Windows format PATH. 12353 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12354 else 12355 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12356 fi 12357 # FIXME: find the short name or the path components, as spaces are 12358 # common. (e.g. "Program Files" -> "PROGRA~1") 12359 ;; 12360 esac 12361 12362 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12363 postinstall_cmds='base_file=`basename \$file`~ 12364 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12365 dldir=$destdir/`dirname \$dlpath`~ 12366 test -d \$dldir || mkdir -p \$dldir~ 12367 $install_prog $dir/$dlname \$dldir/$dlname' 12368 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12369 dlpath=$dir/\$dldll~ 12370 $RM \$dlpath' 12371 shlibpath_overrides_runpath=yes 12372 dynamic_linker='Win32 link.exe' 12373 ;; 12374 12375 *) 12376 # Assume MSVC wrapper 12377 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12378 dynamic_linker='Win32 ld.exe' 12379 ;; 12380 esac 12381 # FIXME: first we should search . and the directory the executable is in 12382 shlibpath_var=PATH 12383 ;; 12384 12385darwin* | rhapsody*) 12386 dynamic_linker="$host_os dyld" 12387 version_type=darwin 12388 need_lib_prefix=no 12389 need_version=no 12390 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12391 soname_spec='$libname$release$major$shared_ext' 12392 shlibpath_overrides_runpath=yes 12393 shlibpath_var=DYLD_LIBRARY_PATH 12394 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12395 12396 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12397 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12398 ;; 12399 12400dgux*) 12401 version_type=linux # correct to gnu/linux during the next big refactor 12402 need_lib_prefix=no 12403 need_version=no 12404 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12405 soname_spec='$libname$release$shared_ext$major' 12406 shlibpath_var=LD_LIBRARY_PATH 12407 ;; 12408 12409freebsd* | dragonfly*) 12410 # DragonFly does not have aout. When/if they implement a new 12411 # versioning mechanism, adjust this. 12412 if test -x /usr/bin/objformat; then 12413 objformat=`/usr/bin/objformat` 12414 else 12415 case $host_os in 12416 freebsd[23].*) objformat=aout ;; 12417 *) objformat=elf ;; 12418 esac 12419 fi 12420 version_type=freebsd-$objformat 12421 case $version_type in 12422 freebsd-elf*) 12423 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12424 soname_spec='$libname$release$shared_ext$major' 12425 need_version=no 12426 need_lib_prefix=no 12427 ;; 12428 freebsd-*) 12429 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12430 need_version=yes 12431 ;; 12432 esac 12433 shlibpath_var=LD_LIBRARY_PATH 12434 case $host_os in 12435 freebsd2.*) 12436 shlibpath_overrides_runpath=yes 12437 ;; 12438 freebsd3.[01]* | freebsdelf3.[01]*) 12439 shlibpath_overrides_runpath=yes 12440 hardcode_into_libs=yes 12441 ;; 12442 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12443 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12444 shlibpath_overrides_runpath=no 12445 hardcode_into_libs=yes 12446 ;; 12447 *) # from 4.6 on, and DragonFly 12448 shlibpath_overrides_runpath=yes 12449 hardcode_into_libs=yes 12450 ;; 12451 esac 12452 ;; 12453 12454haiku*) 12455 version_type=linux # correct to gnu/linux during the next big refactor 12456 need_lib_prefix=no 12457 need_version=no 12458 dynamic_linker="$host_os runtime_loader" 12459 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12460 soname_spec='$libname$release$shared_ext$major' 12461 shlibpath_var=LIBRARY_PATH 12462 shlibpath_overrides_runpath=no 12463 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12464 hardcode_into_libs=yes 12465 ;; 12466 12467hpux9* | hpux10* | hpux11*) 12468 # Give a soname corresponding to the major version so that dld.sl refuses to 12469 # link against other versions. 12470 version_type=sunos 12471 need_lib_prefix=no 12472 need_version=no 12473 case $host_cpu in 12474 ia64*) 12475 shrext_cmds='.so' 12476 hardcode_into_libs=yes 12477 dynamic_linker="$host_os dld.so" 12478 shlibpath_var=LD_LIBRARY_PATH 12479 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12480 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12481 soname_spec='$libname$release$shared_ext$major' 12482 if test 32 = "$HPUX_IA64_MODE"; then 12483 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12484 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12485 else 12486 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12487 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12488 fi 12489 ;; 12490 hppa*64*) 12491 shrext_cmds='.sl' 12492 hardcode_into_libs=yes 12493 dynamic_linker="$host_os dld.sl" 12494 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12495 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12496 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12497 soname_spec='$libname$release$shared_ext$major' 12498 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12499 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12500 ;; 12501 *) 12502 shrext_cmds='.sl' 12503 dynamic_linker="$host_os dld.sl" 12504 shlibpath_var=SHLIB_PATH 12505 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12506 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12507 soname_spec='$libname$release$shared_ext$major' 12508 ;; 12509 esac 12510 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12511 postinstall_cmds='chmod 555 $lib' 12512 # or fails outright, so override atomically: 12513 install_override_mode=555 12514 ;; 12515 12516interix[3-9]*) 12517 version_type=linux # correct to gnu/linux during the next big refactor 12518 need_lib_prefix=no 12519 need_version=no 12520 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12521 soname_spec='$libname$release$shared_ext$major' 12522 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12523 shlibpath_var=LD_LIBRARY_PATH 12524 shlibpath_overrides_runpath=no 12525 hardcode_into_libs=yes 12526 ;; 12527 12528irix5* | irix6* | nonstopux*) 12529 case $host_os in 12530 nonstopux*) version_type=nonstopux ;; 12531 *) 12532 if test yes = "$lt_cv_prog_gnu_ld"; then 12533 version_type=linux # correct to gnu/linux during the next big refactor 12534 else 12535 version_type=irix 12536 fi ;; 12537 esac 12538 need_lib_prefix=no 12539 need_version=no 12540 soname_spec='$libname$release$shared_ext$major' 12541 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12542 case $host_os in 12543 irix5* | nonstopux*) 12544 libsuff= shlibsuff= 12545 ;; 12546 *) 12547 case $LD in # libtool.m4 will add one of these switches to LD 12548 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12549 libsuff= shlibsuff= libmagic=32-bit;; 12550 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12551 libsuff=32 shlibsuff=N32 libmagic=N32;; 12552 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12553 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12554 *) libsuff= shlibsuff= libmagic=never-match;; 12555 esac 12556 ;; 12557 esac 12558 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12559 shlibpath_overrides_runpath=no 12560 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12561 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12562 hardcode_into_libs=yes 12563 ;; 12564 12565# No shared lib support for Linux oldld, aout, or coff. 12566linux*oldld* | linux*aout* | linux*coff*) 12567 dynamic_linker=no 12568 ;; 12569 12570linux*android*) 12571 version_type=none # Android doesn't support versioned libraries. 12572 need_lib_prefix=no 12573 need_version=no 12574 library_names_spec='$libname$release$shared_ext' 12575 soname_spec='$libname$release$shared_ext' 12576 finish_cmds= 12577 shlibpath_var=LD_LIBRARY_PATH 12578 shlibpath_overrides_runpath=yes 12579 12580 # This implies no fast_install, which is unacceptable. 12581 # Some rework will be needed to allow for fast_install 12582 # before this can be enabled. 12583 hardcode_into_libs=yes 12584 12585 dynamic_linker='Android linker' 12586 # Don't embed -rpath directories since the linker doesn't support them. 12587 hardcode_libdir_flag_spec='-L$libdir' 12588 ;; 12589 12590# This must be glibc/ELF. 12591linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12592 version_type=linux # correct to gnu/linux during the next big refactor 12593 need_lib_prefix=no 12594 need_version=no 12595 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12596 soname_spec='$libname$release$shared_ext$major' 12597 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12598 shlibpath_var=LD_LIBRARY_PATH 12599 shlibpath_overrides_runpath=no 12600 12601 # Some binutils ld are patched to set DT_RUNPATH 12602 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12603 $as_echo_n "(cached) " >&6 12604else 12605 lt_cv_shlibpath_overrides_runpath=no 12606 save_LDFLAGS=$LDFLAGS 12607 save_libdir=$libdir 12608 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12609 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12611/* end confdefs.h. */ 12612 12613int 12614main () 12615{ 12616 12617 ; 12618 return 0; 12619} 12620_ACEOF 12621if ac_fn_c_try_link "$LINENO"; then : 12622 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12623 lt_cv_shlibpath_overrides_runpath=yes 12624fi 12625fi 12626rm -f core conftest.err conftest.$ac_objext \ 12627 conftest$ac_exeext conftest.$ac_ext 12628 LDFLAGS=$save_LDFLAGS 12629 libdir=$save_libdir 12630 12631fi 12632 12633 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12634 12635 # This implies no fast_install, which is unacceptable. 12636 # Some rework will be needed to allow for fast_install 12637 # before this can be enabled. 12638 hardcode_into_libs=yes 12639 12640 # Ideally, we could use ldconfig to report *all* directores which are 12641 # searched for libraries, however this is still not possible. Aside from not 12642 # being certain /sbin/ldconfig is available, command 12643 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12644 # even though it is searched at run-time. Try to do the best guess by 12645 # appending ld.so.conf contents (and includes) to the search path. 12646 if test -f /etc/ld.so.conf; then 12647 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' ' '` 12648 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12649 fi 12650 12651 # We used to test for /lib/ld.so.1 and disable shared libraries on 12652 # powerpc, because MkLinux only supported shared libraries with the 12653 # GNU dynamic linker. Since this was broken with cross compilers, 12654 # most powerpc-linux boxes support dynamic linking these days and 12655 # people can always --disable-shared, the test was removed, and we 12656 # assume the GNU/Linux dynamic linker is in use. 12657 dynamic_linker='GNU/Linux ld.so' 12658 ;; 12659 12660netbsd*) 12661 version_type=sunos 12662 need_lib_prefix=no 12663 need_version=no 12664 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12665 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12666 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12667 dynamic_linker='NetBSD (a.out) ld.so' 12668 else 12669 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12670 soname_spec='$libname$release$shared_ext$major' 12671 dynamic_linker='NetBSD ld.elf_so' 12672 fi 12673 shlibpath_var=LD_LIBRARY_PATH 12674 shlibpath_overrides_runpath=yes 12675 hardcode_into_libs=yes 12676 ;; 12677 12678newsos6) 12679 version_type=linux # correct to gnu/linux during the next big refactor 12680 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12681 shlibpath_var=LD_LIBRARY_PATH 12682 shlibpath_overrides_runpath=yes 12683 ;; 12684 12685*nto* | *qnx*) 12686 version_type=qnx 12687 need_lib_prefix=no 12688 need_version=no 12689 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12690 soname_spec='$libname$release$shared_ext$major' 12691 shlibpath_var=LD_LIBRARY_PATH 12692 shlibpath_overrides_runpath=no 12693 hardcode_into_libs=yes 12694 dynamic_linker='ldqnx.so' 12695 ;; 12696 12697openbsd* | bitrig*) 12698 version_type=sunos 12699 sys_lib_dlsearch_path_spec=/usr/lib 12700 need_lib_prefix=no 12701 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12702 need_version=no 12703 else 12704 need_version=yes 12705 fi 12706 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12707 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12708 shlibpath_var=LD_LIBRARY_PATH 12709 shlibpath_overrides_runpath=yes 12710 ;; 12711 12712os2*) 12713 libname_spec='$name' 12714 version_type=windows 12715 shrext_cmds=.dll 12716 need_version=no 12717 need_lib_prefix=no 12718 # OS/2 can only load a DLL with a base name of 8 characters or less. 12719 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12720 v=$($ECHO $release$versuffix | tr -d .-); 12721 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12722 $ECHO $n$v`$shared_ext' 12723 library_names_spec='${libname}_dll.$libext' 12724 dynamic_linker='OS/2 ld.exe' 12725 shlibpath_var=BEGINLIBPATH 12726 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12727 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12728 postinstall_cmds='base_file=`basename \$file`~ 12729 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12730 dldir=$destdir/`dirname \$dlpath`~ 12731 test -d \$dldir || mkdir -p \$dldir~ 12732 $install_prog $dir/$dlname \$dldir/$dlname~ 12733 chmod a+x \$dldir/$dlname~ 12734 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12735 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12736 fi' 12737 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12738 dlpath=$dir/\$dldll~ 12739 $RM \$dlpath' 12740 ;; 12741 12742osf3* | osf4* | osf5*) 12743 version_type=osf 12744 need_lib_prefix=no 12745 need_version=no 12746 soname_spec='$libname$release$shared_ext$major' 12747 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12748 shlibpath_var=LD_LIBRARY_PATH 12749 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12751 ;; 12752 12753rdos*) 12754 dynamic_linker=no 12755 ;; 12756 12757solaris*) 12758 version_type=linux # correct to gnu/linux during the next big refactor 12759 need_lib_prefix=no 12760 need_version=no 12761 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12762 soname_spec='$libname$release$shared_ext$major' 12763 shlibpath_var=LD_LIBRARY_PATH 12764 shlibpath_overrides_runpath=yes 12765 hardcode_into_libs=yes 12766 # ldd complains unless libraries are executable 12767 postinstall_cmds='chmod +x $lib' 12768 ;; 12769 12770sunos4*) 12771 version_type=sunos 12772 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12773 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12774 shlibpath_var=LD_LIBRARY_PATH 12775 shlibpath_overrides_runpath=yes 12776 if test yes = "$with_gnu_ld"; then 12777 need_lib_prefix=no 12778 fi 12779 need_version=yes 12780 ;; 12781 12782sysv4 | sysv4.3*) 12783 version_type=linux # correct to gnu/linux during the next big refactor 12784 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12785 soname_spec='$libname$release$shared_ext$major' 12786 shlibpath_var=LD_LIBRARY_PATH 12787 case $host_vendor in 12788 sni) 12789 shlibpath_overrides_runpath=no 12790 need_lib_prefix=no 12791 runpath_var=LD_RUN_PATH 12792 ;; 12793 siemens) 12794 need_lib_prefix=no 12795 ;; 12796 motorola) 12797 need_lib_prefix=no 12798 need_version=no 12799 shlibpath_overrides_runpath=no 12800 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12801 ;; 12802 esac 12803 ;; 12804 12805sysv4*MP*) 12806 if test -d /usr/nec; then 12807 version_type=linux # correct to gnu/linux during the next big refactor 12808 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12809 soname_spec='$libname$shared_ext.$major' 12810 shlibpath_var=LD_LIBRARY_PATH 12811 fi 12812 ;; 12813 12814sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12815 version_type=sco 12816 need_lib_prefix=no 12817 need_version=no 12818 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12819 soname_spec='$libname$release$shared_ext$major' 12820 shlibpath_var=LD_LIBRARY_PATH 12821 shlibpath_overrides_runpath=yes 12822 hardcode_into_libs=yes 12823 if test yes = "$with_gnu_ld"; then 12824 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12825 else 12826 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12827 case $host_os in 12828 sco3.2v5*) 12829 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12830 ;; 12831 esac 12832 fi 12833 sys_lib_dlsearch_path_spec='/usr/lib' 12834 ;; 12835 12836tpf*) 12837 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12838 version_type=linux # correct to gnu/linux during the next big refactor 12839 need_lib_prefix=no 12840 need_version=no 12841 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12842 shlibpath_var=LD_LIBRARY_PATH 12843 shlibpath_overrides_runpath=no 12844 hardcode_into_libs=yes 12845 ;; 12846 12847uts4*) 12848 version_type=linux # correct to gnu/linux during the next big refactor 12849 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12850 soname_spec='$libname$release$shared_ext$major' 12851 shlibpath_var=LD_LIBRARY_PATH 12852 ;; 12853 12854*) 12855 dynamic_linker=no 12856 ;; 12857esac 12858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12859$as_echo "$dynamic_linker" >&6; } 12860test no = "$dynamic_linker" && can_build_shared=no 12861 12862variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12863if test yes = "$GCC"; then 12864 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12865fi 12866 12867if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12868 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12869fi 12870 12871if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12872 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12873fi 12874 12875# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12876configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12877 12878# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12879func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12880 12881# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12882configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12981$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12982hardcode_action= 12983if test -n "$hardcode_libdir_flag_spec" || 12984 test -n "$runpath_var" || 12985 test yes = "$hardcode_automatic"; then 12986 12987 # We can hardcode non-existent directories. 12988 if test no != "$hardcode_direct" && 12989 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12990 # have to relink, otherwise we might link with an installed library 12991 # when we should be linking with a yet-to-be-installed one 12992 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12993 test no != "$hardcode_minus_L"; then 12994 # Linking always hardcodes the temporary library directory. 12995 hardcode_action=relink 12996 else 12997 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12998 hardcode_action=immediate 12999 fi 13000else 13001 # We cannot hardcode anything, or else we can only hardcode existing 13002 # directories. 13003 hardcode_action=unsupported 13004fi 13005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13006$as_echo "$hardcode_action" >&6; } 13007 13008if test relink = "$hardcode_action" || 13009 test yes = "$inherit_rpath"; then 13010 # Fast installation is not supported 13011 enable_fast_install=no 13012elif test yes = "$shlibpath_overrides_runpath" || 13013 test no = "$enable_shared"; then 13014 # Fast installation is not necessary 13015 enable_fast_install=needless 13016fi 13017 13018 13019 13020 13021 13022 13023 if test yes != "$enable_dlopen"; then 13024 enable_dlopen=unknown 13025 enable_dlopen_self=unknown 13026 enable_dlopen_self_static=unknown 13027else 13028 lt_cv_dlopen=no 13029 lt_cv_dlopen_libs= 13030 13031 case $host_os in 13032 beos*) 13033 lt_cv_dlopen=load_add_on 13034 lt_cv_dlopen_libs= 13035 lt_cv_dlopen_self=yes 13036 ;; 13037 13038 mingw* | pw32* | cegcc*) 13039 lt_cv_dlopen=LoadLibrary 13040 lt_cv_dlopen_libs= 13041 ;; 13042 13043 cygwin*) 13044 lt_cv_dlopen=dlopen 13045 lt_cv_dlopen_libs= 13046 ;; 13047 13048 darwin*) 13049 # if libdl is installed we need to link against it 13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13051$as_echo_n "checking for dlopen in -ldl... " >&6; } 13052if ${ac_cv_lib_dl_dlopen+:} false; then : 13053 $as_echo_n "(cached) " >&6 13054else 13055 ac_check_lib_save_LIBS=$LIBS 13056LIBS="-ldl $LIBS" 13057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13058/* end confdefs.h. */ 13059 13060/* Override any GCC internal prototype to avoid an error. 13061 Use char because int might match the return type of a GCC 13062 builtin and then its argument prototype would still apply. */ 13063#ifdef __cplusplus 13064extern "C" 13065#endif 13066char dlopen (); 13067int 13068main () 13069{ 13070return dlopen (); 13071 ; 13072 return 0; 13073} 13074_ACEOF 13075if ac_fn_c_try_link "$LINENO"; then : 13076 ac_cv_lib_dl_dlopen=yes 13077else 13078 ac_cv_lib_dl_dlopen=no 13079fi 13080rm -f core conftest.err conftest.$ac_objext \ 13081 conftest$ac_exeext conftest.$ac_ext 13082LIBS=$ac_check_lib_save_LIBS 13083fi 13084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13085$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13086if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13087 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13088else 13089 13090 lt_cv_dlopen=dyld 13091 lt_cv_dlopen_libs= 13092 lt_cv_dlopen_self=yes 13093 13094fi 13095 13096 ;; 13097 13098 tpf*) 13099 # Don't try to run any link tests for TPF. We know it's impossible 13100 # because TPF is a cross-compiler, and we know how we open DSOs. 13101 lt_cv_dlopen=dlopen 13102 lt_cv_dlopen_libs= 13103 lt_cv_dlopen_self=no 13104 ;; 13105 13106 *) 13107 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13108if test "x$ac_cv_func_shl_load" = xyes; then : 13109 lt_cv_dlopen=shl_load 13110else 13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13112$as_echo_n "checking for shl_load in -ldld... " >&6; } 13113if ${ac_cv_lib_dld_shl_load+:} false; then : 13114 $as_echo_n "(cached) " >&6 13115else 13116 ac_check_lib_save_LIBS=$LIBS 13117LIBS="-ldld $LIBS" 13118cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13119/* end confdefs.h. */ 13120 13121/* Override any GCC internal prototype to avoid an error. 13122 Use char because int might match the return type of a GCC 13123 builtin and then its argument prototype would still apply. */ 13124#ifdef __cplusplus 13125extern "C" 13126#endif 13127char shl_load (); 13128int 13129main () 13130{ 13131return shl_load (); 13132 ; 13133 return 0; 13134} 13135_ACEOF 13136if ac_fn_c_try_link "$LINENO"; then : 13137 ac_cv_lib_dld_shl_load=yes 13138else 13139 ac_cv_lib_dld_shl_load=no 13140fi 13141rm -f core conftest.err conftest.$ac_objext \ 13142 conftest$ac_exeext conftest.$ac_ext 13143LIBS=$ac_check_lib_save_LIBS 13144fi 13145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13146$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13147if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13148 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13149else 13150 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13151if test "x$ac_cv_func_dlopen" = xyes; then : 13152 lt_cv_dlopen=dlopen 13153else 13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13155$as_echo_n "checking for dlopen in -ldl... " >&6; } 13156if ${ac_cv_lib_dl_dlopen+:} false; then : 13157 $as_echo_n "(cached) " >&6 13158else 13159 ac_check_lib_save_LIBS=$LIBS 13160LIBS="-ldl $LIBS" 13161cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13162/* end confdefs.h. */ 13163 13164/* Override any GCC internal prototype to avoid an error. 13165 Use char because int might match the return type of a GCC 13166 builtin and then its argument prototype would still apply. */ 13167#ifdef __cplusplus 13168extern "C" 13169#endif 13170char dlopen (); 13171int 13172main () 13173{ 13174return dlopen (); 13175 ; 13176 return 0; 13177} 13178_ACEOF 13179if ac_fn_c_try_link "$LINENO"; then : 13180 ac_cv_lib_dl_dlopen=yes 13181else 13182 ac_cv_lib_dl_dlopen=no 13183fi 13184rm -f core conftest.err conftest.$ac_objext \ 13185 conftest$ac_exeext conftest.$ac_ext 13186LIBS=$ac_check_lib_save_LIBS 13187fi 13188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13189$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13190if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13191 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13192else 13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13194$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13195if ${ac_cv_lib_svld_dlopen+:} false; then : 13196 $as_echo_n "(cached) " >&6 13197else 13198 ac_check_lib_save_LIBS=$LIBS 13199LIBS="-lsvld $LIBS" 13200cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13201/* end confdefs.h. */ 13202 13203/* Override any GCC internal prototype to avoid an error. 13204 Use char because int might match the return type of a GCC 13205 builtin and then its argument prototype would still apply. */ 13206#ifdef __cplusplus 13207extern "C" 13208#endif 13209char dlopen (); 13210int 13211main () 13212{ 13213return dlopen (); 13214 ; 13215 return 0; 13216} 13217_ACEOF 13218if ac_fn_c_try_link "$LINENO"; then : 13219 ac_cv_lib_svld_dlopen=yes 13220else 13221 ac_cv_lib_svld_dlopen=no 13222fi 13223rm -f core conftest.err conftest.$ac_objext \ 13224 conftest$ac_exeext conftest.$ac_ext 13225LIBS=$ac_check_lib_save_LIBS 13226fi 13227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13228$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13229if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13230 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13231else 13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13233$as_echo_n "checking for dld_link in -ldld... " >&6; } 13234if ${ac_cv_lib_dld_dld_link+:} false; then : 13235 $as_echo_n "(cached) " >&6 13236else 13237 ac_check_lib_save_LIBS=$LIBS 13238LIBS="-ldld $LIBS" 13239cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13240/* end confdefs.h. */ 13241 13242/* Override any GCC internal prototype to avoid an error. 13243 Use char because int might match the return type of a GCC 13244 builtin and then its argument prototype would still apply. */ 13245#ifdef __cplusplus 13246extern "C" 13247#endif 13248char dld_link (); 13249int 13250main () 13251{ 13252return dld_link (); 13253 ; 13254 return 0; 13255} 13256_ACEOF 13257if ac_fn_c_try_link "$LINENO"; then : 13258 ac_cv_lib_dld_dld_link=yes 13259else 13260 ac_cv_lib_dld_dld_link=no 13261fi 13262rm -f core conftest.err conftest.$ac_objext \ 13263 conftest$ac_exeext conftest.$ac_ext 13264LIBS=$ac_check_lib_save_LIBS 13265fi 13266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13267$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13268if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13269 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13270fi 13271 13272 13273fi 13274 13275 13276fi 13277 13278 13279fi 13280 13281 13282fi 13283 13284 13285fi 13286 13287 ;; 13288 esac 13289 13290 if test no = "$lt_cv_dlopen"; then 13291 enable_dlopen=no 13292 else 13293 enable_dlopen=yes 13294 fi 13295 13296 case $lt_cv_dlopen in 13297 dlopen) 13298 save_CPPFLAGS=$CPPFLAGS 13299 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13300 13301 save_LDFLAGS=$LDFLAGS 13302 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13303 13304 save_LIBS=$LIBS 13305 LIBS="$lt_cv_dlopen_libs $LIBS" 13306 13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13308$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13309if ${lt_cv_dlopen_self+:} false; then : 13310 $as_echo_n "(cached) " >&6 13311else 13312 if test yes = "$cross_compiling"; then : 13313 lt_cv_dlopen_self=cross 13314else 13315 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13316 lt_status=$lt_dlunknown 13317 cat > conftest.$ac_ext <<_LT_EOF 13318#line $LINENO "configure" 13319#include "confdefs.h" 13320 13321#if HAVE_DLFCN_H 13322#include <dlfcn.h> 13323#endif 13324 13325#include <stdio.h> 13326 13327#ifdef RTLD_GLOBAL 13328# define LT_DLGLOBAL RTLD_GLOBAL 13329#else 13330# ifdef DL_GLOBAL 13331# define LT_DLGLOBAL DL_GLOBAL 13332# else 13333# define LT_DLGLOBAL 0 13334# endif 13335#endif 13336 13337/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13338 find out it does not work in some platform. */ 13339#ifndef LT_DLLAZY_OR_NOW 13340# ifdef RTLD_LAZY 13341# define LT_DLLAZY_OR_NOW RTLD_LAZY 13342# else 13343# ifdef DL_LAZY 13344# define LT_DLLAZY_OR_NOW DL_LAZY 13345# else 13346# ifdef RTLD_NOW 13347# define LT_DLLAZY_OR_NOW RTLD_NOW 13348# else 13349# ifdef DL_NOW 13350# define LT_DLLAZY_OR_NOW DL_NOW 13351# else 13352# define LT_DLLAZY_OR_NOW 0 13353# endif 13354# endif 13355# endif 13356# endif 13357#endif 13358 13359/* When -fvisibility=hidden is used, assume the code has been annotated 13360 correspondingly for the symbols needed. */ 13361#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13362int fnord () __attribute__((visibility("default"))); 13363#endif 13364 13365int fnord () { return 42; } 13366int main () 13367{ 13368 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13369 int status = $lt_dlunknown; 13370 13371 if (self) 13372 { 13373 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13374 else 13375 { 13376 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13377 else puts (dlerror ()); 13378 } 13379 /* dlclose (self); */ 13380 } 13381 else 13382 puts (dlerror ()); 13383 13384 return status; 13385} 13386_LT_EOF 13387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13388 (eval $ac_link) 2>&5 13389 ac_status=$? 13390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13391 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13392 (./conftest; exit; ) >&5 2>/dev/null 13393 lt_status=$? 13394 case x$lt_status in 13395 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13396 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13397 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13398 esac 13399 else : 13400 # compilation failed 13401 lt_cv_dlopen_self=no 13402 fi 13403fi 13404rm -fr conftest* 13405 13406 13407fi 13408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13409$as_echo "$lt_cv_dlopen_self" >&6; } 13410 13411 if test yes = "$lt_cv_dlopen_self"; then 13412 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13414$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13415if ${lt_cv_dlopen_self_static+:} false; then : 13416 $as_echo_n "(cached) " >&6 13417else 13418 if test yes = "$cross_compiling"; then : 13419 lt_cv_dlopen_self_static=cross 13420else 13421 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13422 lt_status=$lt_dlunknown 13423 cat > conftest.$ac_ext <<_LT_EOF 13424#line $LINENO "configure" 13425#include "confdefs.h" 13426 13427#if HAVE_DLFCN_H 13428#include <dlfcn.h> 13429#endif 13430 13431#include <stdio.h> 13432 13433#ifdef RTLD_GLOBAL 13434# define LT_DLGLOBAL RTLD_GLOBAL 13435#else 13436# ifdef DL_GLOBAL 13437# define LT_DLGLOBAL DL_GLOBAL 13438# else 13439# define LT_DLGLOBAL 0 13440# endif 13441#endif 13442 13443/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13444 find out it does not work in some platform. */ 13445#ifndef LT_DLLAZY_OR_NOW 13446# ifdef RTLD_LAZY 13447# define LT_DLLAZY_OR_NOW RTLD_LAZY 13448# else 13449# ifdef DL_LAZY 13450# define LT_DLLAZY_OR_NOW DL_LAZY 13451# else 13452# ifdef RTLD_NOW 13453# define LT_DLLAZY_OR_NOW RTLD_NOW 13454# else 13455# ifdef DL_NOW 13456# define LT_DLLAZY_OR_NOW DL_NOW 13457# else 13458# define LT_DLLAZY_OR_NOW 0 13459# endif 13460# endif 13461# endif 13462# endif 13463#endif 13464 13465/* When -fvisibility=hidden is used, assume the code has been annotated 13466 correspondingly for the symbols needed. */ 13467#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13468int fnord () __attribute__((visibility("default"))); 13469#endif 13470 13471int fnord () { return 42; } 13472int main () 13473{ 13474 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13475 int status = $lt_dlunknown; 13476 13477 if (self) 13478 { 13479 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13480 else 13481 { 13482 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13483 else puts (dlerror ()); 13484 } 13485 /* dlclose (self); */ 13486 } 13487 else 13488 puts (dlerror ()); 13489 13490 return status; 13491} 13492_LT_EOF 13493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13494 (eval $ac_link) 2>&5 13495 ac_status=$? 13496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13497 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13498 (./conftest; exit; ) >&5 2>/dev/null 13499 lt_status=$? 13500 case x$lt_status in 13501 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13502 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13503 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13504 esac 13505 else : 13506 # compilation failed 13507 lt_cv_dlopen_self_static=no 13508 fi 13509fi 13510rm -fr conftest* 13511 13512 13513fi 13514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13515$as_echo "$lt_cv_dlopen_self_static" >&6; } 13516 fi 13517 13518 CPPFLAGS=$save_CPPFLAGS 13519 LDFLAGS=$save_LDFLAGS 13520 LIBS=$save_LIBS 13521 ;; 13522 esac 13523 13524 case $lt_cv_dlopen_self in 13525 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13526 *) enable_dlopen_self=unknown ;; 13527 esac 13528 13529 case $lt_cv_dlopen_self_static in 13530 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13531 *) enable_dlopen_self_static=unknown ;; 13532 esac 13533fi 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551striplib= 13552old_striplib= 13553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13554$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13555if test -z "$STRIP"; then 13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13557$as_echo "no" >&6; } 13558else 13559 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13560 old_striplib="$STRIP --strip-debug" 13561 striplib="$STRIP --strip-unneeded" 13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13563$as_echo "yes" >&6; } 13564 else 13565 case $host_os in 13566 darwin*) 13567 # FIXME - insert some real tests, host_os isn't really good enough 13568 striplib="$STRIP -x" 13569 old_striplib="$STRIP -S" 13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13571$as_echo "yes" >&6; } 13572 ;; 13573 freebsd*) 13574 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then 13575 old_striplib="$STRIP --strip-debug" 13576 striplib="$STRIP --strip-unneeded" 13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13578$as_echo "yes" >&6; } 13579 else 13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13581$as_echo "no" >&6; } 13582 fi 13583 ;; 13584 *) 13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13586$as_echo "no" >&6; } 13587 ;; 13588 esac 13589 fi 13590fi 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 # Report what library types will actually be built 13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13605$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13607$as_echo "$can_build_shared" >&6; } 13608 13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13610$as_echo_n "checking whether to build shared libraries... " >&6; } 13611 test no = "$can_build_shared" && enable_shared=no 13612 13613 # On AIX, shared libraries and static libraries use the same namespace, and 13614 # are all built from PIC. 13615 case $host_os in 13616 aix3*) 13617 test yes = "$enable_shared" && enable_static=no 13618 if test -n "$RANLIB"; then 13619 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13620 postinstall_cmds='$RANLIB $lib' 13621 fi 13622 ;; 13623 13624 aix[4-9]*) 13625 if test ia64 != "$host_cpu"; then 13626 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13627 yes,aix,yes) ;; # shared object as lib.so file only 13628 yes,svr4,*) ;; # shared object as lib.so archive member only 13629 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13630 esac 13631 fi 13632 ;; 13633 esac 13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13635$as_echo "$enable_shared" >&6; } 13636 13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13638$as_echo_n "checking whether to build static libraries... " >&6; } 13639 # Make sure either enable_shared or enable_static is yes. 13640 test yes = "$enable_shared" || enable_static=yes 13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13642$as_echo "$enable_static" >&6; } 13643 13644 13645 13646 13647fi 13648ac_ext=c 13649ac_cpp='$CPP $CPPFLAGS' 13650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13652ac_compiler_gnu=$ac_cv_c_compiler_gnu 13653 13654CC=$lt_save_CC 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 ac_config_commands="$ac_config_commands libtool" 13671 13672 13673 13674 13675# Only expand once: 13676 13677 13678 13679 13680 GETTEXT_PACKAGE=thunar-media-tags-plugin 13681 13682cat >>confdefs.h <<_ACEOF 13683#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 13684_ACEOF 13685 13686 13687 13688 ALL_LINGUAS="ar ast bg ca cs da de el en_AU en_GB es eu fi fr gl he hr hu id is it ja kk ko lt lv ms nb nl oc pa pl pt_BR pt ro ru sk sl sq sr sv th tr ug uk ur_PK ur uz@Latn uz vi zh_CN zh_TW " 13689 13690 for ac_header in locale.h 13691do : 13692 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 13693if test "x$ac_cv_header_locale_h" = xyes; then : 13694 cat >>confdefs.h <<_ACEOF 13695#define HAVE_LOCALE_H 1 13696_ACEOF 13697 13698fi 13699 13700done 13701 13702 if test $ac_cv_header_locale_h = yes; then 13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 13704$as_echo_n "checking for LC_MESSAGES... " >&6; } 13705if ${am_cv_val_LC_MESSAGES+:} false; then : 13706 $as_echo_n "(cached) " >&6 13707else 13708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13709/* end confdefs.h. */ 13710#include <locale.h> 13711int 13712main () 13713{ 13714return LC_MESSAGES 13715 ; 13716 return 0; 13717} 13718_ACEOF 13719if ac_fn_c_try_link "$LINENO"; then : 13720 am_cv_val_LC_MESSAGES=yes 13721else 13722 am_cv_val_LC_MESSAGES=no 13723fi 13724rm -f core conftest.err conftest.$ac_objext \ 13725 conftest$ac_exeext conftest.$ac_ext 13726fi 13727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 13728$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 13729 if test $am_cv_val_LC_MESSAGES = yes; then 13730 13731$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 13732 13733 fi 13734 fi 13735 USE_NLS=yes 13736 13737 13738 gt_cv_have_gettext=no 13739 13740 CATOBJEXT=NONE 13741 XGETTEXT=: 13742 INTLLIBS= 13743 13744 13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 13746$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 13747if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 13748 $as_echo_n "(cached) " >&6 13749else 13750 gt_save_LIBS="$LIBS" 13751 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 13752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13753/* end confdefs.h. */ 13754#include <CoreFoundation/CFPreferences.h> 13755int 13756main () 13757{ 13758CFPreferencesCopyAppValue(NULL, NULL) 13759 ; 13760 return 0; 13761} 13762_ACEOF 13763if ac_fn_c_try_link "$LINENO"; then : 13764 gt_cv_func_CFPreferencesCopyAppValue=yes 13765else 13766 gt_cv_func_CFPreferencesCopyAppValue=no 13767fi 13768rm -f core conftest.err conftest.$ac_objext \ 13769 conftest$ac_exeext conftest.$ac_ext 13770 LIBS="$gt_save_LIBS" 13771fi 13772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 13773$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 13774 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 13775 13776$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 13777 13778 fi 13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 13780$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 13781if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 13782 $as_echo_n "(cached) " >&6 13783else 13784 gt_save_LIBS="$LIBS" 13785 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 13786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13787/* end confdefs.h. */ 13788#include <CoreFoundation/CFLocale.h> 13789int 13790main () 13791{ 13792CFLocaleCopyCurrent(); 13793 ; 13794 return 0; 13795} 13796_ACEOF 13797if ac_fn_c_try_link "$LINENO"; then : 13798 gt_cv_func_CFLocaleCopyCurrent=yes 13799else 13800 gt_cv_func_CFLocaleCopyCurrent=no 13801fi 13802rm -f core conftest.err conftest.$ac_objext \ 13803 conftest$ac_exeext conftest.$ac_ext 13804 LIBS="$gt_save_LIBS" 13805fi 13806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 13807$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 13808 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 13809 13810$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 13811 13812 fi 13813 INTL_MACOSX_LIBS= 13814 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 13815 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 13816 fi 13817 13818 13819 13820 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 13821if test "x$ac_cv_header_libintl_h" = xyes; then : 13822 gt_cv_func_dgettext_libintl="no" 13823 libintl_extra_libs="" 13824 13825 # 13826 # First check in libc 13827 # 13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 13829$as_echo_n "checking for ngettext in libc... " >&6; } 13830if ${gt_cv_func_ngettext_libc+:} false; then : 13831 $as_echo_n "(cached) " >&6 13832else 13833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13834/* end confdefs.h. */ 13835 13836#include <libintl.h> 13837 13838int 13839main () 13840{ 13841return !ngettext ("","", 1) 13842 ; 13843 return 0; 13844} 13845_ACEOF 13846if ac_fn_c_try_link "$LINENO"; then : 13847 gt_cv_func_ngettext_libc=yes 13848else 13849 gt_cv_func_ngettext_libc=no 13850fi 13851rm -f core conftest.err conftest.$ac_objext \ 13852 conftest$ac_exeext conftest.$ac_ext 13853 13854fi 13855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 13856$as_echo "$gt_cv_func_ngettext_libc" >&6; } 13857 13858 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 13860$as_echo_n "checking for dgettext in libc... " >&6; } 13861if ${gt_cv_func_dgettext_libc+:} false; then : 13862 $as_echo_n "(cached) " >&6 13863else 13864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13865/* end confdefs.h. */ 13866 13867#include <libintl.h> 13868 13869int 13870main () 13871{ 13872return !dgettext ("","") 13873 ; 13874 return 0; 13875} 13876_ACEOF 13877if ac_fn_c_try_link "$LINENO"; then : 13878 gt_cv_func_dgettext_libc=yes 13879else 13880 gt_cv_func_dgettext_libc=no 13881fi 13882rm -f core conftest.err conftest.$ac_objext \ 13883 conftest$ac_exeext conftest.$ac_ext 13884 13885fi 13886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 13887$as_echo "$gt_cv_func_dgettext_libc" >&6; } 13888 fi 13889 13890 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 13891 for ac_func in bind_textdomain_codeset 13892do : 13893 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 13894if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 13895 cat >>confdefs.h <<_ACEOF 13896#define HAVE_BIND_TEXTDOMAIN_CODESET 1 13897_ACEOF 13898 13899fi 13900done 13901 13902 fi 13903 13904 # 13905 # If we don't have everything we want, check in libintl 13906 # 13907 if test "$gt_cv_func_dgettext_libc" != "yes" \ 13908 || test "$gt_cv_func_ngettext_libc" != "yes" \ 13909 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 13910 13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 13912$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 13913if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 13914 $as_echo_n "(cached) " >&6 13915else 13916 ac_check_lib_save_LIBS=$LIBS 13917LIBS="-lintl $LIBS" 13918cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13919/* end confdefs.h. */ 13920 13921/* Override any GCC internal prototype to avoid an error. 13922 Use char because int might match the return type of a GCC 13923 builtin and then its argument prototype would still apply. */ 13924#ifdef __cplusplus 13925extern "C" 13926#endif 13927char bindtextdomain (); 13928int 13929main () 13930{ 13931return bindtextdomain (); 13932 ; 13933 return 0; 13934} 13935_ACEOF 13936if ac_fn_c_try_link "$LINENO"; then : 13937 ac_cv_lib_intl_bindtextdomain=yes 13938else 13939 ac_cv_lib_intl_bindtextdomain=no 13940fi 13941rm -f core conftest.err conftest.$ac_objext \ 13942 conftest$ac_exeext conftest.$ac_ext 13943LIBS=$ac_check_lib_save_LIBS 13944fi 13945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 13946$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 13947if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 13949$as_echo_n "checking for ngettext in -lintl... " >&6; } 13950if ${ac_cv_lib_intl_ngettext+:} false; then : 13951 $as_echo_n "(cached) " >&6 13952else 13953 ac_check_lib_save_LIBS=$LIBS 13954LIBS="-lintl $LIBS" 13955cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13956/* end confdefs.h. */ 13957 13958/* Override any GCC internal prototype to avoid an error. 13959 Use char because int might match the return type of a GCC 13960 builtin and then its argument prototype would still apply. */ 13961#ifdef __cplusplus 13962extern "C" 13963#endif 13964char ngettext (); 13965int 13966main () 13967{ 13968return ngettext (); 13969 ; 13970 return 0; 13971} 13972_ACEOF 13973if ac_fn_c_try_link "$LINENO"; then : 13974 ac_cv_lib_intl_ngettext=yes 13975else 13976 ac_cv_lib_intl_ngettext=no 13977fi 13978rm -f core conftest.err conftest.$ac_objext \ 13979 conftest$ac_exeext conftest.$ac_ext 13980LIBS=$ac_check_lib_save_LIBS 13981fi 13982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 13983$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 13984if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 13986$as_echo_n "checking for dgettext in -lintl... " >&6; } 13987if ${ac_cv_lib_intl_dgettext+:} false; then : 13988 $as_echo_n "(cached) " >&6 13989else 13990 ac_check_lib_save_LIBS=$LIBS 13991LIBS="-lintl $LIBS" 13992cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13993/* end confdefs.h. */ 13994 13995/* Override any GCC internal prototype to avoid an error. 13996 Use char because int might match the return type of a GCC 13997 builtin and then its argument prototype would still apply. */ 13998#ifdef __cplusplus 13999extern "C" 14000#endif 14001char dgettext (); 14002int 14003main () 14004{ 14005return dgettext (); 14006 ; 14007 return 0; 14008} 14009_ACEOF 14010if ac_fn_c_try_link "$LINENO"; then : 14011 ac_cv_lib_intl_dgettext=yes 14012else 14013 ac_cv_lib_intl_dgettext=no 14014fi 14015rm -f core conftest.err conftest.$ac_objext \ 14016 conftest$ac_exeext conftest.$ac_ext 14017LIBS=$ac_check_lib_save_LIBS 14018fi 14019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 14020$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 14021if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 14022 gt_cv_func_dgettext_libintl=yes 14023fi 14024 14025fi 14026 14027fi 14028 14029 14030 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 14032$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 14034$as_echo "" >&6; } 14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 14036$as_echo_n "checking for ngettext in -lintl... " >&6; } 14037if ${ac_cv_lib_intl_ngettext+:} false; then : 14038 $as_echo_n "(cached) " >&6 14039else 14040 ac_check_lib_save_LIBS=$LIBS 14041LIBS="-lintl -liconv $LIBS" 14042cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14043/* end confdefs.h. */ 14044 14045/* Override any GCC internal prototype to avoid an error. 14046 Use char because int might match the return type of a GCC 14047 builtin and then its argument prototype would still apply. */ 14048#ifdef __cplusplus 14049extern "C" 14050#endif 14051char ngettext (); 14052int 14053main () 14054{ 14055return ngettext (); 14056 ; 14057 return 0; 14058} 14059_ACEOF 14060if ac_fn_c_try_link "$LINENO"; then : 14061 ac_cv_lib_intl_ngettext=yes 14062else 14063 ac_cv_lib_intl_ngettext=no 14064fi 14065rm -f core conftest.err conftest.$ac_objext \ 14066 conftest$ac_exeext conftest.$ac_ext 14067LIBS=$ac_check_lib_save_LIBS 14068fi 14069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 14070$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 14071if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 14073$as_echo_n "checking for dcgettext in -lintl... " >&6; } 14074if ${ac_cv_lib_intl_dcgettext+:} false; then : 14075 $as_echo_n "(cached) " >&6 14076else 14077 ac_check_lib_save_LIBS=$LIBS 14078LIBS="-lintl -liconv $LIBS" 14079cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14080/* end confdefs.h. */ 14081 14082/* Override any GCC internal prototype to avoid an error. 14083 Use char because int might match the return type of a GCC 14084 builtin and then its argument prototype would still apply. */ 14085#ifdef __cplusplus 14086extern "C" 14087#endif 14088char dcgettext (); 14089int 14090main () 14091{ 14092return dcgettext (); 14093 ; 14094 return 0; 14095} 14096_ACEOF 14097if ac_fn_c_try_link "$LINENO"; then : 14098 ac_cv_lib_intl_dcgettext=yes 14099else 14100 ac_cv_lib_intl_dcgettext=no 14101fi 14102rm -f core conftest.err conftest.$ac_objext \ 14103 conftest$ac_exeext conftest.$ac_ext 14104LIBS=$ac_check_lib_save_LIBS 14105fi 14106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 14107$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 14108if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 14109 gt_cv_func_dgettext_libintl=yes 14110 libintl_extra_libs=-liconv 14111else 14112 : 14113fi 14114 14115else 14116 : 14117fi 14118 14119 fi 14120 14121 # 14122 # If we found libintl, then check in it for bind_textdomain_codeset(); 14123 # we'll prefer libc if neither have bind_textdomain_codeset(), 14124 # and both have dgettext and ngettext 14125 # 14126 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 14127 glib_save_LIBS="$LIBS" 14128 LIBS="$LIBS -lintl $libintl_extra_libs" 14129 unset ac_cv_func_bind_textdomain_codeset 14130 for ac_func in bind_textdomain_codeset 14131do : 14132 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14133if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14134 cat >>confdefs.h <<_ACEOF 14135#define HAVE_BIND_TEXTDOMAIN_CODESET 1 14136_ACEOF 14137 14138fi 14139done 14140 14141 LIBS="$glib_save_LIBS" 14142 14143 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 14144 gt_cv_func_dgettext_libc=no 14145 else 14146 if test "$gt_cv_func_dgettext_libc" = "yes" \ 14147 && test "$gt_cv_func_ngettext_libc" = "yes"; then 14148 gt_cv_func_dgettext_libintl=no 14149 fi 14150 fi 14151 fi 14152 fi 14153 14154 if test "$gt_cv_func_dgettext_libc" = "yes" \ 14155 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 14156 gt_cv_have_gettext=yes 14157 fi 14158 14159 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 14160 INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" 14161 fi 14162 14163 if test "$gt_cv_have_gettext" = "yes"; then 14164 14165$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 14166 14167 # Extract the first word of "msgfmt", so it can be a program name with args. 14168set dummy msgfmt; ac_word=$2 14169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14170$as_echo_n "checking for $ac_word... " >&6; } 14171if ${ac_cv_path_MSGFMT+:} false; then : 14172 $as_echo_n "(cached) " >&6 14173else 14174 case "$MSGFMT" in 14175 /*) 14176 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 14177 ;; 14178 *) 14179 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14180 for ac_dir in $PATH; do 14181 test -z "$ac_dir" && ac_dir=. 14182 if test -f $ac_dir/$ac_word; then 14183 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 14184 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 14185 break 14186 fi 14187 fi 14188 done 14189 IFS="$ac_save_ifs" 14190 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 14191 ;; 14192esac 14193fi 14194MSGFMT="$ac_cv_path_MSGFMT" 14195if test "$MSGFMT" != "no"; then 14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 14197$as_echo "$MSGFMT" >&6; } 14198else 14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14200$as_echo "no" >&6; } 14201fi 14202 if test "$MSGFMT" != "no"; then 14203 glib_save_LIBS="$LIBS" 14204 LIBS="$LIBS $INTLLIBS" 14205 for ac_func in dcgettext 14206do : 14207 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 14208if test "x$ac_cv_func_dcgettext" = xyes; then : 14209 cat >>confdefs.h <<_ACEOF 14210#define HAVE_DCGETTEXT 1 14211_ACEOF 14212 14213fi 14214done 14215 14216 MSGFMT_OPTS= 14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 14218$as_echo_n "checking if msgfmt accepts -c... " >&6; } 14219 cat >conftest.foo <<_ACEOF 14220 14221msgid "" 14222msgstr "" 14223"Content-Type: text/plain; charset=UTF-8\n" 14224"Project-Id-Version: test 1.0\n" 14225"PO-Revision-Date: 2007-02-15 12:01+0100\n" 14226"Last-Translator: test <foo@bar.xx>\n" 14227"Language-Team: C <LL@li.org>\n" 14228"MIME-Version: 1.0\n" 14229"Content-Transfer-Encoding: 8bit\n" 14230 14231_ACEOF 14232if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 14233 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 14234 ac_status=$? 14235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14236 test $ac_status = 0; }; then 14237 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14238$as_echo "yes" >&6; } 14239else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14240$as_echo "no" >&6; } 14241echo "$as_me: failed input was:" >&5 14242sed 's/^/| /' conftest.foo >&5 14243fi 14244 14245 # Extract the first word of "gmsgfmt", so it can be a program name with args. 14246set dummy gmsgfmt; ac_word=$2 14247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14248$as_echo_n "checking for $ac_word... " >&6; } 14249if ${ac_cv_path_GMSGFMT+:} false; then : 14250 $as_echo_n "(cached) " >&6 14251else 14252 case $GMSGFMT in 14253 [\\/]* | ?:[\\/]*) 14254 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 14255 ;; 14256 *) 14257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14258for as_dir in $PATH 14259do 14260 IFS=$as_save_IFS 14261 test -z "$as_dir" && as_dir=. 14262 for ac_exec_ext in '' $ac_executable_extensions; do 14263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14264 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 14265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14266 break 2 14267 fi 14268done 14269 done 14270IFS=$as_save_IFS 14271 14272 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 14273 ;; 14274esac 14275fi 14276GMSGFMT=$ac_cv_path_GMSGFMT 14277if test -n "$GMSGFMT"; then 14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 14279$as_echo "$GMSGFMT" >&6; } 14280else 14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14282$as_echo "no" >&6; } 14283fi 14284 14285 14286 # Extract the first word of "xgettext", so it can be a program name with args. 14287set dummy xgettext; ac_word=$2 14288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14289$as_echo_n "checking for $ac_word... " >&6; } 14290if ${ac_cv_path_XGETTEXT+:} false; then : 14291 $as_echo_n "(cached) " >&6 14292else 14293 case "$XGETTEXT" in 14294 /*) 14295 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 14296 ;; 14297 *) 14298 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14299 for ac_dir in $PATH; do 14300 test -z "$ac_dir" && ac_dir=. 14301 if test -f $ac_dir/$ac_word; then 14302 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 14303 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 14304 break 14305 fi 14306 fi 14307 done 14308 IFS="$ac_save_ifs" 14309 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 14310 ;; 14311esac 14312fi 14313XGETTEXT="$ac_cv_path_XGETTEXT" 14314if test "$XGETTEXT" != ":"; then 14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 14316$as_echo "$XGETTEXT" >&6; } 14317else 14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14319$as_echo "no" >&6; } 14320fi 14321 14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14323/* end confdefs.h. */ 14324 14325int 14326main () 14327{ 14328extern int _nl_msg_cat_cntr; 14329 return _nl_msg_cat_cntr 14330 ; 14331 return 0; 14332} 14333_ACEOF 14334if ac_fn_c_try_link "$LINENO"; then : 14335 CATOBJEXT=.gmo 14336 DATADIRNAME=share 14337else 14338 case $host in 14339 *-*-solaris*) 14340 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14341if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14342 CATOBJEXT=.gmo 14343 DATADIRNAME=share 14344else 14345 CATOBJEXT=.mo 14346 DATADIRNAME=lib 14347fi 14348 14349 ;; 14350 *-*-openbsd*) 14351 CATOBJEXT=.mo 14352 DATADIRNAME=share 14353 ;; 14354 *) 14355 CATOBJEXT=.mo 14356 DATADIRNAME=lib 14357 ;; 14358 esac 14359fi 14360rm -f core conftest.err conftest.$ac_objext \ 14361 conftest$ac_exeext conftest.$ac_ext 14362 LIBS="$glib_save_LIBS" 14363 INSTOBJEXT=.mo 14364 else 14365 gt_cv_have_gettext=no 14366 fi 14367 fi 14368 14369fi 14370 14371 14372 14373 if test "$gt_cv_have_gettext" = "yes" ; then 14374 14375$as_echo "#define ENABLE_NLS 1" >>confdefs.h 14376 14377 fi 14378 14379 if test "$XGETTEXT" != ":"; then 14380 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 14381 : ; 14382 else 14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 14384$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 14385 XGETTEXT=":" 14386 fi 14387 fi 14388 14389 # We need to process the po/ directory. 14390 POSUB=po 14391 14392 ac_config_commands="$ac_config_commands default-1" 14393 14394 14395 for lang in $ALL_LINGUAS; do 14396 GMOFILES="$GMOFILES $lang.gmo" 14397 POFILES="$POFILES $lang.po" 14398 done 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 if test "$gt_cv_have_gettext" = "yes"; then 14413 if test "x$ALL_LINGUAS" = "x"; then 14414 LINGUAS= 14415 else 14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 14417$as_echo_n "checking for catalogs to be installed... " >&6; } 14418 NEW_LINGUAS= 14419 for presentlang in $ALL_LINGUAS; do 14420 useit=no 14421 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 14422 desiredlanguages="$LINGUAS" 14423 else 14424 desiredlanguages="$ALL_LINGUAS" 14425 fi 14426 for desiredlang in $desiredlanguages; do 14427 # Use the presentlang catalog if desiredlang is 14428 # a. equal to presentlang, or 14429 # b. a variant of presentlang (because in this case, 14430 # presentlang can be used as a fallback for messages 14431 # which are not translated in the desiredlang catalog). 14432 case "$desiredlang" in 14433 "$presentlang"*) useit=yes;; 14434 esac 14435 done 14436 if test $useit = yes; then 14437 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 14438 fi 14439 done 14440 LINGUAS=$NEW_LINGUAS 14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 14442$as_echo "$LINGUAS" >&6; } 14443 fi 14444 14445 if test -n "$LINGUAS"; then 14446 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 14447 fi 14448 fi 14449 14450 MKINSTALLDIRS= 14451 if test -n "$ac_aux_dir"; then 14452 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 14453 fi 14454 if test -z "$MKINSTALLDIRS"; then 14455 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 14456 fi 14457 14458 14459 test -d po || mkdir po 14460 if test "x$srcdir" != "x."; then 14461 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 14462 posrcprefix="$srcdir/" 14463 else 14464 posrcprefix="../$srcdir/" 14465 fi 14466 else 14467 posrcprefix="../" 14468 fi 14469 rm -f po/POTFILES 14470 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 14471 < $srcdir/po/POTFILES.in > po/POTFILES 14472 14473 14474 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14475if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14476 14477fi 14478 14479 14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5 14481$as_echo_n "checking for locales directory... " >&6; } 14482 14483# Check whether --with-locales-dir was given. 14484if test "${with_locales_dir+set}" = set; then : 14485 withval=$with_locales_dir; localedir=$withval 14486else 14487 14488 if test x"$CATOBJEXT" = x".mo"; then 14489 localedir=$libdir/locale 14490 else 14491 localedir=$datadir/locale 14492 fi 14493 14494fi 14495 14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5 14497$as_echo "$localedir" >&6; } 14498 14499 14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5 14501$as_echo_n "checking for additional xgettext flags... " >&6; } 14502 if test x"$XGETTEXT_ARGS" = x""; then 14503 XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8"; 14504 else 14505 XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8"; 14506 fi 14507 14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5 14509$as_echo "$XGETTEXT_ARGS" >&6; } 14510 14511 14512 14513 14514 # minimum supported version of pkg-config 14515 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 14526 if test -n "$ac_tool_prefix"; then 14527 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 14528set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 14529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14530$as_echo_n "checking for $ac_word... " >&6; } 14531if ${ac_cv_path_PKG_CONFIG+:} false; then : 14532 $as_echo_n "(cached) " >&6 14533else 14534 case $PKG_CONFIG in 14535 [\\/]* | ?:[\\/]*) 14536 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 14537 ;; 14538 *) 14539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14540for as_dir in $PATH 14541do 14542 IFS=$as_save_IFS 14543 test -z "$as_dir" && as_dir=. 14544 for ac_exec_ext in '' $ac_executable_extensions; do 14545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14546 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14548 break 2 14549 fi 14550done 14551 done 14552IFS=$as_save_IFS 14553 14554 ;; 14555esac 14556fi 14557PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14558if test -n "$PKG_CONFIG"; then 14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14560$as_echo "$PKG_CONFIG" >&6; } 14561else 14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14563$as_echo "no" >&6; } 14564fi 14565 14566 14567fi 14568if test -z "$ac_cv_path_PKG_CONFIG"; then 14569 ac_pt_PKG_CONFIG=$PKG_CONFIG 14570 # Extract the first word of "pkg-config", so it can be a program name with args. 14571set dummy pkg-config; ac_word=$2 14572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14573$as_echo_n "checking for $ac_word... " >&6; } 14574if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 14575 $as_echo_n "(cached) " >&6 14576else 14577 case $ac_pt_PKG_CONFIG in 14578 [\\/]* | ?:[\\/]*) 14579 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 14580 ;; 14581 *) 14582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14583for as_dir in $PATH 14584do 14585 IFS=$as_save_IFS 14586 test -z "$as_dir" && as_dir=. 14587 for ac_exec_ext in '' $ac_executable_extensions; do 14588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14589 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14591 break 2 14592 fi 14593done 14594 done 14595IFS=$as_save_IFS 14596 14597 ;; 14598esac 14599fi 14600ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 14601if test -n "$ac_pt_PKG_CONFIG"; then 14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 14603$as_echo "$ac_pt_PKG_CONFIG" >&6; } 14604else 14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14606$as_echo "no" >&6; } 14607fi 14608 14609 if test "x$ac_pt_PKG_CONFIG" = x; then 14610 PKG_CONFIG="" 14611 else 14612 case $cross_compiling:$ac_tool_warned in 14613yes:) 14614{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14615$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14616ac_tool_warned=yes ;; 14617esac 14618 PKG_CONFIG=$ac_pt_PKG_CONFIG 14619 fi 14620else 14621 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 14622fi 14623 14624fi 14625if test -n "$PKG_CONFIG"; then 14626 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 14628$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 14629 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14631$as_echo "yes" >&6; } 14632 else 14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14634$as_echo "no" >&6; } 14635 PKG_CONFIG="" 14636 fi 14637fi 14638 14639 if test x"$PKG_CONFIG" = x""; then 14640 echo 14641 echo "*** Your version of pkg-config is too old. You need atleast" 14642 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 14643 echo "*** from the freedesktop.org software repository at" 14644 echo "***" 14645 echo "*** http://www.freedesktop.org/software/pkgconfig" 14646 echo "***" 14647 exit 1; 14648 fi 14649 14650 14651 14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.22.0" >&5 14653$as_echo_n "checking for gtk+-3.0 >= 3.22.0... " >&6; } 14654 if $PKG_CONFIG "--atleast-version=3.22.0" "gtk+-3.0" >/dev/null 2>&1; then 14655 GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"` 14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5 14657$as_echo "$GTK_VERSION" >&6; } 14658 14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 14660$as_echo_n "checking GTK_CFLAGS... " >&6; } 14661 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"` 14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 14663$as_echo "$GTK_CFLAGS" >&6; } 14664 14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 14666$as_echo_n "checking GTK_LIBS... " >&6; } 14667 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"` 14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 14669$as_echo "$GTK_LIBS" >&6; } 14670 14671 GTK_REQUIRED_VERSION=3.22.0 14672 14673 14674 14675 14676 14677 14678 14679 elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then 14680 xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"` 14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 14682$as_echo "found, but $xdt_cv_version" >&6; } 14683 14684 14685 echo "*** The required package gtk+-3.0 was found on your system," 14686 echo "*** but the installed version ($xdt_cv_version) is too old." 14687 echo "*** Please upgrade gtk+-3.0 to atleast version 3.22.0, or adjust" 14688 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 14689 echo "*** the new version of the package in a nonstandard prefix so" 14690 echo "*** pkg-config is able to find it." 14691 exit 1 14692 14693 else 14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 14695$as_echo "not found" >&6; } 14696 14697 14698 echo "*** The required package gtk+-3.0 was not found on your system." 14699 echo "*** Please install gtk+-3.0 (atleast version 3.22.0) or adjust" 14700 echo "*** the PKG_CONFIG_PATH environment variable if you" 14701 echo "*** installed the package in a nonstandard prefix so that" 14702 echo "*** pkg-config is able to find it." 14703 exit 1 14704 14705 fi 14706 14707 14708 14709 # minimum supported version of pkg-config 14710 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 14721 if test -n "$ac_tool_prefix"; then 14722 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 14723set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 14724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14725$as_echo_n "checking for $ac_word... " >&6; } 14726if ${ac_cv_path_PKG_CONFIG+:} false; then : 14727 $as_echo_n "(cached) " >&6 14728else 14729 case $PKG_CONFIG in 14730 [\\/]* | ?:[\\/]*) 14731 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 14732 ;; 14733 *) 14734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14735for as_dir in $PATH 14736do 14737 IFS=$as_save_IFS 14738 test -z "$as_dir" && as_dir=. 14739 for ac_exec_ext in '' $ac_executable_extensions; do 14740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14741 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14743 break 2 14744 fi 14745done 14746 done 14747IFS=$as_save_IFS 14748 14749 ;; 14750esac 14751fi 14752PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14753if test -n "$PKG_CONFIG"; then 14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14755$as_echo "$PKG_CONFIG" >&6; } 14756else 14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14758$as_echo "no" >&6; } 14759fi 14760 14761 14762fi 14763if test -z "$ac_cv_path_PKG_CONFIG"; then 14764 ac_pt_PKG_CONFIG=$PKG_CONFIG 14765 # Extract the first word of "pkg-config", so it can be a program name with args. 14766set dummy pkg-config; ac_word=$2 14767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14768$as_echo_n "checking for $ac_word... " >&6; } 14769if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 14770 $as_echo_n "(cached) " >&6 14771else 14772 case $ac_pt_PKG_CONFIG in 14773 [\\/]* | ?:[\\/]*) 14774 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 14775 ;; 14776 *) 14777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14778for as_dir in $PATH 14779do 14780 IFS=$as_save_IFS 14781 test -z "$as_dir" && as_dir=. 14782 for ac_exec_ext in '' $ac_executable_extensions; do 14783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14784 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14786 break 2 14787 fi 14788done 14789 done 14790IFS=$as_save_IFS 14791 14792 ;; 14793esac 14794fi 14795ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 14796if test -n "$ac_pt_PKG_CONFIG"; then 14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 14798$as_echo "$ac_pt_PKG_CONFIG" >&6; } 14799else 14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14801$as_echo "no" >&6; } 14802fi 14803 14804 if test "x$ac_pt_PKG_CONFIG" = x; then 14805 PKG_CONFIG="" 14806 else 14807 case $cross_compiling:$ac_tool_warned in 14808yes:) 14809{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14810$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14811ac_tool_warned=yes ;; 14812esac 14813 PKG_CONFIG=$ac_pt_PKG_CONFIG 14814 fi 14815else 14816 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 14817fi 14818 14819fi 14820if test -n "$PKG_CONFIG"; then 14821 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 14822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 14823$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 14824 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14826$as_echo "yes" >&6; } 14827 else 14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14829$as_echo "no" >&6; } 14830 PKG_CONFIG="" 14831 fi 14832fi 14833 14834 if test x"$PKG_CONFIG" = x""; then 14835 echo 14836 echo "*** Your version of pkg-config is too old. You need atleast" 14837 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 14838 echo "*** from the freedesktop.org software repository at" 14839 echo "***" 14840 echo "*** http://www.freedesktop.org/software/pkgconfig" 14841 echo "***" 14842 exit 1; 14843 fi 14844 14845 14846 14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exo-2 >= 0.11.0" >&5 14848$as_echo_n "checking for exo-2 >= 0.11.0... " >&6; } 14849 if $PKG_CONFIG "--atleast-version=0.11.0" "exo-2" >/dev/null 2>&1; then 14850 EXO_VERSION=`$PKG_CONFIG --modversion "exo-2"` 14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXO_VERSION" >&5 14852$as_echo "$EXO_VERSION" >&6; } 14853 14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking EXO_CFLAGS" >&5 14855$as_echo_n "checking EXO_CFLAGS... " >&6; } 14856 EXO_CFLAGS=`$PKG_CONFIG --cflags "exo-2"` 14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXO_CFLAGS" >&5 14858$as_echo "$EXO_CFLAGS" >&6; } 14859 14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking EXO_LIBS" >&5 14861$as_echo_n "checking EXO_LIBS... " >&6; } 14862 EXO_LIBS=`$PKG_CONFIG --libs "exo-2"` 14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXO_LIBS" >&5 14864$as_echo "$EXO_LIBS" >&6; } 14865 14866 EXO_REQUIRED_VERSION=0.11.0 14867 14868 14869 14870 14871 14872 14873 14874 elif $PKG_CONFIG --exists "exo-2" >/dev/null 2>&1; then 14875 xdt_cv_version=`$PKG_CONFIG --modversion "exo-2"` 14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 14877$as_echo "found, but $xdt_cv_version" >&6; } 14878 14879 14880 echo "*** The required package exo-2 was found on your system," 14881 echo "*** but the installed version ($xdt_cv_version) is too old." 14882 echo "*** Please upgrade exo-2 to atleast version 0.11.0, or adjust" 14883 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 14884 echo "*** the new version of the package in a nonstandard prefix so" 14885 echo "*** pkg-config is able to find it." 14886 exit 1 14887 14888 else 14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 14890$as_echo "not found" >&6; } 14891 14892 14893 echo "*** The required package exo-2 was not found on your system." 14894 echo "*** Please install exo-2 (atleast version 0.11.0) or adjust" 14895 echo "*** the PKG_CONFIG_PATH environment variable if you" 14896 echo "*** installed the package in a nonstandard prefix so that" 14897 echo "*** pkg-config is able to find it." 14898 exit 1 14899 14900 fi 14901 14902 14903 14904 # minimum supported version of pkg-config 14905 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 14916 if test -n "$ac_tool_prefix"; then 14917 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 14918set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 14919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14920$as_echo_n "checking for $ac_word... " >&6; } 14921if ${ac_cv_path_PKG_CONFIG+:} false; then : 14922 $as_echo_n "(cached) " >&6 14923else 14924 case $PKG_CONFIG in 14925 [\\/]* | ?:[\\/]*) 14926 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 14927 ;; 14928 *) 14929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14930for as_dir in $PATH 14931do 14932 IFS=$as_save_IFS 14933 test -z "$as_dir" && as_dir=. 14934 for ac_exec_ext in '' $ac_executable_extensions; do 14935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14936 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14938 break 2 14939 fi 14940done 14941 done 14942IFS=$as_save_IFS 14943 14944 ;; 14945esac 14946fi 14947PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14948if test -n "$PKG_CONFIG"; then 14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14950$as_echo "$PKG_CONFIG" >&6; } 14951else 14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14953$as_echo "no" >&6; } 14954fi 14955 14956 14957fi 14958if test -z "$ac_cv_path_PKG_CONFIG"; then 14959 ac_pt_PKG_CONFIG=$PKG_CONFIG 14960 # Extract the first word of "pkg-config", so it can be a program name with args. 14961set dummy pkg-config; ac_word=$2 14962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14963$as_echo_n "checking for $ac_word... " >&6; } 14964if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 14965 $as_echo_n "(cached) " >&6 14966else 14967 case $ac_pt_PKG_CONFIG in 14968 [\\/]* | ?:[\\/]*) 14969 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 14970 ;; 14971 *) 14972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14973for as_dir in $PATH 14974do 14975 IFS=$as_save_IFS 14976 test -z "$as_dir" && as_dir=. 14977 for ac_exec_ext in '' $ac_executable_extensions; do 14978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14979 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14981 break 2 14982 fi 14983done 14984 done 14985IFS=$as_save_IFS 14986 14987 ;; 14988esac 14989fi 14990ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 14991if test -n "$ac_pt_PKG_CONFIG"; then 14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 14993$as_echo "$ac_pt_PKG_CONFIG" >&6; } 14994else 14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14996$as_echo "no" >&6; } 14997fi 14998 14999 if test "x$ac_pt_PKG_CONFIG" = x; then 15000 PKG_CONFIG="" 15001 else 15002 case $cross_compiling:$ac_tool_warned in 15003yes:) 15004{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15005$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15006ac_tool_warned=yes ;; 15007esac 15008 PKG_CONFIG=$ac_pt_PKG_CONFIG 15009 fi 15010else 15011 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15012fi 15013 15014fi 15015if test -n "$PKG_CONFIG"; then 15016 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15018$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15019 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15021$as_echo "yes" >&6; } 15022 else 15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15024$as_echo "no" >&6; } 15025 PKG_CONFIG="" 15026 fi 15027fi 15028 15029 if test x"$PKG_CONFIG" = x""; then 15030 echo 15031 echo "*** Your version of pkg-config is too old. You need atleast" 15032 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 15033 echo "*** from the freedesktop.org software repository at" 15034 echo "***" 15035 echo "*** http://www.freedesktop.org/software/pkgconfig" 15036 echo "***" 15037 exit 1; 15038 fi 15039 15040 15041 15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thunarx-3 >= 1.0.1" >&5 15043$as_echo_n "checking for thunarx-3 >= 1.0.1... " >&6; } 15044 if $PKG_CONFIG "--atleast-version=1.0.1" "thunarx-3" >/dev/null 2>&1; then 15045 THUNARX_VERSION=`$PKG_CONFIG --modversion "thunarx-3"` 15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THUNARX_VERSION" >&5 15047$as_echo "$THUNARX_VERSION" >&6; } 15048 15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking THUNARX_CFLAGS" >&5 15050$as_echo_n "checking THUNARX_CFLAGS... " >&6; } 15051 THUNARX_CFLAGS=`$PKG_CONFIG --cflags "thunarx-3"` 15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THUNARX_CFLAGS" >&5 15053$as_echo "$THUNARX_CFLAGS" >&6; } 15054 15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking THUNARX_LIBS" >&5 15056$as_echo_n "checking THUNARX_LIBS... " >&6; } 15057 THUNARX_LIBS=`$PKG_CONFIG --libs "thunarx-3"` 15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THUNARX_LIBS" >&5 15059$as_echo "$THUNARX_LIBS" >&6; } 15060 15061 THUNARX_REQUIRED_VERSION=1.0.1 15062 15063 15064 15065 15066 15067 15068 15069 elif $PKG_CONFIG --exists "thunarx-3" >/dev/null 2>&1; then 15070 xdt_cv_version=`$PKG_CONFIG --modversion "thunarx-3"` 15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 15072$as_echo "found, but $xdt_cv_version" >&6; } 15073 15074 15075 echo "*** The required package thunarx-3 was found on your system," 15076 echo "*** but the installed version ($xdt_cv_version) is too old." 15077 echo "*** Please upgrade thunarx-3 to atleast version 1.0.1, or adjust" 15078 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 15079 echo "*** the new version of the package in a nonstandard prefix so" 15080 echo "*** pkg-config is able to find it." 15081 exit 1 15082 15083 else 15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15085$as_echo "not found" >&6; } 15086 15087 15088 echo "*** The required package thunarx-3 was not found on your system." 15089 echo "*** Please install thunarx-3 (atleast version 1.0.1) or adjust" 15090 echo "*** the PKG_CONFIG_PATH environment variable if you" 15091 echo "*** installed the package in a nonstandard prefix so that" 15092 echo "*** pkg-config is able to find it." 15093 exit 1 15094 15095 fi 15096 15097 15098 15099 # minimum supported version of pkg-config 15100 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15111 if test -n "$ac_tool_prefix"; then 15112 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15113set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15115$as_echo_n "checking for $ac_word... " >&6; } 15116if ${ac_cv_path_PKG_CONFIG+:} false; then : 15117 $as_echo_n "(cached) " >&6 15118else 15119 case $PKG_CONFIG in 15120 [\\/]* | ?:[\\/]*) 15121 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15122 ;; 15123 *) 15124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15125for as_dir in $PATH 15126do 15127 IFS=$as_save_IFS 15128 test -z "$as_dir" && as_dir=. 15129 for ac_exec_ext in '' $ac_executable_extensions; do 15130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15131 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15133 break 2 15134 fi 15135done 15136 done 15137IFS=$as_save_IFS 15138 15139 ;; 15140esac 15141fi 15142PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15143if test -n "$PKG_CONFIG"; then 15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15145$as_echo "$PKG_CONFIG" >&6; } 15146else 15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15148$as_echo "no" >&6; } 15149fi 15150 15151 15152fi 15153if test -z "$ac_cv_path_PKG_CONFIG"; then 15154 ac_pt_PKG_CONFIG=$PKG_CONFIG 15155 # Extract the first word of "pkg-config", so it can be a program name with args. 15156set dummy pkg-config; ac_word=$2 15157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15158$as_echo_n "checking for $ac_word... " >&6; } 15159if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15160 $as_echo_n "(cached) " >&6 15161else 15162 case $ac_pt_PKG_CONFIG in 15163 [\\/]* | ?:[\\/]*) 15164 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15165 ;; 15166 *) 15167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15168for as_dir in $PATH 15169do 15170 IFS=$as_save_IFS 15171 test -z "$as_dir" && as_dir=. 15172 for ac_exec_ext in '' $ac_executable_extensions; do 15173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15174 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15176 break 2 15177 fi 15178done 15179 done 15180IFS=$as_save_IFS 15181 15182 ;; 15183esac 15184fi 15185ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15186if test -n "$ac_pt_PKG_CONFIG"; then 15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15188$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15189else 15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15191$as_echo "no" >&6; } 15192fi 15193 15194 if test "x$ac_pt_PKG_CONFIG" = x; then 15195 PKG_CONFIG="" 15196 else 15197 case $cross_compiling:$ac_tool_warned in 15198yes:) 15199{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15200$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15201ac_tool_warned=yes ;; 15202esac 15203 PKG_CONFIG=$ac_pt_PKG_CONFIG 15204 fi 15205else 15206 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15207fi 15208 15209fi 15210if test -n "$PKG_CONFIG"; then 15211 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15213$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15214 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15216$as_echo "yes" >&6; } 15217 else 15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15219$as_echo "no" >&6; } 15220 PKG_CONFIG="" 15221 fi 15222fi 15223 15224 if test x"$PKG_CONFIG" = x""; then 15225 echo 15226 echo "*** Your version of pkg-config is too old. You need atleast" 15227 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 15228 echo "*** from the freedesktop.org software repository at" 15229 echo "***" 15230 echo "*** http://www.freedesktop.org/software/pkgconfig" 15231 echo "***" 15232 exit 1; 15233 fi 15234 15235 15236 15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for taglib >= 1.4" >&5 15238$as_echo_n "checking for taglib >= 1.4... " >&6; } 15239 if $PKG_CONFIG "--atleast-version=1.4" "taglib" >/dev/null 2>&1; then 15240 TAGLIB_VERSION=`$PKG_CONFIG --modversion "taglib"` 15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAGLIB_VERSION" >&5 15242$as_echo "$TAGLIB_VERSION" >&6; } 15243 15244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking TAGLIB_CFLAGS" >&5 15245$as_echo_n "checking TAGLIB_CFLAGS... " >&6; } 15246 TAGLIB_CFLAGS=`$PKG_CONFIG --cflags "taglib"` 15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAGLIB_CFLAGS" >&5 15248$as_echo "$TAGLIB_CFLAGS" >&6; } 15249 15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking TAGLIB_LIBS" >&5 15251$as_echo_n "checking TAGLIB_LIBS... " >&6; } 15252 TAGLIB_LIBS=`$PKG_CONFIG --libs "taglib"` 15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAGLIB_LIBS" >&5 15254$as_echo "$TAGLIB_LIBS" >&6; } 15255 15256 TAGLIB_REQUIRED_VERSION=1.4 15257 15258 15259 15260 15261 15262 15263 15264 elif $PKG_CONFIG --exists "taglib" >/dev/null 2>&1; then 15265 xdt_cv_version=`$PKG_CONFIG --modversion "taglib"` 15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 15267$as_echo "found, but $xdt_cv_version" >&6; } 15268 15269 15270 echo "*** The required package taglib was found on your system," 15271 echo "*** but the installed version ($xdt_cv_version) is too old." 15272 echo "*** Please upgrade taglib to atleast version 1.4, or adjust" 15273 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 15274 echo "*** the new version of the package in a nonstandard prefix so" 15275 echo "*** pkg-config is able to find it." 15276 exit 1 15277 15278 else 15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15280$as_echo "not found" >&6; } 15281 15282 15283 echo "*** The required package taglib was not found on your system." 15284 echo "*** Please install taglib (atleast version 1.4) or adjust" 15285 echo "*** the PKG_CONFIG_PATH environment variable if you" 15286 echo "*** installed the package in a nonstandard prefix so that" 15287 echo "*** pkg-config is able to find it." 15288 exit 1 15289 15290 fi 15291 15292 15293TAGLIBC_LIBS="" 15294TAGLIBC_CFLAGS="" 15295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for taglib_file_new in -ltag_c" >&5 15296$as_echo_n "checking for taglib_file_new in -ltag_c... " >&6; } 15297if ${ac_cv_lib_tag_c_taglib_file_new+:} false; then : 15298 $as_echo_n "(cached) " >&6 15299else 15300 ac_check_lib_save_LIBS=$LIBS 15301LIBS="-ltag_c $LIBS" 15302cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15303/* end confdefs.h. */ 15304 15305/* Override any GCC internal prototype to avoid an error. 15306 Use char because int might match the return type of a GCC 15307 builtin and then its argument prototype would still apply. */ 15308#ifdef __cplusplus 15309extern "C" 15310#endif 15311char taglib_file_new (); 15312int 15313main () 15314{ 15315return taglib_file_new (); 15316 ; 15317 return 0; 15318} 15319_ACEOF 15320if ac_fn_c_try_link "$LINENO"; then : 15321 ac_cv_lib_tag_c_taglib_file_new=yes 15322else 15323 ac_cv_lib_tag_c_taglib_file_new=no 15324fi 15325rm -f core conftest.err conftest.$ac_objext \ 15326 conftest$ac_exeext conftest.$ac_ext 15327LIBS=$ac_check_lib_save_LIBS 15328fi 15329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tag_c_taglib_file_new" >&5 15330$as_echo "$ac_cv_lib_tag_c_taglib_file_new" >&6; } 15331if test "x$ac_cv_lib_tag_c_taglib_file_new" = xyes; then : 15332 15333 ac_fn_c_check_header_mongrel "$LINENO" "taglib/tag_c.h" "ac_cv_header_taglib_tag_c_h" "$ac_includes_default" 15334if test "x$ac_cv_header_taglib_tag_c_h" = xyes; then : 15335 15336 TAGLIBC_LIBS="-ltag_c" 15337 15338$as_echo "#define HAVE_TAGLIBC 1" >>confdefs.h 15339 15340 15341fi 15342 15343 15344 15345else 15346 -lm 15347fi 15348 15349 15350 15351 15352 15353 # Check whether --enable-debug was given. 15354if test "${enable_debug+set}" = set; then : 15355 enableval=$enable_debug; enable_debug=$enableval 15356else 15357 enable_debug=minimum 15358fi 15359 15360 15361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5 15362$as_echo_n "checking whether to build with debugging support... " >&6; } 15363 if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then 15364 15365$as_echo "#define DEBUG 1" >>confdefs.h 15366 15367 15368 xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \ 15369 -Wall -Wextra \ 15370 -Wno-missing-field-initializers \ 15371 -Wno-unused-parameter -Wold-style-definition \ 15372 -Wdeclaration-after-statement \ 15373 -Wmissing-declarations \ 15374 -Wmissing-noreturn -Wshadow -Wpointer-arith \ 15375 -Wcast-align -Wformat -Wformat-security -Wformat-y2k \ 15376 -Winit-self -Wmissing-include-dirs -Wundef \ 15377 -Wnested-externs" 15378 CPPFLAGS="$CPPFLAGS" 15379 15380 if test x`uname` = x"Linux"; then 15381 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector" 15382 fi 15383 15384 if test x`uname` != x"OpenBSD"; then 15385 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls" 15386 fi 15387 15388 if test x"$enable_debug" = x"full"; then 15389 15390$as_echo "#define DEBUG_TRACE 1" >>confdefs.h 15391 15392 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror" 15393 CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG" 15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5 15395$as_echo "full" >&6; } 15396 else 15397 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g" 15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15399$as_echo "yes" >&6; } 15400 fi 15401 15402 15403 for flag in $xdt_cv_additional_CFLAGS; do 15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5 15405$as_echo_n "checking if $CC supports $flag... " >&6; } 15406 saved_CFLAGS="$CFLAGS" 15407 CFLAGS="$CFLAGS $flag" 15408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15409/* end confdefs.h. */ 15410 15411_ACEOF 15412if ac_fn_c_try_compile "$LINENO"; then : 15413 flag_supported=yes 15414else 15415 flag_supported=no 15416fi 15417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15418 CFLAGS="$saved_CFLAGS" 15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5 15420$as_echo "$flag_supported" >&6; } 15421 15422 if test "x$flag_supported" = "xyes"; then 15423 supported_CFLAGS="$supported_CFLAGS $flag" 15424 fi 15425 done 15426 15427 15428 15429 supported_CXXFLAGS="$supported_CFLAGS" 15430 15431 15432 CFLAGS="$CFLAGS $supported_CFLAGS" 15433 CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS" 15434 else 15435 CPPFLAGS="$CPPFLAGS -DNDEBUG" 15436 15437 if test x"$enable_debug" = x"no"; then 15438 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT" 15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15440$as_echo "no" >&6; } 15441 else 15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5 15443$as_echo "minimum" >&6; } 15444 fi 15445 fi 15446 15447 15448 15449 # Check whether --enable-linker-opts was given. 15450if test "${enable_linker_opts+set}" = set; then : 15451 enableval=$enable_linker_opts; enable_linker_opts=$enableval 15452else 15453 enable_linker_opts=yes 15454fi 15455 15456 15457 if test "x$enable_linker_opts" != "xno"; then 15458 if test x`uname` != x"OpenBSD"; then 15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --as-needed" >&5 15460$as_echo_n "checking whether $LD accepts --as-needed... " >&6; } 15461 case `$LD --as-needed -v 2>&1 </dev/null` in 15462 *GNU* | *'with BFD'*) 15463 LDFLAGS="$LDFLAGS -Wl,--as-needed" 15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15465$as_echo "yes" >&6; } 15466 ;; 15467 *) 15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15469$as_echo "no" >&6; } 15470 ;; 15471 esac 15472 fi 15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -O1" >&5 15474$as_echo_n "checking whether $LD accepts -O1... " >&6; } 15475 case `$LD -O1 -v 2>&1 </dev/null` in 15476 *GNU* | *'with BFD'*) 15477 LDFLAGS="$LDFLAGS -Wl,-O1" 15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15479$as_echo "yes" >&6; } 15480 ;; 15481 *) 15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15483$as_echo "no" >&6; } 15484 ;; 15485 esac 15486 fi 15487 15488 15489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking PLATFORM_CPPFLAGS" >&5 15490$as_echo_n "checking PLATFORM_CPPFLAGS... " >&6; } 15491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_CPPFLAGS" >&5 15492$as_echo "$PLATFORM_CPPFLAGS" >&6; } 15493 15494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking PLATFORM_CFLAGS" >&5 15495$as_echo_n "checking PLATFORM_CFLAGS... " >&6; } 15496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_CFLAGS" >&5 15497$as_echo "$PLATFORM_CFLAGS" >&6; } 15498 15499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking PLATFORM_LDFLAGS" >&5 15500$as_echo_n "checking PLATFORM_LDFLAGS... " >&6; } 15501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_LDFLAGS" >&5 15502$as_echo "$PLATFORM_LDFLAGS" >&6; } 15503 15504 15505ac_config_files="$ac_config_files Makefile po/Makefile.in thunar-plugin/Makefile" 15506 15507cat >confcache <<\_ACEOF 15508# This file is a shell script that caches the results of configure 15509# tests run on this system so they can be shared between configure 15510# scripts and configure runs, see configure's option --config-cache. 15511# It is not useful on other systems. If it contains results you don't 15512# want to keep, you may remove or edit it. 15513# 15514# config.status only pays attention to the cache file if you give it 15515# the --recheck option to rerun configure. 15516# 15517# `ac_cv_env_foo' variables (set or unset) will be overridden when 15518# loading this file, other *unset* `ac_cv_foo' will be assigned the 15519# following values. 15520 15521_ACEOF 15522 15523# The following way of writing the cache mishandles newlines in values, 15524# but we know of no workaround that is simple, portable, and efficient. 15525# So, we kill variables containing newlines. 15526# Ultrix sh set writes to stderr and can't be redirected directly, 15527# and sets the high bit in the cache file unless we assign to the vars. 15528( 15529 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 15530 eval ac_val=\$$ac_var 15531 case $ac_val in #( 15532 *${as_nl}*) 15533 case $ac_var in #( 15534 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 15535$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 15536 esac 15537 case $ac_var in #( 15538 _ | IFS | as_nl) ;; #( 15539 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 15540 *) { eval $ac_var=; unset $ac_var;} ;; 15541 esac ;; 15542 esac 15543 done 15544 15545 (set) 2>&1 | 15546 case $as_nl`(ac_space=' '; set) 2>&1` in #( 15547 *${as_nl}ac_space=\ *) 15548 # `set' does not quote correctly, so add quotes: double-quote 15549 # substitution turns \\\\ into \\, and sed turns \\ into \. 15550 sed -n \ 15551 "s/'/'\\\\''/g; 15552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 15553 ;; #( 15554 *) 15555 # `set' quotes correctly as required by POSIX, so do not add quotes. 15556 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 15557 ;; 15558 esac | 15559 sort 15560) | 15561 sed ' 15562 /^ac_cv_env_/b end 15563 t clear 15564 :clear 15565 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 15566 t end 15567 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 15568 :end' >>confcache 15569if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15570 if test -w "$cache_file"; then 15571 if test "x$cache_file" != "x/dev/null"; then 15572 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15573$as_echo "$as_me: updating cache $cache_file" >&6;} 15574 if test ! -f "$cache_file" || test -h "$cache_file"; then 15575 cat confcache >"$cache_file" 15576 else 15577 case $cache_file in #( 15578 */* | ?:*) 15579 mv -f confcache "$cache_file"$$ && 15580 mv -f "$cache_file"$$ "$cache_file" ;; #( 15581 *) 15582 mv -f confcache "$cache_file" ;; 15583 esac 15584 fi 15585 fi 15586 else 15587 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15588$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15589 fi 15590fi 15591rm -f confcache 15592 15593test "x$prefix" = xNONE && prefix=$ac_default_prefix 15594# Let make expand exec_prefix. 15595test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 15596 15597DEFS=-DHAVE_CONFIG_H 15598 15599ac_libobjs= 15600ac_ltlibobjs= 15601U= 15602for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15603 # 1. Remove the extension, and $U if already installed. 15604 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15605 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15606 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15607 # will be set to the directory where LIBOBJS objects are built. 15608 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15609 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15610done 15611LIBOBJS=$ac_libobjs 15612 15613LTLIBOBJS=$ac_ltlibobjs 15614 15615 15616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 15617$as_echo_n "checking that generated files are newer than configure... " >&6; } 15618 if test -n "$am_sleep_pid"; then 15619 # Hide warnings about reused PIDs. 15620 wait $am_sleep_pid 2>/dev/null 15621 fi 15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 15623$as_echo "done" >&6; } 15624 if test -n "$EXEEXT"; then 15625 am__EXEEXT_TRUE= 15626 am__EXEEXT_FALSE='#' 15627else 15628 am__EXEEXT_TRUE='#' 15629 am__EXEEXT_FALSE= 15630fi 15631 15632if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 15633 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 15634Usually this means the macro was only invoked conditionally." "$LINENO" 5 15635fi 15636if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 15637 as_fn_error $? "conditional \"AMDEP\" was never defined. 15638Usually this means the macro was only invoked conditionally." "$LINENO" 5 15639fi 15640if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15641 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 15642Usually this means the macro was only invoked conditionally." "$LINENO" 5 15643fi 15644if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15645 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 15646Usually this means the macro was only invoked conditionally." "$LINENO" 5 15647fi 15648 15649 ac_config_commands="$ac_config_commands po/stamp-it" 15650 15651 15652 15653: "${CONFIG_STATUS=./config.status}" 15654ac_write_fail=0 15655ac_clean_files_save=$ac_clean_files 15656ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15657{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15658$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15659as_write_fail=0 15660cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15661#! $SHELL 15662# Generated by $as_me. 15663# Run this file to recreate the current configuration. 15664# Compiler output produced by configure, useful for debugging 15665# configure, is in config.log if it exists. 15666 15667debug=false 15668ac_cs_recheck=false 15669ac_cs_silent=false 15670 15671SHELL=\${CONFIG_SHELL-$SHELL} 15672export SHELL 15673_ASEOF 15674cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 15675## -------------------- ## 15676## M4sh Initialization. ## 15677## -------------------- ## 15678 15679# Be more Bourne compatible 15680DUALCASE=1; export DUALCASE # for MKS sh 15681if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15682 emulate sh 15683 NULLCMD=: 15684 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15685 # is contrary to our usage. Disable this feature. 15686 alias -g '${1+"$@"}'='"$@"' 15687 setopt NO_GLOB_SUBST 15688else 15689 case `(set -o) 2>/dev/null` in #( 15690 *posix*) : 15691 set -o posix ;; #( 15692 *) : 15693 ;; 15694esac 15695fi 15696 15697 15698as_nl=' 15699' 15700export as_nl 15701# Printing a long string crashes Solaris 7 /usr/bin/printf. 15702as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 15703as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 15704as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 15705# Prefer a ksh shell builtin over an external printf program on Solaris, 15706# but without wasting forks for bash or zsh. 15707if test -z "$BASH_VERSION$ZSH_VERSION" \ 15708 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 15709 as_echo='print -r --' 15710 as_echo_n='print -rn --' 15711elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 15712 as_echo='printf %s\n' 15713 as_echo_n='printf %s' 15714else 15715 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 15716 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 15717 as_echo_n='/usr/ucb/echo -n' 15718 else 15719 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 15720 as_echo_n_body='eval 15721 arg=$1; 15722 case $arg in #( 15723 *"$as_nl"*) 15724 expr "X$arg" : "X\\(.*\\)$as_nl"; 15725 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 15726 esac; 15727 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 15728 ' 15729 export as_echo_n_body 15730 as_echo_n='sh -c $as_echo_n_body as_echo' 15731 fi 15732 export as_echo_body 15733 as_echo='sh -c $as_echo_body as_echo' 15734fi 15735 15736# The user is always right. 15737if test "${PATH_SEPARATOR+set}" != set; then 15738 PATH_SEPARATOR=: 15739 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 15740 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 15741 PATH_SEPARATOR=';' 15742 } 15743fi 15744 15745 15746# IFS 15747# We need space, tab and new line, in precisely that order. Quoting is 15748# there to prevent editors from complaining about space-tab. 15749# (If _AS_PATH_WALK were called with IFS unset, it would disable word 15750# splitting by setting IFS to empty value.) 15751IFS=" "" $as_nl" 15752 15753# Find who we are. Look in the path if we contain no directory separator. 15754as_myself= 15755case $0 in #(( 15756 *[\\/]* ) as_myself=$0 ;; 15757 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15758for as_dir in $PATH 15759do 15760 IFS=$as_save_IFS 15761 test -z "$as_dir" && as_dir=. 15762 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15763 done 15764IFS=$as_save_IFS 15765 15766 ;; 15767esac 15768# We did not find ourselves, most probably we were run as `sh COMMAND' 15769# in which case we are not to be found in the path. 15770if test "x$as_myself" = x; then 15771 as_myself=$0 15772fi 15773if test ! -f "$as_myself"; then 15774 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15775 exit 1 15776fi 15777 15778# Unset variables that we do not need and which cause bugs (e.g. in 15779# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 15780# suppresses any "Segmentation fault" message there. '((' could 15781# trigger a bug in pdksh 5.2.14. 15782for as_var in BASH_ENV ENV MAIL MAILPATH 15783do eval test x\${$as_var+set} = xset \ 15784 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15785done 15786PS1='$ ' 15787PS2='> ' 15788PS4='+ ' 15789 15790# NLS nuisances. 15791LC_ALL=C 15792export LC_ALL 15793LANGUAGE=C 15794export LANGUAGE 15795 15796# CDPATH. 15797(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15798 15799 15800# as_fn_error STATUS ERROR [LINENO LOG_FD] 15801# ---------------------------------------- 15802# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15803# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15804# script with STATUS, using 1 if that was 0. 15805as_fn_error () 15806{ 15807 as_status=$1; test $as_status -eq 0 && as_status=1 15808 if test "$4"; then 15809 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15810 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 15811 fi 15812 $as_echo "$as_me: error: $2" >&2 15813 as_fn_exit $as_status 15814} # as_fn_error 15815 15816 15817# as_fn_set_status STATUS 15818# ----------------------- 15819# Set $? to STATUS, without forking. 15820as_fn_set_status () 15821{ 15822 return $1 15823} # as_fn_set_status 15824 15825# as_fn_exit STATUS 15826# ----------------- 15827# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 15828as_fn_exit () 15829{ 15830 set +e 15831 as_fn_set_status $1 15832 exit $1 15833} # as_fn_exit 15834 15835# as_fn_unset VAR 15836# --------------- 15837# Portably unset VAR. 15838as_fn_unset () 15839{ 15840 { eval $1=; unset $1;} 15841} 15842as_unset=as_fn_unset 15843# as_fn_append VAR VALUE 15844# ---------------------- 15845# Append the text in VALUE to the end of the definition contained in VAR. Take 15846# advantage of any shell optimizations that allow amortized linear growth over 15847# repeated appends, instead of the typical quadratic growth present in naive 15848# implementations. 15849if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 15850 eval 'as_fn_append () 15851 { 15852 eval $1+=\$2 15853 }' 15854else 15855 as_fn_append () 15856 { 15857 eval $1=\$$1\$2 15858 } 15859fi # as_fn_append 15860 15861# as_fn_arith ARG... 15862# ------------------ 15863# Perform arithmetic evaluation on the ARGs, and store the result in the 15864# global $as_val. Take advantage of shells that can avoid forks. The arguments 15865# must be portable across $(()) and expr. 15866if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 15867 eval 'as_fn_arith () 15868 { 15869 as_val=$(( $* )) 15870 }' 15871else 15872 as_fn_arith () 15873 { 15874 as_val=`expr "$@" || test $? -eq 1` 15875 } 15876fi # as_fn_arith 15877 15878 15879if expr a : '\(a\)' >/dev/null 2>&1 && 15880 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15881 as_expr=expr 15882else 15883 as_expr=false 15884fi 15885 15886if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15887 as_basename=basename 15888else 15889 as_basename=false 15890fi 15891 15892if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15893 as_dirname=dirname 15894else 15895 as_dirname=false 15896fi 15897 15898as_me=`$as_basename -- "$0" || 15899$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15900 X"$0" : 'X\(//\)$' \| \ 15901 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15902$as_echo X/"$0" | 15903 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15904 s//\1/ 15905 q 15906 } 15907 /^X\/\(\/\/\)$/{ 15908 s//\1/ 15909 q 15910 } 15911 /^X\/\(\/\).*/{ 15912 s//\1/ 15913 q 15914 } 15915 s/.*/./; q'` 15916 15917# Avoid depending upon Character Ranges. 15918as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15919as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15920as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15921as_cr_digits='0123456789' 15922as_cr_alnum=$as_cr_Letters$as_cr_digits 15923 15924ECHO_C= ECHO_N= ECHO_T= 15925case `echo -n x` in #((((( 15926-n*) 15927 case `echo 'xy\c'` in 15928 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15929 xy) ECHO_C='\c';; 15930 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 15931 ECHO_T=' ';; 15932 esac;; 15933*) 15934 ECHO_N='-n';; 15935esac 15936 15937rm -f conf$$ conf$$.exe conf$$.file 15938if test -d conf$$.dir; then 15939 rm -f conf$$.dir/conf$$.file 15940else 15941 rm -f conf$$.dir 15942 mkdir conf$$.dir 2>/dev/null 15943fi 15944if (echo >conf$$.file) 2>/dev/null; then 15945 if ln -s conf$$.file conf$$ 2>/dev/null; then 15946 as_ln_s='ln -s' 15947 # ... but there are two gotchas: 15948 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15949 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15950 # In both cases, we have to default to `cp -pR'. 15951 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15952 as_ln_s='cp -pR' 15953 elif ln conf$$.file conf$$ 2>/dev/null; then 15954 as_ln_s=ln 15955 else 15956 as_ln_s='cp -pR' 15957 fi 15958else 15959 as_ln_s='cp -pR' 15960fi 15961rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15962rmdir conf$$.dir 2>/dev/null 15963 15964 15965# as_fn_mkdir_p 15966# ------------- 15967# Create "$as_dir" as a directory, including parents if necessary. 15968as_fn_mkdir_p () 15969{ 15970 15971 case $as_dir in #( 15972 -*) as_dir=./$as_dir;; 15973 esac 15974 test -d "$as_dir" || eval $as_mkdir_p || { 15975 as_dirs= 15976 while :; do 15977 case $as_dir in #( 15978 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15979 *) as_qdir=$as_dir;; 15980 esac 15981 as_dirs="'$as_qdir' $as_dirs" 15982 as_dir=`$as_dirname -- "$as_dir" || 15983$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15984 X"$as_dir" : 'X\(//\)[^/]' \| \ 15985 X"$as_dir" : 'X\(//\)$' \| \ 15986 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15987$as_echo X"$as_dir" | 15988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15989 s//\1/ 15990 q 15991 } 15992 /^X\(\/\/\)[^/].*/{ 15993 s//\1/ 15994 q 15995 } 15996 /^X\(\/\/\)$/{ 15997 s//\1/ 15998 q 15999 } 16000 /^X\(\/\).*/{ 16001 s//\1/ 16002 q 16003 } 16004 s/.*/./; q'` 16005 test -d "$as_dir" && break 16006 done 16007 test -z "$as_dirs" || eval "mkdir $as_dirs" 16008 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 16009 16010 16011} # as_fn_mkdir_p 16012if mkdir -p . 2>/dev/null; then 16013 as_mkdir_p='mkdir -p "$as_dir"' 16014else 16015 test -d ./-p && rmdir ./-p 16016 as_mkdir_p=false 16017fi 16018 16019 16020# as_fn_executable_p FILE 16021# ----------------------- 16022# Test if FILE is an executable regular file. 16023as_fn_executable_p () 16024{ 16025 test -f "$1" && test -x "$1" 16026} # as_fn_executable_p 16027as_test_x='test -x' 16028as_executable_p=as_fn_executable_p 16029 16030# Sed expression to map a string onto a valid CPP name. 16031as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 16032 16033# Sed expression to map a string onto a valid variable name. 16034as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 16035 16036 16037exec 6>&1 16038## ----------------------------------- ## 16039## Main body of $CONFIG_STATUS script. ## 16040## ----------------------------------- ## 16041_ASEOF 16042test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 16043 16044cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16045# Save the log message, to keep $0 and so on meaningful, and to 16046# report actual input values of CONFIG_FILES etc. instead of their 16047# values after options handling. 16048ac_log=" 16049This file was extended by thunar-media-tags-plugin $as_me 0.3.0, which was 16050generated by GNU Autoconf 2.69. Invocation command line was 16051 16052 CONFIG_FILES = $CONFIG_FILES 16053 CONFIG_HEADERS = $CONFIG_HEADERS 16054 CONFIG_LINKS = $CONFIG_LINKS 16055 CONFIG_COMMANDS = $CONFIG_COMMANDS 16056 $ $0 $@ 16057 16058on `(hostname || uname -n) 2>/dev/null | sed 1q` 16059" 16060 16061_ACEOF 16062 16063case $ac_config_files in *" 16064"*) set x $ac_config_files; shift; ac_config_files=$*;; 16065esac 16066 16067case $ac_config_headers in *" 16068"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 16069esac 16070 16071 16072cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16073# Files that config.status was made for. 16074config_files="$ac_config_files" 16075config_headers="$ac_config_headers" 16076config_commands="$ac_config_commands" 16077 16078_ACEOF 16079 16080cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16081ac_cs_usage="\ 16082\`$as_me' instantiates files and other configuration actions 16083from templates according to the current configuration. Unless the files 16084and actions are specified as TAGs, all are instantiated by default. 16085 16086Usage: $0 [OPTION]... [TAG]... 16087 16088 -h, --help print this help, then exit 16089 -V, --version print version number and configuration settings, then exit 16090 --config print configuration, then exit 16091 -q, --quiet, --silent 16092 do not print progress messages 16093 -d, --debug don't remove temporary files 16094 --recheck update $as_me by reconfiguring in the same conditions 16095 --file=FILE[:TEMPLATE] 16096 instantiate the configuration file FILE 16097 --header=FILE[:TEMPLATE] 16098 instantiate the configuration header FILE 16099 16100Configuration files: 16101$config_files 16102 16103Configuration headers: 16104$config_headers 16105 16106Configuration commands: 16107$config_commands 16108 16109Report bugs to <thunar-dev@xfce.org>." 16110 16111_ACEOF 16112cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16113ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 16114ac_cs_version="\\ 16115thunar-media-tags-plugin config.status 0.3.0 16116configured by $0, generated by GNU Autoconf 2.69, 16117 with options \\"\$ac_cs_config\\" 16118 16119Copyright (C) 2012 Free Software Foundation, Inc. 16120This config.status script is free software; the Free Software Foundation 16121gives unlimited permission to copy, distribute and modify it." 16122 16123ac_pwd='$ac_pwd' 16124srcdir='$srcdir' 16125INSTALL='$INSTALL' 16126MKDIR_P='$MKDIR_P' 16127AWK='$AWK' 16128test -n "\$AWK" || AWK=awk 16129_ACEOF 16130 16131cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16132# The default lists apply if the user does not specify any file. 16133ac_need_defaults=: 16134while test $# != 0 16135do 16136 case $1 in 16137 --*=?*) 16138 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16139 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 16140 ac_shift=: 16141 ;; 16142 --*=) 16143 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16144 ac_optarg= 16145 ac_shift=: 16146 ;; 16147 *) 16148 ac_option=$1 16149 ac_optarg=$2 16150 ac_shift=shift 16151 ;; 16152 esac 16153 16154 case $ac_option in 16155 # Handling of the options. 16156 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 16157 ac_cs_recheck=: ;; 16158 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 16159 $as_echo "$ac_cs_version"; exit ;; 16160 --config | --confi | --conf | --con | --co | --c ) 16161 $as_echo "$ac_cs_config"; exit ;; 16162 --debug | --debu | --deb | --de | --d | -d ) 16163 debug=: ;; 16164 --file | --fil | --fi | --f ) 16165 $ac_shift 16166 case $ac_optarg in 16167 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16168 '') as_fn_error $? "missing file argument" ;; 16169 esac 16170 as_fn_append CONFIG_FILES " '$ac_optarg'" 16171 ac_need_defaults=false;; 16172 --header | --heade | --head | --hea ) 16173 $ac_shift 16174 case $ac_optarg in 16175 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16176 esac 16177 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 16178 ac_need_defaults=false;; 16179 --he | --h) 16180 # Conflict between --help and --header 16181 as_fn_error $? "ambiguous option: \`$1' 16182Try \`$0 --help' for more information.";; 16183 --help | --hel | -h ) 16184 $as_echo "$ac_cs_usage"; exit ;; 16185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16186 | -silent | --silent | --silen | --sile | --sil | --si | --s) 16187 ac_cs_silent=: ;; 16188 16189 # This is an error. 16190 -*) as_fn_error $? "unrecognized option: \`$1' 16191Try \`$0 --help' for more information." ;; 16192 16193 *) as_fn_append ac_config_targets " $1" 16194 ac_need_defaults=false ;; 16195 16196 esac 16197 shift 16198done 16199 16200ac_configure_extra_args= 16201 16202if $ac_cs_silent; then 16203 exec 6>/dev/null 16204 ac_configure_extra_args="$ac_configure_extra_args --silent" 16205fi 16206 16207_ACEOF 16208cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16209if \$ac_cs_recheck; then 16210 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 16211 shift 16212 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 16213 CONFIG_SHELL='$SHELL' 16214 export CONFIG_SHELL 16215 exec "\$@" 16216fi 16217 16218_ACEOF 16219cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16220exec 5>>config.log 16221{ 16222 echo 16223 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 16224## Running $as_me. ## 16225_ASBOX 16226 $as_echo "$ac_log" 16227} >&5 16228 16229_ACEOF 16230cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16231# 16232# INIT-COMMANDS 16233# 16234AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 16235 16236 16237# The HP-UX ksh and POSIX shell print the target directory to stdout 16238# if CDPATH is set. 16239(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16240 16241sed_quote_subst='$sed_quote_subst' 16242double_quote_subst='$double_quote_subst' 16243delay_variable_subst='$delay_variable_subst' 16244SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 16245Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 16246GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 16247EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 16248FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 16249SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 16250ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 16251LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 16252macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 16253macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 16254enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 16255enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 16256pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 16257enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 16258shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 16259PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 16260host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 16261host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 16262host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 16263build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 16264build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 16265build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 16266NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 16267LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 16268max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 16269ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 16270exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 16271lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 16272lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 16273lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 16274lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 16275lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 16276reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 16277reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 16278OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 16279deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 16280file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 16281file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 16282want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 16283DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 16284sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 16285AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 16286lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`' 16287AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 16288archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 16289STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 16290RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 16291old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16292old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16293old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 16294lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 16295CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 16296CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 16297compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 16298GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 16299lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 16300lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 16301lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 16302lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 16303lt_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"`' 16304lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 16305nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 16306lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 16307lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 16308objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 16309MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 16310lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 16311lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 16312lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 16313lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 16314lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 16315need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 16316MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 16317DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 16318NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 16319LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 16320OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 16321OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 16322libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 16323shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 16324extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16325archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 16326enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 16327export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 16328whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 16329compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 16330old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 16331old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16332archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 16333archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16334module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 16335module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16336with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 16337allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 16338no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 16339hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 16340hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 16341hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 16342hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 16343hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 16344hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 16345hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 16346inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 16347link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 16348always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 16349export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 16350exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 16351include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 16352prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 16353postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 16354file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 16355variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 16356need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 16357need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 16358version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 16359runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 16360shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 16361shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 16362libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 16363library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 16364soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 16365install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 16366postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16367postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16368finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 16369finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 16370hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 16371sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 16372configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 16373configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 16374hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 16375enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 16376enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 16377enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 16378old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 16379striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 16380 16381LTCC='$LTCC' 16382LTCFLAGS='$LTCFLAGS' 16383compiler='$compiler_DEFAULT' 16384 16385# A function that is used when there is no print builtin or printf. 16386func_fallback_echo () 16387{ 16388 eval 'cat <<_LTECHO_EOF 16389\$1 16390_LTECHO_EOF' 16391} 16392 16393# Quote evaled strings. 16394for var in SED \ 16395GREP \ 16396EGREP \ 16397FGREP \ 16398SHELL \ 16399ECHO \ 16400LD \ 16401PATH_SEPARATOR \ 16402NM \ 16403LN_S \ 16404lt_SP2NL \ 16405lt_NL2SP \ 16406reload_flag \ 16407OBJDUMP \ 16408deplibs_check_method \ 16409file_magic_cmd \ 16410file_magic_glob \ 16411want_nocaseglob \ 16412DLLTOOL \ 16413sharedlib_from_linklib_cmd \ 16414AR \ 16415archiver_list_spec \ 16416STRIP \ 16417RANLIB \ 16418CC \ 16419CFLAGS \ 16420compiler \ 16421lt_cv_sys_global_symbol_pipe \ 16422lt_cv_sys_global_symbol_to_cdecl \ 16423lt_cv_sys_global_symbol_to_import \ 16424lt_cv_sys_global_symbol_to_c_name_address \ 16425lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 16426lt_cv_nm_interface \ 16427nm_file_list_spec \ 16428lt_cv_truncate_bin \ 16429lt_prog_compiler_no_builtin_flag \ 16430lt_prog_compiler_pic \ 16431lt_prog_compiler_wl \ 16432lt_prog_compiler_static \ 16433lt_cv_prog_compiler_c_o \ 16434need_locks \ 16435MANIFEST_TOOL \ 16436DSYMUTIL \ 16437NMEDIT \ 16438LIPO \ 16439OTOOL \ 16440OTOOL64 \ 16441shrext_cmds \ 16442export_dynamic_flag_spec \ 16443whole_archive_flag_spec \ 16444compiler_needs_object \ 16445with_gnu_ld \ 16446allow_undefined_flag \ 16447no_undefined_flag \ 16448hardcode_libdir_flag_spec \ 16449hardcode_libdir_separator \ 16450exclude_expsyms \ 16451include_expsyms \ 16452file_list_spec \ 16453variables_saved_for_relink \ 16454libname_spec \ 16455library_names_spec \ 16456soname_spec \ 16457install_override_mode \ 16458finish_eval \ 16459old_striplib \ 16460striplib; do 16461 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 16462 *[\\\\\\\`\\"\\\$]*) 16463 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 16464 ;; 16465 *) 16466 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16467 ;; 16468 esac 16469done 16470 16471# Double-quote double-evaled strings. 16472for var in reload_cmds \ 16473old_postinstall_cmds \ 16474old_postuninstall_cmds \ 16475old_archive_cmds \ 16476extract_expsyms_cmds \ 16477old_archive_from_new_cmds \ 16478old_archive_from_expsyms_cmds \ 16479archive_cmds \ 16480archive_expsym_cmds \ 16481module_cmds \ 16482module_expsym_cmds \ 16483export_symbols_cmds \ 16484prelink_cmds \ 16485postlink_cmds \ 16486postinstall_cmds \ 16487postuninstall_cmds \ 16488finish_cmds \ 16489sys_lib_search_path_spec \ 16490configure_time_dlsearch_path \ 16491configure_time_lt_sys_library_path; do 16492 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 16493 *[\\\\\\\`\\"\\\$]*) 16494 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 16495 ;; 16496 *) 16497 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 16498 ;; 16499 esac 16500done 16501 16502ac_aux_dir='$ac_aux_dir' 16503 16504# See if we are running on zsh, and set the options that allow our 16505# commands through without removal of \ escapes INIT. 16506if test -n "\${ZSH_VERSION+set}"; then 16507 setopt NO_GLOB_SUBST 16508fi 16509 16510 16511 PACKAGE='$PACKAGE' 16512 VERSION='$VERSION' 16513 RM='$RM' 16514 ofile='$ofile' 16515 16516 16517 16518 16519 16520_ACEOF 16521 16522cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16523 16524# Handling of arguments. 16525for ac_config_target in $ac_config_targets 16526do 16527 case $ac_config_target in 16528 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 16529 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 16530 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 16531 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 16532 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 16533 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 16534 "thunar-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES thunar-plugin/Makefile" ;; 16535 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 16536 16537 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 16538 esac 16539done 16540 16541 16542# If the user did not use the arguments to specify the items to instantiate, 16543# then the envvar interface is used. Set only those that are not. 16544# We use the long form for the default assignment because of an extremely 16545# bizarre bug on SunOS 4.1.3. 16546if $ac_need_defaults; then 16547 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 16548 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 16549 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 16550fi 16551 16552# Have a temporary directory for convenience. Make it in the build tree 16553# simply because there is no reason against having it here, and in addition, 16554# creating and moving files from /tmp can sometimes cause problems. 16555# Hook for its removal unless debugging. 16556# Note that there is a small window in which the directory will not be cleaned: 16557# after its creation but before its name has been assigned to `$tmp'. 16558$debug || 16559{ 16560 tmp= ac_tmp= 16561 trap 'exit_status=$? 16562 : "${ac_tmp:=$tmp}" 16563 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 16564' 0 16565 trap 'as_fn_exit 1' 1 2 13 15 16566} 16567# Create a (secure) tmp directory for tmp files. 16568 16569{ 16570 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 16571 test -d "$tmp" 16572} || 16573{ 16574 tmp=./conf$$-$RANDOM 16575 (umask 077 && mkdir "$tmp") 16576} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 16577ac_tmp=$tmp 16578 16579# Set up the scripts for CONFIG_FILES section. 16580# No need to generate them if there are no CONFIG_FILES. 16581# This happens for instance with `./config.status config.h'. 16582if test -n "$CONFIG_FILES"; then 16583 16584 16585ac_cr=`echo X | tr X '\015'` 16586# On cygwin, bash can eat \r inside `` if the user requested igncr. 16587# But we know of no other shell where ac_cr would be empty at this 16588# point, so we can use a bashism as a fallback. 16589if test "x$ac_cr" = x; then 16590 eval ac_cr=\$\'\\r\' 16591fi 16592ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 16593if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 16594 ac_cs_awk_cr='\\r' 16595else 16596 ac_cs_awk_cr=$ac_cr 16597fi 16598 16599echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 16600_ACEOF 16601 16602 16603{ 16604 echo "cat >conf$$subs.awk <<_ACEOF" && 16605 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 16606 echo "_ACEOF" 16607} >conf$$subs.sh || 16608 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16609ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 16610ac_delim='%!_!# ' 16611for ac_last_try in false false false false false :; do 16612 . ./conf$$subs.sh || 16613 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16614 16615 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 16616 if test $ac_delim_n = $ac_delim_num; then 16617 break 16618 elif $ac_last_try; then 16619 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 16620 else 16621 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16622 fi 16623done 16624rm -f conf$$subs.sh 16625 16626cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16627cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 16628_ACEOF 16629sed -n ' 16630h 16631s/^/S["/; s/!.*/"]=/ 16632p 16633g 16634s/^[^!]*!// 16635:repl 16636t repl 16637s/'"$ac_delim"'$// 16638t delim 16639:nl 16640h 16641s/\(.\{148\}\)..*/\1/ 16642t more1 16643s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 16644p 16645n 16646b repl 16647:more1 16648s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16649p 16650g 16651s/.\{148\}// 16652t nl 16653:delim 16654h 16655s/\(.\{148\}\)..*/\1/ 16656t more2 16657s/["\\]/\\&/g; s/^/"/; s/$/"/ 16658p 16659b 16660:more2 16661s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16662p 16663g 16664s/.\{148\}// 16665t delim 16666' <conf$$subs.awk | sed ' 16667/^[^""]/{ 16668 N 16669 s/\n// 16670} 16671' >>$CONFIG_STATUS || ac_write_fail=1 16672rm -f conf$$subs.awk 16673cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16674_ACAWK 16675cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 16676 for (key in S) S_is_set[key] = 1 16677 FS = "" 16678 16679} 16680{ 16681 line = $ 0 16682 nfields = split(line, field, "@") 16683 substed = 0 16684 len = length(field[1]) 16685 for (i = 2; i < nfields; i++) { 16686 key = field[i] 16687 keylen = length(key) 16688 if (S_is_set[key]) { 16689 value = S[key] 16690 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 16691 len += length(value) + length(field[++i]) 16692 substed = 1 16693 } else 16694 len += 1 + keylen 16695 } 16696 16697 print line 16698} 16699 16700_ACAWK 16701_ACEOF 16702cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16703if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 16704 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 16705else 16706 cat 16707fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 16708 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 16709_ACEOF 16710 16711# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 16712# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 16713# trailing colons and then remove the whole line if VPATH becomes empty 16714# (actually we leave an empty line to preserve line numbers). 16715if test "x$srcdir" = x.; then 16716 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 16717h 16718s/// 16719s/^/:/ 16720s/[ ]*$/:/ 16721s/:\$(srcdir):/:/g 16722s/:\${srcdir}:/:/g 16723s/:@srcdir@:/:/g 16724s/^:*// 16725s/:*$// 16726x 16727s/\(=[ ]*\).*/\1/ 16728G 16729s/\n// 16730s/^[^=]*=[ ]*$// 16731}' 16732fi 16733 16734cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16735fi # test -n "$CONFIG_FILES" 16736 16737# Set up the scripts for CONFIG_HEADERS section. 16738# No need to generate them if there are no CONFIG_HEADERS. 16739# This happens for instance with `./config.status Makefile'. 16740if test -n "$CONFIG_HEADERS"; then 16741cat >"$ac_tmp/defines.awk" <<\_ACAWK || 16742BEGIN { 16743_ACEOF 16744 16745# Transform confdefs.h into an awk script `defines.awk', embedded as 16746# here-document in config.status, that substitutes the proper values into 16747# config.h.in to produce config.h. 16748 16749# Create a delimiter string that does not exist in confdefs.h, to ease 16750# handling of long lines. 16751ac_delim='%!_!# ' 16752for ac_last_try in false false :; do 16753 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 16754 if test -z "$ac_tt"; then 16755 break 16756 elif $ac_last_try; then 16757 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 16758 else 16759 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16760 fi 16761done 16762 16763# For the awk script, D is an array of macro values keyed by name, 16764# likewise P contains macro parameters if any. Preserve backslash 16765# newline sequences. 16766 16767ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 16768sed -n ' 16769s/.\{148\}/&'"$ac_delim"'/g 16770t rset 16771:rset 16772s/^[ ]*#[ ]*define[ ][ ]*/ / 16773t def 16774d 16775:def 16776s/\\$// 16777t bsnl 16778s/["\\]/\\&/g 16779s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16780D["\1"]=" \3"/p 16781s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 16782d 16783:bsnl 16784s/["\\]/\\&/g 16785s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16786D["\1"]=" \3\\\\\\n"\\/p 16787t cont 16788s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 16789t cont 16790d 16791:cont 16792n 16793s/.\{148\}/&'"$ac_delim"'/g 16794t clear 16795:clear 16796s/\\$// 16797t bsnlc 16798s/["\\]/\\&/g; s/^/"/; s/$/"/p 16799d 16800:bsnlc 16801s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 16802b cont 16803' <confdefs.h | sed ' 16804s/'"$ac_delim"'/"\\\ 16805"/g' >>$CONFIG_STATUS || ac_write_fail=1 16806 16807cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16808 for (key in D) D_is_set[key] = 1 16809 FS = "" 16810} 16811/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 16812 line = \$ 0 16813 split(line, arg, " ") 16814 if (arg[1] == "#") { 16815 defundef = arg[2] 16816 mac1 = arg[3] 16817 } else { 16818 defundef = substr(arg[1], 2) 16819 mac1 = arg[2] 16820 } 16821 split(mac1, mac2, "(") #) 16822 macro = mac2[1] 16823 prefix = substr(line, 1, index(line, defundef) - 1) 16824 if (D_is_set[macro]) { 16825 # Preserve the white space surrounding the "#". 16826 print prefix "define", macro P[macro] D[macro] 16827 next 16828 } else { 16829 # Replace #undef with comments. This is necessary, for example, 16830 # in the case of _POSIX_SOURCE, which is predefined and required 16831 # on some systems where configure will not decide to define it. 16832 if (defundef == "undef") { 16833 print "/*", prefix defundef, macro, "*/" 16834 next 16835 } 16836 } 16837} 16838{ print } 16839_ACAWK 16840_ACEOF 16841cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16842 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 16843fi # test -n "$CONFIG_HEADERS" 16844 16845 16846eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16847shift 16848for ac_tag 16849do 16850 case $ac_tag in 16851 :[FHLC]) ac_mode=$ac_tag; continue;; 16852 esac 16853 case $ac_mode$ac_tag in 16854 :[FHL]*:*);; 16855 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 16856 :[FH]-) ac_tag=-:-;; 16857 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16858 esac 16859 ac_save_IFS=$IFS 16860 IFS=: 16861 set x $ac_tag 16862 IFS=$ac_save_IFS 16863 shift 16864 ac_file=$1 16865 shift 16866 16867 case $ac_mode in 16868 :L) ac_source=$1;; 16869 :[FH]) 16870 ac_file_inputs= 16871 for ac_f 16872 do 16873 case $ac_f in 16874 -) ac_f="$ac_tmp/stdin";; 16875 *) # Look for the file first in the build tree, then in the source tree 16876 # (if the path is not absolute). The absolute path cannot be DOS-style, 16877 # because $ac_f cannot contain `:'. 16878 test -f "$ac_f" || 16879 case $ac_f in 16880 [\\/$]*) false;; 16881 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16882 esac || 16883 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16884 esac 16885 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16886 as_fn_append ac_file_inputs " '$ac_f'" 16887 done 16888 16889 # Let's still pretend it is `configure' which instantiates (i.e., don't 16890 # use $as_me), people would be surprised to read: 16891 # /* config.h. Generated by config.status. */ 16892 configure_input='Generated from '` 16893 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16894 `' by configure.' 16895 if test x"$ac_file" != x-; then 16896 configure_input="$ac_file. $configure_input" 16897 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 16898$as_echo "$as_me: creating $ac_file" >&6;} 16899 fi 16900 # Neutralize special characters interpreted by sed in replacement strings. 16901 case $configure_input in #( 16902 *\&* | *\|* | *\\* ) 16903 ac_sed_conf_input=`$as_echo "$configure_input" | 16904 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16905 *) ac_sed_conf_input=$configure_input;; 16906 esac 16907 16908 case $ac_tag in 16909 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 16910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16911 esac 16912 ;; 16913 esac 16914 16915 ac_dir=`$as_dirname -- "$ac_file" || 16916$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16917 X"$ac_file" : 'X\(//\)[^/]' \| \ 16918 X"$ac_file" : 'X\(//\)$' \| \ 16919 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16920$as_echo X"$ac_file" | 16921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16922 s//\1/ 16923 q 16924 } 16925 /^X\(\/\/\)[^/].*/{ 16926 s//\1/ 16927 q 16928 } 16929 /^X\(\/\/\)$/{ 16930 s//\1/ 16931 q 16932 } 16933 /^X\(\/\).*/{ 16934 s//\1/ 16935 q 16936 } 16937 s/.*/./; q'` 16938 as_dir="$ac_dir"; as_fn_mkdir_p 16939 ac_builddir=. 16940 16941case "$ac_dir" in 16942.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16943*) 16944 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16945 # A ".." for each directory in $ac_dir_suffix. 16946 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16947 case $ac_top_builddir_sub in 16948 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 16949 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 16950 esac ;; 16951esac 16952ac_abs_top_builddir=$ac_pwd 16953ac_abs_builddir=$ac_pwd$ac_dir_suffix 16954# for backward compatibility: 16955ac_top_builddir=$ac_top_build_prefix 16956 16957case $srcdir in 16958 .) # We are building in place. 16959 ac_srcdir=. 16960 ac_top_srcdir=$ac_top_builddir_sub 16961 ac_abs_top_srcdir=$ac_pwd ;; 16962 [\\/]* | ?:[\\/]* ) # Absolute name. 16963 ac_srcdir=$srcdir$ac_dir_suffix; 16964 ac_top_srcdir=$srcdir 16965 ac_abs_top_srcdir=$srcdir ;; 16966 *) # Relative name. 16967 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 16968 ac_top_srcdir=$ac_top_build_prefix$srcdir 16969 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 16970esac 16971ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 16972 16973 16974 case $ac_mode in 16975 :F) 16976 # 16977 # CONFIG_FILE 16978 # 16979 16980 case $INSTALL in 16981 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16982 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 16983 esac 16984 ac_MKDIR_P=$MKDIR_P 16985 case $MKDIR_P in 16986 [\\/$]* | ?:[\\/]* ) ;; 16987 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 16988 esac 16989_ACEOF 16990 16991cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16992# If the template does not know about datarootdir, expand it. 16993# FIXME: This hack should be removed a few years after 2.60. 16994ac_datarootdir_hack=; ac_datarootdir_seen= 16995ac_sed_dataroot=' 16996/datarootdir/ { 16997 p 16998 q 16999} 17000/@datadir@/p 17001/@docdir@/p 17002/@infodir@/p 17003/@localedir@/p 17004/@mandir@/p' 17005case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17006*datarootdir*) ac_datarootdir_seen=yes;; 17007*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 17009$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 17010_ACEOF 17011cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17012 ac_datarootdir_hack=' 17013 s&@datadir@&$datadir&g 17014 s&@docdir@&$docdir&g 17015 s&@infodir@&$infodir&g 17016 s&@localedir@&$localedir&g 17017 s&@mandir@&$mandir&g 17018 s&\\\${datarootdir}&$datarootdir&g' ;; 17019esac 17020_ACEOF 17021 17022# Neutralize VPATH when `$srcdir' = `.'. 17023# Shell code in configure.ac might set extrasub. 17024# FIXME: do we really want to maintain this feature? 17025cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17026ac_sed_extra="$ac_vpsub 17027$extrasub 17028_ACEOF 17029cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17030:t 17031/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17032s|@configure_input@|$ac_sed_conf_input|;t t 17033s&@top_builddir@&$ac_top_builddir_sub&;t t 17034s&@top_build_prefix@&$ac_top_build_prefix&;t t 17035s&@srcdir@&$ac_srcdir&;t t 17036s&@abs_srcdir@&$ac_abs_srcdir&;t t 17037s&@top_srcdir@&$ac_top_srcdir&;t t 17038s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 17039s&@builddir@&$ac_builddir&;t t 17040s&@abs_builddir@&$ac_abs_builddir&;t t 17041s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 17042s&@INSTALL@&$ac_INSTALL&;t t 17043s&@MKDIR_P@&$ac_MKDIR_P&;t t 17044$ac_datarootdir_hack 17045" 17046eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 17047 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17048 17049test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17050 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 17051 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 17052 "$ac_tmp/out"`; test -z "$ac_out"; } && 17053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17054which seems to be undefined. Please make sure it is defined" >&5 17055$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17056which seems to be undefined. Please make sure it is defined" >&2;} 17057 17058 rm -f "$ac_tmp/stdin" 17059 case $ac_file in 17060 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 17061 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 17062 esac \ 17063 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17064 ;; 17065 :H) 17066 # 17067 # CONFIG_HEADER 17068 # 17069 if test x"$ac_file" != x-; then 17070 { 17071 $as_echo "/* $configure_input */" \ 17072 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 17073 } >"$ac_tmp/config.h" \ 17074 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17075 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 17076 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 17077$as_echo "$as_me: $ac_file is unchanged" >&6;} 17078 else 17079 rm -f "$ac_file" 17080 mv "$ac_tmp/config.h" "$ac_file" \ 17081 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17082 fi 17083 else 17084 $as_echo "/* $configure_input */" \ 17085 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 17086 || as_fn_error $? "could not create -" "$LINENO" 5 17087 fi 17088# Compute "$ac_file"'s index in $config_headers. 17089_am_arg="$ac_file" 17090_am_stamp_count=1 17091for _am_header in $config_headers :; do 17092 case $_am_header in 17093 $_am_arg | $_am_arg:* ) 17094 break ;; 17095 * ) 17096 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 17097 esac 17098done 17099echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 17100$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17101 X"$_am_arg" : 'X\(//\)[^/]' \| \ 17102 X"$_am_arg" : 'X\(//\)$' \| \ 17103 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 17104$as_echo X"$_am_arg" | 17105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17106 s//\1/ 17107 q 17108 } 17109 /^X\(\/\/\)[^/].*/{ 17110 s//\1/ 17111 q 17112 } 17113 /^X\(\/\/\)$/{ 17114 s//\1/ 17115 q 17116 } 17117 /^X\(\/\).*/{ 17118 s//\1/ 17119 q 17120 } 17121 s/.*/./; q'`/stamp-h$_am_stamp_count 17122 ;; 17123 17124 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 17125$as_echo "$as_me: executing $ac_file commands" >&6;} 17126 ;; 17127 esac 17128 17129 17130 case $ac_file$ac_mode in 17131 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 17132 # Older Autoconf quotes --file arguments for eval, but not when files 17133 # are listed without --file. Let's play safe and only enable the eval 17134 # if we detect the quoting. 17135 case $CONFIG_FILES in 17136 *\'*) eval set x "$CONFIG_FILES" ;; 17137 *) set x $CONFIG_FILES ;; 17138 esac 17139 shift 17140 for mf 17141 do 17142 # Strip MF so we end up with the name of the file. 17143 mf=`echo "$mf" | sed -e 's/:.*$//'` 17144 # Check whether this is an Automake generated Makefile or not. 17145 # We used to match only the files named 'Makefile.in', but 17146 # some people rename them; so instead we look at the file content. 17147 # Grep'ing the first line is not enough: some people post-process 17148 # each Makefile.in and add a new line on top of each file to say so. 17149 # Grep'ing the whole file is not good either: AIX grep has a line 17150 # limit of 2048, but all sed's we know have understand at least 4000. 17151 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 17152 dirpart=`$as_dirname -- "$mf" || 17153$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17154 X"$mf" : 'X\(//\)[^/]' \| \ 17155 X"$mf" : 'X\(//\)$' \| \ 17156 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 17157$as_echo X"$mf" | 17158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17159 s//\1/ 17160 q 17161 } 17162 /^X\(\/\/\)[^/].*/{ 17163 s//\1/ 17164 q 17165 } 17166 /^X\(\/\/\)$/{ 17167 s//\1/ 17168 q 17169 } 17170 /^X\(\/\).*/{ 17171 s//\1/ 17172 q 17173 } 17174 s/.*/./; q'` 17175 else 17176 continue 17177 fi 17178 # Extract the definition of DEPDIR, am__include, and am__quote 17179 # from the Makefile without running 'make'. 17180 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 17181 test -z "$DEPDIR" && continue 17182 am__include=`sed -n 's/^am__include = //p' < "$mf"` 17183 test -z "$am__include" && continue 17184 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 17185 # Find all dependency output files, they are included files with 17186 # $(DEPDIR) in their names. We invoke sed twice because it is the 17187 # simplest approach to changing $(DEPDIR) to its actual value in the 17188 # expansion. 17189 for file in `sed -n " 17190 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 17191 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 17192 # Make sure the directory exists. 17193 test -f "$dirpart/$file" && continue 17194 fdir=`$as_dirname -- "$file" || 17195$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17196 X"$file" : 'X\(//\)[^/]' \| \ 17197 X"$file" : 'X\(//\)$' \| \ 17198 X"$file" : 'X\(/\)' \| . 2>/dev/null || 17199$as_echo X"$file" | 17200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17201 s//\1/ 17202 q 17203 } 17204 /^X\(\/\/\)[^/].*/{ 17205 s//\1/ 17206 q 17207 } 17208 /^X\(\/\/\)$/{ 17209 s//\1/ 17210 q 17211 } 17212 /^X\(\/\).*/{ 17213 s//\1/ 17214 q 17215 } 17216 s/.*/./; q'` 17217 as_dir=$dirpart/$fdir; as_fn_mkdir_p 17218 # echo "creating $dirpart/$file" 17219 echo '# dummy' > "$dirpart/$file" 17220 done 17221 done 17222} 17223 ;; 17224 "libtool":C) 17225 17226 # See if we are running on zsh, and set the options that allow our 17227 # commands through without removal of \ escapes. 17228 if test -n "${ZSH_VERSION+set}"; then 17229 setopt NO_GLOB_SUBST 17230 fi 17231 17232 cfgfile=${ofile}T 17233 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 17234 $RM "$cfgfile" 17235 17236 cat <<_LT_EOF >> "$cfgfile" 17237#! $SHELL 17238# Generated automatically by $as_me ($PACKAGE) $VERSION 17239# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 17240# NOTE: Changes made to this file will be lost: look at ltmain.sh. 17241 17242# Provide generalized library-building support services. 17243# Written by Gordon Matzigkeit, 1996 17244 17245# Copyright (C) 2014 Free Software Foundation, Inc. 17246# This is free software; see the source for copying conditions. There is NO 17247# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 17248 17249# GNU Libtool is free software; you can redistribute it and/or modify 17250# it under the terms of the GNU General Public License as published by 17251# the Free Software Foundation; either version 2 of of the License, or 17252# (at your option) any later version. 17253# 17254# As a special exception to the GNU General Public License, if you 17255# distribute this file as part of a program or library that is built 17256# using GNU Libtool, you may include this file under the same 17257# distribution terms that you use for the rest of that program. 17258# 17259# GNU Libtool is distributed in the hope that it will be useful, but 17260# WITHOUT ANY WARRANTY; without even the implied warranty of 17261# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17262# GNU General Public License for more details. 17263# 17264# You should have received a copy of the GNU General Public License 17265# along with this program. If not, see <http://www.gnu.org/licenses/>. 17266 17267 17268# The names of the tagged configurations supported by this script. 17269available_tags='' 17270 17271# Configured defaults for sys_lib_dlsearch_path munging. 17272: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 17273 17274# ### BEGIN LIBTOOL CONFIG 17275 17276# A sed program that does not truncate output. 17277SED=$lt_SED 17278 17279# Sed that helps us avoid accidentally triggering echo(1) options like -n. 17280Xsed="\$SED -e 1s/^X//" 17281 17282# A grep program that handles long lines. 17283GREP=$lt_GREP 17284 17285# An ERE matcher. 17286EGREP=$lt_EGREP 17287 17288# A literal string matcher. 17289FGREP=$lt_FGREP 17290 17291# Shell to use when invoking shell scripts. 17292SHELL=$lt_SHELL 17293 17294# An echo program that protects backslashes. 17295ECHO=$lt_ECHO 17296 17297# Which release of libtool.m4 was used? 17298macro_version=$macro_version 17299macro_revision=$macro_revision 17300 17301# Whether or not to build static libraries. 17302build_old_libs=$enable_static 17303 17304# Whether or not to build shared libraries. 17305build_libtool_libs=$enable_shared 17306 17307# What type of objects to build. 17308pic_mode=$pic_mode 17309 17310# Whether or not to optimize for fast installation. 17311fast_install=$enable_fast_install 17312 17313# Shared archive member basename,for filename based shared library versioning on AIX. 17314shared_archive_member_spec=$shared_archive_member_spec 17315 17316# The PATH separator for the build system. 17317PATH_SEPARATOR=$lt_PATH_SEPARATOR 17318 17319# The host system. 17320host_alias=$host_alias 17321host=$host 17322host_os=$host_os 17323 17324# The build system. 17325build_alias=$build_alias 17326build=$build 17327build_os=$build_os 17328 17329# A BSD- or MS-compatible name lister. 17330NM=$lt_NM 17331 17332# Whether we need soft or hard links. 17333LN_S=$lt_LN_S 17334 17335# What is the maximum length of a command? 17336max_cmd_len=$max_cmd_len 17337 17338# Object file suffix (normally "o"). 17339objext=$ac_objext 17340 17341# Executable file suffix (normally ""). 17342exeext=$exeext 17343 17344# whether the shell understands "unset". 17345lt_unset=$lt_unset 17346 17347# turn spaces into newlines. 17348SP2NL=$lt_lt_SP2NL 17349 17350# turn newlines into spaces. 17351NL2SP=$lt_lt_NL2SP 17352 17353# convert \$build file names to \$host format. 17354to_host_file_cmd=$lt_cv_to_host_file_cmd 17355 17356# convert \$build files to toolchain format. 17357to_tool_file_cmd=$lt_cv_to_tool_file_cmd 17358 17359# An object symbol dumper. 17360OBJDUMP=$lt_OBJDUMP 17361 17362# Method to check whether dependent libraries are shared objects. 17363deplibs_check_method=$lt_deplibs_check_method 17364 17365# Command to use when deplibs_check_method = "file_magic". 17366file_magic_cmd=$lt_file_magic_cmd 17367 17368# How to find potential files when deplibs_check_method = "file_magic". 17369file_magic_glob=$lt_file_magic_glob 17370 17371# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 17372want_nocaseglob=$lt_want_nocaseglob 17373 17374# DLL creation program. 17375DLLTOOL=$lt_DLLTOOL 17376 17377# Command to associate shared and link libraries. 17378sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 17379 17380# The archiver. 17381AR=$lt_AR 17382 17383# Flags to create an archive (by configure). 17384lt_ar_flags=$lt_ar_flags 17385 17386# Flags to create an archive. 17387AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"} 17388 17389# How to feed a file listing to the archiver. 17390archiver_list_spec=$lt_archiver_list_spec 17391 17392# A symbol stripping program. 17393STRIP=$lt_STRIP 17394 17395# Commands used to install an old-style archive. 17396RANLIB=$lt_RANLIB 17397old_postinstall_cmds=$lt_old_postinstall_cmds 17398old_postuninstall_cmds=$lt_old_postuninstall_cmds 17399 17400# Whether to use a lock for old archive extraction. 17401lock_old_archive_extraction=$lock_old_archive_extraction 17402 17403# A C compiler. 17404LTCC=$lt_CC 17405 17406# LTCC compiler flags. 17407LTCFLAGS=$lt_CFLAGS 17408 17409# Take the output of nm and produce a listing of raw symbols and C names. 17410global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 17411 17412# Transform the output of nm in a proper C declaration. 17413global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 17414 17415# Transform the output of nm into a list of symbols to manually relocate. 17416global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 17417 17418# Transform the output of nm in a C name address pair. 17419global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 17420 17421# Transform the output of nm in a C name address pair when lib prefix is needed. 17422global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 17423 17424# The name lister interface. 17425nm_interface=$lt_lt_cv_nm_interface 17426 17427# Specify filename containing input files for \$NM. 17428nm_file_list_spec=$lt_nm_file_list_spec 17429 17430# The root where to search for dependent libraries,and where our libraries should be installed. 17431lt_sysroot=$lt_sysroot 17432 17433# Command to truncate a binary pipe. 17434lt_truncate_bin=$lt_lt_cv_truncate_bin 17435 17436# The name of the directory that contains temporary libtool files. 17437objdir=$objdir 17438 17439# Used to examine libraries when file_magic_cmd begins with "file". 17440MAGIC_CMD=$MAGIC_CMD 17441 17442# Must we lock files when doing compilation? 17443need_locks=$lt_need_locks 17444 17445# Manifest tool. 17446MANIFEST_TOOL=$lt_MANIFEST_TOOL 17447 17448# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 17449DSYMUTIL=$lt_DSYMUTIL 17450 17451# Tool to change global to local symbols on Mac OS X. 17452NMEDIT=$lt_NMEDIT 17453 17454# Tool to manipulate fat objects and archives on Mac OS X. 17455LIPO=$lt_LIPO 17456 17457# ldd/readelf like tool for Mach-O binaries on Mac OS X. 17458OTOOL=$lt_OTOOL 17459 17460# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 17461OTOOL64=$lt_OTOOL64 17462 17463# Old archive suffix (normally "a"). 17464libext=$libext 17465 17466# Shared library suffix (normally ".so"). 17467shrext_cmds=$lt_shrext_cmds 17468 17469# The commands to extract the exported symbol list from a shared archive. 17470extract_expsyms_cmds=$lt_extract_expsyms_cmds 17471 17472# Variables whose values should be saved in libtool wrapper scripts and 17473# restored at link time. 17474variables_saved_for_relink=$lt_variables_saved_for_relink 17475 17476# Do we need the "lib" prefix for modules? 17477need_lib_prefix=$need_lib_prefix 17478 17479# Do we need a version for libraries? 17480need_version=$need_version 17481 17482# Library versioning type. 17483version_type=$version_type 17484 17485# Shared library runtime path variable. 17486runpath_var=$runpath_var 17487 17488# Shared library path variable. 17489shlibpath_var=$shlibpath_var 17490 17491# Is shlibpath searched before the hard-coded library search path? 17492shlibpath_overrides_runpath=$shlibpath_overrides_runpath 17493 17494# Format of library name prefix. 17495libname_spec=$lt_libname_spec 17496 17497# List of archive names. First name is the real one, the rest are links. 17498# The last name is the one that the linker finds with -lNAME 17499library_names_spec=$lt_library_names_spec 17500 17501# The coded name of the library, if different from the real name. 17502soname_spec=$lt_soname_spec 17503 17504# Permission mode override for installation of shared libraries. 17505install_override_mode=$lt_install_override_mode 17506 17507# Command to use after installation of a shared archive. 17508postinstall_cmds=$lt_postinstall_cmds 17509 17510# Command to use after uninstallation of a shared archive. 17511postuninstall_cmds=$lt_postuninstall_cmds 17512 17513# Commands used to finish a libtool library installation in a directory. 17514finish_cmds=$lt_finish_cmds 17515 17516# As "finish_cmds", except a single script fragment to be evaled but 17517# not shown. 17518finish_eval=$lt_finish_eval 17519 17520# Whether we should hardcode library paths into libraries. 17521hardcode_into_libs=$hardcode_into_libs 17522 17523# Compile-time system search path for libraries. 17524sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 17525 17526# Detected run-time system search path for libraries. 17527sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 17528 17529# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 17530configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 17531 17532# Whether dlopen is supported. 17533dlopen_support=$enable_dlopen 17534 17535# Whether dlopen of programs is supported. 17536dlopen_self=$enable_dlopen_self 17537 17538# Whether dlopen of statically linked programs is supported. 17539dlopen_self_static=$enable_dlopen_self_static 17540 17541# Commands to strip libraries. 17542old_striplib=$lt_old_striplib 17543striplib=$lt_striplib 17544 17545 17546# The linker used to build libraries. 17547LD=$lt_LD 17548 17549# How to create reloadable object files. 17550reload_flag=$lt_reload_flag 17551reload_cmds=$lt_reload_cmds 17552 17553# Commands used to build an old-style archive. 17554old_archive_cmds=$lt_old_archive_cmds 17555 17556# A language specific compiler. 17557CC=$lt_compiler 17558 17559# Is the compiler the GNU compiler? 17560with_gcc=$GCC 17561 17562# Compiler flag to turn off builtin functions. 17563no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 17564 17565# Additional compiler flags for building library objects. 17566pic_flag=$lt_lt_prog_compiler_pic 17567 17568# How to pass a linker flag through the compiler. 17569wl=$lt_lt_prog_compiler_wl 17570 17571# Compiler flag to prevent dynamic linking. 17572link_static_flag=$lt_lt_prog_compiler_static 17573 17574# Does compiler simultaneously support -c and -o options? 17575compiler_c_o=$lt_lt_cv_prog_compiler_c_o 17576 17577# Whether or not to add -lc for building shared libraries. 17578build_libtool_need_lc=$archive_cmds_need_lc 17579 17580# Whether or not to disallow shared libs when runtime libs are static. 17581allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 17582 17583# Compiler flag to allow reflexive dlopens. 17584export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 17585 17586# Compiler flag to generate shared objects directly from archives. 17587whole_archive_flag_spec=$lt_whole_archive_flag_spec 17588 17589# Whether the compiler copes with passing no objects directly. 17590compiler_needs_object=$lt_compiler_needs_object 17591 17592# Create an old-style archive from a shared archive. 17593old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 17594 17595# Create a temporary old-style archive to link instead of a shared archive. 17596old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 17597 17598# Commands used to build a shared archive. 17599archive_cmds=$lt_archive_cmds 17600archive_expsym_cmds=$lt_archive_expsym_cmds 17601 17602# Commands used to build a loadable module if different from building 17603# a shared archive. 17604module_cmds=$lt_module_cmds 17605module_expsym_cmds=$lt_module_expsym_cmds 17606 17607# Whether we are building with GNU ld or not. 17608with_gnu_ld=$lt_with_gnu_ld 17609 17610# Flag that allows shared libraries with undefined symbols to be built. 17611allow_undefined_flag=$lt_allow_undefined_flag 17612 17613# Flag that enforces no undefined symbols. 17614no_undefined_flag=$lt_no_undefined_flag 17615 17616# Flag to hardcode \$libdir into a binary during linking. 17617# This must work even if \$libdir does not exist 17618hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 17619 17620# Whether we need a single "-rpath" flag with a separated argument. 17621hardcode_libdir_separator=$lt_hardcode_libdir_separator 17622 17623# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 17624# DIR into the resulting binary. 17625hardcode_direct=$hardcode_direct 17626 17627# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 17628# DIR into the resulting binary and the resulting library dependency is 17629# "absolute",i.e impossible to change by setting \$shlibpath_var if the 17630# library is relocated. 17631hardcode_direct_absolute=$hardcode_direct_absolute 17632 17633# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 17634# into the resulting binary. 17635hardcode_minus_L=$hardcode_minus_L 17636 17637# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 17638# into the resulting binary. 17639hardcode_shlibpath_var=$hardcode_shlibpath_var 17640 17641# Set to "yes" if building a shared library automatically hardcodes DIR 17642# into the library and all subsequent libraries and executables linked 17643# against it. 17644hardcode_automatic=$hardcode_automatic 17645 17646# Set to yes if linker adds runtime paths of dependent libraries 17647# to runtime path list. 17648inherit_rpath=$inherit_rpath 17649 17650# Whether libtool must link a program against all its dependency libraries. 17651link_all_deplibs=$link_all_deplibs 17652 17653# Set to "yes" if exported symbols are required. 17654always_export_symbols=$always_export_symbols 17655 17656# The commands to list exported symbols. 17657export_symbols_cmds=$lt_export_symbols_cmds 17658 17659# Symbols that should not be listed in the preloaded symbols. 17660exclude_expsyms=$lt_exclude_expsyms 17661 17662# Symbols that must always be exported. 17663include_expsyms=$lt_include_expsyms 17664 17665# Commands necessary for linking programs (against libraries) with templates. 17666prelink_cmds=$lt_prelink_cmds 17667 17668# Commands necessary for finishing linking programs. 17669postlink_cmds=$lt_postlink_cmds 17670 17671# Specify filename containing input files. 17672file_list_spec=$lt_file_list_spec 17673 17674# How to hardcode a shared library path into an executable. 17675hardcode_action=$hardcode_action 17676 17677# ### END LIBTOOL CONFIG 17678 17679_LT_EOF 17680 17681 cat <<'_LT_EOF' >> "$cfgfile" 17682 17683# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 17684 17685# func_munge_path_list VARIABLE PATH 17686# ----------------------------------- 17687# VARIABLE is name of variable containing _space_ separated list of 17688# directories to be munged by the contents of PATH, which is string 17689# having a format: 17690# "DIR[:DIR]:" 17691# string "DIR[ DIR]" will be prepended to VARIABLE 17692# ":DIR[:DIR]" 17693# string "DIR[ DIR]" will be appended to VARIABLE 17694# "DIRP[:DIRP]::[DIRA:]DIRA" 17695# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 17696# "DIRA[ DIRA]" will be appended to VARIABLE 17697# "DIR[:DIR]" 17698# VARIABLE will be replaced by "DIR[ DIR]" 17699func_munge_path_list () 17700{ 17701 case x$2 in 17702 x) 17703 ;; 17704 *:) 17705 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 17706 ;; 17707 x:*) 17708 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 17709 ;; 17710 *::*) 17711 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 17712 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 17713 ;; 17714 *) 17715 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 17716 ;; 17717 esac 17718} 17719 17720 17721# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 17722func_cc_basename () 17723{ 17724 for cc_temp in $*""; do 17725 case $cc_temp in 17726 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 17727 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 17728 \-*) ;; 17729 *) break;; 17730 esac 17731 done 17732 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 17733} 17734 17735 17736# ### END FUNCTIONS SHARED WITH CONFIGURE 17737 17738_LT_EOF 17739 17740 case $host_os in 17741 aix3*) 17742 cat <<\_LT_EOF >> "$cfgfile" 17743# AIX sometimes has problems with the GCC collect2 program. For some 17744# reason, if we set the COLLECT_NAMES environment variable, the problems 17745# vanish in a puff of smoke. 17746if test set != "${COLLECT_NAMES+set}"; then 17747 COLLECT_NAMES= 17748 export COLLECT_NAMES 17749fi 17750_LT_EOF 17751 ;; 17752 esac 17753 17754 17755ltmain=$ac_aux_dir/ltmain.sh 17756 17757 17758 # We use sed instead of cat because bash on DJGPP gets confused if 17759 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17760 # text mode, it properly converts lines to CR/LF. This bash problem 17761 # is reportedly fixed, but why not run on old versions too? 17762 sed '$q' "$ltmain" >> "$cfgfile" \ 17763 || (rm -f "$cfgfile"; exit 1) 17764 17765 mv -f "$cfgfile" "$ofile" || 17766 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 17767 chmod +x "$ofile" 17768 17769 ;; 17770 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 17771 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 17772 esac ;; 17773 "po/stamp-it":C) 17774 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 17775 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 17776 fi 17777 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 17778 >"po/stamp-it.tmp" 17779 sed '/^#/d 17780 s/^[[].*] *// 17781 /^[ ]*$/d 17782 '"s|^| $ac_top_srcdir/|" \ 17783 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 17784 17785 sed '/^POTFILES =/,/[^\\]$/ { 17786 /^POTFILES =/!d 17787 r po/POTFILES 17788 } 17789 ' "po/Makefile.in" >"po/Makefile" 17790 rm -f "po/Makefile.tmp" 17791 mv "po/stamp-it.tmp" "po/stamp-it" 17792 ;; 17793 17794 esac 17795done # for ac_tag 17796 17797 17798as_fn_exit 0 17799_ACEOF 17800ac_clean_files=$ac_clean_files_save 17801 17802test $ac_write_fail = 0 || 17803 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17804 17805 17806# configure is writing to config.log, and then calls config.status. 17807# config.status does its own redirection, appending to config.log. 17808# Unfortunately, on DOS this fails, as config.log is still kept open 17809# by configure, so config.status won't be able to write to it; its 17810# output is simply discarded. So we exec the FD to /dev/null, 17811# effectively closing config.log, so it can be properly (re)opened and 17812# appended to by config.status. When coming back to configure, we 17813# need to make the FD available again. 17814if test "$no_create" != yes; then 17815 ac_cs_success=: 17816 ac_config_status_args= 17817 test "$silent" = yes && 17818 ac_config_status_args="$ac_config_status_args --quiet" 17819 exec 5>/dev/null 17820 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 17821 exec 5>>config.log 17822 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17823 # would make configure fail if this is the last instruction. 17824 $ac_cs_success || as_fn_exit 1 17825fi 17826if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 17827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 17828$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 17829fi 17830 17831 17832