1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for EasyTAG 2.4.3. 4# 5# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=easytag>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: https://bugzilla.gnome.org/enter_bug.cgi?product=easytag 279$0: about your system, including any error possibly output 280$0: before this message. Then install a modern shell, or 281$0: manually run the script under such a shell if you do 282$0: have one." 283 fi 284 exit 1 285fi 286fi 287fi 288SHELL=${CONFIG_SHELL-/bin/sh} 289export SHELL 290# Unset more variables known to interfere with behavior of common tools. 291CLICOLOR_FORCE= GREP_OPTIONS= 292unset CLICOLOR_FORCE GREP_OPTIONS 293 294## --------------------- ## 295## M4sh Shell Functions. ## 296## --------------------- ## 297# as_fn_unset VAR 298# --------------- 299# Portably unset VAR. 300as_fn_unset () 301{ 302 { eval $1=; unset $1;} 303} 304as_unset=as_fn_unset 305 306# as_fn_set_status STATUS 307# ----------------------- 308# Set $? to STATUS, without forking. 309as_fn_set_status () 310{ 311 return $1 312} # as_fn_set_status 313 314# as_fn_exit STATUS 315# ----------------- 316# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 317as_fn_exit () 318{ 319 set +e 320 as_fn_set_status $1 321 exit $1 322} # as_fn_exit 323 324# as_fn_mkdir_p 325# ------------- 326# Create "$as_dir" as a directory, including parents if necessary. 327as_fn_mkdir_p () 328{ 329 330 case $as_dir in #( 331 -*) as_dir=./$as_dir;; 332 esac 333 test -d "$as_dir" || eval $as_mkdir_p || { 334 as_dirs= 335 while :; do 336 case $as_dir in #( 337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 338 *) as_qdir=$as_dir;; 339 esac 340 as_dirs="'$as_qdir' $as_dirs" 341 as_dir=`$as_dirname -- "$as_dir" || 342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 343 X"$as_dir" : 'X\(//\)[^/]' \| \ 344 X"$as_dir" : 'X\(//\)$' \| \ 345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 346$as_echo X"$as_dir" | 347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)[^/].*/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\/\)$/{ 356 s//\1/ 357 q 358 } 359 /^X\(\/\).*/{ 360 s//\1/ 361 q 362 } 363 s/.*/./; q'` 364 test -d "$as_dir" && break 365 done 366 test -z "$as_dirs" || eval "mkdir $as_dirs" 367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 368 369 370} # as_fn_mkdir_p 371 372# as_fn_executable_p FILE 373# ----------------------- 374# Test if FILE is an executable regular file. 375as_fn_executable_p () 376{ 377 test -f "$1" && test -x "$1" 378} # as_fn_executable_p 379# as_fn_append VAR VALUE 380# ---------------------- 381# Append the text in VALUE to the end of the definition contained in VAR. Take 382# advantage of any shell optimizations that allow amortized linear growth over 383# repeated appends, instead of the typical quadratic growth present in naive 384# implementations. 385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 386 eval 'as_fn_append () 387 { 388 eval $1+=\$2 389 }' 390else 391 as_fn_append () 392 { 393 eval $1=\$$1\$2 394 } 395fi # as_fn_append 396 397# as_fn_arith ARG... 398# ------------------ 399# Perform arithmetic evaluation on the ARGs, and store the result in the 400# global $as_val. Take advantage of shells that can avoid forks. The arguments 401# must be portable across $(()) and expr. 402if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 403 eval 'as_fn_arith () 404 { 405 as_val=$(( $* )) 406 }' 407else 408 as_fn_arith () 409 { 410 as_val=`expr "$@" || test $? -eq 1` 411 } 412fi # as_fn_arith 413 414 415# as_fn_error STATUS ERROR [LINENO LOG_FD] 416# ---------------------------------------- 417# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 418# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 419# script with STATUS, using 1 if that was 0. 420as_fn_error () 421{ 422 as_status=$1; test $as_status -eq 0 && as_status=1 423 if test "$4"; then 424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 426 fi 427 $as_echo "$as_me: error: $2" >&2 428 as_fn_exit $as_status 429} # as_fn_error 430 431if expr a : '\(a\)' >/dev/null 2>&1 && 432 test "X`expr 00001 : '.*\(...\)'`" = X001; then 433 as_expr=expr 434else 435 as_expr=false 436fi 437 438if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 439 as_basename=basename 440else 441 as_basename=false 442fi 443 444if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 445 as_dirname=dirname 446else 447 as_dirname=false 448fi 449 450as_me=`$as_basename -- "$0" || 451$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 452 X"$0" : 'X\(//\)$' \| \ 453 X"$0" : 'X\(/\)' \| . 2>/dev/null || 454$as_echo X/"$0" | 455 sed '/^.*\/\([^/][^/]*\)\/*$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\/\)$/{ 460 s//\1/ 461 q 462 } 463 /^X\/\(\/\).*/{ 464 s//\1/ 465 q 466 } 467 s/.*/./; q'` 468 469# Avoid depending upon Character Ranges. 470as_cr_letters='abcdefghijklmnopqrstuvwxyz' 471as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 472as_cr_Letters=$as_cr_letters$as_cr_LETTERS 473as_cr_digits='0123456789' 474as_cr_alnum=$as_cr_Letters$as_cr_digits 475 476 477 as_lineno_1=$LINENO as_lineno_1a=$LINENO 478 as_lineno_2=$LINENO as_lineno_2a=$LINENO 479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 482 sed -n ' 483 p 484 /[$]LINENO/= 485 ' <$as_myself | 486 sed ' 487 s/[$]LINENO.*/&-/ 488 t lineno 489 b 490 :lineno 491 N 492 :loop 493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 494 t loop 495 s/-\n.*// 496 ' >$as_me.lineno && 497 chmod +x "$as_me.lineno" || 498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 499 500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 501 # already done that, so ensure we don't try to do so again and fall 502 # in an infinite loop. This has already happened in practice. 503 _as_can_reexec=no; export _as_can_reexec 504 # Don't try to exec as it changes $[0], causing all sort of problems 505 # (the dirname of $[0] is not the place where we might find the 506 # original and so on. Autoconf is especially sensitive to this). 507 . "./$as_me.lineno" 508 # Exit status is that of the last command. 509 exit 510} 511 512ECHO_C= ECHO_N= ECHO_T= 513case `echo -n x` in #((((( 514-n*) 515 case `echo 'xy\c'` in 516 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 517 xy) ECHO_C='\c';; 518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 519 ECHO_T=' ';; 520 esac;; 521*) 522 ECHO_N='-n';; 523esac 524 525rm -f conf$$ conf$$.exe conf$$.file 526if test -d conf$$.dir; then 527 rm -f conf$$.dir/conf$$.file 528else 529 rm -f conf$$.dir 530 mkdir conf$$.dir 2>/dev/null 531fi 532if (echo >conf$$.file) 2>/dev/null; then 533 if ln -s conf$$.file conf$$ 2>/dev/null; then 534 as_ln_s='ln -s' 535 # ... but there are two gotchas: 536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 538 # In both cases, we have to default to `cp -pR'. 539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 540 as_ln_s='cp -pR' 541 elif ln conf$$.file conf$$ 2>/dev/null; then 542 as_ln_s=ln 543 else 544 as_ln_s='cp -pR' 545 fi 546else 547 as_ln_s='cp -pR' 548fi 549rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 550rmdir conf$$.dir 2>/dev/null 551 552if mkdir -p . 2>/dev/null; then 553 as_mkdir_p='mkdir -p "$as_dir"' 554else 555 test -d ./-p && rmdir ./-p 556 as_mkdir_p=false 557fi 558 559as_test_x='test -x' 560as_executable_p=as_fn_executable_p 561 562# Sed expression to map a string onto a valid CPP name. 563as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 564 565# Sed expression to map a string onto a valid variable name. 566as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 567 568SHELL=${CONFIG_SHELL-/bin/sh} 569 570 571test -n "$DJDIR" || exec 7<&0 </dev/null 572exec 6>&1 573 574# Name of the host. 575# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 576# so uname gets run too. 577ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 578 579# 580# Initializations. 581# 582ac_default_prefix=/usr/local 583ac_clean_files= 584ac_config_libobj_dir=. 585LIBOBJS= 586cross_compiling=no 587subdirs= 588MFLAGS= 589MAKEFLAGS= 590 591# Identity of this package. 592PACKAGE_NAME='EasyTAG' 593PACKAGE_TARNAME='easytag' 594PACKAGE_VERSION='2.4.3' 595PACKAGE_STRING='EasyTAG 2.4.3' 596PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=easytag' 597PACKAGE_URL='https://wiki.gnome.org/Apps/EasyTAG' 598 599ac_unique_file="src/easytag.h" 600# Factoring default headers for most tests. 601ac_includes_default="\ 602#include <stdio.h> 603#ifdef HAVE_SYS_TYPES_H 604# include <sys/types.h> 605#endif 606#ifdef HAVE_SYS_STAT_H 607# include <sys/stat.h> 608#endif 609#ifdef STDC_HEADERS 610# include <stdlib.h> 611# include <stddef.h> 612#else 613# ifdef HAVE_STDLIB_H 614# include <stdlib.h> 615# endif 616#endif 617#ifdef HAVE_STRING_H 618# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 619# include <memory.h> 620# endif 621# include <string.h> 622#endif 623#ifdef HAVE_STRINGS_H 624# include <strings.h> 625#endif 626#ifdef HAVE_INTTYPES_H 627# include <inttypes.h> 628#endif 629#ifdef HAVE_STDINT_H 630# include <stdint.h> 631#endif 632#ifdef HAVE_UNISTD_H 633# include <unistd.h> 634#endif" 635 636ac_subst_vars='am__EXEEXT_FALSE 637am__EXEEXT_TRUE 638LTLIBOBJS 639LIBOBJS 640GSETTINGS_RULES 641GLIB_COMPILE_SCHEMAS 642gsettingsschemadir 643GSETTINGS_DISABLE_SCHEMAS_COMPILE 644WARN_SCANNERFLAGS 645WARN_LDFLAGS 646WARN_CXXFLAGS 647WARN_CFLAGS 648EASYTAG_LIBS 649EASYTAG_CFLAGS 650GTK_DEPRECATION_FLAGS 651GLIB_DEPRECATION_FLAGS 652ENABLE_NAUTILUS_ACTIONS_FALSE 653ENABLE_NAUTILUS_ACTIONS_TRUE 654NAUTILUS_EXTENSION_DIR 655NAUTILUS_LIBS 656NAUTILUS_CFLAGS 657ID3LIB_LIBS 658WINDRES 659WINDOWS_HOST_FALSE 660WINDOWS_HOST_TRUE 661YELP 662YELP_HELP_RULES 663XMLLINT 664ITSTOOL 665HELP_DIR 666YELP_LC_DIST 667YELP_LC_MEDIA_LINKS 668EASYTAG_ENABLE_TESTS_FALSE 669EASYTAG_ENABLE_TESTS_TRUE 670GTESTER_REPORT 671GTESTER 672DESKTOP_FILE_VALIDATE 673ENABLE_MAN_FALSE 674ENABLE_MAN_TRUE 675XMLCATALOG 676XML_CATALOG_FILE 677XSLTPROC 678GLIB_MKENUMS 679GDK_PIXBUF_PIXDATA 680GLIB_COMPILE_RESOURCES 681GENERATE_CHANGELOG_RULES 682GIT 683PKG_CONFIG_LIBDIR 684PKG_CONFIG_PATH 685PKG_CONFIG 686CXXCPP 687am__fastdepCXX_FALSE 688am__fastdepCXX_TRUE 689CXXDEPMODE 690ac_ct_CXX 691CXXFLAGS 692CXX 693APPDATA_XML_RULES 694appdataxmldir 695APPSTREAM_UTIL 696GETTEXT_PACKAGE 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 732CPP 733LT_SYS_LIBRARY_PATH 734OTOOL64 735OTOOL 736LIPO 737NMEDIT 738DSYMUTIL 739MANIFEST_TOOL 740RANLIB 741ac_ct_AR 742AR 743DLLTOOL 744OBJDUMP 745LN_S 746NM 747ac_ct_DUMPBIN 748DUMPBIN 749LD 750FGREP 751EGREP 752GREP 753SED 754am__fastdepCC_FALSE 755am__fastdepCC_TRUE 756CCDEPMODE 757am__nodep 758AMDEPBACKSLASH 759AMDEP_FALSE 760AMDEP_TRUE 761am__quote 762am__include 763DEPDIR 764OBJEXT 765EXEEXT 766ac_ct_CC 767CPPFLAGS 768LDFLAGS 769CFLAGS 770CC 771host_os 772host_vendor 773host_cpu 774host 775build_os 776build_vendor 777build_cpu 778build 779LIBTOOL 780MAINT 781MAINTAINER_MODE_FALSE 782MAINTAINER_MODE_TRUE 783AM_BACKSLASH 784AM_DEFAULT_VERBOSITY 785AM_DEFAULT_V 786AM_V 787am__untar 788am__tar 789AMTAR 790am__leading_dot 791SET_MAKE 792AWK 793mkdir_p 794MKDIR_P 795INSTALL_STRIP_PROGRAM 796STRIP 797install_sh 798MAKEINFO 799AUTOHEADER 800AUTOMAKE 801AUTOCONF 802ACLOCAL 803VERSION 804PACKAGE 805CYGPATH_W 806am__isrc 807INSTALL_DATA 808INSTALL_SCRIPT 809INSTALL_PROGRAM 810target_alias 811host_alias 812build_alias 813LIBS 814ECHO_T 815ECHO_N 816ECHO_C 817DEFS 818mandir 819localedir 820libdir 821psdir 822pdfdir 823dvidir 824htmldir 825infodir 826docdir 827oldincludedir 828includedir 829localstatedir 830sharedstatedir 831sysconfdir 832datadir 833datarootdir 834libexecdir 835sbindir 836bindir 837program_transform_name 838prefix 839exec_prefix 840PACKAGE_URL 841PACKAGE_BUGREPORT 842PACKAGE_STRING 843PACKAGE_VERSION 844PACKAGE_TARNAME 845PACKAGE_NAME 846PATH_SEPARATOR 847SHELL' 848ac_subst_files='' 849ac_user_opts=' 850enable_option_checking 851enable_silent_rules 852enable_maintainer_mode 853enable_static 854enable_shared 855with_pic 856enable_fast_install 857with_aix_soname 858enable_dependency_tracking 859with_gnu_ld 860with_sysroot 861enable_libtool_lock 862enable_nls 863enable_appdata_validate 864enable_man 865with_xml_catalog 866enable_tests 867with_help_dir 868enable_mp3 869enable_id3v23 870enable_ogg 871enable_opus 872enable_speex 873enable_flac 874enable_mp4 875enable_wavpack 876enable_nautilus_actions 877enable_compile_warnings 878enable_Werror 879enable_schemas_compile 880' 881 ac_precious_vars='build_alias 882host_alias 883target_alias 884CC 885CFLAGS 886LDFLAGS 887LIBS 888CPPFLAGS 889LT_SYS_LIBRARY_PATH 890CPP 891CXX 892CXXFLAGS 893CCC 894CXXCPP 895PKG_CONFIG 896PKG_CONFIG_PATH 897PKG_CONFIG_LIBDIR 898ITSTOOL 899XMLLINT 900NAUTILUS_CFLAGS 901NAUTILUS_LIBS 902EASYTAG_CFLAGS 903EASYTAG_LIBS' 904 905 906# Initialize some variables set by options. 907ac_init_help= 908ac_init_version=false 909ac_unrecognized_opts= 910ac_unrecognized_sep= 911# The variables have the same names as the options, with 912# dashes changed to underlines. 913cache_file=/dev/null 914exec_prefix=NONE 915no_create= 916no_recursion= 917prefix=NONE 918program_prefix=NONE 919program_suffix=NONE 920program_transform_name=s,x,x, 921silent= 922site= 923srcdir= 924verbose= 925x_includes=NONE 926x_libraries=NONE 927 928# Installation directory options. 929# These are left unexpanded so users can "make install exec_prefix=/foo" 930# and all the variables that are supposed to be based on exec_prefix 931# by default will actually change. 932# Use braces instead of parens because sh, perl, etc. also accept them. 933# (The list follows the same order as the GNU Coding Standards.) 934bindir='${exec_prefix}/bin' 935sbindir='${exec_prefix}/sbin' 936libexecdir='${exec_prefix}/libexec' 937datarootdir='${prefix}/share' 938datadir='${datarootdir}' 939sysconfdir='${prefix}/etc' 940sharedstatedir='${prefix}/com' 941localstatedir='${prefix}/var' 942includedir='${prefix}/include' 943oldincludedir='/usr/include' 944docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 945infodir='${datarootdir}/info' 946htmldir='${docdir}' 947dvidir='${docdir}' 948pdfdir='${docdir}' 949psdir='${docdir}' 950libdir='${exec_prefix}/lib' 951localedir='${datarootdir}/locale' 952mandir='${datarootdir}/man' 953 954ac_prev= 955ac_dashdash= 956for ac_option 957do 958 # If the previous option needs an argument, assign it. 959 if test -n "$ac_prev"; then 960 eval $ac_prev=\$ac_option 961 ac_prev= 962 continue 963 fi 964 965 case $ac_option in 966 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 967 *=) ac_optarg= ;; 968 *) ac_optarg=yes ;; 969 esac 970 971 # Accept the important Cygnus configure options, so we can diagnose typos. 972 973 case $ac_dashdash$ac_option in 974 --) 975 ac_dashdash=yes ;; 976 977 -bindir | --bindir | --bindi | --bind | --bin | --bi) 978 ac_prev=bindir ;; 979 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 980 bindir=$ac_optarg ;; 981 982 -build | --build | --buil | --bui | --bu) 983 ac_prev=build_alias ;; 984 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 985 build_alias=$ac_optarg ;; 986 987 -cache-file | --cache-file | --cache-fil | --cache-fi \ 988 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 989 ac_prev=cache_file ;; 990 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 991 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 992 cache_file=$ac_optarg ;; 993 994 --config-cache | -C) 995 cache_file=config.cache ;; 996 997 -datadir | --datadir | --datadi | --datad) 998 ac_prev=datadir ;; 999 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1000 datadir=$ac_optarg ;; 1001 1002 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1003 | --dataroo | --dataro | --datar) 1004 ac_prev=datarootdir ;; 1005 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1006 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1007 datarootdir=$ac_optarg ;; 1008 1009 -disable-* | --disable-*) 1010 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1011 # Reject names that are not valid shell variable names. 1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1013 as_fn_error $? "invalid feature name: $ac_useropt" 1014 ac_useropt_orig=$ac_useropt 1015 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1016 case $ac_user_opts in 1017 *" 1018"enable_$ac_useropt" 1019"*) ;; 1020 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1021 ac_unrecognized_sep=', ';; 1022 esac 1023 eval enable_$ac_useropt=no ;; 1024 1025 -docdir | --docdir | --docdi | --doc | --do) 1026 ac_prev=docdir ;; 1027 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1028 docdir=$ac_optarg ;; 1029 1030 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1031 ac_prev=dvidir ;; 1032 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1033 dvidir=$ac_optarg ;; 1034 1035 -enable-* | --enable-*) 1036 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1037 # Reject names that are not valid shell variable names. 1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1039 as_fn_error $? "invalid feature name: $ac_useropt" 1040 ac_useropt_orig=$ac_useropt 1041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1042 case $ac_user_opts in 1043 *" 1044"enable_$ac_useropt" 1045"*) ;; 1046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1047 ac_unrecognized_sep=', ';; 1048 esac 1049 eval enable_$ac_useropt=\$ac_optarg ;; 1050 1051 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1052 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1053 | --exec | --exe | --ex) 1054 ac_prev=exec_prefix ;; 1055 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1056 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1057 | --exec=* | --exe=* | --ex=*) 1058 exec_prefix=$ac_optarg ;; 1059 1060 -gas | --gas | --ga | --g) 1061 # Obsolete; use --with-gas. 1062 with_gas=yes ;; 1063 1064 -help | --help | --hel | --he | -h) 1065 ac_init_help=long ;; 1066 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1067 ac_init_help=recursive ;; 1068 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1069 ac_init_help=short ;; 1070 1071 -host | --host | --hos | --ho) 1072 ac_prev=host_alias ;; 1073 -host=* | --host=* | --hos=* | --ho=*) 1074 host_alias=$ac_optarg ;; 1075 1076 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1077 ac_prev=htmldir ;; 1078 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1079 | --ht=*) 1080 htmldir=$ac_optarg ;; 1081 1082 -includedir | --includedir | --includedi | --included | --include \ 1083 | --includ | --inclu | --incl | --inc) 1084 ac_prev=includedir ;; 1085 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1086 | --includ=* | --inclu=* | --incl=* | --inc=*) 1087 includedir=$ac_optarg ;; 1088 1089 -infodir | --infodir | --infodi | --infod | --info | --inf) 1090 ac_prev=infodir ;; 1091 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1092 infodir=$ac_optarg ;; 1093 1094 -libdir | --libdir | --libdi | --libd) 1095 ac_prev=libdir ;; 1096 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1097 libdir=$ac_optarg ;; 1098 1099 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1100 | --libexe | --libex | --libe) 1101 ac_prev=libexecdir ;; 1102 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1103 | --libexe=* | --libex=* | --libe=*) 1104 libexecdir=$ac_optarg ;; 1105 1106 -localedir | --localedir | --localedi | --localed | --locale) 1107 ac_prev=localedir ;; 1108 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1109 localedir=$ac_optarg ;; 1110 1111 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1112 | --localstate | --localstat | --localsta | --localst | --locals) 1113 ac_prev=localstatedir ;; 1114 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1115 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1116 localstatedir=$ac_optarg ;; 1117 1118 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1119 ac_prev=mandir ;; 1120 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1121 mandir=$ac_optarg ;; 1122 1123 -nfp | --nfp | --nf) 1124 # Obsolete; use --without-fp. 1125 with_fp=no ;; 1126 1127 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1128 | --no-cr | --no-c | -n) 1129 no_create=yes ;; 1130 1131 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1132 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1133 no_recursion=yes ;; 1134 1135 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1136 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1137 | --oldin | --oldi | --old | --ol | --o) 1138 ac_prev=oldincludedir ;; 1139 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1140 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1141 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1142 oldincludedir=$ac_optarg ;; 1143 1144 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1145 ac_prev=prefix ;; 1146 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1147 prefix=$ac_optarg ;; 1148 1149 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1150 | --program-pre | --program-pr | --program-p) 1151 ac_prev=program_prefix ;; 1152 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1153 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1154 program_prefix=$ac_optarg ;; 1155 1156 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1157 | --program-suf | --program-su | --program-s) 1158 ac_prev=program_suffix ;; 1159 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1160 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1161 program_suffix=$ac_optarg ;; 1162 1163 -program-transform-name | --program-transform-name \ 1164 | --program-transform-nam | --program-transform-na \ 1165 | --program-transform-n | --program-transform- \ 1166 | --program-transform | --program-transfor \ 1167 | --program-transfo | --program-transf \ 1168 | --program-trans | --program-tran \ 1169 | --progr-tra | --program-tr | --program-t) 1170 ac_prev=program_transform_name ;; 1171 -program-transform-name=* | --program-transform-name=* \ 1172 | --program-transform-nam=* | --program-transform-na=* \ 1173 | --program-transform-n=* | --program-transform-=* \ 1174 | --program-transform=* | --program-transfor=* \ 1175 | --program-transfo=* | --program-transf=* \ 1176 | --program-trans=* | --program-tran=* \ 1177 | --progr-tra=* | --program-tr=* | --program-t=*) 1178 program_transform_name=$ac_optarg ;; 1179 1180 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1181 ac_prev=pdfdir ;; 1182 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1183 pdfdir=$ac_optarg ;; 1184 1185 -psdir | --psdir | --psdi | --psd | --ps) 1186 ac_prev=psdir ;; 1187 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1188 psdir=$ac_optarg ;; 1189 1190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1191 | -silent | --silent | --silen | --sile | --sil) 1192 silent=yes ;; 1193 1194 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1195 ac_prev=sbindir ;; 1196 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1197 | --sbi=* | --sb=*) 1198 sbindir=$ac_optarg ;; 1199 1200 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1201 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1202 | --sharedst | --shareds | --shared | --share | --shar \ 1203 | --sha | --sh) 1204 ac_prev=sharedstatedir ;; 1205 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1206 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1207 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1208 | --sha=* | --sh=*) 1209 sharedstatedir=$ac_optarg ;; 1210 1211 -site | --site | --sit) 1212 ac_prev=site ;; 1213 -site=* | --site=* | --sit=*) 1214 site=$ac_optarg ;; 1215 1216 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1217 ac_prev=srcdir ;; 1218 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1219 srcdir=$ac_optarg ;; 1220 1221 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1222 | --syscon | --sysco | --sysc | --sys | --sy) 1223 ac_prev=sysconfdir ;; 1224 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1225 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1226 sysconfdir=$ac_optarg ;; 1227 1228 -target | --target | --targe | --targ | --tar | --ta | --t) 1229 ac_prev=target_alias ;; 1230 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1231 target_alias=$ac_optarg ;; 1232 1233 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1234 verbose=yes ;; 1235 1236 -version | --version | --versio | --versi | --vers | -V) 1237 ac_init_version=: ;; 1238 1239 -with-* | --with-*) 1240 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1241 # Reject names that are not valid shell variable names. 1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1243 as_fn_error $? "invalid package name: $ac_useropt" 1244 ac_useropt_orig=$ac_useropt 1245 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1246 case $ac_user_opts in 1247 *" 1248"with_$ac_useropt" 1249"*) ;; 1250 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1251 ac_unrecognized_sep=', ';; 1252 esac 1253 eval with_$ac_useropt=\$ac_optarg ;; 1254 1255 -without-* | --without-*) 1256 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1257 # Reject names that are not valid shell variable names. 1258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1259 as_fn_error $? "invalid package name: $ac_useropt" 1260 ac_useropt_orig=$ac_useropt 1261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1262 case $ac_user_opts in 1263 *" 1264"with_$ac_useropt" 1265"*) ;; 1266 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1267 ac_unrecognized_sep=', ';; 1268 esac 1269 eval with_$ac_useropt=no ;; 1270 1271 --x) 1272 # Obsolete; use --with-x. 1273 with_x=yes ;; 1274 1275 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1276 | --x-incl | --x-inc | --x-in | --x-i) 1277 ac_prev=x_includes ;; 1278 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1279 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1280 x_includes=$ac_optarg ;; 1281 1282 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1283 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1284 ac_prev=x_libraries ;; 1285 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1286 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1287 x_libraries=$ac_optarg ;; 1288 1289 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1290Try \`$0 --help' for more information" 1291 ;; 1292 1293 *=*) 1294 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1295 # Reject names that are not valid shell variable names. 1296 case $ac_envvar in #( 1297 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1298 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1299 esac 1300 eval $ac_envvar=\$ac_optarg 1301 export $ac_envvar ;; 1302 1303 *) 1304 # FIXME: should be removed in autoconf 3.0. 1305 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1306 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1307 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1308 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1309 ;; 1310 1311 esac 1312done 1313 1314if test -n "$ac_prev"; then 1315 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1316 as_fn_error $? "missing argument to $ac_option" 1317fi 1318 1319if test -n "$ac_unrecognized_opts"; then 1320 case $enable_option_checking in 1321 no) ;; 1322 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1323 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1324 esac 1325fi 1326 1327# Check all directory arguments for consistency. 1328for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1329 datadir sysconfdir sharedstatedir localstatedir includedir \ 1330 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1331 libdir localedir mandir 1332do 1333 eval ac_val=\$$ac_var 1334 # Remove trailing slashes. 1335 case $ac_val in 1336 */ ) 1337 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1338 eval $ac_var=\$ac_val;; 1339 esac 1340 # Be sure to have absolute directory names. 1341 case $ac_val in 1342 [\\/$]* | ?:[\\/]* ) continue;; 1343 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1344 esac 1345 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1346done 1347 1348# There might be people who depend on the old broken behavior: `$host' 1349# used to hold the argument of --host etc. 1350# FIXME: To remove some day. 1351build=$build_alias 1352host=$host_alias 1353target=$target_alias 1354 1355# FIXME: To remove some day. 1356if test "x$host_alias" != x; then 1357 if test "x$build_alias" = x; then 1358 cross_compiling=maybe 1359 elif test "x$build_alias" != "x$host_alias"; then 1360 cross_compiling=yes 1361 fi 1362fi 1363 1364ac_tool_prefix= 1365test -n "$host_alias" && ac_tool_prefix=$host_alias- 1366 1367test "$silent" = yes && exec 6>/dev/null 1368 1369 1370ac_pwd=`pwd` && test -n "$ac_pwd" && 1371ac_ls_di=`ls -di .` && 1372ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1373 as_fn_error $? "working directory cannot be determined" 1374test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1375 as_fn_error $? "pwd does not report name of working directory" 1376 1377 1378# Find the source files, if location was not specified. 1379if test -z "$srcdir"; then 1380 ac_srcdir_defaulted=yes 1381 # Try the directory containing this script, then the parent directory. 1382 ac_confdir=`$as_dirname -- "$as_myself" || 1383$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1384 X"$as_myself" : 'X\(//\)[^/]' \| \ 1385 X"$as_myself" : 'X\(//\)$' \| \ 1386 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1387$as_echo X"$as_myself" | 1388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1389 s//\1/ 1390 q 1391 } 1392 /^X\(\/\/\)[^/].*/{ 1393 s//\1/ 1394 q 1395 } 1396 /^X\(\/\/\)$/{ 1397 s//\1/ 1398 q 1399 } 1400 /^X\(\/\).*/{ 1401 s//\1/ 1402 q 1403 } 1404 s/.*/./; q'` 1405 srcdir=$ac_confdir 1406 if test ! -r "$srcdir/$ac_unique_file"; then 1407 srcdir=.. 1408 fi 1409else 1410 ac_srcdir_defaulted=no 1411fi 1412if test ! -r "$srcdir/$ac_unique_file"; then 1413 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1414 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1415fi 1416ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1417ac_abs_confdir=`( 1418 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1419 pwd)` 1420# When building in place, set srcdir=. 1421if test "$ac_abs_confdir" = "$ac_pwd"; then 1422 srcdir=. 1423fi 1424# Remove unnecessary trailing slashes from srcdir. 1425# Double slashes in file names in object file debugging info 1426# mess up M-x gdb in Emacs. 1427case $srcdir in 1428*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1429esac 1430for ac_var in $ac_precious_vars; do 1431 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1432 eval ac_env_${ac_var}_value=\$${ac_var} 1433 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1434 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1435done 1436 1437# 1438# Report the --help message. 1439# 1440if test "$ac_init_help" = "long"; then 1441 # Omit some internal or obsolete options to make the list less imposing. 1442 # This message is too long to be a string in the A/UX 3.1 sh. 1443 cat <<_ACEOF 1444\`configure' configures EasyTAG 2.4.3 to adapt to many kinds of systems. 1445 1446Usage: $0 [OPTION]... [VAR=VALUE]... 1447 1448To assign environment variables (e.g., CC, CFLAGS...), specify them as 1449VAR=VALUE. See below for descriptions of some of the useful variables. 1450 1451Defaults for the options are specified in brackets. 1452 1453Configuration: 1454 -h, --help display this help and exit 1455 --help=short display options specific to this package 1456 --help=recursive display the short help of all the included packages 1457 -V, --version display version information and exit 1458 -q, --quiet, --silent do not print \`checking ...' messages 1459 --cache-file=FILE cache test results in FILE [disabled] 1460 -C, --config-cache alias for \`--cache-file=config.cache' 1461 -n, --no-create do not create output files 1462 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1463 1464Installation directories: 1465 --prefix=PREFIX install architecture-independent files in PREFIX 1466 [$ac_default_prefix] 1467 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1468 [PREFIX] 1469 1470By default, \`make install' will install all the files in 1471\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1472an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1473for instance \`--prefix=\$HOME'. 1474 1475For better control, use the options below. 1476 1477Fine tuning of the installation directories: 1478 --bindir=DIR user executables [EPREFIX/bin] 1479 --sbindir=DIR system admin executables [EPREFIX/sbin] 1480 --libexecdir=DIR program executables [EPREFIX/libexec] 1481 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1482 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1483 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1484 --libdir=DIR object code libraries [EPREFIX/lib] 1485 --includedir=DIR C header files [PREFIX/include] 1486 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1487 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1488 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1489 --infodir=DIR info documentation [DATAROOTDIR/info] 1490 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1491 --mandir=DIR man documentation [DATAROOTDIR/man] 1492 --docdir=DIR documentation root [DATAROOTDIR/doc/easytag] 1493 --htmldir=DIR html documentation [DOCDIR] 1494 --dvidir=DIR dvi documentation [DOCDIR] 1495 --pdfdir=DIR pdf documentation [DOCDIR] 1496 --psdir=DIR ps documentation [DOCDIR] 1497_ACEOF 1498 1499 cat <<\_ACEOF 1500 1501Program names: 1502 --program-prefix=PREFIX prepend PREFIX to installed program names 1503 --program-suffix=SUFFIX append SUFFIX to installed program names 1504 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1505 1506System types: 1507 --build=BUILD configure for building on BUILD [guessed] 1508 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1509_ACEOF 1510fi 1511 1512if test -n "$ac_init_help"; then 1513 case $ac_init_help in 1514 short | recursive ) echo "Configuration of EasyTAG 2.4.3:";; 1515 esac 1516 cat <<\_ACEOF 1517 1518Optional Features: 1519 --disable-option-checking ignore unrecognized --enable/--with options 1520 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1521 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1522 --enable-silent-rules less verbose build output (undo: "make V=1") 1523 --disable-silent-rules verbose build output (undo: "make V=0") 1524 --disable-maintainer-mode 1525 disable make rules and dependencies not useful (and 1526 sometimes confusing) to the casual installer 1527 --enable-static[=PKGS] build static libraries [default=no] 1528 --enable-shared[=PKGS] build shared libraries [default=yes] 1529 --enable-fast-install[=PKGS] 1530 optimize for fast installation [default=yes] 1531 --enable-dependency-tracking 1532 do not reject slow dependency extractors 1533 --disable-dependency-tracking 1534 speeds up one-time build 1535 --disable-libtool-lock avoid locking (might break parallel builds) 1536 --disable-nls do not use Native Language Support 1537 --disable-appdata-validate 1538 Disable validating AppData XML files during check 1539 phase 1540 --disable-man Disable building the man page 1541 --disable-tests Disable support for tests run during make check 1542 --disable-mp3 Disable support for MP3 files (default=auto) 1543 --disable-id3v23 Disable support for writing id3v2.3 tags 1544 (default=enabled) 1545 --disable-ogg Disable support for Ogg Vorbis files (default=auto) 1546 --disable-opus Disable support for Opus Vorbis files (default=auto) 1547 --disable-speex Disable support for Ogg Speex files (default=auto) 1548 --disable-flac Disable support for FLAC files (default=auto) 1549 --disable-mp4 Disable support for MP4 files (default=auto) 1550 --disable-wavpack Disable support for Wavpack files (default=auto) 1551 --disable-nautilus-actions 1552 do not build the nautilus context menu actions 1553 (default=auto) 1554 --enable-compile-warnings=[no/yes/error] 1555 Enable compiler warnings and errors 1556 --disable-Werror Unconditionally make all compiler warnings non-fatal 1557 --disable-schemas-compile 1558 Disable regeneration of gschemas.compiled on install 1559 1560Optional Packages: 1561 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1562 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1563 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1564 both] 1565 --with-aix-soname=aix|svr4|both 1566 shared library versioning (aka "SONAME") variant to 1567 provide on AIX, [default=aix]. 1568 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1569 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1570 compiler's sysroot if not specified). 1571 --with-xml-catalog=CATALOG 1572 path to xml catalog to use 1573 --with-help-dir=DIR path where help files are installed 1574 1575Some influential environment variables: 1576 CC C compiler command 1577 CFLAGS C compiler flags 1578 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1579 nonstandard directory <lib dir> 1580 LIBS libraries to pass to the linker, e.g. -l<library> 1581 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1582 you have headers in a nonstandard directory <include dir> 1583 LT_SYS_LIBRARY_PATH 1584 User-defined run-time library search path. 1585 CPP C preprocessor 1586 CXX C++ compiler command 1587 CXXFLAGS C++ compiler flags 1588 CXXCPP C++ preprocessor 1589 PKG_CONFIG path to pkg-config utility 1590 PKG_CONFIG_PATH 1591 directories to add to pkg-config's search path 1592 PKG_CONFIG_LIBDIR 1593 path overriding pkg-config's built-in search path 1594 ITSTOOL Path to the `itstool` command 1595 XMLLINT Path to the `xmllint` command 1596 NAUTILUS_CFLAGS 1597 C compiler flags for NAUTILUS, overriding pkg-config 1598 NAUTILUS_LIBS 1599 linker flags for NAUTILUS, overriding pkg-config 1600 EASYTAG_CFLAGS 1601 C compiler flags for EASYTAG, overriding pkg-config 1602 EASYTAG_LIBS 1603 linker flags for EASYTAG, overriding pkg-config 1604 1605Use these variables to override the choices made by `configure' or to help 1606it to find libraries and programs with nonstandard names/locations. 1607 1608Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=easytag>. 1609EasyTAG home page: <https://wiki.gnome.org/Apps/EasyTAG>. 1610_ACEOF 1611ac_status=$? 1612fi 1613 1614if test "$ac_init_help" = "recursive"; then 1615 # If there are subdirs, report their specific --help. 1616 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1617 test -d "$ac_dir" || 1618 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1619 continue 1620 ac_builddir=. 1621 1622case "$ac_dir" in 1623.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1624*) 1625 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1626 # A ".." for each directory in $ac_dir_suffix. 1627 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1628 case $ac_top_builddir_sub in 1629 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1630 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1631 esac ;; 1632esac 1633ac_abs_top_builddir=$ac_pwd 1634ac_abs_builddir=$ac_pwd$ac_dir_suffix 1635# for backward compatibility: 1636ac_top_builddir=$ac_top_build_prefix 1637 1638case $srcdir in 1639 .) # We are building in place. 1640 ac_srcdir=. 1641 ac_top_srcdir=$ac_top_builddir_sub 1642 ac_abs_top_srcdir=$ac_pwd ;; 1643 [\\/]* | ?:[\\/]* ) # Absolute name. 1644 ac_srcdir=$srcdir$ac_dir_suffix; 1645 ac_top_srcdir=$srcdir 1646 ac_abs_top_srcdir=$srcdir ;; 1647 *) # Relative name. 1648 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1649 ac_top_srcdir=$ac_top_build_prefix$srcdir 1650 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1651esac 1652ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1653 1654 cd "$ac_dir" || { ac_status=$?; continue; } 1655 # Check for guested configure. 1656 if test -f "$ac_srcdir/configure.gnu"; then 1657 echo && 1658 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1659 elif test -f "$ac_srcdir/configure"; then 1660 echo && 1661 $SHELL "$ac_srcdir/configure" --help=recursive 1662 else 1663 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1664 fi || ac_status=$? 1665 cd "$ac_pwd" || { ac_status=$?; break; } 1666 done 1667fi 1668 1669test -n "$ac_init_help" && exit $ac_status 1670if $ac_init_version; then 1671 cat <<\_ACEOF 1672EasyTAG configure 2.4.3 1673generated by GNU Autoconf 2.69 1674 1675Copyright (C) 2012 Free Software Foundation, Inc. 1676This configure script is free software; the Free Software Foundation 1677gives unlimited permission to copy, distribute and modify it. 1678_ACEOF 1679 exit 1680fi 1681 1682## ------------------------ ## 1683## Autoconf initialization. ## 1684## ------------------------ ## 1685 1686# ac_fn_c_try_compile LINENO 1687# -------------------------- 1688# Try to compile conftest.$ac_ext, and return whether this succeeded. 1689ac_fn_c_try_compile () 1690{ 1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1692 rm -f conftest.$ac_objext 1693 if { { ac_try="$ac_compile" 1694case "(($ac_try" in 1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1696 *) ac_try_echo=$ac_try;; 1697esac 1698eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1699$as_echo "$ac_try_echo"; } >&5 1700 (eval "$ac_compile") 2>conftest.err 1701 ac_status=$? 1702 if test -s conftest.err; then 1703 grep -v '^ *+' conftest.err >conftest.er1 1704 cat conftest.er1 >&5 1705 mv -f conftest.er1 conftest.err 1706 fi 1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1708 test $ac_status = 0; } && { 1709 test -z "$ac_c_werror_flag" || 1710 test ! -s conftest.err 1711 } && test -s conftest.$ac_objext; then : 1712 ac_retval=0 1713else 1714 $as_echo "$as_me: failed program was:" >&5 1715sed 's/^/| /' conftest.$ac_ext >&5 1716 1717 ac_retval=1 1718fi 1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1720 as_fn_set_status $ac_retval 1721 1722} # ac_fn_c_try_compile 1723 1724# ac_fn_c_try_link LINENO 1725# ----------------------- 1726# Try to link conftest.$ac_ext, and return whether this succeeded. 1727ac_fn_c_try_link () 1728{ 1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1730 rm -f conftest.$ac_objext conftest$ac_exeext 1731 if { { ac_try="$ac_link" 1732case "(($ac_try" in 1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1734 *) ac_try_echo=$ac_try;; 1735esac 1736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1737$as_echo "$ac_try_echo"; } >&5 1738 (eval "$ac_link") 2>conftest.err 1739 ac_status=$? 1740 if test -s conftest.err; then 1741 grep -v '^ *+' conftest.err >conftest.er1 1742 cat conftest.er1 >&5 1743 mv -f conftest.er1 conftest.err 1744 fi 1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1746 test $ac_status = 0; } && { 1747 test -z "$ac_c_werror_flag" || 1748 test ! -s conftest.err 1749 } && test -s conftest$ac_exeext && { 1750 test "$cross_compiling" = yes || 1751 test -x conftest$ac_exeext 1752 }; then : 1753 ac_retval=0 1754else 1755 $as_echo "$as_me: failed program was:" >&5 1756sed 's/^/| /' conftest.$ac_ext >&5 1757 1758 ac_retval=1 1759fi 1760 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1761 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1762 # interfere with the next link command; also delete a directory that is 1763 # left behind by Apple's compiler. We do this before executing the actions. 1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1766 as_fn_set_status $ac_retval 1767 1768} # ac_fn_c_try_link 1769 1770# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1771# ------------------------------------------------------- 1772# Tests whether HEADER exists and can be compiled using the include files in 1773# INCLUDES, setting the cache variable VAR accordingly. 1774ac_fn_c_check_header_compile () 1775{ 1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1778$as_echo_n "checking for $2... " >&6; } 1779if eval \${$3+:} false; then : 1780 $as_echo_n "(cached) " >&6 1781else 1782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1783/* end confdefs.h. */ 1784$4 1785#include <$2> 1786_ACEOF 1787if ac_fn_c_try_compile "$LINENO"; then : 1788 eval "$3=yes" 1789else 1790 eval "$3=no" 1791fi 1792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1793fi 1794eval ac_res=\$$3 1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1796$as_echo "$ac_res" >&6; } 1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1798 1799} # ac_fn_c_check_header_compile 1800 1801# ac_fn_c_try_cpp LINENO 1802# ---------------------- 1803# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1804ac_fn_c_try_cpp () 1805{ 1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1807 if { { ac_try="$ac_cpp conftest.$ac_ext" 1808case "(($ac_try" in 1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1810 *) ac_try_echo=$ac_try;; 1811esac 1812eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1813$as_echo "$ac_try_echo"; } >&5 1814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1815 ac_status=$? 1816 if test -s conftest.err; then 1817 grep -v '^ *+' conftest.err >conftest.er1 1818 cat conftest.er1 >&5 1819 mv -f conftest.er1 conftest.err 1820 fi 1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1822 test $ac_status = 0; } > conftest.i && { 1823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1824 test ! -s conftest.err 1825 }; then : 1826 ac_retval=0 1827else 1828 $as_echo "$as_me: failed program was:" >&5 1829sed 's/^/| /' conftest.$ac_ext >&5 1830 1831 ac_retval=1 1832fi 1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1834 as_fn_set_status $ac_retval 1835 1836} # ac_fn_c_try_cpp 1837 1838# ac_fn_c_try_run LINENO 1839# ---------------------- 1840# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1841# that executables *can* be run. 1842ac_fn_c_try_run () 1843{ 1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1845 if { { ac_try="$ac_link" 1846case "(($ac_try" in 1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1848 *) ac_try_echo=$ac_try;; 1849esac 1850eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1851$as_echo "$ac_try_echo"; } >&5 1852 (eval "$ac_link") 2>&5 1853 ac_status=$? 1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1855 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1856 { { case "(($ac_try" in 1857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1858 *) ac_try_echo=$ac_try;; 1859esac 1860eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1861$as_echo "$ac_try_echo"; } >&5 1862 (eval "$ac_try") 2>&5 1863 ac_status=$? 1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1865 test $ac_status = 0; }; }; then : 1866 ac_retval=0 1867else 1868 $as_echo "$as_me: program exited with status $ac_status" >&5 1869 $as_echo "$as_me: failed program was:" >&5 1870sed 's/^/| /' conftest.$ac_ext >&5 1871 1872 ac_retval=$ac_status 1873fi 1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1876 as_fn_set_status $ac_retval 1877 1878} # ac_fn_c_try_run 1879 1880# ac_fn_c_check_func LINENO FUNC VAR 1881# ---------------------------------- 1882# Tests whether FUNC exists, setting the cache variable VAR accordingly 1883ac_fn_c_check_func () 1884{ 1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1887$as_echo_n "checking for $2... " >&6; } 1888if eval \${$3+:} false; then : 1889 $as_echo_n "(cached) " >&6 1890else 1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1892/* end confdefs.h. */ 1893/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1894 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1895#define $2 innocuous_$2 1896 1897/* System header to define __stub macros and hopefully few prototypes, 1898 which can conflict with char $2 (); below. 1899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1900 <limits.h> exists even on freestanding compilers. */ 1901 1902#ifdef __STDC__ 1903# include <limits.h> 1904#else 1905# include <assert.h> 1906#endif 1907 1908#undef $2 1909 1910/* Override any GCC internal prototype to avoid an error. 1911 Use char because int might match the return type of a GCC 1912 builtin and then its argument prototype would still apply. */ 1913#ifdef __cplusplus 1914extern "C" 1915#endif 1916char $2 (); 1917/* The GNU C library defines this for functions which it implements 1918 to always fail with ENOSYS. Some functions are actually named 1919 something starting with __ and the normal name is an alias. */ 1920#if defined __stub_$2 || defined __stub___$2 1921choke me 1922#endif 1923 1924int 1925main () 1926{ 1927return $2 (); 1928 ; 1929 return 0; 1930} 1931_ACEOF 1932if ac_fn_c_try_link "$LINENO"; then : 1933 eval "$3=yes" 1934else 1935 eval "$3=no" 1936fi 1937rm -f core conftest.err conftest.$ac_objext \ 1938 conftest$ac_exeext conftest.$ac_ext 1939fi 1940eval ac_res=\$$3 1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1942$as_echo "$ac_res" >&6; } 1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1944 1945} # ac_fn_c_check_func 1946 1947# ac_fn_cxx_try_compile LINENO 1948# ---------------------------- 1949# Try to compile conftest.$ac_ext, and return whether this succeeded. 1950ac_fn_cxx_try_compile () 1951{ 1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1953 rm -f conftest.$ac_objext 1954 if { { ac_try="$ac_compile" 1955case "(($ac_try" in 1956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1957 *) ac_try_echo=$ac_try;; 1958esac 1959eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1960$as_echo "$ac_try_echo"; } >&5 1961 (eval "$ac_compile") 2>conftest.err 1962 ac_status=$? 1963 if test -s conftest.err; then 1964 grep -v '^ *+' conftest.err >conftest.er1 1965 cat conftest.er1 >&5 1966 mv -f conftest.er1 conftest.err 1967 fi 1968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1969 test $ac_status = 0; } && { 1970 test -z "$ac_cxx_werror_flag" || 1971 test ! -s conftest.err 1972 } && test -s conftest.$ac_objext; then : 1973 ac_retval=0 1974else 1975 $as_echo "$as_me: failed program was:" >&5 1976sed 's/^/| /' conftest.$ac_ext >&5 1977 1978 ac_retval=1 1979fi 1980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1981 as_fn_set_status $ac_retval 1982 1983} # ac_fn_cxx_try_compile 1984 1985# ac_fn_cxx_try_cpp LINENO 1986# ------------------------ 1987# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1988ac_fn_cxx_try_cpp () 1989{ 1990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1991 if { { ac_try="$ac_cpp conftest.$ac_ext" 1992case "(($ac_try" in 1993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1994 *) ac_try_echo=$ac_try;; 1995esac 1996eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1997$as_echo "$ac_try_echo"; } >&5 1998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1999 ac_status=$? 2000 if test -s conftest.err; then 2001 grep -v '^ *+' conftest.err >conftest.er1 2002 cat conftest.er1 >&5 2003 mv -f conftest.er1 conftest.err 2004 fi 2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2006 test $ac_status = 0; } > conftest.i && { 2007 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2008 test ! -s conftest.err 2009 }; then : 2010 ac_retval=0 2011else 2012 $as_echo "$as_me: failed program was:" >&5 2013sed 's/^/| /' conftest.$ac_ext >&5 2014 2015 ac_retval=1 2016fi 2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2018 as_fn_set_status $ac_retval 2019 2020} # ac_fn_cxx_try_cpp 2021 2022# ac_fn_cxx_try_link LINENO 2023# ------------------------- 2024# Try to link conftest.$ac_ext, and return whether this succeeded. 2025ac_fn_cxx_try_link () 2026{ 2027 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2028 rm -f conftest.$ac_objext conftest$ac_exeext 2029 if { { ac_try="$ac_link" 2030case "(($ac_try" in 2031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2032 *) ac_try_echo=$ac_try;; 2033esac 2034eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2035$as_echo "$ac_try_echo"; } >&5 2036 (eval "$ac_link") 2>conftest.err 2037 ac_status=$? 2038 if test -s conftest.err; then 2039 grep -v '^ *+' conftest.err >conftest.er1 2040 cat conftest.er1 >&5 2041 mv -f conftest.er1 conftest.err 2042 fi 2043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2044 test $ac_status = 0; } && { 2045 test -z "$ac_cxx_werror_flag" || 2046 test ! -s conftest.err 2047 } && test -s conftest$ac_exeext && { 2048 test "$cross_compiling" = yes || 2049 test -x conftest$ac_exeext 2050 }; then : 2051 ac_retval=0 2052else 2053 $as_echo "$as_me: failed program was:" >&5 2054sed 's/^/| /' conftest.$ac_ext >&5 2055 2056 ac_retval=1 2057fi 2058 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2059 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2060 # interfere with the next link command; also delete a directory that is 2061 # left behind by Apple's compiler. We do this before executing the actions. 2062 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2064 as_fn_set_status $ac_retval 2065 2066} # ac_fn_cxx_try_link 2067 2068# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2069# --------------------------------------------- 2070# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2071# accordingly. 2072ac_fn_c_check_decl () 2073{ 2074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2075 as_decl_name=`echo $2|sed 's/ *(.*//'` 2076 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2078$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2079if eval \${$3+:} false; then : 2080 $as_echo_n "(cached) " >&6 2081else 2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2083/* end confdefs.h. */ 2084$4 2085int 2086main () 2087{ 2088#ifndef $as_decl_name 2089#ifdef __cplusplus 2090 (void) $as_decl_use; 2091#else 2092 (void) $as_decl_name; 2093#endif 2094#endif 2095 2096 ; 2097 return 0; 2098} 2099_ACEOF 2100if ac_fn_c_try_compile "$LINENO"; then : 2101 eval "$3=yes" 2102else 2103 eval "$3=no" 2104fi 2105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2106fi 2107eval ac_res=\$$3 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2109$as_echo "$ac_res" >&6; } 2110 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2111 2112} # ac_fn_c_check_decl 2113cat >config.log <<_ACEOF 2114This file contains any messages produced by compilers while 2115running configure, to aid debugging if configure makes a mistake. 2116 2117It was created by EasyTAG $as_me 2.4.3, which was 2118generated by GNU Autoconf 2.69. Invocation command line was 2119 2120 $ $0 $@ 2121 2122_ACEOF 2123exec 5>>config.log 2124{ 2125cat <<_ASUNAME 2126## --------- ## 2127## Platform. ## 2128## --------- ## 2129 2130hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2131uname -m = `(uname -m) 2>/dev/null || echo unknown` 2132uname -r = `(uname -r) 2>/dev/null || echo unknown` 2133uname -s = `(uname -s) 2>/dev/null || echo unknown` 2134uname -v = `(uname -v) 2>/dev/null || echo unknown` 2135 2136/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2137/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2138 2139/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2140/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2141/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2142/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2143/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2144/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2145/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2146 2147_ASUNAME 2148 2149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2150for as_dir in $PATH 2151do 2152 IFS=$as_save_IFS 2153 test -z "$as_dir" && as_dir=. 2154 $as_echo "PATH: $as_dir" 2155 done 2156IFS=$as_save_IFS 2157 2158} >&5 2159 2160cat >&5 <<_ACEOF 2161 2162 2163## ----------- ## 2164## Core tests. ## 2165## ----------- ## 2166 2167_ACEOF 2168 2169 2170# Keep a trace of the command line. 2171# Strip out --no-create and --no-recursion so they do not pile up. 2172# Strip out --silent because we don't want to record it for future runs. 2173# Also quote any args containing shell meta-characters. 2174# Make two passes to allow for proper duplicate-argument suppression. 2175ac_configure_args= 2176ac_configure_args0= 2177ac_configure_args1= 2178ac_must_keep_next=false 2179for ac_pass in 1 2 2180do 2181 for ac_arg 2182 do 2183 case $ac_arg in 2184 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2186 | -silent | --silent | --silen | --sile | --sil) 2187 continue ;; 2188 *\'*) 2189 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2190 esac 2191 case $ac_pass in 2192 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2193 2) 2194 as_fn_append ac_configure_args1 " '$ac_arg'" 2195 if test $ac_must_keep_next = true; then 2196 ac_must_keep_next=false # Got value, back to normal. 2197 else 2198 case $ac_arg in 2199 *=* | --config-cache | -C | -disable-* | --disable-* \ 2200 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2201 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2202 | -with-* | --with-* | -without-* | --without-* | --x) 2203 case "$ac_configure_args0 " in 2204 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2205 esac 2206 ;; 2207 -* ) ac_must_keep_next=true ;; 2208 esac 2209 fi 2210 as_fn_append ac_configure_args " '$ac_arg'" 2211 ;; 2212 esac 2213 done 2214done 2215{ ac_configure_args0=; unset ac_configure_args0;} 2216{ ac_configure_args1=; unset ac_configure_args1;} 2217 2218# When interrupted or exit'd, cleanup temporary files, and complete 2219# config.log. We remove comments because anyway the quotes in there 2220# would cause problems or look ugly. 2221# WARNING: Use '\'' to represent an apostrophe within the trap. 2222# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2223trap 'exit_status=$? 2224 # Save into config.log some information that might help in debugging. 2225 { 2226 echo 2227 2228 $as_echo "## ---------------- ## 2229## Cache variables. ## 2230## ---------------- ##" 2231 echo 2232 # The following way of writing the cache mishandles newlines in values, 2233( 2234 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2235 eval ac_val=\$$ac_var 2236 case $ac_val in #( 2237 *${as_nl}*) 2238 case $ac_var in #( 2239 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2240$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2241 esac 2242 case $ac_var in #( 2243 _ | IFS | as_nl) ;; #( 2244 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2245 *) { eval $ac_var=; unset $ac_var;} ;; 2246 esac ;; 2247 esac 2248 done 2249 (set) 2>&1 | 2250 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2251 *${as_nl}ac_space=\ *) 2252 sed -n \ 2253 "s/'\''/'\''\\\\'\'''\''/g; 2254 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2255 ;; #( 2256 *) 2257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2258 ;; 2259 esac | 2260 sort 2261) 2262 echo 2263 2264 $as_echo "## ----------------- ## 2265## Output variables. ## 2266## ----------------- ##" 2267 echo 2268 for ac_var in $ac_subst_vars 2269 do 2270 eval ac_val=\$$ac_var 2271 case $ac_val in 2272 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2273 esac 2274 $as_echo "$ac_var='\''$ac_val'\''" 2275 done | sort 2276 echo 2277 2278 if test -n "$ac_subst_files"; then 2279 $as_echo "## ------------------- ## 2280## File substitutions. ## 2281## ------------------- ##" 2282 echo 2283 for ac_var in $ac_subst_files 2284 do 2285 eval ac_val=\$$ac_var 2286 case $ac_val in 2287 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2288 esac 2289 $as_echo "$ac_var='\''$ac_val'\''" 2290 done | sort 2291 echo 2292 fi 2293 2294 if test -s confdefs.h; then 2295 $as_echo "## ----------- ## 2296## confdefs.h. ## 2297## ----------- ##" 2298 echo 2299 cat confdefs.h 2300 echo 2301 fi 2302 test "$ac_signal" != 0 && 2303 $as_echo "$as_me: caught signal $ac_signal" 2304 $as_echo "$as_me: exit $exit_status" 2305 } >&5 2306 rm -f core *.core core.conftest.* && 2307 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2308 exit $exit_status 2309' 0 2310for ac_signal in 1 2 13 15; do 2311 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2312done 2313ac_signal=0 2314 2315# confdefs.h avoids OS command line length limits that DEFS can exceed. 2316rm -f -r conftest* confdefs.h 2317 2318$as_echo "/* confdefs.h */" > confdefs.h 2319 2320# Predefined preprocessor variables. 2321 2322cat >>confdefs.h <<_ACEOF 2323#define PACKAGE_NAME "$PACKAGE_NAME" 2324_ACEOF 2325 2326cat >>confdefs.h <<_ACEOF 2327#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2328_ACEOF 2329 2330cat >>confdefs.h <<_ACEOF 2331#define PACKAGE_VERSION "$PACKAGE_VERSION" 2332_ACEOF 2333 2334cat >>confdefs.h <<_ACEOF 2335#define PACKAGE_STRING "$PACKAGE_STRING" 2336_ACEOF 2337 2338cat >>confdefs.h <<_ACEOF 2339#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2340_ACEOF 2341 2342cat >>confdefs.h <<_ACEOF 2343#define PACKAGE_URL "$PACKAGE_URL" 2344_ACEOF 2345 2346 2347# Let the site file select an alternate cache file if it wants to. 2348# Prefer an explicitly selected file to automatically selected ones. 2349ac_site_file1=NONE 2350ac_site_file2=NONE 2351if test -n "$CONFIG_SITE"; then 2352 # We do not want a PATH search for config.site. 2353 case $CONFIG_SITE in #(( 2354 -*) ac_site_file1=./$CONFIG_SITE;; 2355 */*) ac_site_file1=$CONFIG_SITE;; 2356 *) ac_site_file1=./$CONFIG_SITE;; 2357 esac 2358elif test "x$prefix" != xNONE; then 2359 ac_site_file1=$prefix/share/config.site 2360 ac_site_file2=$prefix/etc/config.site 2361else 2362 ac_site_file1=$ac_default_prefix/share/config.site 2363 ac_site_file2=$ac_default_prefix/etc/config.site 2364fi 2365for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2366do 2367 test "x$ac_site_file" = xNONE && continue 2368 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2369 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2370$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2371 sed 's/^/| /' "$ac_site_file" >&5 2372 . "$ac_site_file" \ 2373 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2374$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2375as_fn_error $? "failed to load site script $ac_site_file 2376See \`config.log' for more details" "$LINENO" 5; } 2377 fi 2378done 2379 2380if test -r "$cache_file"; then 2381 # Some versions of bash will fail to source /dev/null (special files 2382 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2383 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2384 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2385$as_echo "$as_me: loading cache $cache_file" >&6;} 2386 case $cache_file in 2387 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2388 *) . "./$cache_file";; 2389 esac 2390 fi 2391else 2392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2393$as_echo "$as_me: creating cache $cache_file" >&6;} 2394 >$cache_file 2395fi 2396 2397# Check that the precious variables saved in the cache have kept the same 2398# value. 2399ac_cache_corrupted=false 2400for ac_var in $ac_precious_vars; do 2401 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2402 eval ac_new_set=\$ac_env_${ac_var}_set 2403 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2404 eval ac_new_val=\$ac_env_${ac_var}_value 2405 case $ac_old_set,$ac_new_set in 2406 set,) 2407 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2408$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2409 ac_cache_corrupted=: ;; 2410 ,set) 2411 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2412$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2413 ac_cache_corrupted=: ;; 2414 ,);; 2415 *) 2416 if test "x$ac_old_val" != "x$ac_new_val"; then 2417 # differences in whitespace do not lead to failure. 2418 ac_old_val_w=`echo x $ac_old_val` 2419 ac_new_val_w=`echo x $ac_new_val` 2420 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2421 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2422$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2423 ac_cache_corrupted=: 2424 else 2425 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2426$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2427 eval $ac_var=\$ac_old_val 2428 fi 2429 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2430$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2432$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2433 fi;; 2434 esac 2435 # Pass precious variables to config.status. 2436 if test "$ac_new_set" = set; then 2437 case $ac_new_val in 2438 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2439 *) ac_arg=$ac_var=$ac_new_val ;; 2440 esac 2441 case " $ac_configure_args " in 2442 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2443 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2444 esac 2445 fi 2446done 2447if $ac_cache_corrupted; then 2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2449$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2451$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2452 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2453fi 2454## -------------------- ## 2455## Main body of script. ## 2456## -------------------- ## 2457 2458ac_ext=c 2459ac_cpp='$CPP $CPPFLAGS' 2460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2462ac_compiler_gnu=$ac_cv_c_compiler_gnu 2463 2464 2465 2466ac_aux_dir= 2467for ac_dir in build-aux "$srcdir"/build-aux; do 2468 if test -f "$ac_dir/install-sh"; then 2469 ac_aux_dir=$ac_dir 2470 ac_install_sh="$ac_aux_dir/install-sh -c" 2471 break 2472 elif test -f "$ac_dir/install.sh"; then 2473 ac_aux_dir=$ac_dir 2474 ac_install_sh="$ac_aux_dir/install.sh -c" 2475 break 2476 elif test -f "$ac_dir/shtool"; then 2477 ac_aux_dir=$ac_dir 2478 ac_install_sh="$ac_aux_dir/shtool install -c" 2479 break 2480 fi 2481done 2482if test -z "$ac_aux_dir"; then 2483 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2484fi 2485 2486# These three variables are undocumented and unsupported, 2487# and are intended to be withdrawn in a future Autoconf release. 2488# They can cause serious problems if a builder's source tree is in a directory 2489# whose full name contains unusual characters. 2490ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2491ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2492ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2493 2494 2495ac_config_headers="$ac_config_headers config.h" 2496 2497 2498 2499 2500am__api_version='1.15' 2501 2502# Find a good install program. We prefer a C program (faster), 2503# so one script is as good as another. But avoid the broken or 2504# incompatible versions: 2505# SysV /etc/install, /usr/sbin/install 2506# SunOS /usr/etc/install 2507# IRIX /sbin/install 2508# AIX /bin/install 2509# AmigaOS /C/install, which installs bootblocks on floppy discs 2510# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2511# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2512# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2513# OS/2's system install, which has a completely different semantic 2514# ./install, which can be erroneously created by make from ./install.sh. 2515# Reject install programs that cannot install multiple files. 2516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2517$as_echo_n "checking for a BSD-compatible install... " >&6; } 2518if test -z "$INSTALL"; then 2519if ${ac_cv_path_install+:} false; then : 2520 $as_echo_n "(cached) " >&6 2521else 2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2523for as_dir in $PATH 2524do 2525 IFS=$as_save_IFS 2526 test -z "$as_dir" && as_dir=. 2527 # Account for people who put trailing slashes in PATH elements. 2528case $as_dir/ in #(( 2529 ./ | .// | /[cC]/* | \ 2530 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2531 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2532 /usr/ucb/* ) ;; 2533 *) 2534 # OSF1 and SCO ODT 3.0 have their own names for install. 2535 # Don't use installbsd from OSF since it installs stuff as root 2536 # by default. 2537 for ac_prog in ginstall scoinst install; do 2538 for ac_exec_ext in '' $ac_executable_extensions; do 2539 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2540 if test $ac_prog = install && 2541 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2542 # AIX install. It has an incompatible calling convention. 2543 : 2544 elif test $ac_prog = install && 2545 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2546 # program-specific install script used by HP pwplus--don't use. 2547 : 2548 else 2549 rm -rf conftest.one conftest.two conftest.dir 2550 echo one > conftest.one 2551 echo two > conftest.two 2552 mkdir conftest.dir 2553 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2554 test -s conftest.one && test -s conftest.two && 2555 test -s conftest.dir/conftest.one && 2556 test -s conftest.dir/conftest.two 2557 then 2558 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2559 break 3 2560 fi 2561 fi 2562 fi 2563 done 2564 done 2565 ;; 2566esac 2567 2568 done 2569IFS=$as_save_IFS 2570 2571rm -rf conftest.one conftest.two conftest.dir 2572 2573fi 2574 if test "${ac_cv_path_install+set}" = set; then 2575 INSTALL=$ac_cv_path_install 2576 else 2577 # As a last resort, use the slow shell script. Don't cache a 2578 # value for INSTALL within a source directory, because that will 2579 # break other packages using the cache if that directory is 2580 # removed, or if the value is a relative name. 2581 INSTALL=$ac_install_sh 2582 fi 2583fi 2584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2585$as_echo "$INSTALL" >&6; } 2586 2587# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2588# It thinks the first close brace ends the variable substitution. 2589test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2590 2591test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2592 2593test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2594 2595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2596$as_echo_n "checking whether build environment is sane... " >&6; } 2597# Reject unsafe characters in $srcdir or the absolute working directory 2598# name. Accept space and tab only in the latter. 2599am_lf=' 2600' 2601case `pwd` in 2602 *[\\\"\#\$\&\'\`$am_lf]*) 2603 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2604esac 2605case $srcdir in 2606 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2607 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2608esac 2609 2610# Do 'set' in a subshell so we don't clobber the current shell's 2611# arguments. Must try -L first in case configure is actually a 2612# symlink; some systems play weird games with the mod time of symlinks 2613# (eg FreeBSD returns the mod time of the symlink's containing 2614# directory). 2615if ( 2616 am_has_slept=no 2617 for am_try in 1 2; do 2618 echo "timestamp, slept: $am_has_slept" > conftest.file 2619 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2620 if test "$*" = "X"; then 2621 # -L didn't work. 2622 set X `ls -t "$srcdir/configure" conftest.file` 2623 fi 2624 if test "$*" != "X $srcdir/configure conftest.file" \ 2625 && test "$*" != "X conftest.file $srcdir/configure"; then 2626 2627 # If neither matched, then we have a broken ls. This can happen 2628 # if, for instance, CONFIG_SHELL is bash and it inherits a 2629 # broken ls alias from the environment. This has actually 2630 # happened. Such a system could not be considered "sane". 2631 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2632 alias in your environment" "$LINENO" 5 2633 fi 2634 if test "$2" = conftest.file || test $am_try -eq 2; then 2635 break 2636 fi 2637 # Just in case. 2638 sleep 1 2639 am_has_slept=yes 2640 done 2641 test "$2" = conftest.file 2642 ) 2643then 2644 # Ok. 2645 : 2646else 2647 as_fn_error $? "newly created file is older than distributed files! 2648Check your system clock" "$LINENO" 5 2649fi 2650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2651$as_echo "yes" >&6; } 2652# If we didn't sleep, we still need to ensure time stamps of config.status and 2653# generated files are strictly newer. 2654am_sleep_pid= 2655if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2656 ( sleep 1 ) & 2657 am_sleep_pid=$! 2658fi 2659 2660rm -f conftest.file 2661 2662test "$program_prefix" != NONE && 2663 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2664# Use a double $ so make ignores it. 2665test "$program_suffix" != NONE && 2666 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2667# Double any \ or $. 2668# By default was `s,x,x', remove it if useless. 2669ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2670program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2671 2672# Expand $ac_aux_dir to an absolute path. 2673am_aux_dir=`cd "$ac_aux_dir" && pwd` 2674 2675if test x"${MISSING+set}" != xset; then 2676 case $am_aux_dir in 2677 *\ * | *\ *) 2678 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2679 *) 2680 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2681 esac 2682fi 2683# Use eval to expand $SHELL 2684if eval "$MISSING --is-lightweight"; then 2685 am_missing_run="$MISSING " 2686else 2687 am_missing_run= 2688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2689$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2690fi 2691 2692if test x"${install_sh+set}" != xset; then 2693 case $am_aux_dir in 2694 *\ * | *\ *) 2695 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2696 *) 2697 install_sh="\${SHELL} $am_aux_dir/install-sh" 2698 esac 2699fi 2700 2701# Installed binaries are usually stripped using 'strip' when the user 2702# run "make install-strip". However 'strip' might not be the right 2703# tool to use in cross-compilation environments, therefore Automake 2704# will honor the 'STRIP' environment variable to overrule this program. 2705if test "$cross_compiling" != no; then 2706 if test -n "$ac_tool_prefix"; then 2707 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2708set dummy ${ac_tool_prefix}strip; ac_word=$2 2709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2710$as_echo_n "checking for $ac_word... " >&6; } 2711if ${ac_cv_prog_STRIP+:} false; then : 2712 $as_echo_n "(cached) " >&6 2713else 2714 if test -n "$STRIP"; then 2715 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2716else 2717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2718for as_dir in $PATH 2719do 2720 IFS=$as_save_IFS 2721 test -z "$as_dir" && as_dir=. 2722 for ac_exec_ext in '' $ac_executable_extensions; do 2723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2724 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2726 break 2 2727 fi 2728done 2729 done 2730IFS=$as_save_IFS 2731 2732fi 2733fi 2734STRIP=$ac_cv_prog_STRIP 2735if test -n "$STRIP"; then 2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2737$as_echo "$STRIP" >&6; } 2738else 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2740$as_echo "no" >&6; } 2741fi 2742 2743 2744fi 2745if test -z "$ac_cv_prog_STRIP"; then 2746 ac_ct_STRIP=$STRIP 2747 # Extract the first word of "strip", so it can be a program name with args. 2748set dummy strip; ac_word=$2 2749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2750$as_echo_n "checking for $ac_word... " >&6; } 2751if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2752 $as_echo_n "(cached) " >&6 2753else 2754 if test -n "$ac_ct_STRIP"; then 2755 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2756else 2757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2758for as_dir in $PATH 2759do 2760 IFS=$as_save_IFS 2761 test -z "$as_dir" && as_dir=. 2762 for ac_exec_ext in '' $ac_executable_extensions; do 2763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2764 ac_cv_prog_ac_ct_STRIP="strip" 2765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2766 break 2 2767 fi 2768done 2769 done 2770IFS=$as_save_IFS 2771 2772fi 2773fi 2774ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2775if test -n "$ac_ct_STRIP"; then 2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2777$as_echo "$ac_ct_STRIP" >&6; } 2778else 2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2780$as_echo "no" >&6; } 2781fi 2782 2783 if test "x$ac_ct_STRIP" = x; then 2784 STRIP=":" 2785 else 2786 case $cross_compiling:$ac_tool_warned in 2787yes:) 2788{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2789$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2790ac_tool_warned=yes ;; 2791esac 2792 STRIP=$ac_ct_STRIP 2793 fi 2794else 2795 STRIP="$ac_cv_prog_STRIP" 2796fi 2797 2798fi 2799INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2800 2801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2802$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2803if test -z "$MKDIR_P"; then 2804 if ${ac_cv_path_mkdir+:} false; then : 2805 $as_echo_n "(cached) " >&6 2806else 2807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2808for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2809do 2810 IFS=$as_save_IFS 2811 test -z "$as_dir" && as_dir=. 2812 for ac_prog in mkdir gmkdir; do 2813 for ac_exec_ext in '' $ac_executable_extensions; do 2814 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2815 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2816 'mkdir (GNU coreutils) '* | \ 2817 'mkdir (coreutils) '* | \ 2818 'mkdir (fileutils) '4.1*) 2819 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2820 break 3;; 2821 esac 2822 done 2823 done 2824 done 2825IFS=$as_save_IFS 2826 2827fi 2828 2829 test -d ./--version && rmdir ./--version 2830 if test "${ac_cv_path_mkdir+set}" = set; then 2831 MKDIR_P="$ac_cv_path_mkdir -p" 2832 else 2833 # As a last resort, use the slow shell script. Don't cache a 2834 # value for MKDIR_P within a source directory, because that will 2835 # break other packages using the cache if that directory is 2836 # removed, or if the value is a relative name. 2837 MKDIR_P="$ac_install_sh -d" 2838 fi 2839fi 2840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2841$as_echo "$MKDIR_P" >&6; } 2842 2843for ac_prog in gawk mawk nawk awk 2844do 2845 # Extract the first word of "$ac_prog", so it can be a program name with args. 2846set dummy $ac_prog; ac_word=$2 2847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2848$as_echo_n "checking for $ac_word... " >&6; } 2849if ${ac_cv_prog_AWK+:} false; then : 2850 $as_echo_n "(cached) " >&6 2851else 2852 if test -n "$AWK"; then 2853 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2854else 2855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2856for as_dir in $PATH 2857do 2858 IFS=$as_save_IFS 2859 test -z "$as_dir" && as_dir=. 2860 for ac_exec_ext in '' $ac_executable_extensions; do 2861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2862 ac_cv_prog_AWK="$ac_prog" 2863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2864 break 2 2865 fi 2866done 2867 done 2868IFS=$as_save_IFS 2869 2870fi 2871fi 2872AWK=$ac_cv_prog_AWK 2873if test -n "$AWK"; then 2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2875$as_echo "$AWK" >&6; } 2876else 2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2878$as_echo "no" >&6; } 2879fi 2880 2881 2882 test -n "$AWK" && break 2883done 2884 2885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2886$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2887set x ${MAKE-make} 2888ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2889if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2890 $as_echo_n "(cached) " >&6 2891else 2892 cat >conftest.make <<\_ACEOF 2893SHELL = /bin/sh 2894all: 2895 @echo '@@@%%%=$(MAKE)=@@@%%%' 2896_ACEOF 2897# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2898case `${MAKE-make} -f conftest.make 2>/dev/null` in 2899 *@@@%%%=?*=@@@%%%*) 2900 eval ac_cv_prog_make_${ac_make}_set=yes;; 2901 *) 2902 eval ac_cv_prog_make_${ac_make}_set=no;; 2903esac 2904rm -f conftest.make 2905fi 2906if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2908$as_echo "yes" >&6; } 2909 SET_MAKE= 2910else 2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2912$as_echo "no" >&6; } 2913 SET_MAKE="MAKE=${MAKE-make}" 2914fi 2915 2916rm -rf .tst 2>/dev/null 2917mkdir .tst 2>/dev/null 2918if test -d .tst; then 2919 am__leading_dot=. 2920else 2921 am__leading_dot=_ 2922fi 2923rmdir .tst 2>/dev/null 2924 2925# Check whether --enable-silent-rules was given. 2926if test "${enable_silent_rules+set}" = set; then : 2927 enableval=$enable_silent_rules; 2928fi 2929 2930case $enable_silent_rules in # ((( 2931 yes) AM_DEFAULT_VERBOSITY=0;; 2932 no) AM_DEFAULT_VERBOSITY=1;; 2933 *) AM_DEFAULT_VERBOSITY=1;; 2934esac 2935am_make=${MAKE-make} 2936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2937$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2938if ${am_cv_make_support_nested_variables+:} false; then : 2939 $as_echo_n "(cached) " >&6 2940else 2941 if $as_echo 'TRUE=$(BAR$(V)) 2942BAR0=false 2943BAR1=true 2944V=1 2945am__doit: 2946 @$(TRUE) 2947.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2948 am_cv_make_support_nested_variables=yes 2949else 2950 am_cv_make_support_nested_variables=no 2951fi 2952fi 2953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2954$as_echo "$am_cv_make_support_nested_variables" >&6; } 2955if test $am_cv_make_support_nested_variables = yes; then 2956 AM_V='$(V)' 2957 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2958else 2959 AM_V=$AM_DEFAULT_VERBOSITY 2960 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2961fi 2962AM_BACKSLASH='\' 2963 2964if test "`cd $srcdir && pwd`" != "`pwd`"; then 2965 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2966 # is not polluted with repeated "-I." 2967 am__isrc=' -I$(srcdir)' 2968 # test to see if srcdir already configured 2969 if test -f $srcdir/config.status; then 2970 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2971 fi 2972fi 2973 2974# test whether we have cygpath 2975if test -z "$CYGPATH_W"; then 2976 if (cygpath --version) >/dev/null 2>/dev/null; then 2977 CYGPATH_W='cygpath -w' 2978 else 2979 CYGPATH_W=echo 2980 fi 2981fi 2982 2983 2984# Define the identity of the package. 2985 PACKAGE='easytag' 2986 VERSION='2.4.3' 2987 2988 2989# Some tools Automake needs. 2990 2991ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2992 2993 2994AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2995 2996 2997AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2998 2999 3000AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3001 3002 3003MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3004 3005# For better backward compatibility. To be removed once Automake 1.9.x 3006# dies out for good. For more background, see: 3007# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3008# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3009mkdir_p='$(MKDIR_P)' 3010 3011# We need awk for the "check" target (and possibly the TAP driver). The 3012# system "awk" is bad on some platforms. 3013# Always define AMTAR for backward compatibility. Yes, it's still used 3014# in the wild :-( We should find a proper way to deprecate it ... 3015AMTAR='$${TAR-tar}' 3016 3017 3018# We'll loop over all known methods to create a tar archive until one works. 3019_am_tools='gnutar pax cpio none' 3020 3021am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3022 3023 3024 3025 3026 3027 3028# POSIX will say in a future version that running "rm -f" with no argument 3029# is OK; and we want to be able to make that assumption in our Makefile 3030# recipes. So use an aggressive probe to check that the usage we want is 3031# actually supported "in the wild" to an acceptable degree. 3032# See automake bug#10828. 3033# To make any issue more visible, cause the running configure to be aborted 3034# by default if the 'rm' program in use doesn't match our expectations; the 3035# user can still override this though. 3036if rm -f && rm -fr && rm -rf; then : OK; else 3037 cat >&2 <<'END' 3038Oops! 3039 3040Your 'rm' program seems unable to run without file operands specified 3041on the command line, even when the '-f' option is present. This is contrary 3042to the behaviour of most rm programs out there, and not conforming with 3043the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3044 3045Please tell bug-automake@gnu.org about your system, including the value 3046of your $PATH and any error possibly output before this message. This 3047can help us improve future automake versions. 3048 3049END 3050 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3051 echo 'Configuration will proceed anyway, since you have set the' >&2 3052 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3053 echo >&2 3054 else 3055 cat >&2 <<'END' 3056Aborting the configuration process, to ensure you take notice of the issue. 3057 3058You can download and install GNU coreutils to get an 'rm' implementation 3059that behaves properly: <http://www.gnu.org/software/coreutils/>. 3060 3061If you want to complete the configuration process using your problematic 3062'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3063to "yes", and re-run configure. 3064 3065END 3066 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3067 fi 3068fi 3069 3070 3071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3072$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3073 # Check whether --enable-maintainer-mode was given. 3074if test "${enable_maintainer_mode+set}" = set; then : 3075 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3076else 3077 USE_MAINTAINER_MODE=yes 3078fi 3079 3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3081$as_echo "$USE_MAINTAINER_MODE" >&6; } 3082 if test $USE_MAINTAINER_MODE = yes; then 3083 MAINTAINER_MODE_TRUE= 3084 MAINTAINER_MODE_FALSE='#' 3085else 3086 MAINTAINER_MODE_TRUE='#' 3087 MAINTAINER_MODE_FALSE= 3088fi 3089 3090 MAINT=$MAINTAINER_MODE_TRUE 3091 3092 3093# Check whether --enable-silent-rules was given. 3094if test "${enable_silent_rules+set}" = set; then : 3095 enableval=$enable_silent_rules; 3096fi 3097 3098case $enable_silent_rules in # ((( 3099 yes) AM_DEFAULT_VERBOSITY=0;; 3100 no) AM_DEFAULT_VERBOSITY=1;; 3101 *) AM_DEFAULT_VERBOSITY=0;; 3102esac 3103am_make=${MAKE-make} 3104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3105$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3106if ${am_cv_make_support_nested_variables+:} false; then : 3107 $as_echo_n "(cached) " >&6 3108else 3109 if $as_echo 'TRUE=$(BAR$(V)) 3110BAR0=false 3111BAR1=true 3112V=1 3113am__doit: 3114 @$(TRUE) 3115.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3116 am_cv_make_support_nested_variables=yes 3117else 3118 am_cv_make_support_nested_variables=no 3119fi 3120fi 3121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3122$as_echo "$am_cv_make_support_nested_variables" >&6; } 3123if test $am_cv_make_support_nested_variables = yes; then 3124 AM_V='$(V)' 3125 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3126else 3127 AM_V=$AM_DEFAULT_VERBOSITY 3128 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3129fi 3130AM_BACKSLASH='\' 3131 3132 3133 3134case `pwd` in 3135 *\ * | *\ *) 3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3137$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3138esac 3139 3140 3141 3142macro_version='2.4.6' 3143macro_revision='2.4.6' 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157ltmain=$ac_aux_dir/ltmain.sh 3158 3159# Make sure we can run config.sub. 3160$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3161 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3162 3163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3164$as_echo_n "checking build system type... " >&6; } 3165if ${ac_cv_build+:} false; then : 3166 $as_echo_n "(cached) " >&6 3167else 3168 ac_build_alias=$build_alias 3169test "x$ac_build_alias" = x && 3170 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3171test "x$ac_build_alias" = x && 3172 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3173ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3174 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3175 3176fi 3177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3178$as_echo "$ac_cv_build" >&6; } 3179case $ac_cv_build in 3180*-*-*) ;; 3181*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3182esac 3183build=$ac_cv_build 3184ac_save_IFS=$IFS; IFS='-' 3185set x $ac_cv_build 3186shift 3187build_cpu=$1 3188build_vendor=$2 3189shift; shift 3190# Remember, the first character of IFS is used to create $*, 3191# except with old shells: 3192build_os=$* 3193IFS=$ac_save_IFS 3194case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3195 3196 3197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3198$as_echo_n "checking host system type... " >&6; } 3199if ${ac_cv_host+:} false; then : 3200 $as_echo_n "(cached) " >&6 3201else 3202 if test "x$host_alias" = x; then 3203 ac_cv_host=$ac_cv_build 3204else 3205 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3206 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3207fi 3208 3209fi 3210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3211$as_echo "$ac_cv_host" >&6; } 3212case $ac_cv_host in 3213*-*-*) ;; 3214*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3215esac 3216host=$ac_cv_host 3217ac_save_IFS=$IFS; IFS='-' 3218set x $ac_cv_host 3219shift 3220host_cpu=$1 3221host_vendor=$2 3222shift; shift 3223# Remember, the first character of IFS is used to create $*, 3224# except with old shells: 3225host_os=$* 3226IFS=$ac_save_IFS 3227case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3228 3229 3230# Backslashify metacharacters that are still active within 3231# double-quoted strings. 3232sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3233 3234# Same as above, but do not quote variable references. 3235double_quote_subst='s/\(["`\\]\)/\\\1/g' 3236 3237# Sed substitution to delay expansion of an escaped shell variable in a 3238# double_quote_subst'ed string. 3239delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3240 3241# Sed substitution to delay expansion of an escaped single quote. 3242delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3243 3244# Sed substitution to avoid accidental globbing in evaled expressions 3245no_glob_subst='s/\*/\\\*/g' 3246 3247ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3248ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3249ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3250 3251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3252$as_echo_n "checking how to print strings... " >&6; } 3253# Test print first, because it will be a builtin if present. 3254if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3255 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3256 ECHO='print -r --' 3257elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3258 ECHO='printf %s\n' 3259else 3260 # Use this function as a fallback that always works. 3261 func_fallback_echo () 3262 { 3263 eval 'cat <<_LTECHO_EOF 3264$1 3265_LTECHO_EOF' 3266 } 3267 ECHO='func_fallback_echo' 3268fi 3269 3270# func_echo_all arg... 3271# Invoke $ECHO with all args, space-separated. 3272func_echo_all () 3273{ 3274 $ECHO "" 3275} 3276 3277case $ECHO in 3278 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3279$as_echo "printf" >&6; } ;; 3280 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3281$as_echo "print -r" >&6; } ;; 3282 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3283$as_echo "cat" >&6; } ;; 3284esac 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299DEPDIR="${am__leading_dot}deps" 3300 3301ac_config_commands="$ac_config_commands depfiles" 3302 3303 3304am_make=${MAKE-make} 3305cat > confinc << 'END' 3306am__doit: 3307 @echo this is the am__doit target 3308.PHONY: am__doit 3309END 3310# If we don't find an include directive, just comment out the code. 3311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3312$as_echo_n "checking for style of include used by $am_make... " >&6; } 3313am__include="#" 3314am__quote= 3315_am_result=none 3316# First try GNU make style include. 3317echo "include confinc" > confmf 3318# Ignore all kinds of additional output from 'make'. 3319case `$am_make -s -f confmf 2> /dev/null` in #( 3320*the\ am__doit\ target*) 3321 am__include=include 3322 am__quote= 3323 _am_result=GNU 3324 ;; 3325esac 3326# Now try BSD make style include. 3327if test "$am__include" = "#"; then 3328 echo '.include "confinc"' > confmf 3329 case `$am_make -s -f confmf 2> /dev/null` in #( 3330 *the\ am__doit\ target*) 3331 am__include=.include 3332 am__quote="\"" 3333 _am_result=BSD 3334 ;; 3335 esac 3336fi 3337 3338 3339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3340$as_echo "$_am_result" >&6; } 3341rm -f confinc confmf 3342 3343# Check whether --enable-dependency-tracking was given. 3344if test "${enable_dependency_tracking+set}" = set; then : 3345 enableval=$enable_dependency_tracking; 3346fi 3347 3348if test "x$enable_dependency_tracking" != xno; then 3349 am_depcomp="$ac_aux_dir/depcomp" 3350 AMDEPBACKSLASH='\' 3351 am__nodep='_no' 3352fi 3353 if test "x$enable_dependency_tracking" != xno; then 3354 AMDEP_TRUE= 3355 AMDEP_FALSE='#' 3356else 3357 AMDEP_TRUE='#' 3358 AMDEP_FALSE= 3359fi 3360 3361 3362ac_ext=c 3363ac_cpp='$CPP $CPPFLAGS' 3364ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3365ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3366ac_compiler_gnu=$ac_cv_c_compiler_gnu 3367if test -n "$ac_tool_prefix"; then 3368 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3369set dummy ${ac_tool_prefix}gcc; ac_word=$2 3370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3371$as_echo_n "checking for $ac_word... " >&6; } 3372if ${ac_cv_prog_CC+:} false; then : 3373 $as_echo_n "(cached) " >&6 3374else 3375 if test -n "$CC"; then 3376 ac_cv_prog_CC="$CC" # Let the user override the test. 3377else 3378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3379for as_dir in $PATH 3380do 3381 IFS=$as_save_IFS 3382 test -z "$as_dir" && as_dir=. 3383 for ac_exec_ext in '' $ac_executable_extensions; do 3384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3385 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3387 break 2 3388 fi 3389done 3390 done 3391IFS=$as_save_IFS 3392 3393fi 3394fi 3395CC=$ac_cv_prog_CC 3396if test -n "$CC"; then 3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3398$as_echo "$CC" >&6; } 3399else 3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3401$as_echo "no" >&6; } 3402fi 3403 3404 3405fi 3406if test -z "$ac_cv_prog_CC"; then 3407 ac_ct_CC=$CC 3408 # Extract the first word of "gcc", so it can be a program name with args. 3409set dummy gcc; ac_word=$2 3410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3411$as_echo_n "checking for $ac_word... " >&6; } 3412if ${ac_cv_prog_ac_ct_CC+:} false; then : 3413 $as_echo_n "(cached) " >&6 3414else 3415 if test -n "$ac_ct_CC"; then 3416 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3417else 3418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3419for as_dir in $PATH 3420do 3421 IFS=$as_save_IFS 3422 test -z "$as_dir" && as_dir=. 3423 for ac_exec_ext in '' $ac_executable_extensions; do 3424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3425 ac_cv_prog_ac_ct_CC="gcc" 3426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3427 break 2 3428 fi 3429done 3430 done 3431IFS=$as_save_IFS 3432 3433fi 3434fi 3435ac_ct_CC=$ac_cv_prog_ac_ct_CC 3436if test -n "$ac_ct_CC"; then 3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3438$as_echo "$ac_ct_CC" >&6; } 3439else 3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3441$as_echo "no" >&6; } 3442fi 3443 3444 if test "x$ac_ct_CC" = x; then 3445 CC="" 3446 else 3447 case $cross_compiling:$ac_tool_warned in 3448yes:) 3449{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3450$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3451ac_tool_warned=yes ;; 3452esac 3453 CC=$ac_ct_CC 3454 fi 3455else 3456 CC="$ac_cv_prog_CC" 3457fi 3458 3459if test -z "$CC"; then 3460 if test -n "$ac_tool_prefix"; then 3461 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3462set dummy ${ac_tool_prefix}cc; ac_word=$2 3463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3464$as_echo_n "checking for $ac_word... " >&6; } 3465if ${ac_cv_prog_CC+:} false; then : 3466 $as_echo_n "(cached) " >&6 3467else 3468 if test -n "$CC"; then 3469 ac_cv_prog_CC="$CC" # Let the user override the test. 3470else 3471as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3472for as_dir in $PATH 3473do 3474 IFS=$as_save_IFS 3475 test -z "$as_dir" && as_dir=. 3476 for ac_exec_ext in '' $ac_executable_extensions; do 3477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3478 ac_cv_prog_CC="${ac_tool_prefix}cc" 3479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3480 break 2 3481 fi 3482done 3483 done 3484IFS=$as_save_IFS 3485 3486fi 3487fi 3488CC=$ac_cv_prog_CC 3489if test -n "$CC"; then 3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3491$as_echo "$CC" >&6; } 3492else 3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3494$as_echo "no" >&6; } 3495fi 3496 3497 3498 fi 3499fi 3500if test -z "$CC"; then 3501 # Extract the first word of "cc", so it can be a program name with args. 3502set dummy cc; ac_word=$2 3503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3504$as_echo_n "checking for $ac_word... " >&6; } 3505if ${ac_cv_prog_CC+:} false; then : 3506 $as_echo_n "(cached) " >&6 3507else 3508 if test -n "$CC"; then 3509 ac_cv_prog_CC="$CC" # Let the user override the test. 3510else 3511 ac_prog_rejected=no 3512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3513for as_dir in $PATH 3514do 3515 IFS=$as_save_IFS 3516 test -z "$as_dir" && as_dir=. 3517 for ac_exec_ext in '' $ac_executable_extensions; do 3518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3519 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3520 ac_prog_rejected=yes 3521 continue 3522 fi 3523 ac_cv_prog_CC="cc" 3524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3525 break 2 3526 fi 3527done 3528 done 3529IFS=$as_save_IFS 3530 3531if test $ac_prog_rejected = yes; then 3532 # We found a bogon in the path, so make sure we never use it. 3533 set dummy $ac_cv_prog_CC 3534 shift 3535 if test $# != 0; then 3536 # We chose a different compiler from the bogus one. 3537 # However, it has the same basename, so the bogon will be chosen 3538 # first if we set CC to just the basename; use the full file name. 3539 shift 3540 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3541 fi 3542fi 3543fi 3544fi 3545CC=$ac_cv_prog_CC 3546if test -n "$CC"; then 3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3548$as_echo "$CC" >&6; } 3549else 3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3551$as_echo "no" >&6; } 3552fi 3553 3554 3555fi 3556if test -z "$CC"; then 3557 if test -n "$ac_tool_prefix"; then 3558 for ac_prog in cl.exe 3559 do 3560 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3561set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3563$as_echo_n "checking for $ac_word... " >&6; } 3564if ${ac_cv_prog_CC+:} false; then : 3565 $as_echo_n "(cached) " >&6 3566else 3567 if test -n "$CC"; then 3568 ac_cv_prog_CC="$CC" # Let the user override the test. 3569else 3570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3571for as_dir in $PATH 3572do 3573 IFS=$as_save_IFS 3574 test -z "$as_dir" && as_dir=. 3575 for ac_exec_ext in '' $ac_executable_extensions; do 3576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3577 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3579 break 2 3580 fi 3581done 3582 done 3583IFS=$as_save_IFS 3584 3585fi 3586fi 3587CC=$ac_cv_prog_CC 3588if test -n "$CC"; then 3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3590$as_echo "$CC" >&6; } 3591else 3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3593$as_echo "no" >&6; } 3594fi 3595 3596 3597 test -n "$CC" && break 3598 done 3599fi 3600if test -z "$CC"; then 3601 ac_ct_CC=$CC 3602 for ac_prog in cl.exe 3603do 3604 # Extract the first word of "$ac_prog", so it can be a program name with args. 3605set dummy $ac_prog; ac_word=$2 3606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3607$as_echo_n "checking for $ac_word... " >&6; } 3608if ${ac_cv_prog_ac_ct_CC+:} false; then : 3609 $as_echo_n "(cached) " >&6 3610else 3611 if test -n "$ac_ct_CC"; then 3612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3613else 3614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3615for as_dir in $PATH 3616do 3617 IFS=$as_save_IFS 3618 test -z "$as_dir" && as_dir=. 3619 for ac_exec_ext in '' $ac_executable_extensions; do 3620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3621 ac_cv_prog_ac_ct_CC="$ac_prog" 3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3623 break 2 3624 fi 3625done 3626 done 3627IFS=$as_save_IFS 3628 3629fi 3630fi 3631ac_ct_CC=$ac_cv_prog_ac_ct_CC 3632if test -n "$ac_ct_CC"; then 3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3634$as_echo "$ac_ct_CC" >&6; } 3635else 3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3637$as_echo "no" >&6; } 3638fi 3639 3640 3641 test -n "$ac_ct_CC" && break 3642done 3643 3644 if test "x$ac_ct_CC" = x; then 3645 CC="" 3646 else 3647 case $cross_compiling:$ac_tool_warned in 3648yes:) 3649{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3650$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3651ac_tool_warned=yes ;; 3652esac 3653 CC=$ac_ct_CC 3654 fi 3655fi 3656 3657fi 3658 3659 3660test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3661$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3662as_fn_error $? "no acceptable C compiler found in \$PATH 3663See \`config.log' for more details" "$LINENO" 5; } 3664 3665# Provide some information about the compiler. 3666$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3667set X $ac_compile 3668ac_compiler=$2 3669for ac_option in --version -v -V -qversion; do 3670 { { ac_try="$ac_compiler $ac_option >&5" 3671case "(($ac_try" in 3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3673 *) ac_try_echo=$ac_try;; 3674esac 3675eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3676$as_echo "$ac_try_echo"; } >&5 3677 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3678 ac_status=$? 3679 if test -s conftest.err; then 3680 sed '10a\ 3681... rest of stderr output deleted ... 3682 10q' conftest.err >conftest.er1 3683 cat conftest.er1 >&5 3684 fi 3685 rm -f conftest.er1 conftest.err 3686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3687 test $ac_status = 0; } 3688done 3689 3690cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3691/* end confdefs.h. */ 3692 3693int 3694main () 3695{ 3696 3697 ; 3698 return 0; 3699} 3700_ACEOF 3701ac_clean_files_save=$ac_clean_files 3702ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3703# Try to create an executable without -o first, disregard a.out. 3704# It will help us diagnose broken compilers, and finding out an intuition 3705# of exeext. 3706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3707$as_echo_n "checking whether the C compiler works... " >&6; } 3708ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3709 3710# The possible output files: 3711ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3712 3713ac_rmfiles= 3714for ac_file in $ac_files 3715do 3716 case $ac_file in 3717 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3718 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3719 esac 3720done 3721rm -f $ac_rmfiles 3722 3723if { { ac_try="$ac_link_default" 3724case "(($ac_try" in 3725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3726 *) ac_try_echo=$ac_try;; 3727esac 3728eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3729$as_echo "$ac_try_echo"; } >&5 3730 (eval "$ac_link_default") 2>&5 3731 ac_status=$? 3732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3733 test $ac_status = 0; }; then : 3734 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3735# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3736# in a Makefile. We should not override ac_cv_exeext if it was cached, 3737# so that the user can short-circuit this test for compilers unknown to 3738# Autoconf. 3739for ac_file in $ac_files '' 3740do 3741 test -f "$ac_file" || continue 3742 case $ac_file in 3743 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3744 ;; 3745 [ab].out ) 3746 # We found the default executable, but exeext='' is most 3747 # certainly right. 3748 break;; 3749 *.* ) 3750 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3751 then :; else 3752 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3753 fi 3754 # We set ac_cv_exeext here because the later test for it is not 3755 # safe: cross compilers may not add the suffix if given an `-o' 3756 # argument, so we may need to know it at that point already. 3757 # Even if this section looks crufty: it has the advantage of 3758 # actually working. 3759 break;; 3760 * ) 3761 break;; 3762 esac 3763done 3764test "$ac_cv_exeext" = no && ac_cv_exeext= 3765 3766else 3767 ac_file='' 3768fi 3769if test -z "$ac_file"; then : 3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3771$as_echo "no" >&6; } 3772$as_echo "$as_me: failed program was:" >&5 3773sed 's/^/| /' conftest.$ac_ext >&5 3774 3775{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3776$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3777as_fn_error 77 "C compiler cannot create executables 3778See \`config.log' for more details" "$LINENO" 5; } 3779else 3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3781$as_echo "yes" >&6; } 3782fi 3783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3784$as_echo_n "checking for C compiler default output file name... " >&6; } 3785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3786$as_echo "$ac_file" >&6; } 3787ac_exeext=$ac_cv_exeext 3788 3789rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3790ac_clean_files=$ac_clean_files_save 3791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3792$as_echo_n "checking for suffix of executables... " >&6; } 3793if { { ac_try="$ac_link" 3794case "(($ac_try" in 3795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3796 *) ac_try_echo=$ac_try;; 3797esac 3798eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3799$as_echo "$ac_try_echo"; } >&5 3800 (eval "$ac_link") 2>&5 3801 ac_status=$? 3802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3803 test $ac_status = 0; }; then : 3804 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3805# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3806# work properly (i.e., refer to `conftest.exe'), while it won't with 3807# `rm'. 3808for ac_file in conftest.exe conftest conftest.*; do 3809 test -f "$ac_file" || continue 3810 case $ac_file in 3811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3812 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3813 break;; 3814 * ) break;; 3815 esac 3816done 3817else 3818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3819$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3820as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3821See \`config.log' for more details" "$LINENO" 5; } 3822fi 3823rm -f conftest conftest$ac_cv_exeext 3824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3825$as_echo "$ac_cv_exeext" >&6; } 3826 3827rm -f conftest.$ac_ext 3828EXEEXT=$ac_cv_exeext 3829ac_exeext=$EXEEXT 3830cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3831/* end confdefs.h. */ 3832#include <stdio.h> 3833int 3834main () 3835{ 3836FILE *f = fopen ("conftest.out", "w"); 3837 return ferror (f) || fclose (f) != 0; 3838 3839 ; 3840 return 0; 3841} 3842_ACEOF 3843ac_clean_files="$ac_clean_files conftest.out" 3844# Check that the compiler produces executables we can run. If not, either 3845# the compiler is broken, or we cross compile. 3846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3847$as_echo_n "checking whether we are cross compiling... " >&6; } 3848if test "$cross_compiling" != yes; then 3849 { { ac_try="$ac_link" 3850case "(($ac_try" in 3851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3852 *) ac_try_echo=$ac_try;; 3853esac 3854eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3855$as_echo "$ac_try_echo"; } >&5 3856 (eval "$ac_link") 2>&5 3857 ac_status=$? 3858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3859 test $ac_status = 0; } 3860 if { ac_try='./conftest$ac_cv_exeext' 3861 { { case "(($ac_try" in 3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3863 *) ac_try_echo=$ac_try;; 3864esac 3865eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3866$as_echo "$ac_try_echo"; } >&5 3867 (eval "$ac_try") 2>&5 3868 ac_status=$? 3869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3870 test $ac_status = 0; }; }; then 3871 cross_compiling=no 3872 else 3873 if test "$cross_compiling" = maybe; then 3874 cross_compiling=yes 3875 else 3876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3877$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3878as_fn_error $? "cannot run C compiled programs. 3879If you meant to cross compile, use \`--host'. 3880See \`config.log' for more details" "$LINENO" 5; } 3881 fi 3882 fi 3883fi 3884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3885$as_echo "$cross_compiling" >&6; } 3886 3887rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3888ac_clean_files=$ac_clean_files_save 3889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3890$as_echo_n "checking for suffix of object files... " >&6; } 3891if ${ac_cv_objext+:} false; then : 3892 $as_echo_n "(cached) " >&6 3893else 3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3895/* end confdefs.h. */ 3896 3897int 3898main () 3899{ 3900 3901 ; 3902 return 0; 3903} 3904_ACEOF 3905rm -f conftest.o conftest.obj 3906if { { ac_try="$ac_compile" 3907case "(($ac_try" in 3908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3909 *) ac_try_echo=$ac_try;; 3910esac 3911eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3912$as_echo "$ac_try_echo"; } >&5 3913 (eval "$ac_compile") 2>&5 3914 ac_status=$? 3915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3916 test $ac_status = 0; }; then : 3917 for ac_file in conftest.o conftest.obj conftest.*; do 3918 test -f "$ac_file" || continue; 3919 case $ac_file in 3920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3921 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3922 break;; 3923 esac 3924done 3925else 3926 $as_echo "$as_me: failed program was:" >&5 3927sed 's/^/| /' conftest.$ac_ext >&5 3928 3929{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3930$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3931as_fn_error $? "cannot compute suffix of object files: cannot compile 3932See \`config.log' for more details" "$LINENO" 5; } 3933fi 3934rm -f conftest.$ac_cv_objext conftest.$ac_ext 3935fi 3936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3937$as_echo "$ac_cv_objext" >&6; } 3938OBJEXT=$ac_cv_objext 3939ac_objext=$OBJEXT 3940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3941$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3942if ${ac_cv_c_compiler_gnu+:} false; then : 3943 $as_echo_n "(cached) " >&6 3944else 3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3946/* end confdefs.h. */ 3947 3948int 3949main () 3950{ 3951#ifndef __GNUC__ 3952 choke me 3953#endif 3954 3955 ; 3956 return 0; 3957} 3958_ACEOF 3959if ac_fn_c_try_compile "$LINENO"; then : 3960 ac_compiler_gnu=yes 3961else 3962 ac_compiler_gnu=no 3963fi 3964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3965ac_cv_c_compiler_gnu=$ac_compiler_gnu 3966 3967fi 3968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3969$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3970if test $ac_compiler_gnu = yes; then 3971 GCC=yes 3972else 3973 GCC= 3974fi 3975ac_test_CFLAGS=${CFLAGS+set} 3976ac_save_CFLAGS=$CFLAGS 3977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3978$as_echo_n "checking whether $CC accepts -g... " >&6; } 3979if ${ac_cv_prog_cc_g+:} false; then : 3980 $as_echo_n "(cached) " >&6 3981else 3982 ac_save_c_werror_flag=$ac_c_werror_flag 3983 ac_c_werror_flag=yes 3984 ac_cv_prog_cc_g=no 3985 CFLAGS="-g" 3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3987/* end confdefs.h. */ 3988 3989int 3990main () 3991{ 3992 3993 ; 3994 return 0; 3995} 3996_ACEOF 3997if ac_fn_c_try_compile "$LINENO"; then : 3998 ac_cv_prog_cc_g=yes 3999else 4000 CFLAGS="" 4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4002/* end confdefs.h. */ 4003 4004int 4005main () 4006{ 4007 4008 ; 4009 return 0; 4010} 4011_ACEOF 4012if ac_fn_c_try_compile "$LINENO"; then : 4013 4014else 4015 ac_c_werror_flag=$ac_save_c_werror_flag 4016 CFLAGS="-g" 4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4018/* end confdefs.h. */ 4019 4020int 4021main () 4022{ 4023 4024 ; 4025 return 0; 4026} 4027_ACEOF 4028if ac_fn_c_try_compile "$LINENO"; then : 4029 ac_cv_prog_cc_g=yes 4030fi 4031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4032fi 4033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4034fi 4035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4036 ac_c_werror_flag=$ac_save_c_werror_flag 4037fi 4038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4039$as_echo "$ac_cv_prog_cc_g" >&6; } 4040if test "$ac_test_CFLAGS" = set; then 4041 CFLAGS=$ac_save_CFLAGS 4042elif test $ac_cv_prog_cc_g = yes; then 4043 if test "$GCC" = yes; then 4044 CFLAGS="-g -O2" 4045 else 4046 CFLAGS="-g" 4047 fi 4048else 4049 if test "$GCC" = yes; then 4050 CFLAGS="-O2" 4051 else 4052 CFLAGS= 4053 fi 4054fi 4055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4056$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4057if ${ac_cv_prog_cc_c89+:} false; then : 4058 $as_echo_n "(cached) " >&6 4059else 4060 ac_cv_prog_cc_c89=no 4061ac_save_CC=$CC 4062cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4063/* end confdefs.h. */ 4064#include <stdarg.h> 4065#include <stdio.h> 4066struct stat; 4067/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4068struct buf { int x; }; 4069FILE * (*rcsopen) (struct buf *, struct stat *, int); 4070static char *e (p, i) 4071 char **p; 4072 int i; 4073{ 4074 return p[i]; 4075} 4076static char *f (char * (*g) (char **, int), char **p, ...) 4077{ 4078 char *s; 4079 va_list v; 4080 va_start (v,p); 4081 s = g (p, va_arg (v,int)); 4082 va_end (v); 4083 return s; 4084} 4085 4086/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4087 function prototypes and stuff, but not '\xHH' hex character constants. 4088 These don't provoke an error unfortunately, instead are silently treated 4089 as 'x'. The following induces an error, until -std is added to get 4090 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4091 array size at least. It's necessary to write '\x00'==0 to get something 4092 that's true only with -std. */ 4093int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4094 4095/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4096 inside strings and character constants. */ 4097#define FOO(x) 'x' 4098int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4099 4100int test (int i, double x); 4101struct s1 {int (*f) (int a);}; 4102struct s2 {int (*f) (double a);}; 4103int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4104int argc; 4105char **argv; 4106int 4107main () 4108{ 4109return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4110 ; 4111 return 0; 4112} 4113_ACEOF 4114for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4115 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4116do 4117 CC="$ac_save_CC $ac_arg" 4118 if ac_fn_c_try_compile "$LINENO"; then : 4119 ac_cv_prog_cc_c89=$ac_arg 4120fi 4121rm -f core conftest.err conftest.$ac_objext 4122 test "x$ac_cv_prog_cc_c89" != "xno" && break 4123done 4124rm -f conftest.$ac_ext 4125CC=$ac_save_CC 4126 4127fi 4128# AC_CACHE_VAL 4129case "x$ac_cv_prog_cc_c89" in 4130 x) 4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4132$as_echo "none needed" >&6; } ;; 4133 xno) 4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4135$as_echo "unsupported" >&6; } ;; 4136 *) 4137 CC="$CC $ac_cv_prog_cc_c89" 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4139$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4140esac 4141if test "x$ac_cv_prog_cc_c89" != xno; then : 4142 4143fi 4144 4145ac_ext=c 4146ac_cpp='$CPP $CPPFLAGS' 4147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4149ac_compiler_gnu=$ac_cv_c_compiler_gnu 4150 4151ac_ext=c 4152ac_cpp='$CPP $CPPFLAGS' 4153ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4154ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4155ac_compiler_gnu=$ac_cv_c_compiler_gnu 4156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4157$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4158if ${am_cv_prog_cc_c_o+:} false; then : 4159 $as_echo_n "(cached) " >&6 4160else 4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4162/* end confdefs.h. */ 4163 4164int 4165main () 4166{ 4167 4168 ; 4169 return 0; 4170} 4171_ACEOF 4172 # Make sure it works both with $CC and with simple cc. 4173 # Following AC_PROG_CC_C_O, we do the test twice because some 4174 # compilers refuse to overwrite an existing .o file with -o, 4175 # though they will create one. 4176 am_cv_prog_cc_c_o=yes 4177 for am_i in 1 2; do 4178 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4179 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4180 ac_status=$? 4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4182 (exit $ac_status); } \ 4183 && test -f conftest2.$ac_objext; then 4184 : OK 4185 else 4186 am_cv_prog_cc_c_o=no 4187 break 4188 fi 4189 done 4190 rm -f core conftest* 4191 unset am_i 4192fi 4193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4194$as_echo "$am_cv_prog_cc_c_o" >&6; } 4195if test "$am_cv_prog_cc_c_o" != yes; then 4196 # Losing compiler, so override with the script. 4197 # FIXME: It is wrong to rewrite CC. 4198 # But if we don't then we get into trouble of one sort or another. 4199 # A longer-term fix would be to have automake use am__CC in this case, 4200 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4201 CC="$am_aux_dir/compile $CC" 4202fi 4203ac_ext=c 4204ac_cpp='$CPP $CPPFLAGS' 4205ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4206ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4207ac_compiler_gnu=$ac_cv_c_compiler_gnu 4208 4209 4210depcc="$CC" am_compiler_list= 4211 4212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4213$as_echo_n "checking dependency style of $depcc... " >&6; } 4214if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4215 $as_echo_n "(cached) " >&6 4216else 4217 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4218 # We make a subdir and do the tests there. Otherwise we can end up 4219 # making bogus files that we don't know about and never remove. For 4220 # instance it was reported that on HP-UX the gcc test will end up 4221 # making a dummy file named 'D' -- because '-MD' means "put the output 4222 # in D". 4223 rm -rf conftest.dir 4224 mkdir conftest.dir 4225 # Copy depcomp to subdir because otherwise we won't find it if we're 4226 # using a relative directory. 4227 cp "$am_depcomp" conftest.dir 4228 cd conftest.dir 4229 # We will build objects and dependencies in a subdirectory because 4230 # it helps to detect inapplicable dependency modes. For instance 4231 # both Tru64's cc and ICC support -MD to output dependencies as a 4232 # side effect of compilation, but ICC will put the dependencies in 4233 # the current directory while Tru64 will put them in the object 4234 # directory. 4235 mkdir sub 4236 4237 am_cv_CC_dependencies_compiler_type=none 4238 if test "$am_compiler_list" = ""; then 4239 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4240 fi 4241 am__universal=false 4242 case " $depcc " in #( 4243 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4244 esac 4245 4246 for depmode in $am_compiler_list; do 4247 # Setup a source with many dependencies, because some compilers 4248 # like to wrap large dependency lists on column 80 (with \), and 4249 # we should not choose a depcomp mode which is confused by this. 4250 # 4251 # We need to recreate these files for each test, as the compiler may 4252 # overwrite some of them when testing with obscure command lines. 4253 # This happens at least with the AIX C compiler. 4254 : > sub/conftest.c 4255 for i in 1 2 3 4 5 6; do 4256 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4257 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4258 # Solaris 10 /bin/sh. 4259 echo '/* dummy */' > sub/conftst$i.h 4260 done 4261 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4262 4263 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4264 # mode. It turns out that the SunPro C++ compiler does not properly 4265 # handle '-M -o', and we need to detect this. Also, some Intel 4266 # versions had trouble with output in subdirs. 4267 am__obj=sub/conftest.${OBJEXT-o} 4268 am__minus_obj="-o $am__obj" 4269 case $depmode in 4270 gcc) 4271 # This depmode causes a compiler race in universal mode. 4272 test "$am__universal" = false || continue 4273 ;; 4274 nosideeffect) 4275 # After this tag, mechanisms are not by side-effect, so they'll 4276 # only be used when explicitly requested. 4277 if test "x$enable_dependency_tracking" = xyes; then 4278 continue 4279 else 4280 break 4281 fi 4282 ;; 4283 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4284 # This compiler won't grok '-c -o', but also, the minuso test has 4285 # not run yet. These depmodes are late enough in the game, and 4286 # so weak that their functioning should not be impacted. 4287 am__obj=conftest.${OBJEXT-o} 4288 am__minus_obj= 4289 ;; 4290 none) break ;; 4291 esac 4292 if depmode=$depmode \ 4293 source=sub/conftest.c object=$am__obj \ 4294 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4295 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4296 >/dev/null 2>conftest.err && 4297 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4298 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4299 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4300 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4301 # icc doesn't choke on unknown options, it will just issue warnings 4302 # or remarks (even with -Werror). So we grep stderr for any message 4303 # that says an option was ignored or not supported. 4304 # When given -MP, icc 7.0 and 7.1 complain thusly: 4305 # icc: Command line warning: ignoring option '-M'; no argument required 4306 # The diagnosis changed in icc 8.0: 4307 # icc: Command line remark: option '-MP' not supported 4308 if (grep 'ignoring option' conftest.err || 4309 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4310 am_cv_CC_dependencies_compiler_type=$depmode 4311 break 4312 fi 4313 fi 4314 done 4315 4316 cd .. 4317 rm -rf conftest.dir 4318else 4319 am_cv_CC_dependencies_compiler_type=none 4320fi 4321 4322fi 4323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4324$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4325CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4326 4327 if 4328 test "x$enable_dependency_tracking" != xno \ 4329 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4330 am__fastdepCC_TRUE= 4331 am__fastdepCC_FALSE='#' 4332else 4333 am__fastdepCC_TRUE='#' 4334 am__fastdepCC_FALSE= 4335fi 4336 4337 4338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4339$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4340if ${ac_cv_path_SED+:} false; then : 4341 $as_echo_n "(cached) " >&6 4342else 4343 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4344 for ac_i in 1 2 3 4 5 6 7; do 4345 ac_script="$ac_script$as_nl$ac_script" 4346 done 4347 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4348 { ac_script=; unset ac_script;} 4349 if test -z "$SED"; then 4350 ac_path_SED_found=false 4351 # Loop through the user's path and test for each of PROGNAME-LIST 4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4353for as_dir in $PATH 4354do 4355 IFS=$as_save_IFS 4356 test -z "$as_dir" && as_dir=. 4357 for ac_prog in sed gsed; do 4358 for ac_exec_ext in '' $ac_executable_extensions; do 4359 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4360 as_fn_executable_p "$ac_path_SED" || continue 4361# Check for GNU ac_path_SED and select it if it is found. 4362 # Check for GNU $ac_path_SED 4363case `"$ac_path_SED" --version 2>&1` in 4364*GNU*) 4365 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4366*) 4367 ac_count=0 4368 $as_echo_n 0123456789 >"conftest.in" 4369 while : 4370 do 4371 cat "conftest.in" "conftest.in" >"conftest.tmp" 4372 mv "conftest.tmp" "conftest.in" 4373 cp "conftest.in" "conftest.nl" 4374 $as_echo '' >> "conftest.nl" 4375 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4376 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4377 as_fn_arith $ac_count + 1 && ac_count=$as_val 4378 if test $ac_count -gt ${ac_path_SED_max-0}; then 4379 # Best one so far, save it but keep looking for a better one 4380 ac_cv_path_SED="$ac_path_SED" 4381 ac_path_SED_max=$ac_count 4382 fi 4383 # 10*(2^10) chars as input seems more than enough 4384 test $ac_count -gt 10 && break 4385 done 4386 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4387esac 4388 4389 $ac_path_SED_found && break 3 4390 done 4391 done 4392 done 4393IFS=$as_save_IFS 4394 if test -z "$ac_cv_path_SED"; then 4395 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4396 fi 4397else 4398 ac_cv_path_SED=$SED 4399fi 4400 4401fi 4402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4403$as_echo "$ac_cv_path_SED" >&6; } 4404 SED="$ac_cv_path_SED" 4405 rm -f conftest.sed 4406 4407test -z "$SED" && SED=sed 4408Xsed="$SED -e 1s/^X//" 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4421$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4422if ${ac_cv_path_GREP+:} false; then : 4423 $as_echo_n "(cached) " >&6 4424else 4425 if test -z "$GREP"; then 4426 ac_path_GREP_found=false 4427 # Loop through the user's path and test for each of PROGNAME-LIST 4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4429for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4430do 4431 IFS=$as_save_IFS 4432 test -z "$as_dir" && as_dir=. 4433 for ac_prog in grep ggrep; do 4434 for ac_exec_ext in '' $ac_executable_extensions; do 4435 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4436 as_fn_executable_p "$ac_path_GREP" || continue 4437# Check for GNU ac_path_GREP and select it if it is found. 4438 # Check for GNU $ac_path_GREP 4439case `"$ac_path_GREP" --version 2>&1` in 4440*GNU*) 4441 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4442*) 4443 ac_count=0 4444 $as_echo_n 0123456789 >"conftest.in" 4445 while : 4446 do 4447 cat "conftest.in" "conftest.in" >"conftest.tmp" 4448 mv "conftest.tmp" "conftest.in" 4449 cp "conftest.in" "conftest.nl" 4450 $as_echo 'GREP' >> "conftest.nl" 4451 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4452 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4453 as_fn_arith $ac_count + 1 && ac_count=$as_val 4454 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4455 # Best one so far, save it but keep looking for a better one 4456 ac_cv_path_GREP="$ac_path_GREP" 4457 ac_path_GREP_max=$ac_count 4458 fi 4459 # 10*(2^10) chars as input seems more than enough 4460 test $ac_count -gt 10 && break 4461 done 4462 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4463esac 4464 4465 $ac_path_GREP_found && break 3 4466 done 4467 done 4468 done 4469IFS=$as_save_IFS 4470 if test -z "$ac_cv_path_GREP"; then 4471 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4472 fi 4473else 4474 ac_cv_path_GREP=$GREP 4475fi 4476 4477fi 4478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4479$as_echo "$ac_cv_path_GREP" >&6; } 4480 GREP="$ac_cv_path_GREP" 4481 4482 4483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4484$as_echo_n "checking for egrep... " >&6; } 4485if ${ac_cv_path_EGREP+:} false; then : 4486 $as_echo_n "(cached) " >&6 4487else 4488 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4489 then ac_cv_path_EGREP="$GREP -E" 4490 else 4491 if test -z "$EGREP"; then 4492 ac_path_EGREP_found=false 4493 # Loop through the user's path and test for each of PROGNAME-LIST 4494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4495for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4496do 4497 IFS=$as_save_IFS 4498 test -z "$as_dir" && as_dir=. 4499 for ac_prog in egrep; do 4500 for ac_exec_ext in '' $ac_executable_extensions; do 4501 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4502 as_fn_executable_p "$ac_path_EGREP" || continue 4503# Check for GNU ac_path_EGREP and select it if it is found. 4504 # Check for GNU $ac_path_EGREP 4505case `"$ac_path_EGREP" --version 2>&1` in 4506*GNU*) 4507 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4508*) 4509 ac_count=0 4510 $as_echo_n 0123456789 >"conftest.in" 4511 while : 4512 do 4513 cat "conftest.in" "conftest.in" >"conftest.tmp" 4514 mv "conftest.tmp" "conftest.in" 4515 cp "conftest.in" "conftest.nl" 4516 $as_echo 'EGREP' >> "conftest.nl" 4517 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4518 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4519 as_fn_arith $ac_count + 1 && ac_count=$as_val 4520 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4521 # Best one so far, save it but keep looking for a better one 4522 ac_cv_path_EGREP="$ac_path_EGREP" 4523 ac_path_EGREP_max=$ac_count 4524 fi 4525 # 10*(2^10) chars as input seems more than enough 4526 test $ac_count -gt 10 && break 4527 done 4528 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4529esac 4530 4531 $ac_path_EGREP_found && break 3 4532 done 4533 done 4534 done 4535IFS=$as_save_IFS 4536 if test -z "$ac_cv_path_EGREP"; then 4537 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4538 fi 4539else 4540 ac_cv_path_EGREP=$EGREP 4541fi 4542 4543 fi 4544fi 4545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4546$as_echo "$ac_cv_path_EGREP" >&6; } 4547 EGREP="$ac_cv_path_EGREP" 4548 4549 4550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4551$as_echo_n "checking for fgrep... " >&6; } 4552if ${ac_cv_path_FGREP+:} false; then : 4553 $as_echo_n "(cached) " >&6 4554else 4555 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4556 then ac_cv_path_FGREP="$GREP -F" 4557 else 4558 if test -z "$FGREP"; then 4559 ac_path_FGREP_found=false 4560 # Loop through the user's path and test for each of PROGNAME-LIST 4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4562for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4563do 4564 IFS=$as_save_IFS 4565 test -z "$as_dir" && as_dir=. 4566 for ac_prog in fgrep; do 4567 for ac_exec_ext in '' $ac_executable_extensions; do 4568 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4569 as_fn_executable_p "$ac_path_FGREP" || continue 4570# Check for GNU ac_path_FGREP and select it if it is found. 4571 # Check for GNU $ac_path_FGREP 4572case `"$ac_path_FGREP" --version 2>&1` in 4573*GNU*) 4574 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4575*) 4576 ac_count=0 4577 $as_echo_n 0123456789 >"conftest.in" 4578 while : 4579 do 4580 cat "conftest.in" "conftest.in" >"conftest.tmp" 4581 mv "conftest.tmp" "conftest.in" 4582 cp "conftest.in" "conftest.nl" 4583 $as_echo 'FGREP' >> "conftest.nl" 4584 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4586 as_fn_arith $ac_count + 1 && ac_count=$as_val 4587 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4588 # Best one so far, save it but keep looking for a better one 4589 ac_cv_path_FGREP="$ac_path_FGREP" 4590 ac_path_FGREP_max=$ac_count 4591 fi 4592 # 10*(2^10) chars as input seems more than enough 4593 test $ac_count -gt 10 && break 4594 done 4595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4596esac 4597 4598 $ac_path_FGREP_found && break 3 4599 done 4600 done 4601 done 4602IFS=$as_save_IFS 4603 if test -z "$ac_cv_path_FGREP"; then 4604 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4605 fi 4606else 4607 ac_cv_path_FGREP=$FGREP 4608fi 4609 4610 fi 4611fi 4612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4613$as_echo "$ac_cv_path_FGREP" >&6; } 4614 FGREP="$ac_cv_path_FGREP" 4615 4616 4617test -z "$GREP" && GREP=grep 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637# Check whether --with-gnu-ld was given. 4638if test "${with_gnu_ld+set}" = set; then : 4639 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4640else 4641 with_gnu_ld=no 4642fi 4643 4644ac_prog=ld 4645if test yes = "$GCC"; then 4646 # Check if gcc -print-prog-name=ld gives a path. 4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4648$as_echo_n "checking for ld used by $CC... " >&6; } 4649 case $host in 4650 *-*-mingw*) 4651 # gcc leaves a trailing carriage return, which upsets mingw 4652 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4653 *) 4654 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4655 esac 4656 case $ac_prog in 4657 # Accept absolute paths. 4658 [\\/]* | ?:[\\/]*) 4659 re_direlt='/[^/][^/]*/\.\./' 4660 # Canonicalize the pathname of ld 4661 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4662 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4663 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4664 done 4665 test -z "$LD" && LD=$ac_prog 4666 ;; 4667 "") 4668 # If it fails, then pretend we aren't using GCC. 4669 ac_prog=ld 4670 ;; 4671 *) 4672 # If it is relative, then search for the first ld in PATH. 4673 with_gnu_ld=unknown 4674 ;; 4675 esac 4676elif test yes = "$with_gnu_ld"; then 4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4678$as_echo_n "checking for GNU ld... " >&6; } 4679else 4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4681$as_echo_n "checking for non-GNU ld... " >&6; } 4682fi 4683if ${lt_cv_path_LD+:} false; then : 4684 $as_echo_n "(cached) " >&6 4685else 4686 if test -z "$LD"; then 4687 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4688 for ac_dir in $PATH; do 4689 IFS=$lt_save_ifs 4690 test -z "$ac_dir" && ac_dir=. 4691 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4692 lt_cv_path_LD=$ac_dir/$ac_prog 4693 # Check to see if the program is GNU ld. I'd rather use --version, 4694 # but apparently some variants of GNU ld only accept -v. 4695 # Break only if it was the GNU/non-GNU ld that we prefer. 4696 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4697 *GNU* | *'with BFD'*) 4698 test no != "$with_gnu_ld" && break 4699 ;; 4700 *) 4701 test yes != "$with_gnu_ld" && break 4702 ;; 4703 esac 4704 fi 4705 done 4706 IFS=$lt_save_ifs 4707else 4708 lt_cv_path_LD=$LD # Let the user override the test with a path. 4709fi 4710fi 4711 4712LD=$lt_cv_path_LD 4713if test -n "$LD"; then 4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4715$as_echo "$LD" >&6; } 4716else 4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4718$as_echo "no" >&6; } 4719fi 4720test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4722$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4723if ${lt_cv_prog_gnu_ld+:} false; then : 4724 $as_echo_n "(cached) " >&6 4725else 4726 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4727case `$LD -v 2>&1 </dev/null` in 4728*GNU* | *'with BFD'*) 4729 lt_cv_prog_gnu_ld=yes 4730 ;; 4731*) 4732 lt_cv_prog_gnu_ld=no 4733 ;; 4734esac 4735fi 4736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4737$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4738with_gnu_ld=$lt_cv_prog_gnu_ld 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4749$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4750if ${lt_cv_path_NM+:} false; then : 4751 $as_echo_n "(cached) " >&6 4752else 4753 if test -n "$NM"; then 4754 # Let the user override the test. 4755 lt_cv_path_NM=$NM 4756else 4757 lt_nm_to_check=${ac_tool_prefix}nm 4758 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4759 lt_nm_to_check="$lt_nm_to_check nm" 4760 fi 4761 for lt_tmp_nm in $lt_nm_to_check; do 4762 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4763 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4764 IFS=$lt_save_ifs 4765 test -z "$ac_dir" && ac_dir=. 4766 tmp_nm=$ac_dir/$lt_tmp_nm 4767 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4768 # Check to see if the nm accepts a BSD-compat flag. 4769 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4770 # nm: unknown option "B" ignored 4771 # Tru64's nm complains that /dev/null is an invalid object file 4772 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4773 case $build_os in 4774 mingw*) lt_bad_file=conftest.nm/nofile ;; 4775 *) lt_bad_file=/dev/null ;; 4776 esac 4777 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4778 *$lt_bad_file* | *'Invalid file or object type'*) 4779 lt_cv_path_NM="$tmp_nm -B" 4780 break 2 4781 ;; 4782 *) 4783 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4784 */dev/null*) 4785 lt_cv_path_NM="$tmp_nm -p" 4786 break 2 4787 ;; 4788 *) 4789 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4790 continue # so that we can try to find one that supports BSD flags 4791 ;; 4792 esac 4793 ;; 4794 esac 4795 fi 4796 done 4797 IFS=$lt_save_ifs 4798 done 4799 : ${lt_cv_path_NM=no} 4800fi 4801fi 4802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4803$as_echo "$lt_cv_path_NM" >&6; } 4804if test no != "$lt_cv_path_NM"; then 4805 NM=$lt_cv_path_NM 4806else 4807 # Didn't find any BSD compatible name lister, look for dumpbin. 4808 if test -n "$DUMPBIN"; then : 4809 # Let the user override the test. 4810 else 4811 if test -n "$ac_tool_prefix"; then 4812 for ac_prog in dumpbin "link -dump" 4813 do 4814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4815set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4817$as_echo_n "checking for $ac_word... " >&6; } 4818if ${ac_cv_prog_DUMPBIN+:} false; then : 4819 $as_echo_n "(cached) " >&6 4820else 4821 if test -n "$DUMPBIN"; then 4822 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4823else 4824as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4825for as_dir in $PATH 4826do 4827 IFS=$as_save_IFS 4828 test -z "$as_dir" && as_dir=. 4829 for ac_exec_ext in '' $ac_executable_extensions; do 4830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4831 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4833 break 2 4834 fi 4835done 4836 done 4837IFS=$as_save_IFS 4838 4839fi 4840fi 4841DUMPBIN=$ac_cv_prog_DUMPBIN 4842if test -n "$DUMPBIN"; then 4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4844$as_echo "$DUMPBIN" >&6; } 4845else 4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4847$as_echo "no" >&6; } 4848fi 4849 4850 4851 test -n "$DUMPBIN" && break 4852 done 4853fi 4854if test -z "$DUMPBIN"; then 4855 ac_ct_DUMPBIN=$DUMPBIN 4856 for ac_prog in dumpbin "link -dump" 4857do 4858 # Extract the first word of "$ac_prog", so it can be a program name with args. 4859set dummy $ac_prog; ac_word=$2 4860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4861$as_echo_n "checking for $ac_word... " >&6; } 4862if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4863 $as_echo_n "(cached) " >&6 4864else 4865 if test -n "$ac_ct_DUMPBIN"; then 4866 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4867else 4868as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4869for as_dir in $PATH 4870do 4871 IFS=$as_save_IFS 4872 test -z "$as_dir" && as_dir=. 4873 for ac_exec_ext in '' $ac_executable_extensions; do 4874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4875 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4877 break 2 4878 fi 4879done 4880 done 4881IFS=$as_save_IFS 4882 4883fi 4884fi 4885ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4886if test -n "$ac_ct_DUMPBIN"; then 4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4888$as_echo "$ac_ct_DUMPBIN" >&6; } 4889else 4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4891$as_echo "no" >&6; } 4892fi 4893 4894 4895 test -n "$ac_ct_DUMPBIN" && break 4896done 4897 4898 if test "x$ac_ct_DUMPBIN" = x; then 4899 DUMPBIN=":" 4900 else 4901 case $cross_compiling:$ac_tool_warned in 4902yes:) 4903{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4904$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4905ac_tool_warned=yes ;; 4906esac 4907 DUMPBIN=$ac_ct_DUMPBIN 4908 fi 4909fi 4910 4911 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4912 *COFF*) 4913 DUMPBIN="$DUMPBIN -symbols -headers" 4914 ;; 4915 *) 4916 DUMPBIN=: 4917 ;; 4918 esac 4919 fi 4920 4921 if test : != "$DUMPBIN"; then 4922 NM=$DUMPBIN 4923 fi 4924fi 4925test -z "$NM" && NM=nm 4926 4927 4928 4929 4930 4931 4932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4933$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4934if ${lt_cv_nm_interface+:} false; then : 4935 $as_echo_n "(cached) " >&6 4936else 4937 lt_cv_nm_interface="BSD nm" 4938 echo "int some_variable = 0;" > conftest.$ac_ext 4939 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4940 (eval "$ac_compile" 2>conftest.err) 4941 cat conftest.err >&5 4942 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4943 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4944 cat conftest.err >&5 4945 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4946 cat conftest.out >&5 4947 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4948 lt_cv_nm_interface="MS dumpbin" 4949 fi 4950 rm -f conftest* 4951fi 4952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4953$as_echo "$lt_cv_nm_interface" >&6; } 4954 4955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4956$as_echo_n "checking whether ln -s works... " >&6; } 4957LN_S=$as_ln_s 4958if test "$LN_S" = "ln -s"; then 4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4960$as_echo "yes" >&6; } 4961else 4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4963$as_echo "no, using $LN_S" >&6; } 4964fi 4965 4966# find the maximum length of command line arguments 4967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4968$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4969if ${lt_cv_sys_max_cmd_len+:} false; then : 4970 $as_echo_n "(cached) " >&6 4971else 4972 i=0 4973 teststring=ABCD 4974 4975 case $build_os in 4976 msdosdjgpp*) 4977 # On DJGPP, this test can blow up pretty badly due to problems in libc 4978 # (any single argument exceeding 2000 bytes causes a buffer overrun 4979 # during glob expansion). Even if it were fixed, the result of this 4980 # check would be larger than it should be. 4981 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4982 ;; 4983 4984 gnu*) 4985 # Under GNU Hurd, this test is not required because there is 4986 # no limit to the length of command line arguments. 4987 # Libtool will interpret -1 as no limit whatsoever 4988 lt_cv_sys_max_cmd_len=-1; 4989 ;; 4990 4991 cygwin* | mingw* | cegcc*) 4992 # On Win9x/ME, this test blows up -- it succeeds, but takes 4993 # about 5 minutes as the teststring grows exponentially. 4994 # Worse, since 9x/ME are not pre-emptively multitasking, 4995 # you end up with a "frozen" computer, even though with patience 4996 # the test eventually succeeds (with a max line length of 256k). 4997 # Instead, let's just punt: use the minimum linelength reported by 4998 # all of the supported platforms: 8192 (on NT/2K/XP). 4999 lt_cv_sys_max_cmd_len=8192; 5000 ;; 5001 5002 mint*) 5003 # On MiNT this can take a long time and run out of memory. 5004 lt_cv_sys_max_cmd_len=8192; 5005 ;; 5006 5007 amigaos*) 5008 # On AmigaOS with pdksh, this test takes hours, literally. 5009 # So we just punt and use a minimum line length of 8192. 5010 lt_cv_sys_max_cmd_len=8192; 5011 ;; 5012 5013 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5014 # This has been around since 386BSD, at least. Likely further. 5015 if test -x /sbin/sysctl; then 5016 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5017 elif test -x /usr/sbin/sysctl; then 5018 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5019 else 5020 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5021 fi 5022 # And add a safety zone 5023 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5024 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5025 ;; 5026 5027 interix*) 5028 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5029 lt_cv_sys_max_cmd_len=196608 5030 ;; 5031 5032 os2*) 5033 # The test takes a long time on OS/2. 5034 lt_cv_sys_max_cmd_len=8192 5035 ;; 5036 5037 osf*) 5038 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5039 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5040 # nice to cause kernel panics so lets avoid the loop below. 5041 # First set a reasonable default. 5042 lt_cv_sys_max_cmd_len=16384 5043 # 5044 if test -x /sbin/sysconfig; then 5045 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5046 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5047 esac 5048 fi 5049 ;; 5050 sco3.2v5*) 5051 lt_cv_sys_max_cmd_len=102400 5052 ;; 5053 sysv5* | sco5v6* | sysv4.2uw2*) 5054 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5055 if test -n "$kargmax"; then 5056 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5057 else 5058 lt_cv_sys_max_cmd_len=32768 5059 fi 5060 ;; 5061 *) 5062 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5063 if test -n "$lt_cv_sys_max_cmd_len" && \ 5064 test undefined != "$lt_cv_sys_max_cmd_len"; then 5065 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5067 else 5068 # Make teststring a little bigger before we do anything with it. 5069 # a 1K string should be a reasonable start. 5070 for i in 1 2 3 4 5 6 7 8; do 5071 teststring=$teststring$teststring 5072 done 5073 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5074 # If test is not a shell built-in, we'll probably end up computing a 5075 # maximum length that is only half of the actual maximum length, but 5076 # we can't tell. 5077 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5078 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5079 test 17 != "$i" # 1/2 MB should be enough 5080 do 5081 i=`expr $i + 1` 5082 teststring=$teststring$teststring 5083 done 5084 # Only check the string length outside the loop. 5085 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5086 teststring= 5087 # Add a significant safety factor because C++ compilers can tack on 5088 # massive amounts of additional arguments before passing them to the 5089 # linker. It appears as though 1/2 is a usable value. 5090 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5091 fi 5092 ;; 5093 esac 5094 5095fi 5096 5097if test -n "$lt_cv_sys_max_cmd_len"; then 5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5099$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5100else 5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5102$as_echo "none" >&6; } 5103fi 5104max_cmd_len=$lt_cv_sys_max_cmd_len 5105 5106 5107 5108 5109 5110 5111: ${CP="cp -f"} 5112: ${MV="mv -f"} 5113: ${RM="rm -f"} 5114 5115if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5116 lt_unset=unset 5117else 5118 lt_unset=false 5119fi 5120 5121 5122 5123 5124 5125# test EBCDIC or ASCII 5126case `echo X|tr X '\101'` in 5127 A) # ASCII based system 5128 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5129 lt_SP2NL='tr \040 \012' 5130 lt_NL2SP='tr \015\012 \040\040' 5131 ;; 5132 *) # EBCDIC based system 5133 lt_SP2NL='tr \100 \n' 5134 lt_NL2SP='tr \r\n \100\100' 5135 ;; 5136esac 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5147$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5148if ${lt_cv_to_host_file_cmd+:} false; then : 5149 $as_echo_n "(cached) " >&6 5150else 5151 case $host in 5152 *-*-mingw* ) 5153 case $build in 5154 *-*-mingw* ) # actually msys 5155 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5156 ;; 5157 *-*-cygwin* ) 5158 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5159 ;; 5160 * ) # otherwise, assume *nix 5161 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5162 ;; 5163 esac 5164 ;; 5165 *-*-cygwin* ) 5166 case $build in 5167 *-*-mingw* ) # actually msys 5168 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5169 ;; 5170 *-*-cygwin* ) 5171 lt_cv_to_host_file_cmd=func_convert_file_noop 5172 ;; 5173 * ) # otherwise, assume *nix 5174 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5175 ;; 5176 esac 5177 ;; 5178 * ) # unhandled hosts (and "normal" native builds) 5179 lt_cv_to_host_file_cmd=func_convert_file_noop 5180 ;; 5181esac 5182 5183fi 5184 5185to_host_file_cmd=$lt_cv_to_host_file_cmd 5186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5187$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5188 5189 5190 5191 5192 5193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5194$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5195if ${lt_cv_to_tool_file_cmd+:} false; then : 5196 $as_echo_n "(cached) " >&6 5197else 5198 #assume ordinary cross tools, or native build. 5199lt_cv_to_tool_file_cmd=func_convert_file_noop 5200case $host in 5201 *-*-mingw* ) 5202 case $build in 5203 *-*-mingw* ) # actually msys 5204 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5205 ;; 5206 esac 5207 ;; 5208esac 5209 5210fi 5211 5212to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5214$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5215 5216 5217 5218 5219 5220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5221$as_echo_n "checking for $LD option to reload object files... " >&6; } 5222if ${lt_cv_ld_reload_flag+:} false; then : 5223 $as_echo_n "(cached) " >&6 5224else 5225 lt_cv_ld_reload_flag='-r' 5226fi 5227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5228$as_echo "$lt_cv_ld_reload_flag" >&6; } 5229reload_flag=$lt_cv_ld_reload_flag 5230case $reload_flag in 5231"" | " "*) ;; 5232*) reload_flag=" $reload_flag" ;; 5233esac 5234reload_cmds='$LD$reload_flag -o $output$reload_objs' 5235case $host_os in 5236 cygwin* | mingw* | pw32* | cegcc*) 5237 if test yes != "$GCC"; then 5238 reload_cmds=false 5239 fi 5240 ;; 5241 darwin*) 5242 if test yes = "$GCC"; then 5243 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5244 else 5245 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5246 fi 5247 ;; 5248esac 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258if test -n "$ac_tool_prefix"; then 5259 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5260set dummy ${ac_tool_prefix}objdump; ac_word=$2 5261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5262$as_echo_n "checking for $ac_word... " >&6; } 5263if ${ac_cv_prog_OBJDUMP+:} false; then : 5264 $as_echo_n "(cached) " >&6 5265else 5266 if test -n "$OBJDUMP"; then 5267 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5268else 5269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5270for as_dir in $PATH 5271do 5272 IFS=$as_save_IFS 5273 test -z "$as_dir" && as_dir=. 5274 for ac_exec_ext in '' $ac_executable_extensions; do 5275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5276 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5278 break 2 5279 fi 5280done 5281 done 5282IFS=$as_save_IFS 5283 5284fi 5285fi 5286OBJDUMP=$ac_cv_prog_OBJDUMP 5287if test -n "$OBJDUMP"; then 5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5289$as_echo "$OBJDUMP" >&6; } 5290else 5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5292$as_echo "no" >&6; } 5293fi 5294 5295 5296fi 5297if test -z "$ac_cv_prog_OBJDUMP"; then 5298 ac_ct_OBJDUMP=$OBJDUMP 5299 # Extract the first word of "objdump", so it can be a program name with args. 5300set dummy objdump; ac_word=$2 5301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5302$as_echo_n "checking for $ac_word... " >&6; } 5303if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5304 $as_echo_n "(cached) " >&6 5305else 5306 if test -n "$ac_ct_OBJDUMP"; then 5307 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5308else 5309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5310for as_dir in $PATH 5311do 5312 IFS=$as_save_IFS 5313 test -z "$as_dir" && as_dir=. 5314 for ac_exec_ext in '' $ac_executable_extensions; do 5315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5316 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5318 break 2 5319 fi 5320done 5321 done 5322IFS=$as_save_IFS 5323 5324fi 5325fi 5326ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5327if test -n "$ac_ct_OBJDUMP"; then 5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5329$as_echo "$ac_ct_OBJDUMP" >&6; } 5330else 5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5332$as_echo "no" >&6; } 5333fi 5334 5335 if test "x$ac_ct_OBJDUMP" = x; then 5336 OBJDUMP="false" 5337 else 5338 case $cross_compiling:$ac_tool_warned in 5339yes:) 5340{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5341$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5342ac_tool_warned=yes ;; 5343esac 5344 OBJDUMP=$ac_ct_OBJDUMP 5345 fi 5346else 5347 OBJDUMP="$ac_cv_prog_OBJDUMP" 5348fi 5349 5350test -z "$OBJDUMP" && OBJDUMP=objdump 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5361$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5362if ${lt_cv_deplibs_check_method+:} false; then : 5363 $as_echo_n "(cached) " >&6 5364else 5365 lt_cv_file_magic_cmd='$MAGIC_CMD' 5366lt_cv_file_magic_test_file= 5367lt_cv_deplibs_check_method='unknown' 5368# Need to set the preceding variable on all platforms that support 5369# interlibrary dependencies. 5370# 'none' -- dependencies not supported. 5371# 'unknown' -- same as none, but documents that we really don't know. 5372# 'pass_all' -- all dependencies passed with no checks. 5373# 'test_compile' -- check by making test program. 5374# 'file_magic [[regex]]' -- check by looking for files in library path 5375# that responds to the $file_magic_cmd with a given extended regex. 5376# If you have 'file' or equivalent on your system and you're not sure 5377# whether 'pass_all' will *always* work, you probably want this one. 5378 5379case $host_os in 5380aix[4-9]*) 5381 lt_cv_deplibs_check_method=pass_all 5382 ;; 5383 5384beos*) 5385 lt_cv_deplibs_check_method=pass_all 5386 ;; 5387 5388bsdi[45]*) 5389 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5390 lt_cv_file_magic_cmd='/usr/bin/file -L' 5391 lt_cv_file_magic_test_file=/shlib/libc.so 5392 ;; 5393 5394cygwin*) 5395 # func_win32_libid is a shell function defined in ltmain.sh 5396 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5397 lt_cv_file_magic_cmd='func_win32_libid' 5398 ;; 5399 5400mingw* | pw32*) 5401 # Base MSYS/MinGW do not provide the 'file' command needed by 5402 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5403 # unless we find 'file', for example because we are cross-compiling. 5404 if ( file / ) >/dev/null 2>&1; then 5405 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5406 lt_cv_file_magic_cmd='func_win32_libid' 5407 else 5408 # Keep this pattern in sync with the one in func_win32_libid. 5409 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5410 lt_cv_file_magic_cmd='$OBJDUMP -f' 5411 fi 5412 ;; 5413 5414cegcc*) 5415 # use the weaker test based on 'objdump'. See mingw*. 5416 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5417 lt_cv_file_magic_cmd='$OBJDUMP -f' 5418 ;; 5419 5420darwin* | rhapsody*) 5421 lt_cv_deplibs_check_method=pass_all 5422 ;; 5423 5424freebsd* | dragonfly*) 5425 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5426 case $host_cpu in 5427 i*86 ) 5428 # Not sure whether the presence of OpenBSD here was a mistake. 5429 # Let's accept both of them until this is cleared up. 5430 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5431 lt_cv_file_magic_cmd=/usr/bin/file 5432 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5433 ;; 5434 esac 5435 else 5436 lt_cv_deplibs_check_method=pass_all 5437 fi 5438 ;; 5439 5440haiku*) 5441 lt_cv_deplibs_check_method=pass_all 5442 ;; 5443 5444hpux10.20* | hpux11*) 5445 lt_cv_file_magic_cmd=/usr/bin/file 5446 case $host_cpu in 5447 ia64*) 5448 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5449 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5450 ;; 5451 hppa*64*) 5452 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]' 5453 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5454 ;; 5455 *) 5456 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5457 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5458 ;; 5459 esac 5460 ;; 5461 5462interix[3-9]*) 5463 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5464 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5465 ;; 5466 5467irix5* | irix6* | nonstopux*) 5468 case $LD in 5469 *-32|*"-32 ") libmagic=32-bit;; 5470 *-n32|*"-n32 ") libmagic=N32;; 5471 *-64|*"-64 ") libmagic=64-bit;; 5472 *) libmagic=never-match;; 5473 esac 5474 lt_cv_deplibs_check_method=pass_all 5475 ;; 5476 5477# This must be glibc/ELF. 5478linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5479 lt_cv_deplibs_check_method=pass_all 5480 ;; 5481 5482netbsd*) 5483 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5484 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5485 else 5486 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5487 fi 5488 ;; 5489 5490newos6*) 5491 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5492 lt_cv_file_magic_cmd=/usr/bin/file 5493 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5494 ;; 5495 5496*nto* | *qnx*) 5497 lt_cv_deplibs_check_method=pass_all 5498 ;; 5499 5500openbsd* | bitrig*) 5501 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5502 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5503 else 5504 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5505 fi 5506 ;; 5507 5508osf3* | osf4* | osf5*) 5509 lt_cv_deplibs_check_method=pass_all 5510 ;; 5511 5512rdos*) 5513 lt_cv_deplibs_check_method=pass_all 5514 ;; 5515 5516solaris*) 5517 lt_cv_deplibs_check_method=pass_all 5518 ;; 5519 5520sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5521 lt_cv_deplibs_check_method=pass_all 5522 ;; 5523 5524sysv4 | sysv4.3*) 5525 case $host_vendor in 5526 motorola) 5527 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]' 5528 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5529 ;; 5530 ncr) 5531 lt_cv_deplibs_check_method=pass_all 5532 ;; 5533 sequent) 5534 lt_cv_file_magic_cmd='/bin/file' 5535 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5536 ;; 5537 sni) 5538 lt_cv_file_magic_cmd='/bin/file' 5539 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5540 lt_cv_file_magic_test_file=/lib/libc.so 5541 ;; 5542 siemens) 5543 lt_cv_deplibs_check_method=pass_all 5544 ;; 5545 pc) 5546 lt_cv_deplibs_check_method=pass_all 5547 ;; 5548 esac 5549 ;; 5550 5551tpf*) 5552 lt_cv_deplibs_check_method=pass_all 5553 ;; 5554os2*) 5555 lt_cv_deplibs_check_method=pass_all 5556 ;; 5557esac 5558 5559fi 5560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5561$as_echo "$lt_cv_deplibs_check_method" >&6; } 5562 5563file_magic_glob= 5564want_nocaseglob=no 5565if test "$build" = "$host"; then 5566 case $host_os in 5567 mingw* | pw32*) 5568 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5569 want_nocaseglob=yes 5570 else 5571 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5572 fi 5573 ;; 5574 esac 5575fi 5576 5577file_magic_cmd=$lt_cv_file_magic_cmd 5578deplibs_check_method=$lt_cv_deplibs_check_method 5579test -z "$deplibs_check_method" && deplibs_check_method=unknown 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602if test -n "$ac_tool_prefix"; then 5603 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5604set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5606$as_echo_n "checking for $ac_word... " >&6; } 5607if ${ac_cv_prog_DLLTOOL+:} false; then : 5608 $as_echo_n "(cached) " >&6 5609else 5610 if test -n "$DLLTOOL"; then 5611 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5612else 5613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5614for as_dir in $PATH 5615do 5616 IFS=$as_save_IFS 5617 test -z "$as_dir" && as_dir=. 5618 for ac_exec_ext in '' $ac_executable_extensions; do 5619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5620 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5622 break 2 5623 fi 5624done 5625 done 5626IFS=$as_save_IFS 5627 5628fi 5629fi 5630DLLTOOL=$ac_cv_prog_DLLTOOL 5631if test -n "$DLLTOOL"; then 5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5633$as_echo "$DLLTOOL" >&6; } 5634else 5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5636$as_echo "no" >&6; } 5637fi 5638 5639 5640fi 5641if test -z "$ac_cv_prog_DLLTOOL"; then 5642 ac_ct_DLLTOOL=$DLLTOOL 5643 # Extract the first word of "dlltool", so it can be a program name with args. 5644set dummy dlltool; ac_word=$2 5645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5646$as_echo_n "checking for $ac_word... " >&6; } 5647if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5648 $as_echo_n "(cached) " >&6 5649else 5650 if test -n "$ac_ct_DLLTOOL"; then 5651 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5652else 5653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5654for as_dir in $PATH 5655do 5656 IFS=$as_save_IFS 5657 test -z "$as_dir" && as_dir=. 5658 for ac_exec_ext in '' $ac_executable_extensions; do 5659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5660 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5662 break 2 5663 fi 5664done 5665 done 5666IFS=$as_save_IFS 5667 5668fi 5669fi 5670ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5671if test -n "$ac_ct_DLLTOOL"; then 5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5673$as_echo "$ac_ct_DLLTOOL" >&6; } 5674else 5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5676$as_echo "no" >&6; } 5677fi 5678 5679 if test "x$ac_ct_DLLTOOL" = x; then 5680 DLLTOOL="false" 5681 else 5682 case $cross_compiling:$ac_tool_warned in 5683yes:) 5684{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5685$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5686ac_tool_warned=yes ;; 5687esac 5688 DLLTOOL=$ac_ct_DLLTOOL 5689 fi 5690else 5691 DLLTOOL="$ac_cv_prog_DLLTOOL" 5692fi 5693 5694test -z "$DLLTOOL" && DLLTOOL=dlltool 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5706$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5707if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5708 $as_echo_n "(cached) " >&6 5709else 5710 lt_cv_sharedlib_from_linklib_cmd='unknown' 5711 5712case $host_os in 5713cygwin* | mingw* | pw32* | cegcc*) 5714 # two different shell functions defined in ltmain.sh; 5715 # decide which one to use based on capabilities of $DLLTOOL 5716 case `$DLLTOOL --help 2>&1` in 5717 *--identify-strict*) 5718 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5719 ;; 5720 *) 5721 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5722 ;; 5723 esac 5724 ;; 5725*) 5726 # fallback: assume linklib IS sharedlib 5727 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5728 ;; 5729esac 5730 5731fi 5732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5733$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5734sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5735test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5736 5737 5738 5739 5740 5741 5742 5743 5744if test -n "$ac_tool_prefix"; then 5745 for ac_prog in ar 5746 do 5747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5748set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5750$as_echo_n "checking for $ac_word... " >&6; } 5751if ${ac_cv_prog_AR+:} false; then : 5752 $as_echo_n "(cached) " >&6 5753else 5754 if test -n "$AR"; then 5755 ac_cv_prog_AR="$AR" # Let the user override the test. 5756else 5757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5758for as_dir in $PATH 5759do 5760 IFS=$as_save_IFS 5761 test -z "$as_dir" && as_dir=. 5762 for ac_exec_ext in '' $ac_executable_extensions; do 5763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5764 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5766 break 2 5767 fi 5768done 5769 done 5770IFS=$as_save_IFS 5771 5772fi 5773fi 5774AR=$ac_cv_prog_AR 5775if test -n "$AR"; then 5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5777$as_echo "$AR" >&6; } 5778else 5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5780$as_echo "no" >&6; } 5781fi 5782 5783 5784 test -n "$AR" && break 5785 done 5786fi 5787if test -z "$AR"; then 5788 ac_ct_AR=$AR 5789 for ac_prog in ar 5790do 5791 # Extract the first word of "$ac_prog", so it can be a program name with args. 5792set dummy $ac_prog; ac_word=$2 5793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5794$as_echo_n "checking for $ac_word... " >&6; } 5795if ${ac_cv_prog_ac_ct_AR+:} false; then : 5796 $as_echo_n "(cached) " >&6 5797else 5798 if test -n "$ac_ct_AR"; then 5799 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5800else 5801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5802for as_dir in $PATH 5803do 5804 IFS=$as_save_IFS 5805 test -z "$as_dir" && as_dir=. 5806 for ac_exec_ext in '' $ac_executable_extensions; do 5807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5808 ac_cv_prog_ac_ct_AR="$ac_prog" 5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5810 break 2 5811 fi 5812done 5813 done 5814IFS=$as_save_IFS 5815 5816fi 5817fi 5818ac_ct_AR=$ac_cv_prog_ac_ct_AR 5819if test -n "$ac_ct_AR"; then 5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5821$as_echo "$ac_ct_AR" >&6; } 5822else 5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5824$as_echo "no" >&6; } 5825fi 5826 5827 5828 test -n "$ac_ct_AR" && break 5829done 5830 5831 if test "x$ac_ct_AR" = x; then 5832 AR="false" 5833 else 5834 case $cross_compiling:$ac_tool_warned in 5835yes:) 5836{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5837$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5838ac_tool_warned=yes ;; 5839esac 5840 AR=$ac_ct_AR 5841 fi 5842fi 5843 5844: ${AR=ar} 5845: ${AR_FLAGS=cru} 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5858$as_echo_n "checking for archiver @FILE support... " >&6; } 5859if ${lt_cv_ar_at_file+:} false; then : 5860 $as_echo_n "(cached) " >&6 5861else 5862 lt_cv_ar_at_file=no 5863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5864/* end confdefs.h. */ 5865 5866int 5867main () 5868{ 5869 5870 ; 5871 return 0; 5872} 5873_ACEOF 5874if ac_fn_c_try_compile "$LINENO"; then : 5875 echo conftest.$ac_objext > conftest.lst 5876 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5877 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5878 (eval $lt_ar_try) 2>&5 5879 ac_status=$? 5880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5881 test $ac_status = 0; } 5882 if test 0 -eq "$ac_status"; then 5883 # Ensure the archiver fails upon bogus file names. 5884 rm -f conftest.$ac_objext libconftest.a 5885 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5886 (eval $lt_ar_try) 2>&5 5887 ac_status=$? 5888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5889 test $ac_status = 0; } 5890 if test 0 -ne "$ac_status"; then 5891 lt_cv_ar_at_file=@ 5892 fi 5893 fi 5894 rm -f conftest.* libconftest.a 5895 5896fi 5897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5898 5899fi 5900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5901$as_echo "$lt_cv_ar_at_file" >&6; } 5902 5903if test no = "$lt_cv_ar_at_file"; then 5904 archiver_list_spec= 5905else 5906 archiver_list_spec=$lt_cv_ar_at_file 5907fi 5908 5909 5910 5911 5912 5913 5914 5915if test -n "$ac_tool_prefix"; then 5916 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5917set dummy ${ac_tool_prefix}strip; ac_word=$2 5918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5919$as_echo_n "checking for $ac_word... " >&6; } 5920if ${ac_cv_prog_STRIP+:} false; then : 5921 $as_echo_n "(cached) " >&6 5922else 5923 if test -n "$STRIP"; then 5924 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5925else 5926as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5927for as_dir in $PATH 5928do 5929 IFS=$as_save_IFS 5930 test -z "$as_dir" && as_dir=. 5931 for ac_exec_ext in '' $ac_executable_extensions; do 5932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5933 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5935 break 2 5936 fi 5937done 5938 done 5939IFS=$as_save_IFS 5940 5941fi 5942fi 5943STRIP=$ac_cv_prog_STRIP 5944if test -n "$STRIP"; then 5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5946$as_echo "$STRIP" >&6; } 5947else 5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5949$as_echo "no" >&6; } 5950fi 5951 5952 5953fi 5954if test -z "$ac_cv_prog_STRIP"; then 5955 ac_ct_STRIP=$STRIP 5956 # Extract the first word of "strip", so it can be a program name with args. 5957set dummy strip; ac_word=$2 5958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5959$as_echo_n "checking for $ac_word... " >&6; } 5960if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5961 $as_echo_n "(cached) " >&6 5962else 5963 if test -n "$ac_ct_STRIP"; then 5964 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5965else 5966as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5967for as_dir in $PATH 5968do 5969 IFS=$as_save_IFS 5970 test -z "$as_dir" && as_dir=. 5971 for ac_exec_ext in '' $ac_executable_extensions; do 5972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5973 ac_cv_prog_ac_ct_STRIP="strip" 5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5975 break 2 5976 fi 5977done 5978 done 5979IFS=$as_save_IFS 5980 5981fi 5982fi 5983ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5984if test -n "$ac_ct_STRIP"; then 5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5986$as_echo "$ac_ct_STRIP" >&6; } 5987else 5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5989$as_echo "no" >&6; } 5990fi 5991 5992 if test "x$ac_ct_STRIP" = x; then 5993 STRIP=":" 5994 else 5995 case $cross_compiling:$ac_tool_warned in 5996yes:) 5997{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5998$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5999ac_tool_warned=yes ;; 6000esac 6001 STRIP=$ac_ct_STRIP 6002 fi 6003else 6004 STRIP="$ac_cv_prog_STRIP" 6005fi 6006 6007test -z "$STRIP" && STRIP=: 6008 6009 6010 6011 6012 6013 6014if test -n "$ac_tool_prefix"; then 6015 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6016set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6018$as_echo_n "checking for $ac_word... " >&6; } 6019if ${ac_cv_prog_RANLIB+:} false; then : 6020 $as_echo_n "(cached) " >&6 6021else 6022 if test -n "$RANLIB"; then 6023 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6024else 6025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6026for as_dir in $PATH 6027do 6028 IFS=$as_save_IFS 6029 test -z "$as_dir" && as_dir=. 6030 for ac_exec_ext in '' $ac_executable_extensions; do 6031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6032 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6034 break 2 6035 fi 6036done 6037 done 6038IFS=$as_save_IFS 6039 6040fi 6041fi 6042RANLIB=$ac_cv_prog_RANLIB 6043if test -n "$RANLIB"; then 6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6045$as_echo "$RANLIB" >&6; } 6046else 6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6048$as_echo "no" >&6; } 6049fi 6050 6051 6052fi 6053if test -z "$ac_cv_prog_RANLIB"; then 6054 ac_ct_RANLIB=$RANLIB 6055 # Extract the first word of "ranlib", so it can be a program name with args. 6056set dummy ranlib; ac_word=$2 6057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6058$as_echo_n "checking for $ac_word... " >&6; } 6059if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6060 $as_echo_n "(cached) " >&6 6061else 6062 if test -n "$ac_ct_RANLIB"; then 6063 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6064else 6065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6066for as_dir in $PATH 6067do 6068 IFS=$as_save_IFS 6069 test -z "$as_dir" && as_dir=. 6070 for ac_exec_ext in '' $ac_executable_extensions; do 6071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6072 ac_cv_prog_ac_ct_RANLIB="ranlib" 6073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6074 break 2 6075 fi 6076done 6077 done 6078IFS=$as_save_IFS 6079 6080fi 6081fi 6082ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6083if test -n "$ac_ct_RANLIB"; then 6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6085$as_echo "$ac_ct_RANLIB" >&6; } 6086else 6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6088$as_echo "no" >&6; } 6089fi 6090 6091 if test "x$ac_ct_RANLIB" = x; then 6092 RANLIB=":" 6093 else 6094 case $cross_compiling:$ac_tool_warned in 6095yes:) 6096{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6097$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6098ac_tool_warned=yes ;; 6099esac 6100 RANLIB=$ac_ct_RANLIB 6101 fi 6102else 6103 RANLIB="$ac_cv_prog_RANLIB" 6104fi 6105 6106test -z "$RANLIB" && RANLIB=: 6107 6108 6109 6110 6111 6112 6113# Determine commands to create old-style static archives. 6114old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6115old_postinstall_cmds='chmod 644 $oldlib' 6116old_postuninstall_cmds= 6117 6118if test -n "$RANLIB"; then 6119 case $host_os in 6120 bitrig* | openbsd*) 6121 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6122 ;; 6123 *) 6124 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6125 ;; 6126 esac 6127 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6128fi 6129 6130case $host_os in 6131 darwin*) 6132 lock_old_archive_extraction=yes ;; 6133 *) 6134 lock_old_archive_extraction=no ;; 6135esac 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175# If no C compiler was specified, use CC. 6176LTCC=${LTCC-"$CC"} 6177 6178# If no C compiler flags were specified, use CFLAGS. 6179LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6180 6181# Allow CC to be a program name with arguments. 6182compiler=$CC 6183 6184 6185# Check for command to grab the raw symbol name followed by C symbol from nm. 6186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6187$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6188if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6189 $as_echo_n "(cached) " >&6 6190else 6191 6192# These are sane defaults that work on at least a few old systems. 6193# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6194 6195# Character class describing NM global symbol codes. 6196symcode='[BCDEGRST]' 6197 6198# Regexp to match symbols that can be accessed directly from C. 6199sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6200 6201# Define system-specific variables. 6202case $host_os in 6203aix*) 6204 symcode='[BCDT]' 6205 ;; 6206cygwin* | mingw* | pw32* | cegcc*) 6207 symcode='[ABCDGISTW]' 6208 ;; 6209hpux*) 6210 if test ia64 = "$host_cpu"; then 6211 symcode='[ABCDEGRST]' 6212 fi 6213 ;; 6214irix* | nonstopux*) 6215 symcode='[BCDEGRST]' 6216 ;; 6217osf*) 6218 symcode='[BCDEGQRST]' 6219 ;; 6220solaris*) 6221 symcode='[BDRT]' 6222 ;; 6223sco3.2v5*) 6224 symcode='[DT]' 6225 ;; 6226sysv4.2uw2*) 6227 symcode='[DT]' 6228 ;; 6229sysv5* | sco5v6* | unixware* | OpenUNIX*) 6230 symcode='[ABDT]' 6231 ;; 6232sysv4) 6233 symcode='[DFNSTU]' 6234 ;; 6235esac 6236 6237# If we're using GNU nm, then use its standard symbol codes. 6238case `$NM -V 2>&1` in 6239*GNU* | *'with BFD'*) 6240 symcode='[ABCDGIRSTW]' ;; 6241esac 6242 6243if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6244 # Gets list of data symbols to import. 6245 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6246 # Adjust the below global symbol transforms to fixup imported variables. 6247 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6248 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6249 lt_c_name_lib_hook="\ 6250 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6251 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6252else 6253 # Disable hooks by default. 6254 lt_cv_sys_global_symbol_to_import= 6255 lt_cdecl_hook= 6256 lt_c_name_hook= 6257 lt_c_name_lib_hook= 6258fi 6259 6260# Transform an extracted symbol line into a proper C declaration. 6261# Some systems (esp. on ia64) link data and code symbols differently, 6262# so use this general approach. 6263lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6264$lt_cdecl_hook\ 6265" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6266" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6267 6268# Transform an extracted symbol line into symbol name and symbol address 6269lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6270$lt_c_name_hook\ 6271" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6272" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6273 6274# Transform an extracted symbol line into symbol name with lib prefix and 6275# symbol address. 6276lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6277$lt_c_name_lib_hook\ 6278" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6279" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6280" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6281 6282# Handle CRLF in mingw tool chain 6283opt_cr= 6284case $build_os in 6285mingw*) 6286 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6287 ;; 6288esac 6289 6290# Try without a prefix underscore, then with it. 6291for ac_symprfx in "" "_"; do 6292 6293 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6294 symxfrm="\\1 $ac_symprfx\\2 \\2" 6295 6296 # Write the raw and C identifiers. 6297 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6298 # Fake it for dumpbin and say T for any non-static function, 6299 # D for any global variable and I for any imported variable. 6300 # Also find C++ and __fastcall symbols from MSVC++, 6301 # which start with @ or ?. 6302 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6303" {last_section=section; section=\$ 3};"\ 6304" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6305" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6306" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6307" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6308" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6309" \$ 0!~/External *\|/{next};"\ 6310" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6311" {if(hide[section]) next};"\ 6312" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6313" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6314" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6315" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6316" ' prfx=^$ac_symprfx" 6317 else 6318 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6319 fi 6320 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6321 6322 # Check to see that the pipe works correctly. 6323 pipe_works=no 6324 6325 rm -f conftest* 6326 cat > conftest.$ac_ext <<_LT_EOF 6327#ifdef __cplusplus 6328extern "C" { 6329#endif 6330char nm_test_var; 6331void nm_test_func(void); 6332void nm_test_func(void){} 6333#ifdef __cplusplus 6334} 6335#endif 6336int main(){nm_test_var='a';nm_test_func();return(0);} 6337_LT_EOF 6338 6339 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6340 (eval $ac_compile) 2>&5 6341 ac_status=$? 6342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6343 test $ac_status = 0; }; then 6344 # Now try to grab the symbols. 6345 nlist=conftest.nm 6346 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6347 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6348 ac_status=$? 6349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6350 test $ac_status = 0; } && test -s "$nlist"; then 6351 # Try sorting and uniquifying the output. 6352 if sort "$nlist" | uniq > "$nlist"T; then 6353 mv -f "$nlist"T "$nlist" 6354 else 6355 rm -f "$nlist"T 6356 fi 6357 6358 # Make sure that we snagged all the symbols we need. 6359 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6360 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6361 cat <<_LT_EOF > conftest.$ac_ext 6362/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6363#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6364/* DATA imports from DLLs on WIN32 can't be const, because runtime 6365 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6366# define LT_DLSYM_CONST 6367#elif defined __osf__ 6368/* This system does not cope well with relocations in const data. */ 6369# define LT_DLSYM_CONST 6370#else 6371# define LT_DLSYM_CONST const 6372#endif 6373 6374#ifdef __cplusplus 6375extern "C" { 6376#endif 6377 6378_LT_EOF 6379 # Now generate the symbol file. 6380 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6381 6382 cat <<_LT_EOF >> conftest.$ac_ext 6383 6384/* The mapping between symbol names and symbols. */ 6385LT_DLSYM_CONST struct { 6386 const char *name; 6387 void *address; 6388} 6389lt__PROGRAM__LTX_preloaded_symbols[] = 6390{ 6391 { "@PROGRAM@", (void *) 0 }, 6392_LT_EOF 6393 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6394 cat <<\_LT_EOF >> conftest.$ac_ext 6395 {0, (void *) 0} 6396}; 6397 6398/* This works around a problem in FreeBSD linker */ 6399#ifdef FREEBSD_WORKAROUND 6400static const void *lt_preloaded_setup() { 6401 return lt__PROGRAM__LTX_preloaded_symbols; 6402} 6403#endif 6404 6405#ifdef __cplusplus 6406} 6407#endif 6408_LT_EOF 6409 # Now try linking the two files. 6410 mv conftest.$ac_objext conftstm.$ac_objext 6411 lt_globsym_save_LIBS=$LIBS 6412 lt_globsym_save_CFLAGS=$CFLAGS 6413 LIBS=conftstm.$ac_objext 6414 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6416 (eval $ac_link) 2>&5 6417 ac_status=$? 6418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6419 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6420 pipe_works=yes 6421 fi 6422 LIBS=$lt_globsym_save_LIBS 6423 CFLAGS=$lt_globsym_save_CFLAGS 6424 else 6425 echo "cannot find nm_test_func in $nlist" >&5 6426 fi 6427 else 6428 echo "cannot find nm_test_var in $nlist" >&5 6429 fi 6430 else 6431 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6432 fi 6433 else 6434 echo "$progname: failed program was:" >&5 6435 cat conftest.$ac_ext >&5 6436 fi 6437 rm -rf conftest* conftst* 6438 6439 # Do not use the global_symbol_pipe unless it works. 6440 if test yes = "$pipe_works"; then 6441 break 6442 else 6443 lt_cv_sys_global_symbol_pipe= 6444 fi 6445done 6446 6447fi 6448 6449if test -z "$lt_cv_sys_global_symbol_pipe"; then 6450 lt_cv_sys_global_symbol_to_cdecl= 6451fi 6452if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6454$as_echo "failed" >&6; } 6455else 6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6457$as_echo "ok" >&6; } 6458fi 6459 6460# Response file support. 6461if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6462 nm_file_list_spec='@' 6463elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6464 nm_file_list_spec='@' 6465fi 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6504$as_echo_n "checking for sysroot... " >&6; } 6505 6506# Check whether --with-sysroot was given. 6507if test "${with_sysroot+set}" = set; then : 6508 withval=$with_sysroot; 6509else 6510 with_sysroot=no 6511fi 6512 6513 6514lt_sysroot= 6515case $with_sysroot in #( 6516 yes) 6517 if test yes = "$GCC"; then 6518 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6519 fi 6520 ;; #( 6521 /*) 6522 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6523 ;; #( 6524 no|'') 6525 ;; #( 6526 *) 6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6528$as_echo "$with_sysroot" >&6; } 6529 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6530 ;; 6531esac 6532 6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6534$as_echo "${lt_sysroot:-no}" >&6; } 6535 6536 6537 6538 6539 6540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6541$as_echo_n "checking for a working dd... " >&6; } 6542if ${ac_cv_path_lt_DD+:} false; then : 6543 $as_echo_n "(cached) " >&6 6544else 6545 printf 0123456789abcdef0123456789abcdef >conftest.i 6546cat conftest.i conftest.i >conftest2.i 6547: ${lt_DD:=$DD} 6548if test -z "$lt_DD"; then 6549 ac_path_lt_DD_found=false 6550 # Loop through the user's path and test for each of PROGNAME-LIST 6551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6552for as_dir in $PATH 6553do 6554 IFS=$as_save_IFS 6555 test -z "$as_dir" && as_dir=. 6556 for ac_prog in dd; do 6557 for ac_exec_ext in '' $ac_executable_extensions; do 6558 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6559 as_fn_executable_p "$ac_path_lt_DD" || continue 6560if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6561 cmp -s conftest.i conftest.out \ 6562 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6563fi 6564 $ac_path_lt_DD_found && break 3 6565 done 6566 done 6567 done 6568IFS=$as_save_IFS 6569 if test -z "$ac_cv_path_lt_DD"; then 6570 : 6571 fi 6572else 6573 ac_cv_path_lt_DD=$lt_DD 6574fi 6575 6576rm -f conftest.i conftest2.i conftest.out 6577fi 6578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6579$as_echo "$ac_cv_path_lt_DD" >&6; } 6580 6581 6582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6583$as_echo_n "checking how to truncate binary pipes... " >&6; } 6584if ${lt_cv_truncate_bin+:} false; then : 6585 $as_echo_n "(cached) " >&6 6586else 6587 printf 0123456789abcdef0123456789abcdef >conftest.i 6588cat conftest.i conftest.i >conftest2.i 6589lt_cv_truncate_bin= 6590if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6591 cmp -s conftest.i conftest.out \ 6592 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6593fi 6594rm -f conftest.i conftest2.i conftest.out 6595test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6596fi 6597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6598$as_echo "$lt_cv_truncate_bin" >&6; } 6599 6600 6601 6602 6603 6604 6605 6606# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6607func_cc_basename () 6608{ 6609 for cc_temp in $*""; do 6610 case $cc_temp in 6611 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6612 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6613 \-*) ;; 6614 *) break;; 6615 esac 6616 done 6617 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6618} 6619 6620# Check whether --enable-libtool-lock was given. 6621if test "${enable_libtool_lock+set}" = set; then : 6622 enableval=$enable_libtool_lock; 6623fi 6624 6625test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6626 6627# Some flags need to be propagated to the compiler or linker for good 6628# libtool support. 6629case $host in 6630ia64-*-hpux*) 6631 # Find out what ABI is being produced by ac_compile, and set mode 6632 # options accordingly. 6633 echo 'int i;' > conftest.$ac_ext 6634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6635 (eval $ac_compile) 2>&5 6636 ac_status=$? 6637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6638 test $ac_status = 0; }; then 6639 case `/usr/bin/file conftest.$ac_objext` in 6640 *ELF-32*) 6641 HPUX_IA64_MODE=32 6642 ;; 6643 *ELF-64*) 6644 HPUX_IA64_MODE=64 6645 ;; 6646 esac 6647 fi 6648 rm -rf conftest* 6649 ;; 6650*-*-irix6*) 6651 # Find out what ABI is being produced by ac_compile, and set linker 6652 # options accordingly. 6653 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6654 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6655 (eval $ac_compile) 2>&5 6656 ac_status=$? 6657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6658 test $ac_status = 0; }; then 6659 if test yes = "$lt_cv_prog_gnu_ld"; then 6660 case `/usr/bin/file conftest.$ac_objext` in 6661 *32-bit*) 6662 LD="${LD-ld} -melf32bsmip" 6663 ;; 6664 *N32*) 6665 LD="${LD-ld} -melf32bmipn32" 6666 ;; 6667 *64-bit*) 6668 LD="${LD-ld} -melf64bmip" 6669 ;; 6670 esac 6671 else 6672 case `/usr/bin/file conftest.$ac_objext` in 6673 *32-bit*) 6674 LD="${LD-ld} -32" 6675 ;; 6676 *N32*) 6677 LD="${LD-ld} -n32" 6678 ;; 6679 *64-bit*) 6680 LD="${LD-ld} -64" 6681 ;; 6682 esac 6683 fi 6684 fi 6685 rm -rf conftest* 6686 ;; 6687 6688mips64*-*linux*) 6689 # Find out what ABI is being produced by ac_compile, and set linker 6690 # options accordingly. 6691 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6692 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6693 (eval $ac_compile) 2>&5 6694 ac_status=$? 6695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6696 test $ac_status = 0; }; then 6697 emul=elf 6698 case `/usr/bin/file conftest.$ac_objext` in 6699 *32-bit*) 6700 emul="${emul}32" 6701 ;; 6702 *64-bit*) 6703 emul="${emul}64" 6704 ;; 6705 esac 6706 case `/usr/bin/file conftest.$ac_objext` in 6707 *MSB*) 6708 emul="${emul}btsmip" 6709 ;; 6710 *LSB*) 6711 emul="${emul}ltsmip" 6712 ;; 6713 esac 6714 case `/usr/bin/file conftest.$ac_objext` in 6715 *N32*) 6716 emul="${emul}n32" 6717 ;; 6718 esac 6719 LD="${LD-ld} -m $emul" 6720 fi 6721 rm -rf conftest* 6722 ;; 6723 6724x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6725s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6726 # Find out what ABI is being produced by ac_compile, and set linker 6727 # options accordingly. Note that the listed cases only cover the 6728 # situations where additional linker options are needed (such as when 6729 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6730 # vice versa); the common cases where no linker options are needed do 6731 # not appear in the list. 6732 echo 'int i;' > conftest.$ac_ext 6733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6734 (eval $ac_compile) 2>&5 6735 ac_status=$? 6736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6737 test $ac_status = 0; }; then 6738 case `/usr/bin/file conftest.o` in 6739 *32-bit*) 6740 case $host in 6741 x86_64-*kfreebsd*-gnu) 6742 LD="${LD-ld} -m elf_i386_fbsd" 6743 ;; 6744 x86_64-*linux*) 6745 case `/usr/bin/file conftest.o` in 6746 *x86-64*) 6747 LD="${LD-ld} -m elf32_x86_64" 6748 ;; 6749 *) 6750 LD="${LD-ld} -m elf_i386" 6751 ;; 6752 esac 6753 ;; 6754 powerpc64le-*linux*) 6755 LD="${LD-ld} -m elf32lppclinux" 6756 ;; 6757 powerpc64-*linux*) 6758 LD="${LD-ld} -m elf32ppclinux" 6759 ;; 6760 s390x-*linux*) 6761 LD="${LD-ld} -m elf_s390" 6762 ;; 6763 sparc64-*linux*) 6764 LD="${LD-ld} -m elf32_sparc" 6765 ;; 6766 esac 6767 ;; 6768 *64-bit*) 6769 case $host in 6770 x86_64-*kfreebsd*-gnu) 6771 LD="${LD-ld} -m elf_x86_64_fbsd" 6772 ;; 6773 x86_64-*linux*) 6774 LD="${LD-ld} -m elf_x86_64" 6775 ;; 6776 powerpcle-*linux*) 6777 LD="${LD-ld} -m elf64lppc" 6778 ;; 6779 powerpc-*linux*) 6780 LD="${LD-ld} -m elf64ppc" 6781 ;; 6782 s390*-*linux*|s390*-*tpf*) 6783 LD="${LD-ld} -m elf64_s390" 6784 ;; 6785 sparc*-*linux*) 6786 LD="${LD-ld} -m elf64_sparc" 6787 ;; 6788 esac 6789 ;; 6790 esac 6791 fi 6792 rm -rf conftest* 6793 ;; 6794 6795*-*-sco3.2v5*) 6796 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6797 SAVE_CFLAGS=$CFLAGS 6798 CFLAGS="$CFLAGS -belf" 6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6800$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6801if ${lt_cv_cc_needs_belf+:} false; then : 6802 $as_echo_n "(cached) " >&6 6803else 6804 ac_ext=c 6805ac_cpp='$CPP $CPPFLAGS' 6806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6808ac_compiler_gnu=$ac_cv_c_compiler_gnu 6809 6810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6811/* end confdefs.h. */ 6812 6813int 6814main () 6815{ 6816 6817 ; 6818 return 0; 6819} 6820_ACEOF 6821if ac_fn_c_try_link "$LINENO"; then : 6822 lt_cv_cc_needs_belf=yes 6823else 6824 lt_cv_cc_needs_belf=no 6825fi 6826rm -f core conftest.err conftest.$ac_objext \ 6827 conftest$ac_exeext conftest.$ac_ext 6828 ac_ext=c 6829ac_cpp='$CPP $CPPFLAGS' 6830ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6832ac_compiler_gnu=$ac_cv_c_compiler_gnu 6833 6834fi 6835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6836$as_echo "$lt_cv_cc_needs_belf" >&6; } 6837 if test yes != "$lt_cv_cc_needs_belf"; then 6838 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6839 CFLAGS=$SAVE_CFLAGS 6840 fi 6841 ;; 6842*-*solaris*) 6843 # Find out what ABI is being produced by ac_compile, and set linker 6844 # options accordingly. 6845 echo 'int i;' > conftest.$ac_ext 6846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6847 (eval $ac_compile) 2>&5 6848 ac_status=$? 6849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6850 test $ac_status = 0; }; then 6851 case `/usr/bin/file conftest.o` in 6852 *64-bit*) 6853 case $lt_cv_prog_gnu_ld in 6854 yes*) 6855 case $host in 6856 i?86-*-solaris*|x86_64-*-solaris*) 6857 LD="${LD-ld} -m elf_x86_64" 6858 ;; 6859 sparc*-*-solaris*) 6860 LD="${LD-ld} -m elf64_sparc" 6861 ;; 6862 esac 6863 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6864 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6865 LD=${LD-ld}_sol2 6866 fi 6867 ;; 6868 *) 6869 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6870 LD="${LD-ld} -64" 6871 fi 6872 ;; 6873 esac 6874 ;; 6875 esac 6876 fi 6877 rm -rf conftest* 6878 ;; 6879esac 6880 6881need_locks=$enable_libtool_lock 6882 6883if test -n "$ac_tool_prefix"; then 6884 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6885set dummy ${ac_tool_prefix}mt; ac_word=$2 6886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6887$as_echo_n "checking for $ac_word... " >&6; } 6888if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6889 $as_echo_n "(cached) " >&6 6890else 6891 if test -n "$MANIFEST_TOOL"; then 6892 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6893else 6894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6895for as_dir in $PATH 6896do 6897 IFS=$as_save_IFS 6898 test -z "$as_dir" && as_dir=. 6899 for ac_exec_ext in '' $ac_executable_extensions; do 6900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6901 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6903 break 2 6904 fi 6905done 6906 done 6907IFS=$as_save_IFS 6908 6909fi 6910fi 6911MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6912if test -n "$MANIFEST_TOOL"; then 6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6914$as_echo "$MANIFEST_TOOL" >&6; } 6915else 6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6917$as_echo "no" >&6; } 6918fi 6919 6920 6921fi 6922if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6923 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6924 # Extract the first word of "mt", so it can be a program name with args. 6925set dummy mt; ac_word=$2 6926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6927$as_echo_n "checking for $ac_word... " >&6; } 6928if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6929 $as_echo_n "(cached) " >&6 6930else 6931 if test -n "$ac_ct_MANIFEST_TOOL"; then 6932 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6933else 6934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6935for as_dir in $PATH 6936do 6937 IFS=$as_save_IFS 6938 test -z "$as_dir" && as_dir=. 6939 for ac_exec_ext in '' $ac_executable_extensions; do 6940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6941 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6943 break 2 6944 fi 6945done 6946 done 6947IFS=$as_save_IFS 6948 6949fi 6950fi 6951ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6952if test -n "$ac_ct_MANIFEST_TOOL"; then 6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6954$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6955else 6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6957$as_echo "no" >&6; } 6958fi 6959 6960 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6961 MANIFEST_TOOL=":" 6962 else 6963 case $cross_compiling:$ac_tool_warned in 6964yes:) 6965{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6966$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6967ac_tool_warned=yes ;; 6968esac 6969 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6970 fi 6971else 6972 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6973fi 6974 6975test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6977$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6978if ${lt_cv_path_mainfest_tool+:} false; then : 6979 $as_echo_n "(cached) " >&6 6980else 6981 lt_cv_path_mainfest_tool=no 6982 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6983 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6984 cat conftest.err >&5 6985 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6986 lt_cv_path_mainfest_tool=yes 6987 fi 6988 rm -f conftest* 6989fi 6990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6991$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6992if test yes != "$lt_cv_path_mainfest_tool"; then 6993 MANIFEST_TOOL=: 6994fi 6995 6996 6997 6998 6999 7000 7001 case $host_os in 7002 rhapsody* | darwin*) 7003 if test -n "$ac_tool_prefix"; then 7004 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7005set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7007$as_echo_n "checking for $ac_word... " >&6; } 7008if ${ac_cv_prog_DSYMUTIL+:} false; then : 7009 $as_echo_n "(cached) " >&6 7010else 7011 if test -n "$DSYMUTIL"; then 7012 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7013else 7014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7015for as_dir in $PATH 7016do 7017 IFS=$as_save_IFS 7018 test -z "$as_dir" && as_dir=. 7019 for ac_exec_ext in '' $ac_executable_extensions; do 7020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7021 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7023 break 2 7024 fi 7025done 7026 done 7027IFS=$as_save_IFS 7028 7029fi 7030fi 7031DSYMUTIL=$ac_cv_prog_DSYMUTIL 7032if test -n "$DSYMUTIL"; then 7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7034$as_echo "$DSYMUTIL" >&6; } 7035else 7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7037$as_echo "no" >&6; } 7038fi 7039 7040 7041fi 7042if test -z "$ac_cv_prog_DSYMUTIL"; then 7043 ac_ct_DSYMUTIL=$DSYMUTIL 7044 # Extract the first word of "dsymutil", so it can be a program name with args. 7045set dummy dsymutil; ac_word=$2 7046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7047$as_echo_n "checking for $ac_word... " >&6; } 7048if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7049 $as_echo_n "(cached) " >&6 7050else 7051 if test -n "$ac_ct_DSYMUTIL"; then 7052 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7053else 7054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7055for as_dir in $PATH 7056do 7057 IFS=$as_save_IFS 7058 test -z "$as_dir" && as_dir=. 7059 for ac_exec_ext in '' $ac_executable_extensions; do 7060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7061 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7063 break 2 7064 fi 7065done 7066 done 7067IFS=$as_save_IFS 7068 7069fi 7070fi 7071ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7072if test -n "$ac_ct_DSYMUTIL"; then 7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7074$as_echo "$ac_ct_DSYMUTIL" >&6; } 7075else 7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7077$as_echo "no" >&6; } 7078fi 7079 7080 if test "x$ac_ct_DSYMUTIL" = x; then 7081 DSYMUTIL=":" 7082 else 7083 case $cross_compiling:$ac_tool_warned in 7084yes:) 7085{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7086$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7087ac_tool_warned=yes ;; 7088esac 7089 DSYMUTIL=$ac_ct_DSYMUTIL 7090 fi 7091else 7092 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7093fi 7094 7095 if test -n "$ac_tool_prefix"; then 7096 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7097set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7099$as_echo_n "checking for $ac_word... " >&6; } 7100if ${ac_cv_prog_NMEDIT+:} false; then : 7101 $as_echo_n "(cached) " >&6 7102else 7103 if test -n "$NMEDIT"; then 7104 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7105else 7106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7107for as_dir in $PATH 7108do 7109 IFS=$as_save_IFS 7110 test -z "$as_dir" && as_dir=. 7111 for ac_exec_ext in '' $ac_executable_extensions; do 7112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7113 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7115 break 2 7116 fi 7117done 7118 done 7119IFS=$as_save_IFS 7120 7121fi 7122fi 7123NMEDIT=$ac_cv_prog_NMEDIT 7124if test -n "$NMEDIT"; then 7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7126$as_echo "$NMEDIT" >&6; } 7127else 7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7129$as_echo "no" >&6; } 7130fi 7131 7132 7133fi 7134if test -z "$ac_cv_prog_NMEDIT"; then 7135 ac_ct_NMEDIT=$NMEDIT 7136 # Extract the first word of "nmedit", so it can be a program name with args. 7137set dummy nmedit; ac_word=$2 7138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7139$as_echo_n "checking for $ac_word... " >&6; } 7140if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7141 $as_echo_n "(cached) " >&6 7142else 7143 if test -n "$ac_ct_NMEDIT"; then 7144 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7145else 7146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7147for as_dir in $PATH 7148do 7149 IFS=$as_save_IFS 7150 test -z "$as_dir" && as_dir=. 7151 for ac_exec_ext in '' $ac_executable_extensions; do 7152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7153 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7155 break 2 7156 fi 7157done 7158 done 7159IFS=$as_save_IFS 7160 7161fi 7162fi 7163ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7164if test -n "$ac_ct_NMEDIT"; then 7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7166$as_echo "$ac_ct_NMEDIT" >&6; } 7167else 7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7169$as_echo "no" >&6; } 7170fi 7171 7172 if test "x$ac_ct_NMEDIT" = x; then 7173 NMEDIT=":" 7174 else 7175 case $cross_compiling:$ac_tool_warned in 7176yes:) 7177{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7178$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7179ac_tool_warned=yes ;; 7180esac 7181 NMEDIT=$ac_ct_NMEDIT 7182 fi 7183else 7184 NMEDIT="$ac_cv_prog_NMEDIT" 7185fi 7186 7187 if test -n "$ac_tool_prefix"; then 7188 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7189set dummy ${ac_tool_prefix}lipo; ac_word=$2 7190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7191$as_echo_n "checking for $ac_word... " >&6; } 7192if ${ac_cv_prog_LIPO+:} false; then : 7193 $as_echo_n "(cached) " >&6 7194else 7195 if test -n "$LIPO"; then 7196 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7197else 7198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7199for as_dir in $PATH 7200do 7201 IFS=$as_save_IFS 7202 test -z "$as_dir" && as_dir=. 7203 for ac_exec_ext in '' $ac_executable_extensions; do 7204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7205 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7207 break 2 7208 fi 7209done 7210 done 7211IFS=$as_save_IFS 7212 7213fi 7214fi 7215LIPO=$ac_cv_prog_LIPO 7216if test -n "$LIPO"; then 7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7218$as_echo "$LIPO" >&6; } 7219else 7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7221$as_echo "no" >&6; } 7222fi 7223 7224 7225fi 7226if test -z "$ac_cv_prog_LIPO"; then 7227 ac_ct_LIPO=$LIPO 7228 # Extract the first word of "lipo", so it can be a program name with args. 7229set dummy lipo; ac_word=$2 7230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7231$as_echo_n "checking for $ac_word... " >&6; } 7232if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7233 $as_echo_n "(cached) " >&6 7234else 7235 if test -n "$ac_ct_LIPO"; then 7236 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7237else 7238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7239for as_dir in $PATH 7240do 7241 IFS=$as_save_IFS 7242 test -z "$as_dir" && as_dir=. 7243 for ac_exec_ext in '' $ac_executable_extensions; do 7244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7245 ac_cv_prog_ac_ct_LIPO="lipo" 7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7247 break 2 7248 fi 7249done 7250 done 7251IFS=$as_save_IFS 7252 7253fi 7254fi 7255ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7256if test -n "$ac_ct_LIPO"; then 7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7258$as_echo "$ac_ct_LIPO" >&6; } 7259else 7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7261$as_echo "no" >&6; } 7262fi 7263 7264 if test "x$ac_ct_LIPO" = x; then 7265 LIPO=":" 7266 else 7267 case $cross_compiling:$ac_tool_warned in 7268yes:) 7269{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7270$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7271ac_tool_warned=yes ;; 7272esac 7273 LIPO=$ac_ct_LIPO 7274 fi 7275else 7276 LIPO="$ac_cv_prog_LIPO" 7277fi 7278 7279 if test -n "$ac_tool_prefix"; then 7280 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7281set dummy ${ac_tool_prefix}otool; ac_word=$2 7282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7283$as_echo_n "checking for $ac_word... " >&6; } 7284if ${ac_cv_prog_OTOOL+:} false; then : 7285 $as_echo_n "(cached) " >&6 7286else 7287 if test -n "$OTOOL"; then 7288 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7289else 7290as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7291for as_dir in $PATH 7292do 7293 IFS=$as_save_IFS 7294 test -z "$as_dir" && as_dir=. 7295 for ac_exec_ext in '' $ac_executable_extensions; do 7296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7297 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7299 break 2 7300 fi 7301done 7302 done 7303IFS=$as_save_IFS 7304 7305fi 7306fi 7307OTOOL=$ac_cv_prog_OTOOL 7308if test -n "$OTOOL"; then 7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7310$as_echo "$OTOOL" >&6; } 7311else 7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7313$as_echo "no" >&6; } 7314fi 7315 7316 7317fi 7318if test -z "$ac_cv_prog_OTOOL"; then 7319 ac_ct_OTOOL=$OTOOL 7320 # Extract the first word of "otool", so it can be a program name with args. 7321set dummy otool; ac_word=$2 7322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7323$as_echo_n "checking for $ac_word... " >&6; } 7324if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7325 $as_echo_n "(cached) " >&6 7326else 7327 if test -n "$ac_ct_OTOOL"; then 7328 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7329else 7330as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7331for as_dir in $PATH 7332do 7333 IFS=$as_save_IFS 7334 test -z "$as_dir" && as_dir=. 7335 for ac_exec_ext in '' $ac_executable_extensions; do 7336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7337 ac_cv_prog_ac_ct_OTOOL="otool" 7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7339 break 2 7340 fi 7341done 7342 done 7343IFS=$as_save_IFS 7344 7345fi 7346fi 7347ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7348if test -n "$ac_ct_OTOOL"; then 7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7350$as_echo "$ac_ct_OTOOL" >&6; } 7351else 7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7353$as_echo "no" >&6; } 7354fi 7355 7356 if test "x$ac_ct_OTOOL" = x; then 7357 OTOOL=":" 7358 else 7359 case $cross_compiling:$ac_tool_warned in 7360yes:) 7361{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7362$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7363ac_tool_warned=yes ;; 7364esac 7365 OTOOL=$ac_ct_OTOOL 7366 fi 7367else 7368 OTOOL="$ac_cv_prog_OTOOL" 7369fi 7370 7371 if test -n "$ac_tool_prefix"; then 7372 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7373set dummy ${ac_tool_prefix}otool64; ac_word=$2 7374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7375$as_echo_n "checking for $ac_word... " >&6; } 7376if ${ac_cv_prog_OTOOL64+:} false; then : 7377 $as_echo_n "(cached) " >&6 7378else 7379 if test -n "$OTOOL64"; then 7380 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7381else 7382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7383for as_dir in $PATH 7384do 7385 IFS=$as_save_IFS 7386 test -z "$as_dir" && as_dir=. 7387 for ac_exec_ext in '' $ac_executable_extensions; do 7388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7389 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7391 break 2 7392 fi 7393done 7394 done 7395IFS=$as_save_IFS 7396 7397fi 7398fi 7399OTOOL64=$ac_cv_prog_OTOOL64 7400if test -n "$OTOOL64"; then 7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7402$as_echo "$OTOOL64" >&6; } 7403else 7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7405$as_echo "no" >&6; } 7406fi 7407 7408 7409fi 7410if test -z "$ac_cv_prog_OTOOL64"; then 7411 ac_ct_OTOOL64=$OTOOL64 7412 # Extract the first word of "otool64", so it can be a program name with args. 7413set dummy otool64; ac_word=$2 7414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7415$as_echo_n "checking for $ac_word... " >&6; } 7416if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7417 $as_echo_n "(cached) " >&6 7418else 7419 if test -n "$ac_ct_OTOOL64"; then 7420 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7421else 7422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7423for as_dir in $PATH 7424do 7425 IFS=$as_save_IFS 7426 test -z "$as_dir" && as_dir=. 7427 for ac_exec_ext in '' $ac_executable_extensions; do 7428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7429 ac_cv_prog_ac_ct_OTOOL64="otool64" 7430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7431 break 2 7432 fi 7433done 7434 done 7435IFS=$as_save_IFS 7436 7437fi 7438fi 7439ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7440if test -n "$ac_ct_OTOOL64"; then 7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7442$as_echo "$ac_ct_OTOOL64" >&6; } 7443else 7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7445$as_echo "no" >&6; } 7446fi 7447 7448 if test "x$ac_ct_OTOOL64" = x; then 7449 OTOOL64=":" 7450 else 7451 case $cross_compiling:$ac_tool_warned in 7452yes:) 7453{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7454$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7455ac_tool_warned=yes ;; 7456esac 7457 OTOOL64=$ac_ct_OTOOL64 7458 fi 7459else 7460 OTOOL64="$ac_cv_prog_OTOOL64" 7461fi 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7490$as_echo_n "checking for -single_module linker flag... " >&6; } 7491if ${lt_cv_apple_cc_single_mod+:} false; then : 7492 $as_echo_n "(cached) " >&6 7493else 7494 lt_cv_apple_cc_single_mod=no 7495 if test -z "$LT_MULTI_MODULE"; then 7496 # By default we will add the -single_module flag. You can override 7497 # by either setting the environment variable LT_MULTI_MODULE 7498 # non-empty at configure time, or by adding -multi_module to the 7499 # link flags. 7500 rm -rf libconftest.dylib* 7501 echo "int foo(void){return 1;}" > conftest.c 7502 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7503-dynamiclib -Wl,-single_module conftest.c" >&5 7504 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7505 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7506 _lt_result=$? 7507 # If there is a non-empty error log, and "single_module" 7508 # appears in it, assume the flag caused a linker warning 7509 if test -s conftest.err && $GREP single_module conftest.err; then 7510 cat conftest.err >&5 7511 # Otherwise, if the output was created with a 0 exit code from 7512 # the compiler, it worked. 7513 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7514 lt_cv_apple_cc_single_mod=yes 7515 else 7516 cat conftest.err >&5 7517 fi 7518 rm -rf libconftest.dylib* 7519 rm -f conftest.* 7520 fi 7521fi 7522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7523$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7524 7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7526$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7527if ${lt_cv_ld_exported_symbols_list+:} false; then : 7528 $as_echo_n "(cached) " >&6 7529else 7530 lt_cv_ld_exported_symbols_list=no 7531 save_LDFLAGS=$LDFLAGS 7532 echo "_main" > conftest.sym 7533 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7535/* end confdefs.h. */ 7536 7537int 7538main () 7539{ 7540 7541 ; 7542 return 0; 7543} 7544_ACEOF 7545if ac_fn_c_try_link "$LINENO"; then : 7546 lt_cv_ld_exported_symbols_list=yes 7547else 7548 lt_cv_ld_exported_symbols_list=no 7549fi 7550rm -f core conftest.err conftest.$ac_objext \ 7551 conftest$ac_exeext conftest.$ac_ext 7552 LDFLAGS=$save_LDFLAGS 7553 7554fi 7555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7556$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7557 7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7559$as_echo_n "checking for -force_load linker flag... " >&6; } 7560if ${lt_cv_ld_force_load+:} false; then : 7561 $as_echo_n "(cached) " >&6 7562else 7563 lt_cv_ld_force_load=no 7564 cat > conftest.c << _LT_EOF 7565int forced_loaded() { return 2;} 7566_LT_EOF 7567 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7568 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7569 echo "$AR cru libconftest.a conftest.o" >&5 7570 $AR cru libconftest.a conftest.o 2>&5 7571 echo "$RANLIB libconftest.a" >&5 7572 $RANLIB libconftest.a 2>&5 7573 cat > conftest.c << _LT_EOF 7574int main() { return 0;} 7575_LT_EOF 7576 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7577 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7578 _lt_result=$? 7579 if test -s conftest.err && $GREP force_load conftest.err; then 7580 cat conftest.err >&5 7581 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7582 lt_cv_ld_force_load=yes 7583 else 7584 cat conftest.err >&5 7585 fi 7586 rm -f conftest.err libconftest.a conftest conftest.c 7587 rm -rf conftest.dSYM 7588 7589fi 7590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7591$as_echo "$lt_cv_ld_force_load" >&6; } 7592 case $host_os in 7593 rhapsody* | darwin1.[012]) 7594 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7595 darwin1.*) 7596 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7597 darwin*) # darwin 5.x on 7598 # if running on 10.5 or later, the deployment target defaults 7599 # to the OS version, if on x86, and 10.4, the deployment 7600 # target defaults to 10.4. Don't you love it? 7601 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7602 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7603 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7604 10.[012][,.]*) 7605 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7606 10.*) 7607 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7608 esac 7609 ;; 7610 esac 7611 if test yes = "$lt_cv_apple_cc_single_mod"; then 7612 _lt_dar_single_mod='$single_module' 7613 fi 7614 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7615 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7616 else 7617 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7618 fi 7619 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7620 _lt_dsymutil='~$DSYMUTIL $lib || :' 7621 else 7622 _lt_dsymutil= 7623 fi 7624 ;; 7625 esac 7626 7627# func_munge_path_list VARIABLE PATH 7628# ----------------------------------- 7629# VARIABLE is name of variable containing _space_ separated list of 7630# directories to be munged by the contents of PATH, which is string 7631# having a format: 7632# "DIR[:DIR]:" 7633# string "DIR[ DIR]" will be prepended to VARIABLE 7634# ":DIR[:DIR]" 7635# string "DIR[ DIR]" will be appended to VARIABLE 7636# "DIRP[:DIRP]::[DIRA:]DIRA" 7637# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7638# "DIRA[ DIRA]" will be appended to VARIABLE 7639# "DIR[:DIR]" 7640# VARIABLE will be replaced by "DIR[ DIR]" 7641func_munge_path_list () 7642{ 7643 case x$2 in 7644 x) 7645 ;; 7646 *:) 7647 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7648 ;; 7649 x:*) 7650 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7651 ;; 7652 *::*) 7653 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7654 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7655 ;; 7656 *) 7657 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7658 ;; 7659 esac 7660} 7661 7662ac_ext=c 7663ac_cpp='$CPP $CPPFLAGS' 7664ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7665ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7666ac_compiler_gnu=$ac_cv_c_compiler_gnu 7667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7668$as_echo_n "checking how to run the C preprocessor... " >&6; } 7669# On Suns, sometimes $CPP names a directory. 7670if test -n "$CPP" && test -d "$CPP"; then 7671 CPP= 7672fi 7673if test -z "$CPP"; then 7674 if ${ac_cv_prog_CPP+:} false; then : 7675 $as_echo_n "(cached) " >&6 7676else 7677 # Double quotes because CPP needs to be expanded 7678 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7679 do 7680 ac_preproc_ok=false 7681for ac_c_preproc_warn_flag in '' yes 7682do 7683 # Use a header file that comes with gcc, so configuring glibc 7684 # with a fresh cross-compiler works. 7685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7686 # <limits.h> exists even on freestanding compilers. 7687 # On the NeXT, cc -E runs the code through the compiler's parser, 7688 # not just through cpp. "Syntax error" is here to catch this case. 7689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7690/* end confdefs.h. */ 7691#ifdef __STDC__ 7692# include <limits.h> 7693#else 7694# include <assert.h> 7695#endif 7696 Syntax error 7697_ACEOF 7698if ac_fn_c_try_cpp "$LINENO"; then : 7699 7700else 7701 # Broken: fails on valid input. 7702continue 7703fi 7704rm -f conftest.err conftest.i conftest.$ac_ext 7705 7706 # OK, works on sane cases. Now check whether nonexistent headers 7707 # can be detected and how. 7708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7709/* end confdefs.h. */ 7710#include <ac_nonexistent.h> 7711_ACEOF 7712if ac_fn_c_try_cpp "$LINENO"; then : 7713 # Broken: success on invalid input. 7714continue 7715else 7716 # Passes both tests. 7717ac_preproc_ok=: 7718break 7719fi 7720rm -f conftest.err conftest.i conftest.$ac_ext 7721 7722done 7723# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7724rm -f conftest.i conftest.err conftest.$ac_ext 7725if $ac_preproc_ok; then : 7726 break 7727fi 7728 7729 done 7730 ac_cv_prog_CPP=$CPP 7731 7732fi 7733 CPP=$ac_cv_prog_CPP 7734else 7735 ac_cv_prog_CPP=$CPP 7736fi 7737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7738$as_echo "$CPP" >&6; } 7739ac_preproc_ok=false 7740for ac_c_preproc_warn_flag in '' yes 7741do 7742 # Use a header file that comes with gcc, so configuring glibc 7743 # with a fresh cross-compiler works. 7744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7745 # <limits.h> exists even on freestanding compilers. 7746 # On the NeXT, cc -E runs the code through the compiler's parser, 7747 # not just through cpp. "Syntax error" is here to catch this case. 7748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7749/* end confdefs.h. */ 7750#ifdef __STDC__ 7751# include <limits.h> 7752#else 7753# include <assert.h> 7754#endif 7755 Syntax error 7756_ACEOF 7757if ac_fn_c_try_cpp "$LINENO"; then : 7758 7759else 7760 # Broken: fails on valid input. 7761continue 7762fi 7763rm -f conftest.err conftest.i conftest.$ac_ext 7764 7765 # OK, works on sane cases. Now check whether nonexistent headers 7766 # can be detected and how. 7767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7768/* end confdefs.h. */ 7769#include <ac_nonexistent.h> 7770_ACEOF 7771if ac_fn_c_try_cpp "$LINENO"; then : 7772 # Broken: success on invalid input. 7773continue 7774else 7775 # Passes both tests. 7776ac_preproc_ok=: 7777break 7778fi 7779rm -f conftest.err conftest.i conftest.$ac_ext 7780 7781done 7782# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7783rm -f conftest.i conftest.err conftest.$ac_ext 7784if $ac_preproc_ok; then : 7785 7786else 7787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7788$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7789as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7790See \`config.log' for more details" "$LINENO" 5; } 7791fi 7792 7793ac_ext=c 7794ac_cpp='$CPP $CPPFLAGS' 7795ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7796ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7797ac_compiler_gnu=$ac_cv_c_compiler_gnu 7798 7799 7800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7801$as_echo_n "checking for ANSI C header files... " >&6; } 7802if ${ac_cv_header_stdc+:} false; then : 7803 $as_echo_n "(cached) " >&6 7804else 7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7806/* end confdefs.h. */ 7807#include <stdlib.h> 7808#include <stdarg.h> 7809#include <string.h> 7810#include <float.h> 7811 7812int 7813main () 7814{ 7815 7816 ; 7817 return 0; 7818} 7819_ACEOF 7820if ac_fn_c_try_compile "$LINENO"; then : 7821 ac_cv_header_stdc=yes 7822else 7823 ac_cv_header_stdc=no 7824fi 7825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7826 7827if test $ac_cv_header_stdc = yes; then 7828 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7830/* end confdefs.h. */ 7831#include <string.h> 7832 7833_ACEOF 7834if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7835 $EGREP "memchr" >/dev/null 2>&1; then : 7836 7837else 7838 ac_cv_header_stdc=no 7839fi 7840rm -f conftest* 7841 7842fi 7843 7844if test $ac_cv_header_stdc = yes; then 7845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7847/* end confdefs.h. */ 7848#include <stdlib.h> 7849 7850_ACEOF 7851if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7852 $EGREP "free" >/dev/null 2>&1; then : 7853 7854else 7855 ac_cv_header_stdc=no 7856fi 7857rm -f conftest* 7858 7859fi 7860 7861if test $ac_cv_header_stdc = yes; then 7862 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7863 if test "$cross_compiling" = yes; then : 7864 : 7865else 7866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7867/* end confdefs.h. */ 7868#include <ctype.h> 7869#include <stdlib.h> 7870#if ((' ' & 0x0FF) == 0x020) 7871# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7872# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7873#else 7874# define ISLOWER(c) \ 7875 (('a' <= (c) && (c) <= 'i') \ 7876 || ('j' <= (c) && (c) <= 'r') \ 7877 || ('s' <= (c) && (c) <= 'z')) 7878# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7879#endif 7880 7881#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7882int 7883main () 7884{ 7885 int i; 7886 for (i = 0; i < 256; i++) 7887 if (XOR (islower (i), ISLOWER (i)) 7888 || toupper (i) != TOUPPER (i)) 7889 return 2; 7890 return 0; 7891} 7892_ACEOF 7893if ac_fn_c_try_run "$LINENO"; then : 7894 7895else 7896 ac_cv_header_stdc=no 7897fi 7898rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7899 conftest.$ac_objext conftest.beam conftest.$ac_ext 7900fi 7901 7902fi 7903fi 7904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7905$as_echo "$ac_cv_header_stdc" >&6; } 7906if test $ac_cv_header_stdc = yes; then 7907 7908$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7909 7910fi 7911 7912# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7913for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7914 inttypes.h stdint.h unistd.h 7915do : 7916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7917ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7918" 7919if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7920 cat >>confdefs.h <<_ACEOF 7921#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7922_ACEOF 7923 7924fi 7925 7926done 7927 7928 7929for ac_header in dlfcn.h 7930do : 7931 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7932" 7933if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7934 cat >>confdefs.h <<_ACEOF 7935#define HAVE_DLFCN_H 1 7936_ACEOF 7937 7938fi 7939 7940done 7941 7942 7943 7944 7945 7946# Set options 7947# Check whether --enable-static was given. 7948if test "${enable_static+set}" = set; then : 7949 enableval=$enable_static; p=${PACKAGE-default} 7950 case $enableval in 7951 yes) enable_static=yes ;; 7952 no) enable_static=no ;; 7953 *) 7954 enable_static=no 7955 # Look at the argument we got. We use all the common list separators. 7956 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7957 for pkg in $enableval; do 7958 IFS=$lt_save_ifs 7959 if test "X$pkg" = "X$p"; then 7960 enable_static=yes 7961 fi 7962 done 7963 IFS=$lt_save_ifs 7964 ;; 7965 esac 7966else 7967 enable_static=no 7968fi 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 enable_dlopen=no 7980 7981 7982 enable_win32_dll=no 7983 7984 7985 # Check whether --enable-shared was given. 7986if test "${enable_shared+set}" = set; then : 7987 enableval=$enable_shared; p=${PACKAGE-default} 7988 case $enableval in 7989 yes) enable_shared=yes ;; 7990 no) enable_shared=no ;; 7991 *) 7992 enable_shared=no 7993 # Look at the argument we got. We use all the common list separators. 7994 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7995 for pkg in $enableval; do 7996 IFS=$lt_save_ifs 7997 if test "X$pkg" = "X$p"; then 7998 enable_shared=yes 7999 fi 8000 done 8001 IFS=$lt_save_ifs 8002 ;; 8003 esac 8004else 8005 enable_shared=yes 8006fi 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018# Check whether --with-pic was given. 8019if test "${with_pic+set}" = set; then : 8020 withval=$with_pic; lt_p=${PACKAGE-default} 8021 case $withval in 8022 yes|no) pic_mode=$withval ;; 8023 *) 8024 pic_mode=default 8025 # Look at the argument we got. We use all the common list separators. 8026 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8027 for lt_pkg in $withval; do 8028 IFS=$lt_save_ifs 8029 if test "X$lt_pkg" = "X$lt_p"; then 8030 pic_mode=yes 8031 fi 8032 done 8033 IFS=$lt_save_ifs 8034 ;; 8035 esac 8036else 8037 pic_mode=default 8038fi 8039 8040 8041 8042 8043 8044 8045 8046 8047 # Check whether --enable-fast-install was given. 8048if test "${enable_fast_install+set}" = set; then : 8049 enableval=$enable_fast_install; p=${PACKAGE-default} 8050 case $enableval in 8051 yes) enable_fast_install=yes ;; 8052 no) enable_fast_install=no ;; 8053 *) 8054 enable_fast_install=no 8055 # Look at the argument we got. We use all the common list separators. 8056 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8057 for pkg in $enableval; do 8058 IFS=$lt_save_ifs 8059 if test "X$pkg" = "X$p"; then 8060 enable_fast_install=yes 8061 fi 8062 done 8063 IFS=$lt_save_ifs 8064 ;; 8065 esac 8066else 8067 enable_fast_install=yes 8068fi 8069 8070 8071 8072 8073 8074 8075 8076 8077 shared_archive_member_spec= 8078case $host,$enable_shared in 8079power*-*-aix[5-9]*,yes) 8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8081$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8082 8083# Check whether --with-aix-soname was given. 8084if test "${with_aix_soname+set}" = set; then : 8085 withval=$with_aix_soname; case $withval in 8086 aix|svr4|both) 8087 ;; 8088 *) 8089 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8090 ;; 8091 esac 8092 lt_cv_with_aix_soname=$with_aix_soname 8093else 8094 if ${lt_cv_with_aix_soname+:} false; then : 8095 $as_echo_n "(cached) " >&6 8096else 8097 lt_cv_with_aix_soname=aix 8098fi 8099 8100 with_aix_soname=$lt_cv_with_aix_soname 8101fi 8102 8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8104$as_echo "$with_aix_soname" >&6; } 8105 if test aix != "$with_aix_soname"; then 8106 # For the AIX way of multilib, we name the shared archive member 8107 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8108 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8109 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8110 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8111 if test 64 = "${OBJECT_MODE-32}"; then 8112 shared_archive_member_spec=shr_64 8113 else 8114 shared_archive_member_spec=shr 8115 fi 8116 fi 8117 ;; 8118*) 8119 with_aix_soname=aix 8120 ;; 8121esac 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132# This can be used to rebuild libtool when needed 8133LIBTOOL_DEPS=$ltmain 8134 8135# Always use our own libtool. 8136LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167test -z "$LN_S" && LN_S="ln -s" 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182if test -n "${ZSH_VERSION+set}"; then 8183 setopt NO_GLOB_SUBST 8184fi 8185 8186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8187$as_echo_n "checking for objdir... " >&6; } 8188if ${lt_cv_objdir+:} false; then : 8189 $as_echo_n "(cached) " >&6 8190else 8191 rm -f .libs 2>/dev/null 8192mkdir .libs 2>/dev/null 8193if test -d .libs; then 8194 lt_cv_objdir=.libs 8195else 8196 # MS-DOS does not allow filenames that begin with a dot. 8197 lt_cv_objdir=_libs 8198fi 8199rmdir .libs 2>/dev/null 8200fi 8201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8202$as_echo "$lt_cv_objdir" >&6; } 8203objdir=$lt_cv_objdir 8204 8205 8206 8207 8208 8209cat >>confdefs.h <<_ACEOF 8210#define LT_OBJDIR "$lt_cv_objdir/" 8211_ACEOF 8212 8213 8214 8215 8216case $host_os in 8217aix3*) 8218 # AIX sometimes has problems with the GCC collect2 program. For some 8219 # reason, if we set the COLLECT_NAMES environment variable, the problems 8220 # vanish in a puff of smoke. 8221 if test set != "${COLLECT_NAMES+set}"; then 8222 COLLECT_NAMES= 8223 export COLLECT_NAMES 8224 fi 8225 ;; 8226esac 8227 8228# Global variables: 8229ofile=libtool 8230can_build_shared=yes 8231 8232# All known linkers require a '.a' archive for static linking (except MSVC, 8233# which needs '.lib'). 8234libext=a 8235 8236with_gnu_ld=$lt_cv_prog_gnu_ld 8237 8238old_CC=$CC 8239old_CFLAGS=$CFLAGS 8240 8241# Set sane defaults for various variables 8242test -z "$CC" && CC=cc 8243test -z "$LTCC" && LTCC=$CC 8244test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8245test -z "$LD" && LD=ld 8246test -z "$ac_objext" && ac_objext=o 8247 8248func_cc_basename $compiler 8249cc_basename=$func_cc_basename_result 8250 8251 8252# Only perform the check for file, if the check method requires it 8253test -z "$MAGIC_CMD" && MAGIC_CMD=file 8254case $deplibs_check_method in 8255file_magic*) 8256 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8258$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8259if ${lt_cv_path_MAGIC_CMD+:} false; then : 8260 $as_echo_n "(cached) " >&6 8261else 8262 case $MAGIC_CMD in 8263[\\/*] | ?:[\\/]*) 8264 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8265 ;; 8266*) 8267 lt_save_MAGIC_CMD=$MAGIC_CMD 8268 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8269 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8270 for ac_dir in $ac_dummy; do 8271 IFS=$lt_save_ifs 8272 test -z "$ac_dir" && ac_dir=. 8273 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8274 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8275 if test -n "$file_magic_test_file"; then 8276 case $deplibs_check_method in 8277 "file_magic "*) 8278 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8279 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8280 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8281 $EGREP "$file_magic_regex" > /dev/null; then 8282 : 8283 else 8284 cat <<_LT_EOF 1>&2 8285 8286*** Warning: the command libtool uses to detect shared libraries, 8287*** $file_magic_cmd, produces output that libtool cannot recognize. 8288*** The result is that libtool may fail to recognize shared libraries 8289*** as such. This will affect the creation of libtool libraries that 8290*** depend on shared libraries, but programs linked with such libtool 8291*** libraries will work regardless of this problem. Nevertheless, you 8292*** may want to report the problem to your system manager and/or to 8293*** bug-libtool@gnu.org 8294 8295_LT_EOF 8296 fi ;; 8297 esac 8298 fi 8299 break 8300 fi 8301 done 8302 IFS=$lt_save_ifs 8303 MAGIC_CMD=$lt_save_MAGIC_CMD 8304 ;; 8305esac 8306fi 8307 8308MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8309if test -n "$MAGIC_CMD"; then 8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8311$as_echo "$MAGIC_CMD" >&6; } 8312else 8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8314$as_echo "no" >&6; } 8315fi 8316 8317 8318 8319 8320 8321if test -z "$lt_cv_path_MAGIC_CMD"; then 8322 if test -n "$ac_tool_prefix"; then 8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8324$as_echo_n "checking for file... " >&6; } 8325if ${lt_cv_path_MAGIC_CMD+:} false; then : 8326 $as_echo_n "(cached) " >&6 8327else 8328 case $MAGIC_CMD in 8329[\\/*] | ?:[\\/]*) 8330 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8331 ;; 8332*) 8333 lt_save_MAGIC_CMD=$MAGIC_CMD 8334 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8335 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8336 for ac_dir in $ac_dummy; do 8337 IFS=$lt_save_ifs 8338 test -z "$ac_dir" && ac_dir=. 8339 if test -f "$ac_dir/file"; then 8340 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8341 if test -n "$file_magic_test_file"; then 8342 case $deplibs_check_method in 8343 "file_magic "*) 8344 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8345 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8346 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8347 $EGREP "$file_magic_regex" > /dev/null; then 8348 : 8349 else 8350 cat <<_LT_EOF 1>&2 8351 8352*** Warning: the command libtool uses to detect shared libraries, 8353*** $file_magic_cmd, produces output that libtool cannot recognize. 8354*** The result is that libtool may fail to recognize shared libraries 8355*** as such. This will affect the creation of libtool libraries that 8356*** depend on shared libraries, but programs linked with such libtool 8357*** libraries will work regardless of this problem. Nevertheless, you 8358*** may want to report the problem to your system manager and/or to 8359*** bug-libtool@gnu.org 8360 8361_LT_EOF 8362 fi ;; 8363 esac 8364 fi 8365 break 8366 fi 8367 done 8368 IFS=$lt_save_ifs 8369 MAGIC_CMD=$lt_save_MAGIC_CMD 8370 ;; 8371esac 8372fi 8373 8374MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8375if test -n "$MAGIC_CMD"; then 8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8377$as_echo "$MAGIC_CMD" >&6; } 8378else 8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8380$as_echo "no" >&6; } 8381fi 8382 8383 8384 else 8385 MAGIC_CMD=: 8386 fi 8387fi 8388 8389 fi 8390 ;; 8391esac 8392 8393# Use C for the default configuration in the libtool script 8394 8395lt_save_CC=$CC 8396ac_ext=c 8397ac_cpp='$CPP $CPPFLAGS' 8398ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8399ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8400ac_compiler_gnu=$ac_cv_c_compiler_gnu 8401 8402 8403# Source file extension for C test sources. 8404ac_ext=c 8405 8406# Object file extension for compiled C test sources. 8407objext=o 8408objext=$objext 8409 8410# Code to be used in simple compile tests 8411lt_simple_compile_test_code="int some_variable = 0;" 8412 8413# Code to be used in simple link tests 8414lt_simple_link_test_code='int main(){return(0);}' 8415 8416 8417 8418 8419 8420 8421 8422# If no C compiler was specified, use CC. 8423LTCC=${LTCC-"$CC"} 8424 8425# If no C compiler flags were specified, use CFLAGS. 8426LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8427 8428# Allow CC to be a program name with arguments. 8429compiler=$CC 8430 8431# Save the default compiler, since it gets overwritten when the other 8432# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8433compiler_DEFAULT=$CC 8434 8435# save warnings/boilerplate of simple test code 8436ac_outfile=conftest.$ac_objext 8437echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8438eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8439_lt_compiler_boilerplate=`cat conftest.err` 8440$RM conftest* 8441 8442ac_outfile=conftest.$ac_objext 8443echo "$lt_simple_link_test_code" >conftest.$ac_ext 8444eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8445_lt_linker_boilerplate=`cat conftest.err` 8446$RM -r conftest* 8447 8448 8449## CAVEAT EMPTOR: 8450## There is no encapsulation within the following macros, do not change 8451## the running order or otherwise move them around unless you know exactly 8452## what you are doing... 8453if test -n "$compiler"; then 8454 8455lt_prog_compiler_no_builtin_flag= 8456 8457if test yes = "$GCC"; then 8458 case $cc_basename in 8459 nvcc*) 8460 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8461 *) 8462 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8463 esac 8464 8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8466$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8467if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8468 $as_echo_n "(cached) " >&6 8469else 8470 lt_cv_prog_compiler_rtti_exceptions=no 8471 ac_outfile=conftest.$ac_objext 8472 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8473 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8474 # Insert the option either (1) after the last *FLAGS variable, or 8475 # (2) before a word containing "conftest.", or (3) at the end. 8476 # Note that $ac_compile itself does not contain backslashes and begins 8477 # with a dollar sign (not a hyphen), so the echo should work correctly. 8478 # The option is referenced via a variable to avoid confusing sed. 8479 lt_compile=`echo "$ac_compile" | $SED \ 8480 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8481 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8482 -e 's:$: $lt_compiler_flag:'` 8483 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8484 (eval "$lt_compile" 2>conftest.err) 8485 ac_status=$? 8486 cat conftest.err >&5 8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8488 if (exit $ac_status) && test -s "$ac_outfile"; then 8489 # The compiler can only warn and ignore the option if not recognized 8490 # So say no if there are warnings other than the usual output. 8491 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8492 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8493 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8494 lt_cv_prog_compiler_rtti_exceptions=yes 8495 fi 8496 fi 8497 $RM conftest* 8498 8499fi 8500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8501$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8502 8503if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8504 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8505else 8506 : 8507fi 8508 8509fi 8510 8511 8512 8513 8514 8515 8516 lt_prog_compiler_wl= 8517lt_prog_compiler_pic= 8518lt_prog_compiler_static= 8519 8520 8521 if test yes = "$GCC"; then 8522 lt_prog_compiler_wl='-Wl,' 8523 lt_prog_compiler_static='-static' 8524 8525 case $host_os in 8526 aix*) 8527 # All AIX code is PIC. 8528 if test ia64 = "$host_cpu"; then 8529 # AIX 5 now supports IA64 processor 8530 lt_prog_compiler_static='-Bstatic' 8531 fi 8532 lt_prog_compiler_pic='-fPIC' 8533 ;; 8534 8535 amigaos*) 8536 case $host_cpu in 8537 powerpc) 8538 # see comment about AmigaOS4 .so support 8539 lt_prog_compiler_pic='-fPIC' 8540 ;; 8541 m68k) 8542 # FIXME: we need at least 68020 code to build shared libraries, but 8543 # adding the '-m68020' flag to GCC prevents building anything better, 8544 # like '-m68040'. 8545 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8546 ;; 8547 esac 8548 ;; 8549 8550 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8551 # PIC is the default for these OSes. 8552 ;; 8553 8554 mingw* | cygwin* | pw32* | os2* | cegcc*) 8555 # This hack is so that the source file can tell whether it is being 8556 # built for inclusion in a dll (and should export symbols for example). 8557 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8558 # (--disable-auto-import) libraries 8559 lt_prog_compiler_pic='-DDLL_EXPORT' 8560 case $host_os in 8561 os2*) 8562 lt_prog_compiler_static='$wl-static' 8563 ;; 8564 esac 8565 ;; 8566 8567 darwin* | rhapsody*) 8568 # PIC is the default on this platform 8569 # Common symbols not allowed in MH_DYLIB files 8570 lt_prog_compiler_pic='-fno-common' 8571 ;; 8572 8573 haiku*) 8574 # PIC is the default for Haiku. 8575 # The "-static" flag exists, but is broken. 8576 lt_prog_compiler_static= 8577 ;; 8578 8579 hpux*) 8580 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8581 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8582 # sets the default TLS model and affects inlining. 8583 case $host_cpu in 8584 hppa*64*) 8585 # +Z the default 8586 ;; 8587 *) 8588 lt_prog_compiler_pic='-fPIC' 8589 ;; 8590 esac 8591 ;; 8592 8593 interix[3-9]*) 8594 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8595 # Instead, we relocate shared libraries at runtime. 8596 ;; 8597 8598 msdosdjgpp*) 8599 # Just because we use GCC doesn't mean we suddenly get shared libraries 8600 # on systems that don't support them. 8601 lt_prog_compiler_can_build_shared=no 8602 enable_shared=no 8603 ;; 8604 8605 *nto* | *qnx*) 8606 # QNX uses GNU C++, but need to define -shared option too, otherwise 8607 # it will coredump. 8608 lt_prog_compiler_pic='-fPIC -shared' 8609 ;; 8610 8611 sysv4*MP*) 8612 if test -d /usr/nec; then 8613 lt_prog_compiler_pic=-Kconform_pic 8614 fi 8615 ;; 8616 8617 *) 8618 lt_prog_compiler_pic='-fPIC' 8619 ;; 8620 esac 8621 8622 case $cc_basename in 8623 nvcc*) # Cuda Compiler Driver 2.2 8624 lt_prog_compiler_wl='-Xlinker ' 8625 if test -n "$lt_prog_compiler_pic"; then 8626 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8627 fi 8628 ;; 8629 esac 8630 else 8631 # PORTME Check for flag to pass linker flags through the system compiler. 8632 case $host_os in 8633 aix*) 8634 lt_prog_compiler_wl='-Wl,' 8635 if test ia64 = "$host_cpu"; then 8636 # AIX 5 now supports IA64 processor 8637 lt_prog_compiler_static='-Bstatic' 8638 else 8639 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8640 fi 8641 ;; 8642 8643 darwin* | rhapsody*) 8644 # PIC is the default on this platform 8645 # Common symbols not allowed in MH_DYLIB files 8646 lt_prog_compiler_pic='-fno-common' 8647 case $cc_basename in 8648 nagfor*) 8649 # NAG Fortran compiler 8650 lt_prog_compiler_wl='-Wl,-Wl,,' 8651 lt_prog_compiler_pic='-PIC' 8652 lt_prog_compiler_static='-Bstatic' 8653 ;; 8654 esac 8655 ;; 8656 8657 mingw* | cygwin* | pw32* | os2* | cegcc*) 8658 # This hack is so that the source file can tell whether it is being 8659 # built for inclusion in a dll (and should export symbols for example). 8660 lt_prog_compiler_pic='-DDLL_EXPORT' 8661 case $host_os in 8662 os2*) 8663 lt_prog_compiler_static='$wl-static' 8664 ;; 8665 esac 8666 ;; 8667 8668 hpux9* | hpux10* | hpux11*) 8669 lt_prog_compiler_wl='-Wl,' 8670 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8671 # not for PA HP-UX. 8672 case $host_cpu in 8673 hppa*64*|ia64*) 8674 # +Z the default 8675 ;; 8676 *) 8677 lt_prog_compiler_pic='+Z' 8678 ;; 8679 esac 8680 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8681 lt_prog_compiler_static='$wl-a ${wl}archive' 8682 ;; 8683 8684 irix5* | irix6* | nonstopux*) 8685 lt_prog_compiler_wl='-Wl,' 8686 # PIC (with -KPIC) is the default. 8687 lt_prog_compiler_static='-non_shared' 8688 ;; 8689 8690 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8691 case $cc_basename in 8692 # old Intel for x86_64, which still supported -KPIC. 8693 ecc*) 8694 lt_prog_compiler_wl='-Wl,' 8695 lt_prog_compiler_pic='-KPIC' 8696 lt_prog_compiler_static='-static' 8697 ;; 8698 # icc used to be incompatible with GCC. 8699 # ICC 10 doesn't accept -KPIC any more. 8700 icc* | ifort*) 8701 lt_prog_compiler_wl='-Wl,' 8702 lt_prog_compiler_pic='-fPIC' 8703 lt_prog_compiler_static='-static' 8704 ;; 8705 # Lahey Fortran 8.1. 8706 lf95*) 8707 lt_prog_compiler_wl='-Wl,' 8708 lt_prog_compiler_pic='--shared' 8709 lt_prog_compiler_static='--static' 8710 ;; 8711 nagfor*) 8712 # NAG Fortran compiler 8713 lt_prog_compiler_wl='-Wl,-Wl,,' 8714 lt_prog_compiler_pic='-PIC' 8715 lt_prog_compiler_static='-Bstatic' 8716 ;; 8717 tcc*) 8718 # Fabrice Bellard et al's Tiny C Compiler 8719 lt_prog_compiler_wl='-Wl,' 8720 lt_prog_compiler_pic='-fPIC' 8721 lt_prog_compiler_static='-static' 8722 ;; 8723 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8724 # Portland Group compilers (*not* the Pentium gcc compiler, 8725 # which looks to be a dead project) 8726 lt_prog_compiler_wl='-Wl,' 8727 lt_prog_compiler_pic='-fpic' 8728 lt_prog_compiler_static='-Bstatic' 8729 ;; 8730 ccc*) 8731 lt_prog_compiler_wl='-Wl,' 8732 # All Alpha code is PIC. 8733 lt_prog_compiler_static='-non_shared' 8734 ;; 8735 xl* | bgxl* | bgf* | mpixl*) 8736 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8737 lt_prog_compiler_wl='-Wl,' 8738 lt_prog_compiler_pic='-qpic' 8739 lt_prog_compiler_static='-qstaticlink' 8740 ;; 8741 *) 8742 case `$CC -V 2>&1 | sed 5q` in 8743 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8744 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8745 lt_prog_compiler_pic='-KPIC' 8746 lt_prog_compiler_static='-Bstatic' 8747 lt_prog_compiler_wl='' 8748 ;; 8749 *Sun\ F* | *Sun*Fortran*) 8750 lt_prog_compiler_pic='-KPIC' 8751 lt_prog_compiler_static='-Bstatic' 8752 lt_prog_compiler_wl='-Qoption ld ' 8753 ;; 8754 *Sun\ C*) 8755 # Sun C 5.9 8756 lt_prog_compiler_pic='-KPIC' 8757 lt_prog_compiler_static='-Bstatic' 8758 lt_prog_compiler_wl='-Wl,' 8759 ;; 8760 *Intel*\ [CF]*Compiler*) 8761 lt_prog_compiler_wl='-Wl,' 8762 lt_prog_compiler_pic='-fPIC' 8763 lt_prog_compiler_static='-static' 8764 ;; 8765 *Portland\ Group*) 8766 lt_prog_compiler_wl='-Wl,' 8767 lt_prog_compiler_pic='-fpic' 8768 lt_prog_compiler_static='-Bstatic' 8769 ;; 8770 esac 8771 ;; 8772 esac 8773 ;; 8774 8775 newsos6) 8776 lt_prog_compiler_pic='-KPIC' 8777 lt_prog_compiler_static='-Bstatic' 8778 ;; 8779 8780 *nto* | *qnx*) 8781 # QNX uses GNU C++, but need to define -shared option too, otherwise 8782 # it will coredump. 8783 lt_prog_compiler_pic='-fPIC -shared' 8784 ;; 8785 8786 osf3* | osf4* | osf5*) 8787 lt_prog_compiler_wl='-Wl,' 8788 # All OSF/1 code is PIC. 8789 lt_prog_compiler_static='-non_shared' 8790 ;; 8791 8792 rdos*) 8793 lt_prog_compiler_static='-non_shared' 8794 ;; 8795 8796 solaris*) 8797 lt_prog_compiler_pic='-KPIC' 8798 lt_prog_compiler_static='-Bstatic' 8799 case $cc_basename in 8800 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8801 lt_prog_compiler_wl='-Qoption ld ';; 8802 *) 8803 lt_prog_compiler_wl='-Wl,';; 8804 esac 8805 ;; 8806 8807 sunos4*) 8808 lt_prog_compiler_wl='-Qoption ld ' 8809 lt_prog_compiler_pic='-PIC' 8810 lt_prog_compiler_static='-Bstatic' 8811 ;; 8812 8813 sysv4 | sysv4.2uw2* | sysv4.3*) 8814 lt_prog_compiler_wl='-Wl,' 8815 lt_prog_compiler_pic='-KPIC' 8816 lt_prog_compiler_static='-Bstatic' 8817 ;; 8818 8819 sysv4*MP*) 8820 if test -d /usr/nec; then 8821 lt_prog_compiler_pic='-Kconform_pic' 8822 lt_prog_compiler_static='-Bstatic' 8823 fi 8824 ;; 8825 8826 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8827 lt_prog_compiler_wl='-Wl,' 8828 lt_prog_compiler_pic='-KPIC' 8829 lt_prog_compiler_static='-Bstatic' 8830 ;; 8831 8832 unicos*) 8833 lt_prog_compiler_wl='-Wl,' 8834 lt_prog_compiler_can_build_shared=no 8835 ;; 8836 8837 uts4*) 8838 lt_prog_compiler_pic='-pic' 8839 lt_prog_compiler_static='-Bstatic' 8840 ;; 8841 8842 *) 8843 lt_prog_compiler_can_build_shared=no 8844 ;; 8845 esac 8846 fi 8847 8848case $host_os in 8849 # For platforms that do not support PIC, -DPIC is meaningless: 8850 *djgpp*) 8851 lt_prog_compiler_pic= 8852 ;; 8853 *) 8854 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8855 ;; 8856esac 8857 8858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8859$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8860if ${lt_cv_prog_compiler_pic+:} false; then : 8861 $as_echo_n "(cached) " >&6 8862else 8863 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8864fi 8865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8866$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8867lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8868 8869# 8870# Check to make sure the PIC flag actually works. 8871# 8872if test -n "$lt_prog_compiler_pic"; then 8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8874$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8875if ${lt_cv_prog_compiler_pic_works+:} false; then : 8876 $as_echo_n "(cached) " >&6 8877else 8878 lt_cv_prog_compiler_pic_works=no 8879 ac_outfile=conftest.$ac_objext 8880 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8881 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8882 # Insert the option either (1) after the last *FLAGS variable, or 8883 # (2) before a word containing "conftest.", or (3) at the end. 8884 # Note that $ac_compile itself does not contain backslashes and begins 8885 # with a dollar sign (not a hyphen), so the echo should work correctly. 8886 # The option is referenced via a variable to avoid confusing sed. 8887 lt_compile=`echo "$ac_compile" | $SED \ 8888 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8889 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8890 -e 's:$: $lt_compiler_flag:'` 8891 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8892 (eval "$lt_compile" 2>conftest.err) 8893 ac_status=$? 8894 cat conftest.err >&5 8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8896 if (exit $ac_status) && test -s "$ac_outfile"; then 8897 # The compiler can only warn and ignore the option if not recognized 8898 # So say no if there are warnings other than the usual output. 8899 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8900 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8901 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8902 lt_cv_prog_compiler_pic_works=yes 8903 fi 8904 fi 8905 $RM conftest* 8906 8907fi 8908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8909$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8910 8911if test yes = "$lt_cv_prog_compiler_pic_works"; then 8912 case $lt_prog_compiler_pic in 8913 "" | " "*) ;; 8914 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8915 esac 8916else 8917 lt_prog_compiler_pic= 8918 lt_prog_compiler_can_build_shared=no 8919fi 8920 8921fi 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933# 8934# Check to make sure the static flag actually works. 8935# 8936wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8938$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8939if ${lt_cv_prog_compiler_static_works+:} false; then : 8940 $as_echo_n "(cached) " >&6 8941else 8942 lt_cv_prog_compiler_static_works=no 8943 save_LDFLAGS=$LDFLAGS 8944 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8945 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8946 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8947 # The linker can only warn and ignore the option if not recognized 8948 # So say no if there are warnings 8949 if test -s conftest.err; then 8950 # Append any errors to the config.log. 8951 cat conftest.err 1>&5 8952 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8953 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8954 if diff conftest.exp conftest.er2 >/dev/null; then 8955 lt_cv_prog_compiler_static_works=yes 8956 fi 8957 else 8958 lt_cv_prog_compiler_static_works=yes 8959 fi 8960 fi 8961 $RM -r conftest* 8962 LDFLAGS=$save_LDFLAGS 8963 8964fi 8965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8966$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8967 8968if test yes = "$lt_cv_prog_compiler_static_works"; then 8969 : 8970else 8971 lt_prog_compiler_static= 8972fi 8973 8974 8975 8976 8977 8978 8979 8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8981$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8982if ${lt_cv_prog_compiler_c_o+:} false; then : 8983 $as_echo_n "(cached) " >&6 8984else 8985 lt_cv_prog_compiler_c_o=no 8986 $RM -r conftest 2>/dev/null 8987 mkdir conftest 8988 cd conftest 8989 mkdir out 8990 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8991 8992 lt_compiler_flag="-o out/conftest2.$ac_objext" 8993 # Insert the option either (1) after the last *FLAGS variable, or 8994 # (2) before a word containing "conftest.", or (3) at the end. 8995 # Note that $ac_compile itself does not contain backslashes and begins 8996 # with a dollar sign (not a hyphen), so the echo should work correctly. 8997 lt_compile=`echo "$ac_compile" | $SED \ 8998 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8999 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9000 -e 's:$: $lt_compiler_flag:'` 9001 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9002 (eval "$lt_compile" 2>out/conftest.err) 9003 ac_status=$? 9004 cat out/conftest.err >&5 9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9006 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9007 then 9008 # The compiler can only warn and ignore the option if not recognized 9009 # So say no if there are warnings 9010 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9011 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9012 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9013 lt_cv_prog_compiler_c_o=yes 9014 fi 9015 fi 9016 chmod u+w . 2>&5 9017 $RM conftest* 9018 # SGI C++ compiler will create directory out/ii_files/ for 9019 # template instantiation 9020 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9021 $RM out/* && rmdir out 9022 cd .. 9023 $RM -r conftest 9024 $RM conftest* 9025 9026fi 9027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9028$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9029 9030 9031 9032 9033 9034 9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9036$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9037if ${lt_cv_prog_compiler_c_o+:} false; then : 9038 $as_echo_n "(cached) " >&6 9039else 9040 lt_cv_prog_compiler_c_o=no 9041 $RM -r conftest 2>/dev/null 9042 mkdir conftest 9043 cd conftest 9044 mkdir out 9045 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9046 9047 lt_compiler_flag="-o out/conftest2.$ac_objext" 9048 # Insert the option either (1) after the last *FLAGS variable, or 9049 # (2) before a word containing "conftest.", or (3) at the end. 9050 # Note that $ac_compile itself does not contain backslashes and begins 9051 # with a dollar sign (not a hyphen), so the echo should work correctly. 9052 lt_compile=`echo "$ac_compile" | $SED \ 9053 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9054 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9055 -e 's:$: $lt_compiler_flag:'` 9056 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9057 (eval "$lt_compile" 2>out/conftest.err) 9058 ac_status=$? 9059 cat out/conftest.err >&5 9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9061 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9062 then 9063 # The compiler can only warn and ignore the option if not recognized 9064 # So say no if there are warnings 9065 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9066 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9067 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9068 lt_cv_prog_compiler_c_o=yes 9069 fi 9070 fi 9071 chmod u+w . 2>&5 9072 $RM conftest* 9073 # SGI C++ compiler will create directory out/ii_files/ for 9074 # template instantiation 9075 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9076 $RM out/* && rmdir out 9077 cd .. 9078 $RM -r conftest 9079 $RM conftest* 9080 9081fi 9082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9083$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9084 9085 9086 9087 9088hard_links=nottested 9089if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9090 # do not overwrite the value of need_locks provided by the user 9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9092$as_echo_n "checking if we can lock with hard links... " >&6; } 9093 hard_links=yes 9094 $RM conftest* 9095 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9096 touch conftest.a 9097 ln conftest.a conftest.b 2>&5 || hard_links=no 9098 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9100$as_echo "$hard_links" >&6; } 9101 if test no = "$hard_links"; then 9102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9103$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9104 need_locks=warn 9105 fi 9106else 9107 need_locks=no 9108fi 9109 9110 9111 9112 9113 9114 9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9116$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9117 9118 runpath_var= 9119 allow_undefined_flag= 9120 always_export_symbols=no 9121 archive_cmds= 9122 archive_expsym_cmds= 9123 compiler_needs_object=no 9124 enable_shared_with_static_runtimes=no 9125 export_dynamic_flag_spec= 9126 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9127 hardcode_automatic=no 9128 hardcode_direct=no 9129 hardcode_direct_absolute=no 9130 hardcode_libdir_flag_spec= 9131 hardcode_libdir_separator= 9132 hardcode_minus_L=no 9133 hardcode_shlibpath_var=unsupported 9134 inherit_rpath=no 9135 link_all_deplibs=unknown 9136 module_cmds= 9137 module_expsym_cmds= 9138 old_archive_from_new_cmds= 9139 old_archive_from_expsyms_cmds= 9140 thread_safe_flag_spec= 9141 whole_archive_flag_spec= 9142 # include_expsyms should be a list of space-separated symbols to be *always* 9143 # included in the symbol list 9144 include_expsyms= 9145 # exclude_expsyms can be an extended regexp of symbols to exclude 9146 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9147 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9148 # as well as any symbol that contains 'd'. 9149 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9150 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9151 # platforms (ab)use it in PIC code, but their linkers get confused if 9152 # the symbol is explicitly referenced. Since portable code cannot 9153 # rely on this symbol name, it's probably fine to never include it in 9154 # preloaded symbol tables. 9155 # Exclude shared library initialization/finalization symbols. 9156 extract_expsyms_cmds= 9157 9158 case $host_os in 9159 cygwin* | mingw* | pw32* | cegcc*) 9160 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9161 # When not using gcc, we currently assume that we are using 9162 # Microsoft Visual C++. 9163 if test yes != "$GCC"; then 9164 with_gnu_ld=no 9165 fi 9166 ;; 9167 interix*) 9168 # we just hope/assume this is gcc and not c89 (= MSVC++) 9169 with_gnu_ld=yes 9170 ;; 9171 openbsd* | bitrig*) 9172 with_gnu_ld=no 9173 ;; 9174 esac 9175 9176 ld_shlibs=yes 9177 9178 # On some targets, GNU ld is compatible enough with the native linker 9179 # that we're better off using the native interface for both. 9180 lt_use_gnu_ld_interface=no 9181 if test yes = "$with_gnu_ld"; then 9182 case $host_os in 9183 aix*) 9184 # The AIX port of GNU ld has always aspired to compatibility 9185 # with the native linker. However, as the warning in the GNU ld 9186 # block says, versions before 2.19.5* couldn't really create working 9187 # shared libraries, regardless of the interface used. 9188 case `$LD -v 2>&1` in 9189 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9190 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9191 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9192 *) 9193 lt_use_gnu_ld_interface=yes 9194 ;; 9195 esac 9196 ;; 9197 *) 9198 lt_use_gnu_ld_interface=yes 9199 ;; 9200 esac 9201 fi 9202 9203 if test yes = "$lt_use_gnu_ld_interface"; then 9204 # If archive_cmds runs LD, not CC, wlarc should be empty 9205 wlarc='$wl' 9206 9207 # Set some defaults for GNU ld with shared library support. These 9208 # are reset later if shared libraries are not supported. Putting them 9209 # here allows them to be overridden if necessary. 9210 runpath_var=LD_RUN_PATH 9211 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9212 export_dynamic_flag_spec='$wl--export-dynamic' 9213 # ancient GNU ld didn't support --whole-archive et. al. 9214 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9215 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9216 else 9217 whole_archive_flag_spec= 9218 fi 9219 supports_anon_versioning=no 9220 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9221 *GNU\ gold*) supports_anon_versioning=yes ;; 9222 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9223 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9224 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9225 *\ 2.11.*) ;; # other 2.11 versions 9226 *) supports_anon_versioning=yes ;; 9227 esac 9228 9229 # See if GNU ld supports shared libraries. 9230 case $host_os in 9231 aix[3-9]*) 9232 # On AIX/PPC, the GNU linker is very broken 9233 if test ia64 != "$host_cpu"; then 9234 ld_shlibs=no 9235 cat <<_LT_EOF 1>&2 9236 9237*** Warning: the GNU linker, at least up to release 2.19, is reported 9238*** to be unable to reliably create shared libraries on AIX. 9239*** Therefore, libtool is disabling shared libraries support. If you 9240*** really care for shared libraries, you may want to install binutils 9241*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9242*** You will then need to restart the configuration process. 9243 9244_LT_EOF 9245 fi 9246 ;; 9247 9248 amigaos*) 9249 case $host_cpu in 9250 powerpc) 9251 # see comment about AmigaOS4 .so support 9252 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9253 archive_expsym_cmds='' 9254 ;; 9255 m68k) 9256 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)' 9257 hardcode_libdir_flag_spec='-L$libdir' 9258 hardcode_minus_L=yes 9259 ;; 9260 esac 9261 ;; 9262 9263 beos*) 9264 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9265 allow_undefined_flag=unsupported 9266 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9267 # support --undefined. This deserves some investigation. FIXME 9268 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9269 else 9270 ld_shlibs=no 9271 fi 9272 ;; 9273 9274 cygwin* | mingw* | pw32* | cegcc*) 9275 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9276 # as there is no search path for DLLs. 9277 hardcode_libdir_flag_spec='-L$libdir' 9278 export_dynamic_flag_spec='$wl--export-all-symbols' 9279 allow_undefined_flag=unsupported 9280 always_export_symbols=no 9281 enable_shared_with_static_runtimes=yes 9282 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' 9283 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9284 9285 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9286 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9287 # If the export-symbols file already is a .def file, use it as 9288 # is; otherwise, prepend EXPORTS... 9289 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9290 cp $export_symbols $output_objdir/$soname.def; 9291 else 9292 echo EXPORTS > $output_objdir/$soname.def; 9293 cat $export_symbols >> $output_objdir/$soname.def; 9294 fi~ 9295 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9296 else 9297 ld_shlibs=no 9298 fi 9299 ;; 9300 9301 haiku*) 9302 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9303 link_all_deplibs=yes 9304 ;; 9305 9306 os2*) 9307 hardcode_libdir_flag_spec='-L$libdir' 9308 hardcode_minus_L=yes 9309 allow_undefined_flag=unsupported 9310 shrext_cmds=.dll 9311 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9312 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9313 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9314 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9315 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9316 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9317 emximp -o $lib $output_objdir/$libname.def' 9318 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9319 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9320 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9321 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9322 prefix_cmds="$SED"~ 9323 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9324 prefix_cmds="$prefix_cmds -e 1d"; 9325 fi~ 9326 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9327 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9328 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9329 emximp -o $lib $output_objdir/$libname.def' 9330 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9331 enable_shared_with_static_runtimes=yes 9332 ;; 9333 9334 interix[3-9]*) 9335 hardcode_direct=no 9336 hardcode_shlibpath_var=no 9337 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9338 export_dynamic_flag_spec='$wl-E' 9339 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9340 # Instead, shared libraries are loaded at an image base (0x10000000 by 9341 # default) and relocated if they conflict, which is a slow very memory 9342 # consuming and fragmenting process. To avoid this, we pick a random, 9343 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9344 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9345 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9346 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' 9347 ;; 9348 9349 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9350 tmp_diet=no 9351 if test linux-dietlibc = "$host_os"; then 9352 case $cc_basename in 9353 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9354 esac 9355 fi 9356 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9357 && test no = "$tmp_diet" 9358 then 9359 tmp_addflag=' $pic_flag' 9360 tmp_sharedflag='-shared' 9361 case $cc_basename,$host_cpu in 9362 pgcc*) # Portland Group C compiler 9363 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' 9364 tmp_addflag=' $pic_flag' 9365 ;; 9366 pgf77* | pgf90* | pgf95* | pgfortran*) 9367 # Portland Group f77 and f90 compilers 9368 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' 9369 tmp_addflag=' $pic_flag -Mnomain' ;; 9370 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9371 tmp_addflag=' -i_dynamic' ;; 9372 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9373 tmp_addflag=' -i_dynamic -nofor_main' ;; 9374 ifc* | ifort*) # Intel Fortran compiler 9375 tmp_addflag=' -nofor_main' ;; 9376 lf95*) # Lahey Fortran 8.1 9377 whole_archive_flag_spec= 9378 tmp_sharedflag='--shared' ;; 9379 nagfor*) # NAGFOR 5.3 9380 tmp_sharedflag='-Wl,-shared' ;; 9381 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9382 tmp_sharedflag='-qmkshrobj' 9383 tmp_addflag= ;; 9384 nvcc*) # Cuda Compiler Driver 2.2 9385 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' 9386 compiler_needs_object=yes 9387 ;; 9388 esac 9389 case `$CC -V 2>&1 | sed 5q` in 9390 *Sun\ C*) # Sun C 5.9 9391 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' 9392 compiler_needs_object=yes 9393 tmp_sharedflag='-G' ;; 9394 *Sun\ F*) # Sun Fortran 8.3 9395 tmp_sharedflag='-G' ;; 9396 esac 9397 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9398 9399 if test yes = "$supports_anon_versioning"; then 9400 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9401 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9402 echo "local: *; };" >> $output_objdir/$libname.ver~ 9403 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9404 fi 9405 9406 case $cc_basename in 9407 tcc*) 9408 export_dynamic_flag_spec='-rdynamic' 9409 ;; 9410 xlf* | bgf* | bgxlf* | mpixlf*) 9411 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9412 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9413 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9414 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9415 if test yes = "$supports_anon_versioning"; then 9416 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9417 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9418 echo "local: *; };" >> $output_objdir/$libname.ver~ 9419 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9420 fi 9421 ;; 9422 esac 9423 else 9424 ld_shlibs=no 9425 fi 9426 ;; 9427 9428 netbsd*) 9429 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9430 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9431 wlarc= 9432 else 9433 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9434 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9435 fi 9436 ;; 9437 9438 solaris*) 9439 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9440 ld_shlibs=no 9441 cat <<_LT_EOF 1>&2 9442 9443*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9444*** create shared libraries on Solaris systems. Therefore, libtool 9445*** is disabling shared libraries support. We urge you to upgrade GNU 9446*** binutils to release 2.9.1 or newer. Another option is to modify 9447*** your PATH or compiler configuration so that the native linker is 9448*** used, and then restart. 9449 9450_LT_EOF 9451 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9452 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9453 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9454 else 9455 ld_shlibs=no 9456 fi 9457 ;; 9458 9459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9460 case `$LD -v 2>&1` in 9461 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9462 ld_shlibs=no 9463 cat <<_LT_EOF 1>&2 9464 9465*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9466*** reliably create shared libraries on SCO systems. Therefore, libtool 9467*** is disabling shared libraries support. We urge you to upgrade GNU 9468*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9469*** your PATH or compiler configuration so that the native linker is 9470*** used, and then restart. 9471 9472_LT_EOF 9473 ;; 9474 *) 9475 # For security reasons, it is highly recommended that you always 9476 # use absolute paths for naming shared libraries, and exclude the 9477 # DT_RUNPATH tag from executables and libraries. But doing so 9478 # requires that you compile everything twice, which is a pain. 9479 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9480 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9481 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9482 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9483 else 9484 ld_shlibs=no 9485 fi 9486 ;; 9487 esac 9488 ;; 9489 9490 sunos4*) 9491 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9492 wlarc= 9493 hardcode_direct=yes 9494 hardcode_shlibpath_var=no 9495 ;; 9496 9497 *) 9498 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9499 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9500 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9501 else 9502 ld_shlibs=no 9503 fi 9504 ;; 9505 esac 9506 9507 if test no = "$ld_shlibs"; then 9508 runpath_var= 9509 hardcode_libdir_flag_spec= 9510 export_dynamic_flag_spec= 9511 whole_archive_flag_spec= 9512 fi 9513 else 9514 # PORTME fill in a description of your system's linker (not GNU ld) 9515 case $host_os in 9516 aix3*) 9517 allow_undefined_flag=unsupported 9518 always_export_symbols=yes 9519 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' 9520 # Note: this linker hardcodes the directories in LIBPATH if there 9521 # are no directories specified by -L. 9522 hardcode_minus_L=yes 9523 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9524 # Neither direct hardcoding nor static linking is supported with a 9525 # broken collect2. 9526 hardcode_direct=unsupported 9527 fi 9528 ;; 9529 9530 aix[4-9]*) 9531 if test ia64 = "$host_cpu"; then 9532 # On IA64, the linker does run time linking by default, so we don't 9533 # have to do anything special. 9534 aix_use_runtimelinking=no 9535 exp_sym_flag='-Bexport' 9536 no_entry_flag= 9537 else 9538 # If we're using GNU nm, then we don't want the "-C" option. 9539 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9540 # Without the "-l" option, or with the "-B" option, AIX nm treats 9541 # weak defined symbols like other global defined symbols, whereas 9542 # GNU nm marks them as "W". 9543 # While the 'weak' keyword is ignored in the Export File, we need 9544 # it in the Import File for the 'aix-soname' feature, so we have 9545 # to replace the "-B" option with "-P" for AIX nm. 9546 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9547 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' 9548 else 9549 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 9550 fi 9551 aix_use_runtimelinking=no 9552 9553 # Test if we are trying to use run time linking or normal 9554 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9555 # have runtime linking enabled, and use it for executables. 9556 # For shared libraries, we enable/disable runtime linking 9557 # depending on the kind of the shared library created - 9558 # when "with_aix_soname,aix_use_runtimelinking" is: 9559 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9560 # "aix,yes" lib.so shared, rtl:yes, for executables 9561 # lib.a static archive 9562 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9563 # lib.a(lib.so.V) shared, rtl:no, for executables 9564 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9565 # lib.a(lib.so.V) shared, rtl:no 9566 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9567 # lib.a static archive 9568 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9569 for ld_flag in $LDFLAGS; do 9570 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9571 aix_use_runtimelinking=yes 9572 break 9573 fi 9574 done 9575 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9576 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9577 # so we don't have lib.a shared libs to link our executables. 9578 # We have to force runtime linking in this case. 9579 aix_use_runtimelinking=yes 9580 LDFLAGS="$LDFLAGS -Wl,-brtl" 9581 fi 9582 ;; 9583 esac 9584 9585 exp_sym_flag='-bexport' 9586 no_entry_flag='-bnoentry' 9587 fi 9588 9589 # When large executables or shared objects are built, AIX ld can 9590 # have problems creating the table of contents. If linking a library 9591 # or program results in "error TOC overflow" add -mminimal-toc to 9592 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9593 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9594 9595 archive_cmds='' 9596 hardcode_direct=yes 9597 hardcode_direct_absolute=yes 9598 hardcode_libdir_separator=':' 9599 link_all_deplibs=yes 9600 file_list_spec='$wl-f,' 9601 case $with_aix_soname,$aix_use_runtimelinking in 9602 aix,*) ;; # traditional, no import file 9603 svr4,* | *,yes) # use import file 9604 # The Import File defines what to hardcode. 9605 hardcode_direct=no 9606 hardcode_direct_absolute=no 9607 ;; 9608 esac 9609 9610 if test yes = "$GCC"; then 9611 case $host_os in aix4.[012]|aix4.[012].*) 9612 # We only want to do this on AIX 4.2 and lower, the check 9613 # below for broken collect2 doesn't work under 4.3+ 9614 collect2name=`$CC -print-prog-name=collect2` 9615 if test -f "$collect2name" && 9616 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9617 then 9618 # We have reworked collect2 9619 : 9620 else 9621 # We have old collect2 9622 hardcode_direct=unsupported 9623 # It fails to find uninstalled libraries when the uninstalled 9624 # path is not listed in the libpath. Setting hardcode_minus_L 9625 # to unsupported forces relinking 9626 hardcode_minus_L=yes 9627 hardcode_libdir_flag_spec='-L$libdir' 9628 hardcode_libdir_separator= 9629 fi 9630 ;; 9631 esac 9632 shared_flag='-shared' 9633 if test yes = "$aix_use_runtimelinking"; then 9634 shared_flag="$shared_flag "'$wl-G' 9635 fi 9636 # Need to ensure runtime linking is disabled for the traditional 9637 # shared library, or the linker may eventually find shared libraries 9638 # /with/ Import File - we do not want to mix them. 9639 shared_flag_aix='-shared' 9640 shared_flag_svr4='-shared $wl-G' 9641 else 9642 # not using gcc 9643 if test ia64 = "$host_cpu"; then 9644 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9645 # chokes on -Wl,-G. The following line is correct: 9646 shared_flag='-G' 9647 else 9648 if test yes = "$aix_use_runtimelinking"; then 9649 shared_flag='$wl-G' 9650 else 9651 shared_flag='$wl-bM:SRE' 9652 fi 9653 shared_flag_aix='$wl-bM:SRE' 9654 shared_flag_svr4='$wl-G' 9655 fi 9656 fi 9657 9658 export_dynamic_flag_spec='$wl-bexpall' 9659 # It seems that -bexpall does not export symbols beginning with 9660 # underscore (_), so it is better to generate a list of symbols to export. 9661 always_export_symbols=yes 9662 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9663 # Warning - without using the other runtime loading flags (-brtl), 9664 # -berok will link without error, but may produce a broken library. 9665 allow_undefined_flag='-berok' 9666 # Determine the default libpath from the value encoded in an 9667 # empty executable. 9668 if test set = "${lt_cv_aix_libpath+set}"; then 9669 aix_libpath=$lt_cv_aix_libpath 9670else 9671 if ${lt_cv_aix_libpath_+:} false; then : 9672 $as_echo_n "(cached) " >&6 9673else 9674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9675/* end confdefs.h. */ 9676 9677int 9678main () 9679{ 9680 9681 ; 9682 return 0; 9683} 9684_ACEOF 9685if ac_fn_c_try_link "$LINENO"; then : 9686 9687 lt_aix_libpath_sed=' 9688 /Import File Strings/,/^$/ { 9689 /^0/ { 9690 s/^0 *\([^ ]*\) *$/\1/ 9691 p 9692 } 9693 }' 9694 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9695 # Check for a 64-bit object if we didn't find anything. 9696 if test -z "$lt_cv_aix_libpath_"; then 9697 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9698 fi 9699fi 9700rm -f core conftest.err conftest.$ac_objext \ 9701 conftest$ac_exeext conftest.$ac_ext 9702 if test -z "$lt_cv_aix_libpath_"; then 9703 lt_cv_aix_libpath_=/usr/lib:/lib 9704 fi 9705 9706fi 9707 9708 aix_libpath=$lt_cv_aix_libpath_ 9709fi 9710 9711 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9712 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 9713 else 9714 if test ia64 = "$host_cpu"; then 9715 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9716 allow_undefined_flag="-z nodefs" 9717 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" 9718 else 9719 # Determine the default libpath from the value encoded in an 9720 # empty executable. 9721 if test set = "${lt_cv_aix_libpath+set}"; then 9722 aix_libpath=$lt_cv_aix_libpath 9723else 9724 if ${lt_cv_aix_libpath_+:} false; then : 9725 $as_echo_n "(cached) " >&6 9726else 9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9728/* end confdefs.h. */ 9729 9730int 9731main () 9732{ 9733 9734 ; 9735 return 0; 9736} 9737_ACEOF 9738if ac_fn_c_try_link "$LINENO"; then : 9739 9740 lt_aix_libpath_sed=' 9741 /Import File Strings/,/^$/ { 9742 /^0/ { 9743 s/^0 *\([^ ]*\) *$/\1/ 9744 p 9745 } 9746 }' 9747 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9748 # Check for a 64-bit object if we didn't find anything. 9749 if test -z "$lt_cv_aix_libpath_"; then 9750 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9751 fi 9752fi 9753rm -f core conftest.err conftest.$ac_objext \ 9754 conftest$ac_exeext conftest.$ac_ext 9755 if test -z "$lt_cv_aix_libpath_"; then 9756 lt_cv_aix_libpath_=/usr/lib:/lib 9757 fi 9758 9759fi 9760 9761 aix_libpath=$lt_cv_aix_libpath_ 9762fi 9763 9764 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9765 # Warning - without using the other run time loading flags, 9766 # -berok will link without error, but may produce a broken library. 9767 no_undefined_flag=' $wl-bernotok' 9768 allow_undefined_flag=' $wl-berok' 9769 if test yes = "$with_gnu_ld"; then 9770 # We only use this code for GNU lds that support --whole-archive. 9771 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9772 else 9773 # Exported symbols can be pulled into shared objects from archives 9774 whole_archive_flag_spec='$convenience' 9775 fi 9776 archive_cmds_need_lc=yes 9777 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9778 # -brtl affects multiple linker settings, -berok does not and is overridden later 9779 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9780 if test svr4 != "$with_aix_soname"; then 9781 # This is similar to how AIX traditionally builds its shared libraries. 9782 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' 9783 fi 9784 if test aix != "$with_aix_soname"; then 9785 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' 9786 else 9787 # used by -dlpreopen to get the symbols 9788 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9789 fi 9790 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9791 fi 9792 fi 9793 ;; 9794 9795 amigaos*) 9796 case $host_cpu in 9797 powerpc) 9798 # see comment about AmigaOS4 .so support 9799 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9800 archive_expsym_cmds='' 9801 ;; 9802 m68k) 9803 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)' 9804 hardcode_libdir_flag_spec='-L$libdir' 9805 hardcode_minus_L=yes 9806 ;; 9807 esac 9808 ;; 9809 9810 bsdi[45]*) 9811 export_dynamic_flag_spec=-rdynamic 9812 ;; 9813 9814 cygwin* | mingw* | pw32* | cegcc*) 9815 # When not using gcc, we currently assume that we are using 9816 # Microsoft Visual C++. 9817 # hardcode_libdir_flag_spec is actually meaningless, as there is 9818 # no search path for DLLs. 9819 case $cc_basename in 9820 cl*) 9821 # Native MSVC 9822 hardcode_libdir_flag_spec=' ' 9823 allow_undefined_flag=unsupported 9824 always_export_symbols=yes 9825 file_list_spec='@' 9826 # Tell ltmain to make .lib files, not .a files. 9827 libext=lib 9828 # Tell ltmain to make .dll files, not .so files. 9829 shrext_cmds=.dll 9830 # FIXME: Setting linknames here is a bad hack. 9831 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9832 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9833 cp "$export_symbols" "$output_objdir/$soname.def"; 9834 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9835 else 9836 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9837 fi~ 9838 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9839 linknames=' 9840 # The linker will not automatically build a static lib if we build a DLL. 9841 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9842 enable_shared_with_static_runtimes=yes 9843 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9844 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9845 # Don't use ranlib 9846 old_postinstall_cmds='chmod 644 $oldlib' 9847 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9848 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9849 case $lt_outputfile in 9850 *.exe|*.EXE) ;; 9851 *) 9852 lt_outputfile=$lt_outputfile.exe 9853 lt_tool_outputfile=$lt_tool_outputfile.exe 9854 ;; 9855 esac~ 9856 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9857 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9858 $RM "$lt_outputfile.manifest"; 9859 fi' 9860 ;; 9861 *) 9862 # Assume MSVC wrapper 9863 hardcode_libdir_flag_spec=' ' 9864 allow_undefined_flag=unsupported 9865 # Tell ltmain to make .lib files, not .a files. 9866 libext=lib 9867 # Tell ltmain to make .dll files, not .so files. 9868 shrext_cmds=.dll 9869 # FIXME: Setting linknames here is a bad hack. 9870 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9871 # The linker will automatically build a .lib file if we build a DLL. 9872 old_archive_from_new_cmds='true' 9873 # FIXME: Should let the user specify the lib program. 9874 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9875 enable_shared_with_static_runtimes=yes 9876 ;; 9877 esac 9878 ;; 9879 9880 darwin* | rhapsody*) 9881 9882 9883 archive_cmds_need_lc=no 9884 hardcode_direct=no 9885 hardcode_automatic=yes 9886 hardcode_shlibpath_var=unsupported 9887 if test yes = "$lt_cv_ld_force_load"; then 9888 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\"`' 9889 9890 else 9891 whole_archive_flag_spec='' 9892 fi 9893 link_all_deplibs=yes 9894 allow_undefined_flag=$_lt_dar_allow_undefined 9895 case $cc_basename in 9896 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9897 *) _lt_dar_can_shared=$GCC ;; 9898 esac 9899 if test yes = "$_lt_dar_can_shared"; then 9900 output_verbose_link_cmd=func_echo_all 9901 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9902 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9903 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" 9904 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" 9905 9906 else 9907 ld_shlibs=no 9908 fi 9909 9910 ;; 9911 9912 dgux*) 9913 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9914 hardcode_libdir_flag_spec='-L$libdir' 9915 hardcode_shlibpath_var=no 9916 ;; 9917 9918 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9919 # support. Future versions do this automatically, but an explicit c++rt0.o 9920 # does not break anything, and helps significantly (at the cost of a little 9921 # extra space). 9922 freebsd2.2*) 9923 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9924 hardcode_libdir_flag_spec='-R$libdir' 9925 hardcode_direct=yes 9926 hardcode_shlibpath_var=no 9927 ;; 9928 9929 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9930 freebsd2.*) 9931 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9932 hardcode_direct=yes 9933 hardcode_minus_L=yes 9934 hardcode_shlibpath_var=no 9935 ;; 9936 9937 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9938 freebsd* | dragonfly*) 9939 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9940 hardcode_libdir_flag_spec='-R$libdir' 9941 hardcode_direct=yes 9942 hardcode_shlibpath_var=no 9943 ;; 9944 9945 hpux9*) 9946 if test yes = "$GCC"; then 9947 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' 9948 else 9949 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' 9950 fi 9951 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9952 hardcode_libdir_separator=: 9953 hardcode_direct=yes 9954 9955 # hardcode_minus_L: Not really in the search PATH, 9956 # but as the default location of the library. 9957 hardcode_minus_L=yes 9958 export_dynamic_flag_spec='$wl-E' 9959 ;; 9960 9961 hpux10*) 9962 if test yes,no = "$GCC,$with_gnu_ld"; then 9963 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9964 else 9965 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9966 fi 9967 if test no = "$with_gnu_ld"; then 9968 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9969 hardcode_libdir_separator=: 9970 hardcode_direct=yes 9971 hardcode_direct_absolute=yes 9972 export_dynamic_flag_spec='$wl-E' 9973 # hardcode_minus_L: Not really in the search PATH, 9974 # but as the default location of the library. 9975 hardcode_minus_L=yes 9976 fi 9977 ;; 9978 9979 hpux11*) 9980 if test yes,no = "$GCC,$with_gnu_ld"; then 9981 case $host_cpu in 9982 hppa*64*) 9983 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9984 ;; 9985 ia64*) 9986 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9987 ;; 9988 *) 9989 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9990 ;; 9991 esac 9992 else 9993 case $host_cpu in 9994 hppa*64*) 9995 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9996 ;; 9997 ia64*) 9998 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9999 ;; 10000 *) 10001 10002 # Older versions of the 11.00 compiler do not understand -b yet 10003 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10005$as_echo_n "checking if $CC understands -b... " >&6; } 10006if ${lt_cv_prog_compiler__b+:} false; then : 10007 $as_echo_n "(cached) " >&6 10008else 10009 lt_cv_prog_compiler__b=no 10010 save_LDFLAGS=$LDFLAGS 10011 LDFLAGS="$LDFLAGS -b" 10012 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10013 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10014 # The linker can only warn and ignore the option if not recognized 10015 # So say no if there are warnings 10016 if test -s conftest.err; then 10017 # Append any errors to the config.log. 10018 cat conftest.err 1>&5 10019 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10020 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10021 if diff conftest.exp conftest.er2 >/dev/null; then 10022 lt_cv_prog_compiler__b=yes 10023 fi 10024 else 10025 lt_cv_prog_compiler__b=yes 10026 fi 10027 fi 10028 $RM -r conftest* 10029 LDFLAGS=$save_LDFLAGS 10030 10031fi 10032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10033$as_echo "$lt_cv_prog_compiler__b" >&6; } 10034 10035if test yes = "$lt_cv_prog_compiler__b"; then 10036 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10037else 10038 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10039fi 10040 10041 ;; 10042 esac 10043 fi 10044 if test no = "$with_gnu_ld"; then 10045 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10046 hardcode_libdir_separator=: 10047 10048 case $host_cpu in 10049 hppa*64*|ia64*) 10050 hardcode_direct=no 10051 hardcode_shlibpath_var=no 10052 ;; 10053 *) 10054 hardcode_direct=yes 10055 hardcode_direct_absolute=yes 10056 export_dynamic_flag_spec='$wl-E' 10057 10058 # hardcode_minus_L: Not really in the search PATH, 10059 # but as the default location of the library. 10060 hardcode_minus_L=yes 10061 ;; 10062 esac 10063 fi 10064 ;; 10065 10066 irix5* | irix6* | nonstopux*) 10067 if test yes = "$GCC"; then 10068 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' 10069 # Try to use the -exported_symbol ld option, if it does not 10070 # work, assume that -exports_file does not work either and 10071 # implicitly export all symbols. 10072 # This should be the same for all languages, so no per-tag cache variable. 10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10074$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10075if ${lt_cv_irix_exported_symbol+:} false; then : 10076 $as_echo_n "(cached) " >&6 10077else 10078 save_LDFLAGS=$LDFLAGS 10079 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10081/* end confdefs.h. */ 10082int foo (void) { return 0; } 10083_ACEOF 10084if ac_fn_c_try_link "$LINENO"; then : 10085 lt_cv_irix_exported_symbol=yes 10086else 10087 lt_cv_irix_exported_symbol=no 10088fi 10089rm -f core conftest.err conftest.$ac_objext \ 10090 conftest$ac_exeext conftest.$ac_ext 10091 LDFLAGS=$save_LDFLAGS 10092fi 10093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10094$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10095 if test yes = "$lt_cv_irix_exported_symbol"; then 10096 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' 10097 fi 10098 else 10099 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' 10100 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' 10101 fi 10102 archive_cmds_need_lc='no' 10103 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10104 hardcode_libdir_separator=: 10105 inherit_rpath=yes 10106 link_all_deplibs=yes 10107 ;; 10108 10109 linux*) 10110 case $cc_basename in 10111 tcc*) 10112 # Fabrice Bellard et al's Tiny C Compiler 10113 ld_shlibs=yes 10114 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10115 ;; 10116 esac 10117 ;; 10118 10119 netbsd*) 10120 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10121 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10122 else 10123 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10124 fi 10125 hardcode_libdir_flag_spec='-R$libdir' 10126 hardcode_direct=yes 10127 hardcode_shlibpath_var=no 10128 ;; 10129 10130 newsos6) 10131 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10132 hardcode_direct=yes 10133 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10134 hardcode_libdir_separator=: 10135 hardcode_shlibpath_var=no 10136 ;; 10137 10138 *nto* | *qnx*) 10139 ;; 10140 10141 openbsd* | bitrig*) 10142 if test -f /usr/libexec/ld.so; then 10143 hardcode_direct=yes 10144 hardcode_shlibpath_var=no 10145 hardcode_direct_absolute=yes 10146 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10147 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10148 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10149 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10150 export_dynamic_flag_spec='$wl-E' 10151 else 10152 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10153 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10154 fi 10155 else 10156 ld_shlibs=no 10157 fi 10158 ;; 10159 10160 os2*) 10161 hardcode_libdir_flag_spec='-L$libdir' 10162 hardcode_minus_L=yes 10163 allow_undefined_flag=unsupported 10164 shrext_cmds=.dll 10165 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10166 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10167 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10168 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10169 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10170 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10171 emximp -o $lib $output_objdir/$libname.def' 10172 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10173 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10174 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10175 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10176 prefix_cmds="$SED"~ 10177 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10178 prefix_cmds="$prefix_cmds -e 1d"; 10179 fi~ 10180 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10181 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10182 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10183 emximp -o $lib $output_objdir/$libname.def' 10184 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10185 enable_shared_with_static_runtimes=yes 10186 ;; 10187 10188 osf3*) 10189 if test yes = "$GCC"; then 10190 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10191 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' 10192 else 10193 allow_undefined_flag=' -expect_unresolved \*' 10194 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' 10195 fi 10196 archive_cmds_need_lc='no' 10197 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10198 hardcode_libdir_separator=: 10199 ;; 10200 10201 osf4* | osf5*) # as osf3* with the addition of -msym flag 10202 if test yes = "$GCC"; then 10203 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10204 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' 10205 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10206 else 10207 allow_undefined_flag=' -expect_unresolved \*' 10208 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' 10209 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~ 10210 $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' 10211 10212 # Both c and cxx compiler support -rpath directly 10213 hardcode_libdir_flag_spec='-rpath $libdir' 10214 fi 10215 archive_cmds_need_lc='no' 10216 hardcode_libdir_separator=: 10217 ;; 10218 10219 solaris*) 10220 no_undefined_flag=' -z defs' 10221 if test yes = "$GCC"; then 10222 wlarc='$wl' 10223 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10224 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10225 $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' 10226 else 10227 case `$CC -V 2>&1` in 10228 *"Compilers 5.0"*) 10229 wlarc='' 10230 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10231 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10232 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10233 ;; 10234 *) 10235 wlarc='$wl' 10236 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10237 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10238 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10239 ;; 10240 esac 10241 fi 10242 hardcode_libdir_flag_spec='-R$libdir' 10243 hardcode_shlibpath_var=no 10244 case $host_os in 10245 solaris2.[0-5] | solaris2.[0-5].*) ;; 10246 *) 10247 # The compiler driver will combine and reorder linker options, 10248 # but understands '-z linker_flag'. GCC discards it without '$wl', 10249 # but is careful enough not to reorder. 10250 # Supported since Solaris 2.6 (maybe 2.5.1?) 10251 if test yes = "$GCC"; then 10252 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10253 else 10254 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10255 fi 10256 ;; 10257 esac 10258 link_all_deplibs=yes 10259 ;; 10260 10261 sunos4*) 10262 if test sequent = "$host_vendor"; then 10263 # Use $CC to link under sequent, because it throws in some extra .o 10264 # files that make .init and .fini sections work. 10265 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10266 else 10267 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10268 fi 10269 hardcode_libdir_flag_spec='-L$libdir' 10270 hardcode_direct=yes 10271 hardcode_minus_L=yes 10272 hardcode_shlibpath_var=no 10273 ;; 10274 10275 sysv4) 10276 case $host_vendor in 10277 sni) 10278 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10279 hardcode_direct=yes # is this really true??? 10280 ;; 10281 siemens) 10282 ## LD is ld it makes a PLAMLIB 10283 ## CC just makes a GrossModule. 10284 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10285 reload_cmds='$CC -r -o $output$reload_objs' 10286 hardcode_direct=no 10287 ;; 10288 motorola) 10289 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10290 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10291 ;; 10292 esac 10293 runpath_var='LD_RUN_PATH' 10294 hardcode_shlibpath_var=no 10295 ;; 10296 10297 sysv4.3*) 10298 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10299 hardcode_shlibpath_var=no 10300 export_dynamic_flag_spec='-Bexport' 10301 ;; 10302 10303 sysv4*MP*) 10304 if test -d /usr/nec; then 10305 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10306 hardcode_shlibpath_var=no 10307 runpath_var=LD_RUN_PATH 10308 hardcode_runpath_var=yes 10309 ld_shlibs=yes 10310 fi 10311 ;; 10312 10313 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10314 no_undefined_flag='$wl-z,text' 10315 archive_cmds_need_lc=no 10316 hardcode_shlibpath_var=no 10317 runpath_var='LD_RUN_PATH' 10318 10319 if test yes = "$GCC"; then 10320 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10321 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10322 else 10323 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10324 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10325 fi 10326 ;; 10327 10328 sysv5* | sco3.2v5* | sco5v6*) 10329 # Note: We CANNOT use -z defs as we might desire, because we do not 10330 # link with -lc, and that would cause any symbols used from libc to 10331 # always be unresolved, which means just about no library would 10332 # ever link correctly. If we're not using GNU ld we use -z text 10333 # though, which does catch some bad symbols but isn't as heavy-handed 10334 # as -z defs. 10335 no_undefined_flag='$wl-z,text' 10336 allow_undefined_flag='$wl-z,nodefs' 10337 archive_cmds_need_lc=no 10338 hardcode_shlibpath_var=no 10339 hardcode_libdir_flag_spec='$wl-R,$libdir' 10340 hardcode_libdir_separator=':' 10341 link_all_deplibs=yes 10342 export_dynamic_flag_spec='$wl-Bexport' 10343 runpath_var='LD_RUN_PATH' 10344 10345 if test yes = "$GCC"; then 10346 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10347 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10348 else 10349 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10350 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10351 fi 10352 ;; 10353 10354 uts4*) 10355 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10356 hardcode_libdir_flag_spec='-L$libdir' 10357 hardcode_shlibpath_var=no 10358 ;; 10359 10360 *) 10361 ld_shlibs=no 10362 ;; 10363 esac 10364 10365 if test sni = "$host_vendor"; then 10366 case $host in 10367 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10368 export_dynamic_flag_spec='$wl-Blargedynsym' 10369 ;; 10370 esac 10371 fi 10372 fi 10373 10374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10375$as_echo "$ld_shlibs" >&6; } 10376test no = "$ld_shlibs" && can_build_shared=no 10377 10378with_gnu_ld=$with_gnu_ld 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394# 10395# Do we need to explicitly link libc? 10396# 10397case "x$archive_cmds_need_lc" in 10398x|xyes) 10399 # Assume -lc should be added 10400 archive_cmds_need_lc=yes 10401 10402 if test yes,yes = "$GCC,$enable_shared"; then 10403 case $archive_cmds in 10404 *'~'*) 10405 # FIXME: we may have to deal with multi-command sequences. 10406 ;; 10407 '$CC '*) 10408 # Test whether the compiler implicitly links with -lc since on some 10409 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10410 # to ld, don't add -lc before -lgcc. 10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10412$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10413if ${lt_cv_archive_cmds_need_lc+:} false; then : 10414 $as_echo_n "(cached) " >&6 10415else 10416 $RM conftest* 10417 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10418 10419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10420 (eval $ac_compile) 2>&5 10421 ac_status=$? 10422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10423 test $ac_status = 0; } 2>conftest.err; then 10424 soname=conftest 10425 lib=conftest 10426 libobjs=conftest.$ac_objext 10427 deplibs= 10428 wl=$lt_prog_compiler_wl 10429 pic_flag=$lt_prog_compiler_pic 10430 compiler_flags=-v 10431 linker_flags=-v 10432 verstring= 10433 output_objdir=. 10434 libname=conftest 10435 lt_save_allow_undefined_flag=$allow_undefined_flag 10436 allow_undefined_flag= 10437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10438 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10439 ac_status=$? 10440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10441 test $ac_status = 0; } 10442 then 10443 lt_cv_archive_cmds_need_lc=no 10444 else 10445 lt_cv_archive_cmds_need_lc=yes 10446 fi 10447 allow_undefined_flag=$lt_save_allow_undefined_flag 10448 else 10449 cat conftest.err 1>&5 10450 fi 10451 $RM conftest* 10452 10453fi 10454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10455$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10456 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10457 ;; 10458 esac 10459 fi 10460 ;; 10461esac 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10615$as_echo_n "checking dynamic linker characteristics... " >&6; } 10616 10617if test yes = "$GCC"; then 10618 case $host_os in 10619 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10620 *) lt_awk_arg='/^libraries:/' ;; 10621 esac 10622 case $host_os in 10623 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10624 *) lt_sed_strip_eq='s|=/|/|g' ;; 10625 esac 10626 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10627 case $lt_search_path_spec in 10628 *\;*) 10629 # if the path contains ";" then we assume it to be the separator 10630 # otherwise default to the standard path separator (i.e. ":") - it is 10631 # assumed that no part of a normal pathname contains ";" but that should 10632 # okay in the real world where ";" in dirpaths is itself problematic. 10633 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10634 ;; 10635 *) 10636 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10637 ;; 10638 esac 10639 # Ok, now we have the path, separated by spaces, we can step through it 10640 # and add multilib dir if necessary... 10641 lt_tmp_lt_search_path_spec= 10642 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10643 # ...but if some path component already ends with the multilib dir we assume 10644 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10645 case "$lt_multi_os_dir; $lt_search_path_spec " in 10646 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10647 lt_multi_os_dir= 10648 ;; 10649 esac 10650 for lt_sys_path in $lt_search_path_spec; do 10651 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10652 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10653 elif test -n "$lt_multi_os_dir"; then 10654 test -d "$lt_sys_path" && \ 10655 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10656 fi 10657 done 10658 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10659BEGIN {RS = " "; FS = "/|\n";} { 10660 lt_foo = ""; 10661 lt_count = 0; 10662 for (lt_i = NF; lt_i > 0; lt_i--) { 10663 if ($lt_i != "" && $lt_i != ".") { 10664 if ($lt_i == "..") { 10665 lt_count++; 10666 } else { 10667 if (lt_count == 0) { 10668 lt_foo = "/" $lt_i lt_foo; 10669 } else { 10670 lt_count--; 10671 } 10672 } 10673 } 10674 } 10675 if (lt_foo != "") { lt_freq[lt_foo]++; } 10676 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10677}'` 10678 # AWK program above erroneously prepends '/' to C:/dos/paths 10679 # for these hosts. 10680 case $host_os in 10681 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10682 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10683 esac 10684 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10685else 10686 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10687fi 10688library_names_spec= 10689libname_spec='lib$name' 10690soname_spec= 10691shrext_cmds=.so 10692postinstall_cmds= 10693postuninstall_cmds= 10694finish_cmds= 10695finish_eval= 10696shlibpath_var= 10697shlibpath_overrides_runpath=unknown 10698version_type=none 10699dynamic_linker="$host_os ld.so" 10700sys_lib_dlsearch_path_spec="/lib /usr/lib" 10701need_lib_prefix=unknown 10702hardcode_into_libs=no 10703 10704# when you set need_version to no, make sure it does not cause -set_version 10705# flags to be left without arguments 10706need_version=unknown 10707 10708 10709 10710case $host_os in 10711aix3*) 10712 version_type=linux # correct to gnu/linux during the next big refactor 10713 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10714 shlibpath_var=LIBPATH 10715 10716 # AIX 3 has no versioning support, so we append a major version to the name. 10717 soname_spec='$libname$release$shared_ext$major' 10718 ;; 10719 10720aix[4-9]*) 10721 version_type=linux # correct to gnu/linux during the next big refactor 10722 need_lib_prefix=no 10723 need_version=no 10724 hardcode_into_libs=yes 10725 if test ia64 = "$host_cpu"; then 10726 # AIX 5 supports IA64 10727 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10728 shlibpath_var=LD_LIBRARY_PATH 10729 else 10730 # With GCC up to 2.95.x, collect2 would create an import file 10731 # for dependence libraries. The import file would start with 10732 # the line '#! .'. This would cause the generated library to 10733 # depend on '.', always an invalid library. This was fixed in 10734 # development snapshots of GCC prior to 3.0. 10735 case $host_os in 10736 aix4 | aix4.[01] | aix4.[01].*) 10737 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10738 echo ' yes ' 10739 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10740 : 10741 else 10742 can_build_shared=no 10743 fi 10744 ;; 10745 esac 10746 # Using Import Files as archive members, it is possible to support 10747 # filename-based versioning of shared library archives on AIX. While 10748 # this would work for both with and without runtime linking, it will 10749 # prevent static linking of such archives. So we do filename-based 10750 # shared library versioning with .so extension only, which is used 10751 # when both runtime linking and shared linking is enabled. 10752 # Unfortunately, runtime linking may impact performance, so we do 10753 # not want this to be the default eventually. Also, we use the 10754 # versioned .so libs for executables only if there is the -brtl 10755 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10756 # To allow for filename-based versioning support, we need to create 10757 # libNAME.so.V as an archive file, containing: 10758 # *) an Import File, referring to the versioned filename of the 10759 # archive as well as the shared archive member, telling the 10760 # bitwidth (32 or 64) of that shared object, and providing the 10761 # list of exported symbols of that shared object, eventually 10762 # decorated with the 'weak' keyword 10763 # *) the shared object with the F_LOADONLY flag set, to really avoid 10764 # it being seen by the linker. 10765 # At run time we better use the real file rather than another symlink, 10766 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10767 10768 case $with_aix_soname,$aix_use_runtimelinking in 10769 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10770 # soname into executable. Probably we can add versioning support to 10771 # collect2, so additional links can be useful in future. 10772 aix,yes) # traditional libtool 10773 dynamic_linker='AIX unversionable lib.so' 10774 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10775 # instead of lib<name>.a to let people know that these are not 10776 # typical AIX shared libraries. 10777 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10778 ;; 10779 aix,no) # traditional AIX only 10780 dynamic_linker='AIX lib.a(lib.so.V)' 10781 # We preserve .a as extension for shared libraries through AIX4.2 10782 # and later when we are not doing run time linking. 10783 library_names_spec='$libname$release.a $libname.a' 10784 soname_spec='$libname$release$shared_ext$major' 10785 ;; 10786 svr4,*) # full svr4 only 10787 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10788 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10789 # We do not specify a path in Import Files, so LIBPATH fires. 10790 shlibpath_overrides_runpath=yes 10791 ;; 10792 *,yes) # both, prefer svr4 10793 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10794 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10795 # unpreferred sharedlib libNAME.a needs extra handling 10796 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"' 10797 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"' 10798 # We do not specify a path in Import Files, so LIBPATH fires. 10799 shlibpath_overrides_runpath=yes 10800 ;; 10801 *,no) # both, prefer aix 10802 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10803 library_names_spec='$libname$release.a $libname.a' 10804 soname_spec='$libname$release$shared_ext$major' 10805 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10806 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)' 10807 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"' 10808 ;; 10809 esac 10810 shlibpath_var=LIBPATH 10811 fi 10812 ;; 10813 10814amigaos*) 10815 case $host_cpu in 10816 powerpc) 10817 # Since July 2007 AmigaOS4 officially supports .so libraries. 10818 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10819 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10820 ;; 10821 m68k) 10822 library_names_spec='$libname.ixlibrary $libname.a' 10823 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10824 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' 10825 ;; 10826 esac 10827 ;; 10828 10829beos*) 10830 library_names_spec='$libname$shared_ext' 10831 dynamic_linker="$host_os ld.so" 10832 shlibpath_var=LIBRARY_PATH 10833 ;; 10834 10835bsdi[45]*) 10836 version_type=linux # correct to gnu/linux during the next big refactor 10837 need_version=no 10838 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10839 soname_spec='$libname$release$shared_ext$major' 10840 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10841 shlibpath_var=LD_LIBRARY_PATH 10842 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10843 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10844 # the default ld.so.conf also contains /usr/contrib/lib and 10845 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10846 # libtool to hard-code these into programs 10847 ;; 10848 10849cygwin* | mingw* | pw32* | cegcc*) 10850 version_type=windows 10851 shrext_cmds=.dll 10852 need_version=no 10853 need_lib_prefix=no 10854 10855 case $GCC,$cc_basename in 10856 yes,*) 10857 # gcc 10858 library_names_spec='$libname.dll.a' 10859 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10860 postinstall_cmds='base_file=`basename \$file`~ 10861 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10862 dldir=$destdir/`dirname \$dlpath`~ 10863 test -d \$dldir || mkdir -p \$dldir~ 10864 $install_prog $dir/$dlname \$dldir/$dlname~ 10865 chmod a+x \$dldir/$dlname~ 10866 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10867 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10868 fi' 10869 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10870 dlpath=$dir/\$dldll~ 10871 $RM \$dlpath' 10872 shlibpath_overrides_runpath=yes 10873 10874 case $host_os in 10875 cygwin*) 10876 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10877 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10878 10879 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10880 ;; 10881 mingw* | cegcc*) 10882 # MinGW DLLs use traditional 'lib' prefix 10883 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10884 ;; 10885 pw32*) 10886 # pw32 DLLs use 'pw' prefix rather than 'lib' 10887 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10888 ;; 10889 esac 10890 dynamic_linker='Win32 ld.exe' 10891 ;; 10892 10893 *,cl*) 10894 # Native MSVC 10895 libname_spec='$name' 10896 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10897 library_names_spec='$libname.dll.lib' 10898 10899 case $build_os in 10900 mingw*) 10901 sys_lib_search_path_spec= 10902 lt_save_ifs=$IFS 10903 IFS=';' 10904 for lt_path in $LIB 10905 do 10906 IFS=$lt_save_ifs 10907 # Let DOS variable expansion print the short 8.3 style file name. 10908 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10909 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10910 done 10911 IFS=$lt_save_ifs 10912 # Convert to MSYS style. 10913 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10914 ;; 10915 cygwin*) 10916 # Convert to unix form, then to dos form, then back to unix form 10917 # but this time dos style (no spaces!) so that the unix form looks 10918 # like /cygdrive/c/PROGRA~1:/cygdr... 10919 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10920 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10921 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10922 ;; 10923 *) 10924 sys_lib_search_path_spec=$LIB 10925 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10926 # It is most probably a Windows format PATH. 10927 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10928 else 10929 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10930 fi 10931 # FIXME: find the short name or the path components, as spaces are 10932 # common. (e.g. "Program Files" -> "PROGRA~1") 10933 ;; 10934 esac 10935 10936 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10937 postinstall_cmds='base_file=`basename \$file`~ 10938 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10939 dldir=$destdir/`dirname \$dlpath`~ 10940 test -d \$dldir || mkdir -p \$dldir~ 10941 $install_prog $dir/$dlname \$dldir/$dlname' 10942 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10943 dlpath=$dir/\$dldll~ 10944 $RM \$dlpath' 10945 shlibpath_overrides_runpath=yes 10946 dynamic_linker='Win32 link.exe' 10947 ;; 10948 10949 *) 10950 # Assume MSVC wrapper 10951 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10952 dynamic_linker='Win32 ld.exe' 10953 ;; 10954 esac 10955 # FIXME: first we should search . and the directory the executable is in 10956 shlibpath_var=PATH 10957 ;; 10958 10959darwin* | rhapsody*) 10960 dynamic_linker="$host_os dyld" 10961 version_type=darwin 10962 need_lib_prefix=no 10963 need_version=no 10964 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10965 soname_spec='$libname$release$major$shared_ext' 10966 shlibpath_overrides_runpath=yes 10967 shlibpath_var=DYLD_LIBRARY_PATH 10968 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10969 10970 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10971 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10972 ;; 10973 10974dgux*) 10975 version_type=linux # correct to gnu/linux during the next big refactor 10976 need_lib_prefix=no 10977 need_version=no 10978 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10979 soname_spec='$libname$release$shared_ext$major' 10980 shlibpath_var=LD_LIBRARY_PATH 10981 ;; 10982 10983freebsd* | dragonfly*) 10984 # DragonFly does not have aout. When/if they implement a new 10985 # versioning mechanism, adjust this. 10986 if test -x /usr/bin/objformat; then 10987 objformat=`/usr/bin/objformat` 10988 else 10989 case $host_os in 10990 freebsd[23].*) objformat=aout ;; 10991 *) objformat=elf ;; 10992 esac 10993 fi 10994 version_type=freebsd-$objformat 10995 case $version_type in 10996 freebsd-elf*) 10997 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10998 soname_spec='$libname$release$shared_ext$major' 10999 need_version=no 11000 need_lib_prefix=no 11001 ;; 11002 freebsd-*) 11003 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11004 need_version=yes 11005 ;; 11006 esac 11007 shlibpath_var=LD_LIBRARY_PATH 11008 case $host_os in 11009 freebsd2.*) 11010 shlibpath_overrides_runpath=yes 11011 ;; 11012 freebsd3.[01]* | freebsdelf3.[01]*) 11013 shlibpath_overrides_runpath=yes 11014 hardcode_into_libs=yes 11015 ;; 11016 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11017 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11018 shlibpath_overrides_runpath=no 11019 hardcode_into_libs=yes 11020 ;; 11021 *) # from 4.6 on, and DragonFly 11022 shlibpath_overrides_runpath=yes 11023 hardcode_into_libs=yes 11024 ;; 11025 esac 11026 ;; 11027 11028haiku*) 11029 version_type=linux # correct to gnu/linux during the next big refactor 11030 need_lib_prefix=no 11031 need_version=no 11032 dynamic_linker="$host_os runtime_loader" 11033 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11034 soname_spec='$libname$release$shared_ext$major' 11035 shlibpath_var=LIBRARY_PATH 11036 shlibpath_overrides_runpath=no 11037 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11038 hardcode_into_libs=yes 11039 ;; 11040 11041hpux9* | hpux10* | hpux11*) 11042 # Give a soname corresponding to the major version so that dld.sl refuses to 11043 # link against other versions. 11044 version_type=sunos 11045 need_lib_prefix=no 11046 need_version=no 11047 case $host_cpu in 11048 ia64*) 11049 shrext_cmds='.so' 11050 hardcode_into_libs=yes 11051 dynamic_linker="$host_os dld.so" 11052 shlibpath_var=LD_LIBRARY_PATH 11053 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11054 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11055 soname_spec='$libname$release$shared_ext$major' 11056 if test 32 = "$HPUX_IA64_MODE"; then 11057 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11058 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11059 else 11060 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11061 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11062 fi 11063 ;; 11064 hppa*64*) 11065 shrext_cmds='.sl' 11066 hardcode_into_libs=yes 11067 dynamic_linker="$host_os dld.sl" 11068 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11069 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11070 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11071 soname_spec='$libname$release$shared_ext$major' 11072 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11073 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11074 ;; 11075 *) 11076 shrext_cmds='.sl' 11077 dynamic_linker="$host_os dld.sl" 11078 shlibpath_var=SHLIB_PATH 11079 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11080 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11081 soname_spec='$libname$release$shared_ext$major' 11082 ;; 11083 esac 11084 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11085 postinstall_cmds='chmod 555 $lib' 11086 # or fails outright, so override atomically: 11087 install_override_mode=555 11088 ;; 11089 11090interix[3-9]*) 11091 version_type=linux # correct to gnu/linux during the next big refactor 11092 need_lib_prefix=no 11093 need_version=no 11094 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11095 soname_spec='$libname$release$shared_ext$major' 11096 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11097 shlibpath_var=LD_LIBRARY_PATH 11098 shlibpath_overrides_runpath=no 11099 hardcode_into_libs=yes 11100 ;; 11101 11102irix5* | irix6* | nonstopux*) 11103 case $host_os in 11104 nonstopux*) version_type=nonstopux ;; 11105 *) 11106 if test yes = "$lt_cv_prog_gnu_ld"; then 11107 version_type=linux # correct to gnu/linux during the next big refactor 11108 else 11109 version_type=irix 11110 fi ;; 11111 esac 11112 need_lib_prefix=no 11113 need_version=no 11114 soname_spec='$libname$release$shared_ext$major' 11115 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11116 case $host_os in 11117 irix5* | nonstopux*) 11118 libsuff= shlibsuff= 11119 ;; 11120 *) 11121 case $LD in # libtool.m4 will add one of these switches to LD 11122 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11123 libsuff= shlibsuff= libmagic=32-bit;; 11124 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11125 libsuff=32 shlibsuff=N32 libmagic=N32;; 11126 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11127 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11128 *) libsuff= shlibsuff= libmagic=never-match;; 11129 esac 11130 ;; 11131 esac 11132 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11133 shlibpath_overrides_runpath=no 11134 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11135 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11136 hardcode_into_libs=yes 11137 ;; 11138 11139# No shared lib support for Linux oldld, aout, or coff. 11140linux*oldld* | linux*aout* | linux*coff*) 11141 dynamic_linker=no 11142 ;; 11143 11144linux*android*) 11145 version_type=none # Android doesn't support versioned libraries. 11146 need_lib_prefix=no 11147 need_version=no 11148 library_names_spec='$libname$release$shared_ext' 11149 soname_spec='$libname$release$shared_ext' 11150 finish_cmds= 11151 shlibpath_var=LD_LIBRARY_PATH 11152 shlibpath_overrides_runpath=yes 11153 11154 # This implies no fast_install, which is unacceptable. 11155 # Some rework will be needed to allow for fast_install 11156 # before this can be enabled. 11157 hardcode_into_libs=yes 11158 11159 dynamic_linker='Android linker' 11160 # Don't embed -rpath directories since the linker doesn't support them. 11161 hardcode_libdir_flag_spec='-L$libdir' 11162 ;; 11163 11164# This must be glibc/ELF. 11165linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11166 version_type=linux # correct to gnu/linux during the next big refactor 11167 need_lib_prefix=no 11168 need_version=no 11169 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11170 soname_spec='$libname$release$shared_ext$major' 11171 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11172 shlibpath_var=LD_LIBRARY_PATH 11173 shlibpath_overrides_runpath=no 11174 11175 # Some binutils ld are patched to set DT_RUNPATH 11176 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11177 $as_echo_n "(cached) " >&6 11178else 11179 lt_cv_shlibpath_overrides_runpath=no 11180 save_LDFLAGS=$LDFLAGS 11181 save_libdir=$libdir 11182 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11183 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11185/* end confdefs.h. */ 11186 11187int 11188main () 11189{ 11190 11191 ; 11192 return 0; 11193} 11194_ACEOF 11195if ac_fn_c_try_link "$LINENO"; then : 11196 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11197 lt_cv_shlibpath_overrides_runpath=yes 11198fi 11199fi 11200rm -f core conftest.err conftest.$ac_objext \ 11201 conftest$ac_exeext conftest.$ac_ext 11202 LDFLAGS=$save_LDFLAGS 11203 libdir=$save_libdir 11204 11205fi 11206 11207 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11208 11209 # This implies no fast_install, which is unacceptable. 11210 # Some rework will be needed to allow for fast_install 11211 # before this can be enabled. 11212 hardcode_into_libs=yes 11213 11214 # Add ABI-specific directories to the system library path. 11215 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11216 11217 # Ideally, we could use ldconfig to report *all* directores which are 11218 # searched for libraries, however this is still not possible. Aside from not 11219 # being certain /sbin/ldconfig is available, command 11220 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11221 # even though it is searched at run-time. Try to do the best guess by 11222 # appending ld.so.conf contents (and includes) to the search path. 11223 if test -f /etc/ld.so.conf; then 11224 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' ' '` 11225 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11226 fi 11227 11228 # We used to test for /lib/ld.so.1 and disable shared libraries on 11229 # powerpc, because MkLinux only supported shared libraries with the 11230 # GNU dynamic linker. Since this was broken with cross compilers, 11231 # most powerpc-linux boxes support dynamic linking these days and 11232 # people can always --disable-shared, the test was removed, and we 11233 # assume the GNU/Linux dynamic linker is in use. 11234 dynamic_linker='GNU/Linux ld.so' 11235 ;; 11236 11237netbsd*) 11238 version_type=sunos 11239 need_lib_prefix=no 11240 need_version=no 11241 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11242 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11243 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11244 dynamic_linker='NetBSD (a.out) ld.so' 11245 else 11246 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11247 soname_spec='$libname$release$shared_ext$major' 11248 dynamic_linker='NetBSD ld.elf_so' 11249 fi 11250 shlibpath_var=LD_LIBRARY_PATH 11251 shlibpath_overrides_runpath=yes 11252 hardcode_into_libs=yes 11253 ;; 11254 11255newsos6) 11256 version_type=linux # correct to gnu/linux during the next big refactor 11257 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11258 shlibpath_var=LD_LIBRARY_PATH 11259 shlibpath_overrides_runpath=yes 11260 ;; 11261 11262*nto* | *qnx*) 11263 version_type=qnx 11264 need_lib_prefix=no 11265 need_version=no 11266 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11267 soname_spec='$libname$release$shared_ext$major' 11268 shlibpath_var=LD_LIBRARY_PATH 11269 shlibpath_overrides_runpath=no 11270 hardcode_into_libs=yes 11271 dynamic_linker='ldqnx.so' 11272 ;; 11273 11274openbsd* | bitrig*) 11275 version_type=sunos 11276 sys_lib_dlsearch_path_spec=/usr/lib 11277 need_lib_prefix=no 11278 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11279 need_version=no 11280 else 11281 need_version=yes 11282 fi 11283 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11284 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11285 shlibpath_var=LD_LIBRARY_PATH 11286 shlibpath_overrides_runpath=yes 11287 ;; 11288 11289os2*) 11290 libname_spec='$name' 11291 version_type=windows 11292 shrext_cmds=.dll 11293 need_version=no 11294 need_lib_prefix=no 11295 # OS/2 can only load a DLL with a base name of 8 characters or less. 11296 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11297 v=$($ECHO $release$versuffix | tr -d .-); 11298 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11299 $ECHO $n$v`$shared_ext' 11300 library_names_spec='${libname}_dll.$libext' 11301 dynamic_linker='OS/2 ld.exe' 11302 shlibpath_var=BEGINLIBPATH 11303 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11304 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11305 postinstall_cmds='base_file=`basename \$file`~ 11306 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11307 dldir=$destdir/`dirname \$dlpath`~ 11308 test -d \$dldir || mkdir -p \$dldir~ 11309 $install_prog $dir/$dlname \$dldir/$dlname~ 11310 chmod a+x \$dldir/$dlname~ 11311 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11312 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11313 fi' 11314 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11315 dlpath=$dir/\$dldll~ 11316 $RM \$dlpath' 11317 ;; 11318 11319osf3* | osf4* | osf5*) 11320 version_type=osf 11321 need_lib_prefix=no 11322 need_version=no 11323 soname_spec='$libname$release$shared_ext$major' 11324 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11325 shlibpath_var=LD_LIBRARY_PATH 11326 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11327 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11328 ;; 11329 11330rdos*) 11331 dynamic_linker=no 11332 ;; 11333 11334solaris*) 11335 version_type=linux # correct to gnu/linux during the next big refactor 11336 need_lib_prefix=no 11337 need_version=no 11338 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11339 soname_spec='$libname$release$shared_ext$major' 11340 shlibpath_var=LD_LIBRARY_PATH 11341 shlibpath_overrides_runpath=yes 11342 hardcode_into_libs=yes 11343 # ldd complains unless libraries are executable 11344 postinstall_cmds='chmod +x $lib' 11345 ;; 11346 11347sunos4*) 11348 version_type=sunos 11349 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11350 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11351 shlibpath_var=LD_LIBRARY_PATH 11352 shlibpath_overrides_runpath=yes 11353 if test yes = "$with_gnu_ld"; then 11354 need_lib_prefix=no 11355 fi 11356 need_version=yes 11357 ;; 11358 11359sysv4 | sysv4.3*) 11360 version_type=linux # correct to gnu/linux during the next big refactor 11361 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11362 soname_spec='$libname$release$shared_ext$major' 11363 shlibpath_var=LD_LIBRARY_PATH 11364 case $host_vendor in 11365 sni) 11366 shlibpath_overrides_runpath=no 11367 need_lib_prefix=no 11368 runpath_var=LD_RUN_PATH 11369 ;; 11370 siemens) 11371 need_lib_prefix=no 11372 ;; 11373 motorola) 11374 need_lib_prefix=no 11375 need_version=no 11376 shlibpath_overrides_runpath=no 11377 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11378 ;; 11379 esac 11380 ;; 11381 11382sysv4*MP*) 11383 if test -d /usr/nec; then 11384 version_type=linux # correct to gnu/linux during the next big refactor 11385 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11386 soname_spec='$libname$shared_ext.$major' 11387 shlibpath_var=LD_LIBRARY_PATH 11388 fi 11389 ;; 11390 11391sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11392 version_type=sco 11393 need_lib_prefix=no 11394 need_version=no 11395 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11396 soname_spec='$libname$release$shared_ext$major' 11397 shlibpath_var=LD_LIBRARY_PATH 11398 shlibpath_overrides_runpath=yes 11399 hardcode_into_libs=yes 11400 if test yes = "$with_gnu_ld"; then 11401 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11402 else 11403 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11404 case $host_os in 11405 sco3.2v5*) 11406 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11407 ;; 11408 esac 11409 fi 11410 sys_lib_dlsearch_path_spec='/usr/lib' 11411 ;; 11412 11413tpf*) 11414 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11415 version_type=linux # correct to gnu/linux during the next big refactor 11416 need_lib_prefix=no 11417 need_version=no 11418 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11419 shlibpath_var=LD_LIBRARY_PATH 11420 shlibpath_overrides_runpath=no 11421 hardcode_into_libs=yes 11422 ;; 11423 11424uts4*) 11425 version_type=linux # correct to gnu/linux during the next big refactor 11426 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11427 soname_spec='$libname$release$shared_ext$major' 11428 shlibpath_var=LD_LIBRARY_PATH 11429 ;; 11430 11431*) 11432 dynamic_linker=no 11433 ;; 11434esac 11435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11436$as_echo "$dynamic_linker" >&6; } 11437test no = "$dynamic_linker" && can_build_shared=no 11438 11439variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11440if test yes = "$GCC"; then 11441 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11442fi 11443 11444if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11445 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11446fi 11447 11448if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11449 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11450fi 11451 11452# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11453configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11454 11455# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11456func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11457 11458# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11459configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11558$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11559hardcode_action= 11560if test -n "$hardcode_libdir_flag_spec" || 11561 test -n "$runpath_var" || 11562 test yes = "$hardcode_automatic"; then 11563 11564 # We can hardcode non-existent directories. 11565 if test no != "$hardcode_direct" && 11566 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11567 # have to relink, otherwise we might link with an installed library 11568 # when we should be linking with a yet-to-be-installed one 11569 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11570 test no != "$hardcode_minus_L"; then 11571 # Linking always hardcodes the temporary library directory. 11572 hardcode_action=relink 11573 else 11574 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11575 hardcode_action=immediate 11576 fi 11577else 11578 # We cannot hardcode anything, or else we can only hardcode existing 11579 # directories. 11580 hardcode_action=unsupported 11581fi 11582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11583$as_echo "$hardcode_action" >&6; } 11584 11585if test relink = "$hardcode_action" || 11586 test yes = "$inherit_rpath"; then 11587 # Fast installation is not supported 11588 enable_fast_install=no 11589elif test yes = "$shlibpath_overrides_runpath" || 11590 test no = "$enable_shared"; then 11591 # Fast installation is not necessary 11592 enable_fast_install=needless 11593fi 11594 11595 11596 11597 11598 11599 11600 if test yes != "$enable_dlopen"; then 11601 enable_dlopen=unknown 11602 enable_dlopen_self=unknown 11603 enable_dlopen_self_static=unknown 11604else 11605 lt_cv_dlopen=no 11606 lt_cv_dlopen_libs= 11607 11608 case $host_os in 11609 beos*) 11610 lt_cv_dlopen=load_add_on 11611 lt_cv_dlopen_libs= 11612 lt_cv_dlopen_self=yes 11613 ;; 11614 11615 mingw* | pw32* | cegcc*) 11616 lt_cv_dlopen=LoadLibrary 11617 lt_cv_dlopen_libs= 11618 ;; 11619 11620 cygwin*) 11621 lt_cv_dlopen=dlopen 11622 lt_cv_dlopen_libs= 11623 ;; 11624 11625 darwin*) 11626 # if libdl is installed we need to link against it 11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11628$as_echo_n "checking for dlopen in -ldl... " >&6; } 11629if ${ac_cv_lib_dl_dlopen+:} false; then : 11630 $as_echo_n "(cached) " >&6 11631else 11632 ac_check_lib_save_LIBS=$LIBS 11633LIBS="-ldl $LIBS" 11634cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11635/* end confdefs.h. */ 11636 11637/* Override any GCC internal prototype to avoid an error. 11638 Use char because int might match the return type of a GCC 11639 builtin and then its argument prototype would still apply. */ 11640#ifdef __cplusplus 11641extern "C" 11642#endif 11643char dlopen (); 11644int 11645main () 11646{ 11647return dlopen (); 11648 ; 11649 return 0; 11650} 11651_ACEOF 11652if ac_fn_c_try_link "$LINENO"; then : 11653 ac_cv_lib_dl_dlopen=yes 11654else 11655 ac_cv_lib_dl_dlopen=no 11656fi 11657rm -f core conftest.err conftest.$ac_objext \ 11658 conftest$ac_exeext conftest.$ac_ext 11659LIBS=$ac_check_lib_save_LIBS 11660fi 11661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11662$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11663if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11664 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11665else 11666 11667 lt_cv_dlopen=dyld 11668 lt_cv_dlopen_libs= 11669 lt_cv_dlopen_self=yes 11670 11671fi 11672 11673 ;; 11674 11675 tpf*) 11676 # Don't try to run any link tests for TPF. We know it's impossible 11677 # because TPF is a cross-compiler, and we know how we open DSOs. 11678 lt_cv_dlopen=dlopen 11679 lt_cv_dlopen_libs= 11680 lt_cv_dlopen_self=no 11681 ;; 11682 11683 *) 11684 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11685if test "x$ac_cv_func_shl_load" = xyes; then : 11686 lt_cv_dlopen=shl_load 11687else 11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11689$as_echo_n "checking for shl_load in -ldld... " >&6; } 11690if ${ac_cv_lib_dld_shl_load+:} false; then : 11691 $as_echo_n "(cached) " >&6 11692else 11693 ac_check_lib_save_LIBS=$LIBS 11694LIBS="-ldld $LIBS" 11695cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11696/* end confdefs.h. */ 11697 11698/* Override any GCC internal prototype to avoid an error. 11699 Use char because int might match the return type of a GCC 11700 builtin and then its argument prototype would still apply. */ 11701#ifdef __cplusplus 11702extern "C" 11703#endif 11704char shl_load (); 11705int 11706main () 11707{ 11708return shl_load (); 11709 ; 11710 return 0; 11711} 11712_ACEOF 11713if ac_fn_c_try_link "$LINENO"; then : 11714 ac_cv_lib_dld_shl_load=yes 11715else 11716 ac_cv_lib_dld_shl_load=no 11717fi 11718rm -f core conftest.err conftest.$ac_objext \ 11719 conftest$ac_exeext conftest.$ac_ext 11720LIBS=$ac_check_lib_save_LIBS 11721fi 11722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11723$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11724if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11725 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11726else 11727 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11728if test "x$ac_cv_func_dlopen" = xyes; then : 11729 lt_cv_dlopen=dlopen 11730else 11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11732$as_echo_n "checking for dlopen in -ldl... " >&6; } 11733if ${ac_cv_lib_dl_dlopen+:} false; then : 11734 $as_echo_n "(cached) " >&6 11735else 11736 ac_check_lib_save_LIBS=$LIBS 11737LIBS="-ldl $LIBS" 11738cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11739/* end confdefs.h. */ 11740 11741/* Override any GCC internal prototype to avoid an error. 11742 Use char because int might match the return type of a GCC 11743 builtin and then its argument prototype would still apply. */ 11744#ifdef __cplusplus 11745extern "C" 11746#endif 11747char dlopen (); 11748int 11749main () 11750{ 11751return dlopen (); 11752 ; 11753 return 0; 11754} 11755_ACEOF 11756if ac_fn_c_try_link "$LINENO"; then : 11757 ac_cv_lib_dl_dlopen=yes 11758else 11759 ac_cv_lib_dl_dlopen=no 11760fi 11761rm -f core conftest.err conftest.$ac_objext \ 11762 conftest$ac_exeext conftest.$ac_ext 11763LIBS=$ac_check_lib_save_LIBS 11764fi 11765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11766$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11767if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11768 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11769else 11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11771$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11772if ${ac_cv_lib_svld_dlopen+:} false; then : 11773 $as_echo_n "(cached) " >&6 11774else 11775 ac_check_lib_save_LIBS=$LIBS 11776LIBS="-lsvld $LIBS" 11777cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11778/* end confdefs.h. */ 11779 11780/* Override any GCC internal prototype to avoid an error. 11781 Use char because int might match the return type of a GCC 11782 builtin and then its argument prototype would still apply. */ 11783#ifdef __cplusplus 11784extern "C" 11785#endif 11786char dlopen (); 11787int 11788main () 11789{ 11790return dlopen (); 11791 ; 11792 return 0; 11793} 11794_ACEOF 11795if ac_fn_c_try_link "$LINENO"; then : 11796 ac_cv_lib_svld_dlopen=yes 11797else 11798 ac_cv_lib_svld_dlopen=no 11799fi 11800rm -f core conftest.err conftest.$ac_objext \ 11801 conftest$ac_exeext conftest.$ac_ext 11802LIBS=$ac_check_lib_save_LIBS 11803fi 11804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11805$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11806if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11807 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11808else 11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11810$as_echo_n "checking for dld_link in -ldld... " >&6; } 11811if ${ac_cv_lib_dld_dld_link+:} false; then : 11812 $as_echo_n "(cached) " >&6 11813else 11814 ac_check_lib_save_LIBS=$LIBS 11815LIBS="-ldld $LIBS" 11816cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11817/* end confdefs.h. */ 11818 11819/* Override any GCC internal prototype to avoid an error. 11820 Use char because int might match the return type of a GCC 11821 builtin and then its argument prototype would still apply. */ 11822#ifdef __cplusplus 11823extern "C" 11824#endif 11825char dld_link (); 11826int 11827main () 11828{ 11829return dld_link (); 11830 ; 11831 return 0; 11832} 11833_ACEOF 11834if ac_fn_c_try_link "$LINENO"; then : 11835 ac_cv_lib_dld_dld_link=yes 11836else 11837 ac_cv_lib_dld_dld_link=no 11838fi 11839rm -f core conftest.err conftest.$ac_objext \ 11840 conftest$ac_exeext conftest.$ac_ext 11841LIBS=$ac_check_lib_save_LIBS 11842fi 11843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11844$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11845if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11846 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11847fi 11848 11849 11850fi 11851 11852 11853fi 11854 11855 11856fi 11857 11858 11859fi 11860 11861 11862fi 11863 11864 ;; 11865 esac 11866 11867 if test no = "$lt_cv_dlopen"; then 11868 enable_dlopen=no 11869 else 11870 enable_dlopen=yes 11871 fi 11872 11873 case $lt_cv_dlopen in 11874 dlopen) 11875 save_CPPFLAGS=$CPPFLAGS 11876 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11877 11878 save_LDFLAGS=$LDFLAGS 11879 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11880 11881 save_LIBS=$LIBS 11882 LIBS="$lt_cv_dlopen_libs $LIBS" 11883 11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11885$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11886if ${lt_cv_dlopen_self+:} false; then : 11887 $as_echo_n "(cached) " >&6 11888else 11889 if test yes = "$cross_compiling"; then : 11890 lt_cv_dlopen_self=cross 11891else 11892 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11893 lt_status=$lt_dlunknown 11894 cat > conftest.$ac_ext <<_LT_EOF 11895#line $LINENO "configure" 11896#include "confdefs.h" 11897 11898#if HAVE_DLFCN_H 11899#include <dlfcn.h> 11900#endif 11901 11902#include <stdio.h> 11903 11904#ifdef RTLD_GLOBAL 11905# define LT_DLGLOBAL RTLD_GLOBAL 11906#else 11907# ifdef DL_GLOBAL 11908# define LT_DLGLOBAL DL_GLOBAL 11909# else 11910# define LT_DLGLOBAL 0 11911# endif 11912#endif 11913 11914/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11915 find out it does not work in some platform. */ 11916#ifndef LT_DLLAZY_OR_NOW 11917# ifdef RTLD_LAZY 11918# define LT_DLLAZY_OR_NOW RTLD_LAZY 11919# else 11920# ifdef DL_LAZY 11921# define LT_DLLAZY_OR_NOW DL_LAZY 11922# else 11923# ifdef RTLD_NOW 11924# define LT_DLLAZY_OR_NOW RTLD_NOW 11925# else 11926# ifdef DL_NOW 11927# define LT_DLLAZY_OR_NOW DL_NOW 11928# else 11929# define LT_DLLAZY_OR_NOW 0 11930# endif 11931# endif 11932# endif 11933# endif 11934#endif 11935 11936/* When -fvisibility=hidden is used, assume the code has been annotated 11937 correspondingly for the symbols needed. */ 11938#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11939int fnord () __attribute__((visibility("default"))); 11940#endif 11941 11942int fnord () { return 42; } 11943int main () 11944{ 11945 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11946 int status = $lt_dlunknown; 11947 11948 if (self) 11949 { 11950 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11951 else 11952 { 11953 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11954 else puts (dlerror ()); 11955 } 11956 /* dlclose (self); */ 11957 } 11958 else 11959 puts (dlerror ()); 11960 11961 return status; 11962} 11963_LT_EOF 11964 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11965 (eval $ac_link) 2>&5 11966 ac_status=$? 11967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11968 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11969 (./conftest; exit; ) >&5 2>/dev/null 11970 lt_status=$? 11971 case x$lt_status in 11972 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11973 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11974 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11975 esac 11976 else : 11977 # compilation failed 11978 lt_cv_dlopen_self=no 11979 fi 11980fi 11981rm -fr conftest* 11982 11983 11984fi 11985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11986$as_echo "$lt_cv_dlopen_self" >&6; } 11987 11988 if test yes = "$lt_cv_dlopen_self"; then 11989 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11991$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11992if ${lt_cv_dlopen_self_static+:} false; then : 11993 $as_echo_n "(cached) " >&6 11994else 11995 if test yes = "$cross_compiling"; then : 11996 lt_cv_dlopen_self_static=cross 11997else 11998 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11999 lt_status=$lt_dlunknown 12000 cat > conftest.$ac_ext <<_LT_EOF 12001#line $LINENO "configure" 12002#include "confdefs.h" 12003 12004#if HAVE_DLFCN_H 12005#include <dlfcn.h> 12006#endif 12007 12008#include <stdio.h> 12009 12010#ifdef RTLD_GLOBAL 12011# define LT_DLGLOBAL RTLD_GLOBAL 12012#else 12013# ifdef DL_GLOBAL 12014# define LT_DLGLOBAL DL_GLOBAL 12015# else 12016# define LT_DLGLOBAL 0 12017# endif 12018#endif 12019 12020/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12021 find out it does not work in some platform. */ 12022#ifndef LT_DLLAZY_OR_NOW 12023# ifdef RTLD_LAZY 12024# define LT_DLLAZY_OR_NOW RTLD_LAZY 12025# else 12026# ifdef DL_LAZY 12027# define LT_DLLAZY_OR_NOW DL_LAZY 12028# else 12029# ifdef RTLD_NOW 12030# define LT_DLLAZY_OR_NOW RTLD_NOW 12031# else 12032# ifdef DL_NOW 12033# define LT_DLLAZY_OR_NOW DL_NOW 12034# else 12035# define LT_DLLAZY_OR_NOW 0 12036# endif 12037# endif 12038# endif 12039# endif 12040#endif 12041 12042/* When -fvisibility=hidden is used, assume the code has been annotated 12043 correspondingly for the symbols needed. */ 12044#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12045int fnord () __attribute__((visibility("default"))); 12046#endif 12047 12048int fnord () { return 42; } 12049int main () 12050{ 12051 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12052 int status = $lt_dlunknown; 12053 12054 if (self) 12055 { 12056 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12057 else 12058 { 12059 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12060 else puts (dlerror ()); 12061 } 12062 /* dlclose (self); */ 12063 } 12064 else 12065 puts (dlerror ()); 12066 12067 return status; 12068} 12069_LT_EOF 12070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12071 (eval $ac_link) 2>&5 12072 ac_status=$? 12073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12074 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12075 (./conftest; exit; ) >&5 2>/dev/null 12076 lt_status=$? 12077 case x$lt_status in 12078 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12079 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12080 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12081 esac 12082 else : 12083 # compilation failed 12084 lt_cv_dlopen_self_static=no 12085 fi 12086fi 12087rm -fr conftest* 12088 12089 12090fi 12091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12092$as_echo "$lt_cv_dlopen_self_static" >&6; } 12093 fi 12094 12095 CPPFLAGS=$save_CPPFLAGS 12096 LDFLAGS=$save_LDFLAGS 12097 LIBS=$save_LIBS 12098 ;; 12099 esac 12100 12101 case $lt_cv_dlopen_self in 12102 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12103 *) enable_dlopen_self=unknown ;; 12104 esac 12105 12106 case $lt_cv_dlopen_self_static in 12107 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12108 *) enable_dlopen_self_static=unknown ;; 12109 esac 12110fi 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128striplib= 12129old_striplib= 12130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12131$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12132if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12133 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12134 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12136$as_echo "yes" >&6; } 12137else 12138# FIXME - insert some real tests, host_os isn't really good enough 12139 case $host_os in 12140 darwin*) 12141 if test -n "$STRIP"; then 12142 striplib="$STRIP -x" 12143 old_striplib="$STRIP -S" 12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12145$as_echo "yes" >&6; } 12146 else 12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12148$as_echo "no" >&6; } 12149 fi 12150 ;; 12151 *) 12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12153$as_echo "no" >&6; } 12154 ;; 12155 esac 12156fi 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 # Report what library types will actually be built 12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12171$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12173$as_echo "$can_build_shared" >&6; } 12174 12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12176$as_echo_n "checking whether to build shared libraries... " >&6; } 12177 test no = "$can_build_shared" && enable_shared=no 12178 12179 # On AIX, shared libraries and static libraries use the same namespace, and 12180 # are all built from PIC. 12181 case $host_os in 12182 aix3*) 12183 test yes = "$enable_shared" && enable_static=no 12184 if test -n "$RANLIB"; then 12185 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12186 postinstall_cmds='$RANLIB $lib' 12187 fi 12188 ;; 12189 12190 aix[4-9]*) 12191 if test ia64 != "$host_cpu"; then 12192 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12193 yes,aix,yes) ;; # shared object as lib.so file only 12194 yes,svr4,*) ;; # shared object as lib.so archive member only 12195 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12196 esac 12197 fi 12198 ;; 12199 esac 12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12201$as_echo "$enable_shared" >&6; } 12202 12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12204$as_echo_n "checking whether to build static libraries... " >&6; } 12205 # Make sure either enable_shared or enable_static is yes. 12206 test yes = "$enable_shared" || enable_static=yes 12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12208$as_echo "$enable_static" >&6; } 12209 12210 12211 12212 12213fi 12214ac_ext=c 12215ac_cpp='$CPP $CPPFLAGS' 12216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12218ac_compiler_gnu=$ac_cv_c_compiler_gnu 12219 12220CC=$lt_save_CC 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 ac_config_commands="$ac_config_commands libtool" 12237 12238 12239 12240 12241# Only expand once: 12242 12243 12244 12245 12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 12247$as_echo_n "checking whether NLS is requested... " >&6; } 12248 # Check whether --enable-nls was given. 12249if test "${enable_nls+set}" = set; then : 12250 enableval=$enable_nls; USE_NLS=$enableval 12251else 12252 USE_NLS=yes 12253fi 12254 12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 12256$as_echo "$USE_NLS" >&6; } 12257 12258 12259 12260 12261case "$am__api_version" in 12262 1.01234) 12263 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 12264 ;; 12265 *) 12266 ;; 12267esac 12268 12269INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.50.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 12270INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 12271INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 12272if test -n "0.50.0"; then 12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.50.0" >&5 12274$as_echo_n "checking for intltool >= 0.50.0... " >&6; } 12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 12276$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 12277 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 12278 as_fn_error $? "Your intltool is too old. You need intltool 0.50.0 or later." "$LINENO" 5 12279fi 12280 12281# Extract the first word of "intltool-update", so it can be a program name with args. 12282set dummy intltool-update; ac_word=$2 12283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12284$as_echo_n "checking for $ac_word... " >&6; } 12285if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 12286 $as_echo_n "(cached) " >&6 12287else 12288 case $INTLTOOL_UPDATE in 12289 [\\/]* | ?:[\\/]*) 12290 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 12291 ;; 12292 *) 12293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12294for as_dir in $PATH 12295do 12296 IFS=$as_save_IFS 12297 test -z "$as_dir" && as_dir=. 12298 for ac_exec_ext in '' $ac_executable_extensions; do 12299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12300 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 12301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12302 break 2 12303 fi 12304done 12305 done 12306IFS=$as_save_IFS 12307 12308 ;; 12309esac 12310fi 12311INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 12312if test -n "$INTLTOOL_UPDATE"; then 12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 12314$as_echo "$INTLTOOL_UPDATE" >&6; } 12315else 12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12317$as_echo "no" >&6; } 12318fi 12319 12320 12321# Extract the first word of "intltool-merge", so it can be a program name with args. 12322set dummy intltool-merge; ac_word=$2 12323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12324$as_echo_n "checking for $ac_word... " >&6; } 12325if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 12326 $as_echo_n "(cached) " >&6 12327else 12328 case $INTLTOOL_MERGE in 12329 [\\/]* | ?:[\\/]*) 12330 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 12331 ;; 12332 *) 12333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12334for as_dir in $PATH 12335do 12336 IFS=$as_save_IFS 12337 test -z "$as_dir" && as_dir=. 12338 for ac_exec_ext in '' $ac_executable_extensions; do 12339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12340 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 12341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12342 break 2 12343 fi 12344done 12345 done 12346IFS=$as_save_IFS 12347 12348 ;; 12349esac 12350fi 12351INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 12352if test -n "$INTLTOOL_MERGE"; then 12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 12354$as_echo "$INTLTOOL_MERGE" >&6; } 12355else 12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12357$as_echo "no" >&6; } 12358fi 12359 12360 12361# Extract the first word of "intltool-extract", so it can be a program name with args. 12362set dummy intltool-extract; ac_word=$2 12363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12364$as_echo_n "checking for $ac_word... " >&6; } 12365if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 12366 $as_echo_n "(cached) " >&6 12367else 12368 case $INTLTOOL_EXTRACT in 12369 [\\/]* | ?:[\\/]*) 12370 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 12371 ;; 12372 *) 12373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12374for as_dir in $PATH 12375do 12376 IFS=$as_save_IFS 12377 test -z "$as_dir" && as_dir=. 12378 for ac_exec_ext in '' $ac_executable_extensions; do 12379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12380 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 12381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12382 break 2 12383 fi 12384done 12385 done 12386IFS=$as_save_IFS 12387 12388 ;; 12389esac 12390fi 12391INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 12392if test -n "$INTLTOOL_EXTRACT"; then 12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 12394$as_echo "$INTLTOOL_EXTRACT" >&6; } 12395else 12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12397$as_echo "no" >&6; } 12398fi 12399 12400 12401if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 12402 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 12403fi 12404 12405if test -z "$AM_DEFAULT_VERBOSITY"; then 12406 AM_DEFAULT_VERBOSITY=1 12407fi 12408 12409 12410INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 12411INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 12412INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 12413 12414 12415 12416 12417INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 12418intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 12419intltool__v_merge_options_0='-q' 12420 12421 12422 12423 12424 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 $< $@' 12425INTLTOOL_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 $< $@' 12426 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 $< $@' 12427 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 $< $@' 12428 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 $< $@' 12429 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 $< $@' 12430 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 $< $@' 12431 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 $< $@' 12432INTLTOOL_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 $< $@' 12433 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 $< $@' 12434 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 $< $@' 12435if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 12436 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 $< $@' 12437else 12438 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' 12439fi 12440 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 $< $@' 12441 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 $< $@' 12442 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 $< $@' 12443 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 $< $@' 12444 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 $< $@' 12445 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 $< $@' 12446 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 $< $@' 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544# Check the gettext tools to make sure they are GNU 12545# Extract the first word of "xgettext", so it can be a program name with args. 12546set dummy xgettext; ac_word=$2 12547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12548$as_echo_n "checking for $ac_word... " >&6; } 12549if ${ac_cv_path_XGETTEXT+:} false; then : 12550 $as_echo_n "(cached) " >&6 12551else 12552 case $XGETTEXT in 12553 [\\/]* | ?:[\\/]*) 12554 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 12555 ;; 12556 *) 12557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12558for as_dir in $PATH 12559do 12560 IFS=$as_save_IFS 12561 test -z "$as_dir" && as_dir=. 12562 for ac_exec_ext in '' $ac_executable_extensions; do 12563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12564 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 12565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12566 break 2 12567 fi 12568done 12569 done 12570IFS=$as_save_IFS 12571 12572 ;; 12573esac 12574fi 12575XGETTEXT=$ac_cv_path_XGETTEXT 12576if test -n "$XGETTEXT"; then 12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 12578$as_echo "$XGETTEXT" >&6; } 12579else 12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12581$as_echo "no" >&6; } 12582fi 12583 12584 12585# Extract the first word of "msgmerge", so it can be a program name with args. 12586set dummy msgmerge; ac_word=$2 12587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12588$as_echo_n "checking for $ac_word... " >&6; } 12589if ${ac_cv_path_MSGMERGE+:} false; then : 12590 $as_echo_n "(cached) " >&6 12591else 12592 case $MSGMERGE in 12593 [\\/]* | ?:[\\/]*) 12594 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 12595 ;; 12596 *) 12597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12598for as_dir in $PATH 12599do 12600 IFS=$as_save_IFS 12601 test -z "$as_dir" && as_dir=. 12602 for ac_exec_ext in '' $ac_executable_extensions; do 12603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12604 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 12605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12606 break 2 12607 fi 12608done 12609 done 12610IFS=$as_save_IFS 12611 12612 ;; 12613esac 12614fi 12615MSGMERGE=$ac_cv_path_MSGMERGE 12616if test -n "$MSGMERGE"; then 12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 12618$as_echo "$MSGMERGE" >&6; } 12619else 12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12621$as_echo "no" >&6; } 12622fi 12623 12624 12625# Extract the first word of "msgfmt", so it can be a program name with args. 12626set dummy msgfmt; ac_word=$2 12627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12628$as_echo_n "checking for $ac_word... " >&6; } 12629if ${ac_cv_path_MSGFMT+:} false; then : 12630 $as_echo_n "(cached) " >&6 12631else 12632 case $MSGFMT in 12633 [\\/]* | ?:[\\/]*) 12634 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 12635 ;; 12636 *) 12637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12638for as_dir in $PATH 12639do 12640 IFS=$as_save_IFS 12641 test -z "$as_dir" && as_dir=. 12642 for ac_exec_ext in '' $ac_executable_extensions; do 12643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12644 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 12645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12646 break 2 12647 fi 12648done 12649 done 12650IFS=$as_save_IFS 12651 12652 ;; 12653esac 12654fi 12655MSGFMT=$ac_cv_path_MSGFMT 12656if test -n "$MSGFMT"; then 12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 12658$as_echo "$MSGFMT" >&6; } 12659else 12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12661$as_echo "no" >&6; } 12662fi 12663 12664 12665# Extract the first word of "gmsgfmt", so it can be a program name with args. 12666set dummy gmsgfmt; ac_word=$2 12667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12668$as_echo_n "checking for $ac_word... " >&6; } 12669if ${ac_cv_path_GMSGFMT+:} false; then : 12670 $as_echo_n "(cached) " >&6 12671else 12672 case $GMSGFMT in 12673 [\\/]* | ?:[\\/]*) 12674 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 12675 ;; 12676 *) 12677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12678for as_dir in $PATH 12679do 12680 IFS=$as_save_IFS 12681 test -z "$as_dir" && as_dir=. 12682 for ac_exec_ext in '' $ac_executable_extensions; do 12683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12684 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 12685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12686 break 2 12687 fi 12688done 12689 done 12690IFS=$as_save_IFS 12691 12692 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 12693 ;; 12694esac 12695fi 12696GMSGFMT=$ac_cv_path_GMSGFMT 12697if test -n "$GMSGFMT"; then 12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 12699$as_echo "$GMSGFMT" >&6; } 12700else 12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12702$as_echo "no" >&6; } 12703fi 12704 12705 12706if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 12707 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 12708fi 12709xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 12710mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 12711mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 12712if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 12713 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 12714fi 12715 12716# Extract the first word of "perl", so it can be a program name with args. 12717set dummy perl; ac_word=$2 12718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12719$as_echo_n "checking for $ac_word... " >&6; } 12720if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 12721 $as_echo_n "(cached) " >&6 12722else 12723 case $INTLTOOL_PERL in 12724 [\\/]* | ?:[\\/]*) 12725 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 12726 ;; 12727 *) 12728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12729for as_dir in $PATH 12730do 12731 IFS=$as_save_IFS 12732 test -z "$as_dir" && as_dir=. 12733 for ac_exec_ext in '' $ac_executable_extensions; do 12734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12735 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 12736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12737 break 2 12738 fi 12739done 12740 done 12741IFS=$as_save_IFS 12742 12743 ;; 12744esac 12745fi 12746INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 12747if test -n "$INTLTOOL_PERL"; then 12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 12749$as_echo "$INTLTOOL_PERL" >&6; } 12750else 12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12752$as_echo "no" >&6; } 12753fi 12754 12755 12756if test -z "$INTLTOOL_PERL"; then 12757 as_fn_error $? "perl not found" "$LINENO" 5 12758fi 12759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 12760$as_echo_n "checking for perl >= 5.8.1... " >&6; } 12761$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 12762if test $? -ne 0; then 12763 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 12764else 12765 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 12767$as_echo "$IT_PERL_VERSION" >&6; } 12768fi 12769if test "x" != "xno-xml"; then 12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 12771$as_echo_n "checking for XML::Parser... " >&6; } 12772 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 12774$as_echo "ok" >&6; } 12775 else 12776 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 12777 fi 12778fi 12779 12780# Substitute ALL_LINGUAS so we can use it in po/Makefile 12781 12782 12783 12784 12785 12786GETTEXT_PACKAGE=$PACKAGE_TARNAME 12787 12788 12789cat >>confdefs.h <<_ACEOF 12790#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 12791_ACEOF 12792 12793if test "x$USE_NLS" != "xno"; then : 12794 12795$as_echo "#define ENABLE_NLS 1" >>confdefs.h 12796 12797fi 12798 12799 12800 12801 # Check whether --enable-appdata-validate was given. 12802if test "${enable_appdata_validate+set}" = set; then : 12803 enableval=$enable_appdata_validate; 12804fi 12805 12806 12807 if test "x$enable_appdata_validate" != "xno"; then : 12808 # Extract the first word of "appstream-util", so it can be a program name with args. 12809set dummy appstream-util; ac_word=$2 12810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12811$as_echo_n "checking for $ac_word... " >&6; } 12812if ${ac_cv_path_APPSTREAM_UTIL+:} false; then : 12813 $as_echo_n "(cached) " >&6 12814else 12815 case $APPSTREAM_UTIL in 12816 [\\/]* | ?:[\\/]*) 12817 ac_cv_path_APPSTREAM_UTIL="$APPSTREAM_UTIL" # Let the user override the test with a path. 12818 ;; 12819 *) 12820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12821for as_dir in $PATH 12822do 12823 IFS=$as_save_IFS 12824 test -z "$as_dir" && as_dir=. 12825 for ac_exec_ext in '' $ac_executable_extensions; do 12826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12827 ac_cv_path_APPSTREAM_UTIL="$as_dir/$ac_word$ac_exec_ext" 12828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12829 break 2 12830 fi 12831done 12832 done 12833IFS=$as_save_IFS 12834 12835 ;; 12836esac 12837fi 12838APPSTREAM_UTIL=$ac_cv_path_APPSTREAM_UTIL 12839if test -n "$APPSTREAM_UTIL"; then 12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APPSTREAM_UTIL" >&5 12841$as_echo "$APPSTREAM_UTIL" >&6; } 12842else 12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12844$as_echo "no" >&6; } 12845fi 12846 12847 12848 if test "x$APPSTREAM_UTIL" = "x"; then : 12849 have_appdata_validate=no 12850else 12851 have_appdata_validate=yes 12852 12853fi 12854else 12855 have_appdata_validate=no 12856fi 12857 12858 if test "x$have_appdata_validate" != "xno"; then : 12859 appdata_validate=yes 12860else 12861 appdata_validate=no 12862 if test "x$enable_appdata_validate" = "xyes"; then : 12863 as_fn_error $? "AppData validation was requested but appstream-util was not found" "$LINENO" 5 12864fi 12865fi 12866 12867 appdataxmldir=${datadir}/appdata 12868 12869 12870 APPDATA_XML_RULES=' 12871.PHONY : uninstall-appdata-xml install-appdata-xml clean-appdata-xml 12872 12873mostlyclean-am: clean-appdata-xml 12874 12875%.appdata.valid: %.appdata.xml 12876 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; \ 12877 if test -n "$(APPSTREAM_UTIL)"; \ 12878 then $(APPSTREAM_UTIL) --nonet validate $${d}$<; fi \ 12879 && touch $@ 12880 12881check-am: $(appdata_XML:.appdata.xml=.appdata.valid) 12882uninstall-am: uninstall-appdata-xml 12883install-data-am: install-appdata-xml 12884 12885.SECONDARY: $(appdata_XML) 12886 12887install-appdata-xml: $(appdata_XML) 12888 @$(NORMAL_INSTALL) 12889 if test -n "$^"; then \ 12890 test -z "$(appdataxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appdataxmldir)"; \ 12891 $(INSTALL_DATA) $^ "$(DESTDIR)$(appdataxmldir)"; \ 12892 fi 12893 12894uninstall-appdata-xml: 12895 @$(NORMAL_UNINSTALL) 12896 @list='\''$(appdata_XML)'\''; test -n "$(appdataxmldir)" || list=; \ 12897 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ 12898 test -n "$$files" || exit 0; \ 12899 echo " ( cd '\''$(DESTDIR)$(appdataxmldir)'\'' && rm -f" $$files ")"; \ 12900 cd "$(DESTDIR)$(appdataxmldir)" && rm -f $$files 12901 12902clean-appdata-xml: 12903 rm -f $(appdata_XML:.appdata.xml=.appdata.valid) 12904' 12905 12906 12907 12908 12909 12910 12911 12912ac_ext=c 12913ac_cpp='$CPP $CPPFLAGS' 12914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12916ac_compiler_gnu=$ac_cv_c_compiler_gnu 12917if test -n "$ac_tool_prefix"; then 12918 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 12919set dummy ${ac_tool_prefix}gcc; ac_word=$2 12920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12921$as_echo_n "checking for $ac_word... " >&6; } 12922if ${ac_cv_prog_CC+:} false; then : 12923 $as_echo_n "(cached) " >&6 12924else 12925 if test -n "$CC"; then 12926 ac_cv_prog_CC="$CC" # Let the user override the test. 12927else 12928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12929for as_dir in $PATH 12930do 12931 IFS=$as_save_IFS 12932 test -z "$as_dir" && as_dir=. 12933 for ac_exec_ext in '' $ac_executable_extensions; do 12934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12935 ac_cv_prog_CC="${ac_tool_prefix}gcc" 12936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12937 break 2 12938 fi 12939done 12940 done 12941IFS=$as_save_IFS 12942 12943fi 12944fi 12945CC=$ac_cv_prog_CC 12946if test -n "$CC"; then 12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 12948$as_echo "$CC" >&6; } 12949else 12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12951$as_echo "no" >&6; } 12952fi 12953 12954 12955fi 12956if test -z "$ac_cv_prog_CC"; then 12957 ac_ct_CC=$CC 12958 # Extract the first word of "gcc", so it can be a program name with args. 12959set dummy gcc; ac_word=$2 12960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12961$as_echo_n "checking for $ac_word... " >&6; } 12962if ${ac_cv_prog_ac_ct_CC+:} false; then : 12963 $as_echo_n "(cached) " >&6 12964else 12965 if test -n "$ac_ct_CC"; then 12966 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12967else 12968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12969for as_dir in $PATH 12970do 12971 IFS=$as_save_IFS 12972 test -z "$as_dir" && as_dir=. 12973 for ac_exec_ext in '' $ac_executable_extensions; do 12974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12975 ac_cv_prog_ac_ct_CC="gcc" 12976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12977 break 2 12978 fi 12979done 12980 done 12981IFS=$as_save_IFS 12982 12983fi 12984fi 12985ac_ct_CC=$ac_cv_prog_ac_ct_CC 12986if test -n "$ac_ct_CC"; then 12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 12988$as_echo "$ac_ct_CC" >&6; } 12989else 12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12991$as_echo "no" >&6; } 12992fi 12993 12994 if test "x$ac_ct_CC" = x; then 12995 CC="" 12996 else 12997 case $cross_compiling:$ac_tool_warned in 12998yes:) 12999{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13000$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13001ac_tool_warned=yes ;; 13002esac 13003 CC=$ac_ct_CC 13004 fi 13005else 13006 CC="$ac_cv_prog_CC" 13007fi 13008 13009if test -z "$CC"; then 13010 if test -n "$ac_tool_prefix"; then 13011 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 13012set dummy ${ac_tool_prefix}cc; ac_word=$2 13013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13014$as_echo_n "checking for $ac_word... " >&6; } 13015if ${ac_cv_prog_CC+:} false; then : 13016 $as_echo_n "(cached) " >&6 13017else 13018 if test -n "$CC"; then 13019 ac_cv_prog_CC="$CC" # Let the user override the test. 13020else 13021as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13022for as_dir in $PATH 13023do 13024 IFS=$as_save_IFS 13025 test -z "$as_dir" && as_dir=. 13026 for ac_exec_ext in '' $ac_executable_extensions; do 13027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13028 ac_cv_prog_CC="${ac_tool_prefix}cc" 13029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13030 break 2 13031 fi 13032done 13033 done 13034IFS=$as_save_IFS 13035 13036fi 13037fi 13038CC=$ac_cv_prog_CC 13039if test -n "$CC"; then 13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13041$as_echo "$CC" >&6; } 13042else 13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13044$as_echo "no" >&6; } 13045fi 13046 13047 13048 fi 13049fi 13050if test -z "$CC"; then 13051 # Extract the first word of "cc", so it can be a program name with args. 13052set dummy cc; ac_word=$2 13053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13054$as_echo_n "checking for $ac_word... " >&6; } 13055if ${ac_cv_prog_CC+:} false; then : 13056 $as_echo_n "(cached) " >&6 13057else 13058 if test -n "$CC"; then 13059 ac_cv_prog_CC="$CC" # Let the user override the test. 13060else 13061 ac_prog_rejected=no 13062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13063for as_dir in $PATH 13064do 13065 IFS=$as_save_IFS 13066 test -z "$as_dir" && as_dir=. 13067 for ac_exec_ext in '' $ac_executable_extensions; do 13068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13069 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 13070 ac_prog_rejected=yes 13071 continue 13072 fi 13073 ac_cv_prog_CC="cc" 13074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13075 break 2 13076 fi 13077done 13078 done 13079IFS=$as_save_IFS 13080 13081if test $ac_prog_rejected = yes; then 13082 # We found a bogon in the path, so make sure we never use it. 13083 set dummy $ac_cv_prog_CC 13084 shift 13085 if test $# != 0; then 13086 # We chose a different compiler from the bogus one. 13087 # However, it has the same basename, so the bogon will be chosen 13088 # first if we set CC to just the basename; use the full file name. 13089 shift 13090 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 13091 fi 13092fi 13093fi 13094fi 13095CC=$ac_cv_prog_CC 13096if test -n "$CC"; then 13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13098$as_echo "$CC" >&6; } 13099else 13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13101$as_echo "no" >&6; } 13102fi 13103 13104 13105fi 13106if test -z "$CC"; then 13107 if test -n "$ac_tool_prefix"; then 13108 for ac_prog in cl.exe 13109 do 13110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13111set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13113$as_echo_n "checking for $ac_word... " >&6; } 13114if ${ac_cv_prog_CC+:} false; then : 13115 $as_echo_n "(cached) " >&6 13116else 13117 if test -n "$CC"; then 13118 ac_cv_prog_CC="$CC" # Let the user override the test. 13119else 13120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13121for as_dir in $PATH 13122do 13123 IFS=$as_save_IFS 13124 test -z "$as_dir" && as_dir=. 13125 for ac_exec_ext in '' $ac_executable_extensions; do 13126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13127 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 13128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13129 break 2 13130 fi 13131done 13132 done 13133IFS=$as_save_IFS 13134 13135fi 13136fi 13137CC=$ac_cv_prog_CC 13138if test -n "$CC"; then 13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13140$as_echo "$CC" >&6; } 13141else 13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13143$as_echo "no" >&6; } 13144fi 13145 13146 13147 test -n "$CC" && break 13148 done 13149fi 13150if test -z "$CC"; then 13151 ac_ct_CC=$CC 13152 for ac_prog in cl.exe 13153do 13154 # Extract the first word of "$ac_prog", so it can be a program name with args. 13155set dummy $ac_prog; ac_word=$2 13156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13157$as_echo_n "checking for $ac_word... " >&6; } 13158if ${ac_cv_prog_ac_ct_CC+:} false; then : 13159 $as_echo_n "(cached) " >&6 13160else 13161 if test -n "$ac_ct_CC"; then 13162 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 13163else 13164as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13165for as_dir in $PATH 13166do 13167 IFS=$as_save_IFS 13168 test -z "$as_dir" && as_dir=. 13169 for ac_exec_ext in '' $ac_executable_extensions; do 13170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13171 ac_cv_prog_ac_ct_CC="$ac_prog" 13172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13173 break 2 13174 fi 13175done 13176 done 13177IFS=$as_save_IFS 13178 13179fi 13180fi 13181ac_ct_CC=$ac_cv_prog_ac_ct_CC 13182if test -n "$ac_ct_CC"; then 13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 13184$as_echo "$ac_ct_CC" >&6; } 13185else 13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13187$as_echo "no" >&6; } 13188fi 13189 13190 13191 test -n "$ac_ct_CC" && break 13192done 13193 13194 if test "x$ac_ct_CC" = x; then 13195 CC="" 13196 else 13197 case $cross_compiling:$ac_tool_warned in 13198yes:) 13199{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13200$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13201ac_tool_warned=yes ;; 13202esac 13203 CC=$ac_ct_CC 13204 fi 13205fi 13206 13207fi 13208 13209 13210test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13211$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13212as_fn_error $? "no acceptable C compiler found in \$PATH 13213See \`config.log' for more details" "$LINENO" 5; } 13214 13215# Provide some information about the compiler. 13216$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 13217set X $ac_compile 13218ac_compiler=$2 13219for ac_option in --version -v -V -qversion; do 13220 { { ac_try="$ac_compiler $ac_option >&5" 13221case "(($ac_try" in 13222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13223 *) ac_try_echo=$ac_try;; 13224esac 13225eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 13226$as_echo "$ac_try_echo"; } >&5 13227 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 13228 ac_status=$? 13229 if test -s conftest.err; then 13230 sed '10a\ 13231... rest of stderr output deleted ... 13232 10q' conftest.err >conftest.er1 13233 cat conftest.er1 >&5 13234 fi 13235 rm -f conftest.er1 conftest.err 13236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13237 test $ac_status = 0; } 13238done 13239 13240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 13241$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 13242if ${ac_cv_c_compiler_gnu+:} false; then : 13243 $as_echo_n "(cached) " >&6 13244else 13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13246/* end confdefs.h. */ 13247 13248int 13249main () 13250{ 13251#ifndef __GNUC__ 13252 choke me 13253#endif 13254 13255 ; 13256 return 0; 13257} 13258_ACEOF 13259if ac_fn_c_try_compile "$LINENO"; then : 13260 ac_compiler_gnu=yes 13261else 13262 ac_compiler_gnu=no 13263fi 13264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13265ac_cv_c_compiler_gnu=$ac_compiler_gnu 13266 13267fi 13268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 13269$as_echo "$ac_cv_c_compiler_gnu" >&6; } 13270if test $ac_compiler_gnu = yes; then 13271 GCC=yes 13272else 13273 GCC= 13274fi 13275ac_test_CFLAGS=${CFLAGS+set} 13276ac_save_CFLAGS=$CFLAGS 13277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 13278$as_echo_n "checking whether $CC accepts -g... " >&6; } 13279if ${ac_cv_prog_cc_g+:} false; then : 13280 $as_echo_n "(cached) " >&6 13281else 13282 ac_save_c_werror_flag=$ac_c_werror_flag 13283 ac_c_werror_flag=yes 13284 ac_cv_prog_cc_g=no 13285 CFLAGS="-g" 13286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13287/* end confdefs.h. */ 13288 13289int 13290main () 13291{ 13292 13293 ; 13294 return 0; 13295} 13296_ACEOF 13297if ac_fn_c_try_compile "$LINENO"; then : 13298 ac_cv_prog_cc_g=yes 13299else 13300 CFLAGS="" 13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13302/* end confdefs.h. */ 13303 13304int 13305main () 13306{ 13307 13308 ; 13309 return 0; 13310} 13311_ACEOF 13312if ac_fn_c_try_compile "$LINENO"; then : 13313 13314else 13315 ac_c_werror_flag=$ac_save_c_werror_flag 13316 CFLAGS="-g" 13317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13318/* end confdefs.h. */ 13319 13320int 13321main () 13322{ 13323 13324 ; 13325 return 0; 13326} 13327_ACEOF 13328if ac_fn_c_try_compile "$LINENO"; then : 13329 ac_cv_prog_cc_g=yes 13330fi 13331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13332fi 13333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13334fi 13335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13336 ac_c_werror_flag=$ac_save_c_werror_flag 13337fi 13338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 13339$as_echo "$ac_cv_prog_cc_g" >&6; } 13340if test "$ac_test_CFLAGS" = set; then 13341 CFLAGS=$ac_save_CFLAGS 13342elif test $ac_cv_prog_cc_g = yes; then 13343 if test "$GCC" = yes; then 13344 CFLAGS="-g -O2" 13345 else 13346 CFLAGS="-g" 13347 fi 13348else 13349 if test "$GCC" = yes; then 13350 CFLAGS="-O2" 13351 else 13352 CFLAGS= 13353 fi 13354fi 13355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 13356$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 13357if ${ac_cv_prog_cc_c89+:} false; then : 13358 $as_echo_n "(cached) " >&6 13359else 13360 ac_cv_prog_cc_c89=no 13361ac_save_CC=$CC 13362cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13363/* end confdefs.h. */ 13364#include <stdarg.h> 13365#include <stdio.h> 13366struct stat; 13367/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 13368struct buf { int x; }; 13369FILE * (*rcsopen) (struct buf *, struct stat *, int); 13370static char *e (p, i) 13371 char **p; 13372 int i; 13373{ 13374 return p[i]; 13375} 13376static char *f (char * (*g) (char **, int), char **p, ...) 13377{ 13378 char *s; 13379 va_list v; 13380 va_start (v,p); 13381 s = g (p, va_arg (v,int)); 13382 va_end (v); 13383 return s; 13384} 13385 13386/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 13387 function prototypes and stuff, but not '\xHH' hex character constants. 13388 These don't provoke an error unfortunately, instead are silently treated 13389 as 'x'. The following induces an error, until -std is added to get 13390 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 13391 array size at least. It's necessary to write '\x00'==0 to get something 13392 that's true only with -std. */ 13393int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 13394 13395/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 13396 inside strings and character constants. */ 13397#define FOO(x) 'x' 13398int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 13399 13400int test (int i, double x); 13401struct s1 {int (*f) (int a);}; 13402struct s2 {int (*f) (double a);}; 13403int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 13404int argc; 13405char **argv; 13406int 13407main () 13408{ 13409return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 13410 ; 13411 return 0; 13412} 13413_ACEOF 13414for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 13415 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 13416do 13417 CC="$ac_save_CC $ac_arg" 13418 if ac_fn_c_try_compile "$LINENO"; then : 13419 ac_cv_prog_cc_c89=$ac_arg 13420fi 13421rm -f core conftest.err conftest.$ac_objext 13422 test "x$ac_cv_prog_cc_c89" != "xno" && break 13423done 13424rm -f conftest.$ac_ext 13425CC=$ac_save_CC 13426 13427fi 13428# AC_CACHE_VAL 13429case "x$ac_cv_prog_cc_c89" in 13430 x) 13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13432$as_echo "none needed" >&6; } ;; 13433 xno) 13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13435$as_echo "unsupported" >&6; } ;; 13436 *) 13437 CC="$CC $ac_cv_prog_cc_c89" 13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 13439$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 13440esac 13441if test "x$ac_cv_prog_cc_c89" != xno; then : 13442 13443fi 13444 13445ac_ext=c 13446ac_cpp='$CPP $CPPFLAGS' 13447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13449ac_compiler_gnu=$ac_cv_c_compiler_gnu 13450 13451ac_ext=c 13452ac_cpp='$CPP $CPPFLAGS' 13453ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13454ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13455ac_compiler_gnu=$ac_cv_c_compiler_gnu 13456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 13457$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 13458if ${am_cv_prog_cc_c_o+:} false; then : 13459 $as_echo_n "(cached) " >&6 13460else 13461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13462/* end confdefs.h. */ 13463 13464int 13465main () 13466{ 13467 13468 ; 13469 return 0; 13470} 13471_ACEOF 13472 # Make sure it works both with $CC and with simple cc. 13473 # Following AC_PROG_CC_C_O, we do the test twice because some 13474 # compilers refuse to overwrite an existing .o file with -o, 13475 # though they will create one. 13476 am_cv_prog_cc_c_o=yes 13477 for am_i in 1 2; do 13478 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 13479 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 13480 ac_status=$? 13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13482 (exit $ac_status); } \ 13483 && test -f conftest2.$ac_objext; then 13484 : OK 13485 else 13486 am_cv_prog_cc_c_o=no 13487 break 13488 fi 13489 done 13490 rm -f core conftest* 13491 unset am_i 13492fi 13493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 13494$as_echo "$am_cv_prog_cc_c_o" >&6; } 13495if test "$am_cv_prog_cc_c_o" != yes; then 13496 # Losing compiler, so override with the script. 13497 # FIXME: It is wrong to rewrite CC. 13498 # But if we don't then we get into trouble of one sort or another. 13499 # A longer-term fix would be to have automake use am__CC in this case, 13500 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 13501 CC="$am_aux_dir/compile $CC" 13502fi 13503ac_ext=c 13504ac_cpp='$CPP $CPPFLAGS' 13505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13507ac_compiler_gnu=$ac_cv_c_compiler_gnu 13508 13509 13510depcc="$CC" am_compiler_list= 13511 13512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 13513$as_echo_n "checking dependency style of $depcc... " >&6; } 13514if ${am_cv_CC_dependencies_compiler_type+:} false; then : 13515 $as_echo_n "(cached) " >&6 13516else 13517 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 13518 # We make a subdir and do the tests there. Otherwise we can end up 13519 # making bogus files that we don't know about and never remove. For 13520 # instance it was reported that on HP-UX the gcc test will end up 13521 # making a dummy file named 'D' -- because '-MD' means "put the output 13522 # in D". 13523 rm -rf conftest.dir 13524 mkdir conftest.dir 13525 # Copy depcomp to subdir because otherwise we won't find it if we're 13526 # using a relative directory. 13527 cp "$am_depcomp" conftest.dir 13528 cd conftest.dir 13529 # We will build objects and dependencies in a subdirectory because 13530 # it helps to detect inapplicable dependency modes. For instance 13531 # both Tru64's cc and ICC support -MD to output dependencies as a 13532 # side effect of compilation, but ICC will put the dependencies in 13533 # the current directory while Tru64 will put them in the object 13534 # directory. 13535 mkdir sub 13536 13537 am_cv_CC_dependencies_compiler_type=none 13538 if test "$am_compiler_list" = ""; then 13539 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 13540 fi 13541 am__universal=false 13542 case " $depcc " in #( 13543 *\ -arch\ *\ -arch\ *) am__universal=true ;; 13544 esac 13545 13546 for depmode in $am_compiler_list; do 13547 # Setup a source with many dependencies, because some compilers 13548 # like to wrap large dependency lists on column 80 (with \), and 13549 # we should not choose a depcomp mode which is confused by this. 13550 # 13551 # We need to recreate these files for each test, as the compiler may 13552 # overwrite some of them when testing with obscure command lines. 13553 # This happens at least with the AIX C compiler. 13554 : > sub/conftest.c 13555 for i in 1 2 3 4 5 6; do 13556 echo '#include "conftst'$i'.h"' >> sub/conftest.c 13557 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 13558 # Solaris 10 /bin/sh. 13559 echo '/* dummy */' > sub/conftst$i.h 13560 done 13561 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 13562 13563 # We check with '-c' and '-o' for the sake of the "dashmstdout" 13564 # mode. It turns out that the SunPro C++ compiler does not properly 13565 # handle '-M -o', and we need to detect this. Also, some Intel 13566 # versions had trouble with output in subdirs. 13567 am__obj=sub/conftest.${OBJEXT-o} 13568 am__minus_obj="-o $am__obj" 13569 case $depmode in 13570 gcc) 13571 # This depmode causes a compiler race in universal mode. 13572 test "$am__universal" = false || continue 13573 ;; 13574 nosideeffect) 13575 # After this tag, mechanisms are not by side-effect, so they'll 13576 # only be used when explicitly requested. 13577 if test "x$enable_dependency_tracking" = xyes; then 13578 continue 13579 else 13580 break 13581 fi 13582 ;; 13583 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 13584 # This compiler won't grok '-c -o', but also, the minuso test has 13585 # not run yet. These depmodes are late enough in the game, and 13586 # so weak that their functioning should not be impacted. 13587 am__obj=conftest.${OBJEXT-o} 13588 am__minus_obj= 13589 ;; 13590 none) break ;; 13591 esac 13592 if depmode=$depmode \ 13593 source=sub/conftest.c object=$am__obj \ 13594 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 13595 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 13596 >/dev/null 2>conftest.err && 13597 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 13598 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 13599 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 13600 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 13601 # icc doesn't choke on unknown options, it will just issue warnings 13602 # or remarks (even with -Werror). So we grep stderr for any message 13603 # that says an option was ignored or not supported. 13604 # When given -MP, icc 7.0 and 7.1 complain thusly: 13605 # icc: Command line warning: ignoring option '-M'; no argument required 13606 # The diagnosis changed in icc 8.0: 13607 # icc: Command line remark: option '-MP' not supported 13608 if (grep 'ignoring option' conftest.err || 13609 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 13610 am_cv_CC_dependencies_compiler_type=$depmode 13611 break 13612 fi 13613 fi 13614 done 13615 13616 cd .. 13617 rm -rf conftest.dir 13618else 13619 am_cv_CC_dependencies_compiler_type=none 13620fi 13621 13622fi 13623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 13624$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 13625CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 13626 13627 if 13628 test "x$enable_dependency_tracking" != xno \ 13629 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 13630 am__fastdepCC_TRUE= 13631 am__fastdepCC_FALSE='#' 13632else 13633 am__fastdepCC_TRUE='#' 13634 am__fastdepCC_FALSE= 13635fi 13636 13637 13638 13639ac_ext=cpp 13640ac_cpp='$CXXCPP $CPPFLAGS' 13641ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13642ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13643ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13644if test -z "$CXX"; then 13645 if test -n "$CCC"; then 13646 CXX=$CCC 13647 else 13648 if test -n "$ac_tool_prefix"; then 13649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 13650 do 13651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13652set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13654$as_echo_n "checking for $ac_word... " >&6; } 13655if ${ac_cv_prog_CXX+:} false; then : 13656 $as_echo_n "(cached) " >&6 13657else 13658 if test -n "$CXX"; then 13659 ac_cv_prog_CXX="$CXX" # Let the user override the test. 13660else 13661as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13662for as_dir in $PATH 13663do 13664 IFS=$as_save_IFS 13665 test -z "$as_dir" && as_dir=. 13666 for ac_exec_ext in '' $ac_executable_extensions; do 13667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13668 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 13669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13670 break 2 13671 fi 13672done 13673 done 13674IFS=$as_save_IFS 13675 13676fi 13677fi 13678CXX=$ac_cv_prog_CXX 13679if test -n "$CXX"; then 13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 13681$as_echo "$CXX" >&6; } 13682else 13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13684$as_echo "no" >&6; } 13685fi 13686 13687 13688 test -n "$CXX" && break 13689 done 13690fi 13691if test -z "$CXX"; then 13692 ac_ct_CXX=$CXX 13693 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 13694do 13695 # Extract the first word of "$ac_prog", so it can be a program name with args. 13696set dummy $ac_prog; ac_word=$2 13697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13698$as_echo_n "checking for $ac_word... " >&6; } 13699if ${ac_cv_prog_ac_ct_CXX+:} false; then : 13700 $as_echo_n "(cached) " >&6 13701else 13702 if test -n "$ac_ct_CXX"; then 13703 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 13704else 13705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13706for as_dir in $PATH 13707do 13708 IFS=$as_save_IFS 13709 test -z "$as_dir" && as_dir=. 13710 for ac_exec_ext in '' $ac_executable_extensions; do 13711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13712 ac_cv_prog_ac_ct_CXX="$ac_prog" 13713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13714 break 2 13715 fi 13716done 13717 done 13718IFS=$as_save_IFS 13719 13720fi 13721fi 13722ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 13723if test -n "$ac_ct_CXX"; then 13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 13725$as_echo "$ac_ct_CXX" >&6; } 13726else 13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13728$as_echo "no" >&6; } 13729fi 13730 13731 13732 test -n "$ac_ct_CXX" && break 13733done 13734 13735 if test "x$ac_ct_CXX" = x; then 13736 CXX="g++" 13737 else 13738 case $cross_compiling:$ac_tool_warned in 13739yes:) 13740{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13741$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13742ac_tool_warned=yes ;; 13743esac 13744 CXX=$ac_ct_CXX 13745 fi 13746fi 13747 13748 fi 13749fi 13750# Provide some information about the compiler. 13751$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 13752set X $ac_compile 13753ac_compiler=$2 13754for ac_option in --version -v -V -qversion; do 13755 { { ac_try="$ac_compiler $ac_option >&5" 13756case "(($ac_try" in 13757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13758 *) ac_try_echo=$ac_try;; 13759esac 13760eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 13761$as_echo "$ac_try_echo"; } >&5 13762 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 13763 ac_status=$? 13764 if test -s conftest.err; then 13765 sed '10a\ 13766... rest of stderr output deleted ... 13767 10q' conftest.err >conftest.er1 13768 cat conftest.er1 >&5 13769 fi 13770 rm -f conftest.er1 conftest.err 13771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13772 test $ac_status = 0; } 13773done 13774 13775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 13776$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 13777if ${ac_cv_cxx_compiler_gnu+:} false; then : 13778 $as_echo_n "(cached) " >&6 13779else 13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13781/* end confdefs.h. */ 13782 13783int 13784main () 13785{ 13786#ifndef __GNUC__ 13787 choke me 13788#endif 13789 13790 ; 13791 return 0; 13792} 13793_ACEOF 13794if ac_fn_cxx_try_compile "$LINENO"; then : 13795 ac_compiler_gnu=yes 13796else 13797 ac_compiler_gnu=no 13798fi 13799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13800ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 13801 13802fi 13803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 13804$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 13805if test $ac_compiler_gnu = yes; then 13806 GXX=yes 13807else 13808 GXX= 13809fi 13810ac_test_CXXFLAGS=${CXXFLAGS+set} 13811ac_save_CXXFLAGS=$CXXFLAGS 13812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 13813$as_echo_n "checking whether $CXX accepts -g... " >&6; } 13814if ${ac_cv_prog_cxx_g+:} false; then : 13815 $as_echo_n "(cached) " >&6 13816else 13817 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 13818 ac_cxx_werror_flag=yes 13819 ac_cv_prog_cxx_g=no 13820 CXXFLAGS="-g" 13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13822/* end confdefs.h. */ 13823 13824int 13825main () 13826{ 13827 13828 ; 13829 return 0; 13830} 13831_ACEOF 13832if ac_fn_cxx_try_compile "$LINENO"; then : 13833 ac_cv_prog_cxx_g=yes 13834else 13835 CXXFLAGS="" 13836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13837/* end confdefs.h. */ 13838 13839int 13840main () 13841{ 13842 13843 ; 13844 return 0; 13845} 13846_ACEOF 13847if ac_fn_cxx_try_compile "$LINENO"; then : 13848 13849else 13850 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 13851 CXXFLAGS="-g" 13852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13853/* end confdefs.h. */ 13854 13855int 13856main () 13857{ 13858 13859 ; 13860 return 0; 13861} 13862_ACEOF 13863if ac_fn_cxx_try_compile "$LINENO"; then : 13864 ac_cv_prog_cxx_g=yes 13865fi 13866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13867fi 13868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13869fi 13870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13871 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 13872fi 13873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 13874$as_echo "$ac_cv_prog_cxx_g" >&6; } 13875if test "$ac_test_CXXFLAGS" = set; then 13876 CXXFLAGS=$ac_save_CXXFLAGS 13877elif test $ac_cv_prog_cxx_g = yes; then 13878 if test "$GXX" = yes; then 13879 CXXFLAGS="-g -O2" 13880 else 13881 CXXFLAGS="-g" 13882 fi 13883else 13884 if test "$GXX" = yes; then 13885 CXXFLAGS="-O2" 13886 else 13887 CXXFLAGS= 13888 fi 13889fi 13890ac_ext=c 13891ac_cpp='$CPP $CPPFLAGS' 13892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13894ac_compiler_gnu=$ac_cv_c_compiler_gnu 13895 13896depcc="$CXX" am_compiler_list= 13897 13898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 13899$as_echo_n "checking dependency style of $depcc... " >&6; } 13900if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 13901 $as_echo_n "(cached) " >&6 13902else 13903 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 13904 # We make a subdir and do the tests there. Otherwise we can end up 13905 # making bogus files that we don't know about and never remove. For 13906 # instance it was reported that on HP-UX the gcc test will end up 13907 # making a dummy file named 'D' -- because '-MD' means "put the output 13908 # in D". 13909 rm -rf conftest.dir 13910 mkdir conftest.dir 13911 # Copy depcomp to subdir because otherwise we won't find it if we're 13912 # using a relative directory. 13913 cp "$am_depcomp" conftest.dir 13914 cd conftest.dir 13915 # We will build objects and dependencies in a subdirectory because 13916 # it helps to detect inapplicable dependency modes. For instance 13917 # both Tru64's cc and ICC support -MD to output dependencies as a 13918 # side effect of compilation, but ICC will put the dependencies in 13919 # the current directory while Tru64 will put them in the object 13920 # directory. 13921 mkdir sub 13922 13923 am_cv_CXX_dependencies_compiler_type=none 13924 if test "$am_compiler_list" = ""; then 13925 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 13926 fi 13927 am__universal=false 13928 case " $depcc " in #( 13929 *\ -arch\ *\ -arch\ *) am__universal=true ;; 13930 esac 13931 13932 for depmode in $am_compiler_list; do 13933 # Setup a source with many dependencies, because some compilers 13934 # like to wrap large dependency lists on column 80 (with \), and 13935 # we should not choose a depcomp mode which is confused by this. 13936 # 13937 # We need to recreate these files for each test, as the compiler may 13938 # overwrite some of them when testing with obscure command lines. 13939 # This happens at least with the AIX C compiler. 13940 : > sub/conftest.c 13941 for i in 1 2 3 4 5 6; do 13942 echo '#include "conftst'$i'.h"' >> sub/conftest.c 13943 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 13944 # Solaris 10 /bin/sh. 13945 echo '/* dummy */' > sub/conftst$i.h 13946 done 13947 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 13948 13949 # We check with '-c' and '-o' for the sake of the "dashmstdout" 13950 # mode. It turns out that the SunPro C++ compiler does not properly 13951 # handle '-M -o', and we need to detect this. Also, some Intel 13952 # versions had trouble with output in subdirs. 13953 am__obj=sub/conftest.${OBJEXT-o} 13954 am__minus_obj="-o $am__obj" 13955 case $depmode in 13956 gcc) 13957 # This depmode causes a compiler race in universal mode. 13958 test "$am__universal" = false || continue 13959 ;; 13960 nosideeffect) 13961 # After this tag, mechanisms are not by side-effect, so they'll 13962 # only be used when explicitly requested. 13963 if test "x$enable_dependency_tracking" = xyes; then 13964 continue 13965 else 13966 break 13967 fi 13968 ;; 13969 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 13970 # This compiler won't grok '-c -o', but also, the minuso test has 13971 # not run yet. These depmodes are late enough in the game, and 13972 # so weak that their functioning should not be impacted. 13973 am__obj=conftest.${OBJEXT-o} 13974 am__minus_obj= 13975 ;; 13976 none) break ;; 13977 esac 13978 if depmode=$depmode \ 13979 source=sub/conftest.c object=$am__obj \ 13980 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 13981 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 13982 >/dev/null 2>conftest.err && 13983 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 13984 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 13985 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 13986 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 13987 # icc doesn't choke on unknown options, it will just issue warnings 13988 # or remarks (even with -Werror). So we grep stderr for any message 13989 # that says an option was ignored or not supported. 13990 # When given -MP, icc 7.0 and 7.1 complain thusly: 13991 # icc: Command line warning: ignoring option '-M'; no argument required 13992 # The diagnosis changed in icc 8.0: 13993 # icc: Command line remark: option '-MP' not supported 13994 if (grep 'ignoring option' conftest.err || 13995 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 13996 am_cv_CXX_dependencies_compiler_type=$depmode 13997 break 13998 fi 13999 fi 14000 done 14001 14002 cd .. 14003 rm -rf conftest.dir 14004else 14005 am_cv_CXX_dependencies_compiler_type=none 14006fi 14007 14008fi 14009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 14010$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 14011CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 14012 14013 if 14014 test "x$enable_dependency_tracking" != xno \ 14015 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 14016 am__fastdepCXX_TRUE= 14017 am__fastdepCXX_FALSE='#' 14018else 14019 am__fastdepCXX_TRUE='#' 14020 am__fastdepCXX_FALSE= 14021fi 14022 14023 14024 14025 14026func_stripname_cnf () 14027{ 14028 case $2 in 14029 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 14030 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 14031 esac 14032} # func_stripname_cnf 14033 14034 if test -n "$CXX" && ( test no != "$CXX" && 14035 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 14036 (test g++ != "$CXX"))); then 14037 ac_ext=cpp 14038ac_cpp='$CXXCPP $CPPFLAGS' 14039ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14040ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14041ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 14043$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 14044if test -z "$CXXCPP"; then 14045 if ${ac_cv_prog_CXXCPP+:} false; then : 14046 $as_echo_n "(cached) " >&6 14047else 14048 # Double quotes because CXXCPP needs to be expanded 14049 for CXXCPP in "$CXX -E" "/lib/cpp" 14050 do 14051 ac_preproc_ok=false 14052for ac_cxx_preproc_warn_flag in '' yes 14053do 14054 # Use a header file that comes with gcc, so configuring glibc 14055 # with a fresh cross-compiler works. 14056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14057 # <limits.h> exists even on freestanding compilers. 14058 # On the NeXT, cc -E runs the code through the compiler's parser, 14059 # not just through cpp. "Syntax error" is here to catch this case. 14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14061/* end confdefs.h. */ 14062#ifdef __STDC__ 14063# include <limits.h> 14064#else 14065# include <assert.h> 14066#endif 14067 Syntax error 14068_ACEOF 14069if ac_fn_cxx_try_cpp "$LINENO"; then : 14070 14071else 14072 # Broken: fails on valid input. 14073continue 14074fi 14075rm -f conftest.err conftest.i conftest.$ac_ext 14076 14077 # OK, works on sane cases. Now check whether nonexistent headers 14078 # can be detected and how. 14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14080/* end confdefs.h. */ 14081#include <ac_nonexistent.h> 14082_ACEOF 14083if ac_fn_cxx_try_cpp "$LINENO"; then : 14084 # Broken: success on invalid input. 14085continue 14086else 14087 # Passes both tests. 14088ac_preproc_ok=: 14089break 14090fi 14091rm -f conftest.err conftest.i conftest.$ac_ext 14092 14093done 14094# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 14095rm -f conftest.i conftest.err conftest.$ac_ext 14096if $ac_preproc_ok; then : 14097 break 14098fi 14099 14100 done 14101 ac_cv_prog_CXXCPP=$CXXCPP 14102 14103fi 14104 CXXCPP=$ac_cv_prog_CXXCPP 14105else 14106 ac_cv_prog_CXXCPP=$CXXCPP 14107fi 14108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 14109$as_echo "$CXXCPP" >&6; } 14110ac_preproc_ok=false 14111for ac_cxx_preproc_warn_flag in '' yes 14112do 14113 # Use a header file that comes with gcc, so configuring glibc 14114 # with a fresh cross-compiler works. 14115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14116 # <limits.h> exists even on freestanding compilers. 14117 # On the NeXT, cc -E runs the code through the compiler's parser, 14118 # not just through cpp. "Syntax error" is here to catch this case. 14119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14120/* end confdefs.h. */ 14121#ifdef __STDC__ 14122# include <limits.h> 14123#else 14124# include <assert.h> 14125#endif 14126 Syntax error 14127_ACEOF 14128if ac_fn_cxx_try_cpp "$LINENO"; then : 14129 14130else 14131 # Broken: fails on valid input. 14132continue 14133fi 14134rm -f conftest.err conftest.i conftest.$ac_ext 14135 14136 # OK, works on sane cases. Now check whether nonexistent headers 14137 # can be detected and how. 14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14139/* end confdefs.h. */ 14140#include <ac_nonexistent.h> 14141_ACEOF 14142if ac_fn_cxx_try_cpp "$LINENO"; then : 14143 # Broken: success on invalid input. 14144continue 14145else 14146 # Passes both tests. 14147ac_preproc_ok=: 14148break 14149fi 14150rm -f conftest.err conftest.i conftest.$ac_ext 14151 14152done 14153# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 14154rm -f conftest.i conftest.err conftest.$ac_ext 14155if $ac_preproc_ok; then : 14156 14157else 14158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14159$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14160as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 14161See \`config.log' for more details" "$LINENO" 5; } 14162fi 14163 14164ac_ext=c 14165ac_cpp='$CPP $CPPFLAGS' 14166ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14167ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14168ac_compiler_gnu=$ac_cv_c_compiler_gnu 14169 14170else 14171 _lt_caught_CXX_error=yes 14172fi 14173 14174ac_ext=cpp 14175ac_cpp='$CXXCPP $CPPFLAGS' 14176ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14177ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14178ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14179 14180archive_cmds_need_lc_CXX=no 14181allow_undefined_flag_CXX= 14182always_export_symbols_CXX=no 14183archive_expsym_cmds_CXX= 14184compiler_needs_object_CXX=no 14185export_dynamic_flag_spec_CXX= 14186hardcode_direct_CXX=no 14187hardcode_direct_absolute_CXX=no 14188hardcode_libdir_flag_spec_CXX= 14189hardcode_libdir_separator_CXX= 14190hardcode_minus_L_CXX=no 14191hardcode_shlibpath_var_CXX=unsupported 14192hardcode_automatic_CXX=no 14193inherit_rpath_CXX=no 14194module_cmds_CXX= 14195module_expsym_cmds_CXX= 14196link_all_deplibs_CXX=unknown 14197old_archive_cmds_CXX=$old_archive_cmds 14198reload_flag_CXX=$reload_flag 14199reload_cmds_CXX=$reload_cmds 14200no_undefined_flag_CXX= 14201whole_archive_flag_spec_CXX= 14202enable_shared_with_static_runtimes_CXX=no 14203 14204# Source file extension for C++ test sources. 14205ac_ext=cpp 14206 14207# Object file extension for compiled C++ test sources. 14208objext=o 14209objext_CXX=$objext 14210 14211# No sense in running all these tests if we already determined that 14212# the CXX compiler isn't working. Some variables (like enable_shared) 14213# are currently assumed to apply to all compilers on this platform, 14214# and will be corrupted by setting them based on a non-working compiler. 14215if test yes != "$_lt_caught_CXX_error"; then 14216 # Code to be used in simple compile tests 14217 lt_simple_compile_test_code="int some_variable = 0;" 14218 14219 # Code to be used in simple link tests 14220 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 14221 14222 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 14223 14224 14225 14226 14227 14228 14229# If no C compiler was specified, use CC. 14230LTCC=${LTCC-"$CC"} 14231 14232# If no C compiler flags were specified, use CFLAGS. 14233LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 14234 14235# Allow CC to be a program name with arguments. 14236compiler=$CC 14237 14238 14239 # save warnings/boilerplate of simple test code 14240 ac_outfile=conftest.$ac_objext 14241echo "$lt_simple_compile_test_code" >conftest.$ac_ext 14242eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14243_lt_compiler_boilerplate=`cat conftest.err` 14244$RM conftest* 14245 14246 ac_outfile=conftest.$ac_objext 14247echo "$lt_simple_link_test_code" >conftest.$ac_ext 14248eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14249_lt_linker_boilerplate=`cat conftest.err` 14250$RM -r conftest* 14251 14252 14253 # Allow CC to be a program name with arguments. 14254 lt_save_CC=$CC 14255 lt_save_CFLAGS=$CFLAGS 14256 lt_save_LD=$LD 14257 lt_save_GCC=$GCC 14258 GCC=$GXX 14259 lt_save_with_gnu_ld=$with_gnu_ld 14260 lt_save_path_LD=$lt_cv_path_LD 14261 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 14262 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 14263 else 14264 $as_unset lt_cv_prog_gnu_ld 14265 fi 14266 if test -n "${lt_cv_path_LDCXX+set}"; then 14267 lt_cv_path_LD=$lt_cv_path_LDCXX 14268 else 14269 $as_unset lt_cv_path_LD 14270 fi 14271 test -z "${LDCXX+set}" || LD=$LDCXX 14272 CC=${CXX-"c++"} 14273 CFLAGS=$CXXFLAGS 14274 compiler=$CC 14275 compiler_CXX=$CC 14276 func_cc_basename $compiler 14277cc_basename=$func_cc_basename_result 14278 14279 14280 if test -n "$compiler"; then 14281 # We don't want -fno-exception when compiling C++ code, so set the 14282 # no_builtin_flag separately 14283 if test yes = "$GXX"; then 14284 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 14285 else 14286 lt_prog_compiler_no_builtin_flag_CXX= 14287 fi 14288 14289 if test yes = "$GXX"; then 14290 # Set up default GNU C++ configuration 14291 14292 14293 14294# Check whether --with-gnu-ld was given. 14295if test "${with_gnu_ld+set}" = set; then : 14296 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 14297else 14298 with_gnu_ld=no 14299fi 14300 14301ac_prog=ld 14302if test yes = "$GCC"; then 14303 # Check if gcc -print-prog-name=ld gives a path. 14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 14305$as_echo_n "checking for ld used by $CC... " >&6; } 14306 case $host in 14307 *-*-mingw*) 14308 # gcc leaves a trailing carriage return, which upsets mingw 14309 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 14310 *) 14311 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 14312 esac 14313 case $ac_prog in 14314 # Accept absolute paths. 14315 [\\/]* | ?:[\\/]*) 14316 re_direlt='/[^/][^/]*/\.\./' 14317 # Canonicalize the pathname of ld 14318 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 14319 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 14320 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 14321 done 14322 test -z "$LD" && LD=$ac_prog 14323 ;; 14324 "") 14325 # If it fails, then pretend we aren't using GCC. 14326 ac_prog=ld 14327 ;; 14328 *) 14329 # If it is relative, then search for the first ld in PATH. 14330 with_gnu_ld=unknown 14331 ;; 14332 esac 14333elif test yes = "$with_gnu_ld"; then 14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 14335$as_echo_n "checking for GNU ld... " >&6; } 14336else 14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 14338$as_echo_n "checking for non-GNU ld... " >&6; } 14339fi 14340if ${lt_cv_path_LD+:} false; then : 14341 $as_echo_n "(cached) " >&6 14342else 14343 if test -z "$LD"; then 14344 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 14345 for ac_dir in $PATH; do 14346 IFS=$lt_save_ifs 14347 test -z "$ac_dir" && ac_dir=. 14348 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 14349 lt_cv_path_LD=$ac_dir/$ac_prog 14350 # Check to see if the program is GNU ld. I'd rather use --version, 14351 # but apparently some variants of GNU ld only accept -v. 14352 # Break only if it was the GNU/non-GNU ld that we prefer. 14353 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 14354 *GNU* | *'with BFD'*) 14355 test no != "$with_gnu_ld" && break 14356 ;; 14357 *) 14358 test yes != "$with_gnu_ld" && break 14359 ;; 14360 esac 14361 fi 14362 done 14363 IFS=$lt_save_ifs 14364else 14365 lt_cv_path_LD=$LD # Let the user override the test with a path. 14366fi 14367fi 14368 14369LD=$lt_cv_path_LD 14370if test -n "$LD"; then 14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 14372$as_echo "$LD" >&6; } 14373else 14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14375$as_echo "no" >&6; } 14376fi 14377test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 14378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 14379$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 14380if ${lt_cv_prog_gnu_ld+:} false; then : 14381 $as_echo_n "(cached) " >&6 14382else 14383 # I'd rather use --version here, but apparently some GNU lds only accept -v. 14384case `$LD -v 2>&1 </dev/null` in 14385*GNU* | *'with BFD'*) 14386 lt_cv_prog_gnu_ld=yes 14387 ;; 14388*) 14389 lt_cv_prog_gnu_ld=no 14390 ;; 14391esac 14392fi 14393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 14394$as_echo "$lt_cv_prog_gnu_ld" >&6; } 14395with_gnu_ld=$lt_cv_prog_gnu_ld 14396 14397 14398 14399 14400 14401 14402 14403 # Check if GNU C++ uses GNU ld as the underlying linker, since the 14404 # archiving commands below assume that GNU ld is being used. 14405 if test yes = "$with_gnu_ld"; then 14406 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14407 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14408 14409 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14410 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14411 14412 # If archive_cmds runs LD, not CC, wlarc should be empty 14413 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 14414 # investigate it a little bit more. (MM) 14415 wlarc='$wl' 14416 14417 # ancient GNU ld didn't support --whole-archive et. al. 14418 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 14419 $GREP 'no-whole-archive' > /dev/null; then 14420 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14421 else 14422 whole_archive_flag_spec_CXX= 14423 fi 14424 else 14425 with_gnu_ld=no 14426 wlarc= 14427 14428 # A generic and very simple default shared library creation 14429 # command for GNU C++ for the case where it uses the native 14430 # linker, instead of GNU ld. If possible, this setting should 14431 # overridden to take advantage of the native linker features on 14432 # the platform it is being used on. 14433 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14434 fi 14435 14436 # Commands to make compiler produce verbose output that lists 14437 # what "hidden" libraries, object files and flags are used when 14438 # linking a shared library. 14439 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14440 14441 else 14442 GXX=no 14443 with_gnu_ld=no 14444 wlarc= 14445 fi 14446 14447 # PORTME: fill in a description of your system's C++ link characteristics 14448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14449$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14450 ld_shlibs_CXX=yes 14451 case $host_os in 14452 aix3*) 14453 # FIXME: insert proper C++ library support 14454 ld_shlibs_CXX=no 14455 ;; 14456 aix[4-9]*) 14457 if test ia64 = "$host_cpu"; then 14458 # On IA64, the linker does run time linking by default, so we don't 14459 # have to do anything special. 14460 aix_use_runtimelinking=no 14461 exp_sym_flag='-Bexport' 14462 no_entry_flag= 14463 else 14464 aix_use_runtimelinking=no 14465 14466 # Test if we are trying to use run time linking or normal 14467 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14468 # have runtime linking enabled, and use it for executables. 14469 # For shared libraries, we enable/disable runtime linking 14470 # depending on the kind of the shared library created - 14471 # when "with_aix_soname,aix_use_runtimelinking" is: 14472 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 14473 # "aix,yes" lib.so shared, rtl:yes, for executables 14474 # lib.a static archive 14475 # "both,no" lib.so.V(shr.o) shared, rtl:yes 14476 # lib.a(lib.so.V) shared, rtl:no, for executables 14477 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 14478 # lib.a(lib.so.V) shared, rtl:no 14479 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 14480 # lib.a static archive 14481 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14482 for ld_flag in $LDFLAGS; do 14483 case $ld_flag in 14484 *-brtl*) 14485 aix_use_runtimelinking=yes 14486 break 14487 ;; 14488 esac 14489 done 14490 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 14491 # With aix-soname=svr4, we create the lib.so.V shared archives only, 14492 # so we don't have lib.a shared libs to link our executables. 14493 # We have to force runtime linking in this case. 14494 aix_use_runtimelinking=yes 14495 LDFLAGS="$LDFLAGS -Wl,-brtl" 14496 fi 14497 ;; 14498 esac 14499 14500 exp_sym_flag='-bexport' 14501 no_entry_flag='-bnoentry' 14502 fi 14503 14504 # When large executables or shared objects are built, AIX ld can 14505 # have problems creating the table of contents. If linking a library 14506 # or program results in "error TOC overflow" add -mminimal-toc to 14507 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14508 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14509 14510 archive_cmds_CXX='' 14511 hardcode_direct_CXX=yes 14512 hardcode_direct_absolute_CXX=yes 14513 hardcode_libdir_separator_CXX=':' 14514 link_all_deplibs_CXX=yes 14515 file_list_spec_CXX='$wl-f,' 14516 case $with_aix_soname,$aix_use_runtimelinking in 14517 aix,*) ;; # no import file 14518 svr4,* | *,yes) # use import file 14519 # The Import File defines what to hardcode. 14520 hardcode_direct_CXX=no 14521 hardcode_direct_absolute_CXX=no 14522 ;; 14523 esac 14524 14525 if test yes = "$GXX"; then 14526 case $host_os in aix4.[012]|aix4.[012].*) 14527 # We only want to do this on AIX 4.2 and lower, the check 14528 # below for broken collect2 doesn't work under 4.3+ 14529 collect2name=`$CC -print-prog-name=collect2` 14530 if test -f "$collect2name" && 14531 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14532 then 14533 # We have reworked collect2 14534 : 14535 else 14536 # We have old collect2 14537 hardcode_direct_CXX=unsupported 14538 # It fails to find uninstalled libraries when the uninstalled 14539 # path is not listed in the libpath. Setting hardcode_minus_L 14540 # to unsupported forces relinking 14541 hardcode_minus_L_CXX=yes 14542 hardcode_libdir_flag_spec_CXX='-L$libdir' 14543 hardcode_libdir_separator_CXX= 14544 fi 14545 esac 14546 shared_flag='-shared' 14547 if test yes = "$aix_use_runtimelinking"; then 14548 shared_flag=$shared_flag' $wl-G' 14549 fi 14550 # Need to ensure runtime linking is disabled for the traditional 14551 # shared library, or the linker may eventually find shared libraries 14552 # /with/ Import File - we do not want to mix them. 14553 shared_flag_aix='-shared' 14554 shared_flag_svr4='-shared $wl-G' 14555 else 14556 # not using gcc 14557 if test ia64 = "$host_cpu"; then 14558 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14559 # chokes on -Wl,-G. The following line is correct: 14560 shared_flag='-G' 14561 else 14562 if test yes = "$aix_use_runtimelinking"; then 14563 shared_flag='$wl-G' 14564 else 14565 shared_flag='$wl-bM:SRE' 14566 fi 14567 shared_flag_aix='$wl-bM:SRE' 14568 shared_flag_svr4='$wl-G' 14569 fi 14570 fi 14571 14572 export_dynamic_flag_spec_CXX='$wl-bexpall' 14573 # It seems that -bexpall does not export symbols beginning with 14574 # underscore (_), so it is better to generate a list of symbols to 14575 # export. 14576 always_export_symbols_CXX=yes 14577 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 14578 # Warning - without using the other runtime loading flags (-brtl), 14579 # -berok will link without error, but may produce a broken library. 14580 # The "-G" linker flag allows undefined symbols. 14581 no_undefined_flag_CXX='-bernotok' 14582 # Determine the default libpath from the value encoded in an empty 14583 # executable. 14584 if test set = "${lt_cv_aix_libpath+set}"; then 14585 aix_libpath=$lt_cv_aix_libpath 14586else 14587 if ${lt_cv_aix_libpath__CXX+:} false; then : 14588 $as_echo_n "(cached) " >&6 14589else 14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14591/* end confdefs.h. */ 14592 14593int 14594main () 14595{ 14596 14597 ; 14598 return 0; 14599} 14600_ACEOF 14601if ac_fn_cxx_try_link "$LINENO"; then : 14602 14603 lt_aix_libpath_sed=' 14604 /Import File Strings/,/^$/ { 14605 /^0/ { 14606 s/^0 *\([^ ]*\) *$/\1/ 14607 p 14608 } 14609 }' 14610 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14611 # Check for a 64-bit object if we didn't find anything. 14612 if test -z "$lt_cv_aix_libpath__CXX"; then 14613 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14614 fi 14615fi 14616rm -f core conftest.err conftest.$ac_objext \ 14617 conftest$ac_exeext conftest.$ac_ext 14618 if test -z "$lt_cv_aix_libpath__CXX"; then 14619 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14620 fi 14621 14622fi 14623 14624 aix_libpath=$lt_cv_aix_libpath__CXX 14625fi 14626 14627 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14628 14629 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 14630 else 14631 if test ia64 = "$host_cpu"; then 14632 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 14633 allow_undefined_flag_CXX="-z nodefs" 14634 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" 14635 else 14636 # Determine the default libpath from the value encoded in an 14637 # empty executable. 14638 if test set = "${lt_cv_aix_libpath+set}"; then 14639 aix_libpath=$lt_cv_aix_libpath 14640else 14641 if ${lt_cv_aix_libpath__CXX+:} false; then : 14642 $as_echo_n "(cached) " >&6 14643else 14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14645/* end confdefs.h. */ 14646 14647int 14648main () 14649{ 14650 14651 ; 14652 return 0; 14653} 14654_ACEOF 14655if ac_fn_cxx_try_link "$LINENO"; then : 14656 14657 lt_aix_libpath_sed=' 14658 /Import File Strings/,/^$/ { 14659 /^0/ { 14660 s/^0 *\([^ ]*\) *$/\1/ 14661 p 14662 } 14663 }' 14664 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14665 # Check for a 64-bit object if we didn't find anything. 14666 if test -z "$lt_cv_aix_libpath__CXX"; then 14667 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14668 fi 14669fi 14670rm -f core conftest.err conftest.$ac_objext \ 14671 conftest$ac_exeext conftest.$ac_ext 14672 if test -z "$lt_cv_aix_libpath__CXX"; then 14673 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14674 fi 14675 14676fi 14677 14678 aix_libpath=$lt_cv_aix_libpath__CXX 14679fi 14680 14681 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14682 # Warning - without using the other run time loading flags, 14683 # -berok will link without error, but may produce a broken library. 14684 no_undefined_flag_CXX=' $wl-bernotok' 14685 allow_undefined_flag_CXX=' $wl-berok' 14686 if test yes = "$with_gnu_ld"; then 14687 # We only use this code for GNU lds that support --whole-archive. 14688 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14689 else 14690 # Exported symbols can be pulled into shared objects from archives 14691 whole_archive_flag_spec_CXX='$convenience' 14692 fi 14693 archive_cmds_need_lc_CXX=yes 14694 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 14695 # -brtl affects multiple linker settings, -berok does not and is overridden later 14696 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 14697 if test svr4 != "$with_aix_soname"; then 14698 # This is similar to how AIX traditionally builds its shared 14699 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 14700 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 14701 fi 14702 if test aix != "$with_aix_soname"; then 14703 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 14704 else 14705 # used by -dlpreopen to get the symbols 14706 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 14707 fi 14708 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 14709 fi 14710 fi 14711 ;; 14712 14713 beos*) 14714 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14715 allow_undefined_flag_CXX=unsupported 14716 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14717 # support --undefined. This deserves some investigation. FIXME 14718 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14719 else 14720 ld_shlibs_CXX=no 14721 fi 14722 ;; 14723 14724 chorus*) 14725 case $cc_basename in 14726 *) 14727 # FIXME: insert proper C++ library support 14728 ld_shlibs_CXX=no 14729 ;; 14730 esac 14731 ;; 14732 14733 cygwin* | mingw* | pw32* | cegcc*) 14734 case $GXX,$cc_basename in 14735 ,cl* | no,cl*) 14736 # Native MSVC 14737 # hardcode_libdir_flag_spec is actually meaningless, as there is 14738 # no search path for DLLs. 14739 hardcode_libdir_flag_spec_CXX=' ' 14740 allow_undefined_flag_CXX=unsupported 14741 always_export_symbols_CXX=yes 14742 file_list_spec_CXX='@' 14743 # Tell ltmain to make .lib files, not .a files. 14744 libext=lib 14745 # Tell ltmain to make .dll files, not .so files. 14746 shrext_cmds=.dll 14747 # FIXME: Setting linknames here is a bad hack. 14748 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 14749 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14750 cp "$export_symbols" "$output_objdir/$soname.def"; 14751 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 14752 else 14753 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 14754 fi~ 14755 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14756 linknames=' 14757 # The linker will not automatically build a static lib if we build a DLL. 14758 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 14759 enable_shared_with_static_runtimes_CXX=yes 14760 # Don't use ranlib 14761 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14762 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14763 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14764 case $lt_outputfile in 14765 *.exe|*.EXE) ;; 14766 *) 14767 lt_outputfile=$lt_outputfile.exe 14768 lt_tool_outputfile=$lt_tool_outputfile.exe 14769 ;; 14770 esac~ 14771 func_to_tool_file "$lt_outputfile"~ 14772 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 14773 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14774 $RM "$lt_outputfile.manifest"; 14775 fi' 14776 ;; 14777 *) 14778 # g++ 14779 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14780 # as there is no search path for DLLs. 14781 hardcode_libdir_flag_spec_CXX='-L$libdir' 14782 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 14783 allow_undefined_flag_CXX=unsupported 14784 always_export_symbols_CXX=no 14785 enable_shared_with_static_runtimes_CXX=yes 14786 14787 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14788 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14789 # If the export-symbols file already is a .def file, use it as 14790 # is; otherwise, prepend EXPORTS... 14791 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14792 cp $export_symbols $output_objdir/$soname.def; 14793 else 14794 echo EXPORTS > $output_objdir/$soname.def; 14795 cat $export_symbols >> $output_objdir/$soname.def; 14796 fi~ 14797 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14798 else 14799 ld_shlibs_CXX=no 14800 fi 14801 ;; 14802 esac 14803 ;; 14804 darwin* | rhapsody*) 14805 14806 14807 archive_cmds_need_lc_CXX=no 14808 hardcode_direct_CXX=no 14809 hardcode_automatic_CXX=yes 14810 hardcode_shlibpath_var_CXX=unsupported 14811 if test yes = "$lt_cv_ld_force_load"; then 14812 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 14813 14814 else 14815 whole_archive_flag_spec_CXX='' 14816 fi 14817 link_all_deplibs_CXX=yes 14818 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 14819 case $cc_basename in 14820 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 14821 *) _lt_dar_can_shared=$GCC ;; 14822 esac 14823 if test yes = "$_lt_dar_can_shared"; then 14824 output_verbose_link_cmd=func_echo_all 14825 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 14826 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 14827 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" 14828 module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" 14829 if test yes != "$lt_cv_apple_cc_single_mod"; then 14830 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" 14831 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" 14832 fi 14833 14834 else 14835 ld_shlibs_CXX=no 14836 fi 14837 14838 ;; 14839 14840 os2*) 14841 hardcode_libdir_flag_spec_CXX='-L$libdir' 14842 hardcode_minus_L_CXX=yes 14843 allow_undefined_flag_CXX=unsupported 14844 shrext_cmds=.dll 14845 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14846 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14847 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14848 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14849 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14850 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14851 emximp -o $lib $output_objdir/$libname.def' 14852 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14853 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14854 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14855 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14856 prefix_cmds="$SED"~ 14857 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14858 prefix_cmds="$prefix_cmds -e 1d"; 14859 fi~ 14860 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14861 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14862 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14863 emximp -o $lib $output_objdir/$libname.def' 14864 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14865 enable_shared_with_static_runtimes_CXX=yes 14866 ;; 14867 14868 dgux*) 14869 case $cc_basename in 14870 ec++*) 14871 # FIXME: insert proper C++ library support 14872 ld_shlibs_CXX=no 14873 ;; 14874 ghcx*) 14875 # Green Hills C++ Compiler 14876 # FIXME: insert proper C++ library support 14877 ld_shlibs_CXX=no 14878 ;; 14879 *) 14880 # FIXME: insert proper C++ library support 14881 ld_shlibs_CXX=no 14882 ;; 14883 esac 14884 ;; 14885 14886 freebsd2.*) 14887 # C++ shared libraries reported to be fairly broken before 14888 # switch to ELF 14889 ld_shlibs_CXX=no 14890 ;; 14891 14892 freebsd-elf*) 14893 archive_cmds_need_lc_CXX=no 14894 ;; 14895 14896 freebsd* | dragonfly*) 14897 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14898 # conventions 14899 ld_shlibs_CXX=yes 14900 ;; 14901 14902 haiku*) 14903 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14904 link_all_deplibs_CXX=yes 14905 ;; 14906 14907 hpux9*) 14908 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14909 hardcode_libdir_separator_CXX=: 14910 export_dynamic_flag_spec_CXX='$wl-E' 14911 hardcode_direct_CXX=yes 14912 hardcode_minus_L_CXX=yes # Not in the search PATH, 14913 # but as the default 14914 # location of the library. 14915 14916 case $cc_basename in 14917 CC*) 14918 # FIXME: insert proper C++ library support 14919 ld_shlibs_CXX=no 14920 ;; 14921 aCC*) 14922 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 14923 # Commands to make compiler produce verbose output that lists 14924 # what "hidden" libraries, object files and flags are used when 14925 # linking a shared library. 14926 # 14927 # There doesn't appear to be a way to prevent this compiler from 14928 # explicitly linking system object files so we need to strip them 14929 # from the output so that they don't get included in the library 14930 # dependencies. 14931 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14932 ;; 14933 *) 14934 if test yes = "$GXX"; then 14935 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 14936 else 14937 # FIXME: insert proper C++ library support 14938 ld_shlibs_CXX=no 14939 fi 14940 ;; 14941 esac 14942 ;; 14943 14944 hpux10*|hpux11*) 14945 if test no = "$with_gnu_ld"; then 14946 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14947 hardcode_libdir_separator_CXX=: 14948 14949 case $host_cpu in 14950 hppa*64*|ia64*) 14951 ;; 14952 *) 14953 export_dynamic_flag_spec_CXX='$wl-E' 14954 ;; 14955 esac 14956 fi 14957 case $host_cpu in 14958 hppa*64*|ia64*) 14959 hardcode_direct_CXX=no 14960 hardcode_shlibpath_var_CXX=no 14961 ;; 14962 *) 14963 hardcode_direct_CXX=yes 14964 hardcode_direct_absolute_CXX=yes 14965 hardcode_minus_L_CXX=yes # Not in the search PATH, 14966 # but as the default 14967 # location of the library. 14968 ;; 14969 esac 14970 14971 case $cc_basename in 14972 CC*) 14973 # FIXME: insert proper C++ library support 14974 ld_shlibs_CXX=no 14975 ;; 14976 aCC*) 14977 case $host_cpu in 14978 hppa*64*) 14979 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14980 ;; 14981 ia64*) 14982 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14983 ;; 14984 *) 14985 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14986 ;; 14987 esac 14988 # Commands to make compiler produce verbose output that lists 14989 # what "hidden" libraries, object files and flags are used when 14990 # linking a shared library. 14991 # 14992 # There doesn't appear to be a way to prevent this compiler from 14993 # explicitly linking system object files so we need to strip them 14994 # from the output so that they don't get included in the library 14995 # dependencies. 14996 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14997 ;; 14998 *) 14999 if test yes = "$GXX"; then 15000 if test no = "$with_gnu_ld"; then 15001 case $host_cpu in 15002 hppa*64*) 15003 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15004 ;; 15005 ia64*) 15006 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15007 ;; 15008 *) 15009 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15010 ;; 15011 esac 15012 fi 15013 else 15014 # FIXME: insert proper C++ library support 15015 ld_shlibs_CXX=no 15016 fi 15017 ;; 15018 esac 15019 ;; 15020 15021 interix[3-9]*) 15022 hardcode_direct_CXX=no 15023 hardcode_shlibpath_var_CXX=no 15024 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15025 export_dynamic_flag_spec_CXX='$wl-E' 15026 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 15027 # Instead, shared libraries are loaded at an image base (0x10000000 by 15028 # default) and relocated if they conflict, which is a slow very memory 15029 # consuming and fragmenting process. To avoid this, we pick a random, 15030 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 15031 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 15032 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 15033 archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 15034 ;; 15035 irix5* | irix6*) 15036 case $cc_basename in 15037 CC*) 15038 # SGI C++ 15039 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 15040 15041 # Archives containing C++ object files must be created using 15042 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 15043 # necessary to make sure instantiated templates are included 15044 # in the archive. 15045 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 15046 ;; 15047 *) 15048 if test yes = "$GXX"; then 15049 if test no = "$with_gnu_ld"; then 15050 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 15051 else 15052 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' 15053 fi 15054 fi 15055 link_all_deplibs_CXX=yes 15056 ;; 15057 esac 15058 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15059 hardcode_libdir_separator_CXX=: 15060 inherit_rpath_CXX=yes 15061 ;; 15062 15063 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15064 case $cc_basename in 15065 KCC*) 15066 # Kuck and Associates, Inc. (KAI) C++ Compiler 15067 15068 # KCC will only create a shared library if the output file 15069 # ends with ".so" (or ".sl" for HP-UX), so rename the library 15070 # to its proper name (with version) after linking. 15071 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 15072 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' 15073 # Commands to make compiler produce verbose output that lists 15074 # what "hidden" libraries, object files and flags are used when 15075 # linking a shared library. 15076 # 15077 # There doesn't appear to be a way to prevent this compiler from 15078 # explicitly linking system object files so we need to strip them 15079 # from the output so that they don't get included in the library 15080 # dependencies. 15081 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 15082 15083 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15084 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15085 15086 # Archives containing C++ object files must be created using 15087 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 15088 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 15089 ;; 15090 icpc* | ecpc* ) 15091 # Intel C++ 15092 with_gnu_ld=yes 15093 # version 8.0 and above of icpc choke on multiply defined symbols 15094 # if we add $predep_objects and $postdep_objects, however 7.1 and 15095 # earlier do not add the objects themselves. 15096 case `$CC -V 2>&1` in 15097 *"Version 7."*) 15098 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15099 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15100 ;; 15101 *) # Version 8.0 or newer 15102 tmp_idyn= 15103 case $host_cpu in 15104 ia64*) tmp_idyn=' -i_dynamic';; 15105 esac 15106 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15107 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15108 ;; 15109 esac 15110 archive_cmds_need_lc_CXX=no 15111 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15112 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15113 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 15114 ;; 15115 pgCC* | pgcpp*) 15116 # Portland Group C++ compiler 15117 case `$CC -V` in 15118 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 15119 prelink_cmds_CXX='tpldir=Template.dir~ 15120 rm -rf $tpldir~ 15121 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 15122 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 15123 old_archive_cmds_CXX='tpldir=Template.dir~ 15124 rm -rf $tpldir~ 15125 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 15126 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 15127 $RANLIB $oldlib' 15128 archive_cmds_CXX='tpldir=Template.dir~ 15129 rm -rf $tpldir~ 15130 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 15131 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15132 archive_expsym_cmds_CXX='tpldir=Template.dir~ 15133 rm -rf $tpldir~ 15134 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 15135 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15136 ;; 15137 *) # Version 6 and above use weak symbols 15138 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15139 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 15140 ;; 15141 esac 15142 15143 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 15144 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15145 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 15146 ;; 15147 cxx*) 15148 # Compaq C++ 15149 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 15150 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' 15151 15152 runpath_var=LD_RUN_PATH 15153 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 15154 hardcode_libdir_separator_CXX=: 15155 15156 # Commands to make compiler produce verbose output that lists 15157 # what "hidden" libraries, object files and flags are used when 15158 # linking a shared library. 15159 # 15160 # There doesn't appear to be a way to prevent this compiler from 15161 # explicitly linking system object files so we need to strip them 15162 # from the output so that they don't get included in the library 15163 # dependencies. 15164 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 15165 ;; 15166 xl* | mpixl* | bgxl*) 15167 # IBM XL 8.0 on PPC, with GNU ld 15168 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15169 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 15170 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 15171 if test yes = "$supports_anon_versioning"; then 15172 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 15173 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 15174 echo "local: *; };" >> $output_objdir/$libname.ver~ 15175 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 15176 fi 15177 ;; 15178 *) 15179 case `$CC -V 2>&1 | sed 5q` in 15180 *Sun\ C*) 15181 # Sun C++ 5.9 15182 no_undefined_flag_CXX=' -zdefs' 15183 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15184 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' 15185 hardcode_libdir_flag_spec_CXX='-R$libdir' 15186 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 15187 compiler_needs_object_CXX=yes 15188 15189 # Not sure whether something based on 15190 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 15191 # would be better. 15192 output_verbose_link_cmd='func_echo_all' 15193 15194 # Archives containing C++ object files must be created using 15195 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15196 # necessary to make sure instantiated templates are included 15197 # in the archive. 15198 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15199 ;; 15200 esac 15201 ;; 15202 esac 15203 ;; 15204 15205 lynxos*) 15206 # FIXME: insert proper C++ library support 15207 ld_shlibs_CXX=no 15208 ;; 15209 15210 m88k*) 15211 # FIXME: insert proper C++ library support 15212 ld_shlibs_CXX=no 15213 ;; 15214 15215 mvs*) 15216 case $cc_basename in 15217 cxx*) 15218 # FIXME: insert proper C++ library support 15219 ld_shlibs_CXX=no 15220 ;; 15221 *) 15222 # FIXME: insert proper C++ library support 15223 ld_shlibs_CXX=no 15224 ;; 15225 esac 15226 ;; 15227 15228 netbsd*) 15229 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15230 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 15231 wlarc= 15232 hardcode_libdir_flag_spec_CXX='-R$libdir' 15233 hardcode_direct_CXX=yes 15234 hardcode_shlibpath_var_CXX=no 15235 fi 15236 # Workaround some broken pre-1.5 toolchains 15237 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 15238 ;; 15239 15240 *nto* | *qnx*) 15241 ld_shlibs_CXX=yes 15242 ;; 15243 15244 openbsd* | bitrig*) 15245 if test -f /usr/libexec/ld.so; then 15246 hardcode_direct_CXX=yes 15247 hardcode_shlibpath_var_CXX=no 15248 hardcode_direct_absolute_CXX=yes 15249 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 15250 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15251 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 15252 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 15253 export_dynamic_flag_spec_CXX='$wl-E' 15254 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 15255 fi 15256 output_verbose_link_cmd=func_echo_all 15257 else 15258 ld_shlibs_CXX=no 15259 fi 15260 ;; 15261 15262 osf3* | osf4* | osf5*) 15263 case $cc_basename in 15264 KCC*) 15265 # Kuck and Associates, Inc. (KAI) C++ Compiler 15266 15267 # KCC will only create a shared library if the output file 15268 # ends with ".so" (or ".sl" for HP-UX), so rename the library 15269 # to its proper name (with version) after linking. 15270 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 15271 15272 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 15273 hardcode_libdir_separator_CXX=: 15274 15275 # Archives containing C++ object files must be created using 15276 # the KAI C++ compiler. 15277 case $host in 15278 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 15279 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 15280 esac 15281 ;; 15282 RCC*) 15283 # Rational C++ 2.4.1 15284 # FIXME: insert proper C++ library support 15285 ld_shlibs_CXX=no 15286 ;; 15287 cxx*) 15288 case $host in 15289 osf3*) 15290 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 15291 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 15292 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15293 ;; 15294 *) 15295 allow_undefined_flag_CXX=' -expect_unresolved \*' 15296 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 15297 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 15298 echo "-hidden">> $lib.exp~ 15299 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ 15300 $RM $lib.exp' 15301 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 15302 ;; 15303 esac 15304 15305 hardcode_libdir_separator_CXX=: 15306 15307 # Commands to make compiler produce verbose output that lists 15308 # what "hidden" libraries, object files and flags are used when 15309 # linking a shared library. 15310 # 15311 # There doesn't appear to be a way to prevent this compiler from 15312 # explicitly linking system object files so we need to strip them 15313 # from the output so that they don't get included in the library 15314 # dependencies. 15315 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 15316 ;; 15317 *) 15318 if test yes,no = "$GXX,$with_gnu_ld"; then 15319 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 15320 case $host in 15321 osf3*) 15322 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 15323 ;; 15324 *) 15325 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 15326 ;; 15327 esac 15328 15329 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15330 hardcode_libdir_separator_CXX=: 15331 15332 # Commands to make compiler produce verbose output that lists 15333 # what "hidden" libraries, object files and flags are used when 15334 # linking a shared library. 15335 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15336 15337 else 15338 # FIXME: insert proper C++ library support 15339 ld_shlibs_CXX=no 15340 fi 15341 ;; 15342 esac 15343 ;; 15344 15345 psos*) 15346 # FIXME: insert proper C++ library support 15347 ld_shlibs_CXX=no 15348 ;; 15349 15350 sunos4*) 15351 case $cc_basename in 15352 CC*) 15353 # Sun C++ 4.x 15354 # FIXME: insert proper C++ library support 15355 ld_shlibs_CXX=no 15356 ;; 15357 lcc*) 15358 # Lucid 15359 # FIXME: insert proper C++ library support 15360 ld_shlibs_CXX=no 15361 ;; 15362 *) 15363 # FIXME: insert proper C++ library support 15364 ld_shlibs_CXX=no 15365 ;; 15366 esac 15367 ;; 15368 15369 solaris*) 15370 case $cc_basename in 15371 CC* | sunCC*) 15372 # Sun C++ 4.2, 5.x and Centerline C++ 15373 archive_cmds_need_lc_CXX=yes 15374 no_undefined_flag_CXX=' -zdefs' 15375 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15376 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15377 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15378 15379 hardcode_libdir_flag_spec_CXX='-R$libdir' 15380 hardcode_shlibpath_var_CXX=no 15381 case $host_os in 15382 solaris2.[0-5] | solaris2.[0-5].*) ;; 15383 *) 15384 # The compiler driver will combine and reorder linker options, 15385 # but understands '-z linker_flag'. 15386 # Supported since Solaris 2.6 (maybe 2.5.1?) 15387 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 15388 ;; 15389 esac 15390 link_all_deplibs_CXX=yes 15391 15392 output_verbose_link_cmd='func_echo_all' 15393 15394 # Archives containing C++ object files must be created using 15395 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15396 # necessary to make sure instantiated templates are included 15397 # in the archive. 15398 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15399 ;; 15400 gcx*) 15401 # Green Hills C++ Compiler 15402 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15403 15404 # The C++ compiler must be used to create the archive. 15405 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 15406 ;; 15407 *) 15408 # GNU C++ compiler with Solaris linker 15409 if test yes,no = "$GXX,$with_gnu_ld"; then 15410 no_undefined_flag_CXX=' $wl-z ${wl}defs' 15411 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 15412 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15413 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15414 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15415 15416 # Commands to make compiler produce verbose output that lists 15417 # what "hidden" libraries, object files and flags are used when 15418 # linking a shared library. 15419 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15420 else 15421 # g++ 2.7 appears to require '-G' NOT '-shared' on this 15422 # platform. 15423 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15424 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15425 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15426 15427 # Commands to make compiler produce verbose output that lists 15428 # what "hidden" libraries, object files and flags are used when 15429 # linking a shared library. 15430 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15431 fi 15432 15433 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 15434 case $host_os in 15435 solaris2.[0-5] | solaris2.[0-5].*) ;; 15436 *) 15437 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 15438 ;; 15439 esac 15440 fi 15441 ;; 15442 esac 15443 ;; 15444 15445 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15446 no_undefined_flag_CXX='$wl-z,text' 15447 archive_cmds_need_lc_CXX=no 15448 hardcode_shlibpath_var_CXX=no 15449 runpath_var='LD_RUN_PATH' 15450 15451 case $cc_basename in 15452 CC*) 15453 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15454 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15455 ;; 15456 *) 15457 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15458 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15459 ;; 15460 esac 15461 ;; 15462 15463 sysv5* | sco3.2v5* | sco5v6*) 15464 # Note: We CANNOT use -z defs as we might desire, because we do not 15465 # link with -lc, and that would cause any symbols used from libc to 15466 # always be unresolved, which means just about no library would 15467 # ever link correctly. If we're not using GNU ld we use -z text 15468 # though, which does catch some bad symbols but isn't as heavy-handed 15469 # as -z defs. 15470 no_undefined_flag_CXX='$wl-z,text' 15471 allow_undefined_flag_CXX='$wl-z,nodefs' 15472 archive_cmds_need_lc_CXX=no 15473 hardcode_shlibpath_var_CXX=no 15474 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 15475 hardcode_libdir_separator_CXX=':' 15476 link_all_deplibs_CXX=yes 15477 export_dynamic_flag_spec_CXX='$wl-Bexport' 15478 runpath_var='LD_RUN_PATH' 15479 15480 case $cc_basename in 15481 CC*) 15482 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15483 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15484 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 15485 '"$old_archive_cmds_CXX" 15486 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 15487 '"$reload_cmds_CXX" 15488 ;; 15489 *) 15490 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15491 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15492 ;; 15493 esac 15494 ;; 15495 15496 tandem*) 15497 case $cc_basename in 15498 NCC*) 15499 # NonStop-UX NCC 3.20 15500 # FIXME: insert proper C++ library support 15501 ld_shlibs_CXX=no 15502 ;; 15503 *) 15504 # FIXME: insert proper C++ library support 15505 ld_shlibs_CXX=no 15506 ;; 15507 esac 15508 ;; 15509 15510 vxworks*) 15511 # FIXME: insert proper C++ library support 15512 ld_shlibs_CXX=no 15513 ;; 15514 15515 *) 15516 # FIXME: insert proper C++ library support 15517 ld_shlibs_CXX=no 15518 ;; 15519 esac 15520 15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15522$as_echo "$ld_shlibs_CXX" >&6; } 15523 test no = "$ld_shlibs_CXX" && can_build_shared=no 15524 15525 GCC_CXX=$GXX 15526 LD_CXX=$LD 15527 15528 ## CAVEAT EMPTOR: 15529 ## There is no encapsulation within the following macros, do not change 15530 ## the running order or otherwise move them around unless you know exactly 15531 ## what you are doing... 15532 # Dependencies to place before and after the object being linked: 15533predep_objects_CXX= 15534postdep_objects_CXX= 15535predeps_CXX= 15536postdeps_CXX= 15537compiler_lib_search_path_CXX= 15538 15539cat > conftest.$ac_ext <<_LT_EOF 15540class Foo 15541{ 15542public: 15543 Foo (void) { a = 0; } 15544private: 15545 int a; 15546}; 15547_LT_EOF 15548 15549 15550_lt_libdeps_save_CFLAGS=$CFLAGS 15551case "$CC $CFLAGS " in #( 15552*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 15553*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 15554*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 15555esac 15556 15557if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15558 (eval $ac_compile) 2>&5 15559 ac_status=$? 15560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15561 test $ac_status = 0; }; then 15562 # Parse the compiler output and extract the necessary 15563 # objects, libraries and library flags. 15564 15565 # Sentinel used to keep track of whether or not we are before 15566 # the conftest object file. 15567 pre_test_object_deps_done=no 15568 15569 for p in `eval "$output_verbose_link_cmd"`; do 15570 case $prev$p in 15571 15572 -L* | -R* | -l*) 15573 # Some compilers place space between "-{L,R}" and the path. 15574 # Remove the space. 15575 if test x-L = "$p" || 15576 test x-R = "$p"; then 15577 prev=$p 15578 continue 15579 fi 15580 15581 # Expand the sysroot to ease extracting the directories later. 15582 if test -z "$prev"; then 15583 case $p in 15584 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 15585 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 15586 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 15587 esac 15588 fi 15589 case $p in 15590 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 15591 esac 15592 if test no = "$pre_test_object_deps_done"; then 15593 case $prev in 15594 -L | -R) 15595 # Internal compiler library paths should come after those 15596 # provided the user. The postdeps already come after the 15597 # user supplied libs so there is no need to process them. 15598 if test -z "$compiler_lib_search_path_CXX"; then 15599 compiler_lib_search_path_CXX=$prev$p 15600 else 15601 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 15602 fi 15603 ;; 15604 # The "-l" case would never come before the object being 15605 # linked, so don't bother handling this case. 15606 esac 15607 else 15608 if test -z "$postdeps_CXX"; then 15609 postdeps_CXX=$prev$p 15610 else 15611 postdeps_CXX="${postdeps_CXX} $prev$p" 15612 fi 15613 fi 15614 prev= 15615 ;; 15616 15617 *.lto.$objext) ;; # Ignore GCC LTO objects 15618 *.$objext) 15619 # This assumes that the test object file only shows up 15620 # once in the compiler output. 15621 if test "$p" = "conftest.$objext"; then 15622 pre_test_object_deps_done=yes 15623 continue 15624 fi 15625 15626 if test no = "$pre_test_object_deps_done"; then 15627 if test -z "$predep_objects_CXX"; then 15628 predep_objects_CXX=$p 15629 else 15630 predep_objects_CXX="$predep_objects_CXX $p" 15631 fi 15632 else 15633 if test -z "$postdep_objects_CXX"; then 15634 postdep_objects_CXX=$p 15635 else 15636 postdep_objects_CXX="$postdep_objects_CXX $p" 15637 fi 15638 fi 15639 ;; 15640 15641 *) ;; # Ignore the rest. 15642 15643 esac 15644 done 15645 15646 # Clean up. 15647 rm -f a.out a.exe 15648else 15649 echo "libtool.m4: error: problem compiling CXX test program" 15650fi 15651 15652$RM -f confest.$objext 15653CFLAGS=$_lt_libdeps_save_CFLAGS 15654 15655# PORTME: override above test on systems where it is broken 15656case $host_os in 15657interix[3-9]*) 15658 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15659 # hack all around it, let's just trust "g++" to DTRT. 15660 predep_objects_CXX= 15661 postdep_objects_CXX= 15662 postdeps_CXX= 15663 ;; 15664esac 15665 15666 15667case " $postdeps_CXX " in 15668*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15669esac 15670 compiler_lib_search_dirs_CXX= 15671if test -n "${compiler_lib_search_path_CXX}"; then 15672 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 15673fi 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 lt_prog_compiler_wl_CXX= 15706lt_prog_compiler_pic_CXX= 15707lt_prog_compiler_static_CXX= 15708 15709 15710 # C++ specific cases for pic, static, wl, etc. 15711 if test yes = "$GXX"; then 15712 lt_prog_compiler_wl_CXX='-Wl,' 15713 lt_prog_compiler_static_CXX='-static' 15714 15715 case $host_os in 15716 aix*) 15717 # All AIX code is PIC. 15718 if test ia64 = "$host_cpu"; then 15719 # AIX 5 now supports IA64 processor 15720 lt_prog_compiler_static_CXX='-Bstatic' 15721 fi 15722 lt_prog_compiler_pic_CXX='-fPIC' 15723 ;; 15724 15725 amigaos*) 15726 case $host_cpu in 15727 powerpc) 15728 # see comment about AmigaOS4 .so support 15729 lt_prog_compiler_pic_CXX='-fPIC' 15730 ;; 15731 m68k) 15732 # FIXME: we need at least 68020 code to build shared libraries, but 15733 # adding the '-m68020' flag to GCC prevents building anything better, 15734 # like '-m68040'. 15735 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15736 ;; 15737 esac 15738 ;; 15739 15740 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15741 # PIC is the default for these OSes. 15742 ;; 15743 mingw* | cygwin* | os2* | pw32* | cegcc*) 15744 # This hack is so that the source file can tell whether it is being 15745 # built for inclusion in a dll (and should export symbols for example). 15746 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15747 # (--disable-auto-import) libraries 15748 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15749 case $host_os in 15750 os2*) 15751 lt_prog_compiler_static_CXX='$wl-static' 15752 ;; 15753 esac 15754 ;; 15755 darwin* | rhapsody*) 15756 # PIC is the default on this platform 15757 # Common symbols not allowed in MH_DYLIB files 15758 lt_prog_compiler_pic_CXX='-fno-common' 15759 ;; 15760 *djgpp*) 15761 # DJGPP does not support shared libraries at all 15762 lt_prog_compiler_pic_CXX= 15763 ;; 15764 haiku*) 15765 # PIC is the default for Haiku. 15766 # The "-static" flag exists, but is broken. 15767 lt_prog_compiler_static_CXX= 15768 ;; 15769 interix[3-9]*) 15770 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15771 # Instead, we relocate shared libraries at runtime. 15772 ;; 15773 sysv4*MP*) 15774 if test -d /usr/nec; then 15775 lt_prog_compiler_pic_CXX=-Kconform_pic 15776 fi 15777 ;; 15778 hpux*) 15779 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15780 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15781 # sets the default TLS model and affects inlining. 15782 case $host_cpu in 15783 hppa*64*) 15784 ;; 15785 *) 15786 lt_prog_compiler_pic_CXX='-fPIC' 15787 ;; 15788 esac 15789 ;; 15790 *qnx* | *nto*) 15791 # QNX uses GNU C++, but need to define -shared option too, otherwise 15792 # it will coredump. 15793 lt_prog_compiler_pic_CXX='-fPIC -shared' 15794 ;; 15795 *) 15796 lt_prog_compiler_pic_CXX='-fPIC' 15797 ;; 15798 esac 15799 else 15800 case $host_os in 15801 aix[4-9]*) 15802 # All AIX code is PIC. 15803 if test ia64 = "$host_cpu"; then 15804 # AIX 5 now supports IA64 processor 15805 lt_prog_compiler_static_CXX='-Bstatic' 15806 else 15807 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15808 fi 15809 ;; 15810 chorus*) 15811 case $cc_basename in 15812 cxch68*) 15813 # Green Hills C++ Compiler 15814 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 15815 ;; 15816 esac 15817 ;; 15818 mingw* | cygwin* | os2* | pw32* | cegcc*) 15819 # This hack is so that the source file can tell whether it is being 15820 # built for inclusion in a dll (and should export symbols for example). 15821 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15822 ;; 15823 dgux*) 15824 case $cc_basename in 15825 ec++*) 15826 lt_prog_compiler_pic_CXX='-KPIC' 15827 ;; 15828 ghcx*) 15829 # Green Hills C++ Compiler 15830 lt_prog_compiler_pic_CXX='-pic' 15831 ;; 15832 *) 15833 ;; 15834 esac 15835 ;; 15836 freebsd* | dragonfly*) 15837 # FreeBSD uses GNU C++ 15838 ;; 15839 hpux9* | hpux10* | hpux11*) 15840 case $cc_basename in 15841 CC*) 15842 lt_prog_compiler_wl_CXX='-Wl,' 15843 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15844 if test ia64 != "$host_cpu"; then 15845 lt_prog_compiler_pic_CXX='+Z' 15846 fi 15847 ;; 15848 aCC*) 15849 lt_prog_compiler_wl_CXX='-Wl,' 15850 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15851 case $host_cpu in 15852 hppa*64*|ia64*) 15853 # +Z the default 15854 ;; 15855 *) 15856 lt_prog_compiler_pic_CXX='+Z' 15857 ;; 15858 esac 15859 ;; 15860 *) 15861 ;; 15862 esac 15863 ;; 15864 interix*) 15865 # This is c89, which is MS Visual C++ (no shared libs) 15866 # Anyone wants to do a port? 15867 ;; 15868 irix5* | irix6* | nonstopux*) 15869 case $cc_basename in 15870 CC*) 15871 lt_prog_compiler_wl_CXX='-Wl,' 15872 lt_prog_compiler_static_CXX='-non_shared' 15873 # CC pic flag -KPIC is the default. 15874 ;; 15875 *) 15876 ;; 15877 esac 15878 ;; 15879 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15880 case $cc_basename in 15881 KCC*) 15882 # KAI C++ Compiler 15883 lt_prog_compiler_wl_CXX='--backend -Wl,' 15884 lt_prog_compiler_pic_CXX='-fPIC' 15885 ;; 15886 ecpc* ) 15887 # old Intel C++ for x86_64, which still supported -KPIC. 15888 lt_prog_compiler_wl_CXX='-Wl,' 15889 lt_prog_compiler_pic_CXX='-KPIC' 15890 lt_prog_compiler_static_CXX='-static' 15891 ;; 15892 icpc* ) 15893 # Intel C++, used to be incompatible with GCC. 15894 # ICC 10 doesn't accept -KPIC any more. 15895 lt_prog_compiler_wl_CXX='-Wl,' 15896 lt_prog_compiler_pic_CXX='-fPIC' 15897 lt_prog_compiler_static_CXX='-static' 15898 ;; 15899 pgCC* | pgcpp*) 15900 # Portland Group C++ compiler 15901 lt_prog_compiler_wl_CXX='-Wl,' 15902 lt_prog_compiler_pic_CXX='-fpic' 15903 lt_prog_compiler_static_CXX='-Bstatic' 15904 ;; 15905 cxx*) 15906 # Compaq C++ 15907 # Make sure the PIC flag is empty. It appears that all Alpha 15908 # Linux and Compaq Tru64 Unix objects are PIC. 15909 lt_prog_compiler_pic_CXX= 15910 lt_prog_compiler_static_CXX='-non_shared' 15911 ;; 15912 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15913 # IBM XL 8.0, 9.0 on PPC and BlueGene 15914 lt_prog_compiler_wl_CXX='-Wl,' 15915 lt_prog_compiler_pic_CXX='-qpic' 15916 lt_prog_compiler_static_CXX='-qstaticlink' 15917 ;; 15918 *) 15919 case `$CC -V 2>&1 | sed 5q` in 15920 *Sun\ C*) 15921 # Sun C++ 5.9 15922 lt_prog_compiler_pic_CXX='-KPIC' 15923 lt_prog_compiler_static_CXX='-Bstatic' 15924 lt_prog_compiler_wl_CXX='-Qoption ld ' 15925 ;; 15926 esac 15927 ;; 15928 esac 15929 ;; 15930 lynxos*) 15931 ;; 15932 m88k*) 15933 ;; 15934 mvs*) 15935 case $cc_basename in 15936 cxx*) 15937 lt_prog_compiler_pic_CXX='-W c,exportall' 15938 ;; 15939 *) 15940 ;; 15941 esac 15942 ;; 15943 netbsd*) 15944 ;; 15945 *qnx* | *nto*) 15946 # QNX uses GNU C++, but need to define -shared option too, otherwise 15947 # it will coredump. 15948 lt_prog_compiler_pic_CXX='-fPIC -shared' 15949 ;; 15950 osf3* | osf4* | osf5*) 15951 case $cc_basename in 15952 KCC*) 15953 lt_prog_compiler_wl_CXX='--backend -Wl,' 15954 ;; 15955 RCC*) 15956 # Rational C++ 2.4.1 15957 lt_prog_compiler_pic_CXX='-pic' 15958 ;; 15959 cxx*) 15960 # Digital/Compaq C++ 15961 lt_prog_compiler_wl_CXX='-Wl,' 15962 # Make sure the PIC flag is empty. It appears that all Alpha 15963 # Linux and Compaq Tru64 Unix objects are PIC. 15964 lt_prog_compiler_pic_CXX= 15965 lt_prog_compiler_static_CXX='-non_shared' 15966 ;; 15967 *) 15968 ;; 15969 esac 15970 ;; 15971 psos*) 15972 ;; 15973 solaris*) 15974 case $cc_basename in 15975 CC* | sunCC*) 15976 # Sun C++ 4.2, 5.x and Centerline C++ 15977 lt_prog_compiler_pic_CXX='-KPIC' 15978 lt_prog_compiler_static_CXX='-Bstatic' 15979 lt_prog_compiler_wl_CXX='-Qoption ld ' 15980 ;; 15981 gcx*) 15982 # Green Hills C++ Compiler 15983 lt_prog_compiler_pic_CXX='-PIC' 15984 ;; 15985 *) 15986 ;; 15987 esac 15988 ;; 15989 sunos4*) 15990 case $cc_basename in 15991 CC*) 15992 # Sun C++ 4.x 15993 lt_prog_compiler_pic_CXX='-pic' 15994 lt_prog_compiler_static_CXX='-Bstatic' 15995 ;; 15996 lcc*) 15997 # Lucid 15998 lt_prog_compiler_pic_CXX='-pic' 15999 ;; 16000 *) 16001 ;; 16002 esac 16003 ;; 16004 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 16005 case $cc_basename in 16006 CC*) 16007 lt_prog_compiler_wl_CXX='-Wl,' 16008 lt_prog_compiler_pic_CXX='-KPIC' 16009 lt_prog_compiler_static_CXX='-Bstatic' 16010 ;; 16011 esac 16012 ;; 16013 tandem*) 16014 case $cc_basename in 16015 NCC*) 16016 # NonStop-UX NCC 3.20 16017 lt_prog_compiler_pic_CXX='-KPIC' 16018 ;; 16019 *) 16020 ;; 16021 esac 16022 ;; 16023 vxworks*) 16024 ;; 16025 *) 16026 lt_prog_compiler_can_build_shared_CXX=no 16027 ;; 16028 esac 16029 fi 16030 16031case $host_os in 16032 # For platforms that do not support PIC, -DPIC is meaningless: 16033 *djgpp*) 16034 lt_prog_compiler_pic_CXX= 16035 ;; 16036 *) 16037 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 16038 ;; 16039esac 16040 16041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 16042$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 16043if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 16044 $as_echo_n "(cached) " >&6 16045else 16046 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 16047fi 16048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 16049$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 16050lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 16051 16052# 16053# Check to make sure the PIC flag actually works. 16054# 16055if test -n "$lt_prog_compiler_pic_CXX"; then 16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 16057$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 16058if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 16059 $as_echo_n "(cached) " >&6 16060else 16061 lt_cv_prog_compiler_pic_works_CXX=no 16062 ac_outfile=conftest.$ac_objext 16063 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16064 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 16065 # Insert the option either (1) after the last *FLAGS variable, or 16066 # (2) before a word containing "conftest.", or (3) at the end. 16067 # Note that $ac_compile itself does not contain backslashes and begins 16068 # with a dollar sign (not a hyphen), so the echo should work correctly. 16069 # The option is referenced via a variable to avoid confusing sed. 16070 lt_compile=`echo "$ac_compile" | $SED \ 16071 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16072 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16073 -e 's:$: $lt_compiler_flag:'` 16074 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16075 (eval "$lt_compile" 2>conftest.err) 16076 ac_status=$? 16077 cat conftest.err >&5 16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16079 if (exit $ac_status) && test -s "$ac_outfile"; then 16080 # The compiler can only warn and ignore the option if not recognized 16081 # So say no if there are warnings other than the usual output. 16082 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 16083 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16084 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 16085 lt_cv_prog_compiler_pic_works_CXX=yes 16086 fi 16087 fi 16088 $RM conftest* 16089 16090fi 16091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 16092$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 16093 16094if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 16095 case $lt_prog_compiler_pic_CXX in 16096 "" | " "*) ;; 16097 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 16098 esac 16099else 16100 lt_prog_compiler_pic_CXX= 16101 lt_prog_compiler_can_build_shared_CXX=no 16102fi 16103 16104fi 16105 16106 16107 16108 16109 16110# 16111# Check to make sure the static flag actually works. 16112# 16113wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 16114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 16115$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 16116if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 16117 $as_echo_n "(cached) " >&6 16118else 16119 lt_cv_prog_compiler_static_works_CXX=no 16120 save_LDFLAGS=$LDFLAGS 16121 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 16122 echo "$lt_simple_link_test_code" > conftest.$ac_ext 16123 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 16124 # The linker can only warn and ignore the option if not recognized 16125 # So say no if there are warnings 16126 if test -s conftest.err; then 16127 # Append any errors to the config.log. 16128 cat conftest.err 1>&5 16129 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 16130 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16131 if diff conftest.exp conftest.er2 >/dev/null; then 16132 lt_cv_prog_compiler_static_works_CXX=yes 16133 fi 16134 else 16135 lt_cv_prog_compiler_static_works_CXX=yes 16136 fi 16137 fi 16138 $RM -r conftest* 16139 LDFLAGS=$save_LDFLAGS 16140 16141fi 16142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 16143$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 16144 16145if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 16146 : 16147else 16148 lt_prog_compiler_static_CXX= 16149fi 16150 16151 16152 16153 16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 16155$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 16156if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 16157 $as_echo_n "(cached) " >&6 16158else 16159 lt_cv_prog_compiler_c_o_CXX=no 16160 $RM -r conftest 2>/dev/null 16161 mkdir conftest 16162 cd conftest 16163 mkdir out 16164 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16165 16166 lt_compiler_flag="-o out/conftest2.$ac_objext" 16167 # Insert the option either (1) after the last *FLAGS variable, or 16168 # (2) before a word containing "conftest.", or (3) at the end. 16169 # Note that $ac_compile itself does not contain backslashes and begins 16170 # with a dollar sign (not a hyphen), so the echo should work correctly. 16171 lt_compile=`echo "$ac_compile" | $SED \ 16172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16174 -e 's:$: $lt_compiler_flag:'` 16175 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16176 (eval "$lt_compile" 2>out/conftest.err) 16177 ac_status=$? 16178 cat out/conftest.err >&5 16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16180 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16181 then 16182 # The compiler can only warn and ignore the option if not recognized 16183 # So say no if there are warnings 16184 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 16185 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 16186 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 16187 lt_cv_prog_compiler_c_o_CXX=yes 16188 fi 16189 fi 16190 chmod u+w . 2>&5 16191 $RM conftest* 16192 # SGI C++ compiler will create directory out/ii_files/ for 16193 # template instantiation 16194 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 16195 $RM out/* && rmdir out 16196 cd .. 16197 $RM -r conftest 16198 $RM conftest* 16199 16200fi 16201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 16202$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 16203 16204 16205 16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 16207$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 16208if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 16209 $as_echo_n "(cached) " >&6 16210else 16211 lt_cv_prog_compiler_c_o_CXX=no 16212 $RM -r conftest 2>/dev/null 16213 mkdir conftest 16214 cd conftest 16215 mkdir out 16216 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16217 16218 lt_compiler_flag="-o out/conftest2.$ac_objext" 16219 # Insert the option either (1) after the last *FLAGS variable, or 16220 # (2) before a word containing "conftest.", or (3) at the end. 16221 # Note that $ac_compile itself does not contain backslashes and begins 16222 # with a dollar sign (not a hyphen), so the echo should work correctly. 16223 lt_compile=`echo "$ac_compile" | $SED \ 16224 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16225 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16226 -e 's:$: $lt_compiler_flag:'` 16227 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 16228 (eval "$lt_compile" 2>out/conftest.err) 16229 ac_status=$? 16230 cat out/conftest.err >&5 16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16232 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16233 then 16234 # The compiler can only warn and ignore the option if not recognized 16235 # So say no if there are warnings 16236 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 16237 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 16238 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 16239 lt_cv_prog_compiler_c_o_CXX=yes 16240 fi 16241 fi 16242 chmod u+w . 2>&5 16243 $RM conftest* 16244 # SGI C++ compiler will create directory out/ii_files/ for 16245 # template instantiation 16246 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 16247 $RM out/* && rmdir out 16248 cd .. 16249 $RM -r conftest 16250 $RM conftest* 16251 16252fi 16253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 16254$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 16255 16256 16257 16258 16259hard_links=nottested 16260if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 16261 # do not overwrite the value of need_locks provided by the user 16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 16263$as_echo_n "checking if we can lock with hard links... " >&6; } 16264 hard_links=yes 16265 $RM conftest* 16266 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16267 touch conftest.a 16268 ln conftest.a conftest.b 2>&5 || hard_links=no 16269 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 16271$as_echo "$hard_links" >&6; } 16272 if test no = "$hard_links"; then 16273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 16274$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 16275 need_locks=warn 16276 fi 16277else 16278 need_locks=no 16279fi 16280 16281 16282 16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 16284$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 16285 16286 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 16287 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 16288 case $host_os in 16289 aix[4-9]*) 16290 # If we're using GNU nm, then we don't want the "-C" option. 16291 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 16292 # Without the "-l" option, or with the "-B" option, AIX nm treats 16293 # weak defined symbols like other global defined symbols, whereas 16294 # GNU nm marks them as "W". 16295 # While the 'weak' keyword is ignored in the Export File, we need 16296 # it in the Import File for the 'aix-soname' feature, so we have 16297 # to replace the "-B" option with "-P" for AIX nm. 16298 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 16299 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 16300 else 16301 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 16302 fi 16303 ;; 16304 pw32*) 16305 export_symbols_cmds_CXX=$ltdll_cmds 16306 ;; 16307 cygwin* | mingw* | cegcc*) 16308 case $cc_basename in 16309 cl*) 16310 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 16311 ;; 16312 *) 16313 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 16314 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 16315 ;; 16316 esac 16317 ;; 16318 *) 16319 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 16320 ;; 16321 esac 16322 16323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 16324$as_echo "$ld_shlibs_CXX" >&6; } 16325test no = "$ld_shlibs_CXX" && can_build_shared=no 16326 16327with_gnu_ld_CXX=$with_gnu_ld 16328 16329 16330 16331 16332 16333 16334# 16335# Do we need to explicitly link libc? 16336# 16337case "x$archive_cmds_need_lc_CXX" in 16338x|xyes) 16339 # Assume -lc should be added 16340 archive_cmds_need_lc_CXX=yes 16341 16342 if test yes,yes = "$GCC,$enable_shared"; then 16343 case $archive_cmds_CXX in 16344 *'~'*) 16345 # FIXME: we may have to deal with multi-command sequences. 16346 ;; 16347 '$CC '*) 16348 # Test whether the compiler implicitly links with -lc since on some 16349 # systems, -lgcc has to come before -lc. If gcc already passes -lc 16350 # to ld, don't add -lc before -lgcc. 16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 16352$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 16353if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 16354 $as_echo_n "(cached) " >&6 16355else 16356 $RM conftest* 16357 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16358 16359 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 16360 (eval $ac_compile) 2>&5 16361 ac_status=$? 16362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16363 test $ac_status = 0; } 2>conftest.err; then 16364 soname=conftest 16365 lib=conftest 16366 libobjs=conftest.$ac_objext 16367 deplibs= 16368 wl=$lt_prog_compiler_wl_CXX 16369 pic_flag=$lt_prog_compiler_pic_CXX 16370 compiler_flags=-v 16371 linker_flags=-v 16372 verstring= 16373 output_objdir=. 16374 libname=conftest 16375 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 16376 allow_undefined_flag_CXX= 16377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 16378 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 16379 ac_status=$? 16380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16381 test $ac_status = 0; } 16382 then 16383 lt_cv_archive_cmds_need_lc_CXX=no 16384 else 16385 lt_cv_archive_cmds_need_lc_CXX=yes 16386 fi 16387 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 16388 else 16389 cat conftest.err 1>&5 16390 fi 16391 $RM conftest* 16392 16393fi 16394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 16395$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 16396 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 16397 ;; 16398 esac 16399 fi 16400 ;; 16401esac 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 16465$as_echo_n "checking dynamic linker characteristics... " >&6; } 16466 16467library_names_spec= 16468libname_spec='lib$name' 16469soname_spec= 16470shrext_cmds=.so 16471postinstall_cmds= 16472postuninstall_cmds= 16473finish_cmds= 16474finish_eval= 16475shlibpath_var= 16476shlibpath_overrides_runpath=unknown 16477version_type=none 16478dynamic_linker="$host_os ld.so" 16479sys_lib_dlsearch_path_spec="/lib /usr/lib" 16480need_lib_prefix=unknown 16481hardcode_into_libs=no 16482 16483# when you set need_version to no, make sure it does not cause -set_version 16484# flags to be left without arguments 16485need_version=unknown 16486 16487 16488 16489case $host_os in 16490aix3*) 16491 version_type=linux # correct to gnu/linux during the next big refactor 16492 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 16493 shlibpath_var=LIBPATH 16494 16495 # AIX 3 has no versioning support, so we append a major version to the name. 16496 soname_spec='$libname$release$shared_ext$major' 16497 ;; 16498 16499aix[4-9]*) 16500 version_type=linux # correct to gnu/linux during the next big refactor 16501 need_lib_prefix=no 16502 need_version=no 16503 hardcode_into_libs=yes 16504 if test ia64 = "$host_cpu"; then 16505 # AIX 5 supports IA64 16506 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 16507 shlibpath_var=LD_LIBRARY_PATH 16508 else 16509 # With GCC up to 2.95.x, collect2 would create an import file 16510 # for dependence libraries. The import file would start with 16511 # the line '#! .'. This would cause the generated library to 16512 # depend on '.', always an invalid library. This was fixed in 16513 # development snapshots of GCC prior to 3.0. 16514 case $host_os in 16515 aix4 | aix4.[01] | aix4.[01].*) 16516 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16517 echo ' yes ' 16518 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 16519 : 16520 else 16521 can_build_shared=no 16522 fi 16523 ;; 16524 esac 16525 # Using Import Files as archive members, it is possible to support 16526 # filename-based versioning of shared library archives on AIX. While 16527 # this would work for both with and without runtime linking, it will 16528 # prevent static linking of such archives. So we do filename-based 16529 # shared library versioning with .so extension only, which is used 16530 # when both runtime linking and shared linking is enabled. 16531 # Unfortunately, runtime linking may impact performance, so we do 16532 # not want this to be the default eventually. Also, we use the 16533 # versioned .so libs for executables only if there is the -brtl 16534 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 16535 # To allow for filename-based versioning support, we need to create 16536 # libNAME.so.V as an archive file, containing: 16537 # *) an Import File, referring to the versioned filename of the 16538 # archive as well as the shared archive member, telling the 16539 # bitwidth (32 or 64) of that shared object, and providing the 16540 # list of exported symbols of that shared object, eventually 16541 # decorated with the 'weak' keyword 16542 # *) the shared object with the F_LOADONLY flag set, to really avoid 16543 # it being seen by the linker. 16544 # At run time we better use the real file rather than another symlink, 16545 # but for link time we create the symlink libNAME.so -> libNAME.so.V 16546 16547 case $with_aix_soname,$aix_use_runtimelinking in 16548 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 16549 # soname into executable. Probably we can add versioning support to 16550 # collect2, so additional links can be useful in future. 16551 aix,yes) # traditional libtool 16552 dynamic_linker='AIX unversionable lib.so' 16553 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16554 # instead of lib<name>.a to let people know that these are not 16555 # typical AIX shared libraries. 16556 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16557 ;; 16558 aix,no) # traditional AIX only 16559 dynamic_linker='AIX lib.a(lib.so.V)' 16560 # We preserve .a as extension for shared libraries through AIX4.2 16561 # and later when we are not doing run time linking. 16562 library_names_spec='$libname$release.a $libname.a' 16563 soname_spec='$libname$release$shared_ext$major' 16564 ;; 16565 svr4,*) # full svr4 only 16566 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 16567 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16568 # We do not specify a path in Import Files, so LIBPATH fires. 16569 shlibpath_overrides_runpath=yes 16570 ;; 16571 *,yes) # both, prefer svr4 16572 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 16573 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16574 # unpreferred sharedlib libNAME.a needs extra handling 16575 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"' 16576 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"' 16577 # We do not specify a path in Import Files, so LIBPATH fires. 16578 shlibpath_overrides_runpath=yes 16579 ;; 16580 *,no) # both, prefer aix 16581 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 16582 library_names_spec='$libname$release.a $libname.a' 16583 soname_spec='$libname$release$shared_ext$major' 16584 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 16585 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)' 16586 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"' 16587 ;; 16588 esac 16589 shlibpath_var=LIBPATH 16590 fi 16591 ;; 16592 16593amigaos*) 16594 case $host_cpu in 16595 powerpc) 16596 # Since July 2007 AmigaOS4 officially supports .so libraries. 16597 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16598 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16599 ;; 16600 m68k) 16601 library_names_spec='$libname.ixlibrary $libname.a' 16602 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16603 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' 16604 ;; 16605 esac 16606 ;; 16607 16608beos*) 16609 library_names_spec='$libname$shared_ext' 16610 dynamic_linker="$host_os ld.so" 16611 shlibpath_var=LIBRARY_PATH 16612 ;; 16613 16614bsdi[45]*) 16615 version_type=linux # correct to gnu/linux during the next big refactor 16616 need_version=no 16617 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16618 soname_spec='$libname$release$shared_ext$major' 16619 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16620 shlibpath_var=LD_LIBRARY_PATH 16621 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16622 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16623 # the default ld.so.conf also contains /usr/contrib/lib and 16624 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16625 # libtool to hard-code these into programs 16626 ;; 16627 16628cygwin* | mingw* | pw32* | cegcc*) 16629 version_type=windows 16630 shrext_cmds=.dll 16631 need_version=no 16632 need_lib_prefix=no 16633 16634 case $GCC,$cc_basename in 16635 yes,*) 16636 # gcc 16637 library_names_spec='$libname.dll.a' 16638 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16639 postinstall_cmds='base_file=`basename \$file`~ 16640 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16641 dldir=$destdir/`dirname \$dlpath`~ 16642 test -d \$dldir || mkdir -p \$dldir~ 16643 $install_prog $dir/$dlname \$dldir/$dlname~ 16644 chmod a+x \$dldir/$dlname~ 16645 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16646 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16647 fi' 16648 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16649 dlpath=$dir/\$dldll~ 16650 $RM \$dlpath' 16651 shlibpath_overrides_runpath=yes 16652 16653 case $host_os in 16654 cygwin*) 16655 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16656 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16657 16658 ;; 16659 mingw* | cegcc*) 16660 # MinGW DLLs use traditional 'lib' prefix 16661 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16662 ;; 16663 pw32*) 16664 # pw32 DLLs use 'pw' prefix rather than 'lib' 16665 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16666 ;; 16667 esac 16668 dynamic_linker='Win32 ld.exe' 16669 ;; 16670 16671 *,cl*) 16672 # Native MSVC 16673 libname_spec='$name' 16674 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16675 library_names_spec='$libname.dll.lib' 16676 16677 case $build_os in 16678 mingw*) 16679 sys_lib_search_path_spec= 16680 lt_save_ifs=$IFS 16681 IFS=';' 16682 for lt_path in $LIB 16683 do 16684 IFS=$lt_save_ifs 16685 # Let DOS variable expansion print the short 8.3 style file name. 16686 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16687 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16688 done 16689 IFS=$lt_save_ifs 16690 # Convert to MSYS style. 16691 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16692 ;; 16693 cygwin*) 16694 # Convert to unix form, then to dos form, then back to unix form 16695 # but this time dos style (no spaces!) so that the unix form looks 16696 # like /cygdrive/c/PROGRA~1:/cygdr... 16697 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16698 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16699 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16700 ;; 16701 *) 16702 sys_lib_search_path_spec=$LIB 16703 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16704 # It is most probably a Windows format PATH. 16705 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16706 else 16707 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16708 fi 16709 # FIXME: find the short name or the path components, as spaces are 16710 # common. (e.g. "Program Files" -> "PROGRA~1") 16711 ;; 16712 esac 16713 16714 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16715 postinstall_cmds='base_file=`basename \$file`~ 16716 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16717 dldir=$destdir/`dirname \$dlpath`~ 16718 test -d \$dldir || mkdir -p \$dldir~ 16719 $install_prog $dir/$dlname \$dldir/$dlname' 16720 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16721 dlpath=$dir/\$dldll~ 16722 $RM \$dlpath' 16723 shlibpath_overrides_runpath=yes 16724 dynamic_linker='Win32 link.exe' 16725 ;; 16726 16727 *) 16728 # Assume MSVC wrapper 16729 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 16730 dynamic_linker='Win32 ld.exe' 16731 ;; 16732 esac 16733 # FIXME: first we should search . and the directory the executable is in 16734 shlibpath_var=PATH 16735 ;; 16736 16737darwin* | rhapsody*) 16738 dynamic_linker="$host_os dyld" 16739 version_type=darwin 16740 need_lib_prefix=no 16741 need_version=no 16742 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 16743 soname_spec='$libname$release$major$shared_ext' 16744 shlibpath_overrides_runpath=yes 16745 shlibpath_var=DYLD_LIBRARY_PATH 16746 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16747 16748 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16749 ;; 16750 16751dgux*) 16752 version_type=linux # correct to gnu/linux during the next big refactor 16753 need_lib_prefix=no 16754 need_version=no 16755 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16756 soname_spec='$libname$release$shared_ext$major' 16757 shlibpath_var=LD_LIBRARY_PATH 16758 ;; 16759 16760freebsd* | dragonfly*) 16761 # DragonFly does not have aout. When/if they implement a new 16762 # versioning mechanism, adjust this. 16763 if test -x /usr/bin/objformat; then 16764 objformat=`/usr/bin/objformat` 16765 else 16766 case $host_os in 16767 freebsd[23].*) objformat=aout ;; 16768 *) objformat=elf ;; 16769 esac 16770 fi 16771 version_type=freebsd-$objformat 16772 case $version_type in 16773 freebsd-elf*) 16774 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16775 soname_spec='$libname$release$shared_ext$major' 16776 need_version=no 16777 need_lib_prefix=no 16778 ;; 16779 freebsd-*) 16780 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16781 need_version=yes 16782 ;; 16783 esac 16784 shlibpath_var=LD_LIBRARY_PATH 16785 case $host_os in 16786 freebsd2.*) 16787 shlibpath_overrides_runpath=yes 16788 ;; 16789 freebsd3.[01]* | freebsdelf3.[01]*) 16790 shlibpath_overrides_runpath=yes 16791 hardcode_into_libs=yes 16792 ;; 16793 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16794 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16795 shlibpath_overrides_runpath=no 16796 hardcode_into_libs=yes 16797 ;; 16798 *) # from 4.6 on, and DragonFly 16799 shlibpath_overrides_runpath=yes 16800 hardcode_into_libs=yes 16801 ;; 16802 esac 16803 ;; 16804 16805haiku*) 16806 version_type=linux # correct to gnu/linux during the next big refactor 16807 need_lib_prefix=no 16808 need_version=no 16809 dynamic_linker="$host_os runtime_loader" 16810 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16811 soname_spec='$libname$release$shared_ext$major' 16812 shlibpath_var=LIBRARY_PATH 16813 shlibpath_overrides_runpath=no 16814 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16815 hardcode_into_libs=yes 16816 ;; 16817 16818hpux9* | hpux10* | hpux11*) 16819 # Give a soname corresponding to the major version so that dld.sl refuses to 16820 # link against other versions. 16821 version_type=sunos 16822 need_lib_prefix=no 16823 need_version=no 16824 case $host_cpu in 16825 ia64*) 16826 shrext_cmds='.so' 16827 hardcode_into_libs=yes 16828 dynamic_linker="$host_os dld.so" 16829 shlibpath_var=LD_LIBRARY_PATH 16830 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16831 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16832 soname_spec='$libname$release$shared_ext$major' 16833 if test 32 = "$HPUX_IA64_MODE"; then 16834 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16835 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 16836 else 16837 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16838 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16839 fi 16840 ;; 16841 hppa*64*) 16842 shrext_cmds='.sl' 16843 hardcode_into_libs=yes 16844 dynamic_linker="$host_os dld.sl" 16845 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16846 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16847 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16848 soname_spec='$libname$release$shared_ext$major' 16849 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16850 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16851 ;; 16852 *) 16853 shrext_cmds='.sl' 16854 dynamic_linker="$host_os dld.sl" 16855 shlibpath_var=SHLIB_PATH 16856 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16857 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16858 soname_spec='$libname$release$shared_ext$major' 16859 ;; 16860 esac 16861 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16862 postinstall_cmds='chmod 555 $lib' 16863 # or fails outright, so override atomically: 16864 install_override_mode=555 16865 ;; 16866 16867interix[3-9]*) 16868 version_type=linux # correct to gnu/linux during the next big refactor 16869 need_lib_prefix=no 16870 need_version=no 16871 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16872 soname_spec='$libname$release$shared_ext$major' 16873 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16874 shlibpath_var=LD_LIBRARY_PATH 16875 shlibpath_overrides_runpath=no 16876 hardcode_into_libs=yes 16877 ;; 16878 16879irix5* | irix6* | nonstopux*) 16880 case $host_os in 16881 nonstopux*) version_type=nonstopux ;; 16882 *) 16883 if test yes = "$lt_cv_prog_gnu_ld"; then 16884 version_type=linux # correct to gnu/linux during the next big refactor 16885 else 16886 version_type=irix 16887 fi ;; 16888 esac 16889 need_lib_prefix=no 16890 need_version=no 16891 soname_spec='$libname$release$shared_ext$major' 16892 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16893 case $host_os in 16894 irix5* | nonstopux*) 16895 libsuff= shlibsuff= 16896 ;; 16897 *) 16898 case $LD in # libtool.m4 will add one of these switches to LD 16899 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16900 libsuff= shlibsuff= libmagic=32-bit;; 16901 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16902 libsuff=32 shlibsuff=N32 libmagic=N32;; 16903 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16904 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16905 *) libsuff= shlibsuff= libmagic=never-match;; 16906 esac 16907 ;; 16908 esac 16909 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16910 shlibpath_overrides_runpath=no 16911 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16912 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16913 hardcode_into_libs=yes 16914 ;; 16915 16916# No shared lib support for Linux oldld, aout, or coff. 16917linux*oldld* | linux*aout* | linux*coff*) 16918 dynamic_linker=no 16919 ;; 16920 16921linux*android*) 16922 version_type=none # Android doesn't support versioned libraries. 16923 need_lib_prefix=no 16924 need_version=no 16925 library_names_spec='$libname$release$shared_ext' 16926 soname_spec='$libname$release$shared_ext' 16927 finish_cmds= 16928 shlibpath_var=LD_LIBRARY_PATH 16929 shlibpath_overrides_runpath=yes 16930 16931 # This implies no fast_install, which is unacceptable. 16932 # Some rework will be needed to allow for fast_install 16933 # before this can be enabled. 16934 hardcode_into_libs=yes 16935 16936 dynamic_linker='Android linker' 16937 # Don't embed -rpath directories since the linker doesn't support them. 16938 hardcode_libdir_flag_spec_CXX='-L$libdir' 16939 ;; 16940 16941# This must be glibc/ELF. 16942linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16943 version_type=linux # correct to gnu/linux during the next big refactor 16944 need_lib_prefix=no 16945 need_version=no 16946 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16947 soname_spec='$libname$release$shared_ext$major' 16948 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16949 shlibpath_var=LD_LIBRARY_PATH 16950 shlibpath_overrides_runpath=no 16951 16952 # Some binutils ld are patched to set DT_RUNPATH 16953 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16954 $as_echo_n "(cached) " >&6 16955else 16956 lt_cv_shlibpath_overrides_runpath=no 16957 save_LDFLAGS=$LDFLAGS 16958 save_libdir=$libdir 16959 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16960 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16962/* end confdefs.h. */ 16963 16964int 16965main () 16966{ 16967 16968 ; 16969 return 0; 16970} 16971_ACEOF 16972if ac_fn_cxx_try_link "$LINENO"; then : 16973 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16974 lt_cv_shlibpath_overrides_runpath=yes 16975fi 16976fi 16977rm -f core conftest.err conftest.$ac_objext \ 16978 conftest$ac_exeext conftest.$ac_ext 16979 LDFLAGS=$save_LDFLAGS 16980 libdir=$save_libdir 16981 16982fi 16983 16984 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16985 16986 # This implies no fast_install, which is unacceptable. 16987 # Some rework will be needed to allow for fast_install 16988 # before this can be enabled. 16989 hardcode_into_libs=yes 16990 16991 # Add ABI-specific directories to the system library path. 16992 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16993 16994 # Ideally, we could use ldconfig to report *all* directores which are 16995 # searched for libraries, however this is still not possible. Aside from not 16996 # being certain /sbin/ldconfig is available, command 16997 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16998 # even though it is searched at run-time. Try to do the best guess by 16999 # appending ld.so.conf contents (and includes) to the search path. 17000 if test -f /etc/ld.so.conf; then 17001 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' ' '` 17002 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 17003 fi 17004 17005 # We used to test for /lib/ld.so.1 and disable shared libraries on 17006 # powerpc, because MkLinux only supported shared libraries with the 17007 # GNU dynamic linker. Since this was broken with cross compilers, 17008 # most powerpc-linux boxes support dynamic linking these days and 17009 # people can always --disable-shared, the test was removed, and we 17010 # assume the GNU/Linux dynamic linker is in use. 17011 dynamic_linker='GNU/Linux ld.so' 17012 ;; 17013 17014netbsd*) 17015 version_type=sunos 17016 need_lib_prefix=no 17017 need_version=no 17018 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 17019 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17020 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 17021 dynamic_linker='NetBSD (a.out) ld.so' 17022 else 17023 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17024 soname_spec='$libname$release$shared_ext$major' 17025 dynamic_linker='NetBSD ld.elf_so' 17026 fi 17027 shlibpath_var=LD_LIBRARY_PATH 17028 shlibpath_overrides_runpath=yes 17029 hardcode_into_libs=yes 17030 ;; 17031 17032newsos6) 17033 version_type=linux # correct to gnu/linux during the next big refactor 17034 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17035 shlibpath_var=LD_LIBRARY_PATH 17036 shlibpath_overrides_runpath=yes 17037 ;; 17038 17039*nto* | *qnx*) 17040 version_type=qnx 17041 need_lib_prefix=no 17042 need_version=no 17043 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17044 soname_spec='$libname$release$shared_ext$major' 17045 shlibpath_var=LD_LIBRARY_PATH 17046 shlibpath_overrides_runpath=no 17047 hardcode_into_libs=yes 17048 dynamic_linker='ldqnx.so' 17049 ;; 17050 17051openbsd* | bitrig*) 17052 version_type=sunos 17053 sys_lib_dlsearch_path_spec=/usr/lib 17054 need_lib_prefix=no 17055 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 17056 need_version=no 17057 else 17058 need_version=yes 17059 fi 17060 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17061 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 17062 shlibpath_var=LD_LIBRARY_PATH 17063 shlibpath_overrides_runpath=yes 17064 ;; 17065 17066os2*) 17067 libname_spec='$name' 17068 version_type=windows 17069 shrext_cmds=.dll 17070 need_version=no 17071 need_lib_prefix=no 17072 # OS/2 can only load a DLL with a base name of 8 characters or less. 17073 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 17074 v=$($ECHO $release$versuffix | tr -d .-); 17075 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 17076 $ECHO $n$v`$shared_ext' 17077 library_names_spec='${libname}_dll.$libext' 17078 dynamic_linker='OS/2 ld.exe' 17079 shlibpath_var=BEGINLIBPATH 17080 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 17081 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 17082 postinstall_cmds='base_file=`basename \$file`~ 17083 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 17084 dldir=$destdir/`dirname \$dlpath`~ 17085 test -d \$dldir || mkdir -p \$dldir~ 17086 $install_prog $dir/$dlname \$dldir/$dlname~ 17087 chmod a+x \$dldir/$dlname~ 17088 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 17089 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 17090 fi' 17091 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 17092 dlpath=$dir/\$dldll~ 17093 $RM \$dlpath' 17094 ;; 17095 17096osf3* | osf4* | osf5*) 17097 version_type=osf 17098 need_lib_prefix=no 17099 need_version=no 17100 soname_spec='$libname$release$shared_ext$major' 17101 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17102 shlibpath_var=LD_LIBRARY_PATH 17103 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 17104 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 17105 ;; 17106 17107rdos*) 17108 dynamic_linker=no 17109 ;; 17110 17111solaris*) 17112 version_type=linux # correct to gnu/linux during the next big refactor 17113 need_lib_prefix=no 17114 need_version=no 17115 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17116 soname_spec='$libname$release$shared_ext$major' 17117 shlibpath_var=LD_LIBRARY_PATH 17118 shlibpath_overrides_runpath=yes 17119 hardcode_into_libs=yes 17120 # ldd complains unless libraries are executable 17121 postinstall_cmds='chmod +x $lib' 17122 ;; 17123 17124sunos4*) 17125 version_type=sunos 17126 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 17127 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 17128 shlibpath_var=LD_LIBRARY_PATH 17129 shlibpath_overrides_runpath=yes 17130 if test yes = "$with_gnu_ld"; then 17131 need_lib_prefix=no 17132 fi 17133 need_version=yes 17134 ;; 17135 17136sysv4 | sysv4.3*) 17137 version_type=linux # correct to gnu/linux during the next big refactor 17138 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17139 soname_spec='$libname$release$shared_ext$major' 17140 shlibpath_var=LD_LIBRARY_PATH 17141 case $host_vendor in 17142 sni) 17143 shlibpath_overrides_runpath=no 17144 need_lib_prefix=no 17145 runpath_var=LD_RUN_PATH 17146 ;; 17147 siemens) 17148 need_lib_prefix=no 17149 ;; 17150 motorola) 17151 need_lib_prefix=no 17152 need_version=no 17153 shlibpath_overrides_runpath=no 17154 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 17155 ;; 17156 esac 17157 ;; 17158 17159sysv4*MP*) 17160 if test -d /usr/nec; then 17161 version_type=linux # correct to gnu/linux during the next big refactor 17162 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 17163 soname_spec='$libname$shared_ext.$major' 17164 shlibpath_var=LD_LIBRARY_PATH 17165 fi 17166 ;; 17167 17168sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 17169 version_type=sco 17170 need_lib_prefix=no 17171 need_version=no 17172 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 17173 soname_spec='$libname$release$shared_ext$major' 17174 shlibpath_var=LD_LIBRARY_PATH 17175 shlibpath_overrides_runpath=yes 17176 hardcode_into_libs=yes 17177 if test yes = "$with_gnu_ld"; then 17178 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 17179 else 17180 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 17181 case $host_os in 17182 sco3.2v5*) 17183 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 17184 ;; 17185 esac 17186 fi 17187 sys_lib_dlsearch_path_spec='/usr/lib' 17188 ;; 17189 17190tpf*) 17191 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 17192 version_type=linux # correct to gnu/linux during the next big refactor 17193 need_lib_prefix=no 17194 need_version=no 17195 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17196 shlibpath_var=LD_LIBRARY_PATH 17197 shlibpath_overrides_runpath=no 17198 hardcode_into_libs=yes 17199 ;; 17200 17201uts4*) 17202 version_type=linux # correct to gnu/linux during the next big refactor 17203 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 17204 soname_spec='$libname$release$shared_ext$major' 17205 shlibpath_var=LD_LIBRARY_PATH 17206 ;; 17207 17208*) 17209 dynamic_linker=no 17210 ;; 17211esac 17212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 17213$as_echo "$dynamic_linker" >&6; } 17214test no = "$dynamic_linker" && can_build_shared=no 17215 17216variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 17217if test yes = "$GCC"; then 17218 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 17219fi 17220 17221if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 17222 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 17223fi 17224 17225if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 17226 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 17227fi 17228 17229# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 17230configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 17231 17232# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 17233func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 17234 17235# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 17236configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 17278$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 17279hardcode_action_CXX= 17280if test -n "$hardcode_libdir_flag_spec_CXX" || 17281 test -n "$runpath_var_CXX" || 17282 test yes = "$hardcode_automatic_CXX"; then 17283 17284 # We can hardcode non-existent directories. 17285 if test no != "$hardcode_direct_CXX" && 17286 # If the only mechanism to avoid hardcoding is shlibpath_var, we 17287 # have to relink, otherwise we might link with an installed library 17288 # when we should be linking with a yet-to-be-installed one 17289 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 17290 test no != "$hardcode_minus_L_CXX"; then 17291 # Linking always hardcodes the temporary library directory. 17292 hardcode_action_CXX=relink 17293 else 17294 # We can link without hardcoding, and we can hardcode nonexisting dirs. 17295 hardcode_action_CXX=immediate 17296 fi 17297else 17298 # We cannot hardcode anything, or else we can only hardcode existing 17299 # directories. 17300 hardcode_action_CXX=unsupported 17301fi 17302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 17303$as_echo "$hardcode_action_CXX" >&6; } 17304 17305if test relink = "$hardcode_action_CXX" || 17306 test yes = "$inherit_rpath_CXX"; then 17307 # Fast installation is not supported 17308 enable_fast_install=no 17309elif test yes = "$shlibpath_overrides_runpath" || 17310 test no = "$enable_shared"; then 17311 # Fast installation is not necessary 17312 enable_fast_install=needless 17313fi 17314 17315 17316 17317 17318 17319 17320 17321 fi # test -n "$compiler" 17322 17323 CC=$lt_save_CC 17324 CFLAGS=$lt_save_CFLAGS 17325 LDCXX=$LD 17326 LD=$lt_save_LD 17327 GCC=$lt_save_GCC 17328 with_gnu_ld=$lt_save_with_gnu_ld 17329 lt_cv_path_LDCXX=$lt_cv_path_LD 17330 lt_cv_path_LD=$lt_save_path_LD 17331 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 17332 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 17333fi # test yes != "$_lt_caught_CXX_error" 17334 17335ac_ext=c 17336ac_cpp='$CPP $CPPFLAGS' 17337ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17338ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17339ac_compiler_gnu=$ac_cv_c_compiler_gnu 17340 17341 17342ac_ext=cpp 17343ac_cpp='$CXXCPP $CPPFLAGS' 17344ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17345ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17346ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 17348$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 17349if test -z "$CXXCPP"; then 17350 if ${ac_cv_prog_CXXCPP+:} false; then : 17351 $as_echo_n "(cached) " >&6 17352else 17353 # Double quotes because CXXCPP needs to be expanded 17354 for CXXCPP in "$CXX -E" "/lib/cpp" 17355 do 17356 ac_preproc_ok=false 17357for ac_cxx_preproc_warn_flag in '' yes 17358do 17359 # Use a header file that comes with gcc, so configuring glibc 17360 # with a fresh cross-compiler works. 17361 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17362 # <limits.h> exists even on freestanding compilers. 17363 # On the NeXT, cc -E runs the code through the compiler's parser, 17364 # not just through cpp. "Syntax error" is here to catch this case. 17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17366/* end confdefs.h. */ 17367#ifdef __STDC__ 17368# include <limits.h> 17369#else 17370# include <assert.h> 17371#endif 17372 Syntax error 17373_ACEOF 17374if ac_fn_cxx_try_cpp "$LINENO"; then : 17375 17376else 17377 # Broken: fails on valid input. 17378continue 17379fi 17380rm -f conftest.err conftest.i conftest.$ac_ext 17381 17382 # OK, works on sane cases. Now check whether nonexistent headers 17383 # can be detected and how. 17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17385/* end confdefs.h. */ 17386#include <ac_nonexistent.h> 17387_ACEOF 17388if ac_fn_cxx_try_cpp "$LINENO"; then : 17389 # Broken: success on invalid input. 17390continue 17391else 17392 # Passes both tests. 17393ac_preproc_ok=: 17394break 17395fi 17396rm -f conftest.err conftest.i conftest.$ac_ext 17397 17398done 17399# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 17400rm -f conftest.i conftest.err conftest.$ac_ext 17401if $ac_preproc_ok; then : 17402 break 17403fi 17404 17405 done 17406 ac_cv_prog_CXXCPP=$CXXCPP 17407 17408fi 17409 CXXCPP=$ac_cv_prog_CXXCPP 17410else 17411 ac_cv_prog_CXXCPP=$CXXCPP 17412fi 17413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 17414$as_echo "$CXXCPP" >&6; } 17415ac_preproc_ok=false 17416for ac_cxx_preproc_warn_flag in '' yes 17417do 17418 # Use a header file that comes with gcc, so configuring glibc 17419 # with a fresh cross-compiler works. 17420 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17421 # <limits.h> exists even on freestanding compilers. 17422 # On the NeXT, cc -E runs the code through the compiler's parser, 17423 # not just through cpp. "Syntax error" is here to catch this case. 17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17425/* end confdefs.h. */ 17426#ifdef __STDC__ 17427# include <limits.h> 17428#else 17429# include <assert.h> 17430#endif 17431 Syntax error 17432_ACEOF 17433if ac_fn_cxx_try_cpp "$LINENO"; then : 17434 17435else 17436 # Broken: fails on valid input. 17437continue 17438fi 17439rm -f conftest.err conftest.i conftest.$ac_ext 17440 17441 # OK, works on sane cases. Now check whether nonexistent headers 17442 # can be detected and how. 17443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17444/* end confdefs.h. */ 17445#include <ac_nonexistent.h> 17446_ACEOF 17447if ac_fn_cxx_try_cpp "$LINENO"; then : 17448 # Broken: success on invalid input. 17449continue 17450else 17451 # Passes both tests. 17452ac_preproc_ok=: 17453break 17454fi 17455rm -f conftest.err conftest.i conftest.$ac_ext 17456 17457done 17458# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 17459rm -f conftest.i conftest.err conftest.$ac_ext 17460if $ac_preproc_ok; then : 17461 17462else 17463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17464$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17465as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 17466See \`config.log' for more details" "$LINENO" 5; } 17467fi 17468 17469ac_ext=c 17470ac_cpp='$CPP $CPPFLAGS' 17471ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17472ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17473ac_compiler_gnu=$ac_cv_c_compiler_gnu 17474 17475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 17476$as_echo_n "checking for a sed that does not truncate output... " >&6; } 17477if ${ac_cv_path_SED+:} false; then : 17478 $as_echo_n "(cached) " >&6 17479else 17480 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 17481 for ac_i in 1 2 3 4 5 6 7; do 17482 ac_script="$ac_script$as_nl$ac_script" 17483 done 17484 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 17485 { ac_script=; unset ac_script;} 17486 if test -z "$SED"; then 17487 ac_path_SED_found=false 17488 # Loop through the user's path and test for each of PROGNAME-LIST 17489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17490for as_dir in $PATH 17491do 17492 IFS=$as_save_IFS 17493 test -z "$as_dir" && as_dir=. 17494 for ac_prog in sed gsed; do 17495 for ac_exec_ext in '' $ac_executable_extensions; do 17496 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 17497 as_fn_executable_p "$ac_path_SED" || continue 17498# Check for GNU ac_path_SED and select it if it is found. 17499 # Check for GNU $ac_path_SED 17500case `"$ac_path_SED" --version 2>&1` in 17501*GNU*) 17502 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 17503*) 17504 ac_count=0 17505 $as_echo_n 0123456789 >"conftest.in" 17506 while : 17507 do 17508 cat "conftest.in" "conftest.in" >"conftest.tmp" 17509 mv "conftest.tmp" "conftest.in" 17510 cp "conftest.in" "conftest.nl" 17511 $as_echo '' >> "conftest.nl" 17512 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 17513 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 17514 as_fn_arith $ac_count + 1 && ac_count=$as_val 17515 if test $ac_count -gt ${ac_path_SED_max-0}; then 17516 # Best one so far, save it but keep looking for a better one 17517 ac_cv_path_SED="$ac_path_SED" 17518 ac_path_SED_max=$ac_count 17519 fi 17520 # 10*(2^10) chars as input seems more than enough 17521 test $ac_count -gt 10 && break 17522 done 17523 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 17524esac 17525 17526 $ac_path_SED_found && break 3 17527 done 17528 done 17529 done 17530IFS=$as_save_IFS 17531 if test -z "$ac_cv_path_SED"; then 17532 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 17533 fi 17534else 17535 ac_cv_path_SED=$SED 17536fi 17537 17538fi 17539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 17540$as_echo "$ac_cv_path_SED" >&6; } 17541 SED="$ac_cv_path_SED" 17542 rm -f conftest.sed 17543 17544 17545 17546 17547 17548 17549 17550 17551if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 17552 if test -n "$ac_tool_prefix"; then 17553 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 17554set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 17555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17556$as_echo_n "checking for $ac_word... " >&6; } 17557if ${ac_cv_path_PKG_CONFIG+:} false; then : 17558 $as_echo_n "(cached) " >&6 17559else 17560 case $PKG_CONFIG in 17561 [\\/]* | ?:[\\/]*) 17562 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 17563 ;; 17564 *) 17565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17566for as_dir in $PATH 17567do 17568 IFS=$as_save_IFS 17569 test -z "$as_dir" && as_dir=. 17570 for ac_exec_ext in '' $ac_executable_extensions; do 17571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17572 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 17573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17574 break 2 17575 fi 17576done 17577 done 17578IFS=$as_save_IFS 17579 17580 ;; 17581esac 17582fi 17583PKG_CONFIG=$ac_cv_path_PKG_CONFIG 17584if test -n "$PKG_CONFIG"; then 17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 17586$as_echo "$PKG_CONFIG" >&6; } 17587else 17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17589$as_echo "no" >&6; } 17590fi 17591 17592 17593fi 17594if test -z "$ac_cv_path_PKG_CONFIG"; then 17595 ac_pt_PKG_CONFIG=$PKG_CONFIG 17596 # Extract the first word of "pkg-config", so it can be a program name with args. 17597set dummy pkg-config; ac_word=$2 17598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17599$as_echo_n "checking for $ac_word... " >&6; } 17600if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 17601 $as_echo_n "(cached) " >&6 17602else 17603 case $ac_pt_PKG_CONFIG in 17604 [\\/]* | ?:[\\/]*) 17605 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 17606 ;; 17607 *) 17608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17609for as_dir in $PATH 17610do 17611 IFS=$as_save_IFS 17612 test -z "$as_dir" && as_dir=. 17613 for ac_exec_ext in '' $ac_executable_extensions; do 17614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17615 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 17616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17617 break 2 17618 fi 17619done 17620 done 17621IFS=$as_save_IFS 17622 17623 ;; 17624esac 17625fi 17626ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 17627if test -n "$ac_pt_PKG_CONFIG"; then 17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 17629$as_echo "$ac_pt_PKG_CONFIG" >&6; } 17630else 17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17632$as_echo "no" >&6; } 17633fi 17634 17635 if test "x$ac_pt_PKG_CONFIG" = x; then 17636 PKG_CONFIG="" 17637 else 17638 case $cross_compiling:$ac_tool_warned in 17639yes:) 17640{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 17641$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 17642ac_tool_warned=yes ;; 17643esac 17644 PKG_CONFIG=$ac_pt_PKG_CONFIG 17645 fi 17646else 17647 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 17648fi 17649 17650fi 17651if test -n "$PKG_CONFIG"; then 17652 _pkg_min_version=0.24 17653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 17654$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 17655 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17657$as_echo "yes" >&6; } 17658 else 17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17660$as_echo "no" >&6; } 17661 PKG_CONFIG="" 17662 fi 17663fi 17664 17665 17666 # Find git, defaulting to the 'missing' script so the user gets a nice 17667 # message if git is missing, rather than a plain 'command not found'. 17668 # Extract the first word of "git", so it can be a program name with args. 17669set dummy git; ac_word=$2 17670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17671$as_echo_n "checking for $ac_word... " >&6; } 17672if ${ac_cv_path_GIT+:} false; then : 17673 $as_echo_n "(cached) " >&6 17674else 17675 case $GIT in 17676 [\\/]* | ?:[\\/]*) 17677 ac_cv_path_GIT="$GIT" # Let the user override the test with a path. 17678 ;; 17679 *) 17680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17681for as_dir in $PATH 17682do 17683 IFS=$as_save_IFS 17684 test -z "$as_dir" && as_dir=. 17685 for ac_exec_ext in '' $ac_executable_extensions; do 17686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17687 ac_cv_path_GIT="$as_dir/$ac_word$ac_exec_ext" 17688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17689 break 2 17690 fi 17691done 17692 done 17693IFS=$as_save_IFS 17694 17695 test -z "$ac_cv_path_GIT" && ac_cv_path_GIT="${am_missing_run}git" 17696 ;; 17697esac 17698fi 17699GIT=$ac_cv_path_GIT 17700if test -n "$GIT"; then 17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5 17702$as_echo "$GIT" >&6; } 17703else 17704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17705$as_echo "no" >&6; } 17706fi 17707 17708 17709 17710 17711 # Build the ChangeLog rules. 17712 17713GENERATE_CHANGELOG_RULES=' 17714# Generate ChangeLog 17715# 17716# Optional: 17717# - CHANGELOG_START: git commit ID or tag name to output changelogs from 17718# (exclusive). (Default: include all commits) 17719# - CHANGELOG_GIT_FLAGS: General flags to pass to git-log when generating the 17720# ChangeLog. (Default: various) 17721# - CHANGELOG_GIT_DIR: .git directory to use. (Default: $(top_srcdir)/.git) 17722 17723# git-specific 17724CHANGELOG_GIT_FLAGS ?= --stat -M -C --name-status --no-color 17725CHANGELOG_GIT_DIR ?= $(top_srcdir)/.git 17726 17727ifeq ($(CHANGELOG_START),) 17728CHANGELOG_GIT_RANGE = 17729else 17730CHANGELOG_GIT_RANGE = $(CHANGELOG_START).. 17731endif 17732 17733# Generate a ChangeLog in $(top_distdir) 17734dist-ChangeLog: 17735 $(AM_V_GEN)if $(GIT) \ 17736 --git-dir=$(CHANGELOG_GIT_DIR) --work-tree=$(top_srcdir) log \ 17737 $(CHANGELOG_GIT_FLAGS) $(CHANGELOG_GIT_RANGE) \ 17738 | fmt --split-only >.ChangeLog.tmp; \ 17739 then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \ 17740 else rm -f .ChangeLog.tmp; exit 1; fi 17741 17742.PHONY: dist-ChangeLog 17743' 17744 17745 17746 17747 17748 17749GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0` 17750 17751 17752# Extract the first word of "gdk-pixbuf-pixdata", so it can be a program name with args. 17753set dummy gdk-pixbuf-pixdata; ac_word=$2 17754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17755$as_echo_n "checking for $ac_word... " >&6; } 17756if ${ac_cv_path_GDK_PIXBUF_PIXDATA+:} false; then : 17757 $as_echo_n "(cached) " >&6 17758else 17759 case $GDK_PIXBUF_PIXDATA in 17760 [\\/]* | ?:[\\/]*) 17761 ac_cv_path_GDK_PIXBUF_PIXDATA="$GDK_PIXBUF_PIXDATA" # Let the user override the test with a path. 17762 ;; 17763 *) 17764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17765for as_dir in $PATH 17766do 17767 IFS=$as_save_IFS 17768 test -z "$as_dir" && as_dir=. 17769 for ac_exec_ext in '' $ac_executable_extensions; do 17770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17771 ac_cv_path_GDK_PIXBUF_PIXDATA="$as_dir/$ac_word$ac_exec_ext" 17772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17773 break 2 17774 fi 17775done 17776 done 17777IFS=$as_save_IFS 17778 17779 ;; 17780esac 17781fi 17782GDK_PIXBUF_PIXDATA=$ac_cv_path_GDK_PIXBUF_PIXDATA 17783if test -n "$GDK_PIXBUF_PIXDATA"; then 17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_PIXDATA" >&5 17785$as_echo "$GDK_PIXBUF_PIXDATA" >&6; } 17786else 17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17788$as_echo "no" >&6; } 17789fi 17790 17791 17792if test "x$ac_cv_path_GDK_PIXBUF_PIXDATA" = "x"; then : 17793 as_fn_error $? "gdk-pixbuf-pixdata is required for image resources" "$LINENO" 5 17794fi 17795 17796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-mkenums script" >&5 17797$as_echo_n "checking for glib-mkenums script... " >&6; } 17798GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` 17799if test "x$GLIB_MKENUMS" = "x"; then : 17800 as_fn_error $? "glib-mkenums not listed in glib-2.0 pkg-config file" "$LINENO" 5 17801else 17802 17803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5 17804$as_echo "$GLIB_MKENUMS" >&6; } 17805fi 17806 17807# Check whether --enable-man was given. 17808if test "${enable_man+set}" = set; then : 17809 enableval=$enable_man; 17810fi 17811 17812 17813 17814 17815# Check whether --with-xml-catalog was given. 17816if test "${with_xml_catalog+set}" = set; then : 17817 withval=$with_xml_catalog; 17818else 17819 with_xml_catalog=/etc/xml/catalog 17820fi 17821 17822 jh_found_xmlcatalog=true 17823 XML_CATALOG_FILE="$with_xml_catalog" 17824 17825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML catalog ($XML_CATALOG_FILE)" >&5 17826$as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; } 17827 if test -f "$XML_CATALOG_FILE"; then 17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 17829$as_echo "found" >&6; } 17830 else 17831 jh_found_xmlcatalog=false 17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 17833$as_echo "not found" >&6; } 17834 fi 17835 17836 # Extract the first word of "xmlcatalog", so it can be a program name with args. 17837set dummy xmlcatalog; ac_word=$2 17838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17839$as_echo_n "checking for $ac_word... " >&6; } 17840if ${ac_cv_path_XMLCATALOG+:} false; then : 17841 $as_echo_n "(cached) " >&6 17842else 17843 case $XMLCATALOG in 17844 [\\/]* | ?:[\\/]*) 17845 ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path. 17846 ;; 17847 *) 17848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17849for as_dir in $PATH 17850do 17851 IFS=$as_save_IFS 17852 test -z "$as_dir" && as_dir=. 17853 for ac_exec_ext in '' $ac_executable_extensions; do 17854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17855 ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext" 17856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17857 break 2 17858 fi 17859done 17860 done 17861IFS=$as_save_IFS 17862 17863 test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no" 17864 ;; 17865esac 17866fi 17867XMLCATALOG=$ac_cv_path_XMLCATALOG 17868if test -n "$XMLCATALOG"; then 17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5 17870$as_echo "$XMLCATALOG" >&6; } 17871else 17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17873$as_echo "no" >&6; } 17874fi 17875 17876 17877 if test "x$XMLCATALOG" = xno; then 17878 jh_found_xmlcatalog=false 17879 fi 17880 17881 if $jh_found_xmlcatalog; then 17882 : 17883 else 17884 : 17885 fi 17886 17887if test "x$enable_man" != "xno"; then : 17888 # Extract the first word of "xsltproc", so it can be a program name with args. 17889set dummy xsltproc; ac_word=$2 17890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17891$as_echo_n "checking for $ac_word... " >&6; } 17892if ${ac_cv_path_XSLTPROC+:} false; then : 17893 $as_echo_n "(cached) " >&6 17894else 17895 case $XSLTPROC in 17896 [\\/]* | ?:[\\/]*) 17897 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. 17898 ;; 17899 *) 17900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17901for as_dir in $PATH 17902do 17903 IFS=$as_save_IFS 17904 test -z "$as_dir" && as_dir=. 17905 for ac_exec_ext in '' $ac_executable_extensions; do 17906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17907 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" 17908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17909 break 2 17910 fi 17911done 17912 done 17913IFS=$as_save_IFS 17914 17915 ;; 17916esac 17917fi 17918XSLTPROC=$ac_cv_path_XSLTPROC 17919if test -n "$XSLTPROC"; then 17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 17921$as_echo "$XSLTPROC" >&6; } 17922else 17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17924$as_echo "no" >&6; } 17925fi 17926 17927 17928 17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XML DTD V4.4 in XML catalog" >&5 17930$as_echo_n "checking for DocBook XML DTD V4.4 in XML catalog... " >&6; } 17931 if $jh_found_xmlcatalog && \ 17932 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.4//EN\" >&2"; } >&5 17933 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.4//EN" >&2) 2>&5 17934 ac_status=$? 17935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17936 test $ac_status = 0; }; then 17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 17938$as_echo "found" >&6; } 17939 have_docbookdtd=yes 17940 else 17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 17942$as_echo "not found" >&6; } 17943 have_docbookdtd=no 17944 fi 17945 17946 17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XSL Stylesheets in XML catalog" >&5 17948$as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; } 17949 if $jh_found_xmlcatalog && \ 17950 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/html/refentry.xsl\" >&2"; } >&5 17951 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/html/refentry.xsl" >&2) 2>&5 17952 ac_status=$? 17953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17954 test $ac_status = 0; }; then 17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 17956$as_echo "found" >&6; } 17957 have_docbookxsl=yes 17958 else 17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 17960$as_echo "not found" >&6; } 17961 have_docbookxsl=no 17962 fi 17963 17964 if test "x$ac_cv_path_XSLTPROC" != "x" \ 17965 -a "x$have_docbookdtd" = "xyes" -a "x$have_docbookxsl" = "xyes"; then : 17966 have_manutils=yes 17967else 17968 if test "x$enable_man" = "xyes"; then : 17969 as_fn_error $? "man page generation requested but required utilities were not found" "$LINENO" 5 17970fi 17971 have_manutils=no 17972fi 17973else 17974 have_manutils=no 17975fi 17976 17977 if test "x$have_manutils" = "xyes"; then 17978 ENABLE_MAN_TRUE= 17979 ENABLE_MAN_FALSE='#' 17980else 17981 ENABLE_MAN_TRUE='#' 17982 ENABLE_MAN_FALSE= 17983fi 17984 17985 17986# Check whether --enable-tests was given. 17987if test "${enable_tests+set}" = set; then : 17988 enableval=$enable_tests; 17989fi 17990 17991 17992if test "x$enable_tests" != "xno"; then : 17993 # Extract the first word of "desktop-file-validate", so it can be a program name with args. 17994set dummy desktop-file-validate; ac_word=$2 17995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17996$as_echo_n "checking for $ac_word... " >&6; } 17997if ${ac_cv_path_DESKTOP_FILE_VALIDATE+:} false; then : 17998 $as_echo_n "(cached) " >&6 17999else 18000 case $DESKTOP_FILE_VALIDATE in 18001 [\\/]* | ?:[\\/]*) 18002 ac_cv_path_DESKTOP_FILE_VALIDATE="$DESKTOP_FILE_VALIDATE" # Let the user override the test with a path. 18003 ;; 18004 *) 18005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18006for as_dir in $PATH 18007do 18008 IFS=$as_save_IFS 18009 test -z "$as_dir" && as_dir=. 18010 for ac_exec_ext in '' $ac_executable_extensions; do 18011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18012 ac_cv_path_DESKTOP_FILE_VALIDATE="$as_dir/$ac_word$ac_exec_ext" 18013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18014 break 2 18015 fi 18016done 18017 done 18018IFS=$as_save_IFS 18019 18020 ;; 18021esac 18022fi 18023DESKTOP_FILE_VALIDATE=$ac_cv_path_DESKTOP_FILE_VALIDATE 18024if test -n "$DESKTOP_FILE_VALIDATE"; then 18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DESKTOP_FILE_VALIDATE" >&5 18026$as_echo "$DESKTOP_FILE_VALIDATE" >&6; } 18027else 18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18029$as_echo "no" >&6; } 18030fi 18031 18032 18033 if test "x$ac_cv_path_DESKTOP_FILE_VALIDATE" != "xyes"; then : 18034 have_desktop_file_validate=yes 18035else 18036 have_desktop_file_validate=no 18037fi 18038 # Extract the first word of "gtester", so it can be a program name with args. 18039set dummy gtester; ac_word=$2 18040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18041$as_echo_n "checking for $ac_word... " >&6; } 18042if ${ac_cv_path_GTESTER+:} false; then : 18043 $as_echo_n "(cached) " >&6 18044else 18045 case $GTESTER in 18046 [\\/]* | ?:[\\/]*) 18047 ac_cv_path_GTESTER="$GTESTER" # Let the user override the test with a path. 18048 ;; 18049 *) 18050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18051for as_dir in $PATH 18052do 18053 IFS=$as_save_IFS 18054 test -z "$as_dir" && as_dir=. 18055 for ac_exec_ext in '' $ac_executable_extensions; do 18056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18057 ac_cv_path_GTESTER="$as_dir/$ac_word$ac_exec_ext" 18058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18059 break 2 18060 fi 18061done 18062 done 18063IFS=$as_save_IFS 18064 18065 ;; 18066esac 18067fi 18068GTESTER=$ac_cv_path_GTESTER 18069if test -n "$GTESTER"; then 18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTESTER" >&5 18071$as_echo "$GTESTER" >&6; } 18072else 18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18074$as_echo "no" >&6; } 18075fi 18076 18077 18078 # Extract the first word of "gtester-report", so it can be a program name with args. 18079set dummy gtester-report; ac_word=$2 18080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18081$as_echo_n "checking for $ac_word... " >&6; } 18082if ${ac_cv_path_GTESTER_REPORT+:} false; then : 18083 $as_echo_n "(cached) " >&6 18084else 18085 case $GTESTER_REPORT in 18086 [\\/]* | ?:[\\/]*) 18087 ac_cv_path_GTESTER_REPORT="$GTESTER_REPORT" # Let the user override the test with a path. 18088 ;; 18089 *) 18090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18091for as_dir in $PATH 18092do 18093 IFS=$as_save_IFS 18094 test -z "$as_dir" && as_dir=. 18095 for ac_exec_ext in '' $ac_executable_extensions; do 18096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18097 ac_cv_path_GTESTER_REPORT="$as_dir/$ac_word$ac_exec_ext" 18098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18099 break 2 18100 fi 18101done 18102 done 18103IFS=$as_save_IFS 18104 18105 ;; 18106esac 18107fi 18108GTESTER_REPORT=$ac_cv_path_GTESTER_REPORT 18109if test -n "$GTESTER_REPORT"; then 18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTESTER_REPORT" >&5 18111$as_echo "$GTESTER_REPORT" >&6; } 18112else 18113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18114$as_echo "no" >&6; } 18115fi 18116 18117 18118 if test "x$ac_cv_path_GTESTER" != "xyes" -a "x$ac_cv_path_GTESTER_REPORT" != "xyes"; then : 18119 have_gtester=yes 18120else 18121 have_gtester=no 18122fi 18123else 18124 have_desktop_file_validate=no 18125 have_gtester=no 18126fi 18127 18128if test "x$have_desktop_file_validate" = "xyes" -a "x$have_gtester" = "xyes"; then : 18129 testing_utilities=yes 18130else 18131 testing_utilities=no 18132 if test "x$enable_tests" = "xyes"; then : 18133 as_fn_error $? "tests were requested but the required utilities were not found" "$LINENO" 5 18134fi 18135fi 18136 18137 if test "x$testing_utilities" = "xyes"; then 18138 EASYTAG_ENABLE_TESTS_TRUE= 18139 EASYTAG_ENABLE_TESTS_FALSE='#' 18140else 18141 EASYTAG_ENABLE_TESTS_TRUE='#' 18142 EASYTAG_ENABLE_TESTS_FALSE= 18143fi 18144 18145 18146 18147 18148 18149 18150 18151 18152YELP_LC_MEDIA_LINKS=true 18153YELP_LC_DIST=true 18154 18155for yelpopt in ; do 18156 case $yelpopt in 18157 lc-media-links) YELP_LC_MEDIA_LINKS=true ;; 18158 no-lc-media-links) YELP_LC_MEDIA_LINKS= ;; 18159 lc-dist) YELP_LC_DIST=true ;; 18160 no-lc-dist) YELP_LC_DIST= ;; 18161 *) as_fn_error $? "Unrecognized YELP_HELP_INIT option $yelpopt\"" "$LINENO" 5 ;; 18162 esac 18163done; 18164 18165 18166 18167 18168# Check whether --with-help-dir was given. 18169if test "${with_help_dir+set}" = set; then : 18170 withval=$with_help_dir; 18171else 18172 with_help_dir='${datadir}/help' 18173fi 18174 18175HELP_DIR="$with_help_dir" 18176 18177 18178 18179# Extract the first word of "itstool", so it can be a program name with args. 18180set dummy itstool; ac_word=$2 18181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18182$as_echo_n "checking for $ac_word... " >&6; } 18183if ${ac_cv_prog_ITSTOOL+:} false; then : 18184 $as_echo_n "(cached) " >&6 18185else 18186 if test -n "$ITSTOOL"; then 18187 ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test. 18188else 18189as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18190for as_dir in $PATH 18191do 18192 IFS=$as_save_IFS 18193 test -z "$as_dir" && as_dir=. 18194 for ac_exec_ext in '' $ac_executable_extensions; do 18195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18196 ac_cv_prog_ITSTOOL="itstool" 18197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18198 break 2 18199 fi 18200done 18201 done 18202IFS=$as_save_IFS 18203 18204fi 18205fi 18206ITSTOOL=$ac_cv_prog_ITSTOOL 18207if test -n "$ITSTOOL"; then 18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5 18209$as_echo "$ITSTOOL" >&6; } 18210else 18211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18212$as_echo "no" >&6; } 18213fi 18214 18215 18216if test x"$ITSTOOL" = x; then 18217 as_fn_error $? "itstool not found" "$LINENO" 5 18218fi 18219 18220 18221# Extract the first word of "xmllint", so it can be a program name with args. 18222set dummy xmllint; ac_word=$2 18223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18224$as_echo_n "checking for $ac_word... " >&6; } 18225if ${ac_cv_prog_XMLLINT+:} false; then : 18226 $as_echo_n "(cached) " >&6 18227else 18228 if test -n "$XMLLINT"; then 18229 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test. 18230else 18231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18232for as_dir in $PATH 18233do 18234 IFS=$as_save_IFS 18235 test -z "$as_dir" && as_dir=. 18236 for ac_exec_ext in '' $ac_executable_extensions; do 18237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18238 ac_cv_prog_XMLLINT="xmllint" 18239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18240 break 2 18241 fi 18242done 18243 done 18244IFS=$as_save_IFS 18245 18246fi 18247fi 18248XMLLINT=$ac_cv_prog_XMLLINT 18249if test -n "$XMLLINT"; then 18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 18251$as_echo "$XMLLINT" >&6; } 18252else 18253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18254$as_echo "no" >&6; } 18255fi 18256 18257 18258if test x"$XMLLINT" = x; then 18259 as_fn_error $? "xmllint not found" "$LINENO" 5 18260fi 18261 18262YELP_HELP_RULES=' 18263HELP_ID ?= 18264HELP_POT ?= 18265HELP_FILES ?= 18266HELP_EXTRA ?= 18267HELP_MEDIA ?= 18268HELP_LINGUAS ?= 18269 18270_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS)) 18271_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot)) 18272_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po)) 18273_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES)) 18274_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f)) 18275_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f)) 18276_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f)) 18277_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f))) 18278_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp) 18279 18280_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1) 18281_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V)) 18282_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V)) 18283_HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V)) 18284_HELP_LC_VERBOSE_0 = @echo " GEN "$(dir $@); 18285 18286all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES) 18287 18288.PHONY: pot 18289pot: $(_HELP_POTFILE) 18290$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) 18291 $(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \ 18292 $(ITSTOOL) -o "$@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)") 18293 18294.PHONY: repo 18295repo: $(_HELP_POTFILE) 18296 $(AM_V_at)for po in $(_HELP_POFILES); do \ 18297 if test "x$(_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \ 18298 msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \ 18299 done 18300 18301$(_HELP_POFILES): 18302 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi 18303 $(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi 18304 $(AM_V_GEN)if ! test -f "$@"; then \ 18305 (cd "$(dir $@)" && \ 18306 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \ 18307 mv "$(notdir $@).tmp" "$(notdir $@)"); \ 18308 else \ 18309 (cd "$(dir $@)" && \ 18310 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \ 18311 msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \ 18312 rm "$(notdir $@).tmp"); \ 18313 fi 18314 18315$(_HELP_MOFILES): %.mo: %.po 18316 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi 18317 $(AM_V_GEN)msgfmt -o "$@" "$<" 18318 18319$(_HELP_LC_FILES): $(_HELP_LINGUAS) 18320$(_HELP_LINGUAS): $(_HELP_LC_STAMPS) 18321$(_HELP_LC_STAMPS): %.stamp: %.mo 18322$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA) 18323 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi 18324 $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \ 18325 mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \ 18326 if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \ 18327 (cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \ 18328 touch "$@" 18329 18330.PHONY: clean-help 18331mostlyclean-am: $(if $(HELP_ID),clean-help) 18332clean-help: 18333 rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES) 18334 18335EXTRA_DIST ?= 18336EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) 18337EXTRA_DIST += $(if $(YELP_LC_DIST),$(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)) 18338EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po) 18339EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f)))) 18340 18341distdir: distdir-help-files 18342distdir-help-files: $(_HELP_LC_FILES) 18343 @for lc in C $(if $(YELP_LC_DIST),$(HELP_LINGUAS)) ; do \ 18344 $(MKDIR_P) "$(distdir)/$$lc"; \ 18345 for file in $(HELP_FILES); do \ 18346 if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \ 18347 cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \ 18348 done; \ 18349 done; \ 18350 18351.PHONY: check-help 18352check: check-help 18353check-help: 18354 for lc in C $(_HELP_LINGUAS); do \ 18355 if test -d "$$lc"; \ 18356 then d=; \ 18357 xmlpath="$$lc"; \ 18358 else \ 18359 d="$(srcdir)/"; \ 18360 xmlpath="$$lc:$(srcdir)/$$lc"; \ 18361 fi; \ 18362 for page in $(HELP_FILES); do \ 18363 echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \ 18364 $(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \ 18365 done; \ 18366 done 18367 18368 18369.PHONY: install-help 18370install-data-am: $(if $(HELP_ID),install-help) 18371install-help: $(_HELP_LC_FILES) 18372 @for lc in C $(_HELP_LINGUAS); do \ 18373 $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \ 18374 done 18375 @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \ 18376 if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \ 18377 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 18378 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \ 18379 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \ 18380 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \ 18381 done; done 18382 @for f in $(_HELP_C_EXTRA); do \ 18383 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \ 18384 if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \ 18385 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 18386 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \ 18387 echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \ 18388 $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \ 18389 done 18390 @for f in $(HELP_MEDIA); do \ 18391 for lc in C $(_HELP_LINGUAS); do \ 18392 if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \ 18393 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 18394 mdir=`dirname "$$f"`; \ 18395 if test "x$mdir" = "x."; then mdir=""; fi; \ 18396 if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \ 18397 if test -f "$$d$$lc/$$f"; then \ 18398 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \ 18399 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \ 18400 elif test "x$$lc" != "xC"; then \ 18401 if test "x$(YELP_LC_MEDIA_LINKS)" != "x"; then \ 18402 echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \ 18403 $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \ 18404 fi; \ 18405 fi; \ 18406 done; \ 18407 done 18408 18409.PHONY: uninstall-help 18410uninstall-am: $(if $(HELP_ID),uninstall-help) 18411uninstall-help: 18412 for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \ 18413 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 18414 echo "rm -f $$helpdir`basename $$f`"; \ 18415 rm -f "$$helpdir`basename $$f`"; \ 18416 done; done 18417 @for f in $(_HELP_C_EXTRA); do \ 18418 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \ 18419 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 18420 echo "rm -f $$helpdir`basename $$f`"; \ 18421 rm -f "$$helpdir`basename $$f`"; \ 18422 done 18423 @for f in $(HELP_MEDIA); do \ 18424 for lc in C $(_HELP_LINGUAS); do \ 18425 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 18426 echo "rm -f $$helpdir$$f"; \ 18427 rm -f "$$helpdir$$f"; \ 18428 done; \ 18429 done; 18430' 18431 18432 18433 18434 18435# Extract the first word of "yelp", so it can be a program name with args. 18436set dummy yelp; ac_word=$2 18437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18438$as_echo_n "checking for $ac_word... " >&6; } 18439if ${ac_cv_path_YELP+:} false; then : 18440 $as_echo_n "(cached) " >&6 18441else 18442 case $YELP in 18443 [\\/]* | ?:[\\/]*) 18444 ac_cv_path_YELP="$YELP" # Let the user override the test with a path. 18445 ;; 18446 *) 18447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18448for as_dir in $PATH 18449do 18450 IFS=$as_save_IFS 18451 test -z "$as_dir" && as_dir=. 18452 for ac_exec_ext in '' $ac_executable_extensions; do 18453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18454 ac_cv_path_YELP="$as_dir/$ac_word$ac_exec_ext" 18455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18456 break 2 18457 fi 18458done 18459 done 18460IFS=$as_save_IFS 18461 18462 ;; 18463esac 18464fi 18465YELP=$ac_cv_path_YELP 18466if test -n "$YELP"; then 18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YELP" >&5 18468$as_echo "$YELP" >&6; } 18469else 18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18471$as_echo "no" >&6; } 18472fi 18473 18474 18475if test "x$ac_cv_path_YELP" = "x"; then : 18476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Yelp is required at runtime for user help" >&5 18477$as_echo "$as_me: WARNING: Yelp is required at runtime for user help" >&2;} 18478fi 18479 18480 18481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with mingw32 for a Windows host" >&5 18482$as_echo_n "checking whether to build with mingw32 for a Windows host... " >&6; } 18483case $host_os in #( 18484 *mingw*) : 18485 windows_host=yes ;; #( 18486 *) : 18487 windows_host=no ;; 18488esac 18489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $windows_host" >&5 18490$as_echo "$windows_host" >&6; } 18491 18492 if test "x$windows_host" = "xyes"; then 18493 WINDOWS_HOST_TRUE= 18494 WINDOWS_HOST_FALSE='#' 18495else 18496 WINDOWS_HOST_TRUE='#' 18497 WINDOWS_HOST_FALSE= 18498fi 18499 18500 18501if test "x$windows_host" = "xyes"; then : 18502 if test -n "$ac_tool_prefix"; then 18503 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. 18504set dummy ${ac_tool_prefix}windres; ac_word=$2 18505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18506$as_echo_n "checking for $ac_word... " >&6; } 18507if ${ac_cv_prog_WINDRES+:} false; then : 18508 $as_echo_n "(cached) " >&6 18509else 18510 if test -n "$WINDRES"; then 18511 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. 18512else 18513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18514for as_dir in $PATH 18515do 18516 IFS=$as_save_IFS 18517 test -z "$as_dir" && as_dir=. 18518 for ac_exec_ext in '' $ac_executable_extensions; do 18519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18520 ac_cv_prog_WINDRES="${ac_tool_prefix}windres" 18521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18522 break 2 18523 fi 18524done 18525 done 18526IFS=$as_save_IFS 18527 18528fi 18529fi 18530WINDRES=$ac_cv_prog_WINDRES 18531if test -n "$WINDRES"; then 18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 18533$as_echo "$WINDRES" >&6; } 18534else 18535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18536$as_echo "no" >&6; } 18537fi 18538 18539 18540fi 18541if test -z "$ac_cv_prog_WINDRES"; then 18542 ac_ct_WINDRES=$WINDRES 18543 # Extract the first word of "windres", so it can be a program name with args. 18544set dummy windres; ac_word=$2 18545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18546$as_echo_n "checking for $ac_word... " >&6; } 18547if ${ac_cv_prog_ac_ct_WINDRES+:} false; then : 18548 $as_echo_n "(cached) " >&6 18549else 18550 if test -n "$ac_ct_WINDRES"; then 18551 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. 18552else 18553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18554for as_dir in $PATH 18555do 18556 IFS=$as_save_IFS 18557 test -z "$as_dir" && as_dir=. 18558 for ac_exec_ext in '' $ac_executable_extensions; do 18559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18560 ac_cv_prog_ac_ct_WINDRES="windres" 18561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18562 break 2 18563 fi 18564done 18565 done 18566IFS=$as_save_IFS 18567 18568fi 18569fi 18570ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES 18571if test -n "$ac_ct_WINDRES"; then 18572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 18573$as_echo "$ac_ct_WINDRES" >&6; } 18574else 18575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18576$as_echo "no" >&6; } 18577fi 18578 18579 if test "x$ac_ct_WINDRES" = x; then 18580 WINDRES="" 18581 else 18582 case $cross_compiling:$ac_tool_warned in 18583yes:) 18584{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 18585$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 18586ac_tool_warned=yes ;; 18587esac 18588 WINDRES=$ac_ct_WINDRES 18589 fi 18590else 18591 WINDRES="$ac_cv_prog_WINDRES" 18592fi 18593 18594 if test -z "$WINDRES"; then : 18595 as_fn_error $? "windres is required when building for a Windows host" "$LINENO" 5 18596fi 18597fi 18598 18599# Check whether --enable-mp3 was given. 18600if test "${enable_mp3+set}" = set; then : 18601 enableval=$enable_mp3; 18602fi 18603 18604 18605# Check whether --enable-id3v23 was given. 18606if test "${enable_id3v23+set}" = set; then : 18607 enableval=$enable_id3v23; 18608fi 18609 18610 18611# Check whether --enable-ogg was given. 18612if test "${enable_ogg+set}" = set; then : 18613 enableval=$enable_ogg; 18614fi 18615 18616 18617# Check whether --enable-opus was given. 18618if test "${enable_opus+set}" = set; then : 18619 enableval=$enable_opus; 18620fi 18621 18622 18623# Check whether --enable-speex was given. 18624if test "${enable_speex+set}" = set; then : 18625 enableval=$enable_speex; 18626fi 18627 18628 18629# Check whether --enable-flac was given. 18630if test "${enable_flac+set}" = set; then : 18631 enableval=$enable_flac; 18632fi 18633 18634 18635# Check whether --enable-mp4 was given. 18636if test "${enable_mp4+set}" = set; then : 18637 enableval=$enable_mp4; 18638fi 18639 18640 18641# Check whether --enable-wavpack was given. 18642if test "${enable_wavpack+set}" = set; then : 18643 enableval=$enable_wavpack; 18644fi 18645 18646 18647# Check whether --enable-nautilus_actions was given. 18648if test "${enable_nautilus_actions+set}" = set; then : 18649 enableval=$enable_nautilus_actions; 18650fi 18651 18652 18653 18654 18655 18656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for recv in -lsocket" >&5 18657$as_echo_n "checking for recv in -lsocket... " >&6; } 18658if ${ac_cv_lib_socket_recv+:} false; then : 18659 $as_echo_n "(cached) " >&6 18660else 18661 ac_check_lib_save_LIBS=$LIBS 18662LIBS="-lsocket $LIBS" 18663cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18664/* end confdefs.h. */ 18665 18666/* Override any GCC internal prototype to avoid an error. 18667 Use char because int might match the return type of a GCC 18668 builtin and then its argument prototype would still apply. */ 18669#ifdef __cplusplus 18670extern "C" 18671#endif 18672char recv (); 18673int 18674main () 18675{ 18676return recv (); 18677 ; 18678 return 0; 18679} 18680_ACEOF 18681if ac_fn_c_try_link "$LINENO"; then : 18682 ac_cv_lib_socket_recv=yes 18683else 18684 ac_cv_lib_socket_recv=no 18685fi 18686rm -f core conftest.err conftest.$ac_objext \ 18687 conftest$ac_exeext conftest.$ac_ext 18688LIBS=$ac_check_lib_save_LIBS 18689fi 18690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_recv" >&5 18691$as_echo "$ac_cv_lib_socket_recv" >&6; } 18692if test "x$ac_cv_lib_socket_recv" = xyes; then : 18693 cat >>confdefs.h <<_ACEOF 18694#define HAVE_LIBSOCKET 1 18695_ACEOF 18696 18697 LIBS="-lsocket $LIBS" 18698 18699fi 18700 18701 18702 18703 18704OGG_DEPS="ogg >= 1.0 vorbis >= 1.0.1 vorbisfile" 18705if test "x$enable_ogg" != "xno"; then : 18706 if test -n "$PKG_CONFIG" && \ 18707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$OGG_DEPS\""; } >&5 18708 ($PKG_CONFIG --exists --print-errors "$OGG_DEPS") 2>&5 18709 ac_status=$? 18710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18711 test $ac_status = 0; }; then 18712 have_ogg=yes 18713else 18714 have_ogg=no 18715fi 18716else 18717 have_ogg=no 18718fi 18719 18720if test "x$have_ogg" != "xno"; then : 18721 18722$as_echo "#define ENABLE_OGG /**/" >>confdefs.h 18723 18724else 18725 OGG_DEPS="" 18726 if test "x$enable_ogg" = "xyes"; then : 18727 as_fn_error $? "OGG Vorbis support requested but required dependencies ($OGG_DEPS) not found" "$LINENO" 5 18728fi 18729fi 18730 18731 18732OPUS_DEPS="opus >= 1.0 opusfile" 18733if test "x$enable_opus" != "xno"; then : 18734 if test -n "$PKG_CONFIG" && \ 18735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$OPUS_DEPS\""; } >&5 18736 ($PKG_CONFIG --exists --print-errors "$OPUS_DEPS") 2>&5 18737 ac_status=$? 18738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18739 test $ac_status = 0; }; then 18740 have_opus=yes 18741else 18742 have_opus=no 18743fi 18744else 18745 have_opus=no 18746fi 18747 18748if test "x$have_opus" != "xno"; then : 18749 if test "x$have_ogg" = "xno"; then : 18750 as_fn_error $? "Opus support requested but Ogg support disabled. Ogg support is required." "$LINENO" 5 18751fi 18752 18753$as_echo "#define ENABLE_OPUS /**/" >>confdefs.h 18754 18755else 18756 OPUS_DEPS="" 18757 if test "x$enable_opus" = "xyes"; then : 18758 as_fn_error $? "Opus support requested but required dependencies ($OPUS_DEPS) not found" "$LINENO" 5 18759fi 18760fi 18761 18762 18763SPEEX_DEPS="speex" 18764if test "x$enable_speex" != "xno"; then : 18765 if test -n "$PKG_CONFIG" && \ 18766 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SPEEX_DEPS\""; } >&5 18767 ($PKG_CONFIG --exists --print-errors "$SPEEX_DEPS") 2>&5 18768 ac_status=$? 18769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18770 test $ac_status = 0; }; then 18771 have_speex=yes 18772else 18773 have_speex=no 18774fi 18775else 18776 have_speex=no 18777fi 18778 18779if test "x$have_speex" != "xno"; then : 18780 if test "x$have_ogg" = "xno"; then : 18781 as_fn_error $? "Speex support requested but Ogg support disabled. Ogg support is required." "$LINENO" 5 18782fi 18783 18784$as_echo "#define ENABLE_SPEEX /**/" >>confdefs.h 18785 18786else 18787 SPEEX_DEPS="" 18788 if test "x$enable_speex" = "xyes"; then : 18789 as_fn_error $? "OGG Speex support requested but required dependencies ($SPEEX_DEPS) not found" "$LINENO" 5 18790fi 18791fi 18792 18793 18794FLAC_DEPS="flac >= 1.1.4" 18795if test "x$enable_flac" != "xno"; then : 18796 if test -n "$PKG_CONFIG" && \ 18797 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$FLAC_DEPS\""; } >&5 18798 ($PKG_CONFIG --exists --print-errors "$FLAC_DEPS") 2>&5 18799 ac_status=$? 18800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18801 test $ac_status = 0; }; then 18802 have_flac=yes 18803else 18804 have_flac=no 18805fi 18806else 18807 have_flac=no 18808fi 18809 18810if test "x$have_flac" != "xno"; then : 18811 18812$as_echo "#define ENABLE_FLAC /**/" >>confdefs.h 18813 18814else 18815 FLAC_DEPS="" 18816 if test "x$enable_flac" = "xyes"; then : 18817 as_fn_error $? "FLAC support requested but required dependencies ($FLAC_DEPS) not found" "$LINENO" 5 18818fi 18819fi 18820 18821ID3TAG_DEPS="id3tag" 18822if test "x$enable_mp3" != "xno"; then : 18823 if test -n "$PKG_CONFIG" && \ 18824 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$ID3TAG_DEPS\""; } >&5 18825 ($PKG_CONFIG --exists --print-errors "$ID3TAG_DEPS") 2>&5 18826 ac_status=$? 18827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18828 test $ac_status = 0; }; then 18829 have_mp3=yes 18830else 18831 have_mp3=no 18832fi 18833else 18834 have_mp3=no 18835fi 18836 18837if test "x$have_mp3" != "xno"; then : 18838 18839$as_echo "#define ENABLE_MP3 /**/" >>confdefs.h 18840 18841else 18842 ID3TAG_DEPS="" 18843 if test "x$enable_mp3" = "xyes"; then : 18844 as_fn_error $? "MP3 support requested but required dependencies ($ID3TAG_DEPS) not found" "$LINENO" 5 18845fi 18846fi 18847 18848if test "x$have_mp3" = "xyes" -a "x$enable_id3v23" != "xno"; then : 18849 LIBS_SAVE="$LIBS" 18850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ID3Tag_Link" >&5 18851$as_echo_n "checking for library containing ID3Tag_Link... " >&6; } 18852if ${ac_cv_search_ID3Tag_Link+:} false; then : 18853 $as_echo_n "(cached) " >&6 18854else 18855 ac_func_search_save_LIBS=$LIBS 18856cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18857/* end confdefs.h. */ 18858 18859/* Override any GCC internal prototype to avoid an error. 18860 Use char because int might match the return type of a GCC 18861 builtin and then its argument prototype would still apply. */ 18862#ifdef __cplusplus 18863extern "C" 18864#endif 18865char ID3Tag_Link (); 18866int 18867main () 18868{ 18869return ID3Tag_Link (); 18870 ; 18871 return 0; 18872} 18873_ACEOF 18874for ac_lib in "id3 -lstdc++" "id3 -lz -lstdc++"; do 18875 if test -z "$ac_lib"; then 18876 ac_res="none required" 18877 else 18878 ac_res=-l$ac_lib 18879 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 18880 fi 18881 if ac_fn_c_try_link "$LINENO"; then : 18882 ac_cv_search_ID3Tag_Link=$ac_res 18883fi 18884rm -f core conftest.err conftest.$ac_objext \ 18885 conftest$ac_exeext 18886 if ${ac_cv_search_ID3Tag_Link+:} false; then : 18887 break 18888fi 18889done 18890if ${ac_cv_search_ID3Tag_Link+:} false; then : 18891 18892else 18893 ac_cv_search_ID3Tag_Link=no 18894fi 18895rm conftest.$ac_ext 18896LIBS=$ac_func_search_save_LIBS 18897fi 18898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ID3Tag_Link" >&5 18899$as_echo "$ac_cv_search_ID3Tag_Link" >&6; } 18900ac_res=$ac_cv_search_ID3Tag_Link 18901if test "$ac_res" != no; then : 18902 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 18903 have_id3lib=yes 18904else 18905 have_id3lib=no 18906fi 18907 18908 18909 ID3LIB_MAJOR=3 18910 ID3LIB_MINOR=8 18911 ID3LIB_PATCH=0 18912 18913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the id3lib version" >&5 18914$as_echo_n "checking the id3lib version... " >&6; } 18915 if test "$cross_compiling" = yes; then : 18916 echo $ac_n "cross compiling; assuming ${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH} $ac_c" 18917else 18918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18919/* end confdefs.h. */ 18920 18921#include <id3.h> 18922#include <stdio.h> 18923 18924int 18925main () 18926{ 18927 18928 FILE *output; 18929 output=fopen("conftest.id3","w"); 18930 fprintf(output,"ID3LIB_MAJOR=%d\nID3LIB_MINOR=%d\nID3LIB_PATCH=%d\n",ID3LIB_MAJOR_VERSION,ID3LIB_MINOR_VERSION,ID3LIB_PATCH_VERSION); 18931 fclose(output); 18932 return 0; 18933 18934 ; 18935 return 0; 18936} 18937_ACEOF 18938if ac_fn_c_try_run "$LINENO"; then : 18939 . ./conftest.id3; { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH}" >&5 18940$as_echo "${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH}" >&6; } 18941else 18942 as_fn_error $? "could not determine id3lib version" "$LINENO" 5 18943fi 18944rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18945 conftest.$ac_objext conftest.beam conftest.$ac_ext 18946fi 18947 18948 LIBS="$LIBS_SAVE" 18949 18950cat >>confdefs.h <<_ACEOF 18951#define ID3LIB_MAJOR $ID3LIB_MAJOR 18952_ACEOF 18953 18954 18955cat >>confdefs.h <<_ACEOF 18956#define ID3LIB_MINOR $ID3LIB_MINOR 18957_ACEOF 18958 18959 18960cat >>confdefs.h <<_ACEOF 18961#define ID3LIB_PATCH $ID3LIB_PATCH 18962_ACEOF 18963 18964 18965 ID3LIB_LIBS=$ac_cv_search_ID3Tag_Link 18966 18967 18968$as_echo "#define ENABLE_ID3LIB /**/" >>confdefs.h 18969 18970 ID3LIB_VERSION="(id3lib-$ID3LIB_MAJOR.$ID3LIB_MINOR.$ID3LIB_PATCH)" 18971 ac_fn_c_check_decl "$LINENO" "ID3Field_SetEncoding" "ac_cv_have_decl_ID3Field_SetEncoding" "#include <id3.h> 18972" 18973if test "x$ac_cv_have_decl_ID3Field_SetEncoding" = xyes; then : 18974 ac_have_decl=1 18975else 18976 ac_have_decl=0 18977fi 18978 18979cat >>confdefs.h <<_ACEOF 18980#define HAVE_DECL_ID3FIELD_SETENCODING $ac_have_decl 18981_ACEOF 18982ac_fn_c_check_decl "$LINENO" "ID3Field_GetEncoding" "ac_cv_have_decl_ID3Field_GetEncoding" "#include <id3.h> 18983" 18984if test "x$ac_cv_have_decl_ID3Field_GetEncoding" = xyes; then : 18985 ac_have_decl=1 18986else 18987 ac_have_decl=0 18988fi 18989 18990cat >>confdefs.h <<_ACEOF 18991#define HAVE_DECL_ID3FIELD_GETENCODING $ac_have_decl 18992_ACEOF 18993ac_fn_c_check_decl "$LINENO" "ID3Field_IsEncodable" "ac_cv_have_decl_ID3Field_IsEncodable" "#include <id3.h> 18994" 18995if test "x$ac_cv_have_decl_ID3Field_IsEncodable" = xyes; then : 18996 ac_have_decl=1 18997else 18998 ac_have_decl=0 18999fi 19000 19001cat >>confdefs.h <<_ACEOF 19002#define HAVE_DECL_ID3FIELD_ISENCODABLE $ac_have_decl 19003_ACEOF 19004 19005else 19006 have_id3lib=no 19007fi 19008 19009 19010 19011TAGLIB_DEPS="taglib >= 1.9.1" 19012if test "x$enable_mp4" != "xno"; then : 19013 if test -n "$PKG_CONFIG" && \ 19014 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$TAGLIB_DEPS\""; } >&5 19015 ($PKG_CONFIG --exists --print-errors "$TAGLIB_DEPS") 2>&5 19016 ac_status=$? 19017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19018 test $ac_status = 0; }; then 19019 have_taglib=yes 19020else 19021 have_taglib=no 19022fi 19023else 19024 have_taglib=no 19025fi 19026 19027if test "x$have_taglib" != "xno"; then : 19028 19029$as_echo "#define ENABLE_MP4 /**/" >>confdefs.h 19030 19031else 19032 TAGLIB_DEPS="" 19033 if test "x$enable_mp4" = "xyes"; then : 19034 as_fn_error $? "Taglib MP4 support requested but required dependencies ($TAGLIB_DEPS) not found" "$LINENO" 5 19035fi 19036fi 19037 19038WAVPACK_DEPS="wavpack >= 4.40" 19039if test "x$enable_wavpack" != "xno"; then : 19040 if test -n "$PKG_CONFIG" && \ 19041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WAVPACK_DEPS\""; } >&5 19042 ($PKG_CONFIG --exists --print-errors "$WAVPACK_DEPS") 2>&5 19043 ac_status=$? 19044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19045 test $ac_status = 0; }; then 19046 have_wavpack=yes 19047else 19048 have_wavpack=no 19049fi 19050else 19051 have_wavpack=no 19052fi 19053 19054if test "x$have_wavpack" != "xno"; then : 19055 19056$as_echo "#define ENABLE_WAVPACK /**/" >>confdefs.h 19057 19058else 19059 WAVPACK_DEPS="" 19060 if test "x$enable_wavpack" = "xyes"; then : 19061 as_fn_error $? "Wavpack support requested but required dependencies ($WAVPACK_DEPS) not found" "$LINENO" 5 19062fi 19063fi 19064 19065NAUTILUS_DEPS="libnautilus-extension >= 3.0 gio-unix-2.0" 19066if test "x$enable_nautilus_actions" != "xno"; then : 19067 if test -n "$PKG_CONFIG" && \ 19068 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NAUTILUS_DEPS\""; } >&5 19069 ($PKG_CONFIG --exists --print-errors "$NAUTILUS_DEPS") 2>&5 19070 ac_status=$? 19071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19072 test $ac_status = 0; }; then 19073 have_libnautilus_extension=yes 19074else 19075 have_libnautilus_extension=no 19076fi 19077else 19078 have_libnautilus_extension=no 19079fi 19080 19081if test "x$have_libnautilus_extension" = "xno"; then : 19082 NAUTILUS_DEPS="" 19083 if test "x$enable_nautilus_actions" = "xyes"; then : 19084 as_fn_error $? "Nautilus Actions build requested but required dependencies ($NAUTILUS_DEPS) not found" "$LINENO" 5 19085fi 19086else 19087 19088pkg_failed=no 19089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NAUTILUS" >&5 19090$as_echo_n "checking for NAUTILUS... " >&6; } 19091 19092if test -n "$NAUTILUS_CFLAGS"; then 19093 pkg_cv_NAUTILUS_CFLAGS="$NAUTILUS_CFLAGS" 19094 elif test -n "$PKG_CONFIG"; then 19095 if test -n "$PKG_CONFIG" && \ 19096 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NAUTILUS_DEPS\""; } >&5 19097 ($PKG_CONFIG --exists --print-errors "$NAUTILUS_DEPS") 2>&5 19098 ac_status=$? 19099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19100 test $ac_status = 0; }; then 19101 pkg_cv_NAUTILUS_CFLAGS=`$PKG_CONFIG --cflags "$NAUTILUS_DEPS" 2>/dev/null` 19102 test "x$?" != "x0" && pkg_failed=yes 19103else 19104 pkg_failed=yes 19105fi 19106 else 19107 pkg_failed=untried 19108fi 19109if test -n "$NAUTILUS_LIBS"; then 19110 pkg_cv_NAUTILUS_LIBS="$NAUTILUS_LIBS" 19111 elif test -n "$PKG_CONFIG"; then 19112 if test -n "$PKG_CONFIG" && \ 19113 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NAUTILUS_DEPS\""; } >&5 19114 ($PKG_CONFIG --exists --print-errors "$NAUTILUS_DEPS") 2>&5 19115 ac_status=$? 19116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19117 test $ac_status = 0; }; then 19118 pkg_cv_NAUTILUS_LIBS=`$PKG_CONFIG --libs "$NAUTILUS_DEPS" 2>/dev/null` 19119 test "x$?" != "x0" && pkg_failed=yes 19120else 19121 pkg_failed=yes 19122fi 19123 else 19124 pkg_failed=untried 19125fi 19126 19127 19128 19129if test $pkg_failed = yes; then 19130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19131$as_echo "no" >&6; } 19132 19133if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19134 _pkg_short_errors_supported=yes 19135else 19136 _pkg_short_errors_supported=no 19137fi 19138 if test $_pkg_short_errors_supported = yes; then 19139 NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$NAUTILUS_DEPS" 2>&1` 19140 else 19141 NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$NAUTILUS_DEPS" 2>&1` 19142 fi 19143 # Put the nasty error message in config.log where it belongs 19144 echo "$NAUTILUS_PKG_ERRORS" >&5 19145 19146 as_fn_error $? "Package requirements ($NAUTILUS_DEPS) were not met: 19147 19148$NAUTILUS_PKG_ERRORS 19149 19150Consider adjusting the PKG_CONFIG_PATH environment variable if you 19151installed software in a non-standard prefix. 19152 19153Alternatively, you may set the environment variables NAUTILUS_CFLAGS 19154and NAUTILUS_LIBS to avoid the need to call pkg-config. 19155See the pkg-config man page for more details." "$LINENO" 5 19156elif test $pkg_failed = untried; then 19157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19158$as_echo "no" >&6; } 19159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19160$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19161as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 19162is in your PATH or set the PKG_CONFIG environment variable to the full 19163path to pkg-config. 19164 19165Alternatively, you may set the environment variables NAUTILUS_CFLAGS 19166and NAUTILUS_LIBS to avoid the need to call pkg-config. 19167See the pkg-config man page for more details. 19168 19169To get pkg-config, see <http://pkg-config.freedesktop.org/>. 19170See \`config.log' for more details" "$LINENO" 5; } 19171else 19172 NAUTILUS_CFLAGS=$pkg_cv_NAUTILUS_CFLAGS 19173 NAUTILUS_LIBS=$pkg_cv_NAUTILUS_LIBS 19174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19175$as_echo "yes" >&6; } 19176 19177fi 19178 NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir libnautilus-extension` 19179 NAUTILUS_EXTENSION_DIR=$NAUTILUS_EXTENSION_DIR 19180 19181fi 19182 19183 if test x"$have_libnautilus_extension" != x"no"; then 19184 ENABLE_NAUTILUS_ACTIONS_TRUE= 19185 ENABLE_NAUTILUS_ACTIONS_FALSE='#' 19186else 19187 ENABLE_NAUTILUS_ACTIONS_TRUE='#' 19188 ENABLE_NAUTILUS_ACTIONS_FALSE= 19189fi 19190 19191 19192GIO_DEPS="gio-2.0 >= 2.38.0" 19193GLIB_DEPRECATION_FLAGS="-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_38" 19194 19195GTK_DEPS="gtk+-3.0 >= 3.10.0" 19196GTK_DEPRECATION_FLAGS="-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_10 -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_10" 19197 19198 19199pkg_failed=no 19200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EASYTAG" >&5 19201$as_echo_n "checking for EASYTAG... " >&6; } 19202 19203if test -n "$EASYTAG_CFLAGS"; then 19204 pkg_cv_EASYTAG_CFLAGS="$EASYTAG_CFLAGS" 19205 elif test -n "$PKG_CONFIG"; then 19206 if test -n "$PKG_CONFIG" && \ 19207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GIO_DEPS \$GTK_DEPS \$OPUS_DEPS \$OGG_DEPS \$SPEEX_DEPS \$FLAC_DEPS \$ID3TAG_DEPS \$TAGLIB_DEPS \$WAVPACK_DEPS\""; } >&5 19208 ($PKG_CONFIG --exists --print-errors "$GIO_DEPS $GTK_DEPS $OPUS_DEPS $OGG_DEPS $SPEEX_DEPS $FLAC_DEPS $ID3TAG_DEPS $TAGLIB_DEPS $WAVPACK_DEPS") 2>&5 19209 ac_status=$? 19210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19211 test $ac_status = 0; }; then 19212 pkg_cv_EASYTAG_CFLAGS=`$PKG_CONFIG --cflags "$GIO_DEPS $GTK_DEPS $OPUS_DEPS $OGG_DEPS $SPEEX_DEPS $FLAC_DEPS $ID3TAG_DEPS $TAGLIB_DEPS $WAVPACK_DEPS" 2>/dev/null` 19213 test "x$?" != "x0" && pkg_failed=yes 19214else 19215 pkg_failed=yes 19216fi 19217 else 19218 pkg_failed=untried 19219fi 19220if test -n "$EASYTAG_LIBS"; then 19221 pkg_cv_EASYTAG_LIBS="$EASYTAG_LIBS" 19222 elif test -n "$PKG_CONFIG"; then 19223 if test -n "$PKG_CONFIG" && \ 19224 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GIO_DEPS \$GTK_DEPS \$OPUS_DEPS \$OGG_DEPS \$SPEEX_DEPS \$FLAC_DEPS \$ID3TAG_DEPS \$TAGLIB_DEPS \$WAVPACK_DEPS\""; } >&5 19225 ($PKG_CONFIG --exists --print-errors "$GIO_DEPS $GTK_DEPS $OPUS_DEPS $OGG_DEPS $SPEEX_DEPS $FLAC_DEPS $ID3TAG_DEPS $TAGLIB_DEPS $WAVPACK_DEPS") 2>&5 19226 ac_status=$? 19227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19228 test $ac_status = 0; }; then 19229 pkg_cv_EASYTAG_LIBS=`$PKG_CONFIG --libs "$GIO_DEPS $GTK_DEPS $OPUS_DEPS $OGG_DEPS $SPEEX_DEPS $FLAC_DEPS $ID3TAG_DEPS $TAGLIB_DEPS $WAVPACK_DEPS" 2>/dev/null` 19230 test "x$?" != "x0" && pkg_failed=yes 19231else 19232 pkg_failed=yes 19233fi 19234 else 19235 pkg_failed=untried 19236fi 19237 19238 19239 19240if test $pkg_failed = yes; then 19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19242$as_echo "no" >&6; } 19243 19244if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19245 _pkg_short_errors_supported=yes 19246else 19247 _pkg_short_errors_supported=no 19248fi 19249 if test $_pkg_short_errors_supported = yes; then 19250 EASYTAG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GIO_DEPS $GTK_DEPS $OPUS_DEPS $OGG_DEPS $SPEEX_DEPS $FLAC_DEPS $ID3TAG_DEPS $TAGLIB_DEPS $WAVPACK_DEPS" 2>&1` 19251 else 19252 EASYTAG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GIO_DEPS $GTK_DEPS $OPUS_DEPS $OGG_DEPS $SPEEX_DEPS $FLAC_DEPS $ID3TAG_DEPS $TAGLIB_DEPS $WAVPACK_DEPS" 2>&1` 19253 fi 19254 # Put the nasty error message in config.log where it belongs 19255 echo "$EASYTAG_PKG_ERRORS" >&5 19256 19257 as_fn_error $? "Package requirements ($GIO_DEPS $GTK_DEPS $OPUS_DEPS $OGG_DEPS $SPEEX_DEPS $FLAC_DEPS $ID3TAG_DEPS $TAGLIB_DEPS $WAVPACK_DEPS) were not met: 19258 19259$EASYTAG_PKG_ERRORS 19260 19261Consider adjusting the PKG_CONFIG_PATH environment variable if you 19262installed software in a non-standard prefix. 19263 19264Alternatively, you may set the environment variables EASYTAG_CFLAGS 19265and EASYTAG_LIBS to avoid the need to call pkg-config. 19266See the pkg-config man page for more details." "$LINENO" 5 19267elif test $pkg_failed = untried; then 19268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19269$as_echo "no" >&6; } 19270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19271$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19272as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 19273is in your PATH or set the PKG_CONFIG environment variable to the full 19274path to pkg-config. 19275 19276Alternatively, you may set the environment variables EASYTAG_CFLAGS 19277and EASYTAG_LIBS to avoid the need to call pkg-config. 19278See the pkg-config man page for more details. 19279 19280To get pkg-config, see <http://pkg-config.freedesktop.org/>. 19281See \`config.log' for more details" "$LINENO" 5; } 19282else 19283 EASYTAG_CFLAGS=$pkg_cv_EASYTAG_CFLAGS 19284 EASYTAG_LIBS=$pkg_cv_EASYTAG_LIBS 19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19286$as_echo "yes" >&6; } 19287 19288fi 19289 19290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 19291$as_echo_n "checking for library containing gethostbyname... " >&6; } 19292if ${ac_cv_search_gethostbyname+:} false; then : 19293 $as_echo_n "(cached) " >&6 19294else 19295 ac_func_search_save_LIBS=$LIBS 19296cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19297/* end confdefs.h. */ 19298 19299/* Override any GCC internal prototype to avoid an error. 19300 Use char because int might match the return type of a GCC 19301 builtin and then its argument prototype would still apply. */ 19302#ifdef __cplusplus 19303extern "C" 19304#endif 19305char gethostbyname (); 19306int 19307main () 19308{ 19309return gethostbyname (); 19310 ; 19311 return 0; 19312} 19313_ACEOF 19314for ac_lib in '' nsl socket; do 19315 if test -z "$ac_lib"; then 19316 ac_res="none required" 19317 else 19318 ac_res=-l$ac_lib 19319 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19320 fi 19321 if ac_fn_c_try_link "$LINENO"; then : 19322 ac_cv_search_gethostbyname=$ac_res 19323fi 19324rm -f core conftest.err conftest.$ac_objext \ 19325 conftest$ac_exeext 19326 if ${ac_cv_search_gethostbyname+:} false; then : 19327 break 19328fi 19329done 19330if ${ac_cv_search_gethostbyname+:} false; then : 19331 19332else 19333 ac_cv_search_gethostbyname=no 19334fi 19335rm conftest.$ac_ext 19336LIBS=$ac_func_search_save_LIBS 19337fi 19338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 19339$as_echo "$ac_cv_search_gethostbyname" >&6; } 19340ac_res=$ac_cv_search_gethostbyname 19341if test "$ac_res" != no; then : 19342 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 19343 19344else 19345 saved_LIBS=$LIBS 19346 LIBS="-lws2_32 $LIBS" 19347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in ws2_32" >&5 19348$as_echo_n "checking for gethostbyname in ws2_32... " >&6; } 19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19350/* end confdefs.h. */ 19351#include <winsock2.h> 19352int 19353main () 19354{ 19355gethostbyname (""); 19356 ; 19357 return 0; 19358} 19359_ACEOF 19360if ac_fn_c_try_link "$LINENO"; then : 19361 have_ws2=yes 19362else 19363 have_ws2=no LIBS=$saved_LIBS 19364fi 19365rm -f core conftest.err conftest.$ac_objext \ 19366 conftest$ac_exeext conftest.$ac_ext 19367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ws2" >&5 19368$as_echo "$have_ws2" >&6; } 19369fi 19370 19371 19372 19373 19374 19375 19376 # $is_release = (.git directory does not exist) 19377 if test -d .git; then : 19378 ax_is_release=no 19379else 19380 ax_is_release=yes 19381fi 19382 19383 19384 19385 # C support is enabled by default. 19386 19387 19388 # Only enable C++ support if AC_PROG_CXX is called. The redefinition of 19389 # AC_PROG_CXX is so that a fatal error is emitted if this macro is called 19390 # before AC_PROG_CXX, which would otherwise cause no C++ warnings to be 19391 # checked. 19392 19393 19394 19395 19396 19397 # Default value for IS-RELEASE is $ax_is_release 19398 ax_compiler_flags_is_release=$ax_is_release 19399 19400 # Check whether --enable-compile-warnings was given. 19401if test "${enable_compile_warnings+set}" = set; then : 19402 enableval=$enable_compile_warnings; 19403else 19404 if test "$ax_compiler_flags_is_release" = "yes"; then : 19405 enable_compile_warnings="yes" 19406else 19407 enable_compile_warnings="error" 19408fi 19409fi 19410 19411 # Check whether --enable-Werror was given. 19412if test "${enable_Werror+set}" = set; then : 19413 enableval=$enable_Werror; 19414else 19415 enable_Werror=maybe 19416fi 19417 19418 19419 # Return the user's chosen warning level 19420 if test "$enable_Werror" = "no" -a \ 19421 "$enable_compile_warnings" = "error"; then : 19422 19423 enable_compile_warnings="yes" 19424 19425fi 19426 19427 ax_enable_compile_warnings=$enable_compile_warnings 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 # Variable names 19439 19440 19441 ac_ext=c 19442ac_cpp='$CPP $CPPFLAGS' 19443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19445ac_compiler_gnu=$ac_cv_c_compiler_gnu 19446 19447 19448 # Always pass -Werror=unknown-warning-option to get Clang to fail on bad 19449 # flags, otherwise they are always appended to the warn_cflags variable, and 19450 # Clang warns on them for every compilation unit. 19451 # If this is passed to GCC, it will explode, so the flag must be enabled 19452 # conditionally. 19453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5 19454$as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; } 19455if ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then : 19456 $as_echo_n "(cached) " >&6 19457else 19458 19459 ax_check_save_flags=$CFLAGS 19460 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 19461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19462/* end confdefs.h. */ 19463 19464int 19465main () 19466{ 19467 19468 ; 19469 return 0; 19470} 19471_ACEOF 19472if ac_fn_c_try_compile "$LINENO"; then : 19473 ax_cv_check_cflags___Werror_unknown_warning_option=yes 19474else 19475 ax_cv_check_cflags___Werror_unknown_warning_option=no 19476fi 19477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19478 CFLAGS=$ax_check_save_flags 19479fi 19480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5 19481$as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; } 19482if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then : 19483 19484 ax_compiler_flags_test="-Werror=unknown-warning-option" 19485 19486else 19487 19488 ax_compiler_flags_test="" 19489 19490fi 19491 19492 19493 # Base flags 19494 19495 19496 19497 19498for flag in -fno-strict-aliasing ; do 19499 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` 19500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 19501$as_echo_n "checking whether C compiler accepts $flag... " >&6; } 19502if eval \${$as_CACHEVAR+:} false; then : 19503 $as_echo_n "(cached) " >&6 19504else 19505 19506 ax_check_save_flags=$CFLAGS 19507 CFLAGS="$CFLAGS $ax_compiler_flags_test $flag" 19508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19509/* end confdefs.h. */ 19510 19511int 19512main () 19513{ 19514 19515 ; 19516 return 0; 19517} 19518_ACEOF 19519if ac_fn_c_try_compile "$LINENO"; then : 19520 eval "$as_CACHEVAR=yes" 19521else 19522 eval "$as_CACHEVAR=no" 19523fi 19524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19525 CFLAGS=$ax_check_save_flags 19526fi 19527eval ac_res=\$$as_CACHEVAR 19528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 19529$as_echo "$ac_res" >&6; } 19530if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 19531 19532if ${WARN_CFLAGS+:} false; then : 19533 19534 case $WARN_CFLAGS in #( 19535 "* $flag *|*$flag") : 19536 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5 19537 (: WARN_CFLAGS already contains $flag) 2>&5 19538 ac_status=$? 19539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19540 test $ac_status = 0; } ;; #( 19541 *) : 19542 19543 as_fn_append WARN_CFLAGS " $flag" 19544 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 19545 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 19546 ac_status=$? 19547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19548 test $ac_status = 0; } 19549 ;; 19550esac 19551 19552else 19553 19554 WARN_CFLAGS=$flag 19555 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 19556 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 19557 ac_status=$? 19558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19559 test $ac_status = 0; } 19560 19561fi 19562 19563else 19564 : 19565fi 19566 19567done 19568 19569 19570 if test "$ax_enable_compile_warnings" != "no"; then : 19571 19572 # "yes" flags 19573 19574 19575 19576 19577for flag in -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wredundant-decls -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default ; do 19578 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` 19579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 19580$as_echo_n "checking whether C compiler accepts $flag... " >&6; } 19581if eval \${$as_CACHEVAR+:} false; then : 19582 $as_echo_n "(cached) " >&6 19583else 19584 19585 ax_check_save_flags=$CFLAGS 19586 CFLAGS="$CFLAGS $ax_compiler_flags_test $flag" 19587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19588/* end confdefs.h. */ 19589 19590int 19591main () 19592{ 19593 19594 ; 19595 return 0; 19596} 19597_ACEOF 19598if ac_fn_c_try_compile "$LINENO"; then : 19599 eval "$as_CACHEVAR=yes" 19600else 19601 eval "$as_CACHEVAR=no" 19602fi 19603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19604 CFLAGS=$ax_check_save_flags 19605fi 19606eval ac_res=\$$as_CACHEVAR 19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 19608$as_echo "$ac_res" >&6; } 19609if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 19610 19611if ${WARN_CFLAGS+:} false; then : 19612 19613 case $WARN_CFLAGS in #( 19614 "* $flag *|*$flag") : 19615 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5 19616 (: WARN_CFLAGS already contains $flag) 2>&5 19617 ac_status=$? 19618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19619 test $ac_status = 0; } ;; #( 19620 *) : 19621 19622 as_fn_append WARN_CFLAGS " $flag" 19623 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 19624 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 19625 ac_status=$? 19626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19627 test $ac_status = 0; } 19628 ;; 19629esac 19630 19631else 19632 19633 WARN_CFLAGS=$flag 19634 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 19635 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 19636 ac_status=$? 19637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19638 test $ac_status = 0; } 19639 19640fi 19641 19642else 19643 : 19644fi 19645 19646done 19647 19648 19649fi 19650 if test "$ax_enable_compile_warnings" = "error"; then : 19651 19652 # "error" flags; -Werror has to be appended unconditionally because 19653 # it's not possible to test for 19654 # 19655 # suggest-attribute=format is disabled because it gives too many false 19656 # positives 19657 19658if ${WARN_CFLAGS+:} false; then : 19659 19660 case $WARN_CFLAGS in #( 19661 "* -Werror *|*-Werror") : 19662 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains -Werror"; } >&5 19663 (: WARN_CFLAGS already contains -Werror) 2>&5 19664 ac_status=$? 19665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19666 test $ac_status = 0; } ;; #( 19667 *) : 19668 19669 as_fn_append WARN_CFLAGS " -Werror" 19670 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 19671 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 19672 ac_status=$? 19673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19674 test $ac_status = 0; } 19675 ;; 19676esac 19677 19678else 19679 19680 WARN_CFLAGS=-Werror 19681 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 19682 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 19683 ac_status=$? 19684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19685 test $ac_status = 0; } 19686 19687fi 19688 19689 19690 19691 19692 19693 19694for flag in -Wno-suggest-attribute=format ; do 19695 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` 19696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 19697$as_echo_n "checking whether C compiler accepts $flag... " >&6; } 19698if eval \${$as_CACHEVAR+:} false; then : 19699 $as_echo_n "(cached) " >&6 19700else 19701 19702 ax_check_save_flags=$CFLAGS 19703 CFLAGS="$CFLAGS $ax_compiler_flags_test $flag" 19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19705/* end confdefs.h. */ 19706 19707int 19708main () 19709{ 19710 19711 ; 19712 return 0; 19713} 19714_ACEOF 19715if ac_fn_c_try_compile "$LINENO"; then : 19716 eval "$as_CACHEVAR=yes" 19717else 19718 eval "$as_CACHEVAR=no" 19719fi 19720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19721 CFLAGS=$ax_check_save_flags 19722fi 19723eval ac_res=\$$as_CACHEVAR 19724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 19725$as_echo "$ac_res" >&6; } 19726if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 19727 19728if ${WARN_CFLAGS+:} false; then : 19729 19730 case $WARN_CFLAGS in #( 19731 "* $flag *|*$flag") : 19732 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5 19733 (: WARN_CFLAGS already contains $flag) 2>&5 19734 ac_status=$? 19735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19736 test $ac_status = 0; } ;; #( 19737 *) : 19738 19739 as_fn_append WARN_CFLAGS " $flag" 19740 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 19741 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 19742 ac_status=$? 19743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19744 test $ac_status = 0; } 19745 ;; 19746esac 19747 19748else 19749 19750 WARN_CFLAGS=$flag 19751 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 19752 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 19753 ac_status=$? 19754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19755 test $ac_status = 0; } 19756 19757fi 19758 19759else 19760 : 19761fi 19762 19763done 19764 19765 19766fi 19767 19768 # In the flags below, when disabling specific flags, always add *both* 19769 # -Wno-foo and -Wno-error=foo. This fixes the situation where (for example) 19770 # we enable -Werror, disable a flag, and a build bot passes CFLAGS=-Wall, 19771 # which effectively turns that flag back on again as an error. 19772 for flag in $WARN_CFLAGS; do 19773 case $flag in #( 19774 -Wno-*=*) : 19775 ;; #( 19776 -Wno-*) : 19777 19778 19779 19780 19781 19782for flag in -Wno-error=$($as_echo $flag | $SED 's/^-Wno-//'); do 19783 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` 19784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 19785$as_echo_n "checking whether C compiler accepts $flag... " >&6; } 19786if eval \${$as_CACHEVAR+:} false; then : 19787 $as_echo_n "(cached) " >&6 19788else 19789 19790 ax_check_save_flags=$CFLAGS 19791 CFLAGS="$CFLAGS $ax_compiler_flags_test $flag" 19792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19793/* end confdefs.h. */ 19794 19795int 19796main () 19797{ 19798 19799 ; 19800 return 0; 19801} 19802_ACEOF 19803if ac_fn_c_try_compile "$LINENO"; then : 19804 eval "$as_CACHEVAR=yes" 19805else 19806 eval "$as_CACHEVAR=no" 19807fi 19808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19809 CFLAGS=$ax_check_save_flags 19810fi 19811eval ac_res=\$$as_CACHEVAR 19812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 19813$as_echo "$ac_res" >&6; } 19814if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 19815 19816if ${WARN_CFLAGS+:} false; then : 19817 19818 case $WARN_CFLAGS in #( 19819 "* $flag *|*$flag") : 19820 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5 19821 (: WARN_CFLAGS already contains $flag) 2>&5 19822 ac_status=$? 19823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19824 test $ac_status = 0; } ;; #( 19825 *) : 19826 19827 as_fn_append WARN_CFLAGS " $flag" 19828 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 19829 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 19830 ac_status=$? 19831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19832 test $ac_status = 0; } 19833 ;; 19834esac 19835 19836else 19837 19838 WARN_CFLAGS=$flag 19839 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5 19840 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5 19841 ac_status=$? 19842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19843 test $ac_status = 0; } 19844 19845fi 19846 19847else 19848 : 19849fi 19850 19851done 19852 19853 ;; #( 19854 *) : 19855 ;; 19856esac 19857 done 19858 19859 ac_ext=c 19860ac_cpp='$CPP $CPPFLAGS' 19861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19863ac_compiler_gnu=$ac_cv_c_compiler_gnu 19864 19865 19866 # Substitute the variables 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 # Variable names 19879 19880 19881 ac_ext=cpp 19882ac_cpp='$CXXCPP $CPPFLAGS' 19883ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19884ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19885ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 19886 19887 19888 # Always pass -Werror=unknown-warning-option to get Clang to fail on bad 19889 # flags, otherwise they are always appended to the warn_cxxflags variable, 19890 # and Clang warns on them for every compilation unit. 19891 # If this is passed to GCC, it will explode, so the flag must be enabled 19892 # conditionally. 19893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -Werror=unknown-warning-option" >&5 19894$as_echo_n "checking whether C++ compiler accepts -Werror=unknown-warning-option... " >&6; } 19895if ${ax_cv_check_cxxflags___Werror_unknown_warning_option+:} false; then : 19896 $as_echo_n "(cached) " >&6 19897else 19898 19899 ax_check_save_flags=$CXXFLAGS 19900 CXXFLAGS="$CXXFLAGS -Werror=unknown-warning-option" 19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19902/* end confdefs.h. */ 19903 19904int 19905main () 19906{ 19907 19908 ; 19909 return 0; 19910} 19911_ACEOF 19912if ac_fn_cxx_try_compile "$LINENO"; then : 19913 ax_cv_check_cxxflags___Werror_unknown_warning_option=yes 19914else 19915 ax_cv_check_cxxflags___Werror_unknown_warning_option=no 19916fi 19917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19918 CXXFLAGS=$ax_check_save_flags 19919fi 19920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___Werror_unknown_warning_option" >&5 19921$as_echo "$ax_cv_check_cxxflags___Werror_unknown_warning_option" >&6; } 19922if test "x$ax_cv_check_cxxflags___Werror_unknown_warning_option" = xyes; then : 19923 19924 ax_compiler_flags_test="-Werror=unknown-warning-option" 19925 19926else 19927 19928 ax_compiler_flags_test="" 19929 19930fi 19931 19932 19933 # Base flags 19934 19935 19936 19937 19938for flag in -fno-strict-aliasing ; do 19939 as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` 19940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5 19941$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; } 19942if eval \${$as_CACHEVAR+:} false; then : 19943 $as_echo_n "(cached) " >&6 19944else 19945 19946 ax_check_save_flags=$CXXFLAGS 19947 CXXFLAGS="$CXXFLAGS $ax_compiler_flags_test $flag" 19948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19949/* end confdefs.h. */ 19950 19951int 19952main () 19953{ 19954 19955 ; 19956 return 0; 19957} 19958_ACEOF 19959if ac_fn_cxx_try_compile "$LINENO"; then : 19960 eval "$as_CACHEVAR=yes" 19961else 19962 eval "$as_CACHEVAR=no" 19963fi 19964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19965 CXXFLAGS=$ax_check_save_flags 19966fi 19967eval ac_res=\$$as_CACHEVAR 19968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 19969$as_echo "$ac_res" >&6; } 19970if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 19971 19972if ${WARN_CXXFLAGS+:} false; then : 19973 19974 case $WARN_CXXFLAGS in #( 19975 "* $flag *|*$flag") : 19976 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS already contains \$flag"; } >&5 19977 (: WARN_CXXFLAGS already contains $flag) 2>&5 19978 ac_status=$? 19979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19980 test $ac_status = 0; } ;; #( 19981 *) : 19982 19983 as_fn_append WARN_CXXFLAGS " $flag" 19984 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS=\"\$WARN_CXXFLAGS\""; } >&5 19985 (: WARN_CXXFLAGS="$WARN_CXXFLAGS") 2>&5 19986 ac_status=$? 19987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19988 test $ac_status = 0; } 19989 ;; 19990esac 19991 19992else 19993 19994 WARN_CXXFLAGS=$flag 19995 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS=\"\$WARN_CXXFLAGS\""; } >&5 19996 (: WARN_CXXFLAGS="$WARN_CXXFLAGS") 2>&5 19997 ac_status=$? 19998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19999 test $ac_status = 0; } 20000 20001fi 20002 20003else 20004 : 20005fi 20006 20007done 20008 20009 20010 if test "$ax_enable_compile_warnings" != "no"; then : 20011 20012 # "yes" flags 20013 20014 20015 20016 20017for flag in -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wredundant-decls -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wno-overloaded-virtual -Wswitch-enum -Wswitch-default ; do 20018 as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` 20019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5 20020$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; } 20021if eval \${$as_CACHEVAR+:} false; then : 20022 $as_echo_n "(cached) " >&6 20023else 20024 20025 ax_check_save_flags=$CXXFLAGS 20026 CXXFLAGS="$CXXFLAGS $ax_compiler_flags_test $flag" 20027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20028/* end confdefs.h. */ 20029 20030int 20031main () 20032{ 20033 20034 ; 20035 return 0; 20036} 20037_ACEOF 20038if ac_fn_cxx_try_compile "$LINENO"; then : 20039 eval "$as_CACHEVAR=yes" 20040else 20041 eval "$as_CACHEVAR=no" 20042fi 20043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20044 CXXFLAGS=$ax_check_save_flags 20045fi 20046eval ac_res=\$$as_CACHEVAR 20047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 20048$as_echo "$ac_res" >&6; } 20049if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 20050 20051if ${WARN_CXXFLAGS+:} false; then : 20052 20053 case $WARN_CXXFLAGS in #( 20054 "* $flag *|*$flag") : 20055 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS already contains \$flag"; } >&5 20056 (: WARN_CXXFLAGS already contains $flag) 2>&5 20057 ac_status=$? 20058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20059 test $ac_status = 0; } ;; #( 20060 *) : 20061 20062 as_fn_append WARN_CXXFLAGS " $flag" 20063 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS=\"\$WARN_CXXFLAGS\""; } >&5 20064 (: WARN_CXXFLAGS="$WARN_CXXFLAGS") 2>&5 20065 ac_status=$? 20066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20067 test $ac_status = 0; } 20068 ;; 20069esac 20070 20071else 20072 20073 WARN_CXXFLAGS=$flag 20074 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS=\"\$WARN_CXXFLAGS\""; } >&5 20075 (: WARN_CXXFLAGS="$WARN_CXXFLAGS") 2>&5 20076 ac_status=$? 20077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20078 test $ac_status = 0; } 20079 20080fi 20081 20082else 20083 : 20084fi 20085 20086done 20087 20088 20089fi 20090 if test "$ax_enable_compile_warnings" = "error"; then : 20091 20092 # "error" flags; -Werror has to be appended unconditionally because 20093 # it's not possible to test for 20094 # 20095 # suggest-attribute=format is disabled because it gives too many false 20096 # positives 20097 20098if ${WARN_CXXFLAGS+:} false; then : 20099 20100 case $WARN_CXXFLAGS in #( 20101 "* -Werror *|*-Werror") : 20102 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS already contains -Werror"; } >&5 20103 (: WARN_CXXFLAGS already contains -Werror) 2>&5 20104 ac_status=$? 20105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20106 test $ac_status = 0; } ;; #( 20107 *) : 20108 20109 as_fn_append WARN_CXXFLAGS " -Werror" 20110 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS=\"\$WARN_CXXFLAGS\""; } >&5 20111 (: WARN_CXXFLAGS="$WARN_CXXFLAGS") 2>&5 20112 ac_status=$? 20113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20114 test $ac_status = 0; } 20115 ;; 20116esac 20117 20118else 20119 20120 WARN_CXXFLAGS=-Werror 20121 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS=\"\$WARN_CXXFLAGS\""; } >&5 20122 (: WARN_CXXFLAGS="$WARN_CXXFLAGS") 2>&5 20123 ac_status=$? 20124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20125 test $ac_status = 0; } 20126 20127fi 20128 20129 20130 20131 20132 20133 20134for flag in -Wno-suggest-attribute=format ; do 20135 as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` 20136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5 20137$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; } 20138if eval \${$as_CACHEVAR+:} false; then : 20139 $as_echo_n "(cached) " >&6 20140else 20141 20142 ax_check_save_flags=$CXXFLAGS 20143 CXXFLAGS="$CXXFLAGS $ax_compiler_flags_test $flag" 20144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20145/* end confdefs.h. */ 20146 20147int 20148main () 20149{ 20150 20151 ; 20152 return 0; 20153} 20154_ACEOF 20155if ac_fn_cxx_try_compile "$LINENO"; then : 20156 eval "$as_CACHEVAR=yes" 20157else 20158 eval "$as_CACHEVAR=no" 20159fi 20160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20161 CXXFLAGS=$ax_check_save_flags 20162fi 20163eval ac_res=\$$as_CACHEVAR 20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 20165$as_echo "$ac_res" >&6; } 20166if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 20167 20168if ${WARN_CXXFLAGS+:} false; then : 20169 20170 case $WARN_CXXFLAGS in #( 20171 "* $flag *|*$flag") : 20172 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS already contains \$flag"; } >&5 20173 (: WARN_CXXFLAGS already contains $flag) 2>&5 20174 ac_status=$? 20175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20176 test $ac_status = 0; } ;; #( 20177 *) : 20178 20179 as_fn_append WARN_CXXFLAGS " $flag" 20180 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS=\"\$WARN_CXXFLAGS\""; } >&5 20181 (: WARN_CXXFLAGS="$WARN_CXXFLAGS") 2>&5 20182 ac_status=$? 20183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20184 test $ac_status = 0; } 20185 ;; 20186esac 20187 20188else 20189 20190 WARN_CXXFLAGS=$flag 20191 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS=\"\$WARN_CXXFLAGS\""; } >&5 20192 (: WARN_CXXFLAGS="$WARN_CXXFLAGS") 2>&5 20193 ac_status=$? 20194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20195 test $ac_status = 0; } 20196 20197fi 20198 20199else 20200 : 20201fi 20202 20203done 20204 20205 20206fi 20207 20208 # In the flags below, when disabling specific flags, always add *both* 20209 # -Wno-foo and -Wno-error=foo. This fixes the situation where (for example) 20210 # we enable -Werror, disable a flag, and a build bot passes CXXFLAGS=-Wall, 20211 # which effectively turns that flag back on again as an error. 20212 for flag in $WARN_CXXFLAGS; do 20213 case $flag in #( 20214 -Wno-*=*) : 20215 ;; #( 20216 -Wno-*) : 20217 20218 20219 20220 20221 20222for flag in -Wno-error=$($as_echo $flag | $SED 's/^-Wno-//'); do 20223 as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` 20224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5 20225$as_echo_n "checking whether C++ compiler accepts $flag... " >&6; } 20226if eval \${$as_CACHEVAR+:} false; then : 20227 $as_echo_n "(cached) " >&6 20228else 20229 20230 ax_check_save_flags=$CXXFLAGS 20231 CXXFLAGS="$CXXFLAGS $ax_compiler_flags_test $flag" 20232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20233/* end confdefs.h. */ 20234 20235int 20236main () 20237{ 20238 20239 ; 20240 return 0; 20241} 20242_ACEOF 20243if ac_fn_cxx_try_compile "$LINENO"; then : 20244 eval "$as_CACHEVAR=yes" 20245else 20246 eval "$as_CACHEVAR=no" 20247fi 20248rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20249 CXXFLAGS=$ax_check_save_flags 20250fi 20251eval ac_res=\$$as_CACHEVAR 20252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 20253$as_echo "$ac_res" >&6; } 20254if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 20255 20256if ${WARN_CXXFLAGS+:} false; then : 20257 20258 case $WARN_CXXFLAGS in #( 20259 "* $flag *|*$flag") : 20260 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS already contains \$flag"; } >&5 20261 (: WARN_CXXFLAGS already contains $flag) 2>&5 20262 ac_status=$? 20263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20264 test $ac_status = 0; } ;; #( 20265 *) : 20266 20267 as_fn_append WARN_CXXFLAGS " $flag" 20268 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS=\"\$WARN_CXXFLAGS\""; } >&5 20269 (: WARN_CXXFLAGS="$WARN_CXXFLAGS") 2>&5 20270 ac_status=$? 20271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20272 test $ac_status = 0; } 20273 ;; 20274esac 20275 20276else 20277 20278 WARN_CXXFLAGS=$flag 20279 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CXXFLAGS=\"\$WARN_CXXFLAGS\""; } >&5 20280 (: WARN_CXXFLAGS="$WARN_CXXFLAGS") 2>&5 20281 ac_status=$? 20282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20283 test $ac_status = 0; } 20284 20285fi 20286 20287else 20288 : 20289fi 20290 20291done 20292 20293 ;; #( 20294 *) : 20295 ;; 20296esac 20297 done 20298 20299 ac_ext=c 20300ac_cpp='$CPP $CPPFLAGS' 20301ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20302ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20303ac_compiler_gnu=$ac_cv_c_compiler_gnu 20304 20305 20306 # Substitute the variables 20307 20308 20309 20310 20311 20312 20313 20314 20315 20316 20317 # Variable names 20318 20319 20320 # Always pass -Werror=unknown-warning-option to get Clang to fail on bad 20321 # flags, otherwise they are always appended to the warn_ldflags variable, 20322 # and Clang warns on them for every compilation unit. 20323 # If this is passed to GCC, it will explode, so the flag must be enabled 20324 # conditionally. 20325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5 20326$as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; } 20327if ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then : 20328 $as_echo_n "(cached) " >&6 20329else 20330 20331 ax_check_save_flags=$CFLAGS 20332 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 20333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20334/* end confdefs.h. */ 20335 20336int 20337main () 20338{ 20339 20340 ; 20341 return 0; 20342} 20343_ACEOF 20344if ac_fn_c_try_compile "$LINENO"; then : 20345 ax_cv_check_cflags___Werror_unknown_warning_option=yes 20346else 20347 ax_cv_check_cflags___Werror_unknown_warning_option=no 20348fi 20349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20350 CFLAGS=$ax_check_save_flags 20351fi 20352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5 20353$as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; } 20354if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then : 20355 20356 ax_compiler_flags_test="-Werror=unknown-warning-option" 20357 20358else 20359 20360 ax_compiler_flags_test="" 20361 20362fi 20363 20364 20365 # Base flags 20366 20367 20368 20369 20370for flag in -Wl,--no-as-needed ; do 20371 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` 20372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5 20373$as_echo_n "checking whether the linker accepts $flag... " >&6; } 20374if eval \${$as_CACHEVAR+:} false; then : 20375 $as_echo_n "(cached) " >&6 20376else 20377 20378 ax_check_save_flags=$LDFLAGS 20379 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag" 20380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20381/* end confdefs.h. */ 20382 20383int 20384main () 20385{ 20386 20387 ; 20388 return 0; 20389} 20390_ACEOF 20391if ac_fn_c_try_link "$LINENO"; then : 20392 eval "$as_CACHEVAR=yes" 20393else 20394 eval "$as_CACHEVAR=no" 20395fi 20396rm -f core conftest.err conftest.$ac_objext \ 20397 conftest$ac_exeext conftest.$ac_ext 20398 LDFLAGS=$ax_check_save_flags 20399fi 20400eval ac_res=\$$as_CACHEVAR 20401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 20402$as_echo "$ac_res" >&6; } 20403if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 20404 20405if ${WARN_LDFLAGS+:} false; then : 20406 20407 case $WARN_LDFLAGS in #( 20408 "* $flag *|*$flag") : 20409 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5 20410 (: WARN_LDFLAGS already contains $flag) 2>&5 20411 ac_status=$? 20412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20413 test $ac_status = 0; } ;; #( 20414 *) : 20415 20416 as_fn_append WARN_LDFLAGS " $flag" 20417 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 20418 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 20419 ac_status=$? 20420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20421 test $ac_status = 0; } 20422 ;; 20423esac 20424 20425else 20426 20427 WARN_LDFLAGS=$flag 20428 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 20429 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 20430 ac_status=$? 20431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20432 test $ac_status = 0; } 20433 20434fi 20435 20436else 20437 : 20438fi 20439 20440done 20441 20442 20443 if test "$ax_enable_compile_warnings" != "no"; then : 20444 20445 # "yes" flags 20446 20447 20448 20449 20450for flag in ; do 20451 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` 20452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5 20453$as_echo_n "checking whether the linker accepts $flag... " >&6; } 20454if eval \${$as_CACHEVAR+:} false; then : 20455 $as_echo_n "(cached) " >&6 20456else 20457 20458 ax_check_save_flags=$LDFLAGS 20459 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag" 20460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20461/* end confdefs.h. */ 20462 20463int 20464main () 20465{ 20466 20467 ; 20468 return 0; 20469} 20470_ACEOF 20471if ac_fn_c_try_link "$LINENO"; then : 20472 eval "$as_CACHEVAR=yes" 20473else 20474 eval "$as_CACHEVAR=no" 20475fi 20476rm -f core conftest.err conftest.$ac_objext \ 20477 conftest$ac_exeext conftest.$ac_ext 20478 LDFLAGS=$ax_check_save_flags 20479fi 20480eval ac_res=\$$as_CACHEVAR 20481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 20482$as_echo "$ac_res" >&6; } 20483if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 20484 20485if ${WARN_LDFLAGS+:} false; then : 20486 20487 case $WARN_LDFLAGS in #( 20488 "* $flag *|*$flag") : 20489 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5 20490 (: WARN_LDFLAGS already contains $flag) 2>&5 20491 ac_status=$? 20492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20493 test $ac_status = 0; } ;; #( 20494 *) : 20495 20496 as_fn_append WARN_LDFLAGS " $flag" 20497 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 20498 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 20499 ac_status=$? 20500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20501 test $ac_status = 0; } 20502 ;; 20503esac 20504 20505else 20506 20507 WARN_LDFLAGS=$flag 20508 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 20509 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 20510 ac_status=$? 20511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20512 test $ac_status = 0; } 20513 20514fi 20515 20516else 20517 : 20518fi 20519 20520done 20521 20522 20523fi 20524 if test "$ax_enable_compile_warnings" = "error"; then : 20525 20526 # "error" flags; -Werror has to be appended unconditionally because 20527 # it's not possible to test for 20528 # 20529 # suggest-attribute=format is disabled because it gives too many false 20530 # positives 20531 20532 20533 20534 20535for flag in -Wl,--fatal-warnings ; do 20536 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` 20537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5 20538$as_echo_n "checking whether the linker accepts $flag... " >&6; } 20539if eval \${$as_CACHEVAR+:} false; then : 20540 $as_echo_n "(cached) " >&6 20541else 20542 20543 ax_check_save_flags=$LDFLAGS 20544 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag" 20545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20546/* end confdefs.h. */ 20547 20548int 20549main () 20550{ 20551 20552 ; 20553 return 0; 20554} 20555_ACEOF 20556if ac_fn_c_try_link "$LINENO"; then : 20557 eval "$as_CACHEVAR=yes" 20558else 20559 eval "$as_CACHEVAR=no" 20560fi 20561rm -f core conftest.err conftest.$ac_objext \ 20562 conftest$ac_exeext conftest.$ac_ext 20563 LDFLAGS=$ax_check_save_flags 20564fi 20565eval ac_res=\$$as_CACHEVAR 20566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 20567$as_echo "$ac_res" >&6; } 20568if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 20569 20570if ${WARN_LDFLAGS+:} false; then : 20571 20572 case $WARN_LDFLAGS in #( 20573 "* $flag *|*$flag") : 20574 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5 20575 (: WARN_LDFLAGS already contains $flag) 2>&5 20576 ac_status=$? 20577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20578 test $ac_status = 0; } ;; #( 20579 *) : 20580 20581 as_fn_append WARN_LDFLAGS " $flag" 20582 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 20583 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 20584 ac_status=$? 20585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20586 test $ac_status = 0; } 20587 ;; 20588esac 20589 20590else 20591 20592 WARN_LDFLAGS=$flag 20593 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5 20594 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5 20595 ac_status=$? 20596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20597 test $ac_status = 0; } 20598 20599fi 20600 20601else 20602 : 20603fi 20604 20605done 20606 20607 20608fi 20609 20610 # Substitute the variables 20611 20612 20613 20614 20615 20616 20617 # Variable names 20618 20619 20620 # Base flags 20621 20622if ${WARN_SCANNERFLAGS+:} false; then : 20623 20624 case $WARN_SCANNERFLAGS in #( 20625 "* *|*") : 20626 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains "; } >&5 20627 (: WARN_SCANNERFLAGS already contains ) 2>&5 20628 ac_status=$? 20629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20630 test $ac_status = 0; } ;; #( 20631 *) : 20632 20633 as_fn_append WARN_SCANNERFLAGS " " 20634 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 20635 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 20636 ac_status=$? 20637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20638 test $ac_status = 0; } 20639 ;; 20640esac 20641 20642else 20643 20644 WARN_SCANNERFLAGS= 20645 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 20646 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 20647 ac_status=$? 20648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20649 test $ac_status = 0; } 20650 20651fi 20652 20653 20654 if test "$ax_enable_compile_warnings" != "no"; then : 20655 20656 # "yes" flags 20657 20658if ${WARN_SCANNERFLAGS+:} false; then : 20659 20660 case $WARN_SCANNERFLAGS in #( 20661 "* --warn-all *|* --warn-all ") : 20662 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-all "; } >&5 20663 (: WARN_SCANNERFLAGS already contains --warn-all ) 2>&5 20664 ac_status=$? 20665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20666 test $ac_status = 0; } ;; #( 20667 *) : 20668 20669 as_fn_append WARN_SCANNERFLAGS " --warn-all " 20670 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 20671 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 20672 ac_status=$? 20673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20674 test $ac_status = 0; } 20675 ;; 20676esac 20677 20678else 20679 20680 WARN_SCANNERFLAGS= --warn-all 20681 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 20682 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 20683 ac_status=$? 20684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20685 test $ac_status = 0; } 20686 20687fi 20688 20689 20690fi 20691 if test "$ax_enable_compile_warnings" = "error"; then : 20692 20693 # "error" flags 20694 20695if ${WARN_SCANNERFLAGS+:} false; then : 20696 20697 case $WARN_SCANNERFLAGS in #( 20698 "* --warn-error *|* --warn-error ") : 20699 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-error "; } >&5 20700 (: WARN_SCANNERFLAGS already contains --warn-error ) 2>&5 20701 ac_status=$? 20702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20703 test $ac_status = 0; } ;; #( 20704 *) : 20705 20706 as_fn_append WARN_SCANNERFLAGS " --warn-error " 20707 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 20708 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 20709 ac_status=$? 20710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20711 test $ac_status = 0; } 20712 ;; 20713esac 20714 20715else 20716 20717 WARN_SCANNERFLAGS= --warn-error 20718 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5 20719 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5 20720 ac_status=$? 20721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20722 test $ac_status = 0; } 20723 20724fi 20725 20726 20727fi 20728 20729 # Substitute the variables 20730 20731 20732 20733 20734 20735 20736 # Check whether --enable-schemas-compile was given. 20737if test "${enable_schemas_compile+set}" = set; then : 20738 enableval=$enable_schemas_compile; case ${enableval} in 20739 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; 20740 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; 20741 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;; 20742 esac 20743fi 20744 20745 20746 20747 20748 20749 20750 20751 20752 20753if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 20754 if test -n "$ac_tool_prefix"; then 20755 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 20756set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 20757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20758$as_echo_n "checking for $ac_word... " >&6; } 20759if ${ac_cv_path_PKG_CONFIG+:} false; then : 20760 $as_echo_n "(cached) " >&6 20761else 20762 case $PKG_CONFIG in 20763 [\\/]* | ?:[\\/]*) 20764 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 20765 ;; 20766 *) 20767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20768for as_dir in $PATH 20769do 20770 IFS=$as_save_IFS 20771 test -z "$as_dir" && as_dir=. 20772 for ac_exec_ext in '' $ac_executable_extensions; do 20773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20774 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20776 break 2 20777 fi 20778done 20779 done 20780IFS=$as_save_IFS 20781 20782 ;; 20783esac 20784fi 20785PKG_CONFIG=$ac_cv_path_PKG_CONFIG 20786if test -n "$PKG_CONFIG"; then 20787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 20788$as_echo "$PKG_CONFIG" >&6; } 20789else 20790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20791$as_echo "no" >&6; } 20792fi 20793 20794 20795fi 20796if test -z "$ac_cv_path_PKG_CONFIG"; then 20797 ac_pt_PKG_CONFIG=$PKG_CONFIG 20798 # Extract the first word of "pkg-config", so it can be a program name with args. 20799set dummy pkg-config; ac_word=$2 20800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20801$as_echo_n "checking for $ac_word... " >&6; } 20802if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 20803 $as_echo_n "(cached) " >&6 20804else 20805 case $ac_pt_PKG_CONFIG in 20806 [\\/]* | ?:[\\/]*) 20807 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 20808 ;; 20809 *) 20810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20811for as_dir in $PATH 20812do 20813 IFS=$as_save_IFS 20814 test -z "$as_dir" && as_dir=. 20815 for ac_exec_ext in '' $ac_executable_extensions; do 20816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20817 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20819 break 2 20820 fi 20821done 20822 done 20823IFS=$as_save_IFS 20824 20825 ;; 20826esac 20827fi 20828ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 20829if test -n "$ac_pt_PKG_CONFIG"; then 20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 20831$as_echo "$ac_pt_PKG_CONFIG" >&6; } 20832else 20833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20834$as_echo "no" >&6; } 20835fi 20836 20837 if test "x$ac_pt_PKG_CONFIG" = x; then 20838 PKG_CONFIG="" 20839 else 20840 case $cross_compiling:$ac_tool_warned in 20841yes:) 20842{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 20843$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 20844ac_tool_warned=yes ;; 20845esac 20846 PKG_CONFIG=$ac_pt_PKG_CONFIG 20847 fi 20848else 20849 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 20850fi 20851 20852fi 20853if test -n "$PKG_CONFIG"; then 20854 _pkg_min_version=0.16 20855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 20856$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 20857 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 20858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20859$as_echo "yes" >&6; } 20860 else 20861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20862$as_echo "no" >&6; } 20863 PKG_CONFIG="" 20864 fi 20865fi 20866 gsettingsschemadir=${datadir}/glib-2.0/schemas 20867 20868 if test x$cross_compiling != xyes; then 20869 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` 20870 else 20871 # Extract the first word of "glib-compile-schemas", so it can be a program name with args. 20872set dummy glib-compile-schemas; ac_word=$2 20873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20874$as_echo_n "checking for $ac_word... " >&6; } 20875if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then : 20876 $as_echo_n "(cached) " >&6 20877else 20878 case $GLIB_COMPILE_SCHEMAS in 20879 [\\/]* | ?:[\\/]*) 20880 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path. 20881 ;; 20882 *) 20883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20884for as_dir in $PATH 20885do 20886 IFS=$as_save_IFS 20887 test -z "$as_dir" && as_dir=. 20888 for ac_exec_ext in '' $ac_executable_extensions; do 20889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20890 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext" 20891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20892 break 2 20893 fi 20894done 20895 done 20896IFS=$as_save_IFS 20897 20898 ;; 20899esac 20900fi 20901GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS 20902if test -n "$GLIB_COMPILE_SCHEMAS"; then 20903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5 20904$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; } 20905else 20906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20907$as_echo "no" >&6; } 20908fi 20909 20910 20911 fi 20912 20913 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then 20914 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5 20915 else 20916 : 20917 fi 20918 20919 GSETTINGS_RULES=' 20920.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas 20921 20922mostlyclean-am: clean-gsettings-schemas 20923 20924gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) 20925 20926%.gschema.valid: %.gschema.xml $(gsettings__enum_file) 20927 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@ 20928 20929all-am: $(gsettings_SCHEMAS:.xml=.valid) 20930uninstall-am: uninstall-gsettings-schemas 20931install-data-am: install-gsettings-schemas 20932 20933.SECONDARY: $(gsettings_SCHEMAS) 20934 20935install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) 20936 @$(NORMAL_INSTALL) 20937 if test -n "$^"; then \ 20938 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ 20939 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ 20940 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ 20941 fi 20942 20943uninstall-gsettings-schemas: 20944 @$(NORMAL_UNINSTALL) 20945 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ 20946 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ 20947 test -n "$$files" || exit 0; \ 20948 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ 20949 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files 20950 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) 20951 20952clean-gsettings-schemas: 20953 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) 20954 20955ifdef gsettings_ENUM_NAMESPACE 20956$(gsettings__enum_file): $(gsettings_ENUM_FILES) 20957 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@ 20958endif 20959' 20960 20961 20962 20963 20964 20965 20966 20967ac_config_files="$ac_config_files Makefile doc/version.xml help/Makefile po/Makefile.in src/win32/easytag.rc" 20968 20969cat >confcache <<\_ACEOF 20970# This file is a shell script that caches the results of configure 20971# tests run on this system so they can be shared between configure 20972# scripts and configure runs, see configure's option --config-cache. 20973# It is not useful on other systems. If it contains results you don't 20974# want to keep, you may remove or edit it. 20975# 20976# config.status only pays attention to the cache file if you give it 20977# the --recheck option to rerun configure. 20978# 20979# `ac_cv_env_foo' variables (set or unset) will be overridden when 20980# loading this file, other *unset* `ac_cv_foo' will be assigned the 20981# following values. 20982 20983_ACEOF 20984 20985# The following way of writing the cache mishandles newlines in values, 20986# but we know of no workaround that is simple, portable, and efficient. 20987# So, we kill variables containing newlines. 20988# Ultrix sh set writes to stderr and can't be redirected directly, 20989# and sets the high bit in the cache file unless we assign to the vars. 20990( 20991 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 20992 eval ac_val=\$$ac_var 20993 case $ac_val in #( 20994 *${as_nl}*) 20995 case $ac_var in #( 20996 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 20997$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 20998 esac 20999 case $ac_var in #( 21000 _ | IFS | as_nl) ;; #( 21001 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 21002 *) { eval $ac_var=; unset $ac_var;} ;; 21003 esac ;; 21004 esac 21005 done 21006 21007 (set) 2>&1 | 21008 case $as_nl`(ac_space=' '; set) 2>&1` in #( 21009 *${as_nl}ac_space=\ *) 21010 # `set' does not quote correctly, so add quotes: double-quote 21011 # substitution turns \\\\ into \\, and sed turns \\ into \. 21012 sed -n \ 21013 "s/'/'\\\\''/g; 21014 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 21015 ;; #( 21016 *) 21017 # `set' quotes correctly as required by POSIX, so do not add quotes. 21018 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 21019 ;; 21020 esac | 21021 sort 21022) | 21023 sed ' 21024 /^ac_cv_env_/b end 21025 t clear 21026 :clear 21027 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 21028 t end 21029 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 21030 :end' >>confcache 21031if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 21032 if test -w "$cache_file"; then 21033 if test "x$cache_file" != "x/dev/null"; then 21034 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 21035$as_echo "$as_me: updating cache $cache_file" >&6;} 21036 if test ! -f "$cache_file" || test -h "$cache_file"; then 21037 cat confcache >"$cache_file" 21038 else 21039 case $cache_file in #( 21040 */* | ?:*) 21041 mv -f confcache "$cache_file"$$ && 21042 mv -f "$cache_file"$$ "$cache_file" ;; #( 21043 *) 21044 mv -f confcache "$cache_file" ;; 21045 esac 21046 fi 21047 fi 21048 else 21049 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 21050$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 21051 fi 21052fi 21053rm -f confcache 21054 21055test "x$prefix" = xNONE && prefix=$ac_default_prefix 21056# Let make expand exec_prefix. 21057test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 21058 21059DEFS=-DHAVE_CONFIG_H 21060 21061ac_libobjs= 21062ac_ltlibobjs= 21063U= 21064for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 21065 # 1. Remove the extension, and $U if already installed. 21066 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 21067 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 21068 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 21069 # will be set to the directory where LIBOBJS objects are built. 21070 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 21071 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 21072done 21073LIBOBJS=$ac_libobjs 21074 21075LTLIBOBJS=$ac_ltlibobjs 21076 21077 21078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 21079$as_echo_n "checking that generated files are newer than configure... " >&6; } 21080 if test -n "$am_sleep_pid"; then 21081 # Hide warnings about reused PIDs. 21082 wait $am_sleep_pid 2>/dev/null 21083 fi 21084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 21085$as_echo "done" >&6; } 21086 if test -n "$EXEEXT"; then 21087 am__EXEEXT_TRUE= 21088 am__EXEEXT_FALSE='#' 21089else 21090 am__EXEEXT_TRUE='#' 21091 am__EXEEXT_FALSE= 21092fi 21093 21094if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 21095 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 21096Usually this means the macro was only invoked conditionally." "$LINENO" 5 21097fi 21098if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 21099 as_fn_error $? "conditional \"AMDEP\" was never defined. 21100Usually this means the macro was only invoked conditionally." "$LINENO" 5 21101fi 21102if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 21103 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 21104Usually this means the macro was only invoked conditionally." "$LINENO" 5 21105fi 21106 21107 ac_config_commands="$ac_config_commands po/stamp-it" 21108 21109 21110if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 21111 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 21112Usually this means the macro was only invoked conditionally." "$LINENO" 5 21113fi 21114if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 21115 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 21116Usually this means the macro was only invoked conditionally." "$LINENO" 5 21117fi 21118if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then 21119 as_fn_error $? "conditional \"ENABLE_MAN\" was never defined. 21120Usually this means the macro was only invoked conditionally." "$LINENO" 5 21121fi 21122if test -z "${EASYTAG_ENABLE_TESTS_TRUE}" && test -z "${EASYTAG_ENABLE_TESTS_FALSE}"; then 21123 as_fn_error $? "conditional \"EASYTAG_ENABLE_TESTS\" was never defined. 21124Usually this means the macro was only invoked conditionally." "$LINENO" 5 21125fi 21126if test -z "${WINDOWS_HOST_TRUE}" && test -z "${WINDOWS_HOST_FALSE}"; then 21127 as_fn_error $? "conditional \"WINDOWS_HOST\" was never defined. 21128Usually this means the macro was only invoked conditionally." "$LINENO" 5 21129fi 21130if test -z "${ENABLE_NAUTILUS_ACTIONS_TRUE}" && test -z "${ENABLE_NAUTILUS_ACTIONS_FALSE}"; then 21131 as_fn_error $? "conditional \"ENABLE_NAUTILUS_ACTIONS\" was never defined. 21132Usually this means the macro was only invoked conditionally." "$LINENO" 5 21133fi 21134 21135: "${CONFIG_STATUS=./config.status}" 21136ac_write_fail=0 21137ac_clean_files_save=$ac_clean_files 21138ac_clean_files="$ac_clean_files $CONFIG_STATUS" 21139{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 21140$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 21141as_write_fail=0 21142cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 21143#! $SHELL 21144# Generated by $as_me. 21145# Run this file to recreate the current configuration. 21146# Compiler output produced by configure, useful for debugging 21147# configure, is in config.log if it exists. 21148 21149debug=false 21150ac_cs_recheck=false 21151ac_cs_silent=false 21152 21153SHELL=\${CONFIG_SHELL-$SHELL} 21154export SHELL 21155_ASEOF 21156cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 21157## -------------------- ## 21158## M4sh Initialization. ## 21159## -------------------- ## 21160 21161# Be more Bourne compatible 21162DUALCASE=1; export DUALCASE # for MKS sh 21163if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 21164 emulate sh 21165 NULLCMD=: 21166 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21167 # is contrary to our usage. Disable this feature. 21168 alias -g '${1+"$@"}'='"$@"' 21169 setopt NO_GLOB_SUBST 21170else 21171 case `(set -o) 2>/dev/null` in #( 21172 *posix*) : 21173 set -o posix ;; #( 21174 *) : 21175 ;; 21176esac 21177fi 21178 21179 21180as_nl=' 21181' 21182export as_nl 21183# Printing a long string crashes Solaris 7 /usr/bin/printf. 21184as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 21185as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 21186as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 21187# Prefer a ksh shell builtin over an external printf program on Solaris, 21188# but without wasting forks for bash or zsh. 21189if test -z "$BASH_VERSION$ZSH_VERSION" \ 21190 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 21191 as_echo='print -r --' 21192 as_echo_n='print -rn --' 21193elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 21194 as_echo='printf %s\n' 21195 as_echo_n='printf %s' 21196else 21197 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 21198 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 21199 as_echo_n='/usr/ucb/echo -n' 21200 else 21201 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 21202 as_echo_n_body='eval 21203 arg=$1; 21204 case $arg in #( 21205 *"$as_nl"*) 21206 expr "X$arg" : "X\\(.*\\)$as_nl"; 21207 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 21208 esac; 21209 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 21210 ' 21211 export as_echo_n_body 21212 as_echo_n='sh -c $as_echo_n_body as_echo' 21213 fi 21214 export as_echo_body 21215 as_echo='sh -c $as_echo_body as_echo' 21216fi 21217 21218# The user is always right. 21219if test "${PATH_SEPARATOR+set}" != set; then 21220 PATH_SEPARATOR=: 21221 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 21222 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 21223 PATH_SEPARATOR=';' 21224 } 21225fi 21226 21227 21228# IFS 21229# We need space, tab and new line, in precisely that order. Quoting is 21230# there to prevent editors from complaining about space-tab. 21231# (If _AS_PATH_WALK were called with IFS unset, it would disable word 21232# splitting by setting IFS to empty value.) 21233IFS=" "" $as_nl" 21234 21235# Find who we are. Look in the path if we contain no directory separator. 21236as_myself= 21237case $0 in #(( 21238 *[\\/]* ) as_myself=$0 ;; 21239 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21240for as_dir in $PATH 21241do 21242 IFS=$as_save_IFS 21243 test -z "$as_dir" && as_dir=. 21244 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 21245 done 21246IFS=$as_save_IFS 21247 21248 ;; 21249esac 21250# We did not find ourselves, most probably we were run as `sh COMMAND' 21251# in which case we are not to be found in the path. 21252if test "x$as_myself" = x; then 21253 as_myself=$0 21254fi 21255if test ! -f "$as_myself"; then 21256 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 21257 exit 1 21258fi 21259 21260# Unset variables that we do not need and which cause bugs (e.g. in 21261# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 21262# suppresses any "Segmentation fault" message there. '((' could 21263# trigger a bug in pdksh 5.2.14. 21264for as_var in BASH_ENV ENV MAIL MAILPATH 21265do eval test x\${$as_var+set} = xset \ 21266 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 21267done 21268PS1='$ ' 21269PS2='> ' 21270PS4='+ ' 21271 21272# NLS nuisances. 21273LC_ALL=C 21274export LC_ALL 21275LANGUAGE=C 21276export LANGUAGE 21277 21278# CDPATH. 21279(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 21280 21281 21282# as_fn_error STATUS ERROR [LINENO LOG_FD] 21283# ---------------------------------------- 21284# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 21285# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 21286# script with STATUS, using 1 if that was 0. 21287as_fn_error () 21288{ 21289 as_status=$1; test $as_status -eq 0 && as_status=1 21290 if test "$4"; then 21291 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 21292 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 21293 fi 21294 $as_echo "$as_me: error: $2" >&2 21295 as_fn_exit $as_status 21296} # as_fn_error 21297 21298 21299# as_fn_set_status STATUS 21300# ----------------------- 21301# Set $? to STATUS, without forking. 21302as_fn_set_status () 21303{ 21304 return $1 21305} # as_fn_set_status 21306 21307# as_fn_exit STATUS 21308# ----------------- 21309# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 21310as_fn_exit () 21311{ 21312 set +e 21313 as_fn_set_status $1 21314 exit $1 21315} # as_fn_exit 21316 21317# as_fn_unset VAR 21318# --------------- 21319# Portably unset VAR. 21320as_fn_unset () 21321{ 21322 { eval $1=; unset $1;} 21323} 21324as_unset=as_fn_unset 21325# as_fn_append VAR VALUE 21326# ---------------------- 21327# Append the text in VALUE to the end of the definition contained in VAR. Take 21328# advantage of any shell optimizations that allow amortized linear growth over 21329# repeated appends, instead of the typical quadratic growth present in naive 21330# implementations. 21331if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 21332 eval 'as_fn_append () 21333 { 21334 eval $1+=\$2 21335 }' 21336else 21337 as_fn_append () 21338 { 21339 eval $1=\$$1\$2 21340 } 21341fi # as_fn_append 21342 21343# as_fn_arith ARG... 21344# ------------------ 21345# Perform arithmetic evaluation on the ARGs, and store the result in the 21346# global $as_val. Take advantage of shells that can avoid forks. The arguments 21347# must be portable across $(()) and expr. 21348if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 21349 eval 'as_fn_arith () 21350 { 21351 as_val=$(( $* )) 21352 }' 21353else 21354 as_fn_arith () 21355 { 21356 as_val=`expr "$@" || test $? -eq 1` 21357 } 21358fi # as_fn_arith 21359 21360 21361if expr a : '\(a\)' >/dev/null 2>&1 && 21362 test "X`expr 00001 : '.*\(...\)'`" = X001; then 21363 as_expr=expr 21364else 21365 as_expr=false 21366fi 21367 21368if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 21369 as_basename=basename 21370else 21371 as_basename=false 21372fi 21373 21374if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 21375 as_dirname=dirname 21376else 21377 as_dirname=false 21378fi 21379 21380as_me=`$as_basename -- "$0" || 21381$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 21382 X"$0" : 'X\(//\)$' \| \ 21383 X"$0" : 'X\(/\)' \| . 2>/dev/null || 21384$as_echo X/"$0" | 21385 sed '/^.*\/\([^/][^/]*\)\/*$/{ 21386 s//\1/ 21387 q 21388 } 21389 /^X\/\(\/\/\)$/{ 21390 s//\1/ 21391 q 21392 } 21393 /^X\/\(\/\).*/{ 21394 s//\1/ 21395 q 21396 } 21397 s/.*/./; q'` 21398 21399# Avoid depending upon Character Ranges. 21400as_cr_letters='abcdefghijklmnopqrstuvwxyz' 21401as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 21402as_cr_Letters=$as_cr_letters$as_cr_LETTERS 21403as_cr_digits='0123456789' 21404as_cr_alnum=$as_cr_Letters$as_cr_digits 21405 21406ECHO_C= ECHO_N= ECHO_T= 21407case `echo -n x` in #((((( 21408-n*) 21409 case `echo 'xy\c'` in 21410 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 21411 xy) ECHO_C='\c';; 21412 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 21413 ECHO_T=' ';; 21414 esac;; 21415*) 21416 ECHO_N='-n';; 21417esac 21418 21419rm -f conf$$ conf$$.exe conf$$.file 21420if test -d conf$$.dir; then 21421 rm -f conf$$.dir/conf$$.file 21422else 21423 rm -f conf$$.dir 21424 mkdir conf$$.dir 2>/dev/null 21425fi 21426if (echo >conf$$.file) 2>/dev/null; then 21427 if ln -s conf$$.file conf$$ 2>/dev/null; then 21428 as_ln_s='ln -s' 21429 # ... but there are two gotchas: 21430 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 21431 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 21432 # In both cases, we have to default to `cp -pR'. 21433 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 21434 as_ln_s='cp -pR' 21435 elif ln conf$$.file conf$$ 2>/dev/null; then 21436 as_ln_s=ln 21437 else 21438 as_ln_s='cp -pR' 21439 fi 21440else 21441 as_ln_s='cp -pR' 21442fi 21443rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 21444rmdir conf$$.dir 2>/dev/null 21445 21446 21447# as_fn_mkdir_p 21448# ------------- 21449# Create "$as_dir" as a directory, including parents if necessary. 21450as_fn_mkdir_p () 21451{ 21452 21453 case $as_dir in #( 21454 -*) as_dir=./$as_dir;; 21455 esac 21456 test -d "$as_dir" || eval $as_mkdir_p || { 21457 as_dirs= 21458 while :; do 21459 case $as_dir in #( 21460 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 21461 *) as_qdir=$as_dir;; 21462 esac 21463 as_dirs="'$as_qdir' $as_dirs" 21464 as_dir=`$as_dirname -- "$as_dir" || 21465$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21466 X"$as_dir" : 'X\(//\)[^/]' \| \ 21467 X"$as_dir" : 'X\(//\)$' \| \ 21468 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 21469$as_echo X"$as_dir" | 21470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21471 s//\1/ 21472 q 21473 } 21474 /^X\(\/\/\)[^/].*/{ 21475 s//\1/ 21476 q 21477 } 21478 /^X\(\/\/\)$/{ 21479 s//\1/ 21480 q 21481 } 21482 /^X\(\/\).*/{ 21483 s//\1/ 21484 q 21485 } 21486 s/.*/./; q'` 21487 test -d "$as_dir" && break 21488 done 21489 test -z "$as_dirs" || eval "mkdir $as_dirs" 21490 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 21491 21492 21493} # as_fn_mkdir_p 21494if mkdir -p . 2>/dev/null; then 21495 as_mkdir_p='mkdir -p "$as_dir"' 21496else 21497 test -d ./-p && rmdir ./-p 21498 as_mkdir_p=false 21499fi 21500 21501 21502# as_fn_executable_p FILE 21503# ----------------------- 21504# Test if FILE is an executable regular file. 21505as_fn_executable_p () 21506{ 21507 test -f "$1" && test -x "$1" 21508} # as_fn_executable_p 21509as_test_x='test -x' 21510as_executable_p=as_fn_executable_p 21511 21512# Sed expression to map a string onto a valid CPP name. 21513as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 21514 21515# Sed expression to map a string onto a valid variable name. 21516as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 21517 21518 21519exec 6>&1 21520## ----------------------------------- ## 21521## Main body of $CONFIG_STATUS script. ## 21522## ----------------------------------- ## 21523_ASEOF 21524test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 21525 21526cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21527# Save the log message, to keep $0 and so on meaningful, and to 21528# report actual input values of CONFIG_FILES etc. instead of their 21529# values after options handling. 21530ac_log=" 21531This file was extended by EasyTAG $as_me 2.4.3, which was 21532generated by GNU Autoconf 2.69. Invocation command line was 21533 21534 CONFIG_FILES = $CONFIG_FILES 21535 CONFIG_HEADERS = $CONFIG_HEADERS 21536 CONFIG_LINKS = $CONFIG_LINKS 21537 CONFIG_COMMANDS = $CONFIG_COMMANDS 21538 $ $0 $@ 21539 21540on `(hostname || uname -n) 2>/dev/null | sed 1q` 21541" 21542 21543_ACEOF 21544 21545case $ac_config_files in *" 21546"*) set x $ac_config_files; shift; ac_config_files=$*;; 21547esac 21548 21549case $ac_config_headers in *" 21550"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 21551esac 21552 21553 21554cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21555# Files that config.status was made for. 21556config_files="$ac_config_files" 21557config_headers="$ac_config_headers" 21558config_commands="$ac_config_commands" 21559 21560_ACEOF 21561 21562cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21563ac_cs_usage="\ 21564\`$as_me' instantiates files and other configuration actions 21565from templates according to the current configuration. Unless the files 21566and actions are specified as TAGs, all are instantiated by default. 21567 21568Usage: $0 [OPTION]... [TAG]... 21569 21570 -h, --help print this help, then exit 21571 -V, --version print version number and configuration settings, then exit 21572 --config print configuration, then exit 21573 -q, --quiet, --silent 21574 do not print progress messages 21575 -d, --debug don't remove temporary files 21576 --recheck update $as_me by reconfiguring in the same conditions 21577 --file=FILE[:TEMPLATE] 21578 instantiate the configuration file FILE 21579 --header=FILE[:TEMPLATE] 21580 instantiate the configuration header FILE 21581 21582Configuration files: 21583$config_files 21584 21585Configuration headers: 21586$config_headers 21587 21588Configuration commands: 21589$config_commands 21590 21591Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=easytag>. 21592EasyTAG home page: <https://wiki.gnome.org/Apps/EasyTAG>." 21593 21594_ACEOF 21595cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21596ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 21597ac_cs_version="\\ 21598EasyTAG config.status 2.4.3 21599configured by $0, generated by GNU Autoconf 2.69, 21600 with options \\"\$ac_cs_config\\" 21601 21602Copyright (C) 2012 Free Software Foundation, Inc. 21603This config.status script is free software; the Free Software Foundation 21604gives unlimited permission to copy, distribute and modify it." 21605 21606ac_pwd='$ac_pwd' 21607srcdir='$srcdir' 21608INSTALL='$INSTALL' 21609MKDIR_P='$MKDIR_P' 21610AWK='$AWK' 21611test -n "\$AWK" || AWK=awk 21612_ACEOF 21613 21614cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21615# The default lists apply if the user does not specify any file. 21616ac_need_defaults=: 21617while test $# != 0 21618do 21619 case $1 in 21620 --*=?*) 21621 ac_option=`expr "X$1" : 'X\([^=]*\)='` 21622 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 21623 ac_shift=: 21624 ;; 21625 --*=) 21626 ac_option=`expr "X$1" : 'X\([^=]*\)='` 21627 ac_optarg= 21628 ac_shift=: 21629 ;; 21630 *) 21631 ac_option=$1 21632 ac_optarg=$2 21633 ac_shift=shift 21634 ;; 21635 esac 21636 21637 case $ac_option in 21638 # Handling of the options. 21639 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 21640 ac_cs_recheck=: ;; 21641 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 21642 $as_echo "$ac_cs_version"; exit ;; 21643 --config | --confi | --conf | --con | --co | --c ) 21644 $as_echo "$ac_cs_config"; exit ;; 21645 --debug | --debu | --deb | --de | --d | -d ) 21646 debug=: ;; 21647 --file | --fil | --fi | --f ) 21648 $ac_shift 21649 case $ac_optarg in 21650 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 21651 '') as_fn_error $? "missing file argument" ;; 21652 esac 21653 as_fn_append CONFIG_FILES " '$ac_optarg'" 21654 ac_need_defaults=false;; 21655 --header | --heade | --head | --hea ) 21656 $ac_shift 21657 case $ac_optarg in 21658 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 21659 esac 21660 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 21661 ac_need_defaults=false;; 21662 --he | --h) 21663 # Conflict between --help and --header 21664 as_fn_error $? "ambiguous option: \`$1' 21665Try \`$0 --help' for more information.";; 21666 --help | --hel | -h ) 21667 $as_echo "$ac_cs_usage"; exit ;; 21668 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 21669 | -silent | --silent | --silen | --sile | --sil | --si | --s) 21670 ac_cs_silent=: ;; 21671 21672 # This is an error. 21673 -*) as_fn_error $? "unrecognized option: \`$1' 21674Try \`$0 --help' for more information." ;; 21675 21676 *) as_fn_append ac_config_targets " $1" 21677 ac_need_defaults=false ;; 21678 21679 esac 21680 shift 21681done 21682 21683ac_configure_extra_args= 21684 21685if $ac_cs_silent; then 21686 exec 6>/dev/null 21687 ac_configure_extra_args="$ac_configure_extra_args --silent" 21688fi 21689 21690_ACEOF 21691cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21692if \$ac_cs_recheck; then 21693 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 21694 shift 21695 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 21696 CONFIG_SHELL='$SHELL' 21697 export CONFIG_SHELL 21698 exec "\$@" 21699fi 21700 21701_ACEOF 21702cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 21703exec 5>>config.log 21704{ 21705 echo 21706 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 21707## Running $as_me. ## 21708_ASBOX 21709 $as_echo "$ac_log" 21710} >&5 21711 21712_ACEOF 21713cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21714# 21715# INIT-COMMANDS 21716# 21717AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 21718 21719 21720# The HP-UX ksh and POSIX shell print the target directory to stdout 21721# if CDPATH is set. 21722(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 21723 21724sed_quote_subst='$sed_quote_subst' 21725double_quote_subst='$double_quote_subst' 21726delay_variable_subst='$delay_variable_subst' 21727macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 21728macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 21729enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 21730enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 21731pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 21732enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 21733shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 21734SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 21735ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 21736PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 21737host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 21738host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 21739host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 21740build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 21741build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 21742build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 21743SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 21744Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 21745GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 21746EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 21747FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 21748LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 21749NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 21750LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 21751max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 21752ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 21753exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 21754lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 21755lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 21756lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 21757lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 21758lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 21759reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 21760reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 21761OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 21762deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 21763file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 21764file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 21765want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 21766DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 21767sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 21768AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 21769AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 21770archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 21771STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 21772RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 21773old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 21774old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 21775old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 21776lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 21777CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 21778CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 21779compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 21780GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 21781lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 21782lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 21783lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 21784lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 21785lt_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"`' 21786lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 21787nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 21788lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 21789lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 21790objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 21791MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 21792lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 21793lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 21794lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 21795lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 21796lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 21797need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 21798MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 21799DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 21800NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 21801LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 21802OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 21803OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 21804libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 21805shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 21806extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 21807archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 21808enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 21809export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 21810whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 21811compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 21812old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 21813old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 21814archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 21815archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 21816module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 21817module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 21818with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 21819allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 21820no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 21821hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 21822hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 21823hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 21824hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 21825hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 21826hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 21827hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 21828inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 21829link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 21830always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 21831export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 21832exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 21833include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 21834prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 21835postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 21836file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 21837variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 21838need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 21839need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 21840version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 21841runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 21842shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 21843shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 21844libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 21845library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 21846soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 21847install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 21848postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 21849postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 21850finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 21851finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 21852hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 21853sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 21854configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 21855configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 21856hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 21857enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 21858enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 21859enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 21860old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 21861striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 21862compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 21863predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 21864postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 21865predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 21866postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 21867compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 21868LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 21869reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 21870reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 21871old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 21872compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 21873GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 21874lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 21875lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 21876lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 21877lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 21878lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 21879archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 21880enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 21881export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 21882whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 21883compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 21884old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 21885old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 21886archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 21887archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 21888module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 21889module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 21890with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 21891allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 21892no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 21893hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 21894hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 21895hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 21896hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 21897hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 21898hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 21899hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 21900inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 21901link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 21902always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 21903export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 21904exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 21905include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 21906prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 21907postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 21908file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 21909hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 21910compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 21911predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 21912postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 21913predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 21914postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 21915compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 21916 21917LTCC='$LTCC' 21918LTCFLAGS='$LTCFLAGS' 21919compiler='$compiler_DEFAULT' 21920 21921# A function that is used when there is no print builtin or printf. 21922func_fallback_echo () 21923{ 21924 eval 'cat <<_LTECHO_EOF 21925\$1 21926_LTECHO_EOF' 21927} 21928 21929# Quote evaled strings. 21930for var in SHELL \ 21931ECHO \ 21932PATH_SEPARATOR \ 21933SED \ 21934GREP \ 21935EGREP \ 21936FGREP \ 21937LD \ 21938NM \ 21939LN_S \ 21940lt_SP2NL \ 21941lt_NL2SP \ 21942reload_flag \ 21943OBJDUMP \ 21944deplibs_check_method \ 21945file_magic_cmd \ 21946file_magic_glob \ 21947want_nocaseglob \ 21948DLLTOOL \ 21949sharedlib_from_linklib_cmd \ 21950AR \ 21951AR_FLAGS \ 21952archiver_list_spec \ 21953STRIP \ 21954RANLIB \ 21955CC \ 21956CFLAGS \ 21957compiler \ 21958lt_cv_sys_global_symbol_pipe \ 21959lt_cv_sys_global_symbol_to_cdecl \ 21960lt_cv_sys_global_symbol_to_import \ 21961lt_cv_sys_global_symbol_to_c_name_address \ 21962lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 21963lt_cv_nm_interface \ 21964nm_file_list_spec \ 21965lt_cv_truncate_bin \ 21966lt_prog_compiler_no_builtin_flag \ 21967lt_prog_compiler_pic \ 21968lt_prog_compiler_wl \ 21969lt_prog_compiler_static \ 21970lt_cv_prog_compiler_c_o \ 21971need_locks \ 21972MANIFEST_TOOL \ 21973DSYMUTIL \ 21974NMEDIT \ 21975LIPO \ 21976OTOOL \ 21977OTOOL64 \ 21978shrext_cmds \ 21979export_dynamic_flag_spec \ 21980whole_archive_flag_spec \ 21981compiler_needs_object \ 21982with_gnu_ld \ 21983allow_undefined_flag \ 21984no_undefined_flag \ 21985hardcode_libdir_flag_spec \ 21986hardcode_libdir_separator \ 21987exclude_expsyms \ 21988include_expsyms \ 21989file_list_spec \ 21990variables_saved_for_relink \ 21991libname_spec \ 21992library_names_spec \ 21993soname_spec \ 21994install_override_mode \ 21995finish_eval \ 21996old_striplib \ 21997striplib \ 21998compiler_lib_search_dirs \ 21999predep_objects \ 22000postdep_objects \ 22001predeps \ 22002postdeps \ 22003compiler_lib_search_path \ 22004LD_CXX \ 22005reload_flag_CXX \ 22006compiler_CXX \ 22007lt_prog_compiler_no_builtin_flag_CXX \ 22008lt_prog_compiler_pic_CXX \ 22009lt_prog_compiler_wl_CXX \ 22010lt_prog_compiler_static_CXX \ 22011lt_cv_prog_compiler_c_o_CXX \ 22012export_dynamic_flag_spec_CXX \ 22013whole_archive_flag_spec_CXX \ 22014compiler_needs_object_CXX \ 22015with_gnu_ld_CXX \ 22016allow_undefined_flag_CXX \ 22017no_undefined_flag_CXX \ 22018hardcode_libdir_flag_spec_CXX \ 22019hardcode_libdir_separator_CXX \ 22020exclude_expsyms_CXX \ 22021include_expsyms_CXX \ 22022file_list_spec_CXX \ 22023compiler_lib_search_dirs_CXX \ 22024predep_objects_CXX \ 22025postdep_objects_CXX \ 22026predeps_CXX \ 22027postdeps_CXX \ 22028compiler_lib_search_path_CXX; do 22029 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 22030 *[\\\\\\\`\\"\\\$]*) 22031 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 22032 ;; 22033 *) 22034 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 22035 ;; 22036 esac 22037done 22038 22039# Double-quote double-evaled strings. 22040for var in reload_cmds \ 22041old_postinstall_cmds \ 22042old_postuninstall_cmds \ 22043old_archive_cmds \ 22044extract_expsyms_cmds \ 22045old_archive_from_new_cmds \ 22046old_archive_from_expsyms_cmds \ 22047archive_cmds \ 22048archive_expsym_cmds \ 22049module_cmds \ 22050module_expsym_cmds \ 22051export_symbols_cmds \ 22052prelink_cmds \ 22053postlink_cmds \ 22054postinstall_cmds \ 22055postuninstall_cmds \ 22056finish_cmds \ 22057sys_lib_search_path_spec \ 22058configure_time_dlsearch_path \ 22059configure_time_lt_sys_library_path \ 22060reload_cmds_CXX \ 22061old_archive_cmds_CXX \ 22062old_archive_from_new_cmds_CXX \ 22063old_archive_from_expsyms_cmds_CXX \ 22064archive_cmds_CXX \ 22065archive_expsym_cmds_CXX \ 22066module_cmds_CXX \ 22067module_expsym_cmds_CXX \ 22068export_symbols_cmds_CXX \ 22069prelink_cmds_CXX \ 22070postlink_cmds_CXX; do 22071 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 22072 *[\\\\\\\`\\"\\\$]*) 22073 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 22074 ;; 22075 *) 22076 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 22077 ;; 22078 esac 22079done 22080 22081ac_aux_dir='$ac_aux_dir' 22082 22083# See if we are running on zsh, and set the options that allow our 22084# commands through without removal of \ escapes INIT. 22085if test -n "\${ZSH_VERSION+set}"; then 22086 setopt NO_GLOB_SUBST 22087fi 22088 22089 22090 PACKAGE='$PACKAGE' 22091 VERSION='$VERSION' 22092 RM='$RM' 22093 ofile='$ofile' 22094 22095 22096 22097 22098 22099 22100_ACEOF 22101 22102cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22103 22104# Handling of arguments. 22105for ac_config_target in $ac_config_targets 22106do 22107 case $ac_config_target in 22108 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 22109 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 22110 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 22111 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 22112 "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;; 22113 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; 22114 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 22115 "src/win32/easytag.rc") CONFIG_FILES="$CONFIG_FILES src/win32/easytag.rc" ;; 22116 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 22117 22118 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 22119 esac 22120done 22121 22122 22123# If the user did not use the arguments to specify the items to instantiate, 22124# then the envvar interface is used. Set only those that are not. 22125# We use the long form for the default assignment because of an extremely 22126# bizarre bug on SunOS 4.1.3. 22127if $ac_need_defaults; then 22128 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 22129 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 22130 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 22131fi 22132 22133# Have a temporary directory for convenience. Make it in the build tree 22134# simply because there is no reason against having it here, and in addition, 22135# creating and moving files from /tmp can sometimes cause problems. 22136# Hook for its removal unless debugging. 22137# Note that there is a small window in which the directory will not be cleaned: 22138# after its creation but before its name has been assigned to `$tmp'. 22139$debug || 22140{ 22141 tmp= ac_tmp= 22142 trap 'exit_status=$? 22143 : "${ac_tmp:=$tmp}" 22144 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 22145' 0 22146 trap 'as_fn_exit 1' 1 2 13 15 22147} 22148# Create a (secure) tmp directory for tmp files. 22149 22150{ 22151 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 22152 test -d "$tmp" 22153} || 22154{ 22155 tmp=./conf$$-$RANDOM 22156 (umask 077 && mkdir "$tmp") 22157} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 22158ac_tmp=$tmp 22159 22160# Set up the scripts for CONFIG_FILES section. 22161# No need to generate them if there are no CONFIG_FILES. 22162# This happens for instance with `./config.status config.h'. 22163if test -n "$CONFIG_FILES"; then 22164 22165 22166ac_cr=`echo X | tr X '\015'` 22167# On cygwin, bash can eat \r inside `` if the user requested igncr. 22168# But we know of no other shell where ac_cr would be empty at this 22169# point, so we can use a bashism as a fallback. 22170if test "x$ac_cr" = x; then 22171 eval ac_cr=\$\'\\r\' 22172fi 22173ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 22174if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 22175 ac_cs_awk_cr='\\r' 22176else 22177 ac_cs_awk_cr=$ac_cr 22178fi 22179 22180echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 22181_ACEOF 22182 22183 22184{ 22185 echo "cat >conf$$subs.awk <<_ACEOF" && 22186 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 22187 echo "_ACEOF" 22188} >conf$$subs.sh || 22189 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 22190ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 22191ac_delim='%!_!# ' 22192for ac_last_try in false false false false false :; do 22193 . ./conf$$subs.sh || 22194 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 22195 22196 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 22197 if test $ac_delim_n = $ac_delim_num; then 22198 break 22199 elif $ac_last_try; then 22200 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 22201 else 22202 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 22203 fi 22204done 22205rm -f conf$$subs.sh 22206 22207cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22208cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 22209_ACEOF 22210sed -n ' 22211h 22212s/^/S["/; s/!.*/"]=/ 22213p 22214g 22215s/^[^!]*!// 22216:repl 22217t repl 22218s/'"$ac_delim"'$// 22219t delim 22220:nl 22221h 22222s/\(.\{148\}\)..*/\1/ 22223t more1 22224s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 22225p 22226n 22227b repl 22228:more1 22229s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 22230p 22231g 22232s/.\{148\}// 22233t nl 22234:delim 22235h 22236s/\(.\{148\}\)..*/\1/ 22237t more2 22238s/["\\]/\\&/g; s/^/"/; s/$/"/ 22239p 22240b 22241:more2 22242s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 22243p 22244g 22245s/.\{148\}// 22246t delim 22247' <conf$$subs.awk | sed ' 22248/^[^""]/{ 22249 N 22250 s/\n// 22251} 22252' >>$CONFIG_STATUS || ac_write_fail=1 22253rm -f conf$$subs.awk 22254cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22255_ACAWK 22256cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 22257 for (key in S) S_is_set[key] = 1 22258 FS = "" 22259 22260} 22261{ 22262 line = $ 0 22263 nfields = split(line, field, "@") 22264 substed = 0 22265 len = length(field[1]) 22266 for (i = 2; i < nfields; i++) { 22267 key = field[i] 22268 keylen = length(key) 22269 if (S_is_set[key]) { 22270 value = S[key] 22271 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 22272 len += length(value) + length(field[++i]) 22273 substed = 1 22274 } else 22275 len += 1 + keylen 22276 } 22277 22278 print line 22279} 22280 22281_ACAWK 22282_ACEOF 22283cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22284if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 22285 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 22286else 22287 cat 22288fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 22289 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 22290_ACEOF 22291 22292# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 22293# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 22294# trailing colons and then remove the whole line if VPATH becomes empty 22295# (actually we leave an empty line to preserve line numbers). 22296if test "x$srcdir" = x.; then 22297 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 22298h 22299s/// 22300s/^/:/ 22301s/[ ]*$/:/ 22302s/:\$(srcdir):/:/g 22303s/:\${srcdir}:/:/g 22304s/:@srcdir@:/:/g 22305s/^:*// 22306s/:*$// 22307x 22308s/\(=[ ]*\).*/\1/ 22309G 22310s/\n// 22311s/^[^=]*=[ ]*$// 22312}' 22313fi 22314 22315cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22316fi # test -n "$CONFIG_FILES" 22317 22318# Set up the scripts for CONFIG_HEADERS section. 22319# No need to generate them if there are no CONFIG_HEADERS. 22320# This happens for instance with `./config.status Makefile'. 22321if test -n "$CONFIG_HEADERS"; then 22322cat >"$ac_tmp/defines.awk" <<\_ACAWK || 22323BEGIN { 22324_ACEOF 22325 22326# Transform confdefs.h into an awk script `defines.awk', embedded as 22327# here-document in config.status, that substitutes the proper values into 22328# config.h.in to produce config.h. 22329 22330# Create a delimiter string that does not exist in confdefs.h, to ease 22331# handling of long lines. 22332ac_delim='%!_!# ' 22333for ac_last_try in false false :; do 22334 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 22335 if test -z "$ac_tt"; then 22336 break 22337 elif $ac_last_try; then 22338 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 22339 else 22340 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 22341 fi 22342done 22343 22344# For the awk script, D is an array of macro values keyed by name, 22345# likewise P contains macro parameters if any. Preserve backslash 22346# newline sequences. 22347 22348ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 22349sed -n ' 22350s/.\{148\}/&'"$ac_delim"'/g 22351t rset 22352:rset 22353s/^[ ]*#[ ]*define[ ][ ]*/ / 22354t def 22355d 22356:def 22357s/\\$// 22358t bsnl 22359s/["\\]/\\&/g 22360s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 22361D["\1"]=" \3"/p 22362s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 22363d 22364:bsnl 22365s/["\\]/\\&/g 22366s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 22367D["\1"]=" \3\\\\\\n"\\/p 22368t cont 22369s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 22370t cont 22371d 22372:cont 22373n 22374s/.\{148\}/&'"$ac_delim"'/g 22375t clear 22376:clear 22377s/\\$// 22378t bsnlc 22379s/["\\]/\\&/g; s/^/"/; s/$/"/p 22380d 22381:bsnlc 22382s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 22383b cont 22384' <confdefs.h | sed ' 22385s/'"$ac_delim"'/"\\\ 22386"/g' >>$CONFIG_STATUS || ac_write_fail=1 22387 22388cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22389 for (key in D) D_is_set[key] = 1 22390 FS = "" 22391} 22392/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 22393 line = \$ 0 22394 split(line, arg, " ") 22395 if (arg[1] == "#") { 22396 defundef = arg[2] 22397 mac1 = arg[3] 22398 } else { 22399 defundef = substr(arg[1], 2) 22400 mac1 = arg[2] 22401 } 22402 split(mac1, mac2, "(") #) 22403 macro = mac2[1] 22404 prefix = substr(line, 1, index(line, defundef) - 1) 22405 if (D_is_set[macro]) { 22406 # Preserve the white space surrounding the "#". 22407 print prefix "define", macro P[macro] D[macro] 22408 next 22409 } else { 22410 # Replace #undef with comments. This is necessary, for example, 22411 # in the case of _POSIX_SOURCE, which is predefined and required 22412 # on some systems where configure will not decide to define it. 22413 if (defundef == "undef") { 22414 print "/*", prefix defundef, macro, "*/" 22415 next 22416 } 22417 } 22418} 22419{ print } 22420_ACAWK 22421_ACEOF 22422cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22423 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 22424fi # test -n "$CONFIG_HEADERS" 22425 22426 22427eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 22428shift 22429for ac_tag 22430do 22431 case $ac_tag in 22432 :[FHLC]) ac_mode=$ac_tag; continue;; 22433 esac 22434 case $ac_mode$ac_tag in 22435 :[FHL]*:*);; 22436 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 22437 :[FH]-) ac_tag=-:-;; 22438 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 22439 esac 22440 ac_save_IFS=$IFS 22441 IFS=: 22442 set x $ac_tag 22443 IFS=$ac_save_IFS 22444 shift 22445 ac_file=$1 22446 shift 22447 22448 case $ac_mode in 22449 :L) ac_source=$1;; 22450 :[FH]) 22451 ac_file_inputs= 22452 for ac_f 22453 do 22454 case $ac_f in 22455 -) ac_f="$ac_tmp/stdin";; 22456 *) # Look for the file first in the build tree, then in the source tree 22457 # (if the path is not absolute). The absolute path cannot be DOS-style, 22458 # because $ac_f cannot contain `:'. 22459 test -f "$ac_f" || 22460 case $ac_f in 22461 [\\/$]*) false;; 22462 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 22463 esac || 22464 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 22465 esac 22466 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 22467 as_fn_append ac_file_inputs " '$ac_f'" 22468 done 22469 22470 # Let's still pretend it is `configure' which instantiates (i.e., don't 22471 # use $as_me), people would be surprised to read: 22472 # /* config.h. Generated by config.status. */ 22473 configure_input='Generated from '` 22474 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 22475 `' by configure.' 22476 if test x"$ac_file" != x-; then 22477 configure_input="$ac_file. $configure_input" 22478 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 22479$as_echo "$as_me: creating $ac_file" >&6;} 22480 fi 22481 # Neutralize special characters interpreted by sed in replacement strings. 22482 case $configure_input in #( 22483 *\&* | *\|* | *\\* ) 22484 ac_sed_conf_input=`$as_echo "$configure_input" | 22485 sed 's/[\\\\&|]/\\\\&/g'`;; #( 22486 *) ac_sed_conf_input=$configure_input;; 22487 esac 22488 22489 case $ac_tag in 22490 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 22491 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 22492 esac 22493 ;; 22494 esac 22495 22496 ac_dir=`$as_dirname -- "$ac_file" || 22497$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 22498 X"$ac_file" : 'X\(//\)[^/]' \| \ 22499 X"$ac_file" : 'X\(//\)$' \| \ 22500 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 22501$as_echo X"$ac_file" | 22502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 22503 s//\1/ 22504 q 22505 } 22506 /^X\(\/\/\)[^/].*/{ 22507 s//\1/ 22508 q 22509 } 22510 /^X\(\/\/\)$/{ 22511 s//\1/ 22512 q 22513 } 22514 /^X\(\/\).*/{ 22515 s//\1/ 22516 q 22517 } 22518 s/.*/./; q'` 22519 as_dir="$ac_dir"; as_fn_mkdir_p 22520 ac_builddir=. 22521 22522case "$ac_dir" in 22523.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 22524*) 22525 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 22526 # A ".." for each directory in $ac_dir_suffix. 22527 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 22528 case $ac_top_builddir_sub in 22529 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 22530 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 22531 esac ;; 22532esac 22533ac_abs_top_builddir=$ac_pwd 22534ac_abs_builddir=$ac_pwd$ac_dir_suffix 22535# for backward compatibility: 22536ac_top_builddir=$ac_top_build_prefix 22537 22538case $srcdir in 22539 .) # We are building in place. 22540 ac_srcdir=. 22541 ac_top_srcdir=$ac_top_builddir_sub 22542 ac_abs_top_srcdir=$ac_pwd ;; 22543 [\\/]* | ?:[\\/]* ) # Absolute name. 22544 ac_srcdir=$srcdir$ac_dir_suffix; 22545 ac_top_srcdir=$srcdir 22546 ac_abs_top_srcdir=$srcdir ;; 22547 *) # Relative name. 22548 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 22549 ac_top_srcdir=$ac_top_build_prefix$srcdir 22550 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 22551esac 22552ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 22553 22554 22555 case $ac_mode in 22556 :F) 22557 # 22558 # CONFIG_FILE 22559 # 22560 22561 case $INSTALL in 22562 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 22563 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 22564 esac 22565 ac_MKDIR_P=$MKDIR_P 22566 case $MKDIR_P in 22567 [\\/$]* | ?:[\\/]* ) ;; 22568 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 22569 esac 22570_ACEOF 22571 22572cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22573# If the template does not know about datarootdir, expand it. 22574# FIXME: This hack should be removed a few years after 2.60. 22575ac_datarootdir_hack=; ac_datarootdir_seen= 22576ac_sed_dataroot=' 22577/datarootdir/ { 22578 p 22579 q 22580} 22581/@datadir@/p 22582/@docdir@/p 22583/@infodir@/p 22584/@localedir@/p 22585/@mandir@/p' 22586case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 22587*datarootdir*) ac_datarootdir_seen=yes;; 22588*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 22589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 22590$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 22591_ACEOF 22592cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22593 ac_datarootdir_hack=' 22594 s&@datadir@&$datadir&g 22595 s&@docdir@&$docdir&g 22596 s&@infodir@&$infodir&g 22597 s&@localedir@&$localedir&g 22598 s&@mandir@&$mandir&g 22599 s&\\\${datarootdir}&$datarootdir&g' ;; 22600esac 22601_ACEOF 22602 22603# Neutralize VPATH when `$srcdir' = `.'. 22604# Shell code in configure.ac might set extrasub. 22605# FIXME: do we really want to maintain this feature? 22606cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22607ac_sed_extra="$ac_vpsub 22608$extrasub 22609_ACEOF 22610cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22611:t 22612/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 22613s|@configure_input@|$ac_sed_conf_input|;t t 22614s&@top_builddir@&$ac_top_builddir_sub&;t t 22615s&@top_build_prefix@&$ac_top_build_prefix&;t t 22616s&@srcdir@&$ac_srcdir&;t t 22617s&@abs_srcdir@&$ac_abs_srcdir&;t t 22618s&@top_srcdir@&$ac_top_srcdir&;t t 22619s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 22620s&@builddir@&$ac_builddir&;t t 22621s&@abs_builddir@&$ac_abs_builddir&;t t 22622s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 22623s&@INSTALL@&$ac_INSTALL&;t t 22624s&@MKDIR_P@&$ac_MKDIR_P&;t t 22625$ac_datarootdir_hack 22626" 22627eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 22628 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 22629 22630test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 22631 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 22632 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 22633 "$ac_tmp/out"`; test -z "$ac_out"; } && 22634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 22635which seems to be undefined. Please make sure it is defined" >&5 22636$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 22637which seems to be undefined. Please make sure it is defined" >&2;} 22638 22639 rm -f "$ac_tmp/stdin" 22640 case $ac_file in 22641 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 22642 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 22643 esac \ 22644 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 22645 ;; 22646 :H) 22647 # 22648 # CONFIG_HEADER 22649 # 22650 if test x"$ac_file" != x-; then 22651 { 22652 $as_echo "/* $configure_input */" \ 22653 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 22654 } >"$ac_tmp/config.h" \ 22655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 22656 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 22657 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 22658$as_echo "$as_me: $ac_file is unchanged" >&6;} 22659 else 22660 rm -f "$ac_file" 22661 mv "$ac_tmp/config.h" "$ac_file" \ 22662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 22663 fi 22664 else 22665 $as_echo "/* $configure_input */" \ 22666 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 22667 || as_fn_error $? "could not create -" "$LINENO" 5 22668 fi 22669# Compute "$ac_file"'s index in $config_headers. 22670_am_arg="$ac_file" 22671_am_stamp_count=1 22672for _am_header in $config_headers :; do 22673 case $_am_header in 22674 $_am_arg | $_am_arg:* ) 22675 break ;; 22676 * ) 22677 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 22678 esac 22679done 22680echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 22681$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 22682 X"$_am_arg" : 'X\(//\)[^/]' \| \ 22683 X"$_am_arg" : 'X\(//\)$' \| \ 22684 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 22685$as_echo X"$_am_arg" | 22686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 22687 s//\1/ 22688 q 22689 } 22690 /^X\(\/\/\)[^/].*/{ 22691 s//\1/ 22692 q 22693 } 22694 /^X\(\/\/\)$/{ 22695 s//\1/ 22696 q 22697 } 22698 /^X\(\/\).*/{ 22699 s//\1/ 22700 q 22701 } 22702 s/.*/./; q'`/stamp-h$_am_stamp_count 22703 ;; 22704 22705 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 22706$as_echo "$as_me: executing $ac_file commands" >&6;} 22707 ;; 22708 esac 22709 22710 22711 case $ac_file$ac_mode in 22712 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 22713 # Older Autoconf quotes --file arguments for eval, but not when files 22714 # are listed without --file. Let's play safe and only enable the eval 22715 # if we detect the quoting. 22716 case $CONFIG_FILES in 22717 *\'*) eval set x "$CONFIG_FILES" ;; 22718 *) set x $CONFIG_FILES ;; 22719 esac 22720 shift 22721 for mf 22722 do 22723 # Strip MF so we end up with the name of the file. 22724 mf=`echo "$mf" | sed -e 's/:.*$//'` 22725 # Check whether this is an Automake generated Makefile or not. 22726 # We used to match only the files named 'Makefile.in', but 22727 # some people rename them; so instead we look at the file content. 22728 # Grep'ing the first line is not enough: some people post-process 22729 # each Makefile.in and add a new line on top of each file to say so. 22730 # Grep'ing the whole file is not good either: AIX grep has a line 22731 # limit of 2048, but all sed's we know have understand at least 4000. 22732 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 22733 dirpart=`$as_dirname -- "$mf" || 22734$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 22735 X"$mf" : 'X\(//\)[^/]' \| \ 22736 X"$mf" : 'X\(//\)$' \| \ 22737 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 22738$as_echo X"$mf" | 22739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 22740 s//\1/ 22741 q 22742 } 22743 /^X\(\/\/\)[^/].*/{ 22744 s//\1/ 22745 q 22746 } 22747 /^X\(\/\/\)$/{ 22748 s//\1/ 22749 q 22750 } 22751 /^X\(\/\).*/{ 22752 s//\1/ 22753 q 22754 } 22755 s/.*/./; q'` 22756 else 22757 continue 22758 fi 22759 # Extract the definition of DEPDIR, am__include, and am__quote 22760 # from the Makefile without running 'make'. 22761 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 22762 test -z "$DEPDIR" && continue 22763 am__include=`sed -n 's/^am__include = //p' < "$mf"` 22764 test -z "$am__include" && continue 22765 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 22766 # Find all dependency output files, they are included files with 22767 # $(DEPDIR) in their names. We invoke sed twice because it is the 22768 # simplest approach to changing $(DEPDIR) to its actual value in the 22769 # expansion. 22770 for file in `sed -n " 22771 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 22772 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 22773 # Make sure the directory exists. 22774 test -f "$dirpart/$file" && continue 22775 fdir=`$as_dirname -- "$file" || 22776$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 22777 X"$file" : 'X\(//\)[^/]' \| \ 22778 X"$file" : 'X\(//\)$' \| \ 22779 X"$file" : 'X\(/\)' \| . 2>/dev/null || 22780$as_echo X"$file" | 22781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 22782 s//\1/ 22783 q 22784 } 22785 /^X\(\/\/\)[^/].*/{ 22786 s//\1/ 22787 q 22788 } 22789 /^X\(\/\/\)$/{ 22790 s//\1/ 22791 q 22792 } 22793 /^X\(\/\).*/{ 22794 s//\1/ 22795 q 22796 } 22797 s/.*/./; q'` 22798 as_dir=$dirpart/$fdir; as_fn_mkdir_p 22799 # echo "creating $dirpart/$file" 22800 echo '# dummy' > "$dirpart/$file" 22801 done 22802 done 22803} 22804 ;; 22805 "libtool":C) 22806 22807 # See if we are running on zsh, and set the options that allow our 22808 # commands through without removal of \ escapes. 22809 if test -n "${ZSH_VERSION+set}"; then 22810 setopt NO_GLOB_SUBST 22811 fi 22812 22813 cfgfile=${ofile}T 22814 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 22815 $RM "$cfgfile" 22816 22817 cat <<_LT_EOF >> "$cfgfile" 22818#! $SHELL 22819# Generated automatically by $as_me ($PACKAGE) $VERSION 22820# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 22821# NOTE: Changes made to this file will be lost: look at ltmain.sh. 22822 22823# Provide generalized library-building support services. 22824# Written by Gordon Matzigkeit, 1996 22825 22826# Copyright (C) 2014 Free Software Foundation, Inc. 22827# This is free software; see the source for copying conditions. There is NO 22828# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 22829 22830# GNU Libtool is free software; you can redistribute it and/or modify 22831# it under the terms of the GNU General Public License as published by 22832# the Free Software Foundation; either version 2 of of the License, or 22833# (at your option) any later version. 22834# 22835# As a special exception to the GNU General Public License, if you 22836# distribute this file as part of a program or library that is built 22837# using GNU Libtool, you may include this file under the same 22838# distribution terms that you use for the rest of that program. 22839# 22840# GNU Libtool is distributed in the hope that it will be useful, but 22841# WITHOUT ANY WARRANTY; without even the implied warranty of 22842# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22843# GNU General Public License for more details. 22844# 22845# You should have received a copy of the GNU General Public License 22846# along with this program. If not, see <http://www.gnu.org/licenses/>. 22847 22848 22849# The names of the tagged configurations supported by this script. 22850available_tags='CXX ' 22851 22852# Configured defaults for sys_lib_dlsearch_path munging. 22853: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 22854 22855# ### BEGIN LIBTOOL CONFIG 22856 22857# Which release of libtool.m4 was used? 22858macro_version=$macro_version 22859macro_revision=$macro_revision 22860 22861# Whether or not to build static libraries. 22862build_old_libs=$enable_static 22863 22864# Whether or not to build shared libraries. 22865build_libtool_libs=$enable_shared 22866 22867# What type of objects to build. 22868pic_mode=$pic_mode 22869 22870# Whether or not to optimize for fast installation. 22871fast_install=$enable_fast_install 22872 22873# Shared archive member basename,for filename based shared library versioning on AIX. 22874shared_archive_member_spec=$shared_archive_member_spec 22875 22876# Shell to use when invoking shell scripts. 22877SHELL=$lt_SHELL 22878 22879# An echo program that protects backslashes. 22880ECHO=$lt_ECHO 22881 22882# The PATH separator for the build system. 22883PATH_SEPARATOR=$lt_PATH_SEPARATOR 22884 22885# The host system. 22886host_alias=$host_alias 22887host=$host 22888host_os=$host_os 22889 22890# The build system. 22891build_alias=$build_alias 22892build=$build 22893build_os=$build_os 22894 22895# A sed program that does not truncate output. 22896SED=$lt_SED 22897 22898# Sed that helps us avoid accidentally triggering echo(1) options like -n. 22899Xsed="\$SED -e 1s/^X//" 22900 22901# A grep program that handles long lines. 22902GREP=$lt_GREP 22903 22904# An ERE matcher. 22905EGREP=$lt_EGREP 22906 22907# A literal string matcher. 22908FGREP=$lt_FGREP 22909 22910# A BSD- or MS-compatible name lister. 22911NM=$lt_NM 22912 22913# Whether we need soft or hard links. 22914LN_S=$lt_LN_S 22915 22916# What is the maximum length of a command? 22917max_cmd_len=$max_cmd_len 22918 22919# Object file suffix (normally "o"). 22920objext=$ac_objext 22921 22922# Executable file suffix (normally ""). 22923exeext=$exeext 22924 22925# whether the shell understands "unset". 22926lt_unset=$lt_unset 22927 22928# turn spaces into newlines. 22929SP2NL=$lt_lt_SP2NL 22930 22931# turn newlines into spaces. 22932NL2SP=$lt_lt_NL2SP 22933 22934# convert \$build file names to \$host format. 22935to_host_file_cmd=$lt_cv_to_host_file_cmd 22936 22937# convert \$build files to toolchain format. 22938to_tool_file_cmd=$lt_cv_to_tool_file_cmd 22939 22940# An object symbol dumper. 22941OBJDUMP=$lt_OBJDUMP 22942 22943# Method to check whether dependent libraries are shared objects. 22944deplibs_check_method=$lt_deplibs_check_method 22945 22946# Command to use when deplibs_check_method = "file_magic". 22947file_magic_cmd=$lt_file_magic_cmd 22948 22949# How to find potential files when deplibs_check_method = "file_magic". 22950file_magic_glob=$lt_file_magic_glob 22951 22952# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 22953want_nocaseglob=$lt_want_nocaseglob 22954 22955# DLL creation program. 22956DLLTOOL=$lt_DLLTOOL 22957 22958# Command to associate shared and link libraries. 22959sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 22960 22961# The archiver. 22962AR=$lt_AR 22963 22964# Flags to create an archive. 22965AR_FLAGS=$lt_AR_FLAGS 22966 22967# How to feed a file listing to the archiver. 22968archiver_list_spec=$lt_archiver_list_spec 22969 22970# A symbol stripping program. 22971STRIP=$lt_STRIP 22972 22973# Commands used to install an old-style archive. 22974RANLIB=$lt_RANLIB 22975old_postinstall_cmds=$lt_old_postinstall_cmds 22976old_postuninstall_cmds=$lt_old_postuninstall_cmds 22977 22978# Whether to use a lock for old archive extraction. 22979lock_old_archive_extraction=$lock_old_archive_extraction 22980 22981# A C compiler. 22982LTCC=$lt_CC 22983 22984# LTCC compiler flags. 22985LTCFLAGS=$lt_CFLAGS 22986 22987# Take the output of nm and produce a listing of raw symbols and C names. 22988global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 22989 22990# Transform the output of nm in a proper C declaration. 22991global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 22992 22993# Transform the output of nm into a list of symbols to manually relocate. 22994global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 22995 22996# Transform the output of nm in a C name address pair. 22997global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 22998 22999# Transform the output of nm in a C name address pair when lib prefix is needed. 23000global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 23001 23002# The name lister interface. 23003nm_interface=$lt_lt_cv_nm_interface 23004 23005# Specify filename containing input files for \$NM. 23006nm_file_list_spec=$lt_nm_file_list_spec 23007 23008# The root where to search for dependent libraries,and where our libraries should be installed. 23009lt_sysroot=$lt_sysroot 23010 23011# Command to truncate a binary pipe. 23012lt_truncate_bin=$lt_lt_cv_truncate_bin 23013 23014# The name of the directory that contains temporary libtool files. 23015objdir=$objdir 23016 23017# Used to examine libraries when file_magic_cmd begins with "file". 23018MAGIC_CMD=$MAGIC_CMD 23019 23020# Must we lock files when doing compilation? 23021need_locks=$lt_need_locks 23022 23023# Manifest tool. 23024MANIFEST_TOOL=$lt_MANIFEST_TOOL 23025 23026# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 23027DSYMUTIL=$lt_DSYMUTIL 23028 23029# Tool to change global to local symbols on Mac OS X. 23030NMEDIT=$lt_NMEDIT 23031 23032# Tool to manipulate fat objects and archives on Mac OS X. 23033LIPO=$lt_LIPO 23034 23035# ldd/readelf like tool for Mach-O binaries on Mac OS X. 23036OTOOL=$lt_OTOOL 23037 23038# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 23039OTOOL64=$lt_OTOOL64 23040 23041# Old archive suffix (normally "a"). 23042libext=$libext 23043 23044# Shared library suffix (normally ".so"). 23045shrext_cmds=$lt_shrext_cmds 23046 23047# The commands to extract the exported symbol list from a shared archive. 23048extract_expsyms_cmds=$lt_extract_expsyms_cmds 23049 23050# Variables whose values should be saved in libtool wrapper scripts and 23051# restored at link time. 23052variables_saved_for_relink=$lt_variables_saved_for_relink 23053 23054# Do we need the "lib" prefix for modules? 23055need_lib_prefix=$need_lib_prefix 23056 23057# Do we need a version for libraries? 23058need_version=$need_version 23059 23060# Library versioning type. 23061version_type=$version_type 23062 23063# Shared library runtime path variable. 23064runpath_var=$runpath_var 23065 23066# Shared library path variable. 23067shlibpath_var=$shlibpath_var 23068 23069# Is shlibpath searched before the hard-coded library search path? 23070shlibpath_overrides_runpath=$shlibpath_overrides_runpath 23071 23072# Format of library name prefix. 23073libname_spec=$lt_libname_spec 23074 23075# List of archive names. First name is the real one, the rest are links. 23076# The last name is the one that the linker finds with -lNAME 23077library_names_spec=$lt_library_names_spec 23078 23079# The coded name of the library, if different from the real name. 23080soname_spec=$lt_soname_spec 23081 23082# Permission mode override for installation of shared libraries. 23083install_override_mode=$lt_install_override_mode 23084 23085# Command to use after installation of a shared archive. 23086postinstall_cmds=$lt_postinstall_cmds 23087 23088# Command to use after uninstallation of a shared archive. 23089postuninstall_cmds=$lt_postuninstall_cmds 23090 23091# Commands used to finish a libtool library installation in a directory. 23092finish_cmds=$lt_finish_cmds 23093 23094# As "finish_cmds", except a single script fragment to be evaled but 23095# not shown. 23096finish_eval=$lt_finish_eval 23097 23098# Whether we should hardcode library paths into libraries. 23099hardcode_into_libs=$hardcode_into_libs 23100 23101# Compile-time system search path for libraries. 23102sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 23103 23104# Detected run-time system search path for libraries. 23105sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 23106 23107# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 23108configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 23109 23110# Whether dlopen is supported. 23111dlopen_support=$enable_dlopen 23112 23113# Whether dlopen of programs is supported. 23114dlopen_self=$enable_dlopen_self 23115 23116# Whether dlopen of statically linked programs is supported. 23117dlopen_self_static=$enable_dlopen_self_static 23118 23119# Commands to strip libraries. 23120old_striplib=$lt_old_striplib 23121striplib=$lt_striplib 23122 23123 23124# The linker used to build libraries. 23125LD=$lt_LD 23126 23127# How to create reloadable object files. 23128reload_flag=$lt_reload_flag 23129reload_cmds=$lt_reload_cmds 23130 23131# Commands used to build an old-style archive. 23132old_archive_cmds=$lt_old_archive_cmds 23133 23134# A language specific compiler. 23135CC=$lt_compiler 23136 23137# Is the compiler the GNU compiler? 23138with_gcc=$GCC 23139 23140# Compiler flag to turn off builtin functions. 23141no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 23142 23143# Additional compiler flags for building library objects. 23144pic_flag=$lt_lt_prog_compiler_pic 23145 23146# How to pass a linker flag through the compiler. 23147wl=$lt_lt_prog_compiler_wl 23148 23149# Compiler flag to prevent dynamic linking. 23150link_static_flag=$lt_lt_prog_compiler_static 23151 23152# Does compiler simultaneously support -c and -o options? 23153compiler_c_o=$lt_lt_cv_prog_compiler_c_o 23154 23155# Whether or not to add -lc for building shared libraries. 23156build_libtool_need_lc=$archive_cmds_need_lc 23157 23158# Whether or not to disallow shared libs when runtime libs are static. 23159allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 23160 23161# Compiler flag to allow reflexive dlopens. 23162export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 23163 23164# Compiler flag to generate shared objects directly from archives. 23165whole_archive_flag_spec=$lt_whole_archive_flag_spec 23166 23167# Whether the compiler copes with passing no objects directly. 23168compiler_needs_object=$lt_compiler_needs_object 23169 23170# Create an old-style archive from a shared archive. 23171old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 23172 23173# Create a temporary old-style archive to link instead of a shared archive. 23174old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 23175 23176# Commands used to build a shared archive. 23177archive_cmds=$lt_archive_cmds 23178archive_expsym_cmds=$lt_archive_expsym_cmds 23179 23180# Commands used to build a loadable module if different from building 23181# a shared archive. 23182module_cmds=$lt_module_cmds 23183module_expsym_cmds=$lt_module_expsym_cmds 23184 23185# Whether we are building with GNU ld or not. 23186with_gnu_ld=$lt_with_gnu_ld 23187 23188# Flag that allows shared libraries with undefined symbols to be built. 23189allow_undefined_flag=$lt_allow_undefined_flag 23190 23191# Flag that enforces no undefined symbols. 23192no_undefined_flag=$lt_no_undefined_flag 23193 23194# Flag to hardcode \$libdir into a binary during linking. 23195# This must work even if \$libdir does not exist 23196hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 23197 23198# Whether we need a single "-rpath" flag with a separated argument. 23199hardcode_libdir_separator=$lt_hardcode_libdir_separator 23200 23201# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23202# DIR into the resulting binary. 23203hardcode_direct=$hardcode_direct 23204 23205# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23206# DIR into the resulting binary and the resulting library dependency is 23207# "absolute",i.e impossible to change by setting \$shlibpath_var if the 23208# library is relocated. 23209hardcode_direct_absolute=$hardcode_direct_absolute 23210 23211# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 23212# into the resulting binary. 23213hardcode_minus_L=$hardcode_minus_L 23214 23215# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 23216# into the resulting binary. 23217hardcode_shlibpath_var=$hardcode_shlibpath_var 23218 23219# Set to "yes" if building a shared library automatically hardcodes DIR 23220# into the library and all subsequent libraries and executables linked 23221# against it. 23222hardcode_automatic=$hardcode_automatic 23223 23224# Set to yes if linker adds runtime paths of dependent libraries 23225# to runtime path list. 23226inherit_rpath=$inherit_rpath 23227 23228# Whether libtool must link a program against all its dependency libraries. 23229link_all_deplibs=$link_all_deplibs 23230 23231# Set to "yes" if exported symbols are required. 23232always_export_symbols=$always_export_symbols 23233 23234# The commands to list exported symbols. 23235export_symbols_cmds=$lt_export_symbols_cmds 23236 23237# Symbols that should not be listed in the preloaded symbols. 23238exclude_expsyms=$lt_exclude_expsyms 23239 23240# Symbols that must always be exported. 23241include_expsyms=$lt_include_expsyms 23242 23243# Commands necessary for linking programs (against libraries) with templates. 23244prelink_cmds=$lt_prelink_cmds 23245 23246# Commands necessary for finishing linking programs. 23247postlink_cmds=$lt_postlink_cmds 23248 23249# Specify filename containing input files. 23250file_list_spec=$lt_file_list_spec 23251 23252# How to hardcode a shared library path into an executable. 23253hardcode_action=$hardcode_action 23254 23255# The directories searched by this compiler when creating a shared library. 23256compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 23257 23258# Dependencies to place before and after the objects being linked to 23259# create a shared library. 23260predep_objects=$lt_predep_objects 23261postdep_objects=$lt_postdep_objects 23262predeps=$lt_predeps 23263postdeps=$lt_postdeps 23264 23265# The library search path used internally by the compiler when linking 23266# a shared library. 23267compiler_lib_search_path=$lt_compiler_lib_search_path 23268 23269# ### END LIBTOOL CONFIG 23270 23271_LT_EOF 23272 23273 cat <<'_LT_EOF' >> "$cfgfile" 23274 23275# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 23276 23277# func_munge_path_list VARIABLE PATH 23278# ----------------------------------- 23279# VARIABLE is name of variable containing _space_ separated list of 23280# directories to be munged by the contents of PATH, which is string 23281# having a format: 23282# "DIR[:DIR]:" 23283# string "DIR[ DIR]" will be prepended to VARIABLE 23284# ":DIR[:DIR]" 23285# string "DIR[ DIR]" will be appended to VARIABLE 23286# "DIRP[:DIRP]::[DIRA:]DIRA" 23287# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 23288# "DIRA[ DIRA]" will be appended to VARIABLE 23289# "DIR[:DIR]" 23290# VARIABLE will be replaced by "DIR[ DIR]" 23291func_munge_path_list () 23292{ 23293 case x$2 in 23294 x) 23295 ;; 23296 *:) 23297 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 23298 ;; 23299 x:*) 23300 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 23301 ;; 23302 *::*) 23303 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 23304 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 23305 ;; 23306 *) 23307 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 23308 ;; 23309 esac 23310} 23311 23312 23313# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 23314func_cc_basename () 23315{ 23316 for cc_temp in $*""; do 23317 case $cc_temp in 23318 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 23319 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 23320 \-*) ;; 23321 *) break;; 23322 esac 23323 done 23324 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 23325} 23326 23327 23328# ### END FUNCTIONS SHARED WITH CONFIGURE 23329 23330_LT_EOF 23331 23332 case $host_os in 23333 aix3*) 23334 cat <<\_LT_EOF >> "$cfgfile" 23335# AIX sometimes has problems with the GCC collect2 program. For some 23336# reason, if we set the COLLECT_NAMES environment variable, the problems 23337# vanish in a puff of smoke. 23338if test set != "${COLLECT_NAMES+set}"; then 23339 COLLECT_NAMES= 23340 export COLLECT_NAMES 23341fi 23342_LT_EOF 23343 ;; 23344 esac 23345 23346 23347ltmain=$ac_aux_dir/ltmain.sh 23348 23349 23350 # We use sed instead of cat because bash on DJGPP gets confused if 23351 # if finds mixed CR/LF and LF-only lines. Since sed operates in 23352 # text mode, it properly converts lines to CR/LF. This bash problem 23353 # is reportedly fixed, but why not run on old versions too? 23354 sed '$q' "$ltmain" >> "$cfgfile" \ 23355 || (rm -f "$cfgfile"; exit 1) 23356 23357 mv -f "$cfgfile" "$ofile" || 23358 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 23359 chmod +x "$ofile" 23360 23361 23362 cat <<_LT_EOF >> "$ofile" 23363 23364# ### BEGIN LIBTOOL TAG CONFIG: CXX 23365 23366# The linker used to build libraries. 23367LD=$lt_LD_CXX 23368 23369# How to create reloadable object files. 23370reload_flag=$lt_reload_flag_CXX 23371reload_cmds=$lt_reload_cmds_CXX 23372 23373# Commands used to build an old-style archive. 23374old_archive_cmds=$lt_old_archive_cmds_CXX 23375 23376# A language specific compiler. 23377CC=$lt_compiler_CXX 23378 23379# Is the compiler the GNU compiler? 23380with_gcc=$GCC_CXX 23381 23382# Compiler flag to turn off builtin functions. 23383no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 23384 23385# Additional compiler flags for building library objects. 23386pic_flag=$lt_lt_prog_compiler_pic_CXX 23387 23388# How to pass a linker flag through the compiler. 23389wl=$lt_lt_prog_compiler_wl_CXX 23390 23391# Compiler flag to prevent dynamic linking. 23392link_static_flag=$lt_lt_prog_compiler_static_CXX 23393 23394# Does compiler simultaneously support -c and -o options? 23395compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 23396 23397# Whether or not to add -lc for building shared libraries. 23398build_libtool_need_lc=$archive_cmds_need_lc_CXX 23399 23400# Whether or not to disallow shared libs when runtime libs are static. 23401allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 23402 23403# Compiler flag to allow reflexive dlopens. 23404export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 23405 23406# Compiler flag to generate shared objects directly from archives. 23407whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 23408 23409# Whether the compiler copes with passing no objects directly. 23410compiler_needs_object=$lt_compiler_needs_object_CXX 23411 23412# Create an old-style archive from a shared archive. 23413old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 23414 23415# Create a temporary old-style archive to link instead of a shared archive. 23416old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 23417 23418# Commands used to build a shared archive. 23419archive_cmds=$lt_archive_cmds_CXX 23420archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 23421 23422# Commands used to build a loadable module if different from building 23423# a shared archive. 23424module_cmds=$lt_module_cmds_CXX 23425module_expsym_cmds=$lt_module_expsym_cmds_CXX 23426 23427# Whether we are building with GNU ld or not. 23428with_gnu_ld=$lt_with_gnu_ld_CXX 23429 23430# Flag that allows shared libraries with undefined symbols to be built. 23431allow_undefined_flag=$lt_allow_undefined_flag_CXX 23432 23433# Flag that enforces no undefined symbols. 23434no_undefined_flag=$lt_no_undefined_flag_CXX 23435 23436# Flag to hardcode \$libdir into a binary during linking. 23437# This must work even if \$libdir does not exist 23438hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 23439 23440# Whether we need a single "-rpath" flag with a separated argument. 23441hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 23442 23443# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23444# DIR into the resulting binary. 23445hardcode_direct=$hardcode_direct_CXX 23446 23447# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 23448# DIR into the resulting binary and the resulting library dependency is 23449# "absolute",i.e impossible to change by setting \$shlibpath_var if the 23450# library is relocated. 23451hardcode_direct_absolute=$hardcode_direct_absolute_CXX 23452 23453# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 23454# into the resulting binary. 23455hardcode_minus_L=$hardcode_minus_L_CXX 23456 23457# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 23458# into the resulting binary. 23459hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 23460 23461# Set to "yes" if building a shared library automatically hardcodes DIR 23462# into the library and all subsequent libraries and executables linked 23463# against it. 23464hardcode_automatic=$hardcode_automatic_CXX 23465 23466# Set to yes if linker adds runtime paths of dependent libraries 23467# to runtime path list. 23468inherit_rpath=$inherit_rpath_CXX 23469 23470# Whether libtool must link a program against all its dependency libraries. 23471link_all_deplibs=$link_all_deplibs_CXX 23472 23473# Set to "yes" if exported symbols are required. 23474always_export_symbols=$always_export_symbols_CXX 23475 23476# The commands to list exported symbols. 23477export_symbols_cmds=$lt_export_symbols_cmds_CXX 23478 23479# Symbols that should not be listed in the preloaded symbols. 23480exclude_expsyms=$lt_exclude_expsyms_CXX 23481 23482# Symbols that must always be exported. 23483include_expsyms=$lt_include_expsyms_CXX 23484 23485# Commands necessary for linking programs (against libraries) with templates. 23486prelink_cmds=$lt_prelink_cmds_CXX 23487 23488# Commands necessary for finishing linking programs. 23489postlink_cmds=$lt_postlink_cmds_CXX 23490 23491# Specify filename containing input files. 23492file_list_spec=$lt_file_list_spec_CXX 23493 23494# How to hardcode a shared library path into an executable. 23495hardcode_action=$hardcode_action_CXX 23496 23497# The directories searched by this compiler when creating a shared library. 23498compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 23499 23500# Dependencies to place before and after the objects being linked to 23501# create a shared library. 23502predep_objects=$lt_predep_objects_CXX 23503postdep_objects=$lt_postdep_objects_CXX 23504predeps=$lt_predeps_CXX 23505postdeps=$lt_postdeps_CXX 23506 23507# The library search path used internally by the compiler when linking 23508# a shared library. 23509compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 23510 23511# ### END LIBTOOL TAG CONFIG: CXX 23512_LT_EOF 23513 23514 ;; 23515 "po/stamp-it":C) 23516 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 23517 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 23518 fi 23519 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 23520 >"po/stamp-it.tmp" 23521 sed '/^#/d 23522 s/^[[].*] *// 23523 /^[ ]*$/d 23524 '"s|^| $ac_top_srcdir/|" \ 23525 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 23526 23527 sed '/^POTFILES =/,/[^\\]$/ { 23528 /^POTFILES =/!d 23529 r po/POTFILES 23530 } 23531 ' "po/Makefile.in" >"po/Makefile" 23532 rm -f "po/Makefile.tmp" 23533 mv "po/stamp-it.tmp" "po/stamp-it" 23534 ;; 23535 23536 esac 23537done # for ac_tag 23538 23539 23540as_fn_exit 0 23541_ACEOF 23542ac_clean_files=$ac_clean_files_save 23543 23544test $ac_write_fail = 0 || 23545 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 23546 23547 23548# configure is writing to config.log, and then calls config.status. 23549# config.status does its own redirection, appending to config.log. 23550# Unfortunately, on DOS this fails, as config.log is still kept open 23551# by configure, so config.status won't be able to write to it; its 23552# output is simply discarded. So we exec the FD to /dev/null, 23553# effectively closing config.log, so it can be properly (re)opened and 23554# appended to by config.status. When coming back to configure, we 23555# need to make the FD available again. 23556if test "$no_create" != yes; then 23557 ac_cs_success=: 23558 ac_config_status_args= 23559 test "$silent" = yes && 23560 ac_config_status_args="$ac_config_status_args --quiet" 23561 exec 5>/dev/null 23562 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 23563 exec 5>>config.log 23564 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 23565 # would make configure fail if this is the last instruction. 23566 $ac_cs_success || as_fn_exit 1 23567fi 23568if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 23569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 23570$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 23571fi 23572 23573 23574echo 23575echo Configuration for $PACKAGE_NAME $PACKAGE_VERSION : 23576echo -------------------------------- 23577echo 23578echo Source code location ....: $srcdir 23579echo Host System Type ........: $host 23580echo Preprocessor ............: $CC $CPPFLAGS 23581echo Compiler ................: $CC $CFLAGS 23582echo Compiler warnings .......: $WARN_CFLAGS 23583echo C++ Compiler warnings ...: $WARN_CXXFLAGS 23584echo Linker ..................: $CC $LDFLAGS $LIBS 23585echo MP3 file support ........: $have_mp3 23586echo ID3v2.3 tags support ....: $have_id3lib $ID3LIB_VERSION 23587echo Ogg Vorbis file support .: $have_ogg 23588echo Ogg Speex file support ..: $have_speex 23589echo Ogg Opus file support ...: $have_opus 23590echo FLAC file support .......: $have_flac 23591echo MP4 file support ........: $have_taglib 23592echo WavPack support .........: $have_wavpack 23593echo NLS/gettext .............: $USE_NLS 23594echo Nautilus actions ........: $have_libnautilus_extension 23595echo Tests during make check .: $testing_utilities 23596echo Install prefix ..........: $prefix 23597echo 23598echo Now type 'make' to build $PACKAGE_NAME $PACKAGE_VERSION, 23599echo and then 'make install' for installation. 23600echo 23601